@esri/calcite-components 1.0.0-next.556 → 1.0.0-next.557

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 (949) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-a683a9bb.js → p-01bbc68a.js} +2 -2
  5. package/dist/calcite/{p-7369776f.js → p-0323edd5.js} +2 -2
  6. package/dist/calcite/p-03abc90c.system.entry.js +6 -0
  7. package/dist/calcite/p-050bccd2.system.entry.js +6 -0
  8. package/dist/calcite/{p-05fe3ea5.js → p-053d6f2d.js} +2 -2
  9. package/dist/calcite/p-089c4e7a.system.js +6 -0
  10. package/dist/calcite/p-08cd0042.js +6 -0
  11. package/dist/calcite/p-098e2929.system.entry.js +6 -0
  12. package/dist/calcite/p-09e36a8f.system.entry.js +6 -0
  13. package/dist/calcite/{p-0ad78e61.js → p-0b2dbf1f.js} +1 -1
  14. package/dist/calcite/p-0b6e742e.system.js +6 -0
  15. package/dist/calcite/p-0de90ca3.system.entry.js +6 -0
  16. package/dist/calcite/{p-da9458eb.js → p-0f719968.js} +1 -1
  17. package/dist/calcite/p-10837290.entry.js +6 -0
  18. package/dist/calcite/p-13d514c2.system.entry.js +6 -0
  19. package/dist/calcite/{p-6daf675b.entry.js → p-1442423a.entry.js} +2 -2
  20. package/dist/calcite/p-14661dbd.system.entry.js +6 -0
  21. package/dist/calcite/{p-1886398f.entry.js → p-16755058.entry.js} +2 -2
  22. package/dist/calcite/p-179814ff.system.entry.js +6 -0
  23. package/dist/calcite/p-185bbebe.system.entry.js +6 -0
  24. package/dist/calcite/p-186e9072.entry.js +6 -0
  25. package/dist/calcite/{p-1a4731f1.system.entry.js → p-18a217bd.system.entry.js} +2 -2
  26. package/dist/calcite/{p-be74a343.js → p-1bdc083e.js} +2 -2
  27. package/dist/calcite/p-1c6bc78e.entry.js +6 -0
  28. package/dist/calcite/p-1d8a659f.entry.js +6 -0
  29. package/dist/calcite/{p-70152b55.system.js → p-1f7bcb20.system.js} +1 -1
  30. package/dist/calcite/p-1fa0d6dc.system.entry.js +6 -0
  31. package/dist/calcite/{p-a86406ed.system.js → p-207b9ac8.system.js} +2 -2
  32. package/dist/calcite/p-2397e51c.system.entry.js +6 -0
  33. package/dist/calcite/{p-5f4e9358.system.entry.js → p-259901ca.system.entry.js} +2 -2
  34. package/dist/calcite/{p-a0cad5d7.js → p-267cfd6f.js} +1 -1
  35. package/dist/calcite/p-27292a37.entry.js +6 -0
  36. package/dist/calcite/{p-19248611.js → p-28eb7892.js} +1 -1
  37. package/dist/calcite/p-2bcbe086.system.entry.js +6 -0
  38. package/dist/calcite/p-2e486788.system.js +6 -0
  39. package/dist/calcite/p-2fa04db0.entry.js +6 -0
  40. package/dist/calcite/p-33798ba6.entry.js +6 -0
  41. package/dist/calcite/p-34c56af0.system.js +6 -0
  42. package/dist/calcite/p-34fc3044.system.js +6 -0
  43. package/dist/calcite/{p-33a3bf9f.system.js → p-362017b2.system.js} +1 -1
  44. package/dist/calcite/p-36800b66.entry.js +6 -0
  45. package/dist/calcite/{p-0e9102ac.system.entry.js → p-38996036.system.entry.js} +2 -2
  46. package/dist/calcite/p-38f0718c.entry.js +6 -0
  47. package/dist/calcite/{p-c5166dab.system.entry.js → p-3a0ac767.system.entry.js} +2 -2
  48. package/dist/calcite/p-3afee225.system.entry.js +6 -0
  49. package/dist/calcite/p-3b36d84f.system.entry.js +6 -0
  50. package/dist/calcite/p-3cb0bba0.system.entry.js +6 -0
  51. package/dist/calcite/p-3d2c9fb7.entry.js +6 -0
  52. package/dist/calcite/p-3e4cdc64.system.entry.js +6 -0
  53. package/dist/calcite/p-3f0a88a5.js +6 -0
  54. package/dist/calcite/{p-fd4f16b4.system.js → p-430ddb64.system.js} +1 -1
  55. package/dist/calcite/p-43e54a04.entry.js +6 -0
  56. package/dist/calcite/{p-f79661f0.entry.js → p-44e87d25.entry.js} +2 -2
  57. package/dist/calcite/p-473cdc07.js +6 -0
  58. package/dist/calcite/p-485002f2.system.entry.js +6 -0
  59. package/dist/calcite/p-489fa1b0.entry.js +6 -0
  60. package/dist/calcite/{p-4e299082.system.js → p-4918e784.system.js} +2 -2
  61. package/dist/calcite/{p-8afb9e1c.system.js → p-4ab1e412.system.js} +1 -1
  62. package/dist/calcite/{p-0a755cdf.system.js → p-4b690d1f.system.js} +1 -1
  63. package/dist/calcite/{p-aacb2155.js → p-4d7092d7.js} +2 -2
  64. package/dist/calcite/{p-1238a41c.js → p-500e5bfd.js} +2 -2
  65. package/dist/calcite/p-5276d2f5.system.entry.js +6 -0
  66. package/dist/calcite/p-5431b506.entry.js +6 -0
  67. package/dist/calcite/p-549fb66c.system.entry.js +6 -0
  68. package/dist/calcite/{p-dd735a43.js → p-57e3ec6e.js} +1 -1
  69. package/dist/calcite/{p-576a68ad.js → p-57e5742a.js} +1 -1
  70. package/dist/calcite/p-58bfb933.entry.js +6 -0
  71. package/dist/calcite/p-5a80d1d7.entry.js +6 -0
  72. package/dist/calcite/{p-50a678e9.system.entry.js → p-5bbc365f.system.entry.js} +2 -2
  73. package/dist/calcite/p-5ca05270.system.js +6 -0
  74. package/dist/calcite/p-5e3d1c69.entry.js +6 -0
  75. package/dist/calcite/p-619fd20d.entry.js +6 -0
  76. package/dist/calcite/{p-326d61e7.system.js → p-662db081.system.js} +1 -1
  77. package/dist/calcite/{p-0865b1c4.system.entry.js → p-6707dfe7.system.entry.js} +2 -2
  78. package/dist/calcite/{p-eb1fa8a7.system.entry.js → p-6862e6df.system.entry.js} +2 -2
  79. package/dist/calcite/{p-dd371621.system.js → p-69ae393b.system.js} +2 -2
  80. package/dist/calcite/p-6a495e2f.entry.js +6 -0
  81. package/dist/calcite/{p-8b5a056d.system.js → p-6e6c766d.system.js} +1 -1
  82. package/dist/calcite/{p-48f5a675.system.js → p-6f4a290e.system.js} +1 -1
  83. package/dist/calcite/p-72ae6659.system.entry.js +6 -0
  84. package/dist/calcite/p-7505e5f2.entry.js +6 -0
  85. package/dist/calcite/p-75bdaf1d.entry.js +6 -0
  86. package/dist/calcite/p-7688a4d8.system.entry.js +6 -0
  87. package/dist/calcite/{p-d579af0f.system.js → p-7750cf69.system.js} +2 -2
  88. package/dist/calcite/p-77ba3a75.entry.js +6 -0
  89. package/dist/calcite/p-79819ce2.entry.js +6 -0
  90. package/dist/calcite/p-799d6510.entry.js +6 -0
  91. package/dist/calcite/p-7bd363bf.system.entry.js +6 -0
  92. package/dist/calcite/p-7e29926c.entry.js +6 -0
  93. package/dist/calcite/p-83b0e6fa.system.entry.js +6 -0
  94. package/dist/calcite/p-85b7d575.entry.js +6 -0
  95. package/dist/calcite/p-8d3fc4ee.entry.js +6 -0
  96. package/dist/calcite/{p-b5103bd6.system.js → p-8de36feb.system.js} +2 -2
  97. package/dist/calcite/{p-51e58ac3.system.js → p-8eeb2705.system.js} +1 -1
  98. package/dist/calcite/p-913c10d7.entry.js +6 -0
  99. package/dist/calcite/p-92882341.entry.js +6 -0
  100. package/dist/calcite/{p-6eced7b5.system.entry.js → p-9394f514.system.entry.js} +2 -2
  101. package/dist/calcite/{p-3cd92e8b.js → p-967ab5ce.js} +1 -1
  102. package/dist/calcite/p-9689d57a.system.entry.js +6 -0
  103. package/dist/calcite/p-986a7d1a.entry.js +6 -0
  104. package/dist/calcite/p-995ea165.system.js +6 -0
  105. package/dist/calcite/p-9e69eb69.entry.js +6 -0
  106. package/dist/calcite/p-9f078008.system.entry.js +6 -0
  107. package/dist/calcite/p-9ff5036d.system.entry.js +6 -0
  108. package/dist/calcite/p-a000afc0.system.entry.js +6 -0
  109. package/dist/calcite/{p-5002689a.js → p-a0e5b18f.js} +1 -1
  110. package/dist/calcite/p-a1049719.system.entry.js +6 -0
  111. package/dist/calcite/p-a52a7b0a.system.entry.js +6 -0
  112. package/dist/calcite/p-a562f13f.js +6 -0
  113. package/dist/calcite/p-a6d0a409.system.entry.js +6 -0
  114. package/dist/calcite/p-a70ed6e7.entry.js +6 -0
  115. package/dist/calcite/p-a71d58b7.entry.js +6 -0
  116. package/dist/calcite/p-a96bd824.system.entry.js +6 -0
  117. package/dist/calcite/p-ad4f2930.system.entry.js +6 -0
  118. package/dist/calcite/p-ae9b373a.entry.js +6 -0
  119. package/dist/calcite/{p-7766ddc2.system.js → p-b271e062.system.js} +1 -1
  120. package/dist/calcite/p-b3c760e0.system.entry.js +6 -0
  121. package/dist/calcite/{p-7a8dc196.system.entry.js → p-b4b3b61e.entry.js} +3 -3
  122. package/dist/calcite/p-b4d9bf86.system.entry.js +6 -0
  123. package/dist/calcite/{p-7d0ab794.entry.js → p-b60feb71.entry.js} +2 -2
  124. package/dist/calcite/p-b78f9b9f.entry.js +6 -0
  125. package/dist/calcite/{p-e0f120b1.js → p-bc9318f3.js} +1 -1
  126. package/dist/calcite/{p-af62631d.js → p-bd07abeb.js} +1 -1
  127. package/dist/calcite/{p-66b8488f.system.js → p-bd29bacb.system.js} +1 -1
  128. package/dist/calcite/p-be784116.entry.js +6 -0
  129. package/dist/calcite/p-bf1e9f67.entry.js +6 -0
  130. package/dist/calcite/p-c05c774d.system.entry.js +6 -0
  131. package/dist/calcite/{p-f6fae0da.entry.js → p-c0ca417e.entry.js} +2 -2
  132. package/dist/calcite/p-c14e1f09.system.entry.js +6 -0
  133. package/dist/calcite/p-c1dcd3cb.system.entry.js +6 -0
  134. package/dist/calcite/p-c3ce9178.entry.js +6 -0
  135. package/dist/calcite/p-c69f0a78.entry.js +6 -0
  136. package/dist/calcite/{p-d2102cf0.system.js → p-c80f7567.system.js} +1 -1
  137. package/dist/calcite/{p-997a3daa.js → p-c8ba1f6a.js} +1 -1
  138. package/dist/calcite/p-c8c3e524.system.entry.js +6 -0
  139. package/dist/calcite/p-ca31a5e2.entry.js +6 -0
  140. package/dist/calcite/p-cf78df6d.system.entry.js +6 -0
  141. package/dist/calcite/p-d0047de8.system.entry.js +6 -0
  142. package/dist/calcite/p-d4cde041.entry.js +6 -0
  143. package/dist/calcite/p-d4f13b3d.entry.js +6 -0
  144. package/dist/calcite/{p-a530e53f.system.js → p-d5e345ee.system.js} +1 -1
  145. package/dist/calcite/p-d6ad752f.js +6 -0
  146. package/dist/calcite/{p-19ef2670.entry.js → p-d77e1a0d.entry.js} +2 -2
  147. package/dist/calcite/p-d7f6ea6f.system.entry.js +6 -0
  148. package/dist/calcite/p-da0db093.system.entry.js +6 -0
  149. package/dist/calcite/p-db473b43.system.entry.js +6 -0
  150. package/dist/calcite/p-dfb05eff.system.entry.js +6 -0
  151. package/dist/calcite/p-e0afa4c7.entry.js +6 -0
  152. package/dist/calcite/p-e12c0332.system.entry.js +6 -0
  153. package/dist/calcite/{p-5d6bb522.system.js → p-e307f02b.system.js} +2 -2
  154. package/dist/calcite/p-e3b5f2ef.entry.js +6 -0
  155. package/dist/calcite/{p-5e728d5f.js → p-e5d86cd5.js} +1 -1
  156. package/dist/calcite/p-e664273e.js +6 -0
  157. package/dist/calcite/p-e880847f.entry.js +6 -0
  158. package/dist/calcite/{p-3e4fc663.js → p-ebe9283f.js} +2 -2
  159. package/dist/calcite/{p-cef9685e.system.js → p-ec260be5.system.js} +2 -2
  160. package/dist/calcite/{p-d7ac85d7.system.entry.js → p-ed3d5173.system.entry.js} +2 -2
  161. package/dist/calcite/p-ed77bad5.system.entry.js +6 -0
  162. package/dist/calcite/p-ed94b31e.entry.js +6 -0
  163. package/dist/calcite/p-f09b2cde.system.entry.js +6 -0
  164. package/dist/calcite/{p-a20caf86.entry.js → p-f2f938ed.entry.js} +2 -2
  165. package/dist/calcite/p-f3570229.system.entry.js +6 -0
  166. package/dist/calcite/{p-b19f561c.system.js → p-f505b966.system.js} +1 -1
  167. package/dist/calcite/{p-bbc42dac.entry.js → p-f585e174.entry.js} +2 -2
  168. package/dist/calcite/p-f5c4d4d1.system.entry.js +6 -0
  169. package/dist/calcite/{p-fc12f99e.js → p-f65ef845.js} +1 -1
  170. package/dist/calcite/{p-78773123.entry.js → p-f7dbcbb8.entry.js} +2 -2
  171. package/dist/calcite/p-f8f14c87.entry.js +6 -0
  172. package/dist/calcite/{p-eea677b9.js → p-f92ce833.js} +1 -1
  173. package/dist/calcite/p-f9f5fb51.entry.js +6 -0
  174. package/dist/calcite/{p-79359620.system.js → p-fb20f3c6.system.js} +1 -1
  175. package/dist/calcite/p-fb294b8e.entry.js +6 -0
  176. package/dist/calcite/p-fbf72dda.system.entry.js +6 -0
  177. package/dist/calcite/{p-f0ff8d83.entry.js → p-fc817fa2.entry.js} +2 -2
  178. package/dist/cjs/{ExpandToggle-b50957be.js → ExpandToggle-c870fade.js} +5 -5
  179. package/dist/cjs/{Heading-1b066533.js → Heading-17afc80c.js} +2 -2
  180. package/dist/cjs/app-globals-e1b88841.js +50 -0
  181. package/dist/cjs/{array-5ca2f088.js → array-731bcbb2.js} +1 -1
  182. package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -7
  183. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -10
  184. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -8
  185. package/dist/cjs/calcite-action-menu.cjs.entry.js +14 -8
  186. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -9
  187. package/dist/cjs/calcite-action.cjs.entry.js +7 -6
  188. package/dist/cjs/calcite-alert.cjs.entry.js +7 -6
  189. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -5
  190. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -9
  191. package/dist/cjs/calcite-button.cjs.entry.js +9 -8
  192. package/dist/cjs/calcite-card.cjs.entry.js +7 -6
  193. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -8
  194. package/dist/cjs/calcite-chip.cjs.entry.js +7 -6
  195. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -9
  196. package/dist/cjs/calcite-combobox_3.cjs.entry.js +20 -14
  197. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +11 -10
  198. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -9
  199. package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
  200. package/dist/cjs/calcite-filter.cjs.entry.js +8 -7
  201. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  202. package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -10
  203. package/dist/cjs/calcite-handle.cjs.entry.js +5 -4
  204. package/dist/cjs/calcite-icon.cjs.entry.js +6 -5
  205. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -7
  206. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -13
  207. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -4
  208. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -13
  209. package/dist/cjs/calcite-input-text.cjs.entry.js +11 -10
  210. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +10 -9
  211. package/dist/cjs/calcite-input.cjs.entry.js +14 -13
  212. package/dist/cjs/calcite-label.cjs.entry.js +6 -5
  213. package/dist/cjs/calcite-link.cjs.entry.js +7 -6
  214. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -8
  215. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  216. package/dist/cjs/calcite-modal.cjs.entry.js +8 -7
  217. package/dist/cjs/calcite-notice.cjs.entry.js +8 -7
  218. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -8
  219. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-panel.cjs.entry.js +10 -9
  221. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -11
  222. package/dist/cjs/calcite-popover_2.cjs.entry.js +16 -10
  223. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  224. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  225. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -8
  226. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -7
  227. package/dist/cjs/calcite-rating.cjs.entry.js +9 -8
  228. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  229. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -7
  230. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  231. package/dist/cjs/calcite-split-button.cjs.entry.js +9 -4
  232. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -5
  233. package/dist/cjs/calcite-switch.cjs.entry.js +9 -8
  234. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -6
  235. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  236. package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
  237. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -7
  238. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +12 -6
  239. package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -10
  240. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -11
  241. package/dist/cjs/calcite.cjs.js +5 -2
  242. package/dist/cjs/{conditionalSlot-c9e8a19a.js → conditionalSlot-dc6359e0.js} +3 -3
  243. package/dist/cjs/{debounce-f9c5fb44.js → debounce-7d685f39.js} +1 -1
  244. package/dist/cjs/{dom-70b983a2.js → dom-4efc4df7.js} +4 -18
  245. package/dist/cjs/{filter-328c7b8b.js → filter-79a805e9.js} +2 -2
  246. package/dist/cjs/{floating-ui-8a544187.js → floating-ui-d1c220ca.js} +59 -10
  247. package/dist/cjs/{form-7e91825a.js → form-3f0e0679.js} +3 -3
  248. package/dist/cjs/{guid-bb58e051.js → guid-7ce1e44f.js} +1 -1
  249. package/dist/cjs/{index-fd388681.js → index-e05dafb0.js} +1 -1
  250. package/dist/cjs/index.cjs.js +1 -1
  251. package/dist/cjs/{interactive-93b0bea2.js → interactive-dcbc4725.js} +1 -1
  252. package/dist/cjs/{interfaces-8051a72f.js → interfaces-8778d49d.js} +1 -1
  253. package/dist/cjs/{key-a8b30c50.js → key-b77dd9e1.js} +1 -1
  254. package/dist/cjs/{label-4c18233e.js → label-6297b9e1.js} +2 -2
  255. package/dist/cjs/loader.cjs.js +5 -2
  256. package/dist/cjs/{locale-b7df0b1f.js → locale-8baef0cd.js} +2 -2
  257. package/dist/cjs/{math-a3254e0c.js → math-e5bb2fa2.js} +1 -1
  258. package/dist/cjs/{observers-ec5cb025.js → observers-edab9098.js} +1 -1
  259. package/dist/cjs/{openCloseComponent-03671cb7.js → openCloseComponent-8b7f305e.js} +1 -1
  260. package/dist/cjs/{resources-de0d48aa.js → resources-01597c65.js} +1 -1
  261. package/dist/cjs/resources-198c6f21.js +24 -0
  262. package/dist/cjs/{resources-5c096e0b.js → resources-b0217622.js} +3 -3
  263. package/dist/cjs/{resources-0fa70b4c.js → resources-d70c9d00.js} +5 -5
  264. package/dist/cjs/{resources-efcf402f.js → resources-ebab5fd6.js} +1 -1
  265. package/dist/cjs/{sortable.esm-00e9d640.js → sortable.esm-7290c83b.js} +1 -1
  266. package/dist/cjs/{utils-e1a09f13.js → utils-ccab61d8.js} +1 -1
  267. package/dist/collection/collection-manifest.json +2 -1
  268. package/dist/collection/components/accordion/accordion.js +1 -1
  269. package/dist/collection/components/accordion/interfaces.js +1 -1
  270. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  271. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  272. package/dist/collection/components/accordion-item/resources.js +1 -1
  273. package/dist/collection/components/action/action.js +1 -1
  274. package/dist/collection/components/action/resources.js +1 -1
  275. package/dist/collection/components/action-bar/action-bar.js +1 -1
  276. package/dist/collection/components/action-bar/resources.js +1 -1
  277. package/dist/collection/components/action-bar/utils.js +1 -1
  278. package/dist/collection/components/action-group/action-group.js +1 -1
  279. package/dist/collection/components/action-group/resources.js +1 -1
  280. package/dist/collection/components/action-menu/action-menu.js +8 -3
  281. package/dist/collection/components/action-menu/resources.js +1 -1
  282. package/dist/collection/components/action-pad/action-pad.js +1 -1
  283. package/dist/collection/components/action-pad/resources.js +1 -1
  284. package/dist/collection/components/alert/alert.js +1 -1
  285. package/dist/collection/components/alert/interfaces.js +1 -1
  286. package/dist/collection/components/alert/resources.js +1 -1
  287. package/dist/collection/components/avatar/avatar.js +1 -1
  288. package/dist/collection/components/avatar/utils.js +1 -1
  289. package/dist/collection/components/block/block.js +1 -1
  290. package/dist/collection/components/block/resources.js +1 -1
  291. package/dist/collection/components/block-section/block-section.js +1 -1
  292. package/dist/collection/components/block-section/interfaces.js +1 -1
  293. package/dist/collection/components/block-section/resources.js +1 -1
  294. package/dist/collection/components/button/button.js +1 -1
  295. package/dist/collection/components/button/interfaces.js +1 -1
  296. package/dist/collection/components/button/resources.js +1 -1
  297. package/dist/collection/components/card/card.js +1 -1
  298. package/dist/collection/components/card/resources.js +1 -1
  299. package/dist/collection/components/checkbox/checkbox.js +1 -1
  300. package/dist/collection/components/chip/chip.js +1 -1
  301. package/dist/collection/components/chip/interfaces.js +1 -1
  302. package/dist/collection/components/chip/resources.js +1 -1
  303. package/dist/collection/components/color-picker/color-picker.js +1 -1
  304. package/dist/collection/components/color-picker/interfaces.js +1 -1
  305. package/dist/collection/components/color-picker/resources.js +1 -1
  306. package/dist/collection/components/color-picker/utils.js +1 -1
  307. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  308. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  309. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  310. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  311. package/dist/collection/components/combobox/combobox.js +8 -3
  312. package/dist/collection/components/combobox/interfaces.js +1 -1
  313. package/dist/collection/components/combobox/resources.js +1 -1
  314. package/dist/collection/components/combobox/utils.js +1 -1
  315. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  316. package/dist/collection/components/combobox-item/resources.js +1 -1
  317. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  318. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  319. package/dist/collection/components/date-picker/date-picker.js +1 -1
  320. package/dist/collection/components/date-picker/interfaces.js +1 -1
  321. package/dist/collection/components/date-picker/resources.js +1 -1
  322. package/dist/collection/components/date-picker/utils.js +1 -1
  323. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  324. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  325. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  326. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  327. package/dist/collection/components/dropdown/dropdown.js +8 -3
  328. package/dist/collection/components/dropdown/interfaces.js +1 -1
  329. package/dist/collection/components/dropdown/resources.js +1 -1
  330. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  331. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  332. package/dist/collection/components/dropdown-group/resources.js +1 -1
  333. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  334. package/dist/collection/components/dropdown-item/resources.js +1 -1
  335. package/dist/collection/components/fab/fab.js +1 -1
  336. package/dist/collection/components/fab/resources.js +1 -1
  337. package/dist/collection/components/filter/filter.js +1 -1
  338. package/dist/collection/components/filter/resources.js +1 -1
  339. package/dist/collection/components/flow/flow.js +1 -1
  340. package/dist/collection/components/flow/interfaces.js +1 -1
  341. package/dist/collection/components/flow/resources.js +1 -1
  342. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  343. package/dist/collection/components/functional/Heading.js +1 -1
  344. package/dist/collection/components/graph/graph.js +1 -1
  345. package/dist/collection/components/graph/interfaces.js +1 -1
  346. package/dist/collection/components/graph/util.js +1 -1
  347. package/dist/collection/components/handle/handle.js +1 -1
  348. package/dist/collection/components/handle/resources.js +1 -1
  349. package/dist/collection/components/icon/icon.js +1 -1
  350. package/dist/collection/components/icon/resources.js +1 -1
  351. package/dist/collection/components/icon/utils.js +1 -1
  352. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  353. package/dist/collection/components/inline-editable/resources.js +1 -1
  354. package/dist/collection/components/input/input.js +1 -1
  355. package/dist/collection/components/input/interfaces.js +1 -1
  356. package/dist/collection/components/input/resources.js +1 -1
  357. package/dist/collection/components/input-date-picker/input-date-picker.js +8 -3
  358. package/dist/collection/components/input-date-picker/resources.js +1 -1
  359. package/dist/collection/components/input-message/input-message.js +1 -1
  360. package/dist/collection/components/input-message/interfaces.js +1 -1
  361. package/dist/collection/components/input-number/input-number.js +1 -1
  362. package/dist/collection/components/input-number/interfaces.js +1 -1
  363. package/dist/collection/components/input-number/resources.js +1 -1
  364. package/dist/collection/components/input-text/input-text.js +1 -1
  365. package/dist/collection/components/input-text/resources.js +1 -1
  366. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  367. package/dist/collection/components/interfaces.js +1 -1
  368. package/dist/collection/components/label/label.js +1 -1
  369. package/dist/collection/components/label/resources.js +1 -1
  370. package/dist/collection/components/link/link.js +1 -1
  371. package/dist/collection/components/list/list.js +1 -1
  372. package/dist/collection/components/list/resources.js +1 -1
  373. package/dist/collection/components/list-item/list-item.js +1 -1
  374. package/dist/collection/components/list-item/resources.js +1 -1
  375. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  376. package/dist/collection/components/list-item-group/resources.js +1 -1
  377. package/dist/collection/components/loader/loader.js +1 -1
  378. package/dist/collection/components/modal/interfaces.js +1 -1
  379. package/dist/collection/components/modal/modal.js +1 -1
  380. package/dist/collection/components/modal/resources.js +1 -1
  381. package/dist/collection/components/notice/notice.js +1 -1
  382. package/dist/collection/components/notice/resources.js +1 -1
  383. package/dist/collection/components/option/option.js +1 -1
  384. package/dist/collection/components/option-group/option-group.js +1 -1
  385. package/dist/collection/components/pagination/pagination.js +1 -1
  386. package/dist/collection/components/pagination/resources.js +1 -1
  387. package/dist/collection/components/panel/panel.js +1 -1
  388. package/dist/collection/components/panel/resources.js +1 -1
  389. package/dist/collection/components/pick-list/pick-list.js +1 -1
  390. package/dist/collection/components/pick-list/resources.js +1 -1
  391. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  392. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  393. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  394. package/dist/collection/components/pick-list-group/resources.js +1 -1
  395. package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
  396. package/dist/collection/components/pick-list-item/resources.js +1 -1
  397. package/dist/collection/components/popover/PopoverManager.js +1 -1
  398. package/dist/collection/components/popover/popover.js +8 -3
  399. package/dist/collection/components/popover/resources.js +1 -1
  400. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  401. package/dist/collection/components/progress/progress.js +1 -1
  402. package/dist/collection/components/radio-button/radio-button.js +1 -1
  403. package/dist/collection/components/radio-button/resources.js +1 -1
  404. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  405. package/dist/collection/components/radio-group/interfaces.js +1 -1
  406. package/dist/collection/components/radio-group/radio-group.js +1 -1
  407. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  408. package/dist/collection/components/radio-group-item/resources.js +1 -1
  409. package/dist/collection/components/rating/rating.js +1 -1
  410. package/dist/collection/components/rating/resources.js +1 -1
  411. package/dist/collection/components/scrim/resources.js +1 -1
  412. package/dist/collection/components/scrim/scrim.js +1 -1
  413. package/dist/collection/components/select/resources.js +1 -1
  414. package/dist/collection/components/select/select.js +1 -1
  415. package/dist/collection/components/shell/resources.js +1 -1
  416. package/dist/collection/components/shell/shell.js +1 -1
  417. package/dist/collection/components/shell-center-row/resources.js +1 -1
  418. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  419. package/dist/collection/components/shell-panel/resources.js +1 -1
  420. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  421. package/dist/collection/components/slider/slider.js +1 -1
  422. package/dist/collection/components/sortable-list/resources.js +1 -1
  423. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  424. package/dist/collection/components/split-button/resources.js +1 -1
  425. package/dist/collection/components/split-button/split-button.js +8 -3
  426. package/dist/collection/components/stepper/interfaces.js +1 -1
  427. package/dist/collection/components/stepper/stepper.js +1 -1
  428. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  429. package/dist/collection/components/switch/switch.js +1 -1
  430. package/dist/collection/components/tab/interfaces.js +1 -1
  431. package/dist/collection/components/tab/tab.js +1 -1
  432. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  433. package/dist/collection/components/tab-title/tab-title.js +1 -1
  434. package/dist/collection/components/tabs/interfaces.js +1 -1
  435. package/dist/collection/components/tabs/resources.js +1 -1
  436. package/dist/collection/components/tabs/tabs.js +1 -1
  437. package/dist/collection/components/tile/resources.js +1 -1
  438. package/dist/collection/components/tile/tile.js +1 -1
  439. package/dist/collection/components/tile-select/interfaces.js +1 -1
  440. package/dist/collection/components/tile-select/resources.js +1 -1
  441. package/dist/collection/components/tile-select/tile-select.js +1 -1
  442. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  443. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  444. package/dist/collection/components/time-picker/resources.js +1 -1
  445. package/dist/collection/components/time-picker/time-picker.js +1 -1
  446. package/dist/collection/components/tip/resources.js +1 -1
  447. package/dist/collection/components/tip/tip.js +1 -1
  448. package/dist/collection/components/tip-group/tip-group.js +1 -1
  449. package/dist/collection/components/tip-manager/resources.js +1 -1
  450. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  451. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  452. package/dist/collection/components/tooltip/resources.js +1 -1
  453. package/dist/collection/components/tooltip/tooltip.js +8 -3
  454. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  455. package/dist/collection/components/tree/interfaces.js +1 -1
  456. package/dist/collection/components/tree/tree.js +1 -1
  457. package/dist/collection/components/tree-item/interfaces.js +1 -1
  458. package/dist/collection/components/tree-item/resources.js +1 -1
  459. package/dist/collection/components/tree-item/tree-item.js +1 -1
  460. package/dist/collection/components/value-list/interfaces.js +1 -1
  461. package/dist/collection/components/value-list/resources.js +1 -1
  462. package/dist/collection/components/value-list/utils.js +1 -1
  463. package/dist/collection/components/value-list/value-list.js +1 -1
  464. package/dist/collection/components/value-list-item/resources.js +1 -1
  465. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  466. package/dist/collection/utils/array.js +1 -1
  467. package/dist/collection/utils/conditionalSlot.js +1 -1
  468. package/dist/collection/utils/date.js +1 -1
  469. package/dist/collection/utils/dom.js +1 -1
  470. package/dist/collection/utils/filter.js +1 -1
  471. package/dist/collection/utils/floating-ui.js +1 -1
  472. package/dist/collection/utils/form.js +1 -1
  473. package/dist/collection/utils/globalAttributes.js +1 -1
  474. package/dist/collection/utils/globalScript.js +17 -0
  475. package/dist/collection/utils/guid.js +1 -1
  476. package/dist/collection/utils/interactive.js +1 -1
  477. package/dist/collection/utils/key.js +1 -1
  478. package/dist/collection/utils/label.js +1 -1
  479. package/dist/collection/utils/locale.js +1 -1
  480. package/dist/collection/utils/math.js +1 -1
  481. package/dist/collection/utils/number.js +1 -1
  482. package/dist/collection/utils/observers.js +1 -1
  483. package/dist/collection/utils/openCloseComponent.js +1 -1
  484. package/dist/collection/utils/resources.js +3 -3
  485. package/dist/collection/utils/theme.js +31 -0
  486. package/dist/collection/utils/time.js +1 -1
  487. package/dist/components/ExpandToggle.js +2 -2
  488. package/dist/components/Heading.js +1 -1
  489. package/dist/components/action-group.js +2 -2
  490. package/dist/components/action-menu.js +7 -2
  491. package/dist/components/action.js +1 -1
  492. package/dist/components/array.js +1 -1
  493. package/dist/components/button.js +2 -2
  494. package/dist/components/calcite-accordion-item.js +2 -2
  495. package/dist/components/calcite-accordion.js +1 -1
  496. package/dist/components/calcite-action-bar.js +2 -2
  497. package/dist/components/calcite-action-group.js +1 -1
  498. package/dist/components/calcite-action-menu.js +1 -1
  499. package/dist/components/calcite-action-pad.js +2 -2
  500. package/dist/components/calcite-action.js +1 -1
  501. package/dist/components/calcite-alert.js +2 -2
  502. package/dist/components/calcite-avatar.js +2 -2
  503. package/dist/components/calcite-block-section.js +2 -2
  504. package/dist/components/calcite-block.js +2 -2
  505. package/dist/components/calcite-button.js +1 -1
  506. package/dist/components/calcite-card.js +2 -2
  507. package/dist/components/calcite-checkbox.js +1 -1
  508. package/dist/components/calcite-chip.js +1 -1
  509. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  510. package/dist/components/calcite-color-picker-swatch.js +1 -1
  511. package/dist/components/calcite-color-picker.js +2 -2
  512. package/dist/components/calcite-combobox-item-group.js +1 -1
  513. package/dist/components/calcite-combobox-item.js +2 -2
  514. package/dist/components/calcite-combobox.js +7 -2
  515. package/dist/components/calcite-date-picker-day.js +1 -1
  516. package/dist/components/calcite-date-picker-month-header.js +1 -1
  517. package/dist/components/calcite-date-picker-month.js +1 -1
  518. package/dist/components/calcite-date-picker.js +1 -1
  519. package/dist/components/calcite-dropdown-group.js +1 -1
  520. package/dist/components/calcite-dropdown-item.js +1 -1
  521. package/dist/components/calcite-dropdown.js +1 -1
  522. package/dist/components/calcite-fab.js +1 -1
  523. package/dist/components/calcite-filter.js +1 -1
  524. package/dist/components/calcite-flow.js +1 -1
  525. package/dist/components/calcite-graph.js +1 -1
  526. package/dist/components/calcite-handle.js +1 -1
  527. package/dist/components/calcite-icon.js +1 -1
  528. package/dist/components/calcite-inline-editable.js +2 -2
  529. package/dist/components/calcite-input-date-picker.js +7 -2
  530. package/dist/components/calcite-input-message.js +1 -1
  531. package/dist/components/calcite-input-number.js +2 -2
  532. package/dist/components/calcite-input-text.js +2 -2
  533. package/dist/components/calcite-input-time-picker.js +1 -1
  534. package/dist/components/calcite-input.js +1 -1
  535. package/dist/components/calcite-label.js +1 -1
  536. package/dist/components/calcite-link.js +1 -1
  537. package/dist/components/calcite-list-item-group.js +1 -1
  538. package/dist/components/calcite-list-item.js +2 -2
  539. package/dist/components/calcite-list.js +1 -1
  540. package/dist/components/calcite-loader.js +1 -1
  541. package/dist/components/calcite-modal.js +2 -2
  542. package/dist/components/calcite-notice.js +2 -2
  543. package/dist/components/calcite-option-group.js +1 -1
  544. package/dist/components/calcite-option.js +1 -1
  545. package/dist/components/calcite-pagination.js +1 -1
  546. package/dist/components/calcite-panel.js +2 -2
  547. package/dist/components/calcite-pick-list-group.js +2 -2
  548. package/dist/components/calcite-pick-list-item.js +1 -1
  549. package/dist/components/calcite-pick-list.js +1 -1
  550. package/dist/components/calcite-popover-manager.js +1 -1
  551. package/dist/components/calcite-popover.js +1 -1
  552. package/dist/components/calcite-progress.js +1 -1
  553. package/dist/components/calcite-radio-button-group.js +1 -1
  554. package/dist/components/calcite-radio-button.js +2 -2
  555. package/dist/components/calcite-radio-group-item.js +1 -1
  556. package/dist/components/calcite-radio-group.js +2 -2
  557. package/dist/components/calcite-rating.js +1 -1
  558. package/dist/components/calcite-scrim.js +1 -1
  559. package/dist/components/calcite-select.js +1 -1
  560. package/dist/components/calcite-shell-center-row.js +2 -2
  561. package/dist/components/calcite-shell-panel.js +2 -2
  562. package/dist/components/calcite-shell.js +2 -2
  563. package/dist/components/calcite-slider.js +2 -2
  564. package/dist/components/calcite-sortable-list.js +1 -1
  565. package/dist/components/calcite-split-button.js +7 -2
  566. package/dist/components/calcite-stepper-item.js +1 -1
  567. package/dist/components/calcite-stepper.js +1 -1
  568. package/dist/components/calcite-switch.js +1 -1
  569. package/dist/components/calcite-tab-nav.js +1 -1
  570. package/dist/components/calcite-tab-title.js +1 -1
  571. package/dist/components/calcite-tab.js +1 -1
  572. package/dist/components/calcite-tabs.js +1 -1
  573. package/dist/components/calcite-tile-select-group.js +1 -1
  574. package/dist/components/calcite-tile-select.js +1 -1
  575. package/dist/components/calcite-tile.js +1 -1
  576. package/dist/components/calcite-time-picker.js +1 -1
  577. package/dist/components/calcite-tip-group.js +1 -1
  578. package/dist/components/calcite-tip-manager.js +2 -2
  579. package/dist/components/calcite-tip.js +2 -2
  580. package/dist/components/calcite-tooltip-manager.js +1 -1
  581. package/dist/components/calcite-tooltip.js +7 -2
  582. package/dist/components/calcite-tree-item.js +2 -2
  583. package/dist/components/calcite-tree.js +2 -2
  584. package/dist/components/calcite-value-list-item.js +2 -2
  585. package/dist/components/calcite-value-list.js +1 -1
  586. package/dist/components/checkbox.js +1 -1
  587. package/dist/components/chip.js +2 -2
  588. package/dist/components/color-picker-hex-input.js +1 -1
  589. package/dist/components/color-picker-swatch.js +2 -2
  590. package/dist/components/conditionalSlot.js +1 -1
  591. package/dist/components/date-picker-day.js +2 -2
  592. package/dist/components/date-picker-month-header.js +1 -1
  593. package/dist/components/date-picker-month.js +1 -1
  594. package/dist/components/date-picker.js +1 -1
  595. package/dist/components/date.js +1 -1
  596. package/dist/components/debounce.js +1 -1
  597. package/dist/components/dom.js +2 -2
  598. package/dist/components/dropdown.js +7 -2
  599. package/dist/components/filter.js +1 -1
  600. package/dist/components/filter2.js +1 -1
  601. package/dist/components/floating-ui.js +59 -10
  602. package/dist/components/form.js +2 -2
  603. package/dist/components/graph.js +1 -1
  604. package/dist/components/guid.js +1 -1
  605. package/dist/components/handle.js +1 -1
  606. package/dist/components/icon.js +2 -2
  607. package/dist/components/index.js +44 -1
  608. package/dist/components/input.js +2 -2
  609. package/dist/components/interactive.js +1 -1
  610. package/dist/components/interfaces.js +1 -1
  611. package/dist/components/interfaces2.js +1 -1
  612. package/dist/components/key.js +1 -1
  613. package/dist/components/label.js +1 -1
  614. package/dist/components/label2.js +2 -2
  615. package/dist/components/link.js +2 -2
  616. package/dist/components/loader.js +1 -1
  617. package/dist/components/locale.js +1 -1
  618. package/dist/components/math.js +1 -1
  619. package/dist/components/observers.js +1 -1
  620. package/dist/components/openCloseComponent.js +1 -1
  621. package/dist/components/pick-list-item.js +2 -2
  622. package/dist/components/popover.js +7 -2
  623. package/dist/components/progress.js +1 -1
  624. package/dist/components/resources.js +1 -1
  625. package/dist/components/resources2.js +1 -1
  626. package/dist/components/resources3.js +1 -1
  627. package/dist/components/scrim.js +1 -1
  628. package/dist/components/shared-list-render.js +2 -2
  629. package/dist/components/sortable.esm.js +1 -1
  630. package/dist/components/switch.js +1 -1
  631. package/dist/components/tab-nav.js +2 -2
  632. package/dist/components/tab-title.js +2 -2
  633. package/dist/components/tab.js +1 -1
  634. package/dist/components/tabs.js +1 -1
  635. package/dist/components/tile.js +2 -2
  636. package/dist/components/time-picker.js +1 -1
  637. package/dist/components/utils.js +1 -1
  638. package/dist/components/utils2.js +1 -1
  639. package/dist/custom-elements/index.js +151 -26
  640. package/dist/esm/{ExpandToggle-dd6a0dd8.js → ExpandToggle-f12a7145.js} +5 -5
  641. package/dist/esm/{Heading-4c268816.js → Heading-ca8012f3.js} +2 -2
  642. package/dist/esm/app-globals-0dea7c34.js +48 -0
  643. package/dist/esm/{array-68e32723.js → array-8f37a85a.js} +1 -1
  644. package/dist/esm/calcite-accordion_2.entry.js +7 -6
  645. package/dist/esm/calcite-action-bar.entry.js +11 -10
  646. package/dist/esm/calcite-action-group.entry.js +9 -8
  647. package/dist/esm/calcite-action-menu.entry.js +14 -8
  648. package/dist/esm/calcite-action-pad.entry.js +10 -9
  649. package/dist/esm/calcite-action.entry.js +7 -6
  650. package/dist/esm/calcite-alert.entry.js +7 -6
  651. package/dist/esm/calcite-avatar.entry.js +6 -5
  652. package/dist/esm/calcite-block_2.entry.js +10 -9
  653. package/dist/esm/calcite-button.entry.js +9 -8
  654. package/dist/esm/calcite-card.entry.js +7 -6
  655. package/dist/esm/calcite-checkbox.entry.js +9 -8
  656. package/dist/esm/calcite-chip.entry.js +7 -6
  657. package/dist/esm/calcite-color-picker_3.entry.js +10 -9
  658. package/dist/esm/calcite-combobox_3.entry.js +20 -14
  659. package/dist/esm/calcite-date-picker_4.entry.js +10 -9
  660. package/dist/esm/calcite-dropdown_3.entry.js +15 -9
  661. package/dist/esm/calcite-fab.entry.js +6 -5
  662. package/dist/esm/calcite-filter.entry.js +8 -7
  663. package/dist/esm/calcite-flow.entry.js +3 -3
  664. package/dist/esm/calcite-graph_2.entry.js +11 -10
  665. package/dist/esm/calcite-handle.entry.js +5 -4
  666. package/dist/esm/calcite-icon.entry.js +6 -5
  667. package/dist/esm/calcite-inline-editable.entry.js +8 -7
  668. package/dist/esm/calcite-input-date-picker.entry.js +19 -13
  669. package/dist/esm/calcite-input-message.entry.js +5 -4
  670. package/dist/esm/calcite-input-number.entry.js +12 -11
  671. package/dist/esm/calcite-input-text.entry.js +9 -8
  672. package/dist/esm/calcite-input-time-picker_2.entry.js +10 -9
  673. package/dist/esm/calcite-input.entry.js +12 -11
  674. package/dist/esm/calcite-label.entry.js +6 -5
  675. package/dist/esm/calcite-link.entry.js +6 -5
  676. package/dist/esm/calcite-list_3.entry.js +9 -8
  677. package/dist/esm/calcite-loader.entry.js +3 -3
  678. package/dist/esm/calcite-modal.entry.js +8 -7
  679. package/dist/esm/calcite-notice.entry.js +8 -7
  680. package/dist/esm/calcite-option_3.entry.js +9 -8
  681. package/dist/esm/calcite-pagination.entry.js +5 -5
  682. package/dist/esm/calcite-panel.entry.js +10 -9
  683. package/dist/esm/calcite-pick-list_3.entry.js +12 -11
  684. package/dist/esm/calcite-popover_2.entry.js +16 -10
  685. package/dist/esm/calcite-progress.entry.js +2 -2
  686. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  687. package/dist/esm/calcite-radio-button.entry.js +9 -8
  688. package/dist/esm/calcite-radio-group_2.entry.js +8 -7
  689. package/dist/esm/calcite-rating.entry.js +9 -8
  690. package/dist/esm/calcite-scrim.entry.js +2 -2
  691. package/dist/esm/calcite-shell_3.entry.js +8 -7
  692. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  693. package/dist/esm/calcite-split-button.entry.js +9 -4
  694. package/dist/esm/calcite-stepper_2.entry.js +6 -5
  695. package/dist/esm/calcite-switch.entry.js +9 -8
  696. package/dist/esm/calcite-tab_4.entry.js +7 -6
  697. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  698. package/dist/esm/calcite-tile.entry.js +8 -7
  699. package/dist/esm/calcite-tip_3.entry.js +8 -7
  700. package/dist/esm/calcite-tooltip_2.entry.js +12 -6
  701. package/dist/esm/calcite-tree_2.entry.js +7 -6
  702. package/dist/esm/calcite-value-list_2.entry.js +12 -11
  703. package/dist/esm/calcite.js +5 -2
  704. package/dist/esm/{conditionalSlot-40a54fd0.js → conditionalSlot-a4c96c8d.js} +3 -3
  705. package/dist/esm/{debounce-b0f31c11.js → debounce-841521b1.js} +1 -1
  706. package/dist/esm/{dom-1f4b2c5c.js → dom-42491565.js} +4 -16
  707. package/dist/esm/{filter-e37bac63.js → filter-099dc292.js} +2 -2
  708. package/dist/esm/{floating-ui-0c89f0e1.js → floating-ui-f2ddd7c3.js} +59 -10
  709. package/dist/esm/{form-def7282e.js → form-ad1965a4.js} +3 -3
  710. package/dist/esm/{guid-43243f0d.js → guid-73322791.js} +1 -1
  711. package/dist/esm/{index-5a5db037.js → index-06221bfb.js} +1 -1
  712. package/dist/esm/index.js +1 -1
  713. package/dist/esm/{interactive-0304df8e.js → interactive-ff1f7f87.js} +1 -1
  714. package/dist/esm/{interfaces-2d8b2aa3.js → interfaces-e7ff50ef.js} +1 -1
  715. package/dist/esm/{key-8d8e902e.js → key-22a0f143.js} +1 -1
  716. package/dist/esm/{label-d68e7f0f.js → label-1b193aff.js} +2 -2
  717. package/dist/esm/loader.js +5 -2
  718. package/dist/esm/{locale-93a2218c.js → locale-88c03f90.js} +2 -2
  719. package/dist/esm/{math-23d942ef.js → math-e44d4881.js} +1 -1
  720. package/dist/esm/{observers-64f4a7e9.js → observers-9d4ab86b.js} +1 -1
  721. package/dist/esm/{openCloseComponent-fbf6ad68.js → openCloseComponent-56a35411.js} +1 -1
  722. package/dist/esm/{resources-10717072.js → resources-414ad2dc.js} +5 -5
  723. package/dist/esm/{resources-05894aef.js → resources-4fe95540.js} +1 -1
  724. package/dist/esm/resources-8fc2f7f1.js +19 -0
  725. package/dist/esm/{resources-9c6ccc78.js → resources-ea033965.js} +1 -1
  726. package/dist/esm/{resources-a67dcc05.js → resources-f6b51a5c.js} +3 -3
  727. package/dist/esm/{sortable.esm-5a040bf9.js → sortable.esm-3ef91fcd.js} +1 -1
  728. package/dist/esm/{utils-fa55d6c6.js → utils-c26a2cd8.js} +1 -1
  729. package/dist/esm-es5/{ExpandToggle-dd6a0dd8.js → ExpandToggle-f12a7145.js} +2 -2
  730. package/dist/esm-es5/{Heading-4c268816.js → Heading-ca8012f3.js} +2 -2
  731. package/dist/esm-es5/app-globals-0dea7c34.js +6 -0
  732. package/dist/esm-es5/{array-68e32723.js → array-8f37a85a.js} +1 -1
  733. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  734. package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
  735. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  736. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  737. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  738. package/dist/esm-es5/calcite-action.entry.js +2 -2
  739. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  740. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  741. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  742. package/dist/esm-es5/calcite-button.entry.js +2 -2
  743. package/dist/esm-es5/calcite-card.entry.js +2 -2
  744. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  745. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  746. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  747. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  748. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  749. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  750. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  751. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  752. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  753. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  754. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  755. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  756. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  757. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  758. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  759. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  760. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  761. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  762. package/dist/esm-es5/calcite-input.entry.js +2 -2
  763. package/dist/esm-es5/calcite-label.entry.js +2 -2
  764. package/dist/esm-es5/calcite-link.entry.js +3 -3
  765. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  766. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  767. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  768. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  769. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  770. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  771. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  772. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  773. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  774. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  775. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  776. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  777. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  778. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  779. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  780. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  781. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  782. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  783. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  784. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  785. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  786. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  787. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  788. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  789. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  790. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  791. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  792. package/dist/esm-es5/calcite.js +2 -2
  793. package/dist/esm-es5/{conditionalSlot-40a54fd0.js → conditionalSlot-a4c96c8d.js} +2 -2
  794. package/dist/esm-es5/{debounce-b0f31c11.js → debounce-841521b1.js} +1 -1
  795. package/dist/esm-es5/dom-42491565.js +6 -0
  796. package/dist/esm-es5/{filter-e37bac63.js → filter-099dc292.js} +2 -2
  797. package/dist/esm-es5/floating-ui-f2ddd7c3.js +6 -0
  798. package/dist/esm-es5/{form-def7282e.js → form-ad1965a4.js} +2 -2
  799. package/dist/esm-es5/{guid-43243f0d.js → guid-73322791.js} +1 -1
  800. package/dist/esm-es5/{index-5a5db037.js → index-06221bfb.js} +1 -1
  801. package/dist/esm-es5/index.js +1 -1
  802. package/dist/esm-es5/{interactive-0304df8e.js → interactive-ff1f7f87.js} +1 -1
  803. package/dist/esm-es5/{interfaces-2d8b2aa3.js → interfaces-e7ff50ef.js} +1 -1
  804. package/dist/esm-es5/{key-8d8e902e.js → key-22a0f143.js} +1 -1
  805. package/dist/esm-es5/{label-d68e7f0f.js → label-1b193aff.js} +2 -2
  806. package/dist/esm-es5/loader.js +2 -2
  807. package/dist/esm-es5/{locale-93a2218c.js → locale-88c03f90.js} +2 -2
  808. package/dist/esm-es5/{math-23d942ef.js → math-e44d4881.js} +1 -1
  809. package/dist/esm-es5/{observers-64f4a7e9.js → observers-9d4ab86b.js} +1 -1
  810. package/dist/esm-es5/{openCloseComponent-fbf6ad68.js → openCloseComponent-56a35411.js} +1 -1
  811. package/dist/esm-es5/{resources-10717072.js → resources-414ad2dc.js} +2 -2
  812. package/dist/esm-es5/{resources-05894aef.js → resources-4fe95540.js} +1 -1
  813. package/dist/esm-es5/resources-8fc2f7f1.js +6 -0
  814. package/dist/esm-es5/{resources-9c6ccc78.js → resources-ea033965.js} +1 -1
  815. package/dist/esm-es5/{resources-a67dcc05.js → resources-f6b51a5c.js} +2 -2
  816. package/dist/esm-es5/{sortable.esm-5a040bf9.js → sortable.esm-3ef91fcd.js} +1 -1
  817. package/dist/esm-es5/{utils-fa55d6c6.js → utils-c26a2cd8.js} +1 -1
  818. package/dist/extras/docs-json.json +8 -8
  819. package/dist/loader/cdn.js +1 -1
  820. package/dist/loader/index.cjs.js +1 -1
  821. package/dist/loader/index.es2017.js +1 -1
  822. package/dist/loader/index.js +1 -1
  823. package/dist/types/components/action-menu/action-menu.d.ts +6 -1
  824. package/dist/types/components/checkbox/checkbox.d.ts +2 -2
  825. package/dist/types/components/combobox/combobox.d.ts +6 -1
  826. package/dist/types/components/dropdown/dropdown.d.ts +6 -1
  827. package/dist/types/components/input-date-picker/input-date-picker.d.ts +6 -1
  828. package/dist/types/components/pick-list-item/pick-list-item.d.ts +1 -1
  829. package/dist/types/components/popover/popover.d.ts +6 -1
  830. package/dist/types/components/radio-button/radio-button.d.ts +2 -2
  831. package/dist/types/components/split-button/split-button.d.ts +6 -1
  832. package/dist/types/components/switch/switch.d.ts +2 -2
  833. package/dist/types/components/tooltip/tooltip.d.ts +6 -1
  834. package/dist/types/components.d.ts +14 -14
  835. package/dist/types/utils/form.d.ts +1 -1
  836. package/dist/types/utils/globalScript.d.ts +6 -0
  837. package/dist/types/utils/resources.d.ts +2 -0
  838. package/dist/types/utils/theme.d.ts +4 -0
  839. package/hydrate/index.js +151 -27
  840. package/package.json +9 -9
  841. package/dist/calcite/p-09b4c5d6.system.entry.js +0 -6
  842. package/dist/calcite/p-0d82783f.system.entry.js +0 -6
  843. package/dist/calcite/p-16e5f591.entry.js +0 -6
  844. package/dist/calcite/p-18fb7ebc.system.entry.js +0 -6
  845. package/dist/calcite/p-1b0db26c.entry.js +0 -6
  846. package/dist/calcite/p-1b916f76.system.entry.js +0 -6
  847. package/dist/calcite/p-1c2e0daa.system.entry.js +0 -6
  848. package/dist/calcite/p-1d699c3b.system.entry.js +0 -6
  849. package/dist/calcite/p-1e259c2b.system.entry.js +0 -6
  850. package/dist/calcite/p-237f6388.entry.js +0 -6
  851. package/dist/calcite/p-24b189a7.entry.js +0 -6
  852. package/dist/calcite/p-272a7973.system.entry.js +0 -6
  853. package/dist/calcite/p-27f691c6.entry.js +0 -6
  854. package/dist/calcite/p-28aec55e.entry.js +0 -6
  855. package/dist/calcite/p-2a13ccd7.system.entry.js +0 -6
  856. package/dist/calcite/p-2a7bd887.entry.js +0 -6
  857. package/dist/calcite/p-2e449f8b.js +0 -6
  858. package/dist/calcite/p-2f28e6c6.entry.js +0 -6
  859. package/dist/calcite/p-3116eb16.system.js +0 -6
  860. package/dist/calcite/p-318d4e47.system.entry.js +0 -6
  861. package/dist/calcite/p-31b57443.system.entry.js +0 -6
  862. package/dist/calcite/p-337de307.system.entry.js +0 -6
  863. package/dist/calcite/p-35736b65.entry.js +0 -6
  864. package/dist/calcite/p-374a14fa.entry.js +0 -6
  865. package/dist/calcite/p-3d1a3386.system.entry.js +0 -6
  866. package/dist/calcite/p-41f603c6.entry.js +0 -6
  867. package/dist/calcite/p-443e7cd5.js +0 -6
  868. package/dist/calcite/p-452dc9cd.entry.js +0 -6
  869. package/dist/calcite/p-499b4d7f.system.entry.js +0 -6
  870. package/dist/calcite/p-4b1acc25.entry.js +0 -6
  871. package/dist/calcite/p-4c59c464.system.entry.js +0 -6
  872. package/dist/calcite/p-4f381b22.entry.js +0 -6
  873. package/dist/calcite/p-4fef9785.system.entry.js +0 -6
  874. package/dist/calcite/p-51686f87.entry.js +0 -6
  875. package/dist/calcite/p-5277787a.entry.js +0 -6
  876. package/dist/calcite/p-54f1b900.system.entry.js +0 -6
  877. package/dist/calcite/p-558eb439.entry.js +0 -6
  878. package/dist/calcite/p-573b7727.entry.js +0 -6
  879. package/dist/calcite/p-593dd378.system.entry.js +0 -6
  880. package/dist/calcite/p-60e29c28.entry.js +0 -6
  881. package/dist/calcite/p-6124422d.entry.js +0 -6
  882. package/dist/calcite/p-614577b3.entry.js +0 -6
  883. package/dist/calcite/p-63e68260.entry.js +0 -6
  884. package/dist/calcite/p-709f45ca.system.entry.js +0 -6
  885. package/dist/calcite/p-7560b5cb.entry.js +0 -6
  886. package/dist/calcite/p-787df3d9.entry.js +0 -6
  887. package/dist/calcite/p-807dbeff.entry.js +0 -6
  888. package/dist/calcite/p-85f55348.system.entry.js +0 -6
  889. package/dist/calcite/p-8726c076.system.entry.js +0 -6
  890. package/dist/calcite/p-899506b7.entry.js +0 -6
  891. package/dist/calcite/p-8b09e41f.system.entry.js +0 -6
  892. package/dist/calcite/p-8c074397.entry.js +0 -6
  893. package/dist/calcite/p-8cca323e.entry.js +0 -6
  894. package/dist/calcite/p-8dd41a41.system.entry.js +0 -6
  895. package/dist/calcite/p-8e4bc86a.system.entry.js +0 -6
  896. package/dist/calcite/p-8f9cd7c2.system.entry.js +0 -6
  897. package/dist/calcite/p-923cc8f7.entry.js +0 -6
  898. package/dist/calcite/p-9404368d.entry.js +0 -6
  899. package/dist/calcite/p-993dc453.js +0 -6
  900. package/dist/calcite/p-9b3f7af5.system.js +0 -6
  901. package/dist/calcite/p-9ec5ed46.entry.js +0 -6
  902. package/dist/calcite/p-9ff0ebb3.system.entry.js +0 -6
  903. package/dist/calcite/p-a27c7171.entry.js +0 -6
  904. package/dist/calcite/p-a2e892e5.entry.js +0 -6
  905. package/dist/calcite/p-a5ef90f9.system.js +0 -6
  906. package/dist/calcite/p-a6ad3821.entry.js +0 -6
  907. package/dist/calcite/p-b08b2ad9.system.entry.js +0 -6
  908. package/dist/calcite/p-b0a6c09b.system.entry.js +0 -6
  909. package/dist/calcite/p-b1a0f06b.entry.js +0 -6
  910. package/dist/calcite/p-b25dd020.system.entry.js +0 -6
  911. package/dist/calcite/p-b8fb2780.entry.js +0 -6
  912. package/dist/calcite/p-ba9601c8.system.entry.js +0 -6
  913. package/dist/calcite/p-bbaad92f.system.js +0 -6
  914. package/dist/calcite/p-bc2dc6af.system.entry.js +0 -6
  915. package/dist/calcite/p-bebb3777.system.entry.js +0 -6
  916. package/dist/calcite/p-bfb4cbdc.entry.js +0 -6
  917. package/dist/calcite/p-c26f3841.system.entry.js +0 -6
  918. package/dist/calcite/p-c8a07e77.system.entry.js +0 -6
  919. package/dist/calcite/p-cb4235cd.system.entry.js +0 -6
  920. package/dist/calcite/p-cd5c0d53.system.entry.js +0 -6
  921. package/dist/calcite/p-cd76ddd3.system.entry.js +0 -6
  922. package/dist/calcite/p-cdaa1968.entry.js +0 -6
  923. package/dist/calcite/p-cdd2f5f3.system.entry.js +0 -6
  924. package/dist/calcite/p-d3126106.entry.js +0 -6
  925. package/dist/calcite/p-d3bd8e42.entry.js +0 -6
  926. package/dist/calcite/p-d64ad5b8.entry.js +0 -6
  927. package/dist/calcite/p-da0d407c.entry.js +0 -6
  928. package/dist/calcite/p-da190323.system.entry.js +0 -6
  929. package/dist/calcite/p-da602e55.entry.js +0 -6
  930. package/dist/calcite/p-dafa6b14.system.entry.js +0 -6
  931. package/dist/calcite/p-db716c4d.entry.js +0 -6
  932. package/dist/calcite/p-dce7bd73.entry.js +0 -6
  933. package/dist/calcite/p-de18336c.system.entry.js +0 -6
  934. package/dist/calcite/p-e17fe6f2.system.entry.js +0 -6
  935. package/dist/calcite/p-e31a759f.system.entry.js +0 -6
  936. package/dist/calcite/p-e35ac74b.js +0 -6
  937. package/dist/calcite/p-e37d3fd0.system.entry.js +0 -6
  938. package/dist/calcite/p-e629fa5b.system.entry.js +0 -6
  939. package/dist/calcite/p-e89b1604.entry.js +0 -6
  940. package/dist/calcite/p-ee43e34c.system.entry.js +0 -6
  941. package/dist/calcite/p-eedbbe06.entry.js +0 -6
  942. package/dist/calcite/p-eef36edb.entry.js +0 -6
  943. package/dist/calcite/p-f285278c.system.entry.js +0 -6
  944. package/dist/calcite/p-f37111f3.entry.js +0 -6
  945. package/dist/calcite/p-f540b806.system.js +0 -6
  946. package/dist/calcite/p-f5d88620.system.entry.js +0 -6
  947. package/dist/calcite/p-f8995cf2.system.entry.js +0 -6
  948. package/dist/esm-es5/dom-1f4b2c5c.js +0 -6
  949. package/dist/esm-es5/floating-ui-0c89f0e1.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.556
4
+ * v1.0.0-next.557
5
5
  */
6
- System.register(["./p-b19f561c.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}))}}}));
6
+ System.register(["./p-f505b966.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}))}}}));
@@ -0,0 +1,6 @@
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.557
5
+ */
6
+ import{r as t,h as a,H as n,g as i}from"./p-967ab5ce.js";import{u as e}from"./p-bc9318f3.js";import{g as o}from"./p-3f0a88a5.js";import{c as r,d as c}from"./p-a562f13f.js";import{H as s,c as l}from"./p-473cdc07.js";import"./p-e664273e.js";import"./p-c8ba1f6a.js";import"./p-f92ce833.js";const m=class{constructor(a){t(this,a),this.disabled=!1}componentDidRender(){e(this)}async setFocus(){const t=this.el.querySelector("calcite-list-item:not([non-interactive])");null==t||t.setFocus()}render(){return a(n,{role:"list"},a("div",{class:"container"},a("slot",null)))}get el(){return i(this)}};m.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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}: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{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;background-color:transparent}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(calcite-list-item){-webkit-margin-after:1px;margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 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)}::slotted(calcite-list-item:last-child){--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)}";const d=class{constructor(a){t(this,a),this.nonInteractive=!1,this.disabled=!1}componentDidRender(){e(this)}connectedCallback(){r(this)}disconnectedCallback(){c(this)}async setFocus(){var t;null===(t=this.focusEl)||void 0===t||t.focus()}renderActionsStart(){const{el:t}=this;return o(t,"actions-start")?a("div",{class:"actions-start"},a("slot",{name:"actions-start"})):null}renderActionsEnd(){const{el:t}=this;return o(t,"actions-end")?a("div",{class:"actions-end"},a("slot",{name:"actions-end"})):null}renderContentStart(){const{el:t}=this;return o(t,"content-start")?a("div",{class:"content-start"},a("slot",{name:"content-start"})):null}renderContentEnd(){const{el:t}=this;return o(t,"content-end")?a("div",{class:"content-end"},a("slot",{name:"content-end"})):null}renderContent(){const{label:t,description:n}=this;return t||n?a("div",{class:"content"},t?a("div",{class:"label"},t):null,n?a("div",{class:"description"},n):null):null}renderContentContainer(){const{description:t,disabled:n,label:i,nonInteractive:e}=this,o=!!i||!!t,r=[this.renderContentStart(),this.renderContent(),this.renderContentEnd()];return e?a("div",{class:{"content-container":!0,"has-center-content":o},ref:()=>this.focusEl=null},r):a("button",{class:{"content-container":!0,"content-container--button":!0,"has-center-content":o},disabled:n,ref:t=>this.focusEl=t},r)}render(){return a(n,{role:"listitem"},a("div",{class:"container"},this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),a("div",{class:"nested-container"},a("slot",null)))}get el(){return i(this)}};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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}: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{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}.nested-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);outline-color:transparent}.content-container--button{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}.content-container--button:hover{background-color:var(--calcite-ui-foreground-2)}.content-container--button:hover .label,.content-container--button:hover .description{color:var(--calcite-ui-text-1)}.content-container--button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.content-container--button .content-start,.content-container--button .content-end{pointer-events:none}.content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{-ms-flex-pack:start;justify-content:flex-start}.content-end{-ms-flex-pack:end;justify-content:flex-end}.content-start,.content-end{-ms-flex:1 1 auto;flex:1 1 auto}.has-center-content .content-start,.has-center-content .content-end{-ms-flex:0 1 auto;flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){-ms-flex-item-align:center;align-self:center;padding-inline:0.75rem}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){-ms-flex-item-align:stretch;align-self:stretch;color:inherit}::slotted(calcite-list-item-group),::slotted(calcite-list-item){-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";const f=class{constructor(a){t(this,a)}render(){var t;const{el:i,heading:e,headingLevel:o}=this,r=null===(t=i.closest("calcite-list, calcite-list-item-group"))||void 0===t?void 0:t.headingLevel,c=r?l(r+1):null;return a(n,null,e?a(s,{class:"heading",level:o||c||3},e):null,a("div",{class:"container",role:"group"},a("slot",null)))}get el(){return i(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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.heading{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.container{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}::slotted(calcite-list-item-group){-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";export{m as calcite_list,d as calcite_list_item,f as calcite_list_item_group}
@@ -0,0 +1,6 @@
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.557
5
+ */
6
+ import{r as t,c as a,h as e,H as i,g as n}from"./p-967ab5ce.js";import{l as o,a as r}from"./p-1bdc083e.js";import"./p-3f0a88a5.js";import"./p-e664273e.js";import"./p-c8ba1f6a.js";const s=class{constructor(e){t(this,e),this.calciteInternalLabelClick=a(this,"calciteInternalLabelClick",2),this.alignment="start",this.status="idle",this.scale="m",this.layout="default",this.disabled=!1,this.disableSpacing=!1,this.labelClickHandler=t=>{this.calciteInternalLabelClick.emit({sourceEvent:t})}}connectedCallback(){document.dispatchEvent(new CustomEvent(o))}disconnectedCallback(){document.dispatchEvent(new CustomEvent(r))}render(){return e(i,{onClick:this.labelClickHandler},e("div",{class:"container"},e("slot",null)))}get el(){return n(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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}: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{display:inline}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host(:not([disable-spacing])[scale=s]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 0.5rem);margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host(:not([disable-spacing])[scale=m]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 0.75rem);margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:not([disable-spacing])[scale=l]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 1rem);margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([disable-spacing]) .container{margin:0px;gap:0px}";export{s as calcite_label}
@@ -0,0 +1,6 @@
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.557
5
+ */
6
+ import{r as t,c as i,h as e,F as a,g as n}from"./p-967ab5ce.js";import{C as s,I as o,S as r}from"./p-e5d86cd5.js";import{t as l,f as c}from"./p-3f0a88a5.js";import{g as m}from"./p-28eb7892.js";import{g as h}from"./p-c8ba1f6a.js";import{i as p}from"./p-267cfd6f.js";import"./p-e664273e.js";const d=["ArrowUp","ArrowDown"],f=["ArrowUp","ArrowDown","End","Home"],u=class{constructor(e){t(this,e),this.calciteActionMenuOpenChange=i(this,"calciteActionMenuOpenChange",6),this.expanded=!1,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.actionElements=[],this.guid=`calcite-action-menu-${h()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.activeMenuItemIndex=-1,this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:i,open:e,label:a}=this,n=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==n&&(this.disconnectMenuButtonEl(),this.menuButtonEl=n,this.setTooltipReferenceElement(),n&&(n.active=e,n.setAttribute("aria-controls",i),n.setAttribute("aria-expanded",l(e)),n.setAttribute("aria-haspopup","true"),n.id||(n.id=t),n.label||(n.label=a),n.text||(n.text=a),n.addEventListener("pointerdown",this.menuButtonClick),n.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("pointerdown",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.slottedMenuButtonEl=i[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=()=>{this.toggleOpen()},this.updateTooltip=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.tooltipEl=i[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:i,menuButtonEl:e,open:a}=this;t&&(t.referenceElement=i||a?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:a}=this,n=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=n),t.active=i===a},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.handleDefaultSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.actionElements=i},this.menuButtonKeyDown=t=>{const{key:i}=t,{actionElements:e}=this;if(e.length)return p(i)?(t.preventDefault(),void this.toggleOpen()):void(this.isValidKey(i,d)&&(t.preventDefault(),this.toggleOpen(!0),this.handleActionNavigation(i,e)))},this.menuActionsContainerKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:a}=this;if("Tab"!==i)if(p(i)){t.preventDefault();const i=e[a];i?i.click():this.toggleOpen(!1)}else"Escape"!==i?e.length&&(this.isValidKey(i,f)&&t.preventDefault(),this.handleActionNavigation(i,e)):this.toggleOpen(!1);else this.open=!1},this.handleActionNavigation=(t,i)=>{if(!this.open)return;const e=this.activeMenuItemIndex;"Home"===t&&(this.activeMenuItemIndex=0),"End"===t&&(this.activeMenuItemIndex=i.length-1),"ArrowUp"===t&&(this.activeMenuItemIndex=m(Math.max(e-1,-1),i.length)),"ArrowDown"===t&&(this.activeMenuItemIndex=m(e+1,i.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t}}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpenChange.emit(t),this.setTooltipReferenceElement()}closeCalciteActionMenuOnClick(t){t.composedPath().includes(this.el)||(this.open=!1)}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){c(this.menuButtonEl)}renderMenuButton(){const{label:t,scale:i,expanded:a}=this;return e("slot",{name:r.trigger,onSlotchange:this.setMenuButtonEl},e("calcite-action",{class:s.defaultTrigger,icon:o.menu,ref:this.setDefaultMenuButtonEl,scale:i,text:t,textEnabled:a}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:i,open:a,menuId:n,menuButtonEl:o,label:r,placement:l,overlayPositioning:c,flipPlacements:m}=this,h=t[i];return e("calcite-popover",{disablePointer:!0,flipPlacements:m,label:r,offsetDistance:0,open:a,overlayPositioning:c,placement:l,referenceElement:o},e("div",{"aria-activedescendant":(null==h?void 0:h.id)||null,"aria-labelledby":null==o?void 0:o.id,class:s.menu,id:n,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,role:"menu",tabIndex:-1},e("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return e(a,null,this.renderMenuButton(),this.renderMenuItems(),e("slot",{name:r.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";export{u as calcite_action_menu}
@@ -0,0 +1,6 @@
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,r){function o(t){try{s(a.next(t))}catch(t){r(t)}}function c(t){try{s(a["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):n(t.value).then(o,c)}s((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,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(e){return s([t,e])}}function s(o){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];n=0}finally{a=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.557
6
+ */System.register(["./p-bd29bacb.system.js","./p-4918e784.system.js","./p-fb20f3c6.system.js","./p-8eeb2705.system.js","./p-089c4e7a.system.js","./p-e307f02b.system.js","./p-2e486788.system.js","./p-430ddb64.system.js","./p-f505b966.system.js","./p-995ea165.system.js","./p-c80f7567.system.js"],(function(t){"use strict";var e,i,a,n,r,o,c,s,l,m,d,f,p,u,h,b,y,w,g,k,v,x,D,_,I,C,z,L,H,j,P,F,S,E,R,W,V,A;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.g;r=t.F},function(t){o=t.m;c=t.d;s=t.a;l=t.s;m=t.h;d=t.b;f=t.k;p=t.i;u=t.e;h=t.f;b=t.r;y=t.l;w=t.n;g=t.j;k=t.o;v=t.p;x=t.I;D=t.L;_=t.q;I=t.t;C=t.H;z=t.T;L=t.u;H=t.C;j=t.S},function(t){P=t.c},function(t){F=t.u},function(t){S=t.g;E=t.t},function(t){R=t.H;W=t.c},function(t){V=t.c;A=t.d},function(){},function(){},function(){},function(){}],execute:function(){var O="@-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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}: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;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:end;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-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([filter-enabled]) header.sticky-pos{position:-webkit-sticky;position:sticky;inset-block-start:0px;z-index:1}calcite-filter{-webkit-margin-after:0px;margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";var K=t("calcite_pick_list",function(){function t(t){var a=this;e(this,t);this.calciteListChange=i(this,"calciteListChange",6);this.disabled=false;this.filterEnabled=false;this.loading=false;this.multiple=false;this.selectionFollowsFocus=false;this.selectedValues=new Map;this.dataForFilter=[];this.lastSelectedItem=null;this.mutationObserver=P("mutation",o.bind(this));this.setFilterEl=function(t){a.filterEl=t};this.deselectRemovedItems=c.bind(this);this.deselectSiblingItems=s.bind(this);this.selectSiblings=l.bind(this);this.handleFilter=m.bind(this);this.getItemData=d.bind(this);this.keyDownHandler=f.bind(this)}t.prototype.connectedCallback=function(){p.call(this);u.call(this)};t.prototype.disconnectedCallback=function(){h.call(this)};t.prototype.componentDidRender=function(){F(this)};t.prototype.calciteListItemRemoveHandler=function(t){b.call(this,t)};t.prototype.calciteListItemChangeHandler=function(t){y.call(this,t)};t.prototype.calciteInternalListItemPropsChangeHandler=function(t){t.stopPropagation();this.setUpFilter()};t.prototype.calciteInternalListItemValueChangeHandler=function(t){w.call(this,t);t.stopPropagation()};t.prototype.calciteListFocusOutHandler=function(t){g.call(this,t)};t.prototype.setUpItems=function(){k.call(this,"calcite-pick-list-item")};t.prototype.setUpFilter=function(){if(this.filterEnabled){this.dataForFilter=this.getItemData()}};t.prototype.getSelectedItems=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.selectedValues]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,v.call(this,t)]}))}))};t.prototype.getIconType=function(){return this.multiple?x.square:x.circle};t.prototype.render=function(){return a(D,{onKeyDown:this.keyDownHandler,props:this})};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());K.style=O;var T="@-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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:last-child){-webkit-margin-after:0px;margin-block-end:0px}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{-webkit-margin-start:1.5rem;margin-inline-start:1.5rem}";var U=t("calcite_pick_list_group",function(){function t(t){e(this,t)}t.prototype.connectedCallback=function(){V(this)};t.prototype.disconnectedCallback=function(){A(this)};t.prototype.render=function(){var t;var e;var i=this,n=i.el,o=i.groupTitle,c=i.headingLevel;var s=S(n,_.parentItem)!==null;var l=(t={},t[I.container]=true,t[I.indented]=s,t);var m=o;var d=(e=n.closest("calcite-pick-list"))===null||e===void 0?void 0:e.headingLevel;var f=d?W(d+1):null;var p=c||f||C;return a(r,null,m?a(R,{class:I.heading,level:p},m):null,a("slot",{name:_.parentItem}),a("section",{class:l},a("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());U.style=T;var q='@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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}: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{margin:0px;-webkit-margin-after:1px;margin-block-end:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-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:background-color var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing);-webkit-animation:calcite-fade-in var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.label{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;cursor:pointer;-ms-flex-align:center;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);-ms-flex:0 0 auto;flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:-ms-flexbox;display:flex;inline-size:1.5rem;-ms-flex-align:center;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:end;justify-content:flex-end}.actions--start~.label{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}';var G=t("calcite_pick_list_item",function(){function t(t){var a=this;e(this,t);this.calciteListItemChange=i(this,"calciteListItemChange",6);this.calciteListItemRemove=i(this,"calciteListItemRemove",7);this.calciteInternalListItemPropsChange=i(this,"calciteInternalListItemPropsChange",6);this.calciteInternalListItemValueChange=i(this,"calciteInternalListItemValueChange",6);this.disabled=false;this.disableDeselect=false;this.nonInteractive=false;this.icon=null;this.removable=false;this.selected=false;this.intlRemove=z.remove;this.pickListClickHandler=function(t){if(a.disabled||a.disableDeselect&&a.selected||a.nonInteractive){return}a.shiftPressed=t.shiftKey;a.selected=!a.selected};this.pickListKeyDownHandler=function(t){if(t.key===" "){t.preventDefault();if(a.disableDeselect&&a.selected||a.nonInteractive){return}a.selected=!a.selected}};this.removeClickHandler=function(){a.calciteListItemRemove.emit()}}t.prototype.descriptionWatchHandler=function(){this.calciteInternalListItemPropsChange.emit()};t.prototype.labelWatchHandler=function(){this.calciteInternalListItemPropsChange.emit()};t.prototype.metadataWatchHandler=function(){this.calciteInternalListItemPropsChange.emit()};t.prototype.selectedWatchHandler=function(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed});this.shiftPressed=false};t.prototype.valueWatchHandler=function(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})};t.prototype.connectedCallback=function(){V(this)};t.prototype.disconnectedCallback=function(){A(this)};t.prototype.componentDidRender=function(){F(this,this.el.closest("calcite-pick-list")?"managed":false)};t.prototype.toggleSelected=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.selected=typeof t==="boolean"?t:!this.selected;return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.focusEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.renderIcon=function(){var t;var e=this.icon;if(!e){return null}return a("span",{class:(t={},t[H.icon]=true,t[H.iconDot]=e===x.circle,t),onClick:this.pickListClickHandler},e===x.square?a("calcite-icon",{icon:L.checked,scale:"s"}):null)};t.prototype.renderRemoveAction=function(){return this.removable?a("calcite-action",{class:H.remove,icon:L.remove,onCalciteActionClick:this.removeClickHandler,slot:j.actionsEnd,text:this.intlRemove}):null};t.prototype.renderActionsStart=function(){var t;var e=this.el;var i=S(e,j.actionsStart);return i?a("div",{class:(t={},t[H.actions]=true,t[H.actionsStart]=true,t)},a("slot",{name:j.actionsStart})):null};t.prototype.renderActionsEnd=function(){var t;var e=this,i=e.el,n=e.removable;var r=S(i,j.actionsEnd);return r||n?a("div",{class:(t={},t[H.actions]=true,t[H.actionsEnd]=true,t)},a("slot",{name:j.actionsEnd}),this.renderRemoveAction()):null};t.prototype.render=function(){var t=this;var e=this,i=e.description,n=e.label;return a(r,null,this.renderIcon(),this.renderActionsStart(),a("label",{"aria-label":n,class:H.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,ref:function(e){return t.focusEl=e},tabIndex:0},a("div",{"aria-checked":E(this.selected),class:H.textContainer,role:"menuitemcheckbox"},a("span",{class:H.title},n),i?a("span",{class:H.description},i):null)),this.renderActionsEnd())};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"]}},enumerable:false,configurable:true});return t}());G.style=q}}}));
@@ -0,0 +1,6 @@
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.557
5
+ */
6
+ import{r as i,c as t,h as a,g as e,H as n}from"./p-967ab5ce.js";import{d as c,g as o,a as r,t as s}from"./p-3f0a88a5.js";import{c as l,d}from"./p-a562f13f.js";import{C as m}from"./p-e664273e.js";import"./p-c8ba1f6a.js";import"./p-f92ce833.js";const h=class{constructor(a){i(this,a),this.calciteInternalAccordionChange=t(this,"calciteInternalAccordionChange",6),this.appearance="default",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multi",this.items=[],this.sorted=!1,this.sortItems=i=>i.sort(((i,t)=>i.position-t.position)).map((i=>i.item))}componentDidLoad(){this.sorted||(this.items=this.sortItems(this.items),this.sorted=!0)}render(){return a("div",{class:{"accordion--transparent":"transparent"===this.appearance,"accordion--minimal":"minimal"===this.appearance,accordion:"default"===this.appearance}},a("slot",null))}calciteInternalAccordionItemKeyEvent(i){const t=i.detail.item;if(this.el===i.detail.parent){const{key:a}=t,e=i.target,n=0===this.itemIndex(e),c=this.itemIndex(e)===this.items.length-1;switch(a){case"ArrowDown":c?this.focusFirstItem():this.focusNextItem(e);break;case"ArrowUp":n?this.focusLastItem():this.focusPrevItem(e);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}}i.stopPropagation()}registerCalciteAccordionItem(i){const t={item:i.target,parent:i.detail.parent,position:i.detail.position};this.el===t.parent&&this.items.push(t),i.stopPropagation()}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem}),i.stopPropagation()}focusFirstItem(){this.focusElement(this.items[0])}focusLastItem(){this.focusElement(this.items[this.items.length-1])}focusNextItem(i){const t=this.itemIndex(i);this.focusElement(this.items[t+1]||this.items[0])}focusPrevItem(i){const t=this.itemIndex(i);this.focusElement(this.items[t-1]||this.items[this.items.length-1])}itemIndex(i){return this.items.indexOf(i)}focusElement(i){null==i||i.focus()}get el(){return e(this)}};h.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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";const p=class{constructor(a){i(this,a),this.calciteInternalAccordionItemKeyEvent=t(this,"calciteInternalAccordionItemKeyEvent",6),this.calciteInternalAccordionItemSelect=t(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=t(this,"calciteInternalAccordionItemClose",6),this.calciteInternalAccordionItemRegister=t(this,"calciteInternalAccordionItemRegister",6),this.active=!1,this.expanded=!1,this.iconPosition="end",this.itemHeaderClickHandler=()=>this.emitRequestedItem()}activeHandler(i){this.expanded=i}expandedHandler(i){this.active=i}connectedCallback(){this.parent=this.el.parentElement,this.selectionMode=c(this.el,"selection-mode","multi"),this.iconType=c(this.el,"icon-type","chevron"),this.iconPosition=c(this.el,"icon-position",this.iconPosition);const i=this.active||this.expanded;i&&(this.activeHandler(i),this.expandedHandler(i)),l(this)}componentDidLoad(){this.itemPosition=this.getItemPosition(),this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})}disconnectedCallback(){d(this)}renderActionsStart(){const{el:i}=this;return o(i,"actions-start")?a("div",{class:"actions-start"},a("slot",{name:"actions-start"})):null}renderActionsEnd(){const{el:i}=this;return o(i,"actions-end")?a("div",{class:"actions-end"},a("slot",{name:"actions-end"})):null}render(){const i=r(this.el),t=a("calcite-icon",{class:"icon",icon:this.icon,scale:"s"});return a(n,null,a("div",{class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},a("div",{class:{header:!0,[m.rtl]:"rtl"===i}},this.renderActionsStart(),a("div",{"aria-expanded":s(this.active||this.expanded),class:"header-content",onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},this.icon?t:null,a("div",{class:"header-text"},a("span",{class:"heading"},this.heading||this.itemTitle),this.itemSubtitle||this.description?a("span",{class:"description"},this.description||this.itemSubtitle):null),a("calcite-icon",{class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded||this.active?"minus":"plus",scale:"s"})),this.renderActionsEnd()),a("div",{class:"content"},a("slot",null))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteInternalAccordionItemKeyEvent.emit({parent:this.parent,item:i}),i.preventDefault()}}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.el.parentNode===this.requestedAccordionItem.parentNode&&(this.determineActiveItem(),i.stopPropagation())}determineActiveItem(){switch(this.selectionMode){case"multi":this.el===this.requestedAccordionItem&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===this.requestedAccordionItem&&!this.expanded;break;case"single-persist":this.expanded=this.el===this.requestedAccordionItem}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}getItemPosition(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)}get el(){return e(this)}static get watchers(){return{active:["activeHandler"],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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;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-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{-webkit-border-after:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2));border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .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 .content{display:none;-webkit-padding-before:0px;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-block:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .heading,:host .description{display:-ms-flexbox;display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{-webkit-margin-before:0.25rem;margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{-ms-flex-positive:1;flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (forced-colors: active){:host([expanded]) .header{-webkit-border-after:none;border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}";export{h as calcite_accordion,p as calcite_accordion_item}
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,n,i,e){function a(t){return t instanceof i?t:new i((function(n){n(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{l(e.next(t))}catch(t){o(t)}}function s(t){try{l(e["throw"](t))}catch(t){o(t)}}function l(t){t.done?i(t.value):a(t.value).then(r,s)}l((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,a,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(n){return l([t,n])}}function l(r){if(e)throw new TypeError("Generator is already executing.");while(i)try{if(e=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=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++;a=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=n.call(t,i)}catch(t){r=[6,t];a=0}finally{e=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.557
6
+ */System.register(["./p-bd29bacb.system.js","./p-089c4e7a.system.js","./p-995ea165.system.js","./p-8eeb2705.system.js","./p-c80f7567.system.js"],(function(t){"use strict";var n,i,e,a,o,r,s,l;return{setters:[function(t){n=t.r;i=t.h;e=t.H;a=t.g},function(t){o=t.a;r=t.f},function(t){s=t.C},function(t){l=t.u},function(){}],execute:function(){var c="@-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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}: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{display:inline}:host a,:host span{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0px;border-style:none;font-family:inherit;-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;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:text-top;-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-before:0.125rem;margin-block-start:0.125rem}:host .calcite-link--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host .calcite-link--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0px;color:var(--calcite-ui-text-link);-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;line-height:inherit;white-space:initial;background-image:-webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)), -webkit-gradient(linear, left top, left bottom, from(var(--calcite-link-blue-underline)), to(var(--calcite-link-blue-underline)));background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-link-blue-underline), var(--calcite-link-blue-underline));background-position:0% 100%, 100% 100%;background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%, 100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var u=t("calcite_link",function(){function t(t){var i=this;n(this,t);this.disabled=false;this.download=false;this.storeTagRef=function(t){i.childEl=t}}t.prototype.componentDidRender=function(){l(this)};t.prototype.render=function(){var t;var n=this,a=n.download,r=n.el;var l=o(r);var c=this.href?"a":"span";var u=i("calcite-icon",{class:"calcite-link--icon icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var f=i("calcite-icon",{class:"calcite-link--icon icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});var m=c;var p=c==="span"?"link":null;var d=c==="span"?0:null;return i(e,{role:"presentation"},i(m,{class:(t={},t[s.rtl]=l==="rtl",t),download:m==="a"&&(a===""||a)?a:null,href:m==="a"&&this.href,ref:this.storeTagRef,rel:m==="a"&&this.rel,role:p,tabIndex:d,target:m==="a"&&this.target},this.iconStart?u:null,i("slot",null),this.iconEnd?f:null))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){r(this.childEl);return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());u.style=c}}}));
@@ -0,0 +1,6 @@
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.557
5
+ */
6
+ import{r as t,h as e,g as a}from"./p-967ab5ce.js";import{c as o}from"./p-3f0a88a5.js";import{c as n,d as r,g as i}from"./p-1bdc083e.js";import{c}from"./p-f92ce833.js";import{u as l}from"./p-bc9318f3.js";import{s,r as p}from"./p-500e5bfd.js";import"./p-e664273e.js";import"./p-c8ba1f6a.js";!function(t){function e(t,e,a){throw new t("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+e+".",a)}"function"!=typeof t.requestSubmit&&(t.requestSubmit=function(t){t?(function(t,a){t instanceof HTMLElement||e(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==t.type||e(TypeError,"The specified element is not a submit button"),t.form==a||e(DOMException,"The specified element is not owned by this form element","NotFoundError")}(t,this),t.click()):((t=document.createElement("input")).type="submit",t.hidden=!0,this.appendChild(t),t.click(),this.removeChild(t))})}(HTMLFormElement.prototype);const u=class{constructor(e){t(this,e),this.alignment="center",this.appearance="solid",this.color="blue",this.disabled=!1,this.intlLoading="Loading",this.loading=!1,this.round=!1,this.scale="m",this.splitChild=!1,this.type="button",this.width="auto",this.mutationObserver=c("mutation",(()=>this.updateHasContent())),this.hasContent=!1,this.hasLoader=!1,this.handleClick=()=>{const{type:t}=this;this.href||("submit"===t?s(this):"reset"===t&&p(this))}}loadingChanged(t,e){t&&!e&&(this.hasLoader=!0),!t&&e&&window.setTimeout((()=>{this.hasLoader=!1}),300)}connectedCallback(){this.hasLoader=this.loading,this.setupTextContentObserver(),n(this),this.formEl=o(this.el,this.form?`#${this.form}`:"form")}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),r(this),this.formEl=null}componentWillLoad(){this.updateHasContent()}componentDidRender(){l(this)}render(){const t=this.href?"a":"button",a=t,o=this.hasLoader?e("div",{class:"calcite-button--loader"},e("calcite-loader",{active:!0,class:this.loading?"loading-in":"loading-out",inline:!0,label:this.intlLoading,scale:"m"})):null,n=e("calcite-icon",{class:{icon:!0,"icon--start":!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),r=e("calcite-icon",{class:{icon:!0,"icon--end":!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"}),c=e("span",{class:"content"},e("slot",null));return e(a,{"aria-label":i(this),class:{"content--slotted":this.hasContent,"icon-start-empty":!this.iconStart,"icon-end-empty":!this.iconEnd},disabled:this.disabled||this.loading,href:"a"===t&&this.href,name:"button"===t&&this.name,onClick:this.handleClick,ref:t=>this.childEl=t,rel:"a"===t&&this.rel,tabIndex:this.disabled||this.loading?-1:null,target:"a"===t&&this.target,type:"button"===t&&this.type},o,this.iconStart?n:null,this.hasContent?c:null,this.iconEnd?r:null)}async setFocus(){var t;null===(t=this.childEl)||void 0===t||t.focus()}updateHasContent(){var t,e;const a=this.el.textContent.trim().length>0||this.el.childNodes.length>0;this.hasContent=1===this.el.childNodes.length&&"#text"===(null===(t=this.el.childNodes[0])||void 0===t?void 0:t.nodeName)?(null===(e=this.el.textContent)||void 0===e?void 0:e.trim().length)>0:a}setupTextContentObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}onLabelClick(){this.handleClick(),this.setFocus()}get el(){return a(this)}static get watchers(){return{loading:["loadingChanged"]}}};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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}: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{display:inline-block;inline-size:auto;vertical-align:middle}:host([round]){border-radius:50px}:host([round]) a,:host([round]) button{border-radius:50px}:host button,:host a{outline-color:transparent}:host button:focus,:host a:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host button,:host a{--calcite-button-content-margin:0.5rem;--calcite-button-padding-x:7px;--calcite-button-padding-y:3px;padding-block:var(--calcite-button-padding-y);padding-inline:var(--calcite-button-padding-x);position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out}:host button:hover,:host a:hover{-webkit-text-decoration-line:none;text-decoration-line:none}.content{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:auto;flex-basis:auto;margin-inline:var(--calcite-button-content-margin)}.icon-start-empty .content{-webkit-margin-start:unset;margin-inline-start:unset}.icon-end-empty .content{-webkit-margin-end:unset;margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-content-margin:0.75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-button-content-margin:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{-ms-flex-pack:center;justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{-ms-flex-pack:start;justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{-ms-flex-pack:justify;justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{-webkit-margin-end:auto;margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{-webkit-margin-start:auto;margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{-webkit-margin-start:var(--calcite-button-content-margin);margin-inline-start:var(--calcite-button-content-margin)}.icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([loading]){pointer-events:none}:host([loading]) button,:host([loading]) a{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}@-webkit-keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}.calcite-button--loader{display:-ms-flexbox;display:flex}.calcite-button--loader calcite-loader{margin:0px;-webkit-transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out}.calcite-button--loader calcite-loader.loading-in{-webkit-animation-name:loader-in;animation-name:loader-in;-webkit-animation-duration:310ms;animation-duration:310ms}.calcite-button--loader calcite-loader.loading-out{-webkit-animation-name:loader-out;animation-name:loader-out;-webkit-animation-duration:310ms;animation-duration:310ms}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{-webkit-margin-end:var(--calcite-button-content-margin);margin-inline-end:var(--calcite-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance=solid]) button,:host([appearance=solid]) a{border-width:1px;border-style:solid;border-color:transparent}:host([appearance=solid][color=blue]) button,:host([appearance=solid][color=blue]) a{background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=blue]) button:hover,:host([appearance=solid][color=blue]) button:focus,:host([appearance=solid][color=blue]) a:hover,:host([appearance=solid][color=blue]) a:focus{background-color:var(--calcite-ui-brand-hover)}:host([appearance=solid][color=blue]) button:active,:host([appearance=solid][color=blue]) a:active{background-color:var(--calcite-ui-brand-press)}:host([appearance=solid][color=blue]) button calcite-loader,:host([appearance=solid][color=blue]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=red]) button,:host([appearance=solid][color=red]) a{background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=red]) button:hover,:host([appearance=solid][color=red]) button:focus,:host([appearance=solid][color=red]) a:hover,:host([appearance=solid][color=red]) a:focus{background-color:var(--calcite-ui-danger-hover)}:host([appearance=solid][color=red]) button:active,:host([appearance=solid][color=red]) a:active{background-color:var(--calcite-ui-danger-press)}:host([appearance=solid][color=red]) button calcite-loader,:host([appearance=solid][color=red]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=neutral]) button,:host([appearance=solid][color=neutral]) a{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}:host([appearance=solid][color=neutral]) button:hover,:host([appearance=solid][color=neutral]) button:focus,:host([appearance=solid][color=neutral]) a:hover,:host([appearance=solid][color=neutral]) a:focus{background-color:var(--calcite-ui-foreground-2)}:host([appearance=solid][color=neutral]) button:active,:host([appearance=solid][color=neutral]) a:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=solid][color=neutral]) button calcite-loader,:host([appearance=solid][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=solid][color=inverse]) button,:host([appearance=solid][color=inverse]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}:host([appearance=solid][color=inverse]) button:hover,:host([appearance=solid][color=inverse]) button:focus,:host([appearance=solid][color=inverse]) a:hover,:host([appearance=solid][color=inverse]) a:focus{background-color:var(--calcite-ui-inverse-hover)}:host([appearance=solid][color=inverse]) button:active,:host([appearance=solid][color=inverse]) a:active{background-color:var(--calcite-ui-inverse-press)}:host([appearance=solid][color=inverse]) button calcite-loader,:host([appearance=solid][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline][color=blue]) button,:host([appearance=outline][color=blue]) a{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:hover,:host([appearance=outline][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);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)}:host([appearance=outline][color=blue]) button:focus,:host([appearance=outline][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:active,:host([appearance=outline][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=outline][color=blue]) button calcite-loader,:host([appearance=outline][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=outline][color=red]) button,:host([appearance=outline][color=red]) a{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:hover,:host([appearance=outline][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=outline][color=red]) button:focus,:host([appearance=outline][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:active,:host([appearance=outline][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=outline][color=red]) button calcite-loader,:host([appearance=outline][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=outline][color=neutral]) button,:host([appearance=outline][color=neutral]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:hover,:host([appearance=outline][color=neutral]) a:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:focus,:host([appearance=outline][color=neutral]) a:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:active,:host([appearance=outline][color=neutral]) a:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button calcite-loader,:host([appearance=outline][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][color=inverse]) button,:host([appearance=outline][color=inverse]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:hover,:host([appearance=outline][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=outline][color=inverse]) button:focus,:host([appearance=outline][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:active,:host([appearance=outline][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=outline][color=inverse]) button calcite-loader,:host([appearance=outline][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear]) button,:host([appearance=clear]) a{border-width:1px;border-style:solid;background-color:transparent;-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=clear][color=blue]) button,:host([appearance=clear][color=blue]) a{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:hover,:host([appearance=clear][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);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)}:host([appearance=clear][color=blue]) button:focus,:host([appearance=clear][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:active,:host([appearance=clear][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=clear][color=blue]) button calcite-loader,:host([appearance=clear][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=clear][color=red]) button,:host([appearance=clear][color=red]) a{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:hover,:host([appearance=clear][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=clear][color=red]) button:focus,:host([appearance=clear][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:active,:host([appearance=clear][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=clear][color=red]) button calcite-loader,:host([appearance=clear][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=clear][color=neutral]) button,:host([appearance=clear][color=neutral]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:hover,:host([appearance=clear][color=neutral]) a:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:focus,:host([appearance=clear][color=neutral]) a:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:active,:host([appearance=clear][color=neutral]) a:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button calcite-loader,:host([appearance=clear][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear][color=inverse]) button,:host([appearance=clear][color=inverse]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:hover,:host([appearance=clear][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=clear][color=inverse]) button:focus,:host([appearance=clear][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:active,:host([appearance=clear][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=clear][color=inverse]) button calcite-loader,:host([appearance=clear][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][split-child=primary]) button,:host([appearance=clear][split-child=primary]) button{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline][split-child=secondary]) button,:host([appearance=clear][split-child=secondary]) button{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:transparent}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) button:focus,:host([appearance=transparent]:not(.enable-editing-button)) a:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:focus{background-color:var(--calcite-button-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-button-transparent-press)}:host([appearance=transparent][color=blue]) button,:host([appearance=transparent][color=blue]) a{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:hover,:host([appearance=transparent][color=blue]) a:hover{color:var(--calcite-ui-brand-hover)}:host([appearance=transparent][color=blue]) button:focus,:host([appearance=transparent][color=blue]) a:focus{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:active,:host([appearance=transparent][color=blue]) a:active{color:var(--calcite-ui-brand-press)}:host([appearance=transparent][color=blue]) button calcite-loader,:host([appearance=transparent][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=red]) button,:host([appearance=transparent][color=red]) a{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:hover,:host([appearance=transparent][color=red]) a:hover{color:var(--calcite-ui-danger-hover)}:host([appearance=transparent][color=red]) button:focus,:host([appearance=transparent][color=red]) a:focus{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:active,:host([appearance=transparent][color=red]) a:active{color:var(--calcite-ui-danger-press)}:host([appearance=transparent][color=red]) button calcite-loader,:host([appearance=transparent][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].cancel-editing-button) button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-ui-text-3);border-block-start-color:var(--calcite-ui-border-input);border-block-end-color:var(--calcite-ui-border-input);border-block-style:solid}:host([appearance=transparent][color=neutral].cancel-editing-button) button:not(.content--slotted){--calcite-button-padding-y:0}:host([appearance=transparent][color=neutral].cancel-editing-button) button:hover{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].enable-editing-button) button{background-color:transparent}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][color=inverse]) button,:host([appearance=transparent][color=inverse]) a,:host([appearance=transparent][color=inverse]) calcite-loader{color:var(--calcite-ui-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.5rem;--calcite-button-padding-y:0.25rem}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-button-padding-x:11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]:not([appearance=transparent])) button.content--slotted,:host([scale=m]:not([appearance=transparent])) a.content--slotted{--calcite-button-padding-y:7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.75rem;--calcite-button-padding-y:0.5rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-button-padding-x:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]:not([appearance=transparent])) button.content--slotted,:host([scale=l]:not([appearance=transparent])) a.content--slotted{--calcite-button-padding-y:11px}:host([scale=l][appearance=transparent]) button.content--slotted,:host([scale=l][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:1rem;--calcite-button-padding-y:0.75rem}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=s][appearance=transparent]) button:not(.content--slotted),:host([scale=s][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.25rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=m][appearance=transparent]) button:not(.content--slotted),:host([scale=m][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.5rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{-webkit-margin-start:1rem;margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:2.75rem}";export{u as calcite_button}
@@ -0,0 +1,6 @@
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.557
5
+ */
6
+ import{r as t,c as i,h as e,H as a,g as n}from"./p-967ab5ce.js";import{g as s,s as o,d as r,a as l}from"./p-3f0a88a5.js";import{c,d as h,g as d}from"./p-1bdc083e.js";import{s as u,c as m,d as p,H as b}from"./p-500e5bfd.js";import{T as f,C as x}from"./p-e664273e.js";import{c as g}from"./p-f92ce833.js";import{u as v}from"./p-bc9318f3.js";import"./p-c8ba1f6a.js";const k=class{constructor(e){t(this,e),this.calciteInternalInputTextFocus=i(this,"calciteInternalInputTextFocus",7),this.calciteInternalInputTextBlur=i(this,"calciteInternalInputTextBlur",7),this.calciteInputTextInput=i(this,"calciteInputTextInput",7),this.calciteInputTextChange=i(this,"calciteInputTextChange",7),this.alignment="start",this.autofocus=!1,this.clearable=!1,this.disabled=!1,this.hidden=!1,this.intlLoading=f.loading,this.iconFlipRtl=!1,this.loading=!1,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.editingEnabled=!1,this.value="",this.previousValueOrigin="initial",this.mutationObserver=g("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=t=>{this.readOnly||this.disabled||(this.isClearable&&"Escape"===t.key&&(this.clearInputTextValue(t),t.preventDefault()),"Enter"!==t.key||t.defaultPrevented||u(this))},this.clearInputTextValue=t=>{this.setValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedValue&&this.calciteInputTextChange.emit(),this.previousEmittedValue=this.value},this.inputTextBlurHandler=()=>{this.calciteInternalInputTextBlur.emit({element:this.childEl,value:this.value}),this.emitChangeIfUserModified()},this.inputTextFocusHandler=t=>{const i=s(this.el,"action");t.target!==i&&this.setFocus(),this.calciteInternalInputTextFocus.emit({element:this.childEl,value:this.value})},this.inputTextInputHandler=t=>{this.disabled||this.readOnly||this.setValue({nativeEvent:t,origin:"user",value:t.target.value})},this.inputTextKeyDownHandler=t=>{this.disabled||this.readOnly||"Enter"===t.key&&this.emitChangeIfUserModified()},this.setChildElRef=t=>{this.childEl=t},this.setInputValue=t=>{this.childEl&&(this.childEl.value=t)},this.setPreviousEmittedValue=t=>{this.previousEmittedValue=t},this.setPreviousValue=t=>{this.previousValue=t},this.setValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:a,value:n})=>{this.setPreviousValue(a||this.value),this.previousValueOrigin=e,this.userChangedValue="user"===e&&n!==this.value,this.value=n,"direct"===e&&this.setInputValue(n),i&&(this.calciteInputTextInput.emit({element:this.childEl,nativeEvent:i,value:this.value}).defaultPrevented?this.value=this.previousValue:t&&this.emitChangeIfUserModified())}}disabledWatcher(){this.setDisabledAction()}valueWatcher(t,i){this.userChangedValue||this.setValue({origin:"direct",previousValue:i,value:t||""}),this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=o({},this.icon,"text")}get isClearable(){return this.clearable&&this.value.length>0}connectedCallback(){var t;this.scale=r(this.el,"scale",this.scale),this.status=r(this.el,"status",this.status),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value),c(this),m(this),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.setDisabledAction()}disconnectedCallback(){var t;h(this),p(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect()}componentWillLoad(){this.requestedIcon=o({},this.icon,"text")}componentDidRender(){v(this)}async setFocus(){var t;null===(t=this.childEl)||void 0===t||t.focus()}async selectText(){var t;null===(t=this.childEl)||void 0===t||t.select()}onLabelClick(){this.setFocus()}onFormReset(){this.setValue({origin:"reset",value:this.defaultValue})}syncHiddenFormInput(t){null!=this.minLength&&(t.minLength=this.minLength),null!=this.maxLength&&(t.maxLength=this.maxLength)}setDisabledAction(){const t=s(this.el,"action");t&&(this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled"))}render(){const t=l(this.el),i=e("div",{class:"loader"},e("calcite-progress",{label:this.intlLoading,type:"indeterminate"})),n=e("button",{"aria-label":this.intlClear||"Clear value",class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputTextValue,tabIndex:this.disabled?-1:0,type:"button"},e("calcite-icon",{icon:"x",scale:"s"})),s=e("calcite-icon",{class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"s"}),o=e("div",{class:"prefix"},this.prefixText),r=e("div",{class:"suffix"},this.suffixText),c=e("input",{"aria-label":d(this),autofocus:!!this.autofocus||null,class:{"editing-enabled":this.editingEnabled,"inline-child":!!this.inlineEditableEl},defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.el.enterKeyHint,inputMode:this.el.inputMode,maxLength:this.maxLength,minLength:this.minLength,name:this.name,onBlur:this.inputTextBlurHandler,onFocus:this.inputTextFocusHandler,onInput:this.inputTextInputHandler,onKeyDown:this.inputTextKeyDownHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,ref:this.setChildElRef,required:!!this.required||null,tabIndex:this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null,type:"text",value:this.value});return e(a,{onClick:this.inputTextFocusHandler,onKeyDown:this.keyDownHandler},e("div",{class:{wrapper:!0,[x.rtl]:"rtl"===t}},this.prefixText?o:null,e("div",{class:"element-wrapper"},c,this.isClearable?n:null,this.requestedIcon?s:null,this.loading?i:null),e("div",{class:"action-wrapper"},e("slot",{name:"action"})),this.suffixText?r:null,e(b,{component:this})))}get el(){return n(this)}static get watchers(){return{disabled:["disabledWatcher"],value:["valueWatcher"],icon:["updateRequestedIcon"]}}};k.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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}: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{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}input{-webkit-transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;-ms-flex:1 1 0%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}:host input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}input{outline-color:transparent}input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3rem;padding-inline-start:3rem}.element-wrapper{position:relative;-ms-flex-order:3;order:3;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center}.icon{pointer-events:none;position:absolute;display:block;-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}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}.clear-button{pointer-events:initial;-ms-flex-order:4;order:4;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;min-block-size:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-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}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-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}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}.prefix,.suffix{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{-ms-flex-order:2;order:2;border-inline-end-width:0px}.suffix{-ms-flex-order:5;order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.resize-icon-wrapper{inset-block-end:2px;inset-inline-end:2px;pointer-events:none;position:absolute;block-size:0.75rem;inline-size:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{inset-block-end:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-ui-border-1)}.inline-child{background-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}.inline-child .editing-enabled{background-color:inherit}.inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::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{k as calcite_input_text}
@@ -2,5 +2,5 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t)
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.556
6
- */System.register(["./p-9b3f7af5.system.js"],(function(t){"use strict";var e;return{setters:[function(t){e=t.a}],execute:function(){var r=this;t({a:kt,c:Et,f:Pt,p:Ot});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,S,H,W;var C,j;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;C={};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,[(C.element=T,C.boundary=d,C.rootBoundary=p,C.strategy=s,C)])];case 6:R=P.apply(void 0,[M.sent()]);D=c;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,9];W=(H=a).convertOffsetParentRelativeRectToViewportRelativeRect;j={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(H,[(j.offsetParent=M.sent(),j.strategy=s,j)])];case 8:S=M.sent();return[3,10];case 9:S=o[g];M.label=10;case 10:k=D.apply(void 0,[S]);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,S,H,W,C;var j,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;S=h(E,D,k);H=_==="start"?g[x]:g[A];W=H>0&&D!==S&&v.reference[w]<=v.floating[w];C=W?D<E?E-D:k-D:0;return[2,(j={},j[y]=m[y]-C,j.data=(M={},M[y]=S,M.centerOffset=D-S,M),j)]}}))}))}}};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,S,H,W,C,j,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,{}]}H=_;W=[E,u];return[4,p.isRTL==null?void 0:p.isRTL(h.floating)];case 2:k=H.apply(void 0,W.concat([B.sent()])),D=k.main,S=k.cross;if(v!==E){return[2,{x:s,y:f,reset:{placement:L[0]}}]}C=[O[n(E)],O[D],O[S]];j=__spreadArray(__spreadArray([],(a=(o=c.autoPlacement)==null?void 0:o.overflows)!=null?a:[],true),[{placement:E,overflows:C}],false);M=L[T+1];if(M){return[2,{data:{index:T+1,overflows:j},reset:{placement:M}}]}F=j.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:j},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,S,H,W,C,j,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=_;C=[i,o];return[4,s.isRTL==null?void 0:s.isRTL(f.floating)];case 2:D=W.apply(void 0,C.concat([I.sent()])),S=D.main,H=D.cross;E.push(T[S],T[H]);I.label=3;case 3:k=__spreadArray(__spreadArray([],k,true),[{placement:i,overflows:E}],false);if(!E.every((function(t){return t<=0}))){F=((j=(M=a.flip)==null?void 0:M.index)!=null?j: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 S=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 H(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));_=H(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 C(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function j(t){if(t==null){return window}if(!C(t)){var e=t.ownerDocument;return e?e.defaultView||window:window}return t}function M(t){return j(t).getComputedStyle(t)}function F(t){return C(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 j(t).HTMLElement}function B(t){return t instanceof j(t).Element}function z(t){return t instanceof j(t).Node}function I(t){if(typeof ShadowRoot==="undefined"){return false}var e=j(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)?j(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)||getComputedStyle(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{e=e.parentNode}}return null}function ot(t){var e=j(t);var r=it(t);while(r&&Y(r)&&getComputedStyle(r).position==="static"){r=it(r)}if(r&&(F(r)==="html"||F(r)==="body"&&getComputedStyle(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=j(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=j(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=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"];var xt=t("d","bottom-start");var At=t("F",{animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"});function Rt(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:["top-start","top","top-end","bottom-start","bottom","bottom-end"]})],false)}if(l==="popover"||l==="tooltip"){var f=__spreadArray(__spreadArray([],s,true),[S({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 Pt(t,e){var r=t.filter((function(t){return bt.includes(t)}));if(r.length!==t.length){console.warn("".concat(e.tagName,": Invalid value found in: flipPlacements. Try any of these: ").concat(bt.map((function(t){return'"'.concat(t,'"')})).join(", ").trim()),{el:e})}return r}function Lt(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 Ot(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:Lt(r,a),middleware:Rt({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 Tt=new WeakMap;function Et(t,e,r){if(!r||!e){return}kt(t,e,r);Tt.set(t,_t(e,r,(function(){if(t.open){t.reposition()}})))}function kt(t,e,r){if(!r||!e){return}var n=Tt.get(t);if(n){n()}Tt.delete(t)}var Dt=4;var St=t("b",Math.ceil(Math.hypot(Dt,Dt)))}}}));
5
+ * v1.0.0-next.557
6
+ */System.register(["./p-089c4e7a.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 at(t)}function at(t){var e=t.offsetParent;var r=t;var n=false;while(r&&r!==e){var i=r.assignedSlot;if(i){var a=i.offsetParent;if(M(i).display==="contents"){var o=i.hasAttribute("style");var l=i.style.display;i.style.display=M(r).display;a=i.offsetParent;i.style.display=l;if(!o){i.removeAttribute("style")}}r=i;if(e!==a){e=a;n=true}}else if(I(r)&&r.host&&n){break}r=I(r)&&r.host||r.parentNode}return e}function ot(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 lt(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||ot(t)||e}function st(t){if(V(t)){return{width:t.offsetWidth,height:t.offsetHeight}}var e=U(t);return{width:e.width,height:e.height}}function ft(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 ut(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 ct(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 dt(t){var e=nt(t);if(["html","body","#document"].includes(F(e))){return t.ownerDocument.body}if(V(e)&&X(e)){return e}return dt(e)}function vt(t,e){var r;if(e===void 0){e=[]}var n=dt(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(vt(o))}function pt(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 ht(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 gt(t,e,r){if(e==="viewport"){return c(ut(t,r))}if(B(e)){return ht(e,r)}return c(ct(Z(t)))}function mt(t){var e=vt(t);var r=["absolute","fixed"].includes(M(t).position);var n=r&&V(t)?lt(t):t;if(!B(n)){return[]}return e.filter((function(t){return B(t)&&pt(t,n)&&F(t)!=="body"}))}function yt(t){var e=t.element,r=t.boundary,n=t.rootBoundary,i=t.strategy;var a=r==="clippingAncestors"?mt(e):[].concat(r);var o=__spreadArray(__spreadArray([],a,true),[n],false);var l=o[0];var s=o.reduce((function(t,r){var n=gt(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}),gt(e,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}var _t={getClippingRect:yt,convertOffsetParentRelativeRectToViewportRelativeRect:ft,isElement:B,getDimensions:st,getOffsetParent:lt,getDocumentElement:Z,getElementRects:function(t){var e=t.reference,r=t.floating,n=t.strategy;return{reference:rt(e,lt(r),n),floating:__assign(__assign({},st(r)),{x:0,y:0})}},getClientRects:function(t){return Array.from(t.getClientRects())},isRTL:function(t){return M(t).direction==="rtl"}};function wt(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)?vt(t):[],true),vt(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 bt=function(t,e,r){return s(t,e,__assign({platform:_t},r))};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:["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,bt(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,wt(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 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.556
4
+ * v1.0.0-next.557
5
5
  */
6
6
  System.register([],(function(e){"use strict";return{execute:function(){e("u",i);function t(){}function i(e,i){if(i===void 0){i=false}if(e.disabled){e.el.setAttribute("tabindex","-1");e.el.setAttribute("aria-disabled","true");if(e.el.contains(document.activeElement)){document.activeElement.blur()}e.el.click=t;return}e.el.click=HTMLElement.prototype.click;if(typeof i==="function"){e.el.setAttribute("tabindex",i.call(e)?"0":"-1")}else if(i===true){e.el.setAttribute("tabindex","0")}else if(i===false){e.el.removeAttribute("tabindex")}else;e.el.removeAttribute("aria-disabled")}}}}));
@@ -0,0 +1,6 @@
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.557
5
+ */
6
+ import{r as t,c as e,f as i,h as a,H as n,g as r}from"./p-967ab5ce.js";import{b as o,f as s,c as l,a as c,p as m,F as d}from"./p-d6ad752f.js";import{g as f}from"./p-c8ba1f6a.js";import{t as p,q as h}from"./p-3f0a88a5.js";import{c as b,d as w}from"./p-a0e5b18f.js";import{H as u}from"./p-473cdc07.js";import{i as k}from"./p-267cfd6f.js";import{c as y}from"./p-f92ce833.js";import"./p-e664273e.js";const x=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?Array.from(this.registeredElements.values()).filter((t=>t.autoClose&&t.open&&!e.includes(t))).forEach((t=>t.toggle(!1))):i.toggle()},this.keyHandler=t=>{k(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})}},v=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-${f()}`,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t,b(this)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?s(e,t):null},this.setUpReferenceElement=()=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),l(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:e,effectiveReferenceElement:i}=this;e&&!i&&console.warn(`${t.tagName}: reference-element id "${e}" was not found.`,{el:t}),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",p(e))},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();"setAttribute"in t&&t.setAttribute("aria-controls",e),x.registerElement(t,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&(t.removeAttribute("aria-controls"),t.removeAttribute("aria-expanded")),x.unregisterElement(t))},this.hide=()=>{this.open=!1},this.storeArrowEl=t=>{this.arrowEl=t,this.reposition()}}handleDismissible(t){this.closable=t}handleClosable(t){this.dismissible=t}flipPlacementsHandler(){this.setFilteredPlacements()}offsetDistanceOffsetHandler(){this.reposition()}offsetSkiddingHandler(){this.reposition()}openHandler(){this.reposition(),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition()}placementHandler(){this.reposition()}referenceElementHandler(){this.setUpReferenceElement(),this.reposition()}connectedCallback(){l(this,this.effectiveReferenceElement,this.el),this.setFilteredPlacements(),b(this),this.dismissible&&this.handleDismissible(this.dismissible),this.closable&&this.handleClosable(this.closable)}componentWillLoad(){this.setUpReferenceElement()}componentDidLoad(){this.reposition()}disconnectedCallback(){this.removeReferences(),c(this,this.effectiveReferenceElement,this.el),w(this)}async reposition(){const{el:t,effectiveReferenceElement:e,placement:i,overlayPositioning:a,disableFlip:n,flipPlacements: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?h(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(u,{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":p(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"]}}};v.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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}: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 g=class{constructor(e){t(this,e),this.mutationObserver=y("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"]}}};g.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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:relative;display:block}";export{v as calcite_popover,g as calcite_popover_manager}