@esri/calcite-components 1.0.0-beta.84 → 1.0.0-beta.87

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 (1074) hide show
  1. package/dist/calcite/calcite.css +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.js +1 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/p-00b8ff95.system.entry.js +6 -0
  6. package/dist/calcite/p-01225516.entry.js +6 -0
  7. package/dist/calcite/p-017caeef.entry.js +6 -0
  8. package/dist/calcite/{p-2bf5b9b6.js → p-0296d6e5.js} +2 -2
  9. package/dist/calcite/{p-82e24e64.system.js → p-031fe642.system.js} +1 -1
  10. package/dist/calcite/p-09d4e789.system.js +7 -0
  11. package/dist/calcite/p-0b966e54.entry.js +6 -0
  12. package/dist/calcite/p-0d4fb8ca.entry.js +6 -0
  13. package/dist/calcite/{p-cc041a12.system.js → p-1087f996.system.js} +1 -1
  14. package/dist/calcite/p-12f67a05.entry.js +6 -0
  15. package/dist/calcite/p-140247a4.entry.js +6 -0
  16. package/dist/calcite/p-14368daa.entry.js +6 -0
  17. package/dist/calcite/p-149f567e.entry.js +6 -0
  18. package/dist/calcite/{p-549e267e.system.js → p-151ef522.system.js} +1 -1
  19. package/dist/calcite/{p-aaba2ea0.system.js → p-1534218b.system.js} +1 -1
  20. package/dist/calcite/{p-74153f82.js → p-1647d422.js} +2 -2
  21. package/dist/calcite/{p-9eaf38bc.js → p-1774ae47.js} +2 -2
  22. package/dist/calcite/{p-c2ed5f67.js → p-18679417.js} +1 -1
  23. package/dist/calcite/{p-3d8ab9d5.entry.js → p-1d97eff4.entry.js} +2 -2
  24. package/dist/calcite/p-204cda47.entry.js +6 -0
  25. package/dist/calcite/p-20bd3399.system.entry.js +6 -0
  26. package/dist/calcite/p-221e3f32.system.entry.js +6 -0
  27. package/dist/calcite/{p-3aefc333.entry.js → p-23a52c67.entry.js} +2 -2
  28. package/dist/calcite/p-23f02457.system.js +6 -0
  29. package/dist/calcite/p-24daa1f0.entry.js +6 -0
  30. package/dist/calcite/p-25116f74.system.entry.js +6 -0
  31. package/dist/calcite/{p-0bfe5ca7.entry.js → p-26803235.entry.js} +2 -2
  32. package/dist/calcite/{p-ec8d9088.system.entry.js → p-271b3555.system.entry.js} +2 -2
  33. package/dist/calcite/{p-74b7ff1f.entry.js → p-27db08bc.entry.js} +2 -2
  34. package/dist/calcite/p-27dd1893.entry.js +6 -0
  35. package/dist/calcite/p-288354f0.system.js +6 -0
  36. package/dist/calcite/{p-df26aab6.js → p-292b7dab.js} +1 -1
  37. package/dist/calcite/{p-f8695531.entry.js → p-29610c9f.entry.js} +2 -2
  38. package/dist/calcite/{p-07c6e102.system.js → p-2a7e2957.system.js} +2 -2
  39. package/dist/calcite/p-2b1db9be.js +6 -0
  40. package/dist/calcite/p-2d6b5124.system.entry.js +6 -0
  41. package/dist/calcite/{p-a92ac42d.system.js → p-2ed8b011.system.js} +1 -1
  42. package/dist/calcite/p-325c25e7.entry.js +6 -0
  43. package/dist/calcite/{p-fdc7032c.system.js → p-34ff2c2f.system.js} +1 -1
  44. package/dist/calcite/{p-9e8d6e02.js → p-389bfb3f.js} +2 -2
  45. package/dist/calcite/{p-6eadd519.entry.js → p-39c28eb7.entry.js} +2 -2
  46. package/dist/calcite/{p-fbbfde67.system.js → p-3a1beee3.system.js} +2 -2
  47. package/dist/calcite/{p-21a1034c.entry.js → p-3b02f6a7.entry.js} +2 -2
  48. package/dist/calcite/{p-8ae680a2.system.entry.js → p-3b28ce55.system.entry.js} +2 -2
  49. package/dist/calcite/p-3c9f7afb.entry.js +6 -0
  50. package/dist/calcite/{p-d96573eb.system.entry.js → p-3daaf28f.system.entry.js} +2 -2
  51. package/dist/calcite/{p-6309de22.entry.js → p-3fc47895.entry.js} +2 -2
  52. package/dist/calcite/p-42a122ab.entry.js +6 -0
  53. package/dist/calcite/p-489e9825.system.entry.js +6 -0
  54. package/dist/calcite/p-49d40985.system.entry.js +6 -0
  55. package/dist/calcite/{p-7ec42769.js → p-4a0d41e4.js} +1 -1
  56. package/dist/calcite/{p-8202ad8a.system.entry.js → p-4db1c603.system.entry.js} +2 -2
  57. package/dist/calcite/{p-dd5e585b.entry.js → p-50513c03.entry.js} +2 -2
  58. package/dist/calcite/p-516a5c68.system.entry.js +6 -0
  59. package/dist/calcite/p-53a423d9.system.entry.js +6 -0
  60. package/dist/calcite/p-5544e264.entry.js +6 -0
  61. package/dist/calcite/p-57b6f7fb.system.entry.js +6 -0
  62. package/dist/calcite/{p-4d9c7cc9.system.js → p-584cb04b.system.js} +1 -1
  63. package/dist/calcite/p-58c76aff.entry.js +6 -0
  64. package/dist/calcite/{p-9d158b37.system.js → p-59574854.system.js} +2 -2
  65. package/dist/calcite/p-5b1c8598.system.entry.js +6 -0
  66. package/dist/calcite/{p-4f9ce175.js → p-5e5bb0fe.js} +2 -2
  67. package/dist/calcite/{p-dca64e20.js → p-61379359.js} +2 -2
  68. package/dist/calcite/p-61653e5f.entry.js +6 -0
  69. package/dist/calcite/p-62e5d329.entry.js +6 -0
  70. package/dist/calcite/{p-39bb68b3.system.js → p-635720f4.system.js} +2 -2
  71. package/dist/calcite/{p-20d610fc.entry.js → p-6ab55ea8.entry.js} +2 -2
  72. package/dist/calcite/{p-6a8f1936.system.js → p-6b815a3f.system.js} +2 -2
  73. package/dist/calcite/p-6d315566.system.entry.js +6 -0
  74. package/dist/calcite/p-70df22f8.system.entry.js +6 -0
  75. package/dist/calcite/p-70f9bfcf.system.entry.js +6 -0
  76. package/dist/calcite/p-76d5c5ab.entry.js +6 -0
  77. package/dist/calcite/p-80362407.entry.js +6 -0
  78. package/dist/calcite/{p-4cfef590.system.js → p-8270f683.system.js} +3 -3
  79. package/dist/calcite/{p-fb0e5ae3.js → p-84f563f6.js} +1 -1
  80. package/dist/calcite/p-8666e681.system.entry.js +6 -0
  81. package/dist/calcite/p-874248a5.entry.js +6 -0
  82. package/dist/calcite/{p-e2ccf473.entry.js → p-878cfb6b.entry.js} +2 -2
  83. package/dist/calcite/{p-ca1b7a2e.js → p-87b06a4a.js} +1 -1
  84. package/dist/calcite/p-88633a5f.system.entry.js +6 -0
  85. package/dist/calcite/p-89151794.system.entry.js +6 -0
  86. package/dist/calcite/p-8a4187a1.system.entry.js +6 -0
  87. package/dist/calcite/p-8c18de14.system.entry.js +6 -0
  88. package/dist/calcite/{p-f8cb1eeb.js → p-8fed02c7.js} +1 -1
  89. package/dist/calcite/p-90bb8af7.system.entry.js +6 -0
  90. package/dist/calcite/p-9267c232.system.entry.js +6 -0
  91. package/dist/calcite/{p-a89fc6a1.system.entry.js → p-938ee739.system.entry.js} +2 -2
  92. package/dist/calcite/p-9416a65c.entry.js +6 -0
  93. package/dist/calcite/p-95d58e86.system.entry.js +6 -0
  94. package/dist/calcite/p-95e23b85.entry.js +6 -0
  95. package/dist/calcite/{p-2e3ffd32.system.js → p-98f5945a.system.js} +2 -2
  96. package/dist/calcite/{p-6d1c91ee.entry.js → p-996d8919.entry.js} +2 -2
  97. package/dist/calcite/{p-e45d0fed.system.js → p-99834ee5.system.js} +1 -1
  98. package/dist/calcite/p-9a6b21d8.entry.js +6 -0
  99. package/dist/calcite/p-9a7290b9.system.entry.js +6 -0
  100. package/dist/calcite/p-9ac11a5a.system.entry.js +6 -0
  101. package/dist/calcite/p-9ac7eaf9.entry.js +6 -0
  102. package/dist/calcite/{p-ce28c259.js → p-9c216ae7.js} +2 -2
  103. package/dist/calcite/p-9d161fd1.system.entry.js +6 -0
  104. package/dist/calcite/p-9e8a8543.entry.js +6 -0
  105. package/dist/calcite/{p-d6d814a6.system.js → p-a2fb1d9c.system.js} +1 -1
  106. package/dist/calcite/p-a64c38ea.system.entry.js +6 -0
  107. package/dist/calcite/{p-2ce10f9a.system.js → p-a65a2b93.system.js} +1 -1
  108. package/dist/calcite/p-a6c2e6e3.entry.js +6 -0
  109. package/dist/calcite/{p-9c4aa033.entry.js → p-a7798679.entry.js} +2 -2
  110. package/dist/calcite/{p-5d7f4169.js → p-abb072bc.js} +1 -1
  111. package/dist/calcite/p-ad9ce24b.system.entry.js +6 -0
  112. package/dist/calcite/p-add9d199.system.entry.js +6 -0
  113. package/dist/calcite/p-afaa2b92.entry.js +6 -0
  114. package/dist/calcite/{p-aa9ce421.js → p-afd70310.js} +1 -1
  115. package/dist/calcite/p-b2fd8207.system.js +6 -0
  116. package/dist/calcite/p-b330e520.system.entry.js +6 -0
  117. package/dist/calcite/p-b451a135.entry.js +6 -0
  118. package/dist/calcite/p-b4ed3310.system.entry.js +6 -0
  119. package/dist/calcite/{p-e69d3ca4.system.js → p-b65a82b9.system.js} +1 -1
  120. package/dist/calcite/{p-5bd80046.entry.js → p-b7181609.entry.js} +2 -2
  121. package/dist/calcite/p-b9a92e2a.system.entry.js +6 -0
  122. package/dist/calcite/p-bd8dabb4.system.entry.js +6 -0
  123. package/dist/calcite/{p-e345449f.entry.js → p-be70e32c.entry.js} +2 -2
  124. package/dist/calcite/{p-14f0920e.system.entry.js → p-c11c8810.system.entry.js} +2 -2
  125. package/dist/calcite/p-c44fe786.js +7 -0
  126. package/dist/calcite/p-c49a8303.system.entry.js +6 -0
  127. package/dist/calcite/{p-ce654c2c.system.entry.js → p-c6c191a4.system.entry.js} +2 -2
  128. package/dist/calcite/p-c82c15ee.system.entry.js +6 -0
  129. package/dist/calcite/{p-dd5185d6.entry.js → p-c8a4f49a.entry.js} +2 -2
  130. package/dist/calcite/p-c8e7775c.system.entry.js +6 -0
  131. package/dist/calcite/p-cd41f4a3.entry.js +6 -0
  132. package/dist/calcite/{p-f07627e7.system.entry.js → p-ced28d9d.system.entry.js} +3 -3
  133. package/dist/calcite/p-cf2ff728.system.entry.js +6 -0
  134. package/dist/calcite/{p-51491e10.system.js → p-d0043d6d.system.js} +1 -1
  135. package/dist/calcite/p-d522d0d3.entry.js +6 -0
  136. package/dist/calcite/p-d913deb7.system.entry.js +6 -0
  137. package/dist/calcite/p-d91d56df.entry.js +6 -0
  138. package/dist/calcite/p-d9b2646c.system.entry.js +6 -0
  139. package/dist/calcite/p-d9cf3438.system.entry.js +6 -0
  140. package/dist/calcite/{p-ecd12a92.js → p-db7068cb.js} +1 -1
  141. package/dist/calcite/p-db98f211.system.entry.js +6 -0
  142. package/dist/calcite/p-dca64758.system.entry.js +6 -0
  143. package/dist/calcite/{p-4908e3a5.system.js → p-deefbe33.system.js} +1 -1
  144. package/dist/calcite/p-dfce3d62.system.entry.js +6 -0
  145. package/dist/calcite/p-e0ab7e38.entry.js +6 -0
  146. package/dist/calcite/{p-26757de8.entry.js → p-e0f3d151.entry.js} +2 -2
  147. package/dist/calcite/p-e2087090.js +6 -0
  148. package/dist/calcite/{p-8133b2a5.entry.js → p-e64aaaff.entry.js} +2 -2
  149. package/dist/calcite/p-e85df792.system.entry.js +6 -0
  150. package/dist/calcite/{p-bbd8269c.js → p-e8b42645.js} +1 -1
  151. package/dist/calcite/p-eb133e45.entry.js +6 -0
  152. package/dist/calcite/p-eb357ea6.entry.js +6 -0
  153. package/dist/calcite/{p-f6760679.js → p-ec6c73c0.js} +2 -2
  154. package/dist/calcite/p-ed90ef39.entry.js +6 -0
  155. package/dist/calcite/p-efd107ed.entry.js +6 -0
  156. package/dist/calcite/p-f1e819d0.js +6 -0
  157. package/dist/calcite/p-f200ceb7.system.entry.js +6 -0
  158. package/dist/calcite/{p-bb1711f3.js → p-f4b01f6e.js} +1 -1
  159. package/dist/calcite/p-f5ef4bdb.system.js +6 -0
  160. package/dist/calcite/p-f7481a5b.system.entry.js +6 -0
  161. package/dist/calcite/p-f934284b.system.entry.js +6 -0
  162. package/dist/calcite/p-f935181a.entry.js +6 -0
  163. package/dist/calcite/p-fb374b42.entry.js +6 -0
  164. package/dist/calcite/p-fb5b969f.system.entry.js +6 -0
  165. package/dist/calcite/p-fbc834e7.system.entry.js +6 -0
  166. package/dist/calcite/p-fc321a74.system.entry.js +6 -0
  167. package/dist/calcite/p-fc45579a.entry.js +6 -0
  168. package/dist/calcite/{p-1157ae2f.js → p-fcb2ff51.js} +1 -1
  169. package/dist/calcite/p-fe2ddf18.system.entry.js +6 -0
  170. package/dist/calcite/{p-d05f35e8.system.js → p-fe8a9479.system.js} +2 -2
  171. package/dist/cjs/{ExpandToggle-894fe6d0.js → ExpandToggle-34dbe39b.js} +5 -5
  172. package/dist/cjs/{Heading-9546b15c.js → Heading-12d798ce.js} +2 -2
  173. package/dist/cjs/{array-1c85be7d.js → array-e582a132.js} +1 -1
  174. package/dist/cjs/calcite-accordion_2.cjs.entry.js +83 -44
  175. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  176. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  177. package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -32
  178. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  179. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  180. package/dist/cjs/calcite-alert.cjs.entry.js +31 -38
  181. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-block_2.cjs.entry.js +15 -11
  183. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  184. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  185. package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
  186. package/dist/cjs/calcite-chip.cjs.entry.js +15 -9
  187. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
  188. package/dist/cjs/calcite-combobox_3.cjs.entry.js +58 -83
  189. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +65 -67
  190. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +80 -114
  191. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  192. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  193. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  194. package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
  195. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  196. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  197. package/dist/cjs/calcite-inline-editable.cjs.entry.js +24 -24
  198. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +121 -100
  199. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-input-number.cjs.entry.js +525 -0
  201. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +36 -27
  202. package/dist/cjs/calcite-input.cjs.entry.js +14 -20
  203. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-list_3.cjs.entry.js +11 -11
  206. package/dist/cjs/calcite-loader.cjs.entry.js +9 -5
  207. package/dist/cjs/calcite-modal.cjs.entry.js +44 -16
  208. package/dist/cjs/calcite-notice.cjs.entry.js +37 -12
  209. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
  210. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  211. package/dist/cjs/calcite-panel.cjs.entry.js +54 -23
  212. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +14 -14
  213. package/dist/cjs/calcite-popover_2.cjs.entry.js +72 -82
  214. package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
  215. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  216. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  217. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
  218. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  219. package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
  220. package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -10
  221. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  222. package/dist/cjs/calcite-split-button.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-stepper_2.cjs.entry.js +51 -84
  224. package/dist/cjs/calcite-switch.cjs.entry.js +11 -13
  225. package/dist/cjs/calcite-tab_4.cjs.entry.js +61 -61
  226. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  228. package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -12
  229. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +31 -64
  230. package/dist/cjs/calcite-tree_2.cjs.entry.js +28 -28
  231. package/dist/cjs/calcite-value-list_2.cjs.entry.js +89 -24
  232. package/dist/cjs/calcite.cjs.js +4 -4
  233. package/dist/cjs/{conditionalSlot-ecb74d9a.js → conditionalSlot-352bec3d.js} +3 -3
  234. package/dist/cjs/{debounce-a74a2080.js → debounce-6cd1535e.js} +1 -1
  235. package/dist/cjs/{dom-69c7e941.js → dom-ed822c13.js} +2 -2
  236. package/dist/cjs/floating-ui-ddaf1746.js +1620 -0
  237. package/dist/cjs/{forIn-efe39801.js → forIn-9c2acd4a.js} +2 -2
  238. package/dist/cjs/{form-901b31de.js → form-e3be7149.js} +3 -3
  239. package/dist/cjs/{guid-263ed05b.js → guid-c86839da.js} +1 -1
  240. package/dist/cjs/{index-8fbe74dd.js → index-33f65b26.js} +12 -1
  241. package/dist/cjs/index.cjs.js +1 -1
  242. package/dist/cjs/{interactive-b2df5d51.js → interactive-a3821d41.js} +1 -1
  243. package/dist/cjs/{interfaces-a8a9ed80.js → interfaces-0d6f4796.js} +1 -1
  244. package/dist/cjs/{key-0fe936c7.js → key-a2e96b2d.js} +1 -1
  245. package/dist/cjs/{label-f1317d82.js → label-bd9a47bd.js} +2 -2
  246. package/dist/cjs/loader.cjs.js +4 -4
  247. package/dist/cjs/{locale-0becaa93.js → locale-48e984a4.js} +2 -2
  248. package/dist/cjs/{math-0877dd01.js → math-b4d12de8.js} +1 -1
  249. package/dist/cjs/{observers-8169781c.js → observers-11defbec.js} +1 -1
  250. package/dist/cjs/{resources-93a62cd3.js → resources-0b605ada.js} +1 -1
  251. package/dist/cjs/{resources-80d6cd05.js → resources-1388772a.js} +1 -1
  252. package/dist/cjs/{resources-6ac223e5.js → resources-826e04f0.js} +3 -3
  253. package/dist/cjs/{resources-192c00c3.js → resources-ca50aa50.js} +12 -6
  254. package/dist/cjs/{sortable.esm-b7091c1d.js → sortable.esm-67fdfa55.js} +1 -1
  255. package/dist/cjs/{utils-b1d11545.js → utils-1a470335.js} +1 -1
  256. package/dist/collection/collection-manifest.json +7 -1
  257. package/dist/collection/components/accordion/accordion.css +3 -3
  258. package/dist/collection/components/accordion/accordion.js +25 -20
  259. package/dist/collection/components/accordion/interfaces.js +1 -1
  260. package/dist/collection/components/accordion-item/accordion-item.css +81 -63
  261. package/dist/collection/components/accordion-item/accordion-item.js +92 -48
  262. package/dist/collection/components/accordion-item/interfaces.js +6 -0
  263. package/dist/collection/components/accordion-item/resources.js +21 -0
  264. package/dist/collection/components/action/action.css +24 -22
  265. package/dist/collection/components/action/action.js +3 -3
  266. package/dist/collection/components/action/resources.js +1 -1
  267. package/dist/collection/components/action-bar/action-bar.css +7 -6
  268. package/dist/collection/components/action-bar/action-bar.js +3 -3
  269. package/dist/collection/components/action-bar/resources.js +1 -1
  270. package/dist/collection/components/action-bar/utils.js +1 -1
  271. package/dist/collection/components/action-group/action-group.css +2 -2
  272. package/dist/collection/components/action-group/action-group.js +3 -3
  273. package/dist/collection/components/action-group/resources.js +1 -1
  274. package/dist/collection/components/action-menu/action-menu.css +3 -3
  275. package/dist/collection/components/action-menu/action-menu.js +25 -37
  276. package/dist/collection/components/action-menu/resources.js +1 -1
  277. package/dist/collection/components/action-pad/action-pad.css +9 -9
  278. package/dist/collection/components/action-pad/action-pad.js +3 -3
  279. package/dist/collection/components/action-pad/resources.js +1 -1
  280. package/dist/collection/components/alert/alert.css +41 -49
  281. package/dist/collection/components/alert/alert.js +52 -70
  282. package/dist/collection/components/alert/interfaces.js +1 -1
  283. package/dist/collection/components/alert/resources.js +1 -1
  284. package/dist/collection/components/avatar/avatar.css +11 -11
  285. package/dist/collection/components/avatar/avatar.js +1 -1
  286. package/dist/collection/components/avatar/utils.js +1 -1
  287. package/dist/collection/components/block/block.css +15 -18
  288. package/dist/collection/components/block/block.js +12 -5
  289. package/dist/collection/components/block/resources.js +1 -1
  290. package/dist/collection/components/block-section/block-section.css +11 -17
  291. package/dist/collection/components/block-section/block-section.js +3 -3
  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.css +37 -37
  295. package/dist/collection/components/button/button.js +1 -1
  296. package/dist/collection/components/button/interfaces.js +1 -1
  297. package/dist/collection/components/button/resources.js +1 -1
  298. package/dist/collection/components/card/card.css +23 -23
  299. package/dist/collection/components/card/card.js +6 -6
  300. package/dist/collection/components/card/resources.js +1 -1
  301. package/dist/collection/components/checkbox/checkbox.css +12 -14
  302. package/dist/collection/components/checkbox/checkbox.js +7 -7
  303. package/dist/collection/components/chip/chip.css +27 -23
  304. package/dist/collection/components/chip/chip.js +39 -7
  305. package/dist/collection/components/chip/interfaces.js +1 -1
  306. package/dist/collection/components/chip/resources.js +1 -1
  307. package/dist/collection/components/color-picker/color-picker.css +32 -29
  308. package/dist/collection/components/color-picker/color-picker.js +5 -5
  309. package/dist/collection/components/color-picker/interfaces.js +1 -1
  310. package/dist/collection/components/color-picker/resources.js +1 -1
  311. package/dist/collection/components/color-picker/utils.js +1 -1
  312. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -7
  313. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +3 -3
  314. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  315. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +12 -15
  316. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  317. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  318. package/dist/collection/components/combobox/combobox.css +49 -45
  319. package/dist/collection/components/combobox/combobox.js +77 -111
  320. package/dist/collection/components/combobox/interfaces.js +1 -1
  321. package/dist/collection/components/combobox/resources.js +1 -1
  322. package/dist/collection/components/combobox/utils.js +1 -1
  323. package/dist/collection/components/combobox-item/combobox-item.css +21 -14
  324. package/dist/collection/components/combobox-item/combobox-item.js +9 -4
  325. package/dist/collection/components/combobox-item/resources.js +1 -1
  326. package/dist/collection/components/combobox-item-group/combobox-item-group.css +13 -9
  327. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  328. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  329. package/dist/collection/components/date-picker/date-picker.css +5 -5
  330. package/dist/collection/components/date-picker/date-picker.js +14 -14
  331. package/dist/collection/components/date-picker/interfaces.js +1 -1
  332. package/dist/collection/components/date-picker/resources.js +1 -1
  333. package/dist/collection/components/date-picker/utils.js +1 -1
  334. package/dist/collection/components/date-picker-day/date-picker-day.css +23 -28
  335. package/dist/collection/components/date-picker-day/date-picker-day.js +8 -10
  336. package/dist/collection/components/date-picker-month/date-picker-month.css +14 -24
  337. package/dist/collection/components/date-picker-month/date-picker-month.js +41 -29
  338. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +23 -33
  339. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +20 -20
  340. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  341. package/dist/collection/components/dropdown/dropdown.css +26 -18
  342. package/dist/collection/components/dropdown/dropdown.js +95 -143
  343. package/dist/collection/components/dropdown/interfaces.js +1 -1
  344. package/dist/collection/components/dropdown/resources.js +1 -1
  345. package/dist/collection/components/dropdown-group/dropdown-group.css +4 -4
  346. package/dist/collection/components/dropdown-group/dropdown-group.js +9 -4
  347. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  348. package/dist/collection/components/dropdown-group/resources.js +1 -1
  349. package/dist/collection/components/dropdown-item/dropdown-item.css +8 -17
  350. package/dist/collection/components/dropdown-item/dropdown-item.js +18 -13
  351. package/dist/collection/components/dropdown-item/resources.js +1 -1
  352. package/dist/collection/components/fab/fab.css +7 -6
  353. package/dist/collection/components/fab/fab.js +1 -1
  354. package/dist/collection/components/fab/resources.js +1 -1
  355. package/dist/collection/components/filter/filter.css +16 -18
  356. package/dist/collection/components/filter/filter.js +1 -1
  357. package/dist/collection/components/filter/resources.js +1 -1
  358. package/dist/collection/components/flow/flow.css +4 -4
  359. package/dist/collection/components/flow/flow.js +1 -1
  360. package/dist/collection/components/flow/interfaces.js +1 -1
  361. package/dist/collection/components/flow/resources.js +1 -1
  362. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  363. package/dist/collection/components/functional/Heading.js +1 -1
  364. package/dist/collection/components/graph/graph.css +4 -4
  365. package/dist/collection/components/graph/graph.js +1 -1
  366. package/dist/collection/components/graph/interfaces.js +1 -1
  367. package/dist/collection/components/graph/util.js +1 -1
  368. package/dist/collection/components/handle/handle.css +3 -2
  369. package/dist/collection/components/handle/handle.js +9 -4
  370. package/dist/collection/components/handle/resources.js +1 -1
  371. package/dist/collection/components/icon/icon.css +13 -13
  372. package/dist/collection/components/icon/icon.js +1 -1
  373. package/dist/collection/components/icon/resources.js +1 -1
  374. package/dist/collection/components/icon/utils.js +1 -1
  375. package/dist/collection/components/inline-editable/inline-editable.css +12 -11
  376. package/dist/collection/components/inline-editable/inline-editable.js +19 -19
  377. package/dist/collection/components/inline-editable/resources.js +1 -1
  378. package/dist/collection/components/input/input.css +74 -96
  379. package/dist/collection/components/input/input.js +15 -16
  380. package/dist/collection/components/input/interfaces.js +1 -1
  381. package/dist/collection/components/input/resources.js +1 -1
  382. package/dist/collection/components/input-date-picker/input-date-picker.css +70 -73
  383. package/dist/collection/components/input-date-picker/input-date-picker.js +203 -116
  384. package/dist/collection/components/input-date-picker/resources.js +9 -0
  385. package/dist/collection/components/input-message/input-message.css +7 -7
  386. package/dist/collection/components/input-message/input-message.js +1 -1
  387. package/dist/collection/components/input-message/interfaces.js +1 -1
  388. package/dist/collection/components/input-number/input-number.css +501 -0
  389. package/dist/collection/components/input-number/input-number.js +1250 -0
  390. package/dist/collection/components/input-number/interfaces.js +5 -0
  391. package/dist/collection/components/input-number/resources.js +27 -0
  392. package/dist/collection/components/input-time-picker/input-time-picker.css +9 -11
  393. package/dist/collection/components/input-time-picker/input-time-picker.js +54 -28
  394. package/dist/collection/components/interfaces.js +1 -1
  395. package/dist/collection/components/label/label.css +15 -15
  396. package/dist/collection/components/label/label.js +1 -1
  397. package/dist/collection/components/label/resources.js +1 -1
  398. package/dist/collection/components/link/link.css +14 -13
  399. package/dist/collection/components/link/link.js +1 -1
  400. package/dist/collection/components/list/list.css +8 -7
  401. package/dist/collection/components/list/list.js +1 -1
  402. package/dist/collection/components/list/resources.js +1 -1
  403. package/dist/collection/components/list-item/list-item.css +12 -15
  404. package/dist/collection/components/list-item/list-item.js +1 -1
  405. package/dist/collection/components/list-item/resources.js +1 -1
  406. package/dist/collection/components/list-item-group/list-item-group.css +2 -2
  407. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  408. package/dist/collection/components/list-item-group/resources.js +1 -1
  409. package/dist/collection/components/loader/loader.css +27 -31
  410. package/dist/collection/components/loader/loader.js +10 -3
  411. package/dist/collection/components/modal/interfaces.js +1 -1
  412. package/dist/collection/components/modal/modal.css +77 -70
  413. package/dist/collection/components/modal/modal.js +78 -19
  414. package/dist/collection/components/modal/resources.js +1 -1
  415. package/dist/collection/components/notice/notice.css +26 -34
  416. package/dist/collection/components/notice/notice.js +83 -12
  417. package/dist/collection/components/notice/resources.js +1 -1
  418. package/dist/collection/components/option/option.css +1 -1
  419. package/dist/collection/components/option/option.js +3 -3
  420. package/dist/collection/components/option-group/option-group.css +1 -1
  421. package/dist/collection/components/option-group/option-group.js +3 -3
  422. package/dist/collection/components/pagination/pagination.css +10 -14
  423. package/dist/collection/components/pagination/pagination.js +1 -1
  424. package/dist/collection/components/pagination/resources.js +1 -1
  425. package/dist/collection/components/panel/panel.css +39 -45
  426. package/dist/collection/components/panel/panel.js +105 -26
  427. package/dist/collection/components/panel/resources.js +1 -1
  428. package/dist/collection/components/pick-list/pick-list.css +13 -12
  429. package/dist/collection/components/pick-list/pick-list.js +1 -1
  430. package/dist/collection/components/pick-list/resources.js +1 -1
  431. package/dist/collection/components/pick-list/shared-list-logic.js +5 -1
  432. package/dist/collection/components/pick-list/shared-list-render.js +3 -2
  433. package/dist/collection/components/pick-list-group/pick-list-group.css +5 -7
  434. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  435. package/dist/collection/components/pick-list-group/resources.js +1 -1
  436. package/dist/collection/components/pick-list-item/pick-list-item.css +15 -17
  437. package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
  438. package/dist/collection/components/pick-list-item/resources.js +1 -1
  439. package/dist/collection/components/popover/PopoverManager.js +1 -1
  440. package/dist/collection/components/popover/popover.css +29 -34
  441. package/dist/collection/components/popover/popover.js +132 -91
  442. package/dist/collection/components/popover/resources.js +1 -1
  443. package/dist/collection/components/popover-manager/popover-manager.css +1 -1
  444. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  445. package/dist/collection/components/progress/progress.css +9 -11
  446. package/dist/collection/components/progress/progress.js +1 -1
  447. package/dist/collection/components/radio-button/radio-button.css +15 -17
  448. package/dist/collection/components/radio-button/radio-button.js +10 -10
  449. package/dist/collection/components/radio-button/resources.js +1 -1
  450. package/dist/collection/components/radio-button-group/radio-button-group.css +2 -2
  451. package/dist/collection/components/radio-button-group/radio-button-group.js +3 -3
  452. package/dist/collection/components/radio-group/interfaces.js +1 -1
  453. package/dist/collection/components/radio-group/radio-group.css +15 -17
  454. package/dist/collection/components/radio-group/radio-group.js +1 -1
  455. package/dist/collection/components/radio-group-item/radio-group-item.css +7 -13
  456. package/dist/collection/components/radio-group-item/radio-group-item.js +3 -3
  457. package/dist/collection/components/radio-group-item/resources.js +1 -1
  458. package/dist/collection/components/rating/rating.css +18 -20
  459. package/dist/collection/components/rating/rating.js +1 -1
  460. package/dist/collection/components/rating/resources.js +1 -1
  461. package/dist/collection/components/scrim/resources.js +1 -1
  462. package/dist/collection/components/scrim/scrim.css +5 -11
  463. package/dist/collection/components/scrim/scrim.js +1 -1
  464. package/dist/collection/components/select/resources.js +1 -1
  465. package/dist/collection/components/select/select.css +22 -28
  466. package/dist/collection/components/select/select.js +1 -1
  467. package/dist/collection/components/shell/resources.js +1 -1
  468. package/dist/collection/components/shell/shell.css +17 -24
  469. package/dist/collection/components/shell/shell.js +1 -1
  470. package/dist/collection/components/shell-center-row/resources.js +1 -1
  471. package/dist/collection/components/shell-center-row/shell-center-row.css +11 -13
  472. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  473. package/dist/collection/components/shell-panel/resources.js +1 -1
  474. package/dist/collection/components/shell-panel/shell-panel.css +17 -20
  475. package/dist/collection/components/shell-panel/shell-panel.js +3 -3
  476. package/dist/collection/components/slider/slider.css +43 -44
  477. package/dist/collection/components/slider/slider.js +7 -7
  478. package/dist/collection/components/sortable-list/resources.js +1 -1
  479. package/dist/collection/components/sortable-list/sortable-list.css +6 -5
  480. package/dist/collection/components/sortable-list/sortable-list.js +3 -3
  481. package/dist/collection/components/split-button/resources.js +1 -1
  482. package/dist/collection/components/split-button/split-button.css +17 -18
  483. package/dist/collection/components/split-button/split-button.js +21 -11
  484. package/dist/collection/components/stepper/interfaces.js +1 -1
  485. package/dist/collection/components/stepper/stepper.css +6 -9
  486. package/dist/collection/components/stepper/stepper.js +26 -84
  487. package/dist/collection/components/stepper-item/stepper-item.css +103 -35
  488. package/dist/collection/components/stepper-item/stepper-item.js +41 -20
  489. package/dist/collection/components/switch/switch.css +28 -30
  490. package/dist/collection/components/switch/switch.js +12 -9
  491. package/dist/collection/components/tab/interfaces.js +1 -1
  492. package/dist/collection/components/tab/tab.css +10 -13
  493. package/dist/collection/components/tab/tab.js +4 -4
  494. package/dist/collection/components/tab-nav/tab-nav.css +24 -25
  495. package/dist/collection/components/tab-nav/tab-nav.js +29 -29
  496. package/dist/collection/components/tab-title/tab-title.css +41 -50
  497. package/dist/collection/components/tab-title/tab-title.js +8 -8
  498. package/dist/collection/components/tabs/interfaces.js +1 -1
  499. package/dist/collection/components/tabs/resources.js +1 -1
  500. package/dist/collection/components/tabs/tabs.css +21 -21
  501. package/dist/collection/components/tabs/tabs.js +20 -20
  502. package/dist/collection/components/tile/resources.js +1 -1
  503. package/dist/collection/components/tile/tile.css +12 -11
  504. package/dist/collection/components/tile/tile.js +1 -1
  505. package/dist/collection/components/tile-select/interfaces.js +1 -1
  506. package/dist/collection/components/tile-select/resources.js +1 -1
  507. package/dist/collection/components/tile-select/tile-select.css +14 -13
  508. package/dist/collection/components/tile-select/tile-select.js +3 -3
  509. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  510. package/dist/collection/components/tile-select-group/tile-select-group.css +10 -9
  511. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  512. package/dist/collection/components/time-picker/resources.js +1 -1
  513. package/dist/collection/components/time-picker/time-picker.css +11 -17
  514. package/dist/collection/components/time-picker/time-picker.js +1 -1
  515. package/dist/collection/components/tip/resources.js +1 -1
  516. package/dist/collection/components/tip/tip.css +12 -15
  517. package/dist/collection/components/tip/tip.js +3 -3
  518. package/dist/collection/components/tip-group/tip-group.css +2 -3
  519. package/dist/collection/components/tip-group/tip-group.js +1 -1
  520. package/dist/collection/components/tip-manager/resources.js +1 -1
  521. package/dist/collection/components/tip-manager/tip-manager.css +11 -16
  522. package/dist/collection/components/tip-manager/tip-manager.js +7 -7
  523. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  524. package/dist/collection/components/tooltip/resources.js +1 -1
  525. package/dist/collection/components/tooltip/tooltip.css +25 -30
  526. package/dist/collection/components/tooltip/tooltip.js +35 -66
  527. package/dist/collection/components/tooltip-manager/tooltip-manager.css +1 -1
  528. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  529. package/dist/collection/components/tree/interfaces.js +1 -1
  530. package/dist/collection/components/tree/tree.css +4 -1
  531. package/dist/collection/components/tree/tree.js +12 -12
  532. package/dist/collection/components/tree-item/interfaces.js +1 -1
  533. package/dist/collection/components/tree-item/resources.js +1 -1
  534. package/dist/collection/components/tree-item/tree-item.css +18 -15
  535. package/dist/collection/components/tree-item/tree-item.js +10 -10
  536. package/dist/collection/components/value-list/interfaces.js +6 -0
  537. package/dist/collection/components/value-list/resources.js +1 -1
  538. package/dist/collection/components/value-list/utils.js +49 -0
  539. package/dist/collection/components/value-list/value-list.css +12 -11
  540. package/dist/collection/components/value-list/value-list.js +101 -11
  541. package/dist/collection/components/value-list-item/resources.js +1 -1
  542. package/dist/collection/components/value-list-item/value-list-item.css +12 -13
  543. package/dist/collection/components/value-list-item/value-list-item.js +3 -3
  544. package/dist/collection/utils/array.js +1 -1
  545. package/dist/collection/utils/conditionalSlot.js +1 -1
  546. package/dist/collection/utils/date.js +1 -1
  547. package/dist/collection/utils/dom.js +1 -1
  548. package/dist/collection/utils/filter.js +1 -1
  549. package/dist/collection/utils/floating-ui.js +229 -0
  550. package/dist/collection/utils/form.js +1 -1
  551. package/dist/collection/utils/globalAttributes.js +1 -1
  552. package/dist/collection/utils/guid.js +1 -1
  553. package/dist/collection/utils/interactive.js +1 -1
  554. package/dist/collection/utils/key.js +1 -1
  555. package/dist/collection/utils/label.js +1 -1
  556. package/dist/collection/utils/locale.js +1 -1
  557. package/dist/collection/utils/math.js +1 -1
  558. package/dist/collection/utils/number.js +1 -1
  559. package/dist/collection/utils/observers.js +1 -1
  560. package/dist/collection/utils/openCloseComponent.js +1 -1
  561. package/dist/collection/utils/resources.js +1 -1
  562. package/dist/collection/utils/time.js +2 -2
  563. package/dist/components/ExpandToggle.js +2 -2
  564. package/dist/components/Heading.js +1 -1
  565. package/dist/components/action-group.js +3 -3
  566. package/dist/components/action-menu.js +9 -26
  567. package/dist/components/action.js +2 -2
  568. package/dist/components/array.js +1 -1
  569. package/dist/components/button.js +4 -4
  570. package/dist/components/calcite-accordion-item.js +63 -26
  571. package/dist/components/calcite-accordion.js +18 -18
  572. package/dist/components/calcite-action-bar.js +3 -3
  573. package/dist/components/calcite-action-group.js +1 -1
  574. package/dist/components/calcite-action-menu.js +1 -1
  575. package/dist/components/calcite-action-pad.js +3 -3
  576. package/dist/components/calcite-action.js +1 -1
  577. package/dist/components/calcite-alert.js +28 -35
  578. package/dist/components/calcite-avatar.js +2 -2
  579. package/dist/components/calcite-block-section.js +3 -3
  580. package/dist/components/calcite-block.js +8 -4
  581. package/dist/components/calcite-button.js +1 -1
  582. package/dist/components/calcite-card.js +7 -7
  583. package/dist/components/calcite-checkbox.js +1 -1
  584. package/dist/components/calcite-chip.js +1 -1
  585. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  586. package/dist/components/calcite-color-picker-swatch.js +1 -1
  587. package/dist/components/calcite-color-picker.js +3 -3
  588. package/dist/components/calcite-combobox-item-group.js +2 -2
  589. package/dist/components/calcite-combobox-item.js +3 -3
  590. package/dist/components/calcite-combobox.js +46 -71
  591. package/dist/components/calcite-date-picker-day.js +1 -1
  592. package/dist/components/calcite-date-picker-month-header.js +1 -1
  593. package/dist/components/calcite-date-picker-month.js +1 -1
  594. package/dist/components/calcite-date-picker.js +1 -1
  595. package/dist/components/calcite-dropdown-group.js +2 -2
  596. package/dist/components/calcite-dropdown-item.js +9 -9
  597. package/dist/components/calcite-dropdown.js +1 -1
  598. package/dist/components/calcite-fab.js +2 -2
  599. package/dist/components/calcite-filter.js +1 -1
  600. package/dist/components/calcite-flow.js +2 -2
  601. package/dist/components/calcite-graph.js +1 -1
  602. package/dist/components/calcite-handle.js +1 -1
  603. package/dist/components/calcite-icon.js +1 -1
  604. package/dist/components/calcite-inline-editable.js +20 -20
  605. package/dist/components/calcite-input-date-picker.js +114 -91
  606. package/dist/components/calcite-input-message.js +2 -2
  607. package/dist/components/calcite-input-number.d.ts +11 -0
  608. package/dist/components/calcite-input-number.js +586 -0
  609. package/dist/components/calcite-input-time-picker.js +29 -19
  610. package/dist/components/calcite-input.js +1 -1
  611. package/dist/components/calcite-label.js +2 -2
  612. package/dist/components/calcite-link.js +1 -1
  613. package/dist/components/calcite-list-item-group.js +2 -2
  614. package/dist/components/calcite-list-item.js +3 -3
  615. package/dist/components/calcite-list.js +2 -2
  616. package/dist/components/calcite-loader.js +1 -1
  617. package/dist/components/calcite-modal.js +41 -13
  618. package/dist/components/calcite-notice.js +34 -7
  619. package/dist/components/calcite-option-group.js +2 -2
  620. package/dist/components/calcite-option.js +2 -2
  621. package/dist/components/calcite-pagination.js +2 -2
  622. package/dist/components/calcite-panel.js +50 -17
  623. package/dist/components/calcite-pick-list-group.js +3 -3
  624. package/dist/components/calcite-pick-list-item.js +1 -1
  625. package/dist/components/calcite-pick-list.js +2 -2
  626. package/dist/components/calcite-popover-manager.js +2 -2
  627. package/dist/components/calcite-popover.js +1 -1
  628. package/dist/components/calcite-progress.js +1 -1
  629. package/dist/components/calcite-radio-button-group.js +2 -2
  630. package/dist/components/calcite-radio-button.js +5 -5
  631. package/dist/components/calcite-radio-group-item.js +2 -2
  632. package/dist/components/calcite-radio-group.js +4 -4
  633. package/dist/components/calcite-rating.js +3 -3
  634. package/dist/components/calcite-scrim.js +1 -1
  635. package/dist/components/calcite-select.js +3 -3
  636. package/dist/components/calcite-shell-center-row.js +3 -3
  637. package/dist/components/calcite-shell-panel.js +3 -3
  638. package/dist/components/calcite-shell.js +3 -3
  639. package/dist/components/calcite-slider.js +4 -4
  640. package/dist/components/calcite-sortable-list.js +2 -2
  641. package/dist/components/calcite-split-button.js +5 -5
  642. package/dist/components/calcite-stepper-item.js +25 -21
  643. package/dist/components/calcite-stepper.js +26 -62
  644. package/dist/components/calcite-switch.js +1 -1
  645. package/dist/components/calcite-tab-nav.js +1 -1
  646. package/dist/components/calcite-tab-title.js +1 -1
  647. package/dist/components/calcite-tab.js +1 -1
  648. package/dist/components/calcite-tabs.js +1 -1
  649. package/dist/components/calcite-tile-select-group.js +2 -2
  650. package/dist/components/calcite-tile-select.js +2 -2
  651. package/dist/components/calcite-tile.js +1 -1
  652. package/dist/components/calcite-time-picker.js +1 -1
  653. package/dist/components/calcite-tip-group.js +2 -2
  654. package/dist/components/calcite-tip-manager.js +5 -5
  655. package/dist/components/calcite-tip.js +3 -3
  656. package/dist/components/calcite-tooltip-manager.js +2 -2
  657. package/dist/components/calcite-tooltip.js +26 -59
  658. package/dist/components/calcite-tree-item.js +12 -12
  659. package/dist/components/calcite-tree.js +13 -13
  660. package/dist/components/calcite-value-list-item.js +4 -4
  661. package/dist/components/calcite-value-list.js +82 -13
  662. package/dist/components/checkbox.js +3 -3
  663. package/dist/components/chip.js +12 -5
  664. package/dist/components/color-picker-hex-input.js +2 -2
  665. package/dist/components/color-picker-swatch.js +2 -2
  666. package/dist/components/conditionalSlot.js +1 -1
  667. package/dist/components/date-picker-day.js +6 -8
  668. package/dist/components/date-picker-month-header.js +22 -22
  669. package/dist/components/date-picker-month.js +19 -19
  670. package/dist/components/date-picker.js +15 -15
  671. package/dist/components/date.js +2 -2
  672. package/dist/components/debounce.js +1 -1
  673. package/dist/components/dom.js +2 -2
  674. package/dist/components/dropdown.js +64 -98
  675. package/dist/components/filter.js +2 -2
  676. package/dist/components/floating-ui.js +1612 -0
  677. package/dist/components/forIn.js +1 -1
  678. package/dist/components/form.js +2 -2
  679. package/dist/components/graph.js +2 -2
  680. package/dist/components/guid.js +1 -1
  681. package/dist/components/handle.js +2 -2
  682. package/dist/components/icon.js +3 -3
  683. package/dist/components/index.d.ts +5 -90
  684. package/dist/components/index.js +1 -91
  685. package/dist/components/input.js +6 -12
  686. package/dist/components/interactive.js +1 -1
  687. package/dist/components/interfaces.js +1 -1
  688. package/dist/components/interfaces2.js +1 -1
  689. package/dist/components/key.js +1 -1
  690. package/dist/components/label.js +112 -87
  691. package/dist/components/label2.js +87 -112
  692. package/dist/components/link.js +3 -3
  693. package/dist/components/loader.js +7 -3
  694. package/dist/components/locale.js +1 -1
  695. package/dist/components/math.js +1 -1
  696. package/dist/components/observers.js +1 -1
  697. package/dist/components/pick-list-item.js +3 -3
  698. package/dist/components/popover.js +64 -73
  699. package/dist/components/progress.js +2 -2
  700. package/dist/components/resources.js +1 -1
  701. package/dist/components/resources2.js +1 -1
  702. package/dist/components/resources3.js +1 -1
  703. package/dist/components/scrim.js +2 -2
  704. package/dist/components/shared-list-render.js +9 -4
  705. package/dist/components/sortable.esm.js +1 -1
  706. package/dist/components/switch.js +6 -8
  707. package/dist/components/tab-nav.js +31 -31
  708. package/dist/components/tab-title.js +6 -6
  709. package/dist/components/tab.js +3 -3
  710. package/dist/components/tabs.js +21 -21
  711. package/dist/components/tile.js +3 -3
  712. package/dist/components/time-picker.js +3 -3
  713. package/dist/components/utils.js +1 -1
  714. package/dist/components/utils2.js +1 -1
  715. package/dist/custom-elements/index.d.ts +6 -0
  716. package/dist/custom-elements/index.js +3134 -2816
  717. package/dist/esm/{ExpandToggle-baf2c551.js → ExpandToggle-8ad8aac0.js} +5 -5
  718. package/dist/esm/{Heading-1183c4d7.js → Heading-4d9f4f89.js} +2 -2
  719. package/dist/esm/{array-d7b2d2da.js → array-c38e9698.js} +1 -1
  720. package/dist/esm/calcite-accordion_2.entry.js +83 -44
  721. package/dist/esm/calcite-action-bar.entry.js +11 -11
  722. package/dist/esm/calcite-action-group.entry.js +9 -9
  723. package/dist/esm/calcite-action-menu.entry.js +15 -32
  724. package/dist/esm/calcite-action-pad.entry.js +10 -10
  725. package/dist/esm/calcite-action.entry.js +7 -7
  726. package/dist/esm/calcite-alert.entry.js +31 -38
  727. package/dist/esm/calcite-avatar.entry.js +6 -6
  728. package/dist/esm/calcite-block_2.entry.js +15 -11
  729. package/dist/esm/calcite-button.entry.js +9 -9
  730. package/dist/esm/calcite-card.entry.js +10 -10
  731. package/dist/esm/calcite-checkbox.entry.js +8 -8
  732. package/dist/esm/calcite-chip.entry.js +15 -9
  733. package/dist/esm/calcite-color-picker_3.entry.js +11 -11
  734. package/dist/esm/calcite-combobox_3.entry.js +57 -82
  735. package/dist/esm/calcite-date-picker_4.entry.js +65 -67
  736. package/dist/esm/calcite-dropdown_3.entry.js +78 -112
  737. package/dist/esm/calcite-fab.entry.js +6 -6
  738. package/dist/esm/calcite-filter.entry.js +8 -8
  739. package/dist/esm/calcite-flow.entry.js +4 -4
  740. package/dist/esm/calcite-graph_2.entry.js +11 -11
  741. package/dist/esm/calcite-handle.entry.js +5 -5
  742. package/dist/esm/calcite-icon.entry.js +6 -6
  743. package/dist/esm/calcite-inline-editable.entry.js +24 -24
  744. package/dist/esm/calcite-input-date-picker.entry.js +119 -98
  745. package/dist/esm/calcite-input-message.entry.js +5 -5
  746. package/dist/esm/calcite-input-number.entry.js +521 -0
  747. package/dist/esm/calcite-input-time-picker_2.entry.js +36 -27
  748. package/dist/esm/calcite-input.entry.js +14 -20
  749. package/dist/esm/calcite-label.entry.js +6 -6
  750. package/dist/esm/calcite-link.entry.js +6 -6
  751. package/dist/esm/calcite-list_3.entry.js +11 -11
  752. package/dist/esm/calcite-loader.entry.js +9 -5
  753. package/dist/esm/calcite-modal.entry.js +44 -16
  754. package/dist/esm/calcite-notice.entry.js +37 -12
  755. package/dist/esm/calcite-option_3.entry.js +11 -11
  756. package/dist/esm/calcite-pagination.entry.js +6 -6
  757. package/dist/esm/calcite-panel.entry.js +54 -23
  758. package/dist/esm/calcite-pick-list_3.entry.js +14 -14
  759. package/dist/esm/calcite-popover_2.entry.js +70 -80
  760. package/dist/esm/calcite-progress.entry.js +3 -3
  761. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  762. package/dist/esm/calcite-radio-button.entry.js +10 -10
  763. package/dist/esm/calcite-radio-group_2.entry.js +9 -9
  764. package/dist/esm/calcite-rating.entry.js +9 -9
  765. package/dist/esm/calcite-scrim.entry.js +3 -3
  766. package/dist/esm/calcite-shell_3.entry.js +10 -10
  767. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  768. package/dist/esm/calcite-split-button.entry.js +7 -7
  769. package/dist/esm/calcite-stepper_2.entry.js +51 -84
  770. package/dist/esm/calcite-switch.entry.js +11 -13
  771. package/dist/esm/calcite-tab_4.entry.js +61 -61
  772. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  773. package/dist/esm/calcite-tile.entry.js +8 -8
  774. package/dist/esm/calcite-tip_3.entry.js +12 -12
  775. package/dist/esm/calcite-tooltip_2.entry.js +30 -63
  776. package/dist/esm/calcite-tree_2.entry.js +28 -28
  777. package/dist/esm/calcite-value-list_2.entry.js +89 -24
  778. package/dist/esm/calcite.js +4 -4
  779. package/dist/esm/{conditionalSlot-91141c10.js → conditionalSlot-e49df07c.js} +3 -3
  780. package/dist/esm/{debounce-8620d992.js → debounce-76a1065a.js} +1 -1
  781. package/dist/esm/{dom-0e5130f0.js → dom-19ab3d2f.js} +2 -2
  782. package/dist/esm/floating-ui-4afc064e.js +1612 -0
  783. package/dist/esm/{forIn-908ce382.js → forIn-1c3a0d8e.js} +2 -2
  784. package/dist/esm/{form-44145a77.js → form-ecbc6fec.js} +3 -3
  785. package/dist/esm/{guid-035850cf.js → guid-ba74e5d4.js} +1 -1
  786. package/dist/esm/{index-7daa7f57.js → index-5048a317.js} +12 -1
  787. package/dist/esm/index.js +1 -1
  788. package/dist/esm/{interactive-26697f71.js → interactive-71744e3e.js} +1 -1
  789. package/dist/esm/{interfaces-666dcdb6.js → interfaces-e771f6c8.js} +1 -1
  790. package/dist/esm/{key-5106532f.js → key-af81a004.js} +1 -1
  791. package/dist/esm/{label-e58bd849.js → label-dfcfa9e0.js} +2 -2
  792. package/dist/esm/loader.js +4 -4
  793. package/dist/esm/{locale-bd54ff3b.js → locale-ab6b5afc.js} +2 -2
  794. package/dist/esm/{math-28a370c3.js → math-a5e24a73.js} +1 -1
  795. package/dist/esm/{observers-5cd6c82a.js → observers-61a2bb4f.js} +1 -1
  796. package/dist/esm/{resources-d196b6c1.js → resources-566ead7b.js} +12 -7
  797. package/dist/esm/{resources-b9270cdb.js → resources-9348154b.js} +1 -1
  798. package/dist/esm/{resources-3498bd44.js → resources-c995bb5e.js} +3 -3
  799. package/dist/esm/{resources-daaebdea.js → resources-e1d5ca1c.js} +1 -1
  800. package/dist/esm/{sortable.esm-ef18907c.js → sortable.esm-d0f38173.js} +1 -1
  801. package/dist/esm/{utils-cf3669f8.js → utils-531de8fa.js} +1 -1
  802. package/dist/esm-es5/{ExpandToggle-baf2c551.js → ExpandToggle-8ad8aac0.js} +2 -2
  803. package/dist/esm-es5/{Heading-1183c4d7.js → Heading-4d9f4f89.js} +2 -2
  804. package/dist/esm-es5/{array-d7b2d2da.js → array-c38e9698.js} +1 -1
  805. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  806. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  807. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  808. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  809. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  810. package/dist/esm-es5/calcite-action.entry.js +2 -2
  811. package/dist/esm-es5/calcite-alert.entry.js +3 -3
  812. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  813. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  814. package/dist/esm-es5/calcite-button.entry.js +2 -2
  815. package/dist/esm-es5/calcite-card.entry.js +2 -2
  816. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  817. package/dist/esm-es5/calcite-chip.entry.js +3 -3
  818. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  819. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  820. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  821. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
  822. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  823. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  824. package/dist/esm-es5/calcite-flow.entry.js +3 -3
  825. package/dist/esm-es5/calcite-graph_2.entry.js +3 -3
  826. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  827. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  828. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  829. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  830. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  831. package/dist/esm-es5/calcite-input-number.entry.js +6 -0
  832. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  833. package/dist/esm-es5/calcite-input.entry.js +2 -2
  834. package/dist/esm-es5/calcite-label.entry.js +2 -2
  835. package/dist/esm-es5/calcite-link.entry.js +2 -2
  836. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  837. package/dist/esm-es5/calcite-loader.entry.js +3 -3
  838. package/dist/esm-es5/calcite-modal.entry.js +3 -3
  839. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  840. package/dist/esm-es5/calcite-option_3.entry.js +3 -3
  841. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  842. package/dist/esm-es5/calcite-panel.entry.js +3 -3
  843. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  844. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  845. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  846. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  847. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  848. package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
  849. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  850. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  851. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  852. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  853. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  854. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  855. package/dist/esm-es5/calcite-switch.entry.js +3 -3
  856. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  857. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  858. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  859. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  860. package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
  861. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  862. package/dist/esm-es5/calcite-value-list_2.entry.js +3 -3
  863. package/dist/esm-es5/calcite.js +2 -2
  864. package/dist/esm-es5/{conditionalSlot-91141c10.js → conditionalSlot-e49df07c.js} +2 -2
  865. package/dist/esm-es5/{debounce-8620d992.js → debounce-76a1065a.js} +1 -1
  866. package/dist/esm-es5/{dom-0e5130f0.js → dom-19ab3d2f.js} +2 -2
  867. package/dist/esm-es5/floating-ui-4afc064e.js +6 -0
  868. package/dist/esm-es5/{forIn-908ce382.js → forIn-1c3a0d8e.js} +2 -2
  869. package/dist/esm-es5/{form-44145a77.js → form-ecbc6fec.js} +2 -2
  870. package/dist/esm-es5/{guid-035850cf.js → guid-ba74e5d4.js} +1 -1
  871. package/dist/esm-es5/index-5048a317.js +7 -0
  872. package/dist/esm-es5/index.js +1 -1
  873. package/dist/esm-es5/{interactive-26697f71.js → interactive-71744e3e.js} +1 -1
  874. package/dist/esm-es5/{interfaces-666dcdb6.js → interfaces-e771f6c8.js} +1 -1
  875. package/dist/esm-es5/{key-5106532f.js → key-af81a004.js} +1 -1
  876. package/dist/esm-es5/{label-e58bd849.js → label-dfcfa9e0.js} +2 -2
  877. package/dist/esm-es5/loader.js +2 -2
  878. package/dist/esm-es5/{locale-bd54ff3b.js → locale-ab6b5afc.js} +2 -2
  879. package/dist/esm-es5/{math-28a370c3.js → math-a5e24a73.js} +1 -1
  880. package/dist/esm-es5/{observers-5cd6c82a.js → observers-61a2bb4f.js} +1 -1
  881. package/dist/esm-es5/resources-566ead7b.js +6 -0
  882. package/dist/esm-es5/{resources-b9270cdb.js → resources-9348154b.js} +1 -1
  883. package/dist/esm-es5/{resources-3498bd44.js → resources-c995bb5e.js} +2 -2
  884. package/dist/esm-es5/{resources-daaebdea.js → resources-e1d5ca1c.js} +1 -1
  885. package/dist/esm-es5/{sortable.esm-ef18907c.js → sortable.esm-d0f38173.js} +1 -1
  886. package/dist/esm-es5/{utils-cf3669f8.js → utils-531de8fa.js} +1 -1
  887. package/dist/extras/docs-json.json +1221 -209
  888. package/dist/loader/cdn.js +1 -1
  889. package/dist/loader/index.cjs.js +1 -1
  890. package/dist/loader/index.es2017.js +1 -1
  891. package/dist/loader/index.js +1 -1
  892. package/dist/types/components/accordion/accordion.d.ts +4 -4
  893. package/dist/types/components/accordion/interfaces.d.ts +3 -0
  894. package/dist/types/components/accordion-item/accordion-item.d.ts +13 -7
  895. package/dist/types/components/accordion-item/interfaces.d.ts +11 -0
  896. package/dist/types/components/accordion-item/resources.d.ts +16 -0
  897. package/dist/types/components/action/action.d.ts +1 -1
  898. package/dist/types/components/action-bar/action-bar.d.ts +1 -1
  899. package/dist/types/components/action-group/action-group.d.ts +2 -1
  900. package/dist/types/components/action-menu/action-menu.d.ts +8 -8
  901. package/dist/types/components/action-pad/action-pad.d.ts +1 -1
  902. package/dist/types/components/alert/alert.d.ts +20 -24
  903. package/dist/types/components/alert/interfaces.d.ts +3 -0
  904. package/dist/types/components/block/block.d.ts +6 -2
  905. package/dist/types/components/block-section/block-section.d.ts +1 -1
  906. package/dist/types/components/card/card.d.ts +1 -1
  907. package/dist/types/components/checkbox/checkbox.d.ts +3 -3
  908. package/dist/types/components/chip/chip.d.ts +14 -4
  909. package/dist/types/components/color-picker/color-picker.d.ts +2 -2
  910. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -1
  911. package/dist/types/components/combobox/combobox.d.ts +25 -28
  912. package/dist/types/components/combobox-item/combobox-item.d.ts +4 -2
  913. package/dist/types/components/date-picker/date-picker.d.ts +5 -5
  914. package/dist/types/components/date-picker-day/date-picker-day.d.ts +3 -3
  915. package/dist/types/components/date-picker-month/date-picker-month.d.ts +7 -7
  916. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +1 -1
  917. package/dist/types/components/dropdown/dropdown.d.ts +27 -31
  918. package/dist/types/components/dropdown-group/dropdown-group.d.ts +2 -2
  919. package/dist/types/components/dropdown-group/interfaces.d.ts +4 -0
  920. package/dist/types/components/dropdown-item/dropdown-item.d.ts +4 -3
  921. package/dist/types/components/handle/handle.d.ts +4 -1
  922. package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
  923. package/dist/types/components/input/input.d.ts +6 -4
  924. package/dist/types/components/input-date-picker/input-date-picker.d.ts +44 -27
  925. package/dist/types/components/input-date-picker/resources.d.ts +4 -0
  926. package/dist/types/components/input-number/input-number.d.ts +218 -0
  927. package/dist/types/components/input-number/interfaces.d.ts +1 -0
  928. package/dist/types/components/input-number/resources.d.ts +22 -0
  929. package/dist/types/components/input-time-picker/input-time-picker.d.ts +11 -6
  930. package/dist/types/components/interfaces.d.ts +1 -0
  931. package/dist/types/components/loader/loader.d.ts +5 -1
  932. package/dist/types/components/modal/modal.d.ts +23 -7
  933. package/dist/types/components/notice/notice.d.ts +22 -5
  934. package/dist/types/components/panel/panel.d.ts +20 -9
  935. package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
  936. package/dist/types/components/pick-list/shared-list-render.d.ts +2 -0
  937. package/dist/types/components/popover/PopoverManager.d.ts +1 -1
  938. package/dist/types/components/popover/popover.d.ts +28 -15
  939. package/dist/types/components/radio-button/radio-button.d.ts +4 -4
  940. package/dist/types/components/radio-button-group/radio-button-group.d.ts +1 -1
  941. package/dist/types/components/radio-group-item/radio-group-item.d.ts +1 -1
  942. package/dist/types/components/shell-panel/shell-panel.d.ts +1 -1
  943. package/dist/types/components/slider/slider.d.ts +3 -3
  944. package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
  945. package/dist/types/components/split-button/split-button.d.ts +14 -6
  946. package/dist/types/components/stepper/interfaces.d.ts +0 -1
  947. package/dist/types/components/stepper/stepper.d.ts +4 -13
  948. package/dist/types/components/stepper-item/stepper-item.d.ts +2 -2
  949. package/dist/types/components/switch/switch.d.ts +5 -3
  950. package/dist/types/components/tab/tab.d.ts +1 -1
  951. package/dist/types/components/tab-nav/tab-nav.d.ts +7 -7
  952. package/dist/types/components/tab-title/tab-title.d.ts +3 -3
  953. package/dist/types/components/tabs/tabs.d.ts +8 -8
  954. package/dist/types/components/tile-select/tile-select.d.ts +1 -1
  955. package/dist/types/components/tip/tip.d.ts +1 -1
  956. package/dist/types/components/tip-manager/tip-manager.d.ts +3 -3
  957. package/dist/types/components/tooltip/TooltipManager.d.ts +1 -1
  958. package/dist/types/components/tooltip/tooltip.d.ts +6 -9
  959. package/dist/types/components/tree/tree.d.ts +2 -2
  960. package/dist/types/components/tree-item/tree-item.d.ts +2 -2
  961. package/dist/types/components/value-list/interfaces.d.ts +1 -0
  962. package/dist/types/components/value-list/utils.d.ts +8 -0
  963. package/dist/types/components/value-list/value-list.d.ts +30 -0
  964. package/dist/types/components.d.ts +602 -120
  965. package/dist/types/preact.d.ts +22 -9
  966. package/dist/types/utils/floating-ui.d.ts +109 -0
  967. package/hydrate/index.js +3144 -2905
  968. package/package.json +37 -33
  969. package/readme.md +2 -2
  970. package/dist/calcite/p-00247a8d.system.js +0 -7
  971. package/dist/calcite/p-02bb8194.entry.js +0 -6
  972. package/dist/calcite/p-061aea88.entry.js +0 -6
  973. package/dist/calcite/p-114d44c3.entry.js +0 -6
  974. package/dist/calcite/p-1363adcd.entry.js +0 -6
  975. package/dist/calcite/p-13d66ebf.entry.js +0 -6
  976. package/dist/calcite/p-14a22bfc.system.entry.js +0 -6
  977. package/dist/calcite/p-16888553.system.entry.js +0 -6
  978. package/dist/calcite/p-16dbdef2.system.entry.js +0 -6
  979. package/dist/calcite/p-1adea169.system.entry.js +0 -6
  980. package/dist/calcite/p-1db25c99.system.entry.js +0 -6
  981. package/dist/calcite/p-204443b0.system.entry.js +0 -6
  982. package/dist/calcite/p-236f1255.system.entry.js +0 -6
  983. package/dist/calcite/p-24d52a72.entry.js +0 -6
  984. package/dist/calcite/p-25349c89.system.entry.js +0 -6
  985. package/dist/calcite/p-278c8372.entry.js +0 -6
  986. package/dist/calcite/p-282106cb.system.js +0 -6
  987. package/dist/calcite/p-2b531882.entry.js +0 -6
  988. package/dist/calcite/p-30256458.entry.js +0 -6
  989. package/dist/calcite/p-34e0b58b.js +0 -6
  990. package/dist/calcite/p-352b94a1.system.entry.js +0 -6
  991. package/dist/calcite/p-3d2eebab.system.entry.js +0 -6
  992. package/dist/calcite/p-4185af29.entry.js +0 -6
  993. package/dist/calcite/p-4196e498.system.js +0 -6
  994. package/dist/calcite/p-41cbf505.system.entry.js +0 -6
  995. package/dist/calcite/p-438d87b0.entry.js +0 -6
  996. package/dist/calcite/p-448b3393.system.entry.js +0 -6
  997. package/dist/calcite/p-45588eee.system.entry.js +0 -6
  998. package/dist/calcite/p-49488c34.entry.js +0 -6
  999. package/dist/calcite/p-4b414b81.entry.js +0 -6
  1000. package/dist/calcite/p-4eb531c4.js +0 -7
  1001. package/dist/calcite/p-4f1dbd36.system.entry.js +0 -6
  1002. package/dist/calcite/p-51ffb552.system.entry.js +0 -6
  1003. package/dist/calcite/p-56f93049.js +0 -6
  1004. package/dist/calcite/p-57b60838.entry.js +0 -6
  1005. package/dist/calcite/p-594f52ca.system.entry.js +0 -6
  1006. package/dist/calcite/p-67a0e692.system.entry.js +0 -6
  1007. package/dist/calcite/p-6a554714.entry.js +0 -6
  1008. package/dist/calcite/p-6cff0a2a.entry.js +0 -6
  1009. package/dist/calcite/p-6d96d61f.system.js +0 -6
  1010. package/dist/calcite/p-6e366971.system.entry.js +0 -6
  1011. package/dist/calcite/p-70e1d287.system.entry.js +0 -6
  1012. package/dist/calcite/p-7168da40.entry.js +0 -6
  1013. package/dist/calcite/p-77bc0e49.entry.js +0 -6
  1014. package/dist/calcite/p-7c7ad2d6.entry.js +0 -6
  1015. package/dist/calcite/p-7cc3d924.system.entry.js +0 -6
  1016. package/dist/calcite/p-7ede3d65.system.entry.js +0 -6
  1017. package/dist/calcite/p-8018d689.system.entry.js +0 -6
  1018. package/dist/calcite/p-8137bc05.entry.js +0 -6
  1019. package/dist/calcite/p-82dec536.system.entry.js +0 -6
  1020. package/dist/calcite/p-88d2d38a.entry.js +0 -6
  1021. package/dist/calcite/p-890cc5a8.system.entry.js +0 -6
  1022. package/dist/calcite/p-891e53dd.system.entry.js +0 -6
  1023. package/dist/calcite/p-8c25b934.entry.js +0 -6
  1024. package/dist/calcite/p-8c9e453c.js +0 -6
  1025. package/dist/calcite/p-90608473.entry.js +0 -6
  1026. package/dist/calcite/p-974b7008.system.entry.js +0 -6
  1027. package/dist/calcite/p-98a2aa34.entry.js +0 -6
  1028. package/dist/calcite/p-98dfd14b.system.entry.js +0 -6
  1029. package/dist/calcite/p-99551007.system.entry.js +0 -6
  1030. package/dist/calcite/p-9c5c3cb3.system.entry.js +0 -6
  1031. package/dist/calcite/p-9c80707e.system.js +0 -6
  1032. package/dist/calcite/p-9f13e930.entry.js +0 -6
  1033. package/dist/calcite/p-a0971f99.entry.js +0 -6
  1034. package/dist/calcite/p-a1208386.entry.js +0 -6
  1035. package/dist/calcite/p-a1cc6421.entry.js +0 -6
  1036. package/dist/calcite/p-a6e1e1e4.entry.js +0 -6
  1037. package/dist/calcite/p-b2f27af5.entry.js +0 -6
  1038. package/dist/calcite/p-b31d3dad.system.entry.js +0 -6
  1039. package/dist/calcite/p-b3a4497d.entry.js +0 -6
  1040. package/dist/calcite/p-b48feb98.system.entry.js +0 -6
  1041. package/dist/calcite/p-bc5a7fee.system.entry.js +0 -6
  1042. package/dist/calcite/p-bce5ab4f.system.entry.js +0 -6
  1043. package/dist/calcite/p-c78d1678.system.entry.js +0 -6
  1044. package/dist/calcite/p-c9d73fce.system.entry.js +0 -6
  1045. package/dist/calcite/p-ccf1e5d8.entry.js +0 -6
  1046. package/dist/calcite/p-ce34288b.entry.js +0 -6
  1047. package/dist/calcite/p-d48cc6d2.entry.js +0 -6
  1048. package/dist/calcite/p-d4f596f2.entry.js +0 -6
  1049. package/dist/calcite/p-dd1e12e4.system.entry.js +0 -6
  1050. package/dist/calcite/p-e5381e40.system.entry.js +0 -6
  1051. package/dist/calcite/p-e6578cf2.system.entry.js +0 -6
  1052. package/dist/calcite/p-e78d93ed.entry.js +0 -6
  1053. package/dist/calcite/p-e7b4e5b8.system.entry.js +0 -6
  1054. package/dist/calcite/p-e956598c.system.entry.js +0 -6
  1055. package/dist/calcite/p-e9c9fb33.system.entry.js +0 -6
  1056. package/dist/calcite/p-ebb71e37.system.entry.js +0 -6
  1057. package/dist/calcite/p-ebeb09f0.system.entry.js +0 -6
  1058. package/dist/calcite/p-eccc820a.entry.js +0 -6
  1059. package/dist/calcite/p-eceb3f95.system.entry.js +0 -6
  1060. package/dist/calcite/p-ee60b60f.system.entry.js +0 -6
  1061. package/dist/calcite/p-f14e0497.system.entry.js +0 -6
  1062. package/dist/calcite/p-f2384caf.entry.js +0 -6
  1063. package/dist/calcite/p-f537a6a5.entry.js +0 -6
  1064. package/dist/calcite/p-fb97a373.system.entry.js +0 -6
  1065. package/dist/calcite/p-fc6a158c.system.entry.js +0 -6
  1066. package/dist/calcite/p-fca56e68.system.entry.js +0 -6
  1067. package/dist/cjs/popper-46476990.js +0 -1876
  1068. package/dist/collection/utils/popper.js +0 -126
  1069. package/dist/components/popper.js +0 -1868
  1070. package/dist/esm/popper-1df5bd76.js +0 -1868
  1071. package/dist/esm-es5/index-7daa7f57.js +0 -7
  1072. package/dist/esm-es5/popper-1df5bd76.js +0 -6
  1073. package/dist/esm-es5/resources-d196b6c1.js +0 -6
  1074. package/dist/types/utils/popper.d.ts +0 -35
@@ -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-beta.84
4
+ * v1.0.0-beta.87
5
5
  */
6
- System.register(["./p-2ce10f9a.system.js"],(function(t){"use strict";var r;return{setters:[function(t){r=t.n}],execute:function(){t({d:D,g:w,i:o,l:A,p:c,s:v});var e=/^([-0])0+(?=\d)/;var n=/(?!^\.)\.$/;var i=/(?!^-)-/g;var u=/^-\b0\b\.?0*$/;var a=function(){function t(r){if(r instanceof t){return r}var e=String(r).split(".").concat(""),n=e[0],i=e[1];this.value=BigInt(n+i.padEnd(t.DECIMALS,"0").slice(0,t.DECIMALS))+BigInt(t.ROUNDED&&i[t.DECIMALS]>="5");this.isNegative=r.charAt(0)==="-"}t._divRound=function(r,e){return t.fromBigInt(r/e+(t.ROUNDED?r*BigInt(2)/e%BigInt(2):BigInt(0)))};t.fromBigInt=function(r){return Object.assign(Object.create(t.prototype),{value:r})};t.prototype.toString=function(){var r=this.value.toString().replace(new RegExp("-","g"),"").padStart(t.DECIMALS+1,"0");var e=r.slice(0,-t.DECIMALS);var n=r.slice(-t.DECIMALS).replace(/\.?0+$/,"");var i=e.concat(n.length?"."+n:"");return(this.isNegative?"-":"").concat(i)};t.prototype.formatToParts=function(r,e){var n=y(r,e);var i=this.value.toString().replace(new RegExp("-","g"),"").padStart(t.DECIMALS+1,"0");var u=i.slice(0,-t.DECIMALS);var a=i.slice(-t.DECIMALS).replace(/\.?0+$/,"");var o=n.formatToParts(BigInt(u));this.isNegative&&o.unshift({type:"minusSign",value:b(r)});if(a.length){o.push({type:"decimal",value:w(r)});a.split("").forEach((function(t){return o.push({type:"fraction",value:t})}))}return o};t.prototype.add=function(r){return t.fromBigInt(this.value+new t(r).value)};t.prototype.subtract=function(r){return t.fromBigInt(this.value-new t(r).value)};t.prototype.multiply=function(r){return t._divRound(this.value*new t(r).value,t.SHIFT)};t.prototype.divide=function(r){return t._divRound(this.value*t.SHIFT,new t(r).value)};return t}();a.DECIMALS=100;a.ROUNDED=true;a.SHIFT=BigInt("1"+"0".repeat(a.DECIMALS));function o(t){return!(!t||isNaN(Number(t)))}function c(t){if(!t||!g(t)){return""}return p(t,(function(t){var e=false;var n=t.split("").filter((function(t,n){if(t.match(/\./g)&&!e){e=true;return true}if(t.match(/\-/g)&&n===0){return true}return r.includes(t)})).reduce((function(t,r){return t+r}));return o(n)?new a(n).toString():""}))}function f(t){return t.replace(n,"")}function s(t){return t.replace(i,"")}function l(t){return t.replace(e,"$1")}function v(t){return p(t,(function(t){var r=s(f(l(t)));return o(r)?u.test(r)?r:new a(r).toString():t}))}function p(t,r){if(!t){return t}var e=t.toLowerCase().indexOf("e")+1;return t.replace(/[eE]*$/g,"").substring(0,e).concat(t.slice(e).replace(/[eE]/g,"")).split(/[eE]/).map((function(t,e){return e===1?r(t.replace(/\./g,"")):r(t)})).join("e").replace(/^e/,"1e")}function g(t){return r.some((function(r){return t.includes(r)}))}var m=t("a",["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]);var d=new RegExp("[.](?=.*[.])","g");var h=new RegExp("[^0-9-.]","g");var S=new RegExp(",","g");var I=(new Intl.NumberFormat).resolvedOptions().numberingSystem;var E=I==="arab"?"latn":I;function y(t,r){if(r===void 0){r=E}return new Intl.NumberFormat(t,{minimumFractionDigits:0,maximumFractionDigits:20,numberingSystem:r})}function D(t,r){return p(t,(function(t){var e=t.replace(b(r),"-").replace(C(r),"").replace(w(r),".").replace(d,"").replace(h,"");return o(e)?e:t}))}function C(t){var r=y(t);var e=r.formatToParts(1234567);var n=e.find((function(t){return t.type==="group"})).value;return n.trim().length===0?" ":n}function w(t){var r=y(t);var e=r.formatToParts(1.1);return e.find((function(t){return t.type==="decimal"})).value}function b(t){var r=y(t);var e=r.formatToParts(-9);return e.find((function(t){return t.type==="minusSign"})).value}function A(t,r,e,n){if(e===void 0){e=false}return p(t,(function(t){if(t){var i=f(t.replace(S,""));if(o(i)){var u=new a(i).formatToParts(r,n);var c=u.map((function(t){var n=t.type,i=t.value;switch(n){case"group":return e?C(r):"";case"decimal":return w(r);case"minusSign":return b(r);default:return i}})).reduce((function(t,r){return t+r}));return c}}return t}))}}}}));
6
+ System.register(["./p-a65a2b93.system.js"],(function(t){"use strict";var r;return{setters:[function(t){r=t.n}],execute:function(){t({d:D,g:b,i:o,l:A,p:c,s:v});var e=/^([-0])0+(?=\d)/;var n=/(?!^\.)\.$/;var i=/(?!^-)-/g;var u=/^-\b0\b\.?0*$/;var a=function(){function t(r){if(r instanceof t){return r}var e=String(r).split(".").concat(""),n=e[0],i=e[1];this.value=BigInt(n+i.padEnd(t.DECIMALS,"0").slice(0,t.DECIMALS))+BigInt(t.ROUNDED&&i[t.DECIMALS]>="5");this.isNegative=r.charAt(0)==="-"}t._divRound=function(r,e){return t.fromBigInt(r/e+(t.ROUNDED?r*BigInt(2)/e%BigInt(2):BigInt(0)))};t.fromBigInt=function(r){return Object.assign(Object.create(t.prototype),{value:r})};t.prototype.toString=function(){var r=this.value.toString().replace(new RegExp("-","g"),"").padStart(t.DECIMALS+1,"0");var e=r.slice(0,-t.DECIMALS);var n=r.slice(-t.DECIMALS).replace(/\.?0+$/,"");var i=e.concat(n.length?"."+n:"");return(this.isNegative?"-":"").concat(i)};t.prototype.formatToParts=function(r,e){var n=y(r,e);var i=this.value.toString().replace(new RegExp("-","g"),"").padStart(t.DECIMALS+1,"0");var u=i.slice(0,-t.DECIMALS);var a=i.slice(-t.DECIMALS).replace(/\.?0+$/,"");var o=n.formatToParts(BigInt(u));this.isNegative&&o.unshift({type:"minusSign",value:w(r)});if(a.length){o.push({type:"decimal",value:b(r)});a.split("").forEach((function(t){return o.push({type:"fraction",value:t})}))}return o};t.prototype.add=function(r){return t.fromBigInt(this.value+new t(r).value)};t.prototype.subtract=function(r){return t.fromBigInt(this.value-new t(r).value)};t.prototype.multiply=function(r){return t._divRound(this.value*new t(r).value,t.SHIFT)};t.prototype.divide=function(r){return t._divRound(this.value*t.SHIFT,new t(r).value)};return t}();a.DECIMALS=100;a.ROUNDED=true;a.SHIFT=BigInt("1"+"0".repeat(a.DECIMALS));function o(t){return!(!t||isNaN(Number(t)))}function c(t){if(!t||!g(t)){return""}return p(t,(function(t){var e=false;var n=t.split("").filter((function(t,n){if(t.match(/\./g)&&!e){e=true;return true}if(t.match(/\-/g)&&n===0){return true}return r.includes(t)})).reduce((function(t,r){return t+r}));return o(n)?new a(n).toString():""}))}function s(t){return t.replace(n,"")}function f(t){return t.replace(i,"")}function l(t){return t.replace(e,"$1")}function v(t){return p(t,(function(t){var r=f(s(l(t)));return o(r)?u.test(r)?r:new a(r).toString():t}))}function p(t,r){if(!t){return t}var e=t.toLowerCase().indexOf("e")+1;return t.replace(/[eE]*$/g,"").substring(0,e).concat(t.slice(e).replace(/[eE]/g,"")).split(/[eE]/).map((function(t,e){return e===1?r(t.replace(/\./g,"")):r(t)})).join("e").replace(/^e/,"1e")}function g(t){return r.some((function(r){return t.includes(r)}))}var m=t("a",["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]);var d=new RegExp("[.](?=.*[.])","g");var h=new RegExp("[^0-9-.]","g");var S=new RegExp(",","g");var I=(new Intl.NumberFormat).resolvedOptions().numberingSystem;var E=I==="arab"?"latn":I;function y(t,r){if(r===void 0){r=E}return new Intl.NumberFormat(t,{minimumFractionDigits:0,maximumFractionDigits:20,numberingSystem:r})}function D(t,r){return p(t,(function(t){var e=t.replace(w(r),"-").replace(C(r),"").replace(b(r),".").replace(d,"").replace(h,"");return o(e)?e:t}))}function C(t){var r=y(t);var e=r.formatToParts(1234567);var n=e.find((function(t){return t.type==="group"})).value;return n.trim().length===0?" ":n}function b(t){var r=y(t);var e=r.formatToParts(1.1);return e.find((function(t){return t.type==="decimal"})).value}function w(t){var r=y(t);var e=r.formatToParts(-9);return e.find((function(t){return t.type==="minusSign"})).value}function A(t,r,e,n){if(e===void 0){e=false}return p(t,(function(t){if(t){var i=s(t.replace(S,""));if(o(i)){var u=new a(i).formatToParts(r,n);var c=u.map((function(t){var n=t.type,i=t.value;switch(n){case"group":return e?C(r):"";case"decimal":return b(r);case"minusSign":return w(r);default:return i}})).reduce((function(t,r){return t+r}));return c}}return t}))}}}}));
@@ -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-beta.84
4
+ * v1.0.0-beta.87
5
5
  */
6
- import{r as t,c as i,h as a,F as n,g as e}from"./p-4eb531c4.js";import{g as s}from"./p-df26aab6.js";import{c as o,d as r}from"./p-dca64e20.js";import{c as l,d as c,H as m}from"./p-74153f82.js";import{u as p}from"./p-ca1b7a2e.js";import{i as d}from"./p-bb1711f3.js";import"./p-4f9ce175.js";const h=class{constructor(a){t(this,a),this.calciteRatingChange=i(this,"calciteRatingChange",7),this.scale="m",this.value=0,this.readOnly=!1,this.disabled=!1,this.showChip=!1,this.intlRating="Rating",this.intlStars="Stars: ${num}",this.required=!1,this.onKeyboardPressed=t=>{!this.required&&d(t.key)&&(t.preventDefault(),this.updateValue(0))},this.onFocusChange=t=>{this.hasFocus=!0,this.required||this.focusValue!==t?this.focusValue=t:this.updateValue(0)},this.guid=`calcite-ratings-${s()}`}connectedCallback(){o(this),l(this)}disconnectedCallback(){r(this),c(this)}componentDidRender(){p(this)}blurHandler(){this.hasFocus=!1}renderStars(){return[1,2,3,4,5].map((t=>{const i=this.value>=t,n=this.average&&!this.value&&t<=this.average,e=t<=this.hoverValue,s=this.average&&this.average+1-t,o=!this.value&&!e&&s>0&&s<1;return a("span",{class:{wrapper:!0}},a("label",{class:{star:!0,focused:this.hasFocus&&this.focusValue===t,selected:i,average:n,hovered:e,partial:o},htmlFor:`${this.guid}-${t}`,onMouseOver:()=>{this.hoverValue=t}},a("calcite-icon",{"aria-hidden":"true",class:"icon",icon:i||n||this.readOnly?"star-f":"star",scale:this.scale}),o&&a("div",{class:"fraction",style:{width:100*s+"%"}},a("calcite-icon",{icon:"star-f",scale:this.scale})),a("span",{class:"visually-hidden"},this.intlStars.replace("${num}",`${t}`))),a("input",{checked:t===this.value,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:`${this.guid}-${t}`,name:this.guid,onChange:()=>this.updateValue(t),onClick:t=>t.stopPropagation(),onFocus:()=>this.onFocusChange(t),onKeyDown:this.onKeyboardPressed,ref:i=>(1===t||t===this.value)&&(this.inputFocusRef=i),type:"radio",value:t}))}))}render(){const{disabled:t,intlRating:i,showChip:e,scale:s,count:o,average:r}=this;return a(n,null,a("fieldset",{class:"fieldset",disabled:t,onBlur:()=>this.hoverValue=null,onMouseLeave:()=>this.hoverValue=null,onTouchEnd:()=>this.hoverValue=null},a("legend",{class:"visually-hidden"},i),this.renderStars()),(o||r)&&e?a("calcite-chip",{scale:s,value:null==o?void 0:o.toString()},!!r&&a("span",{class:"number--average"},r.toString()),!!o&&a("span",{class:"number--count"},"(",null==o?void 0:o.toString(),")")):null,a(m,{component:this}))}onLabelClick(){this.setFocus()}updateValue(t){this.value=t,this.calciteRatingChange.emit({value:t})}async setFocus(){var t;null===(t=this.inputFocusRef)||void 0===t||t.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content}: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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){height:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){height:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){height:2.75rem;--calcite-rating-spacing-unit:0.75rem}:host([read-only]){pointer-events:none}.fieldset{margin:0px;display:-ms-flexbox;display:flex;border-width:0px;padding:0px}.wrapper{display:inline-block;-webkit-margin-end:var(--calcite-rating-spacing-unit);margin-inline-end:var(--calcite-rating-spacing-unit)}.star{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-input)}.focused{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected,:host([read-only]) .average,:host([read-only]) .fraction{color:var(--calcite-ui-brand)}:host .fraction{pointer-events:none;position:absolute;top:0px;overflow:hidden;-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;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:var(--calcite-font-weight-bold)}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){-webkit-margin-start:var(--calcite-rating-spacing-unit);margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{h as calcite_rating}
6
+ import{r as t,c as i,h as a,F as n,g as e}from"./p-c44fe786.js";import{g as s}from"./p-292b7dab.js";import{c as o,d as r}from"./p-61379359.js";import{c as l,d as c,H as m}from"./p-1647d422.js";import{u as d}from"./p-87b06a4a.js";import{i as p}from"./p-f4b01f6e.js";import"./p-5e5bb0fe.js";const h=class{constructor(a){t(this,a),this.calciteRatingChange=i(this,"calciteRatingChange",7),this.scale="m",this.value=0,this.readOnly=!1,this.disabled=!1,this.showChip=!1,this.intlRating="Rating",this.intlStars="Stars: ${num}",this.required=!1,this.onKeyboardPressed=t=>{!this.required&&p(t.key)&&(t.preventDefault(),this.updateValue(0))},this.onFocusChange=t=>{this.hasFocus=!0,this.required||this.focusValue!==t?this.focusValue=t:this.updateValue(0)},this.guid=`calcite-ratings-${s()}`}connectedCallback(){o(this),l(this)}disconnectedCallback(){r(this),c(this)}componentDidRender(){d(this)}blurHandler(){this.hasFocus=!1}renderStars(){return[1,2,3,4,5].map((t=>{const i=this.value>=t,n=this.average&&!this.value&&t<=this.average,e=t<=this.hoverValue,s=this.average&&this.average+1-t,o=!this.value&&!e&&s>0&&s<1;return a("span",{class:{wrapper:!0}},a("label",{class:{star:!0,focused:this.hasFocus&&this.focusValue===t,selected:i,average:n,hovered:e,partial:o},htmlFor:`${this.guid}-${t}`,onMouseOver:()=>{this.hoverValue=t}},a("calcite-icon",{"aria-hidden":"true",class:"icon",icon:i||n||this.readOnly?"star-f":"star",scale:this.scale}),o&&a("div",{class:"fraction",style:{width:100*s+"%"}},a("calcite-icon",{icon:"star-f",scale:this.scale})),a("span",{class:"visually-hidden"},this.intlStars.replace("${num}",`${t}`))),a("input",{checked:t===this.value,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:`${this.guid}-${t}`,name:this.guid,onChange:()=>this.updateValue(t),onClick:t=>t.stopPropagation(),onFocus:()=>this.onFocusChange(t),onKeyDown:this.onKeyboardPressed,ref:i=>(1===t||t===this.value)&&(this.inputFocusRef=i),type:"radio",value:t}))}))}render(){const{disabled:t,intlRating:i,showChip:e,scale:s,count:o,average:r}=this;return a(n,null,a("fieldset",{class:"fieldset",disabled:t,onBlur:()=>this.hoverValue=null,onMouseLeave:()=>this.hoverValue=null,onTouchEnd:()=>this.hoverValue=null},a("legend",{class:"visually-hidden"},i),this.renderStars()),(o||r)&&e?a("calcite-chip",{scale:s,value:null==o?void 0:o.toString()},!!r&&a("span",{class:"number--average"},r.toString()),!!o&&a("span",{class:"number--count"},"(",null==o?void 0:o.toString(),")")):null,a(m,{component:this}))}onLabelClick(){this.setFocus()}updateValue(t){this.value=t,this.calciteRatingChange.emit({value:t})}async setFocus(){var t;null===(t=this.inputFocusRef)||void 0===t||t.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}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;inline-size:-moz-fit-content;inline-size:-webkit-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}:host([read-only]){pointer-events:none}.fieldset{margin:0px;display:-ms-flexbox;display:flex;border-width:0px;padding:0px}.wrapper{display:inline-block;-webkit-margin-end:var(--calcite-rating-spacing-unit);margin-inline-end:var(--calcite-rating-spacing-unit)}.star{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-input)}.focused{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected,:host([read-only]) .average,:host([read-only]) .fraction{color:var(--calcite-ui-brand)}:host .fraction{pointer-events:none;position:absolute;inset-block-start:0px;overflow:hidden;-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;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:var(--calcite-font-weight-bold)}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){-webkit-margin-start:var(--calcite-rating-spacing-unit);margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::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{h as calcite_rating}
@@ -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-beta.84
4
+ * v1.0.0-beta.87
5
5
  */
6
- System.register(["./p-e45d0fed.system.js"],(function(r){"use strict";var t,e,n,o,u;return{setters:[function(r){t=r.i;e=r.b;n=r.c;o=r.r;u=r.f}],execute:function(){r("f",Tr);var a=r("i",Array.isArray);function c(r){return r}var i="[object AsyncFunction]",f="[object Function]",b="[object GeneratorFunction]",l="[object Proxy]";function v(r){if(!t(r)){return false}var n=e(r);return n==f||n==b||n==i||n==l}var y=9007199254740991;var j=/^(?:0|[1-9]\d*)$/;function p(r,t){var e=typeof r;t=t==null?y:t;return!!t&&(e=="number"||e!="symbol"&&j.test(r))&&(r>-1&&r%1==0&&r<t)}var s=9007199254740991;function d(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=s}function m(r){return r!=null&&d(r.length)&&!v(r)}var A=Object.prototype;function h(r){var t=r&&r.constructor,e=typeof t=="function"&&t.prototype||A;return r===e}function g(r,t){var e=-1,n=Array(r);while(++e<r){n[e]=t(e)}return n}var O="[object Arguments]";function w(r){return n(r)&&e(r)==O}var F=Object.prototype;var x=F.hasOwnProperty;var T=F.propertyIsEnumerable;var B=w(function(){return arguments}())?w:function(r){return n(r)&&x.call(r,"callee")&&!T.call(r,"callee")};function I(){return false}var P=typeof r=="object"&&r&&!r.nodeType&&r;var S=P&&typeof module=="object"&&module&&!module.nodeType&&module;var U=S&&S.exports===P;var E=U?o.Buffer:undefined;var k=E?E.isBuffer:undefined;var q=k||I;var D="[object Arguments]",M="[object Array]",C="[object Boolean]",G="[object Date]",L="[object Error]",N="[object Function]",R="[object Map]",V="[object Number]",W="[object Object]",$="[object RegExp]",z="[object Set]",H="[object String]",J="[object WeakMap]";var K="[object ArrayBuffer]",Q="[object DataView]",X="[object Float32Array]",Y="[object Float64Array]",Z="[object Int8Array]",_="[object Int16Array]",rr="[object Int32Array]",tr="[object Uint8Array]",er="[object Uint8ClampedArray]",nr="[object Uint16Array]",or="[object Uint32Array]";var ur={};ur[X]=ur[Y]=ur[Z]=ur[_]=ur[rr]=ur[tr]=ur[er]=ur[nr]=ur[or]=true;ur[D]=ur[M]=ur[K]=ur[C]=ur[Q]=ur[G]=ur[L]=ur[N]=ur[R]=ur[V]=ur[W]=ur[$]=ur[z]=ur[H]=ur[J]=false;function ar(r){return n(r)&&d(r.length)&&!!ur[e(r)]}function cr(r){return function(t){return r(t)}}var ir=typeof r=="object"&&r&&!r.nodeType&&r;var fr=ir&&typeof module=="object"&&module&&!module.nodeType&&module;var br=fr&&fr.exports===ir;var lr=br&&u.process;var vr=function(){try{var r=fr&&fr.require&&fr.require("util").types;if(r){return r}return lr&&lr.binding&&lr.binding("util")}catch(r){}}();var yr=vr&&vr.isTypedArray;var jr=yr?cr(yr):ar;var pr=Object.prototype;var sr=pr.hasOwnProperty;function dr(r,t){var e=a(r),n=!e&&B(r),o=!e&&!n&&q(r),u=!e&&!n&&!o&&jr(r),c=e||n||o||u,i=c?g(r.length,String):[],f=i.length;for(var b in r){if((t||sr.call(r,b))&&!(c&&(b=="length"||o&&(b=="offset"||b=="parent")||u&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||p(b,f)))){i.push(b)}}return i}function mr(r){var t=[];if(r!=null){for(var e in Object(r)){t.push(e)}}return t}var Ar=Object.prototype;var hr=Ar.hasOwnProperty;function gr(r){if(!t(r)){return mr(r)}var e=h(r),n=[];for(var o in r){if(!(o=="constructor"&&(e||!hr.call(r,o)))){n.push(o)}}return n}function Or(r){return m(r)?dr(r,true):gr(r)}function wr(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 Fr=wr();function xr(r){return typeof r=="function"?r:c}function Tr(r,t){return r==null?r:Fr(r,xr(t),Or)}}}}));
6
+ System.register(["./p-99834ee5.system.js"],(function(r){"use strict";var t,e,n,o,u;return{setters:[function(r){t=r.i;e=r.b;n=r.c;o=r.r;u=r.f}],execute:function(){r("f",Tr);var a=r("i",Array.isArray);function c(r){return r}var i="[object AsyncFunction]",f="[object Function]",b="[object GeneratorFunction]",l="[object Proxy]";function v(r){if(!t(r)){return false}var n=e(r);return n==f||n==b||n==i||n==l}var y=9007199254740991;var j=/^(?:0|[1-9]\d*)$/;function p(r,t){var e=typeof r;t=t==null?y:t;return!!t&&(e=="number"||e!="symbol"&&j.test(r))&&(r>-1&&r%1==0&&r<t)}var s=9007199254740991;function d(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=s}function m(r){return r!=null&&d(r.length)&&!v(r)}var A=Object.prototype;function h(r){var t=r&&r.constructor,e=typeof t=="function"&&t.prototype||A;return r===e}function g(r,t){var e=-1,n=Array(r);while(++e<r){n[e]=t(e)}return n}var O="[object Arguments]";function w(r){return n(r)&&e(r)==O}var F=Object.prototype;var x=F.hasOwnProperty;var T=F.propertyIsEnumerable;var B=w(function(){return arguments}())?w:function(r){return n(r)&&x.call(r,"callee")&&!T.call(r,"callee")};function I(){return false}var P=typeof r=="object"&&r&&!r.nodeType&&r;var S=P&&typeof module=="object"&&module&&!module.nodeType&&module;var U=S&&S.exports===P;var E=U?o.Buffer:undefined;var k=E?E.isBuffer:undefined;var q=k||I;var D="[object Arguments]",M="[object Array]",C="[object Boolean]",G="[object Date]",L="[object Error]",N="[object Function]",R="[object Map]",V="[object Number]",W="[object Object]",$="[object RegExp]",z="[object Set]",H="[object String]",J="[object WeakMap]";var K="[object ArrayBuffer]",Q="[object DataView]",X="[object Float32Array]",Y="[object Float64Array]",Z="[object Int8Array]",_="[object Int16Array]",rr="[object Int32Array]",tr="[object Uint8Array]",er="[object Uint8ClampedArray]",nr="[object Uint16Array]",or="[object Uint32Array]";var ur={};ur[X]=ur[Y]=ur[Z]=ur[_]=ur[rr]=ur[tr]=ur[er]=ur[nr]=ur[or]=true;ur[D]=ur[M]=ur[K]=ur[C]=ur[Q]=ur[G]=ur[L]=ur[N]=ur[R]=ur[V]=ur[W]=ur[$]=ur[z]=ur[H]=ur[J]=false;function ar(r){return n(r)&&d(r.length)&&!!ur[e(r)]}function cr(r){return function(t){return r(t)}}var ir=typeof r=="object"&&r&&!r.nodeType&&r;var fr=ir&&typeof module=="object"&&module&&!module.nodeType&&module;var br=fr&&fr.exports===ir;var lr=br&&u.process;var vr=function(){try{var r=fr&&fr.require&&fr.require("util").types;if(r){return r}return lr&&lr.binding&&lr.binding("util")}catch(r){}}();var yr=vr&&vr.isTypedArray;var jr=yr?cr(yr):ar;var pr=Object.prototype;var sr=pr.hasOwnProperty;function dr(r,t){var e=a(r),n=!e&&B(r),o=!e&&!n&&q(r),u=!e&&!n&&!o&&jr(r),c=e||n||o||u,i=c?g(r.length,String):[],f=i.length;for(var b in r){if((t||sr.call(r,b))&&!(c&&(b=="length"||o&&(b=="offset"||b=="parent")||u&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||p(b,f)))){i.push(b)}}return i}function mr(r){var t=[];if(r!=null){for(var e in Object(r)){t.push(e)}}return t}var Ar=Object.prototype;var hr=Ar.hasOwnProperty;function gr(r){if(!t(r)){return mr(r)}var e=h(r),n=[];for(var o in r){if(!(o=="constructor"&&(e||!hr.call(r,o)))){n.push(o)}}return n}function Or(r){return m(r)?dr(r,true):gr(r)}function wr(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 Fr=wr();function xr(r){return typeof r=="function"?r:c}function Tr(r,t){return r==null?r:Fr(r,xr(t),Or)}}}}));
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i["throw"](e))}catch(e){r(e)}}function l(e){e.done?n(e.value):a(e.value).then(o,s)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];a=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ * v1.0.0-beta.87
6
+ */System.register(["./p-09d4e789.system.js","./p-288354f0.system.js","./p-151ef522.system.js","./p-98f5945a.system.js","./p-fe8a9479.system.js","./p-deefbe33.system.js"],(function(e){"use strict";var t,n,i,a,r,o,s,l,c,f,p,d,m,u,h,v,b;return{setters:[function(e){t=e.r;n=e.c;i=e.f;a=e.h;r=e.H;o=e.g},function(e){s=e.b;l=e.f;c=e.c;f=e.a;p=e.p;d=e.F},function(e){m=e.g},function(e){u=e.t;h=e.q},function(e){v=e.H},function(e){b=e.c}],execute:function(){var y={container:"container",arrow:"arrow",imageContainer:"image-container",closeButtonContainer:"close-button-container",closeButton:"close-button",content:"content",hasHeader:"has-header",header:"header",headerContent:"header-content",heading:"heading"};var w={close:"Close"};var g="auto";var k="aria-controls";var x="aria-expanded";var E=2;var D=function(){function e(){var e=this;this.registeredElements=new Map;this.registeredElementCount=0;this.queryPopover=function(t){var n=e.registeredElements;var i=t.find((function(e){return n.has(e)}));return n.get(i)};this.togglePopovers=function(t){var n=t.composedPath();var i=e.queryPopover(n);if(i&&!i.triggerDisabled){i.toggle();return}Array.from(e.registeredElements.values()).filter((function(e){return e.autoClose&&e.open&&!n.includes(e)})).forEach((function(e){return e.toggle(false)}))};this.keyHandler=function(t){if(t.key!=="Enter"&&t.key!==" "){return}e.togglePopovers(t)};this.clickHandler=function(t){e.togglePopovers(t)}}e.prototype.registerElement=function(e,t){this.registeredElementCount++;this.registeredElements.set(e,t);if(this.registeredElementCount===1){this.addListeners()}};e.prototype.unregisterElement=function(e){if(this.registeredElements.delete(e)){this.registeredElementCount--}if(this.registeredElementCount===0){this.removeListeners()}};e.prototype.addListeners=function(){document.addEventListener("pointerdown",this.clickHandler,{capture:true});document.addEventListener("keydown",this.keyHandler,{capture:true})};e.prototype.removeListeners=function(){document.removeEventListener("pointerdown",this.clickHandler,{capture:true});document.removeEventListener("keydown",this.keyHandler,{capture:true})};return e}();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}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-floating-ui-anim{position:relative;z-index:1;-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);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%}';var P=new D;var _=e("calcite_popover",function(){function e(e){var i=this;t(this,e);this.calcitePopoverBeforeClose=n(this,"calcitePopoverBeforeClose",7);this.calcitePopoverClose=n(this,"calcitePopoverClose",7);this.calcitePopoverBeforeOpen=n(this,"calcitePopoverBeforeOpen",7);this.calcitePopoverOpen=n(this,"calcitePopoverOpen",7);this.autoClose=false;this.closeButton=false;this.dismissible=false;this.closable=false;this.disableFlip=false;this.disablePointer=false;this.offsetDistance=s;this.offsetSkidding=0;this.open=false;this.overlayPositioning="absolute";this.placement=g;this.triggerDisabled=false;this.intlClose=w.close;this.guid="calcite-popover-".concat(m());this.activeTransitionProp="opacity";this.setContainerEl=function(e){i.containerEl=e;i.containerEl.addEventListener("transitionstart",i.transitionStartHandler)};this.setFilteredPlacements=function(){var e=i,t=e.el,n=e.flipPlacements;i.filteredFlipPlacements=n?l(n,t):null};this.setUpReferenceElement=function(){i.removeReferences();i.effectiveReferenceElement=i.getReferenceElement();c(i,i.effectiveReferenceElement,i.el);var e=i,t=e.el,n=e.referenceElement,a=e.effectiveReferenceElement;if(n&&!a){console.warn("".concat(t.tagName,': reference-element id "').concat(n,'" was not found.'),{el:t})}i.addReferences()};this.getId=function(){return i.el.id||i.guid};this.setExpandedAttr=function(){var e=i,t=e.effectiveReferenceElement,n=e.open;if(!t){return}if("setAttribute"in t){t.setAttribute(x,u(n))}};this.addReferences=function(){var e=i.effectiveReferenceElement;if(!e){return}var t=i.getId();if("setAttribute"in e){e.setAttribute(k,t)}P.registerElement(e,i.el);i.setExpandedAttr()};this.removeReferences=function(){var e=i.effectiveReferenceElement;if(!e){return}if("removeAttribute"in e){e.removeAttribute(k);e.removeAttribute(x)}P.unregisterElement(e)};this.hide=function(){i.open=false};this.transitionStartHandler=function(e){if(e.propertyName===i.activeTransitionProp&&e.target===i.containerEl){i.open?i.onBeforeOpen():i.onBeforeClose()}};this.transitionEnd=function(e){if(e.propertyName===i.activeTransitionProp&&e.target===i.containerEl){i.open?i.onOpen():i.onClose()}};this.storeArrowEl=function(e){i.arrowEl=e;i.reposition()}}e.prototype.flipPlacementsHandler=function(){this.setFilteredPlacements()};e.prototype.offsetDistanceOffsetHandler=function(){this.reposition()};e.prototype.offsetSkiddingHandler=function(){this.reposition()};e.prototype.openHandler=function(){this.reposition();this.setExpandedAttr()};e.prototype.overlayPositioningHandler=function(){this.reposition()};e.prototype.placementHandler=function(){this.reposition()};e.prototype.referenceElementHandler=function(){this.setUpReferenceElement();this.reposition()};e.prototype.connectedCallback=function(){c(this,this.effectiveReferenceElement,this.el);this.setFilteredPlacements()};e.prototype.componentWillLoad=function(){this.setUpReferenceElement()};e.prototype.componentDidLoad=function(){this.reposition()};e.prototype.disconnectedCallback=function(){var e;(e=this.containerEl)===null||e===void 0?void 0:e.removeEventListener("transitionstart",this.transitionStartHandler);this.removeReferences();f(this,this.effectiveReferenceElement,this.el)};e.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,i,a,r,o,s,l,c;return __generator(this,(function(f){e=this,t=e.el,n=e.effectiveReferenceElement,i=e.placement,a=e.overlayPositioning,r=e.disableFlip,o=e.flipPlacements,s=e.offsetDistance,l=e.offsetSkidding,c=e.arrowEl;return[2,p({floatingEl:t,referenceEl:n,overlayPositioning:a,placement:i,disableFlip:r,flipPlacements:o,offsetDistance:s,offsetSkidding:l,arrowEl:c,type:"popover"})]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(a){n=this.closeButtonEl;if(e==="close-button"&&n){i(n);n.setFocus();return[2]}(t=this.el)===null||t===void 0?void 0:t.focus();return[2]}))}))};e.prototype.toggle=function(e){if(e===void 0){e=!this.open}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=e;return[2]}))}))};e.prototype.getReferenceElement=function(){var e=this,t=e.referenceElement,n=e.el;return(typeof t==="string"?h(n,{id:t}):t)||null};e.prototype.onBeforeOpen=function(){this.calcitePopoverBeforeOpen.emit()};e.prototype.onOpen=function(){this.calcitePopoverOpen.emit()};e.prototype.onBeforeClose=function(){this.calcitePopoverBeforeClose.emit()};e.prototype.onClose=function(){this.calcitePopoverClose.emit()};e.prototype.renderCloseButton=function(){var e=this;var t=this,n=t.dismissible,i=t.closeButton,r=t.intlClose,o=t.heading,s=t.closable;return s||n||i?a("div",{class:y.closeButtonContainer},a("calcite-action",{class:y.closeButton,onClick:this.hide,ref:function(t){return e.closeButtonEl=t},scale:o?"s":"m",text:r},a("calcite-icon",{icon:"x",scale:o?"s":"m"}))):null};e.prototype.renderHeader=function(){var e=this,t=e.heading,n=e.headingLevel;var i=t?a(v,{class:y.heading,level:n||E},t):null;return i?a("div",{class:y.header},i,this.renderCloseButton()):null};e.prototype.render=function(){var e,t;var n=this,i=n.effectiveReferenceElement,o=n.heading,s=n.label,l=n.open,c=n.disablePointer;var f=i&&l;var p=!f;var m=!c?a("div",{class:y.arrow,ref:this.storeArrowEl}):null;return a(r,{"aria-hidden":u(p),"aria-label":s,"aria-live":"polite","calcite-hydrated-hidden":p,id:this.getId(),role:"dialog"},a("div",{class:(e={},e[d.animation]=true,e[d.animationActive]=f,e),onTransitionEnd:this.transitionEnd,ref:this.setContainerEl},m,a("div",{class:(t={},t[y.hasHeader]=!!o,t[y.container]=true,t)},this.renderHeader(),a("div",{class:y.content},a("slot",null)),!o?this.renderCloseButton():null)))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{flipPlacements:["flipPlacementsHandler"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}},enumerable:false,configurable:true});return e}());_.style=C;var H="@-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}:host{position:relative;display:block}";var B=e("calcite_popover_manager",function(){function e(e){var n=this;t(this,e);this.mutationObserver=b("mutation",(function(){return n.setAutoClose()}));this.selector="[data-calcite-popover-reference]";this.autoClose=false}e.prototype.autoCloseHandler=function(){this.setAutoClose()};e.prototype.connectedCallback=function(){var e;this.setAutoClose();(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()};e.prototype.render=function(){return a("slot",null)};e.prototype.setAutoClose=function(){var e=this,t=e.autoClose,n=e.el;n.querySelectorAll("calcite-popover").forEach((function(e){return e.autoClose=t}))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{autoClose:["autoCloseHandler"]}},enumerable:false,configurable:true});return e}());B.style=H}}}));
@@ -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-beta.87
5
+ */
6
+ System.register(["./p-09d4e789.system.js","./p-98f5945a.system.js","./p-2a7e2957.system.js","./p-b65a82b9.system.js","./p-151ef522.system.js","./p-deefbe33.system.js"],(function(t){"use strict";var e,i,n,a,o,r,s,c;return{setters:[function(t){e=t.r;i=t.h;n=t.F;a=t.g},function(t){o=t.g},function(t){r=t.c;s=t.d},function(t){c=t.u},function(){},function(){}],execute:function(){var l={contentStart:"content-start",contentEnd:"content-end"};var d="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);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)}:host .container{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}:host .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;gap:0.5rem;inline-size:10%}:host .content-container{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}:host .content-slot-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}:host .content-slot-container:first-child{padding-inline:0 0.75rem}:host .content-slot-container:last-child{padding-inline:0.75rem 0}:host .heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);-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 .large-visual{-ms-flex-align:center;align-items:center;text-align:center;min-block-size:12rem}:host .large-visual .icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:end;align-self:flex-end}:host .large-visual .content-container{-ms-flex-item-align:center;align-self:center}:host .description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;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)}:host(:not([embed])){padding:0.75rem;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand);box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0px}:host([icon][heading]:not([description])) .icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}";var m=t("calcite_tile",function(){function t(t){e(this,t);this.active=false;this.disabled=false;this.embed=false;this.focused=false;this.hidden=false}t.prototype.connectedCallback=function(){r(this)};t.prototype.disconnectedCallback=function(){s(this)};t.prototype.componentDidRender=function(){c(this)};t.prototype.renderTile=function(){var t=this,e=t.icon,n=t.el,a=t.heading,r=t.description;var s=a&&e&&!r;var c=s?{height:"64px",width:"64px"}:undefined;return i("div",{class:{container:true,"large-visual":s}},e&&i("div",{class:"icon"},i("calcite-icon",{icon:e,scale:"l",style:c})),i("div",{class:"content-container"},o(n,l.contentStart)?i("div",{class:"content-slot-container"},i("slot",{name:l.contentStart})):null,i("div",{class:"content"},a&&i("div",{class:"heading"},a),r&&i("div",{class:"description"},r)),o(n,l.contentEnd)?i("div",{class:"content-slot-container"},i("slot",{name:l.contentEnd})):null))};t.prototype.render=function(){return i(n,null,this.href?i("calcite-link",{disabled:this.disabled,href:this.href},this.renderTile()):this.renderTile())};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());m.style=d}}}));
@@ -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-beta.87
5
+ */
6
+ System.register(["./p-09d4e789.system.js","./p-98f5945a.system.js","./p-2a7e2957.system.js","./p-151ef522.system.js","./p-deefbe33.system.js"],(function(t){"use strict";var e,a,i,n,o,r,l,s;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.g},function(t){o=t.t;r=t.g},function(t){l=t.c;s=t.d},function(){},function(){}],execute:function(){var c={container:"container",header:"header",footer:"footer",title:"title",subtitle:"subtitle",checkboxWrapper:"checkbox-wrapper",thumbnailWrapper:"thumbnail-wrapper"};var d={thumbnail:"thumbnail",title:"title",subtitle:"subtitle",footerLeading:"footer-leading",footerTrailing:"footer-trailing"};var m={select:"Select",deselect:"Deselect",loading:"Loading"};var f="@-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}:host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}:host .calcite-card-container:hover{--tw-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 16px 0 var(--tw-shadow-color), 0 2px 8px 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);z-index:1}:host .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -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-transition-duration:75ms;transition-duration:75ms;z-index:1}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header,.footer{display:-ms-flexbox;display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{-ms-flex-direction:column;flex-direction:column}.footer{-webkit-margin-before:auto;margin-block-start:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selectable]) .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -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)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;-webkit-margin-before:0.5rem;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-leading]::slotted(*),*::slotted([slot=footer-leading]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-trailing]::slotted(*),*::slotted([slot=footer-trailing]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:-ms-flexbox;display:flex}.calcite-card-container.inline{-ms-flex-direction:row;flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;-ms-flex-align:start;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-leading]::slotted(*),slot[name=footer-trailing]::slotted(*){display:-ms-flexbox;display:flex;gap:0.25rem}";var h=t("calcite_card",function(){function t(t){var i=this;e(this,t);this.calciteCardSelect=a(this,"calciteCardSelect",7);this.loading=false;this.selected=false;this.selectable=false;this.intlLoading=m.loading;this.intlSelect=m.select;this.intlDeselect=m.deselect;this.thumbnailPosition="block-start";this.cardSelectClick=function(){i.selectCard()};this.cardSelectKeyDown=function(t){switch(t.key){case" ":case"Enter":i.selectCard();t.preventDefault();break}}}t.prototype.connectedCallback=function(){l(this)};t.prototype.disonnectedCallback=function(){s(this)};t.prototype.render=function(){var t;var e=this.thumbnailPosition.startsWith("inline");var a=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":true,inline:e}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{active:true,label:this.intlLoading})):null,a&&this.renderThumbnail(),i("section",{"aria-busy":o(this.loading),class:(t={},t[c.container]=true,t)},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!a&&this.renderThumbnail())};t.prototype.selectCard=function(){this.selected=!this.selected;this.calciteCardSelect.emit()};t.prototype.renderThumbnail=function(){return r(this.el,d.thumbnail)?i("section",{class:c.thumbnailWrapper},i("slot",{name:d.thumbnail})):null};t.prototype.renderCheckbox=function(){var t=this.selected?this.intlDeselect:this.intlSelect;return i("calcite-label",{class:c.checkboxWrapper,onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:t}))};t.prototype.renderHeader=function(){var t=this.el;var e=r(t,d.title);var a=r(t,d.subtitle);var n=e||a;return n?i("header",{class:c.header},i("slot",{name:d.title}),i("slot",{name:d.subtitle})):null};t.prototype.renderFooter=function(){var t=this.el;var e=r(t,d.footerLeading);var a=r(t,d.footerTrailing);var n=e||a;return n?i("footer",{class:c.footer},i("slot",{name:d.footerLeading}),i("slot",{name:d.footerTrailing})):null};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());h.style=f}}}));
@@ -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-beta.87
5
+ */
6
+ import{r as t,c as i,f as e,h as a,H as n,g as r}from"./p-c44fe786.js";import{b as o,f as s,c as l,a as c,p as m,F as d}from"./p-f1e819d0.js";import{g as f}from"./p-292b7dab.js";import{t as p,q as h}from"./p-5e5bb0fe.js";import{H as b}from"./p-0296d6e5.js";import{c as w}from"./p-84f563f6.js";const u=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=t=>{const{registeredElements:i}=this,e=t.find((t=>i.has(t)));return i.get(e)},this.togglePopovers=t=>{const i=t.composedPath(),e=this.queryPopover(i);!e||e.triggerDisabled?Array.from(this.registeredElements.values()).filter((t=>t.autoClose&&t.open&&!i.includes(t))).forEach((t=>t.toggle(!1))):e.toggle()},this.keyHandler=t=>{"Enter"!==t.key&&" "!==t.key||this.togglePopovers(t)},this.clickHandler=t=>{this.togglePopovers(t)}}registerElement(t,i){this.registeredElementCount++,this.registeredElements.set(t,i),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})}},k=class{constructor(e){t(this,e),this.calcitePopoverBeforeClose=i(this,"calcitePopoverBeforeClose",7),this.calcitePopoverClose=i(this,"calcitePopoverClose",7),this.calcitePopoverBeforeOpen=i(this,"calcitePopoverBeforeOpen",7),this.calcitePopoverOpen=i(this,"calcitePopoverOpen",7),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.activeTransitionProp="opacity",this.setContainerEl=t=>{this.containerEl=t,this.containerEl.addEventListener("transitionstart",this.transitionStartHandler)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?s(i,t):null},this.setUpReferenceElement=()=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),l(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:i,effectiveReferenceElement:e}=this;i&&!e&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:i}=this;t&&"setAttribute"in t&&t.setAttribute("aria-expanded",p(i))},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const i=this.getId();"setAttribute"in t&&t.setAttribute("aria-controls",i),u.registerElement(t,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&(t.removeAttribute("aria-controls"),t.removeAttribute("aria-expanded")),u.unregisterElement(t))},this.hide=()=>{this.open=!1},this.transitionStartHandler=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.open?this.onBeforeOpen():this.onBeforeClose())},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.open?this.onOpen():this.onClose())},this.storeArrowEl=t=>{this.arrowEl=t,this.reposition()}}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()}componentWillLoad(){this.setUpReferenceElement()}componentDidLoad(){this.reposition()}disconnectedCallback(){var t;null===(t=this.containerEl)||void 0===t||t.removeEventListener("transitionstart",this.transitionStartHandler),this.removeReferences(),c(this,this.effectiveReferenceElement,this.el)}async reposition(){const{el:t,effectiveReferenceElement:i,placement:e,overlayPositioning:a,disableFlip:n,flipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l}=this;return m({floatingEl:t,referenceEl:i,overlayPositioning:a,placement:e,disableFlip:n,flipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l,type:"popover"})}async setFocus(t){var i;const{closeButtonEl:a}=this;if("close-button"===t&&a)return e(a),void a.setFocus();null===(i=this.el)||void 0===i||i.focus()}async toggle(t=!this.open){this.open=t}getReferenceElement(){const{referenceElement:t,el:i}=this;return("string"==typeof t?h(i,{id:t}):t)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit()}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit()}renderCloseButton(){const{dismissible:t,closeButton:i,intlClose:e,heading:n,closable:r}=this;return r||t||i?a("div",{class:"close-button-container"},a("calcite-action",{class:"close-button",onClick:this.hide,ref:t=>this.closeButtonEl=t,scale:n?"s":"m",text:e},a("calcite-icon",{icon:"x",scale:n?"s":"m"}))):null}renderHeader(){const{heading:t,headingLevel:i}=this,e=t?a(b,{class:"heading",level:i||2},t):null;return e?a("div",{class:"header"},e,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:i,label:e,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":e,"aria-live":"polite","calcite-hydrated-hidden":l,id:this.getId(),role:"dialog"},a("div",{class:{[d.animation]:!0,[d.animationActive]:s},onTransitionEnd:this.transitionEnd,ref:this.setContainerEl},c,a("div",{class:{"has-header":!!i,container:!0}},this.renderHeader(),a("div",{class:"content"},a("slot",null)),i?null:this.renderCloseButton())))}get el(){return r(this)}static get watchers(){return{flipPlacements:["flipPlacementsHandler"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};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}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-floating-ui-anim{position:relative;z-index:1;-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);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 y=class{constructor(i){t(this,i),this.mutationObserver=w("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:i}=this;i.querySelectorAll("calcite-popover").forEach((i=>i.autoClose=t))}get el(){return r(this)}static get watchers(){return{autoClose:["autoCloseHandler"]}}};y.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}:host{position:relative;display:block}";export{k as calcite_popover,y as calcite_popover_manager}
@@ -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-beta.87
5
+ */
6
+ import{r as t,c as a,h as i,g as e}from"./p-c44fe786.js";import{t as n,g as o}from"./p-5e5bb0fe.js";import{c as r,d as s}from"./p-2b1db9be.js";import"./p-292b7dab.js";import"./p-84f563f6.js";const l=class{constructor(i){t(this,i),this.calciteCardSelect=a(this,"calciteCardSelect",7),this.loading=!1,this.selected=!1,this.selectable=!1,this.intlLoading="Loading",this.intlSelect="Select",this.intlDeselect="Deselect",this.thumbnailPosition="block-start",this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=t=>{switch(t.key){case" ":case"Enter":this.selectCard(),t.preventDefault()}}}connectedCallback(){r(this)}disonnectedCallback(){s(this)}render(){const t=this.thumbnailPosition.startsWith("inline"),a=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":!0,inline:t}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{active:!0,label:this.intlLoading})):null,a&&this.renderThumbnail(),i("section",{"aria-busy":n(this.loading),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!a&&this.renderThumbnail())}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return o(this.el,"thumbnail")?i("section",{class:"thumbnail-wrapper"},i("slot",{name:"thumbnail"})):null}renderCheckbox(){return i("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:this.selected?this.intlDeselect:this.intlSelect}))}renderHeader(){const{el:t}=this,a=o(t,"title"),e=o(t,"subtitle");return a||e?i("header",{class:"header"},i("slot",{name:"title"}),i("slot",{name:"subtitle"})):null}renderFooter(){const{el:t}=this,a=o(t,"footer-leading"),e=o(t,"footer-trailing");return a||e?i("footer",{class:"footer"},i("slot",{name:"footer-leading"}),i("slot",{name:"footer-trailing"})):null}get el(){return e(this)}};l.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}:host .calcite-card-container:hover{--tw-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 16px 0 var(--tw-shadow-color), 0 2px 8px 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);z-index:1}:host .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -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-transition-duration:75ms;transition-duration:75ms;z-index:1}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header,.footer{display:-ms-flexbox;display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{-ms-flex-direction:column;flex-direction:column}.footer{-webkit-margin-before:auto;margin-block-start:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selectable]) .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -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)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;-webkit-margin-before:0.5rem;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-leading]::slotted(*),*::slotted([slot=footer-leading]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-trailing]::slotted(*),*::slotted([slot=footer-trailing]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:-ms-flexbox;display:flex}.calcite-card-container.inline{-ms-flex-direction:row;flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;-ms-flex-align:start;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-leading]::slotted(*),slot[name=footer-trailing]::slotted(*){display:-ms-flexbox;display:flex;gap:0.25rem}";export{l as calcite_card}
@@ -1,6 +1,6 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function o(t){try{c(r.next(t))}catch(t){a(t)}}function u(t){try{c(r["throw"](t))}catch(t){a(t)}}function c(t){t.done?n(t.value):i(t.value).then(o,u)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(e){return c([t,e])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(t){o=[6,t];i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function o(t){try{f(r.next(t))}catch(t){a(t)}}function u(t){try{f(r["throw"](t))}catch(t){a(t)}}function f(t){t.done?n(t.value):i(t.value).then(o,u)}f((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(e){return f([t,e])}}function f(o){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(t){o=[6,t];i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
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-beta.84
6
- */System.register(["./p-00247a8d.system.js","./p-39bb68b3.system.js"],(function(t){"use strict";var e,n;return{setters:[function(t){e=t.a},function(t){n=t.a}],execute:function(){t({a:f,b:c,c:y,d:s,e:w,f:h,g:o,h:g,i:u,l:v,n:p,p:d,s:l});function r(t){if(t===void 0){t=""}if(n.indexOf(t)>-1){return t}t=t.toLowerCase();if(t.includes("-")){t=t.replace(/(\w+)-(\w+)/,(function(t,e,n){return"".concat(e,"-").concat(n.toUpperCase())}));if(!n.includes(t)){t=t.split("-")[0]}}return n.includes(t)?t:"en"}var i={};var a={};function o(t){return __awaiter(this,void 0,void 0,(function(){var n,u;return __generator(this,(function(c){switch(c.label){case 0:n=r(t);if(i[n]){return[2,i[n]]}if(!a[n]){a[n]=fetch(e("./assets/date-picker/nls/".concat(n,".json"))).then((function(t){return t.json()})).catch((function(){console.error('Translations for "'.concat(n,'" not found or invalid, falling back to english'));return o("en")}))}return[4,a[n]];case 1:u=c.sent();i[n]=u;return[2,u]}}))}))}function u(t,e,n){var r=t.getTime();var i=!(e instanceof Date)||r>=e.getTime();var a=!(n instanceof Date)||r<=n.getTime();return i&&a}function c(t,e,n){if(!(t instanceof Date)){return null}var r=t.getTime();var i=e instanceof Date&&r<e.getTime();var a=n instanceof Date&&r>n.getTime();if(i){return e}if(a){return n}return t}function f(t){if(t instanceof Date){return t}if(!t||typeof t!=="string"){return null}var e=t.split(/[: T-]/).map(parseFloat);var n=new Date(e[0],(e[1]||1)-1,e[2]||1);n.setFullYear(e[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(t,'"'))}return n}function s(t){if(typeof t==="string"){return t}if(t instanceof Date){return new Date(t.getTime()-t.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(t,e){return t instanceof Date&&e instanceof Date&&t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function h(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e-1);if(e===n.getMonth()){return new Date(t.getFullYear(),e,0)}return n}function p(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e+1);if((e+2)%7===n.getMonth()%7){return new Date(t.getFullYear(),e+2,0)}return n}function v(t,e){return String(t).split("").map((function(t){return e.numerals[t]})).join("")}function g(t,e){var n="0123456789";return parseInt(t.split("").map((function(t){return n[e.numerals.indexOf(t)]})).filter((function(t){return t})).join(""))}function d(t,e){var n=e.separator,r=e.unitOrder;var i=w(r);var a=m(t).split(n);return{day:parseInt(a[i.indexOf("d")]),month:parseInt(a[i.indexOf("m")])-1,year:parseInt(a[i.indexOf("y")])}}function m(t){if(t===void 0){t=""}return t.replace(/[\u0660-\u0669]/g,(function(t){return t.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(t){return t.charCodeAt(0)-1776}))}function w(t){var e=["d","m","y"];var n=t.toLowerCase();return e.sort((function(t,e){return n.indexOf(t)-n.indexOf(e)}))}function y(t,e){var n=t.getTime();var r=e.getTime();return(n-r)/(1e3*3600*24)}var b=t("H",2);var D=t("T",{nextMonth:"Next month",prevMonth:"Previous month",year:"Year"})}}}));
5
+ * v1.0.0-beta.87
6
+ */System.register(["./p-09d4e789.system.js","./p-635720f4.system.js"],(function(t){"use strict";var e,n;return{setters:[function(t){e=t.a},function(t){n=t.a}],execute:function(){t({a:c,b:f,c:y,d:s,e:w,f:h,g:o,h:g,i:u,l:v,n:p,p:d,s:l});function r(t){if(t===void 0){t=""}if(n.indexOf(t)>-1){return t}t=t.toLowerCase();if(t.includes("-")){t=t.replace(/(\w+)-(\w+)/,(function(t,e,n){return"".concat(e,"-").concat(n.toUpperCase())}));if(!n.includes(t)){t=t.split("-")[0]}}return n.includes(t)?t:"en"}var i={};var a={};function o(t){return __awaiter(this,void 0,void 0,(function(){var n,u;return __generator(this,(function(f){switch(f.label){case 0:n=r(t);if(i[n]){return[2,i[n]]}if(!a[n]){a[n]=fetch(e("./assets/date-picker/nls/".concat(n,".json"))).then((function(t){return t.json()})).catch((function(){console.error('Translations for "'.concat(n,'" not found or invalid, falling back to english'));return o("en")}))}return[4,a[n]];case 1:u=f.sent();i[n]=u;return[2,u]}}))}))}function u(t,e,n){var r=t.getTime();var i=!(e instanceof Date)||r>=e.getTime();var a=!(n instanceof Date)||r<=n.getTime();return i&&a}function f(t,e,n){if(!(t instanceof Date)){return null}var r=t.getTime();var i=e instanceof Date&&r<e.getTime();var a=n instanceof Date&&r>n.getTime();if(i){return e}if(a){return n}return t}function c(t){if(t instanceof Date){return t}if(!t||typeof t!=="string"){return null}var e=t.split(/[: T-]/).map(parseFloat);var n=new Date(e[0],(e[1]||1)-1,e[2]||1);n.setFullYear(e[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(t,'"'))}return n}function s(t){if(typeof t==="string"){return t}if(t instanceof Date){return new Date(t.getTime()-t.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(t,e){return t instanceof Date&&e instanceof Date&&t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function h(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e-1);if(e===n.getMonth()){return new Date(t.getFullYear(),e,0)}return n}function p(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e+1);if((e+2)%7===n.getMonth()%7){return new Date(t.getFullYear(),e+2,0)}return n}function v(t,e){return String(t).split("").map((function(t){return e.numerals[t]})).join("")}function g(t,e){var n="0123456789";return parseInt(t.split("").map((function(t){return n[e.numerals.indexOf(t)]})).filter((function(t){return t})).join(""))}function d(t,e){var n=e.separator,r=e.unitOrder;var i=w(r);var a=m(t).split(n);return{day:parseInt(a[i.indexOf("d")]),month:parseInt(a[i.indexOf("m")])-1,year:parseInt(a[i.indexOf("y")])}}function m(t){if(t===void 0){t=""}return t.replace(/[\u0660-\u0669]/g,(function(t){return t.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(t){return t.charCodeAt(0)-1776}))}function w(t){var e=["d","m","y"];var n=t.toLowerCase();return e.sort((function(t,e){return n.indexOf(t)-n.indexOf(e)}))}function y(t,e){var n=t.getTime();var r=e.getTime();return(n-r)/(1e3*3600*24)}var b=t("H",2);var D=t("T",{nextMonth:"Next month",prevMonth:"Previous month",year:"Year"})}}}));
@@ -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-beta.84
4
+ * v1.0.0-beta.87
5
5
  */
6
6
  function n(n,t,i){return new(function(n){return"intersection"===n?window.IntersectionObserver:"mutation"===n?window.MutationObserver:window.ResizeObserver}(n))(t,i)}export{n as c}
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,a,n,e){function i(t){return t instanceof n?t:new n((function(a){a(t)}))}return new(n||(n=Promise))((function(n,r){function o(t){try{c(e.next(t))}catch(t){r(t)}}function s(t){try{c(e["throw"](t))}catch(t){r(t)}}function c(t){t.done?n(t.value):i(t.value).then(o,s)}c((e=e.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},e,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(a){return c([t,a])}}function c(o){if(e)throw new TypeError("Generator is already executing.");while(n)try{if(e=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=a.call(t,n)}catch(t){o=[6,t];i=0}finally{e=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-beta.87
6
+ */System.register(["./p-09d4e789.system.js","./p-98f5945a.system.js","./p-b65a82b9.system.js","./p-151ef522.system.js"],(function(t){"use strict";var a,n,e,i,r;return{setters:[function(t){a=t.r;n=t.h;e=t.g},function(t){i=t.f},function(t){r=t.u},function(){}],execute:function(){var o={button:"button"};var s={plus:"plus"};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}: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;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 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)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";var l=t("calcite_fab",function(){function t(t){a(this,t);this.appearance="outline";this.color="neutral";this.disabled=false;this.icon=s.plus;this.loading=false;this.scale="m";this.textEnabled=false}t.prototype.componentDidRender=function(){r(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){i(this.buttonEl);return[2]}))}))};t.prototype.render=function(){var t=this;var a=this,e=a.appearance,i=a.color,r=a.disabled,s=a.loading,c=a.scale,l=a.textEnabled,u=a.icon,p=a.label,w=a.text;var f=!l?p||w||null:null;return n("calcite-button",{appearance:e==="solid"?"solid":"outline",class:o.button,color:i,disabled:r,iconStart:u,label:p,loading:s,ref:function(a){t.buttonEl=a},round:true,scale:c,title:f,type:"button",width:"auto"},this.textEnabled?this.text:null)};Object.defineProperty(t.prototype,"el",{get:function(){return e(this)},enumerable:false,configurable:true});return t}());l.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-beta.87
5
+ */
6
+ import{r as a,h as i,H as e,g as t}from"./p-c44fe786.js";import{g as r}from"./p-292b7dab.js";const n=class{constructor(i){a(this,i),this.active=!1,this.inline=!1,this.scale="m",this.value=0,this.text="",this.noPadding=!1}render(){const{el:a,inline:t,label:n,scale:o,text:s,type:l,value:c}=this,m=a.id||r(),d=t?this.getInlineSize(o):this.getSize(o),f=.45*d,k=`0 0 ${d} ${d}`,v="determinate"===l,b=2*f*Math.PI,g=c/100*b,p=b-g,w=Math.floor(c),h={r:f,cx:d/2,cy:d/2},y={"stroke-dasharray":`${g} ${p}`};return i(e,{"aria-label":n,id:m,role:"progressbar",...v?{"aria-valuenow":w,"aria-valuemin":0,"aria-valuemax":100,complete:100===w}:{}},i("div",{class:"loader__svgs"},i("svg",{class:"loader__svg loader__svg--1",viewBox:k},i("circle",{...h})),i("svg",{class:"loader__svg loader__svg--2",viewBox:k},i("circle",{...h})),i("svg",{class:"loader__svg loader__svg--3",viewBox:k,...v?{style:y}:{}},i("circle",{...h}))),s&&i("div",{class:"loader__text"},s),v&&i("div",{class:"loader__percentage"},c))}getSize(a){return{s:32,m:56,l:80}[a]}getInlineSize(a){return{s:12,m:16,l:20}[a]}get el(){return t(this)}};n.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;margin-inline:auto;display:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;-webkit-transform:scale(1, 1);transform:scale(1, 1);animation:loader-color-shift 6s alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}:host([no-padding]){padding-block:0px}:host{display:none}:host([active]){display:-ms-flexbox;display:flex}.loader__text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-margin-before:calc(var(--calcite-loader-size) + 1.5rem);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;-webkit-margin-start:calc(var(--calcite-loader-size) / 2 * -1);margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svgs{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;-webkit-margin-start:calc(var(--calcite-loader-size) / 2 * -1);margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svg{position:absolute;inset-block-start:0px;inset-inline-start:0px;-webkit-transform-origin:center;transform-origin:center;overflow:visible;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-name:loader-clockwise;animation-name:loader-clockwise}@supports (display: grid){.loader__svg--1{-webkit-animation-name:loader-offset-1;animation-name:loader-offset-1}.loader__svg--2{-webkit-animation-name:loader-offset-2;animation-name:loader-offset-2}.loader__svg--3{-webkit-animation-name:loader-offset-3;animation-name:loader-offset-3}}:host([type=determinate]){-webkit-animation:none;animation:none;stroke:var(--calcite-ui-border-3)}:host([type=determinate]) .loader__svg--3{-webkit-animation:none;animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transition:all var(--calcite-internal-animation-timing-fast) linear;transition:all var(--calcite-internal-animation-timing-fast) linear}:host([inline]){position:relative;margin:0px;-webkit-animation:none;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);-webkit-margin-end:calc(var(--calcite-loader-size-inline) * 0.5);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}:host([active][inline]){display:inline-block}:host([inline]) .loader__svgs{inset-block-start:0px;inset-inline-start:0px;margin:0px;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([inline]) .loader__svg{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([complete]){opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms}:host([complete]) .loader__svgs{opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}:host([complete]) .loader__percentage{color:var(--calcite-ui-brand);-webkit-transform:scale(1.05, 1.05);transform:scale(1.05, 1.05);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:color var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear}.loader__svg--1{stroke-dasharray:27.9252444444% 139.6262222222%;-webkit-animation-duration:0.72s;animation-duration:0.72s}@-webkit-keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}.loader__svg--2{stroke-dasharray:55.8504888889% 139.6262222222%;-webkit-animation-duration:0.96s;animation-duration:0.96s}@-webkit-keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}.loader__svg--3{stroke-dasharray:13.9626222222% 139.6262222222%;-webkit-animation-duration:1.16s;animation-duration:1.16s}@-webkit-keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@-webkit-keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@-webkit-keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}';export{n as calcite_loader}
@@ -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-beta.84
4
+ * v1.0.0-beta.87
5
5
  */
6
- import{r as t,c as i,h as a,H as e,g as n}from"./p-4eb531c4.js";import{g as o}from"./p-df26aab6.js";import{c as s,d as r,H as c}from"./p-74153f82.js";import{c as l,d as m,g as h}from"./p-dca64e20.js";import{u as p}from"./p-ca1b7a2e.js";import{t as d}from"./p-4f9ce175.js";const b=class{constructor(a){t(this,a),this.calciteInternalCheckboxBlur=i(this,"calciteInternalCheckboxBlur",7),this.calciteCheckboxChange=i(this,"calciteCheckboxChange",7),this.calciteInternalCheckboxFocus=i(this,"calciteInternalCheckboxFocus",7),this.checked=!1,this.disabled=!1,this.hovered=!1,this.indeterminate=!1,this.required=!1,this.scale="m",this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.getPath=()=>this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:"",this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())},this.keyDownHandler=t=>{" "!==t.key&&"Enter"!==t.key||(this.toggle(),t.preventDefault())},this.clickHandler=()=>{this.toggle()},this.onToggleBlur=()=>{this.calciteInternalCheckboxBlur.emit(!1)},this.onToggleFocus=()=>{this.calciteInternalCheckboxFocus.emit(!0)},this.onLabelClick=()=>{this.toggle()}}async setFocus(){var t;null===(t=this.toggleEl)||void 0===t||t.focus()}connectedCallback(){this.guid=this.el.id||`calcite-checkbox-${o()}`,l(this),s(this)}disconnectedCallback(){m(this),r(this)}componentDidRender(){p(this)}render(){return a(e,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},a("div",{"aria-checked":d(this.checked),"aria-label":h(this),class:"toggle",onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,ref:t=>this.toggleEl=t,role:"checkbox",tabIndex:this.disabled?void 0:0},a("svg",{class:"check-svg",viewBox:"0 0 16 16"},a("path",{d:this.getPath()})),a("slot",null)),a(c,{component:this}))}get el(){return n(this)}};b.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{width:var(--calcite-checkbox-size);height:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width: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;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}: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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{b as calcite_checkbox}
6
+ import{r as t,c as i,h as a,H as e,g as n}from"./p-c44fe786.js";import{g as o}from"./p-292b7dab.js";import{c as s,d as r,H as c}from"./p-1647d422.js";import{c as l,d as m,g as h}from"./p-61379359.js";import{u as d}from"./p-87b06a4a.js";import{t as b}from"./p-5e5bb0fe.js";const p=class{constructor(a){t(this,a),this.calciteInternalCheckboxBlur=i(this,"calciteInternalCheckboxBlur",7),this.calciteCheckboxChange=i(this,"calciteCheckboxChange",7),this.calciteInternalCheckboxFocus=i(this,"calciteInternalCheckboxFocus",7),this.checked=!1,this.disabled=!1,this.hovered=!1,this.indeterminate=!1,this.required=!1,this.scale="m",this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.getPath=()=>this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:"",this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())},this.keyDownHandler=t=>{" "!==t.key&&"Enter"!==t.key||(this.toggle(),t.preventDefault())},this.clickHandler=()=>{this.toggle()},this.onToggleBlur=()=>{this.calciteInternalCheckboxBlur.emit(!1)},this.onToggleFocus=()=>{this.calciteInternalCheckboxFocus.emit(!0)},this.onLabelClick=()=>{this.toggle()}}async setFocus(){var t;null===(t=this.toggleEl)||void 0===t||t.focus()}connectedCallback(){this.guid=this.el.id||`calcite-checkbox-${o()}`,l(this),s(this)}disconnectedCallback(){m(this),r(this)}componentDidRender(){d(this)}render(){return a(e,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},a("div",{"aria-checked":b(this.checked),"aria-label":h(this),class:"toggle",onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,ref:t=>this.toggleEl=t,role:"checkbox",tabIndex:this.disabled?void 0:0},a("svg",{class:"check-svg",viewBox:"0 0 16 16"},a("path",{d:this.getPath()})),a("slot",null)),a(c,{component:this}))}get el(){return n(this)}};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}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width: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;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::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{p as calcite_checkbox}
@@ -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-beta.84
4
+ * v1.0.0-beta.87
5
5
  */
6
6
  function e(){}function n(n,t=!1){if(n.disabled)return n.el.setAttribute("tabindex","-1"),n.el.setAttribute("aria-disabled","true"),n.el.contains(document.activeElement)&&document.activeElement.blur(),void(n.el.click=e);n.el.click=HTMLElement.prototype.click,"function"==typeof t?n.el.setAttribute("tabindex",t.call(n)?"0":"-1"):!0===t?n.el.setAttribute("tabindex","0"):!1===t&&n.el.removeAttribute("tabindex"),n.el.removeAttribute("aria-disabled")}export{n as u}
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,a,r){function i(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,n){function o(e){try{c(r.next(e))}catch(e){n(e)}}function s(e){try{c(r["throw"](e))}catch(e){n(e)}}function c(e){e.done?a(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,i&&(n=o[0]&2?i["return"]:o[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;if(i=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;i=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){a.label=o[1];break}if(o[0]===6&&a.label<n[1]){a.label=n[1];n=o;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(o);break}if(n[2])a.ops.pop();a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e];i=0}finally{r=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var r=0,i=t.length,n;r<i;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))};
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-beta.87
6
+ */System.register(["./p-09d4e789.system.js","./p-8270f683.system.js","./p-98f5945a.system.js","./p-b65a82b9.system.js","./p-fe8a9479.system.js","./p-635720f4.system.js","./p-a65a2b93.system.js","./p-151ef522.system.js"],(function(e){"use strict";var t,a,r,i,n,o,s,c,l,d,h,u,f,p,v,g,m,D,y,w,b,x,k,A;return{setters:[function(e){t=e.r;a=e.c;r=e.h;i=e.H;n=e.g;o=e.F},function(e){s=e.T;c=e.c;l=e.d;d=e.a;h=e.b;u=e.g;f=e.H;p=e.s;v=e.i;g=e.e;m=e.n;D=e.f;y=e.l;w=e.h},function(e){b=e.a;x=e.C},function(e){k=e.u},function(e){A=e.H},function(){},function(){},function(){}],execute:function(){var R="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";var _=e("calcite_date_picker",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerChange=a(this,"calciteDatePickerChange",7);this.calciteDatePickerRangeChange=a(this,"calciteDatePickerRangeChange",7);this.intlPrevMonth=s.prevMonth;this.intlNextMonth=s.nextMonth;this.intlYear=s.year;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.proximitySelectionDisabled=false;this.keyDownHandler=function(e){if(e.key==="Escape"){r.reset()}};this.monthHeaderSelectChange=function(e){var t=new Date(e.detail);if(!r.range){r.activeDate=t}else{if(r.activeRange==="end"){r.activeEndDate=t}else{r.activeStartDate=t}r.mostRecentRangeValue=t}};this.monthActiveDateChange=function(e){var t=new Date(e.detail);if(!r.range){r.activeDate=t}else{if(r.activeRange==="end"){r.activeEndDate=t}else{r.activeStartDate=t}r.mostRecentRangeValue=t}};this.monthHoverChange=function(e){if(!r.startAsDate){r.hoverRange=undefined;return}var t=new Date(e.detail);r.hoverRange={focused:r.activeRange||"start",start:r.startAsDate,end:r.endAsDate};if(!r.proximitySelectionDisabled){if(r.endAsDate){var a=c(t,r.startAsDate);var i=c(t,r.endAsDate);if(i>0){r.hoverRange.end=t;r.hoverRange.focused="end"}else if(a<0){r.hoverRange.start=t;r.hoverRange.focused="start"}else if(a>i){r.hoverRange.start=t;r.hoverRange.focused="start"}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}else{if(t<r.startAsDate){r.hoverRange={focused:"start",start:t,end:r.startAsDate}}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}}else{if(!r.endAsDate){if(t<r.startAsDate){r.hoverRange={focused:"start",start:t,end:r.startAsDate}}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}else{r.hoverRange=undefined}}e.stopPropagation()};this.monthMouseOutChange=function(){if(r.hoverRange){r.hoverRange=undefined}};this.reset=function(){var e,t,a,i,n,o;if(!Array.isArray(r.valueAsDate)&&r.valueAsDate&&((e=r.valueAsDate)===null||e===void 0?void 0:e.getTime())!==((t=r.activeDate)===null||t===void 0?void 0:t.getTime())){r.activeDate=new Date(r.valueAsDate)}if(r.startAsDate&&((a=r.startAsDate)===null||a===void 0?void 0:a.getTime())!==((i=r.activeStartDate)===null||i===void 0?void 0:i.getTime())){r.activeStartDate=new Date(r.startAsDate)}if(r.endAsDate&&((n=r.endAsDate)===null||n===void 0?void 0:n.getTime())!==((o=r.activeEndDate)===null||o===void 0?void 0:o.getTime())){r.activeEndDate=new Date(r.endAsDate)}};this.monthDateChange=function(e){var t=new Date(e.detail);if(!r.range){r.value=t?l(t):"";r.valueAsDate=t||null;r.activeDate=t||null;r.calciteDatePickerChange.emit(t);return}if(!r.startAsDate||!r.endAsDate&&t<r.startAsDate){if(r.startAsDate){r.setEndDate(new Date(r.startAsDate))}if(r.activeRange=="end"){r.setEndDate(t)}else{r.setStartDate(t)}}else if(!r.endAsDate){r.setEndDate(t)}else{if(!r.proximitySelectionDisabled){if(r.activeRange){if(r.activeRange=="end"){r.setEndDate(t)}else{r.setStartDate(t)}}else{var a=c(t,r.startAsDate);var i=c(t,r.endAsDate);if(i===0||a<0){r.setStartDate(t)}else if(a===0||i<0){r.setEndDate(t)}else if(a<i){r.setStartDate(t)}else{r.setEndDate(t)}}}else{r.setStartDate(t);r.endAsDate=r.activeEndDate=r.end=undefined}}r.calciteDatePickerChange.emit(t)}}e.prototype.handleValueAsDate=function(e){if(!Array.isArray(e)&&e&&e!==this.activeDate){this.activeDate=e}};e.prototype.handleRangeChange=function(){var e=this,t=e.startAsDate,a=e.endAsDate;this.activeEndDate=a;this.activeStartDate=t};e.prototype.onMinChanged=function(e){if(e){this.minAsDate=d(e)}};e.prototype.onMaxChanged=function(e){if(e){this.maxAsDate=d(e)}};e.prototype.connectedCallback=function(){if(Array.isArray(this.value)){this.valueAsDate=this.value.map((function(e){return d(e)}));this.start=this.value[0];this.end=this.value[1]}else if(this.value){this.valueAsDate=d(this.value)}if(this.start){this.setStartAsDate(d(this.start))}if(this.end){this.setEndAsDate(d(this.end))}if(this.min){this.minAsDate=d(this.min)}if(this.max){this.maxAsDate=d(this.max)}};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.loadLocaleData()];case 1:e.sent();this.onMinChanged(this.min);this.onMaxChanged(this.max);return[2]}}))}))};e.prototype.render=function(){var e;var t=h(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var a=this.range?this.getActiveStartDate(t,this.minAsDate,this.maxAsDate):this.getActiveDate(t,this.minAsDate,this.maxAsDate);var n=a;var o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null;var s=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);if((this.activeRange==="end"||((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="end"&&(!this.proximitySelectionDisabled||o))&&s){n=s}if(this.range&&this.mostRecentRangeValue){n=this.mostRecentRangeValue}var c=this.range&&this.activeRange?this.activeRange==="start"?this.minAsDate:t||this.minAsDate:this.minAsDate;var l=this.range&&this.activeRange?this.activeRange==="start"?o||this.maxAsDate:this.maxAsDate:this.maxAsDate;return r(i,{onBlur:this.reset,onKeyDown:this.keyDownHandler,role:"application"},this.renderCalendar(n,l,c,t,o))};e.prototype.valueHandler=function(e){if(Array.isArray(e)){this.valueAsDate=e.map((function(e){return d(e)}));this.start=e[0];this.end=e[1]}else if(e){this.valueAsDate=d(e);this.start="";this.end=""}};e.prototype.startWatcher=function(e){this.setStartAsDate(d(e))};e.prototype.endWatcher=function(e){this.setEndAsDate(d(e))};e.prototype.loadLocaleData=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(a){switch(a.label){case 0:e=this.locale;t=this;return[4,u(e)];case 1:t.localeData=a.sent();return[2]}}))}))};e.prototype.renderCalendar=function(e,t,a,i,n){return this.localeData&&[r("calcite-date-picker-month-header",{activeDate:e,headingLevel:this.headingLevel||f,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,localeData:this.localeData,max:t,min:a,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:this.activeRange==="end"?n:i||new Date}),r("calcite-date-picker-month",{activeDate:e,endDate:this.range?n:undefined,hoverRange:this.hoverRange,localeData:this.localeData,max:t,min:a,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerSelect:this.monthDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,scale:this.scale,selectedDate:this.activeRange==="end"?n:i,startDate:this.range?i:undefined})]};e.prototype.setStartAsDate=function(e,t){this.startAsDate=e;this.mostRecentRangeValue=this.startAsDate;if(t){this.calciteDatePickerRangeChange.emit({startDate:e,endDate:this.endAsDate})}};e.prototype.setEndAsDate=function(e,t){this.endAsDate=e;this.mostRecentRangeValue=this.endAsDate;if(t){this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:e})}};e.prototype.setEndDate=function(e){this.end=e?l(e):"";this.setEndAsDate(e,true);this.activeEndDate=e||null};e.prototype.setStartDate=function(e){this.start=e?l(e):"";this.setStartAsDate(e,true);this.activeStartDate=e||null};e.prototype.getActiveDate=function(e,t,a){return h(this.activeDate,t,a)||e||h(new Date,t,a)};e.prototype.getActiveStartDate=function(e,t,a){return h(this.activeStartDate,t,a)||e||h(new Date,t,a)};e.prototype.getActiveEndDate=function(e,t,a){return h(this.activeEndDate,t,a)||e||h(new Date,t,a)};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],min:["onMinChanged"],max:["onMaxChanged"],value:["valueHandler"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return e}());_.style=R;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}: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;min-inline-size:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;-webkit-margin-start:0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";var M=e("calcite_date_picker_day",function(){function e(e){var r=this;t(this,e);this.calciteDaySelect=a(this,"calciteDaySelect",7);this.calciteInternalDayHover=a(this,"calciteInternalDayHover",7);this.disabled=false;this.currentMonth=false;this.selected=false;this.highlighted=false;this.range=false;this.startOfRange=false;this.endOfRange=false;this.rangeHover=false;this.active=false;this.onClick=function(){!r.disabled&&r.calciteDaySelect.emit()};this.keyDownHandler=function(e){var t=e.key;if(t===" "||t==="Enter"){!r.disabled&&r.calciteDaySelect.emit()}}}e.prototype.mouseoverHandler=function(){this.calciteInternalDayHover.emit()};e.prototype.render=function(){var e;var t=this;var a=String(this.day).split("").map((function(e){return t.localeData.numerals[e]})).join("");var n=b(this.el);return r(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},r("div",{class:(e={"day-v-wrapper":true},e[x.rtl]=n==="rtl",e)},r("div",{class:"day-wrapper"},r("span",{class:"day"},r("span",{class:"text"},a)))))};e.prototype.componentDidRender=function(){k(this,this.isTabbable)};e.prototype.isTabbable=function(){return this.active};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());M.style=C;var S="@-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}.calender{-webkit-margin-after:0.25rem;margin-block-end:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-block:0px;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";var z=e("calcite_date_picker_month",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.calciteInternalDatePickerHover=a(this,"calciteInternalDatePickerHover",7);this.calciteDatePickerActiveDateChange=a(this,"calciteDatePickerActiveDateChange",7);this.calciteInternalDatePickerMouseOut=a(this,"calciteInternalDatePickerMouseOut",7);this.activeDate=new Date;this.keyDownHandler=function(e){var t=r.el.dir==="rtl";switch(e.key){case"ArrowUp":e.preventDefault();r.addDays(-7);break;case"ArrowRight":e.preventDefault();r.addDays(t?-1:1);break;case"ArrowDown":e.preventDefault();r.addDays(7);break;case"ArrowLeft":e.preventDefault();r.addDays(t?1:-1);break;case"PageUp":e.preventDefault();r.addMonths(-1);break;case"PageDown":e.preventDefault();r.addMonths(1);break;case"Home":e.preventDefault();r.activeDate.setDate(1);r.addDays();break;case"End":e.preventDefault();r.activeDate.setDate(new Date(r.activeDate.getFullYear(),r.activeDate.getMonth()+1,0).getDate());r.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":r.activeFocus=false}};this.disableActiveFocus=function(){r.activeFocus=false};this.dayHover=function(e){var t=e.target;if(t.disabled){r.calciteInternalDatePickerMouseOut.emit()}else{r.calciteInternalDatePickerHover.emit(t.value)}e.stopPropagation()};this.daySelect=function(e){var t=e.target;r.calciteDatePickerSelect.emit(t.value)}}e.prototype.mouseoutHandler=function(){this.calciteInternalDatePickerMouseOut.emit()};e.prototype.render=function(){var e=this;var t=this.activeDate.getMonth();var a=this.activeDate.getFullYear();var n=this.localeData.weekStart%7;var o=this.localeData.days,s=o.abbreviated,c=o.short,l=o.narrow;var d=this.scale==="s"?l||c||s:c||s||l;var h=__spreadArray(__spreadArray([],d.slice(n,7),true),d.slice(0,n),true);var u=this.getCurrentMonthDays(t,a);var f=this.getPrevMonthdays(t,a,n);var v=this.getNextMonthDays(t,a,n);var g=__spreadArray(__spreadArray(__spreadArray([],f.map((function(r){var i=new Date(a,t-1,r);return e.renderDateDay(false,r,i)})),true),u.map((function(r){var i=new Date(a,t,r);var n=p(i,e.activeDate);return e.renderDateDay(n,r,i,true,true)})),true),v.map((function(r){var i=new Date(a,t+1,r);return e.renderDateDay(false,r,i)})),true);var m=[];for(var D=0;D<g.length;D+=7){m.push(g.slice(D,D+7))}return r(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},r("div",{class:"calender",role:"grid"},r("div",{class:"week-headers",role:"row"},h.map((function(e){return r("span",{class:"week-header",role:"columnheader"},e)}))),m.map((function(e){return r("div",{class:"week-days",role:"row"},e)}))))};e.prototype.addMonths=function(e){var t=new Date(this.activeDate);t.setMonth(this.activeDate.getMonth()+e);this.calciteDatePickerActiveDateChange.emit(h(t,this.min,this.max));this.activeFocus=true};e.prototype.addDays=function(e){if(e===void 0){e=0}var t=new Date(this.activeDate);t.setDate(this.activeDate.getDate()+e);this.calciteDatePickerActiveDateChange.emit(h(t,this.min,this.max));this.activeFocus=true};e.prototype.getPrevMonthdays=function(e,t,a){var r=new Date(t,e,0);var i=r.getDate();var n=r.getDay();var o=[];if(n-6===a){return o}for(var s=Math.abs(r.getDay()-a);s>=0;s--){o.push(i-s)}return o};e.prototype.getCurrentMonthDays=function(e,t){var a=new Date(t,e+1,0).getDate();var r=[];for(var i=0;i<a;i++){r.push(i+1)}return r};e.prototype.getNextMonthDays=function(e,t,a){var r=new Date(t,e+1,0).getDay();var i=[];if(r===(a+6)%7){return i}for(var n=0;n<(6-(r-a))%7;n++){i.push(n+1)}return i};e.prototype.betweenSelectedRange=function(e){return!!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate&&!this.isRangeHover(e))};e.prototype.isSelected=function(e){return!!(p(e,this.selectedDate)||this.startDate&&p(e,this.startDate)||this.endDate&&p(e,this.endDate))};e.prototype.isStartOfRange=function(e){return!!(this.startDate&&!p(this.startDate,this.endDate)&&p(this.startDate,e)&&!this.isEndOfRange(e))};e.prototype.isEndOfRange=function(e){return!!(this.endDate&&!p(this.startDate,this.endDate)&&p(this.endDate,e)||!this.endDate&&this.hoverRange&&p(this.startDate,this.hoverRange.end)&&p(e,this.hoverRange.end))};e.prototype.renderDateDay=function(e,t,a,i,n){var o=this;var s;var c=this.isFocusedOnStart();var l=this.isHoverInRange()||!this.endDate&&this.hoverRange&&p((s=this.hoverRange)===null||s===void 0?void 0:s.end,this.startDate);return r("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&l,"hover--outside-range":this.startDate&&!l,"focused--start":c,"focused--end":!c},currentMonth:i,day:t,disabled:!v(a,this.min,this.max),endOfRange:this.isEndOfRange(a),highlighted:this.betweenSelectedRange(a),key:a.toDateString(),localeData:this.localeData,onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!p(this.startDate,this.endDate),rangeHover:this.isRangeHover(a),ref:function(t){if(n&&e&&o.activeFocus){t===null||t===void 0?void 0:t.focus()}},scale:this.scale,selected:this.isSelected(a),startOfRange:this.isStartOfRange(a),value:a})};e.prototype.isFocusedOnStart=function(){var e;return((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="start"};e.prototype.isHoverInRange=function(){if(!this.hoverRange){return false}var e=this.hoverRange,t=e.start,a=e.end;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||a<this.endDate)||this.isFocusedOnStart()&&this.startDate&&t>this.startDate)};e.prototype.isRangeHover=function(e){if(!this.hoverRange){return false}var t=this.hoverRange,a=t.start,r=t.end;var i=this.isFocusedOnStart();var n=this.isHoverInRange();var o=n&&(!i&&e>this.startDate&&(e<r||p(e,r))||i&&e<this.endDate&&(e>a||p(e,a)));var s=!n&&(!i&&e>=this.endDate&&(e<r||p(e,r))||i&&(e<this.startDate||this.endDate&&p(e,this.startDate))&&(e>a||p(e,a)));return o||s};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());z.style=S;var P=543;var H="@-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}:host{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}.text-nreverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{inline-size:4rem;text-align:start}.year-wrap{position:relative}.suffix{position:absolute;inset-block-start:0px;inset-inline-start:0px;inline-size:4rem;white-space:nowrap;text-align:start}.suffix__invisible{visibility:hidden}";var Y=e("calcite_date_picker_month_header",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.onYearKey=function(e){var t=r.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault();r.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault();r.setYear({localizedYear:t,offset:1});break}};this.onYearChange=function(e){r.setYear({localizedYear:r.parseCalendarYear(e.target.value)})};this.onYearInput=function(e){r.setYear({localizedYear:r.parseCalendarYear(e.target.value),commit:false})};this.prevMonthClick=function(e){r.handleArrowClick(e,r.prevMonthDate)};this.prevMonthKeydown=function(e){var t=e.key;if(t===" "||t==="Enter"){r.prevMonthClick(e)}};this.nextMonthClick=function(e){r.handleArrowClick(e,r.nextMonthDate)};this.nextMonthKeydown=function(e){var t=e.key;if(t===" "||t==="Enter"){r.nextMonthClick(e)}};this.handleArrowClick=function(e,t){e===null||e===void 0?void 0:e.preventDefault();e.stopPropagation();r.calciteDatePickerSelect.emit(t)}}e.prototype.connectedCallback=function(){this.setNextPrevMonthDates()};e.prototype.render=function(){return r("div",{class:"header"},this.renderContent())};e.prototype.renderContent=function(){var e=this;var t;if(!this.activeDate||!this.localeData){return null}var a=this.activeDate.getMonth();var i=this.localeData,n=i.months,s=i.unitOrder;var c=(n.wide||n.narrow||n.abbreviated)[a];var l=this.formatCalendarYear(this.activeDate.getFullYear().toString());var d=this.scale==="l"?"m":"s";var h=g(s);var u=h.indexOf("y")<h.indexOf("m");var f=(t=this.localeData.year)===null||t===void 0?void 0:t.suffix;return r(o,null,r("a",{"aria-disabled":(this.prevMonthDate.getMonth()===a).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===a?-1:0},r("calcite-icon",{"flip-rtl":true,icon:"chevron-left",scale:d})),r("div",{class:{text:true,"text--reverse":u}},r(A,{class:"month",level:this.headingLevel},c),r("span",{class:"year-wrap"},r("input",{"aria-label":this.intlYear,class:{year:true,"year--suffix":!!f},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:function(t){return e.yearInput=t},type:"text",value:l}),f&&r("span",{class:"suffix"},r("span",{"aria-hidden":"true",class:"suffix__invisible"},l)," "+f))),r("a",{"aria-disabled":(this.nextMonthDate.getMonth()===a).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===a?-1:0},r("calcite-icon",{"flip-rtl":true,icon:"chevron-right",scale:d})))};e.prototype.setNextPrevMonthDates=function(){if(!this.activeDate){return}this.nextMonthDate=h(m(this.activeDate),this.min,this.max);this.prevMonthDate=h(D(this.activeDate),this.min,this.max)};e.prototype.formatCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?P:0;return y(w(e,t)+r,t)};e.prototype.parseCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?P:0;return y(w(e,t)-r,t)};e.prototype.getInRangeDate=function(e){var t=e.localizedYear,a=e.offset,r=a===void 0?0:a;var i=this,n=i.min,o=i.max,s=i.activeDate,c=i.localeData;var l=w(t,c);var d=l.toString().length;var u=isNaN(l)?false:l+r;var f=u&&(!n||n.getFullYear()<=u)&&(!o||o.getFullYear()>=u);if(u&&f&&d===t.length){var p=new Date(s);p.setFullYear(u);return h(p,n,o)}};e.prototype.setYear=function(e){var t=e.localizedYear,a=e.commit,r=a===void 0?true:a,i=e.offset,n=i===void 0?0:i;var o=this,s=o.yearInput,c=o.activeDate;var l=this.getInRangeDate({localizedYear:t,offset:n});if(l){this.calciteDatePickerSelect.emit(l)}if(r){s.value=this.formatCalendarYear((l||c).getFullYear().toString())}};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}},enumerable:false,configurable:true});return e}());Y.style=H}}}));