@esri/calcite-components 1.3.0-next.16 → 1.3.0-next.18

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 (796) hide show
  1. package/dist/calcite/assets/icon/catalogDataset16.json +1 -0
  2. package/dist/calcite/assets/icon/catalogDataset24.json +1 -0
  3. package/dist/calcite/assets/icon/catalogDataset32.json +1 -0
  4. package/dist/calcite/assets/icon/elevatorDown16.json +1 -0
  5. package/dist/calcite/assets/icon/elevatorDown24.json +1 -0
  6. package/dist/calcite/assets/icon/elevatorDown32.json +1 -0
  7. package/dist/calcite/assets/icon/elevatorUp16.json +1 -0
  8. package/dist/calcite/assets/icon/elevatorUp24.json +1 -0
  9. package/dist/calcite/assets/icon/elevatorUp32.json +1 -0
  10. package/dist/calcite/assets/icon/escalatorDown16.json +1 -0
  11. package/dist/calcite/assets/icon/escalatorDown24.json +1 -0
  12. package/dist/calcite/assets/icon/escalatorDown32.json +1 -0
  13. package/dist/calcite/assets/icon/escalatorUp16.json +1 -0
  14. package/dist/calcite/assets/icon/escalatorUp24.json +1 -0
  15. package/dist/calcite/assets/icon/escalatorUp32.json +1 -0
  16. package/dist/calcite/assets/icon/runningOutline16.json +1 -0
  17. package/dist/calcite/assets/icon/runningOutline24.json +1 -0
  18. package/dist/calcite/assets/icon/runningOutline32.json +1 -0
  19. package/dist/calcite/assets/icon/stairsDown16.json +1 -0
  20. package/dist/calcite/assets/icon/stairsDown24.json +1 -0
  21. package/dist/calcite/assets/icon/stairsDown32.json +1 -0
  22. package/dist/calcite/assets/icon/stairsUp16.json +1 -0
  23. package/dist/calcite/assets/icon/stairsUp24.json +1 -0
  24. package/dist/calcite/assets/icon/stairsUp32.json +1 -0
  25. package/dist/calcite/assets/icon/summarizeCenterAndDispersion116.json +1 -0
  26. package/dist/calcite/assets/icon/summarizeCenterAndDispersion124.json +1 -0
  27. package/dist/calcite/assets/icon/summarizeCenterAndDispersion132.json +1 -0
  28. package/dist/calcite/assets/icon/summarizeCenterAndDispersion216.json +1 -0
  29. package/dist/calcite/assets/icon/summarizeCenterAndDispersion224.json +1 -0
  30. package/dist/calcite/assets/icon/summarizeCenterAndDispersion232.json +1 -0
  31. package/dist/calcite/assets/icon/summarizeCenterAndDispersion316.json +1 -0
  32. package/dist/calcite/assets/icon/summarizeCenterAndDispersion324.json +1 -0
  33. package/dist/calcite/assets/icon/summarizeCenterAndDispersion332.json +1 -0
  34. package/dist/calcite/calcite.css +1 -1
  35. package/dist/calcite/calcite.esm.js +2 -2
  36. package/dist/calcite/index.esm.js +2 -2
  37. package/dist/calcite/{p-745ee3b7.js → p-02a0ccb3.js} +1 -1
  38. package/dist/calcite/{p-26dd4331.entry.js → p-097afecb.entry.js} +2 -2
  39. package/dist/calcite/p-0a85c4e4.entry.js +6 -0
  40. package/dist/calcite/{p-b4d4e112.entry.js → p-0a976525.entry.js} +2 -2
  41. package/dist/calcite/{p-510a3644.entry.js → p-0f391285.entry.js} +2 -2
  42. package/dist/calcite/p-1991df6d.js +6 -0
  43. package/dist/calcite/p-1cb5db3c.entry.js +6 -0
  44. package/dist/calcite/{p-01c11080.entry.js → p-1d1db968.entry.js} +2 -2
  45. package/dist/calcite/{p-f234b479.entry.js → p-1de6ee81.entry.js} +2 -2
  46. package/dist/calcite/{p-c1c254c1.js → p-1ecbc38a.js} +2 -2
  47. package/dist/calcite/{p-241981a0.entry.js → p-1f3c28a1.entry.js} +2 -2
  48. package/dist/calcite/{p-ef6bd1f2.entry.js → p-234ce859.entry.js} +2 -2
  49. package/dist/calcite/{p-e1355903.entry.js → p-244d2fe2.entry.js} +2 -2
  50. package/dist/calcite/p-29bbc8b8.js +6 -0
  51. package/dist/calcite/{p-45c6a247.entry.js → p-2caf5fdc.entry.js} +2 -2
  52. package/dist/calcite/{p-076c11ac.js → p-2f0cbe30.js} +2 -2
  53. package/dist/calcite/{p-bbc9ff4a.js → p-2f8d4bd3.js} +1 -1
  54. package/dist/calcite/{p-9184de45.entry.js → p-32313453.entry.js} +2 -2
  55. package/dist/calcite/p-325faaa4.entry.js +6 -0
  56. package/dist/calcite/p-331a5f87.entry.js +6 -0
  57. package/dist/calcite/{p-88cb7a4a.js → p-337b21e8.js} +1 -1
  58. package/dist/calcite/{p-0cf17728.entry.js → p-402a1893.entry.js} +2 -2
  59. package/dist/calcite/p-404c495c.entry.js +6 -0
  60. package/dist/calcite/{p-c039bac8.entry.js → p-44de2f60.entry.js} +2 -2
  61. package/dist/calcite/{p-aa68be36.entry.js → p-466f67d6.entry.js} +2 -2
  62. package/dist/calcite/{p-e5c5a835.js → p-47d5299c.js} +1 -1
  63. package/dist/calcite/{p-15fca17a.js → p-48b9e2b3.js} +2 -2
  64. package/dist/calcite/{p-f3bb8fef.entry.js → p-49cac069.entry.js} +2 -2
  65. package/dist/calcite/{p-b8cef76e.js → p-4ac4ae37.js} +2 -2
  66. package/dist/calcite/{p-792cced0.js → p-4c7209fe.js} +1 -1
  67. package/dist/calcite/{p-2abe4ef8.js → p-4d8db10c.js} +2 -2
  68. package/dist/calcite/{p-30c6f22d.entry.js → p-4e665683.entry.js} +2 -2
  69. package/dist/calcite/{p-e5a7fd6f.entry.js → p-4ee629aa.entry.js} +2 -2
  70. package/dist/calcite/{p-ae748c8d.entry.js → p-4ef6a109.entry.js} +2 -2
  71. package/dist/calcite/p-51d3b964.entry.js +6 -0
  72. package/dist/calcite/{p-17dc542c.entry.js → p-53fff9f8.entry.js} +2 -2
  73. package/dist/calcite/{p-1d5ad780.entry.js → p-54aa7a00.entry.js} +2 -2
  74. package/dist/calcite/p-55b09427.entry.js +6 -0
  75. package/dist/calcite/{p-4c584d95.entry.js → p-566cddc5.entry.js} +2 -2
  76. package/dist/calcite/{p-a29e2712.js → p-5c5eac87.js} +2 -2
  77. package/dist/calcite/{p-bbf1c48a.entry.js → p-5ebcbbfa.entry.js} +2 -2
  78. package/dist/calcite/{p-6a1e9a66.entry.js → p-5ef5aa99.entry.js} +2 -2
  79. package/dist/calcite/{p-94ac7e46.entry.js → p-649ae5ee.entry.js} +2 -2
  80. package/dist/calcite/{p-633ea2b0.entry.js → p-668900df.entry.js} +2 -2
  81. package/dist/calcite/{p-2ae40efb.js → p-6b7c6253.js} +2 -2
  82. package/dist/calcite/{p-a2339ee7.js → p-6c7f9088.js} +1 -1
  83. package/dist/calcite/{p-e6e63ae0.entry.js → p-716a7b3d.entry.js} +2 -2
  84. package/dist/calcite/{p-70064662.entry.js → p-74d3f9c1.entry.js} +2 -2
  85. package/dist/calcite/{p-f5162d1f.js → p-74fa51ba.js} +1 -1
  86. package/dist/calcite/p-76909069.entry.js +6 -0
  87. package/dist/calcite/{p-5fd2a0a3.js → p-76b795c9.js} +3 -3
  88. package/dist/calcite/{p-45c6fa89.js → p-7acbd908.js} +2 -2
  89. package/dist/calcite/{p-64b648a8.entry.js → p-7ba5ec0f.entry.js} +2 -2
  90. package/dist/calcite/{p-0b3291cc.js → p-7e82bc9d.js} +1 -1
  91. package/dist/calcite/{p-7ee7edbf.entry.js → p-80d408ad.entry.js} +2 -2
  92. package/dist/calcite/{p-3ff948bc.entry.js → p-815e8ad7.entry.js} +2 -2
  93. package/dist/calcite/{p-072abd52.js → p-8479393c.js} +1 -1
  94. package/dist/calcite/{p-c18170a8.entry.js → p-8c35b9cd.entry.js} +2 -2
  95. package/dist/calcite/{p-6ec84a11.entry.js → p-8de67bd6.entry.js} +2 -2
  96. package/dist/calcite/{p-5a7e307b.entry.js → p-919a498c.entry.js} +2 -2
  97. package/dist/calcite/{p-c142c9ea.entry.js → p-953a0b81.entry.js} +2 -2
  98. package/dist/calcite/{p-3254127b.entry.js → p-984a9fbd.entry.js} +2 -2
  99. package/dist/calcite/p-98a17346.entry.js +6 -0
  100. package/dist/calcite/{p-d43abf50.js → p-9c2e7b76.js} +1 -1
  101. package/dist/calcite/{p-bafc47ba.js → p-9f6d5170.js} +2 -2
  102. package/dist/calcite/{p-edffb079.entry.js → p-a1a465df.entry.js} +2 -2
  103. package/dist/calcite/{p-6a419101.entry.js → p-a720e08e.entry.js} +2 -2
  104. package/dist/calcite/{p-cf1b20d9.js → p-abf49547.js} +2 -2
  105. package/dist/calcite/{p-41dc8a65.entry.js → p-ad35f77d.entry.js} +2 -2
  106. package/dist/calcite/{p-51a8e0a5.js → p-ad7f66cd.js} +1 -1
  107. package/dist/calcite/{p-990be725.entry.js → p-b3747104.entry.js} +2 -2
  108. package/dist/calcite/p-b4e7b045.entry.js +6 -0
  109. package/dist/calcite/{p-1f204e0f.js → p-b6c844d7.js} +2 -2
  110. package/dist/calcite/p-b77ae765.entry.js +6 -0
  111. package/dist/calcite/p-b956efee.entry.js +6 -0
  112. package/dist/calcite/{p-d528908a.js → p-bcf956a1.js} +1 -1
  113. package/dist/calcite/{p-baa55812.entry.js → p-bf33d69d.entry.js} +2 -2
  114. package/dist/calcite/{p-696d4c7d.entry.js → p-c7473f02.entry.js} +2 -2
  115. package/dist/calcite/{p-8ce04308.entry.js → p-c8e0b12e.entry.js} +2 -2
  116. package/dist/calcite/p-cf6fcc79.entry.js +6 -0
  117. package/dist/calcite/{p-21615e47.entry.js → p-d27ae73c.entry.js} +2 -2
  118. package/dist/calcite/{p-d6400704.js → p-d37b6f88.js} +1 -1
  119. package/dist/calcite/p-d5546829.js +6 -0
  120. package/dist/calcite/{p-708fe134.js → p-d686a5f7.js} +2 -2
  121. package/dist/calcite/{p-f9a7d694.entry.js → p-d78aada9.entry.js} +2 -2
  122. package/dist/calcite/{p-6f36d5d9.js → p-d8d5f5f2.js} +1 -1
  123. package/dist/calcite/p-d9f552ff.entry.js +6 -0
  124. package/dist/calcite/{p-23ba2ea5.js → p-de8bc6a3.js} +1 -1
  125. package/dist/calcite/{p-0af218f6.js → p-df03ce82.js} +1 -1
  126. package/dist/calcite/{p-a66fb9c3.entry.js → p-df244f4d.entry.js} +2 -2
  127. package/dist/calcite/{p-d4180c1c.entry.js → p-e81965ba.entry.js} +2 -2
  128. package/dist/calcite/{p-f86a78fc.entry.js → p-e94350c3.entry.js} +2 -2
  129. package/dist/calcite/{p-d1c7eaba.entry.js → p-f3e03e2d.entry.js} +2 -2
  130. package/dist/calcite/p-f7b7c48b.entry.js +6 -0
  131. package/dist/calcite/{p-9d9577e0.js → p-fac6cb68.js} +1 -1
  132. package/dist/cjs/{ExpandToggle-10fa0c12.js → ExpandToggle-53c62c8b.js} +5 -5
  133. package/dist/cjs/{Heading-31540f0d.js → Heading-9b8ce247.js} +2 -2
  134. package/dist/cjs/{app-globals-79d3ce74.js → app-globals-769b035a.js} +2 -2
  135. package/dist/cjs/{array-d4094afe.js → array-46c08daa.js} +1 -1
  136. package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
  137. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  138. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  139. package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
  140. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  141. package/dist/cjs/calcite-action.cjs.entry.js +12 -12
  142. package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
  143. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  144. package/dist/cjs/calcite-block_2.cjs.entry.js +14 -14
  145. package/dist/cjs/calcite-button.cjs.entry.js +14 -14
  146. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  147. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  148. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  149. package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
  150. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
  151. package/dist/cjs/calcite-combobox_3.cjs.entry.js +20 -20
  152. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
  153. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
  154. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  155. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  156. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  157. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  158. package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -14
  159. package/dist/cjs/calcite-handle.cjs.entry.js +11 -11
  160. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  161. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  162. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
  163. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  164. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  165. package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
  166. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +39 -18
  167. package/dist/cjs/calcite-input.cjs.entry.js +22 -79
  168. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  169. package/dist/cjs/calcite-link.cjs.entry.js +8 -8
  170. package/dist/cjs/calcite-list_3.cjs.entry.js +13 -13
  171. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  172. package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
  173. package/dist/cjs/calcite-notice.cjs.entry.js +13 -13
  174. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
  175. package/dist/cjs/calcite-pagination.cjs.entry.js +11 -11
  176. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  177. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
  178. package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
  179. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  180. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  181. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
  182. package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
  183. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  184. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +10 -10
  185. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  186. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  187. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  188. package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
  189. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  190. package/dist/cjs/calcite-tab_4.cjs.entry.js +8 -8
  191. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
  192. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  193. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  194. package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -13
  195. package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
  196. package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
  197. package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
  198. package/dist/cjs/calcite.cjs.js +5 -5
  199. package/dist/cjs/{composed-offset-position.esm-51e555b5.js → composed-offset-position.esm-48f55cf4.js} +1 -1
  200. package/dist/cjs/{conditionalSlot-994ae7af.js → conditionalSlot-5b1b1d79.js} +3 -3
  201. package/dist/cjs/{debounce-73539b75.js → debounce-9e819d7f.js} +1 -1
  202. package/dist/cjs/{dom-769750bb.js → dom-f8c1444b.js} +3 -3
  203. package/dist/cjs/{filter-289d25f8.js → filter-824a59c2.js} +2 -2
  204. package/dist/cjs/{floating-ui-1cdd2856.js → floating-ui-20ba34b8.js} +4 -4
  205. package/dist/cjs/{focusTrapComponent-bddbcc58.js → focusTrapComponent-e05874e8.js} +2 -2
  206. package/dist/cjs/{form-a6738945.js → form-0fa30b3e.js} +3 -3
  207. package/dist/cjs/{guid-d4d6f896.js → guid-0be58fc5.js} +1 -1
  208. package/dist/cjs/{index-70cc3dea.js → index-f9a376f2.js} +1 -1
  209. package/dist/cjs/index.cjs.js +2 -2
  210. package/dist/cjs/{interactive-4f48d252.js → interactive-e86414e6.js} +1 -1
  211. package/dist/cjs/{key-c40ce6a0.js → key-40d03ac0.js} +1 -1
  212. package/dist/cjs/{label-6e67098e.js → label-08ada8e7.js} +2 -2
  213. package/dist/cjs/{loadable-8a052c3b.js → loadable-df400f4c.js} +1 -1
  214. package/dist/cjs/loader.cjs.js +5 -5
  215. package/dist/cjs/{locale-adaa4cea.js → locale-6c600829.js} +4 -4
  216. package/dist/cjs/{math-814be20e.js → math-81b53233.js} +1 -1
  217. package/dist/cjs/{observers-d4455647.js → observers-a38ccb9a.js} +1 -1
  218. package/dist/cjs/{openCloseComponent-ce1d36b2.js → openCloseComponent-98e25c24.js} +2 -2
  219. package/dist/cjs/{resources-85bb8ff7.js → resources-0ebefa64.js} +1 -1
  220. package/dist/cjs/{resources-421d3feb.js → resources-7cc1cd53.js} +1 -1
  221. package/dist/cjs/{resources-f28ee46c.js → resources-8ed2b1f8.js} +1 -1
  222. package/dist/cjs/{resources-d6266085.js → resources-93323d7a.js} +1 -1
  223. package/dist/cjs/{resources-55861246.js → resources-cc5fdefa.js} +5 -5
  224. package/dist/cjs/{resources-d7cdd2f5.js → resources-d970b2ae.js} +1 -1
  225. package/dist/cjs/{sortable.esm-1682ff44.js → sortable.esm-0e5c818c.js} +1 -1
  226. package/dist/cjs/{t9n-9899554a.js → t9n-9494e1d9.js} +3 -3
  227. package/dist/cjs/{throttle-321154bd.js → throttle-93fa67e3.js} +2 -2
  228. package/dist/cjs/{utils-587f3c7c.js → utils-0f20d08d.js} +1 -1
  229. package/dist/cjs/{utils-31842e65.js → utils-ba4c59d2.js} +3 -3
  230. package/dist/collection/components/accordion/accordion.js +1 -1
  231. package/dist/collection/components/accordion-item/accordion-item.css +13 -2
  232. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  233. package/dist/collection/components/accordion-item/resources.js +1 -1
  234. package/dist/collection/components/action/action.css +12 -2
  235. package/dist/collection/components/action/action.js +1 -1
  236. package/dist/collection/components/action/resources.js +1 -1
  237. package/dist/collection/components/action-bar/action-bar.js +1 -1
  238. package/dist/collection/components/action-bar/resources.js +1 -1
  239. package/dist/collection/components/action-bar/utils.js +1 -1
  240. package/dist/collection/components/action-group/action-group.js +1 -1
  241. package/dist/collection/components/action-group/resources.js +1 -1
  242. package/dist/collection/components/action-menu/action-menu.css +12 -1
  243. package/dist/collection/components/action-menu/action-menu.js +1 -1
  244. package/dist/collection/components/action-menu/resources.js +1 -1
  245. package/dist/collection/components/action-pad/action-pad.js +1 -1
  246. package/dist/collection/components/action-pad/resources.js +1 -1
  247. package/dist/collection/components/alert/alert.css +12 -2
  248. package/dist/collection/components/alert/alert.js +1 -1
  249. package/dist/collection/components/alert/resources.js +1 -1
  250. package/dist/collection/components/avatar/avatar.js +1 -1
  251. package/dist/collection/components/avatar/utils.js +1 -1
  252. package/dist/collection/components/block/block.css +12 -2
  253. package/dist/collection/components/block/block.js +1 -1
  254. package/dist/collection/components/block/resources.js +1 -1
  255. package/dist/collection/components/block-section/block-section.css +12 -2
  256. package/dist/collection/components/block-section/block-section.js +1 -1
  257. package/dist/collection/components/block-section/resources.js +1 -1
  258. package/dist/collection/components/button/button.css +12 -2
  259. package/dist/collection/components/button/button.js +1 -1
  260. package/dist/collection/components/button/resources.js +1 -1
  261. package/dist/collection/components/card/card.js +1 -1
  262. package/dist/collection/components/card/resources.js +1 -1
  263. package/dist/collection/components/checkbox/checkbox.css +12 -2
  264. package/dist/collection/components/checkbox/checkbox.js +1 -1
  265. package/dist/collection/components/chip/chip.css +24 -4
  266. package/dist/collection/components/chip/chip.js +1 -1
  267. package/dist/collection/components/chip/resources.js +1 -1
  268. package/dist/collection/components/chip-group/chip-group.js +1 -1
  269. package/dist/collection/components/color-picker/color-picker.css +12 -1
  270. package/dist/collection/components/color-picker/color-picker.js +1 -1
  271. package/dist/collection/components/color-picker/resources.js +1 -1
  272. package/dist/collection/components/color-picker/utils.js +1 -1
  273. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  274. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  275. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  276. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  277. package/dist/collection/components/combobox/combobox.css +12 -2
  278. package/dist/collection/components/combobox/combobox.js +1 -1
  279. package/dist/collection/components/combobox/resources.js +1 -1
  280. package/dist/collection/components/combobox/utils.js +1 -1
  281. package/dist/collection/components/combobox-item/combobox-item.css +12 -2
  282. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  283. package/dist/collection/components/combobox-item/resources.js +1 -1
  284. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  285. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  286. package/dist/collection/components/date-picker/date-picker.js +1 -1
  287. package/dist/collection/components/date-picker/resources.js +1 -1
  288. package/dist/collection/components/date-picker/utils.js +1 -1
  289. package/dist/collection/components/date-picker-day/date-picker-day.css +12 -2
  290. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  291. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  292. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +24 -4
  293. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  294. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  295. package/dist/collection/components/dropdown/dropdown.js +1 -1
  296. package/dist/collection/components/dropdown/resources.js +1 -1
  297. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  298. package/dist/collection/components/dropdown-group/resources.js +1 -1
  299. package/dist/collection/components/dropdown-item/dropdown-item.css +13 -2
  300. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  301. package/dist/collection/components/dropdown-item/resources.js +1 -1
  302. package/dist/collection/components/fab/fab.js +1 -1
  303. package/dist/collection/components/fab/resources.js +1 -1
  304. package/dist/collection/components/filter/filter.js +1 -1
  305. package/dist/collection/components/filter/resources.js +1 -1
  306. package/dist/collection/components/flow/flow.js +1 -1
  307. package/dist/collection/components/flow/resources.js +1 -1
  308. package/dist/collection/components/flow-item/flow-item.js +1 -1
  309. package/dist/collection/components/flow-item/resources.js +1 -1
  310. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  311. package/dist/collection/components/functional/Heading.js +1 -1
  312. package/dist/collection/components/graph/graph.js +1 -1
  313. package/dist/collection/components/graph/util.js +1 -1
  314. package/dist/collection/components/handle/handle.css +12 -2
  315. package/dist/collection/components/handle/handle.js +1 -1
  316. package/dist/collection/components/handle/resources.js +1 -1
  317. package/dist/collection/components/icon/assets/icon/catalogDataset16.json +1 -0
  318. package/dist/collection/components/icon/assets/icon/catalogDataset24.json +1 -0
  319. package/dist/collection/components/icon/assets/icon/catalogDataset32.json +1 -0
  320. package/dist/collection/components/icon/assets/icon/elevatorDown16.json +1 -0
  321. package/dist/collection/components/icon/assets/icon/elevatorDown24.json +1 -0
  322. package/dist/collection/components/icon/assets/icon/elevatorDown32.json +1 -0
  323. package/dist/collection/components/icon/assets/icon/elevatorUp16.json +1 -0
  324. package/dist/collection/components/icon/assets/icon/elevatorUp24.json +1 -0
  325. package/dist/collection/components/icon/assets/icon/elevatorUp32.json +1 -0
  326. package/dist/collection/components/icon/assets/icon/escalatorDown16.json +1 -0
  327. package/dist/collection/components/icon/assets/icon/escalatorDown24.json +1 -0
  328. package/dist/collection/components/icon/assets/icon/escalatorDown32.json +1 -0
  329. package/dist/collection/components/icon/assets/icon/escalatorUp16.json +1 -0
  330. package/dist/collection/components/icon/assets/icon/escalatorUp24.json +1 -0
  331. package/dist/collection/components/icon/assets/icon/escalatorUp32.json +1 -0
  332. package/dist/collection/components/icon/assets/icon/runningOutline16.json +1 -0
  333. package/dist/collection/components/icon/assets/icon/runningOutline24.json +1 -0
  334. package/dist/collection/components/icon/assets/icon/runningOutline32.json +1 -0
  335. package/dist/collection/components/icon/assets/icon/stairsDown16.json +1 -0
  336. package/dist/collection/components/icon/assets/icon/stairsDown24.json +1 -0
  337. package/dist/collection/components/icon/assets/icon/stairsDown32.json +1 -0
  338. package/dist/collection/components/icon/assets/icon/stairsUp16.json +1 -0
  339. package/dist/collection/components/icon/assets/icon/stairsUp24.json +1 -0
  340. package/dist/collection/components/icon/assets/icon/stairsUp32.json +1 -0
  341. package/dist/collection/components/icon/assets/icon/summarizeCenterAndDispersion116.json +1 -0
  342. package/dist/collection/components/icon/assets/icon/summarizeCenterAndDispersion124.json +1 -0
  343. package/dist/collection/components/icon/assets/icon/summarizeCenterAndDispersion132.json +1 -0
  344. package/dist/collection/components/icon/assets/icon/summarizeCenterAndDispersion216.json +1 -0
  345. package/dist/collection/components/icon/assets/icon/summarizeCenterAndDispersion224.json +1 -0
  346. package/dist/collection/components/icon/assets/icon/summarizeCenterAndDispersion232.json +1 -0
  347. package/dist/collection/components/icon/assets/icon/summarizeCenterAndDispersion316.json +1 -0
  348. package/dist/collection/components/icon/assets/icon/summarizeCenterAndDispersion324.json +1 -0
  349. package/dist/collection/components/icon/assets/icon/summarizeCenterAndDispersion332.json +1 -0
  350. package/dist/collection/components/icon/icon.js +1 -1
  351. package/dist/collection/components/icon/resources.js +1 -1
  352. package/dist/collection/components/icon/utils.js +1 -1
  353. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  354. package/dist/collection/components/inline-editable/resources.js +1 -1
  355. package/dist/collection/components/input/input.css +35 -5
  356. package/dist/collection/components/input/input.js +31 -8
  357. package/dist/collection/components/input/resources.js +1 -1
  358. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  359. package/dist/collection/components/input-date-picker/resources.js +1 -1
  360. package/dist/collection/components/input-message/input-message.js +1 -1
  361. package/dist/collection/components/input-message/interfaces.js +1 -1
  362. package/dist/collection/components/input-number/input-number.css +35 -5
  363. package/dist/collection/components/input-number/input-number.js +1 -1
  364. package/dist/collection/components/input-number/resources.js +1 -1
  365. package/dist/collection/components/input-text/input-text.css +35 -5
  366. package/dist/collection/components/input-text/input-text.js +1 -1
  367. package/dist/collection/components/input-text/resources.js +1 -1
  368. package/dist/collection/components/input-time-picker/input-time-picker.css +27 -0
  369. package/dist/collection/components/input-time-picker/input-time-picker.js +24 -5
  370. package/dist/collection/components/input-time-picker/resources.js +8 -0
  371. package/dist/collection/components/label/label.js +1 -1
  372. package/dist/collection/components/label/resources.js +1 -1
  373. package/dist/collection/components/link/link.css +12 -2
  374. package/dist/collection/components/link/link.js +1 -1
  375. package/dist/collection/components/list/list.js +1 -1
  376. package/dist/collection/components/list/resources.js +1 -1
  377. package/dist/collection/components/list-item/list-item.css +1 -1
  378. package/dist/collection/components/list-item/list-item.js +1 -1
  379. package/dist/collection/components/list-item/resources.js +1 -1
  380. package/dist/collection/components/list-item/utils.js +1 -1
  381. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  382. package/dist/collection/components/list-item-group/resources.js +1 -1
  383. package/dist/collection/components/loader/loader.js +1 -1
  384. package/dist/collection/components/modal/modal.css +12 -2
  385. package/dist/collection/components/modal/modal.js +1 -1
  386. package/dist/collection/components/modal/resources.js +1 -1
  387. package/dist/collection/components/notice/notice.css +12 -2
  388. package/dist/collection/components/notice/notice.js +1 -1
  389. package/dist/collection/components/notice/resources.js +1 -1
  390. package/dist/collection/components/option/option.js +1 -1
  391. package/dist/collection/components/option-group/option-group.js +1 -1
  392. package/dist/collection/components/pagination/pagination.css +12 -2
  393. package/dist/collection/components/pagination/pagination.js +1 -1
  394. package/dist/collection/components/pagination/resources.js +1 -1
  395. package/dist/collection/components/panel/panel.js +1 -1
  396. package/dist/collection/components/panel/resources.js +1 -1
  397. package/dist/collection/components/pick-list/pick-list.js +1 -1
  398. package/dist/collection/components/pick-list/resources.js +1 -1
  399. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  400. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  401. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  402. package/dist/collection/components/pick-list-group/resources.js +1 -1
  403. package/dist/collection/components/pick-list-item/pick-list-item.css +12 -2
  404. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  405. package/dist/collection/components/pick-list-item/resources.js +1 -1
  406. package/dist/collection/components/popover/PopoverManager.js +1 -1
  407. package/dist/collection/components/popover/popover.js +1 -1
  408. package/dist/collection/components/popover/resources.js +1 -1
  409. package/dist/collection/components/progress/progress.js +1 -1
  410. package/dist/collection/components/radio-button/radio-button.css +12 -2
  411. package/dist/collection/components/radio-button/radio-button.js +1 -1
  412. package/dist/collection/components/radio-button/resources.js +1 -1
  413. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  414. package/dist/collection/components/rating/function/star.js +1 -1
  415. package/dist/collection/components/rating/rating.css +12 -2
  416. package/dist/collection/components/rating/rating.js +1 -1
  417. package/dist/collection/components/resources.js +1 -1
  418. package/dist/collection/components/scrim/resources.js +1 -1
  419. package/dist/collection/components/scrim/scrim.js +1 -1
  420. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  421. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  422. package/dist/collection/components/segmented-control-item/segmented-control-item.css +12 -1
  423. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  424. package/dist/collection/components/select/resources.js +1 -1
  425. package/dist/collection/components/select/select.css +12 -2
  426. package/dist/collection/components/select/select.js +1 -1
  427. package/dist/collection/components/shell/resources.js +1 -1
  428. package/dist/collection/components/shell/shell.js +1 -1
  429. package/dist/collection/components/shell-center-row/resources.js +1 -1
  430. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  431. package/dist/collection/components/shell-panel/resources.js +1 -1
  432. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  433. package/dist/collection/components/slider/resources.js +1 -1
  434. package/dist/collection/components/slider/slider.css +12 -2
  435. package/dist/collection/components/slider/slider.js +1 -1
  436. package/dist/collection/components/sortable-list/resources.js +1 -1
  437. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  438. package/dist/collection/components/split-button/resources.js +1 -1
  439. package/dist/collection/components/split-button/split-button.js +1 -1
  440. package/dist/collection/components/stepper/stepper.js +1 -1
  441. package/dist/collection/components/stepper-item/stepper-item.css +24 -4
  442. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  443. package/dist/collection/components/switch/switch.css +12 -2
  444. package/dist/collection/components/switch/switch.js +1 -1
  445. package/dist/collection/components/tab/tab.js +1 -1
  446. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  447. package/dist/collection/components/tab-title/resources.js +1 -1
  448. package/dist/collection/components/tab-title/tab-title.css +12 -2
  449. package/dist/collection/components/tab-title/tab-title.js +1 -1
  450. package/dist/collection/components/tabs/resources.js +1 -1
  451. package/dist/collection/components/tabs/tabs.js +1 -1
  452. package/dist/collection/components/text-area/resources.js +1 -1
  453. package/dist/collection/components/text-area/text-area.css +23 -3
  454. package/dist/collection/components/text-area/text-area.js +1 -1
  455. package/dist/collection/components/tile/resources.js +1 -1
  456. package/dist/collection/components/tile/tile.js +1 -1
  457. package/dist/collection/components/tile-select/resources.js +1 -1
  458. package/dist/collection/components/tile-select/tile-select.css +12 -1
  459. package/dist/collection/components/tile-select/tile-select.js +1 -1
  460. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  461. package/dist/collection/components/time-picker/resources.js +1 -1
  462. package/dist/collection/components/time-picker/time-picker.js +1 -1
  463. package/dist/collection/components/tip/resources.js +1 -1
  464. package/dist/collection/components/tip/tip.css +12 -2
  465. package/dist/collection/components/tip/tip.js +1 -1
  466. package/dist/collection/components/tip-group/tip-group.js +1 -1
  467. package/dist/collection/components/tip-manager/resources.js +1 -1
  468. package/dist/collection/components/tip-manager/tip-manager.css +24 -4
  469. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  470. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  471. package/dist/collection/components/tooltip/resources.js +1 -1
  472. package/dist/collection/components/tooltip/tooltip.js +1 -1
  473. package/dist/collection/components/tooltip/utils.js +1 -1
  474. package/dist/collection/components/tree/tree.js +1 -1
  475. package/dist/collection/components/tree/utils.js +1 -1
  476. package/dist/collection/components/tree-item/resources.js +1 -1
  477. package/dist/collection/components/tree-item/tree-item.css +26 -4
  478. package/dist/collection/components/tree-item/tree-item.js +1 -1
  479. package/dist/collection/components/value-list/resources.js +1 -1
  480. package/dist/collection/components/value-list/utils.js +1 -1
  481. package/dist/collection/components/value-list/value-list.js +1 -1
  482. package/dist/collection/components/value-list-item/resources.js +1 -1
  483. package/dist/collection/components/value-list-item/value-list-item.css +12 -2
  484. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  485. package/dist/collection/index.js +1 -1
  486. package/dist/collection/utils/array.js +1 -1
  487. package/dist/collection/utils/conditionalSlot.js +1 -1
  488. package/dist/collection/utils/config.js +1 -1
  489. package/dist/collection/utils/date.js +1 -1
  490. package/dist/collection/utils/dom.js +1 -1
  491. package/dist/collection/utils/filter.js +1 -1
  492. package/dist/collection/utils/floating-ui.js +1 -1
  493. package/dist/collection/utils/focusTrapComponent.js +1 -1
  494. package/dist/collection/utils/form.js +1 -1
  495. package/dist/collection/utils/globalAttributes.js +1 -1
  496. package/dist/collection/utils/globalScript.js +1 -1
  497. package/dist/collection/utils/guid.js +1 -1
  498. package/dist/collection/utils/interactive.js +1 -1
  499. package/dist/collection/utils/key.js +1 -1
  500. package/dist/collection/utils/label.js +1 -1
  501. package/dist/collection/utils/loadable.js +1 -1
  502. package/dist/collection/utils/locale.js +1 -1
  503. package/dist/collection/utils/math.js +1 -1
  504. package/dist/collection/utils/mode.js +1 -1
  505. package/dist/collection/utils/number.js +1 -1
  506. package/dist/collection/utils/observers.js +1 -1
  507. package/dist/collection/utils/openCloseComponent.js +1 -1
  508. package/dist/collection/utils/resources.js +1 -1
  509. package/dist/collection/utils/t9n.js +1 -1
  510. package/dist/collection/utils/time.js +1 -1
  511. package/dist/components/ExpandToggle.js +1 -1
  512. package/dist/components/Heading.js +1 -1
  513. package/dist/components/action-group.js +1 -1
  514. package/dist/components/action-menu.js +2 -2
  515. package/dist/components/action.js +2 -2
  516. package/dist/components/array.js +1 -1
  517. package/dist/components/button.js +2 -2
  518. package/dist/components/calcite-accordion-item.js +2 -2
  519. package/dist/components/calcite-accordion.js +1 -1
  520. package/dist/components/calcite-action-bar.js +1 -1
  521. package/dist/components/calcite-action-group.js +1 -1
  522. package/dist/components/calcite-action-menu.js +1 -1
  523. package/dist/components/calcite-action-pad.js +1 -1
  524. package/dist/components/calcite-action.js +1 -1
  525. package/dist/components/calcite-alert.js +2 -2
  526. package/dist/components/calcite-avatar.js +1 -1
  527. package/dist/components/calcite-block-section.js +2 -2
  528. package/dist/components/calcite-block.js +2 -2
  529. package/dist/components/calcite-button.js +1 -1
  530. package/dist/components/calcite-card.js +1 -1
  531. package/dist/components/calcite-checkbox.js +1 -1
  532. package/dist/components/calcite-chip-group.js +1 -1
  533. package/dist/components/calcite-chip.js +1 -1
  534. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  535. package/dist/components/calcite-color-picker-swatch.js +1 -1
  536. package/dist/components/calcite-color-picker.js +2 -2
  537. package/dist/components/calcite-combobox-item-group.js +1 -1
  538. package/dist/components/calcite-combobox-item.js +2 -2
  539. package/dist/components/calcite-combobox.js +2 -2
  540. package/dist/components/calcite-date-picker-day.js +1 -1
  541. package/dist/components/calcite-date-picker-month-header.js +1 -1
  542. package/dist/components/calcite-date-picker-month.js +1 -1
  543. package/dist/components/calcite-date-picker.js +1 -1
  544. package/dist/components/calcite-dropdown-group.js +1 -1
  545. package/dist/components/calcite-dropdown-item.js +2 -2
  546. package/dist/components/calcite-dropdown.js +1 -1
  547. package/dist/components/calcite-fab.js +1 -1
  548. package/dist/components/calcite-filter.js +1 -1
  549. package/dist/components/calcite-flow-item.js +1 -1
  550. package/dist/components/calcite-flow.js +1 -1
  551. package/dist/components/calcite-graph.js +1 -1
  552. package/dist/components/calcite-handle.js +1 -1
  553. package/dist/components/calcite-icon.js +1 -1
  554. package/dist/components/calcite-inline-editable.js +1 -1
  555. package/dist/components/calcite-input-date-picker.js +1 -1
  556. package/dist/components/calcite-input-message.js +1 -1
  557. package/dist/components/calcite-input-number.js +2 -2
  558. package/dist/components/calcite-input-text.js +2 -2
  559. package/dist/components/calcite-input-time-picker.js +28 -6
  560. package/dist/components/calcite-input.js +1 -1
  561. package/dist/components/calcite-label.js +1 -1
  562. package/dist/components/calcite-link.js +1 -1
  563. package/dist/components/calcite-list-item-group.js +1 -1
  564. package/dist/components/calcite-list-item.js +2 -2
  565. package/dist/components/calcite-list.js +1 -1
  566. package/dist/components/calcite-loader.js +1 -1
  567. package/dist/components/calcite-modal.js +2 -2
  568. package/dist/components/calcite-notice.js +2 -2
  569. package/dist/components/calcite-option-group.js +1 -1
  570. package/dist/components/calcite-option.js +1 -1
  571. package/dist/components/calcite-pagination.js +2 -2
  572. package/dist/components/calcite-panel.js +1 -1
  573. package/dist/components/calcite-pick-list-group.js +1 -1
  574. package/dist/components/calcite-pick-list-item.js +1 -1
  575. package/dist/components/calcite-pick-list.js +1 -1
  576. package/dist/components/calcite-popover.js +1 -1
  577. package/dist/components/calcite-progress.js +1 -1
  578. package/dist/components/calcite-radio-button-group.js +1 -1
  579. package/dist/components/calcite-radio-button.js +2 -2
  580. package/dist/components/calcite-rating.js +2 -2
  581. package/dist/components/calcite-scrim.js +1 -1
  582. package/dist/components/calcite-segmented-control-item.js +2 -2
  583. package/dist/components/calcite-segmented-control.js +1 -1
  584. package/dist/components/calcite-select.js +2 -2
  585. package/dist/components/calcite-shell-center-row.js +1 -1
  586. package/dist/components/calcite-shell-panel.js +1 -1
  587. package/dist/components/calcite-shell.js +1 -1
  588. package/dist/components/calcite-slider.js +2 -2
  589. package/dist/components/calcite-sortable-list.js +1 -1
  590. package/dist/components/calcite-split-button.js +1 -1
  591. package/dist/components/calcite-stepper-item.js +2 -2
  592. package/dist/components/calcite-stepper.js +1 -1
  593. package/dist/components/calcite-switch.js +1 -1
  594. package/dist/components/calcite-tab-nav.js +1 -1
  595. package/dist/components/calcite-tab-title.js +1 -1
  596. package/dist/components/calcite-tab.js +1 -1
  597. package/dist/components/calcite-tabs.js +1 -1
  598. package/dist/components/calcite-text-area.js +2 -2
  599. package/dist/components/calcite-tile-select-group.js +1 -1
  600. package/dist/components/calcite-tile-select.js +2 -2
  601. package/dist/components/calcite-tile.js +1 -1
  602. package/dist/components/calcite-time-picker.js +1 -1
  603. package/dist/components/calcite-tip-group.js +1 -1
  604. package/dist/components/calcite-tip-manager.js +2 -2
  605. package/dist/components/calcite-tip.js +2 -2
  606. package/dist/components/calcite-tooltip.js +1 -1
  607. package/dist/components/calcite-tree-item.js +2 -2
  608. package/dist/components/calcite-tree.js +1 -1
  609. package/dist/components/calcite-value-list-item.js +2 -2
  610. package/dist/components/calcite-value-list.js +1 -1
  611. package/dist/components/checkbox.js +2 -2
  612. package/dist/components/chip.js +2 -2
  613. package/dist/components/color-picker-hex-input.js +1 -1
  614. package/dist/components/color-picker-swatch.js +1 -1
  615. package/dist/components/composed-offset-position.esm.js +1 -1
  616. package/dist/components/conditionalSlot.js +1 -1
  617. package/dist/components/date-picker-day.js +2 -2
  618. package/dist/components/date-picker-month-header.js +2 -2
  619. package/dist/components/date-picker-month.js +1 -1
  620. package/dist/components/date-picker.js +1 -1
  621. package/dist/components/date.js +1 -1
  622. package/dist/components/debounce.js +1 -1
  623. package/dist/components/dom.js +1 -1
  624. package/dist/components/dropdown.js +1 -1
  625. package/dist/components/filter.js +1 -1
  626. package/dist/components/filter2.js +1 -1
  627. package/dist/components/floating-ui.js +1 -1
  628. package/dist/components/focusTrapComponent.js +1 -1
  629. package/dist/components/form.js +1 -1
  630. package/dist/components/graph.js +1 -1
  631. package/dist/components/guid.js +1 -1
  632. package/dist/components/handle.js +2 -2
  633. package/dist/components/icon.js +1 -1
  634. package/dist/components/index.js +1 -1
  635. package/dist/components/input.js +11 -68
  636. package/dist/components/interactive.js +1 -1
  637. package/dist/components/key.js +1 -1
  638. package/dist/components/label.js +1 -1
  639. package/dist/components/label2.js +1 -1
  640. package/dist/components/link.js +2 -2
  641. package/dist/components/loadable.js +1 -1
  642. package/dist/components/loader.js +1 -1
  643. package/dist/components/locale.js +1 -1
  644. package/dist/components/math.js +1 -1
  645. package/dist/components/observers.js +1 -1
  646. package/dist/components/openCloseComponent.js +1 -1
  647. package/dist/components/panel.js +1 -1
  648. package/dist/components/pick-list-item.js +2 -2
  649. package/dist/components/popover.js +1 -1
  650. package/dist/components/progress.js +1 -1
  651. package/dist/components/resources.js +1 -1
  652. package/dist/components/resources2.js +1 -1
  653. package/dist/components/resources3.js +1 -1
  654. package/dist/components/scrim.js +1 -1
  655. package/dist/components/shared-list-render.js +1 -1
  656. package/dist/components/sortable.esm.js +1 -1
  657. package/dist/components/switch.js +2 -2
  658. package/dist/components/t9n.js +1 -1
  659. package/dist/components/tab-nav.js +1 -1
  660. package/dist/components/tab-title.js +2 -2
  661. package/dist/components/tab.js +1 -1
  662. package/dist/components/tabs.js +1 -1
  663. package/dist/components/throttle.js +1 -1
  664. package/dist/components/tile.js +1 -1
  665. package/dist/components/time-picker.js +1 -1
  666. package/dist/components/tooltip.js +1 -1
  667. package/dist/components/utils.js +1 -1
  668. package/dist/components/utils2.js +1 -1
  669. package/dist/components/utils3.js +1 -1
  670. package/dist/esm/{ExpandToggle-43a98b32.js → ExpandToggle-35cc4ab6.js} +5 -5
  671. package/dist/esm/{Heading-6c4b0d6f.js → Heading-5855bb06.js} +2 -2
  672. package/dist/esm/{app-globals-6a0886fc.js → app-globals-132eb48d.js} +2 -2
  673. package/dist/esm/{array-4656c258.js → array-7bccb83a.js} +1 -1
  674. package/dist/esm/calcite-accordion_2.entry.js +8 -8
  675. package/dist/esm/calcite-action-bar.entry.js +15 -15
  676. package/dist/esm/calcite-action-group.entry.js +13 -13
  677. package/dist/esm/calcite-action-menu.entry.js +10 -10
  678. package/dist/esm/calcite-action-pad.entry.js +14 -14
  679. package/dist/esm/calcite-action.entry.js +12 -12
  680. package/dist/esm/calcite-alert.entry.js +13 -13
  681. package/dist/esm/calcite-avatar.entry.js +6 -6
  682. package/dist/esm/calcite-block_2.entry.js +14 -14
  683. package/dist/esm/calcite-button.entry.js +14 -14
  684. package/dist/esm/calcite-card.entry.js +10 -10
  685. package/dist/esm/calcite-checkbox.entry.js +11 -11
  686. package/dist/esm/calcite-chip-group.entry.js +8 -8
  687. package/dist/esm/calcite-chip.entry.js +13 -13
  688. package/dist/esm/calcite-color-picker_3.entry.js +16 -16
  689. package/dist/esm/calcite-combobox_3.entry.js +20 -20
  690. package/dist/esm/calcite-date-picker_4.entry.js +15 -15
  691. package/dist/esm/calcite-dropdown_3.entry.js +13 -13
  692. package/dist/esm/calcite-fab.entry.js +7 -7
  693. package/dist/esm/calcite-filter.entry.js +13 -13
  694. package/dist/esm/calcite-flow-item.entry.js +12 -12
  695. package/dist/esm/calcite-flow.entry.js +3 -3
  696. package/dist/esm/calcite-graph_2.entry.js +14 -14
  697. package/dist/esm/calcite-handle.entry.js +11 -11
  698. package/dist/esm/calcite-icon.entry.js +6 -6
  699. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  700. package/dist/esm/calcite-input-date-picker.entry.js +18 -18
  701. package/dist/esm/calcite-input-message.entry.js +5 -5
  702. package/dist/esm/calcite-input-number.entry.js +14 -14
  703. package/dist/esm/calcite-input-text.entry.js +14 -14
  704. package/dist/esm/calcite-input-time-picker_2.entry.js +39 -18
  705. package/dist/esm/calcite-input.entry.js +22 -79
  706. package/dist/esm/calcite-label.entry.js +6 -6
  707. package/dist/esm/calcite-link.entry.js +8 -8
  708. package/dist/esm/calcite-list_3.entry.js +13 -13
  709. package/dist/esm/calcite-loader.entry.js +3 -3
  710. package/dist/esm/calcite-modal.entry.js +14 -14
  711. package/dist/esm/calcite-notice.entry.js +13 -13
  712. package/dist/esm/calcite-option_3.entry.js +11 -11
  713. package/dist/esm/calcite-pagination.entry.js +11 -11
  714. package/dist/esm/calcite-panel.entry.js +14 -14
  715. package/dist/esm/calcite-pick-list_3.entry.js +17 -17
  716. package/dist/esm/calcite-popover.entry.js +15 -15
  717. package/dist/esm/calcite-progress.entry.js +2 -2
  718. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  719. package/dist/esm/calcite-radio-button.entry.js +11 -11
  720. package/dist/esm/calcite-rating.entry.js +14 -14
  721. package/dist/esm/calcite-scrim.entry.js +9 -9
  722. package/dist/esm/calcite-segmented-control_2.entry.js +10 -10
  723. package/dist/esm/calcite-shell_3.entry.js +11 -11
  724. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  725. package/dist/esm/calcite-split-button.entry.js +4 -4
  726. package/dist/esm/calcite-stepper_2.entry.js +11 -11
  727. package/dist/esm/calcite-switch.entry.js +11 -11
  728. package/dist/esm/calcite-tab_4.entry.js +8 -8
  729. package/dist/esm/calcite-text-area.entry.js +16 -16
  730. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  731. package/dist/esm/calcite-tile.entry.js +8 -8
  732. package/dist/esm/calcite-tip_3.entry.js +13 -13
  733. package/dist/esm/calcite-tooltip.entry.js +8 -8
  734. package/dist/esm/calcite-tree_2.entry.js +10 -10
  735. package/dist/esm/calcite-value-list_2.entry.js +17 -17
  736. package/dist/esm/calcite.js +6 -6
  737. package/dist/esm/{composed-offset-position.esm-e948c216.js → composed-offset-position.esm-36f442af.js} +1 -1
  738. package/dist/esm/{conditionalSlot-53806d57.js → conditionalSlot-8566b0df.js} +3 -3
  739. package/dist/esm/{debounce-83d125bb.js → debounce-7e6b45a8.js} +1 -1
  740. package/dist/esm/{dom-0f016699.js → dom-1fce0226.js} +3 -3
  741. package/dist/esm/{filter-2a4b8748.js → filter-7d2dd24e.js} +2 -2
  742. package/dist/esm/{floating-ui-95cf20bb.js → floating-ui-fb14eae1.js} +4 -4
  743. package/dist/esm/{focusTrapComponent-aaa27dc4.js → focusTrapComponent-ba09dbb0.js} +2 -2
  744. package/dist/esm/{form-4322efd7.js → form-5cdc12fa.js} +3 -3
  745. package/dist/esm/{guid-d707518f.js → guid-ed2dd222.js} +1 -1
  746. package/dist/esm/{index-65592599.js → index-bd7c3cc8.js} +1 -1
  747. package/dist/esm/index.js +2 -2
  748. package/dist/esm/{interactive-7797c51a.js → interactive-dc01ffda.js} +1 -1
  749. package/dist/esm/{key-46f55d43.js → key-2f6c9b1e.js} +1 -1
  750. package/dist/esm/{label-740e4555.js → label-7ead96cb.js} +2 -2
  751. package/dist/esm/{loadable-8721c347.js → loadable-c9164572.js} +1 -1
  752. package/dist/esm/loader.js +6 -6
  753. package/dist/esm/{locale-8df1a856.js → locale-ccb84567.js} +4 -4
  754. package/dist/esm/{math-72ea0ae0.js → math-3154afb8.js} +1 -1
  755. package/dist/esm/{observers-8e6bee13.js → observers-61d9bfce.js} +1 -1
  756. package/dist/esm/{openCloseComponent-104d5dc8.js → openCloseComponent-ff8582bc.js} +2 -2
  757. package/dist/esm/{resources-2b7acc70.js → resources-5c785877.js} +1 -1
  758. package/dist/esm/{resources-bb3c64d4.js → resources-5e7bdb68.js} +1 -1
  759. package/dist/esm/{resources-d41818b9.js → resources-aeb2c78c.js} +1 -1
  760. package/dist/esm/{resources-0e184764.js → resources-c9b30c51.js} +5 -5
  761. package/dist/esm/{resources-e7bb47ed.js → resources-d59583f6.js} +1 -1
  762. package/dist/esm/{resources-e40090ad.js → resources-e4958893.js} +1 -1
  763. package/dist/esm/{sortable.esm-0841ea8a.js → sortable.esm-ec5f9f57.js} +1 -1
  764. package/dist/esm/{t9n-3d661d05.js → t9n-376cff99.js} +3 -3
  765. package/dist/esm/{throttle-a9eb081d.js → throttle-ee55ffe6.js} +2 -2
  766. package/dist/esm/{utils-1261197e.js → utils-6c77bd20.js} +1 -1
  767. package/dist/esm/{utils-d6325832.js → utils-d8e4a9b7.js} +3 -3
  768. package/dist/extras/docs-json.json +29 -3
  769. package/dist/loader/cdn.js +1 -1
  770. package/dist/loader/index.cjs.js +1 -1
  771. package/dist/loader/index.es2017.js +1 -1
  772. package/dist/loader/index.js +1 -1
  773. package/dist/types/components/input/input.d.ts +7 -1
  774. package/dist/types/components/input-time-picker/input-time-picker.d.ts +8 -3
  775. package/dist/types/components/input-time-picker/resources.d.ts +3 -0
  776. package/dist/types/components.d.ts +10 -0
  777. package/hydrate/index.js +306 -342
  778. package/package.json +2 -2
  779. package/dist/calcite/p-1307f81b.entry.js +0 -6
  780. package/dist/calcite/p-20a0179c.entry.js +0 -6
  781. package/dist/calcite/p-29544ca2.entry.js +0 -6
  782. package/dist/calcite/p-2a0922df.entry.js +0 -6
  783. package/dist/calcite/p-35da31ac.entry.js +0 -6
  784. package/dist/calcite/p-58a78c6d.entry.js +0 -6
  785. package/dist/calcite/p-6252a200.js +0 -6
  786. package/dist/calcite/p-69da188d.entry.js +0 -6
  787. package/dist/calcite/p-6a7b3a03.entry.js +0 -6
  788. package/dist/calcite/p-6b206028.entry.js +0 -6
  789. package/dist/calcite/p-80e945ba.entry.js +0 -6
  790. package/dist/calcite/p-84780610.js +0 -6
  791. package/dist/calcite/p-874692d3.entry.js +0 -6
  792. package/dist/calcite/p-9806a1c7.js +0 -6
  793. package/dist/calcite/p-b4038360.entry.js +0 -6
  794. package/dist/calcite/p-c8ab4972.entry.js +0 -6
  795. package/dist/calcite/p-cc16d3d1.entry.js +0 -6
  796. package/dist/calcite/p-db1e1fbd.entry.js +0 -6
@@ -1,7 +1,7 @@
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.3.0-next.16
4
+ * v1.3.0-next.18
5
5
  */
6
6
  const e="calcite";let t,n,l=!1,s=!1;const o=e=>{const t=new URL(e,ye.t);return t.origin!==me.location.origin?t.href:t.pathname},i="s-id",c="sty-id",r="c-id",u="http://www.w3.org/1999/xlink",a={},f=e=>"object"==(e=typeof e)||"function"===e;function $(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const d=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1;const c=[],r=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!f(l))&&(l+=""),o&&i?c[c.length-1].l+=l:c.push(o?h(null,l):l),i=o)};if(r(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,p);const u=h(e,null);return u.o=t,c.length>0&&(u.i=c),u.u=s,u},h=(e,t)=>({$:0,h:e,l:t,m:null,i:null,o:null,u:null}),m={},p={forEach:(e,t)=>e.map(y).forEach(t),map:(e,t)=>e.map(y).map(t).map(w)},y=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.p,vtag:e.h,vtext:e.l}),w=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),d(e.vtag,t,...e.vchildren||[])}const t=h(e.vtag,e.vtext);return t.o=e.vattrs,t.i=e.vchildren,t.u=e.vkey,t.p=e.vname,t},b=(e,t,n,l,s,o,i)=>{let c,u,a,f;if(1===o.nodeType){for(c=o.getAttribute(r),c&&(u=c.split("."),u[0]!==i&&"0"!==u[0]||(a={$:0,v:u[0],g:u[1],k:u[2],j:u[3],h:o.tagName.toLowerCase(),m:o,o:null,i:null,u:null,p:null,l:null},t.push(a),o.removeAttribute(r),e.i||(e.i=[]),e.i[a.j]=a,e=a,l&&"0"===a.k&&(l[a.j]=a.m))),f=o.childNodes.length-1;f>=0;f--)b(e,t,n,l,s,o.childNodes[f],i);if(o.shadowRoot)for(f=o.shadowRoot.childNodes.length-1;f>=0;f--)b(e,t,n,l,s,o.shadowRoot.childNodes[f],i)}else if(8===o.nodeType)u=o.nodeValue.split("."),u[1]!==i&&"0"!==u[1]||(c=u[0],a={$:0,v:u[1],g:u[2],k:u[3],j:u[4],m:o,o:null,i:null,u:null,p:null,h:null,l:null},"t"===c?(a.m=o.nextSibling,a.m&&3===a.m.nodeType&&(a.l=a.m.textContent,t.push(a),o.remove(),e.i||(e.i=[]),e.i[a.j]=a,l&&"0"===a.k&&(l[a.j]=a.m))):a.v===i&&("s"===c?(a.h="slot",o["s-sn"]=u[5]?a.p=u[5]:"",o["s-sr"]=!0,l&&(a.m=pe.createElement(a.h),a.p&&a.m.setAttribute("name",a.p),o.parentNode.insertBefore(a.m,o),o.remove(),"0"===a.k&&(l[a.j]=a.m)),n.push(a),e.i||(e.i=[]),e.i[a.j]=a):"r"===c&&l&&o.remove()));else if(e&&"style"===e.h){const t=h(null,o.textContent);t.m=o,t.j="0",e.i=[t]}},v=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)v(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)v(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},g=e=>ce(e).S,k=(e,t,n)=>{const l=g(e);return{emit:e=>j(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},j=(e,t,n)=>{const l=ye.ce(t,n);return e.dispatchEvent(l),l},S=new WeakMap,x=(e,t,n)=>{let l=he.get(e);ve&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,he.set(e,l)},O=(e,t)=>{var n;let l=M(t);const s=he.get(l);if(e=11===e.nodeType?e:pe,s)if("string"==typeof s){let t,o=S.get(e=e.head||e);if(o||S.set(e,o=new Set),!o.has(l)){if(e.host&&(t=e.querySelector(`[${c}="${l}"]`)))t.innerHTML=s;else{t=pe.createElement("style"),t.innerHTML=s;const l=null!==(n=ye.O)&&void 0!==n?n:$(pe);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}o&&o.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l},M=e=>"sc-"+e.M,C=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),L=(e,t,n,l,s,o)=>{if(n!==l){let i=ae(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,s=R(n),o=R(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=f(l);if((i||r&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(u,t):e.removeAttribute(t)):(!i||4&o||s)&&!r&&(l=!0===l?"":l,a?e.setAttributeNS(u,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ae(me,c)?c.slice(2):c[2]+t.slice(3),n&&ye.rel(e,t,n,!1),l&&ye.ael(e,t,l,!1)}},P=/\s/,R=e=>e?e.split(P):[],E=(e,t,n,l)=>{const s=11===t.m.nodeType&&t.m.host?t.m.host:t.m,o=e&&e.o||a,i=t.o||a;for(l in o)l in i||L(s,l,o[l],void 0,n,t.$);for(l in i)L(s,l,o[l],i[l],n,t.$)},F=(e,n,s)=>{const o=n.i[s];let i,c,r=0;if(null!==o.l)i=o.m=pe.createTextNode(o.l);else{if(l||(l="svg"===o.h),i=o.m=pe.createElementNS(l?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.h),l&&"foreignObject"===o.h&&(l=!1),E(null,o,l),null!=t&&i["s-si"]!==t&&i.classList.add(i["s-si"]=t),o.i)for(r=0;r<o.i.length;++r)c=F(e,o,r),c&&i.appendChild(c);"svg"===o.h?l=!1:"foreignObject"===i.tagName&&(l=!0)}return i},I=(e,t,l,s,o,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);o<=i;++o)s[o]&&(c=F(null,l,o),c&&(s[o].m=c,r.insertBefore(c,t)))},N=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.m,U(l),s.remove())},W=(e,t)=>e.h===t.h&&e.u===t.u,T=(e,t)=>{const n=t.m=e.m,s=e.i,o=t.i,i=t.h,c=t.l;null===c?(l="svg"===i||"foreignObject"!==i&&l,"slot"===i||E(e,t,l),null!==s&&null!==o?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,u=0,a=t.length-1,f=t[0],$=t[a],d=l.length-1,h=l[0],m=l[d];for(;i<=a&&c<=d;)if(null==f)f=t[++i];else if(null==$)$=t[--a];else if(null==h)h=l[++c];else if(null==m)m=l[--d];else if(W(f,h))T(f,h),f=t[++i],h=l[++c];else if(W($,m))T($,m),$=t[--a],m=l[--d];else if(W(f,m))T(f,m),e.insertBefore(f.m,$.m.nextSibling),f=t[++i],m=l[--d];else if(W($,h))T($,h),e.insertBefore($.m,f.m),$=t[--a],h=l[++c];else{for(r=-1,u=i;u<=a;++u)if(t[u]&&null!==t[u].u&&t[u].u===h.u){r=u;break}r>=0?(o=t[r],o.h!==h.h?s=F(t&&t[c],n,r):(T(o,h),t[r]=void 0,s=o.m),h=l[++c]):(s=F(t&&t[c],n,c),h=l[++c]),s&&f.m.parentNode.insertBefore(s,f.m)}i>a?I(e,null==l[d+1]?null:l[d+1].m,n,l,c,d):c>d&&N(t,i,a)})(n,s,t,o):null!==o?(null!==e.l&&(n.textContent=""),I(n,null,t,o,0,o.length-1)):null!==s&&N(s,0,s.length-1),l&&"svg"===i&&(l=!1)):e.l!==c&&(n.data=c)},U=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(U)},A=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},D=(e,t)=>{if(e.$|=16,!(4&e.$))return A(e,e.L),Ce((()=>H(e,t)));e.$|=512},H=(e,t)=>{const n=e.P;let l;return t&&(e.$|=256,e.R&&(e.R.map((([e,t])=>G(n,e,t))),e.R=null),l=G(n,"componentWillLoad")),l=J(l,(()=>G(n,"componentWillRender"))),J(l,(()=>q(e,n,t)))},q=async(e,t,n)=>{const l=e.S,s=l["s-rc"];n&&(e=>{const t=e.F,n=e.S,l=t.$,s=O(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);V(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>_(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},V=(e,l)=>{try{l=l.render(),e.$&=-17,e.$|=2,((e,l)=>{const s=e.S,o=e.F,i=e.I||h(null,null),c=(e=>e&&e.h===m)(l)?l:d(null,null,l);n=s.tagName,o.N&&(c.o=c.o||{},o.N.map((([e,t])=>c.o[t]=s[e]))),c.h=null,c.$|=4,e.I=c,c.m=i.m=s.shadowRoot||s,t=s["s-sc"],T(i,c)})(e,l)}catch(t){fe(t,e.S)}return null},_=e=>{const t=e.S,n=e.P,l=e.L;G(n,"componentDidRender"),64&e.$||(e.$|=64,K(t),G(n,"componentDidLoad"),e.W(t),l||B()),e.T(t),e.C&&(e.C(),e.C=void 0),512&e.$&&Oe((()=>D(e,!1))),e.$&=-517},z=e=>{{const t=ce(e),n=t.S.isConnected;return n&&2==(18&t.$)&&D(t,!1),n}},B=()=>{K(pe.documentElement),Oe((()=>j(me,"appload",{detail:{namespace:e}})))},G=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){fe(e)}},J=(e,t)=>e&&e.then?e.then(t):t(),K=e=>e.setAttribute("calcite-hydrated",""),Q=(e,t,n)=>{if(t.U){e.watchers&&(t.A=e.watchers);const l=Object.entries(t.U),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ce(this).D.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ce(e),o=s.S,i=s.D.get(t),c=s.$,r=s.P;if(n=((e,t)=>null==e||f(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.U[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.D.set(t,n),r)){if(l.A&&128&c){const e=l.A[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){fe(e,o)}}))}if(2==(18&c)){if(r.componentShouldUpdate&&!1===r.componentShouldUpdate(n,i,t))return;D(s,!1)}}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ce(this);return n.H.then((()=>n.P[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){ye.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.N.push([e,s]),s}))}}return e},X=e=>{G(e,"connectedCallback")},Y=e=>{if(0==(1&ye.$)){const t=ce(e),n=t.F,l=()=>{};if(1&t.$)te(e,t,n.q),X(t.P);else{let l;if(t.$|=1,l=e.getAttribute(i),l){if(1&n.$){const t=O(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],c=s?[]:null,r=l.I=h(t,null);ye.V||v(pe.body,ye.V=new Map),e[i]=n,e.removeAttribute(i),b(r,o,[],c,e,e,n),o.map((e=>{const n=e.v+"."+e.g,l=ye.V.get(n),o=e.m;l&&we&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),ye.V.delete(n)})),s&&c.map((e=>{e&&s.appendChild(e)}))})(e,n.M,l,t)}{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){A(t,t.L=n);break}}n.U&&Object.entries(n.U).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.$)){{if(t.$|=32,(s=de(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.A=s.watchers,Q(s,n,2),s.isProxied=!0);const e=()=>{};t.$|=8;try{new s(t)}catch(e){fe(e)}t.$&=-9,t.$|=128,e(),X(t.P)}if(s.style){let e=s.style;const t=M(n);if(!he.has(t)){const l=()=>{};x(t,e,!!(1&n.$)),l()}}}const o=t.L,i=()=>D(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}},Z=(e,t={})=>{var n;const l=[],s=t.exclude||[],o=me.customElements,i=pe.head,r=i.querySelector("meta[charset]"),u=pe.createElement("style"),a=[],f=pe.querySelectorAll(`[${c}]`);let d,h=!0,m=0;for(Object.assign(ye,t),ye.t=new URL(t.resourcesUrl||"./",pe.baseURI).href,ye.$|=2;m<f.length;m++)x(f[m].getAttribute(c),C(f[m].innerHTML),!0);e.map((e=>{e[1].map((t=>{const n={$:t[0],M:t[1],U:t[2],q:t[3]};n.U=t[2],n.q=t[3],n.N=[],n.A={};const i=n.M,c=class extends HTMLElement{constructor(e){super(e),ue(e=this,n),1&n.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&n.$)})}connectedCallback(){d&&(clearTimeout(d),d=null),h?a.push(this):ye.jmp((()=>Y(this)))}disconnectedCallback(){ye.jmp((()=>(()=>{if(0==(1&ye.$)){const e=ce(this),t=e.P;e._&&(e._.map((e=>e())),e._=void 0),G(t,"disconnectedCallback")}})()))}componentOnReady(){return ce(this).B}};n.G=e[0],s.includes(i)||o.get(i)||(l.push(i),o.define(i,Q(c,n,1)))}))}));{u.innerHTML=l+"{visibility:hidden}[calcite-hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const e=null!==(n=ye.O)&&void 0!==n?n:$(pe);null!=e&&u.setAttribute("nonce",e),i.insertBefore(u,r?r.nextSibling:i.firstChild)}h=!1,a.length?a.map((e=>e.connectedCallback())):ye.jmp((()=>d=setTimeout(B,30)))},ee=(e,t)=>t,te=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=le(e,n),i=ne(t,s),c=se(n);ye.ael(o,l,i,c),(t._=t._||[]).push((()=>ye.rel(o,l,i,c)))}))},ne=(e,t)=>n=>{try{256&e.$?e.P[t](n):(e.R=e.R||[]).push([t,n])}catch(e){fe(e)}},le=(e,t)=>4&t?pe:8&t?me:16&t?pe.body:e,se=e=>0!=(2&e),oe=e=>ye.O=e,ie=new WeakMap,ce=e=>ie.get(e),re=(e,t)=>ie.set(t.P=e,t),ue=(e,t)=>{const n={$:0,S:e,F:t,D:new Map};return n.H=new Promise((e=>n.T=e)),n.B=new Promise((e=>n.W=e)),e["s-p"]=[],e["s-rc"]=[],te(e,n,t.q),ie.set(e,n)},ae=(e,t)=>t in e,fe=(e,t)=>(0,console.error)(e,t),$e=new Map,de=e=>{const t=e.M.replace(/-/g,"_"),n=e.G,l=$e.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>($e.set(n,e),e[t])),fe)
7
7
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},he=new Map,me="undefined"!=typeof window?window:{},pe=me.document||{head:{}},ye={$:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},we=!0,be=e=>Promise.resolve(e),ve=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),ge=[],ke=[],je=(e,t)=>n=>{e.push(n),s||(s=!0,t&&4&ye.$?Oe(xe):ye.raf(xe))},Se=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){fe(e)}e.length=0},xe=()=>{Se(ge),Se(ke),(s=ge.length>0)&&ye.raf(xe)},Oe=e=>be().then(e),Me=je(ge,!1),Ce=je(ke,!0);export{ee as F,m as H,e as N,g as a,Z as b,k as c,pe as d,Me as e,z as f,o as g,d as h,be as p,re as r,oe as s}
@@ -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.3.0-next.16
4
+ * v1.3.0-next.18
5
5
  */
6
- import{d as i,i as n}from"./p-745ee3b7.js";function t(t,r,a){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return n(a)&&(e="leading"in a?!!a.leading:e,o="trailing"in a?!!a.trailing:o),i(t,r,{leading:e,maxWait:r,trailing:o})}export{t}
6
+ import{d as i,i as n}from"./p-02a0ccb3.js";function t(t,a,r){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return n(r)&&(e="leading"in r?!!r.leading:e,o="trailing"in r?!!r.trailing:o),i(t,a,{leading:e,maxWait:a,trailing:o})}export{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.3.0-next.16
4
+ * v1.3.0-next.18
5
5
  */
6
- import{h as i,r as t,c as s,H as a,a as e}from"./p-e5c5a835.js";import{c as n,d as o,H as r}from"./p-1f204e0f.js";import{g as c}from"./p-0af218f6.js";import{u as l}from"./p-d528908a.js";import{c as h,d}from"./p-2ae40efb.js";import{s as m,a as p,c as u}from"./p-23ba2ea5.js";import{c as f,d as v}from"./p-2abe4ef8.js";import{u as g,c as b,s as y,d as w}from"./p-84780610.js";import"./p-708fe134.js";import"./p-6f36d5d9.js";import"./p-792cced0.js";import"./p-f5162d1f.js";const k=({full:t,scale:s,partial:a})=>i("calcite-icon",{class:a?void 0:"icon",icon:t?"star-f":"star",scale:s}),x=class{constructor(i){t(this,i),this.calciteRatingChange=s(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null,this.focusValue=null,this.hasFocus=!1},this.handleRatingFocusIn=()=>{const i=this.inputRefs[this.value>0?this.value-1:0],t=Number(i.value);i.select(),this.focusValue=t,this.hoverValue=t,this.hasFocus=!0},this.handleRatingFocusLeave=()=>{this.focusValue=null,this.hoverValue=null,this.hasFocus=!1},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleInputKeyDown=i=>{const t=Number(i.currentTarget.value),s=i.key,a=" "==s?void 0:Number(s);if(this.emit=!0,isNaN(a))switch(s){case"Enter":case" ":this.value=this.required||this.value!==t?t:0;break;case"ArrowLeft":this.value=t-1;break;case"ArrowRight":this.value=t+1;break;case"Tab":this.hasFocus&&(this.hasFocus=!1,this.focusValue=null,this.hoverValue=null)}else(!this.required&&a>=0&&a<=this.max||this.required&&a>0&&a<=this.max)&&(this.value=a)},this.handleInputChange=i=>{if(!0===this.isKeyboardInteraction){const t=Number(i.target.value);this.focusValue=t,this.hoverValue=t,this.value=t}},this.handleLabelPointerOver=i=>{const t=Number(i.currentTarget.firstChild.value||0);this.hoverValue=t,this.focusValue=null},this.handleLabelPointerDown=i=>{const t=Number(i.currentTarget.firstChild.value||0);this.focusValue=null,this.hoverValue=null,this.emit=!0,this.value=this.required||this.value!==t?t:0},this.emit=!1,this.guid=`calcite-ratings-${c()}`,this.isKeyboardInteraction=!0,this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0,this.focusValue=void 0,this.hasFocus=void 0}onMessagesChange(){}handleValueUpdate(i){this.hoverValue=i,this.focusValue=i,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){g(this,this.effectiveLocale)}connectedCallback(){f(this),b(this),h(this),n(this)}async componentWillLoad(){await y(this),m(this),this.inputRefs=Array(this.max)}componentWillRender(){this.starsMap=Array.from({length:this.max},((i,t)=>{const s=t+1,a=this.average&&this.average+1-s,e=s<=this.hoverValue;return{average:!this.focusValue&&!this.hoverValue&&this.average&&!this.value&&s<=this.average,checked:s===this.value,focused:this.isKeyboardInteraction&&this.hasFocus&&this.focusValue===s,fraction:a,hovered:e,id:`${this.guid}-${s}`,idx:t,partial:!this.focusValue&&!this.hoverValue&&!this.value&&!e&&a>0&&a<1,selected:this.value>=s,value:s}}))}componentDidLoad(){p(this)}disconnectedCallback(){v(this),w(this),d(this),o(this)}componentDidRender(){l(this)}render(){return i(a,{onBlur:this.handleRatingFocusLeave,onFocus:this.handleRatingFocusIn,onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},i("span",{class:"wrapper"},i("fieldset",{class:"fieldset",disabled:this.disabled},i("legend",{class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:t,checked:s,focused:a,fraction:e,hovered:n,id:o,idx:r,partial:c,selected:l,value:h})=>i("label",{class:{star:!0,focused:a,selected:l,hovered:n,average:t,partial:c},htmlFor:o,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver},i("input",{checked:s,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:o,name:this.guid,onChange:this.handleInputChange,onKeyDown:this.handleInputKeyDown,type:"radio",value:h,ref:i=>(this.inputRefs[r]=i,(1===h||h===this.value)&&(this.inputFocusRef=i))}),i(k,{full:l||t,scale:this.scale}),c&&i("div",{class:"fraction",style:{width:100*e+"%"}},i(k,{full:!0,partial:!0,scale:this.scale})),i("span",{class:"visually-hidden"},this.messages.stars.replace("${num}",`${h}`))))),(this.count||this.average)&&this.showChip?i("calcite-chip",{scale:this.scale,value:this.count?.toString()},!!this.average&&i("span",{class:"number--average"},this.average.toString()),!!this.count&&i("span",{class:"number--count"},"(",this.count?.toString(),")")):null),i(r,{component:this})))}onLabelClick(){this.setFocus()}async setFocus(){await u(this),this.inputFocusRef?.focus()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};x.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-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}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;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{color:var(--calcite-ui-brand)}.fraction{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){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;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{x as calcite_rating}
6
+ import{h as i,r as t,c as s,H as a,a as e}from"./p-47d5299c.js";import{c as n,d as o,H as c}from"./p-b6c844d7.js";import{g as r}from"./p-df03ce82.js";import{u as l}from"./p-bcf956a1.js";import{c as h,d}from"./p-6b7c6253.js";import{s as m,a as p,c as u}from"./p-de8bc6a3.js";import{c as f,d as v}from"./p-4d8db10c.js";import{u as g,c as b,s as y,d as w}from"./p-d5546829.js";import"./p-d686a5f7.js";import"./p-d8d5f5f2.js";import"./p-4c7209fe.js";import"./p-74fa51ba.js";const k=({full:t,scale:s,partial:a})=>i("calcite-icon",{class:a?void 0:"icon",icon:t?"star-f":"star",scale:s}),x=class{constructor(i){t(this,i),this.calciteRatingChange=s(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null,this.focusValue=null,this.hasFocus=!1},this.handleRatingFocusIn=()=>{const i=this.inputRefs[this.value>0?this.value-1:0],t=Number(i.value);i.select(),this.focusValue=t,this.hoverValue=t,this.hasFocus=!0},this.handleRatingFocusLeave=()=>{this.focusValue=null,this.hoverValue=null,this.hasFocus=!1},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleInputKeyDown=i=>{const t=Number(i.currentTarget.value),s=i.key,a=" "==s?void 0:Number(s);if(this.emit=!0,isNaN(a))switch(s){case"Enter":case" ":this.value=this.required||this.value!==t?t:0;break;case"ArrowLeft":this.value=t-1;break;case"ArrowRight":this.value=t+1;break;case"Tab":this.hasFocus&&(this.hasFocus=!1,this.focusValue=null,this.hoverValue=null)}else(!this.required&&a>=0&&a<=this.max||this.required&&a>0&&a<=this.max)&&(this.value=a)},this.handleInputChange=i=>{if(!0===this.isKeyboardInteraction){const t=Number(i.target.value);this.focusValue=t,this.hoverValue=t,this.value=t}},this.handleLabelPointerOver=i=>{const t=Number(i.currentTarget.firstChild.value||0);this.hoverValue=t,this.focusValue=null},this.handleLabelPointerDown=i=>{const t=Number(i.currentTarget.firstChild.value||0);this.focusValue=null,this.hoverValue=null,this.emit=!0,this.value=this.required||this.value!==t?t:0},this.emit=!1,this.guid=`calcite-ratings-${r()}`,this.isKeyboardInteraction=!0,this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0,this.focusValue=void 0,this.hasFocus=void 0}onMessagesChange(){}handleValueUpdate(i){this.hoverValue=i,this.focusValue=i,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){g(this,this.effectiveLocale)}connectedCallback(){f(this),b(this),h(this),n(this)}async componentWillLoad(){await y(this),m(this),this.inputRefs=Array(this.max)}componentWillRender(){this.starsMap=Array.from({length:this.max},((i,t)=>{const s=t+1,a=this.average&&this.average+1-s,e=s<=this.hoverValue;return{average:!this.focusValue&&!this.hoverValue&&this.average&&!this.value&&s<=this.average,checked:s===this.value,focused:this.isKeyboardInteraction&&this.hasFocus&&this.focusValue===s,fraction:a,hovered:e,id:`${this.guid}-${s}`,idx:t,partial:!this.focusValue&&!this.hoverValue&&!this.value&&!e&&a>0&&a<1,selected:this.value>=s,value:s}}))}componentDidLoad(){p(this)}disconnectedCallback(){v(this),w(this),d(this),o(this)}componentDidRender(){l(this)}render(){return i(a,{onBlur:this.handleRatingFocusLeave,onFocus:this.handleRatingFocusIn,onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},i("span",{class:"wrapper"},i("fieldset",{class:"fieldset",disabled:this.disabled},i("legend",{class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:t,checked:s,focused:a,fraction:e,hovered:n,id:o,idx:c,partial:r,selected:l,value:h})=>i("label",{class:{star:!0,focused:a,selected:l,hovered:n,average:t,partial:r},htmlFor:o,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver},i("input",{checked:s,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:o,name:this.guid,onChange:this.handleInputChange,onKeyDown:this.handleInputKeyDown,type:"radio",value:h,ref:i=>(this.inputRefs[c]=i,(1===h||h===this.value)&&(this.inputFocusRef=i))}),i(k,{full:l||t,scale:this.scale}),r&&i("div",{class:"fraction",style:{width:100*e+"%"}},i(k,{full:!0,partial:!0,scale:this.scale})),i("span",{class:"visually-hidden"},this.messages.stars.replace("${num}",`${h}`))))),(this.count||this.average)&&this.showChip?i("calcite-chip",{scale:this.scale,value:this.count?.toString()},!!this.average&&i("span",{class:"number--average"},this.average.toString()),!!this.count&&i("span",{class:"number--count"},"(",this.count?.toString(),")")):null),i(c,{component:this})))}onLabelClick(){this.setFocus()}async setFocus(){await u(this),this.inputFocusRef?.focus()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};x.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-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}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-ui-border-input)}.focused{outline:2px solid var(--calcite-ui-focus-color);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected{color:var(--calcite-ui-brand)}.fraction{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){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;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{x 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.3.0-next.16
4
+ * v1.3.0-next.18
5
5
  */
6
- import{b as t}from"./p-708fe134.js";import{d as n}from"./p-745ee3b7.js";function e(t){return t.split("-")[1]}function o(t){return"y"===t?"height":"width"}function r(t){return t.split("-")[0]}function i(t){return["top","bottom"].includes(r(t))?"x":"y"}function a(t,n,a){let{reference:l,floating:s}=t;const c=l.x+l.width/2-s.width/2,f=l.y+l.height/2-s.height/2,u=i(n),d=o(u),m=l[d]/2-s[d]/2,p="x"===u;let y;switch(r(n)){case"top":y={x:c,y:l.y-s.height};break;case"bottom":y={x:c,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-s.width,y:f};break;default:y={x:l.x,y:l.y}}switch(e(n)){case"start":y[u]-=m*(a&&p?-1:1);break;case"end":y[u]+=m*(a&&p?-1:1)}return y}function l(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function s(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function c(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:c,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=l(y),x=c[p?"floating"===m?"reference":"floating":m],h=s(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:d,strategy:f})),v="floating"===m?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),b=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},A=s(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:w,strategy:f}):v);return{top:(h.top-A.top+g.top)/b.y,bottom:(A.bottom-h.bottom+g.bottom)/b.y,left:(h.left-A.left+g.left)/b.x,right:(A.right-h.right+g.right)/b.x}}const f=Math.min,u=Math.max;function d(t,n,e){return u(t,f(n,e))}const m=["top","right","bottom","left"],p=m.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),y={left:"right",right:"left",bottom:"top",top:"bottom"};function g(t){return t.replace(/left|right|bottom|top/g,(t=>y[t]))}function x(t,n,r){void 0===r&&(r=!1);const a=e(t),l=i(t),s=o(l);let c="x"===l?a===(r?"end":"start")?"right":"left":"start"===a?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=g(c)),{main:c,cross:g(c)}}const h={start:"end",end:"start"};function v(t){return t.replace(/start|end/g,(t=>h[t]))}const w=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var o;const{placement:i,middlewareData:a,rects:l,initialPlacement:s,platform:f,elements:u}=n,{mainAxis:d=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:w=!0,...b}=t,A=r(i),P=r(s)===s,k=await(null==f.isRTL?void 0:f.isRTL(u.floating)),D=p||(P||!w?[g(s)]:function(t){const n=g(t);return[v(t),n,v(n)]}(s));p||"none"===h||D.push(...function(t,n,o,i){const a=e(t);let l=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(r(t),"start"===o,i);return a&&(l=l.map((t=>t+"-"+a)),n&&(l=l.concat(l.map(v)))),l}(s,w,h,k));const R=[s,...D],F=await c(n,b),M=[];let E=(null==(o=a.flip)?void 0:o.overflows)||[];if(d&&M.push(F[A]),m){const{main:t,cross:n}=x(i,l,k);M.push(F[t],F[n])}if(E=[...E,{placement:i,overflows:M}],!M.every((t=>t<=0))){var S,C;const t=((null==(S=a.flip)?void 0:S.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:E},reset:{placement:n}};let e=null==(C=E.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:C.placement;if(!e)switch(y){case"bestFit":{var O;const t=null==(O=E.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:O[0];t&&(e=t);break}case"initialPlacement":e=s}if(i!==e)return{reset:{placement:e}}}return{}}}};function b(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function A(t){return m.some((n=>t[n]>=0))}const P=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{strategy:e="referenceHidden",...o}=t,{rects:r}=n;switch(e){case"referenceHidden":{const t=b(await c(n,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:A(t)}}}case"escaped":{const t=b(await c(n,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:A(t)}}}default:return{}}}}};function k(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function D(t){return k(t).getComputedStyle(t)}const R=Math.min,F=Math.max,M=Math.round;function E(t){const n=D(t);let e=parseFloat(n.width),o=parseFloat(n.height);const r=t.offsetWidth,i=t.offsetHeight,a=M(e)!==r||M(o)!==i;return a&&(e=r,o=i),{width:e,height:o,fallback:a}}function S(t){return j(t)?(t.nodeName||"").toLowerCase():""}let C;function O(){if(C)return C;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(C=t.brands.map((t=>t.brand+"/"+t.version)).join(" "),C):navigator.userAgent}function $(t){return t instanceof k(t).HTMLElement}function T(t){return t instanceof k(t).Element}function j(t){return t instanceof k(t).Node}function B(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function z(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=D(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function L(t){return["table","td","th"].includes(S(t))}function H(t){const n=/firefox/i.test(O()),e=D(t),o=e.backdropFilter||e.WebkitBackdropFilter;return"none"!==e.transform||"none"!==e.perspective||!!o&&"none"!==o||n&&"filter"===e.willChange||n&&!!e.filter&&"none"!==e.filter||["transform","perspective"].some((t=>e.willChange.includes(t)))||["paint","layout","strict","content"].some((t=>{const n=e.contain;return null!=n&&n.includes(t)}))}function N(){return/^((?!chrome|android).)*safari/i.test(O())}function I(t){return["html","body","#document"].includes(S(t))}function W(t){return T(t)?t:t.contextElement}const q={x:1,y:1};function G(t){const n=W(t);if(!$(n))return q;const e=n.getBoundingClientRect(),{width:o,height:r,fallback:i}=E(n);let a=(i?M(e.width):e.width)/o,l=(i?M(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function U(t,n,e,o){var r,i;void 0===n&&(n=!1),void 0===e&&(e=!1);const a=t.getBoundingClientRect(),l=W(t);let s=q;n&&(o?T(o)&&(s=G(o)):s=G(t));const c=l?k(l):window,f=N()&&e;let u=(a.left+(f&&(null==(r=c.visualViewport)?void 0:r.offsetLeft)||0))/s.x,d=(a.top+(f&&(null==(i=c.visualViewport)?void 0:i.offsetTop)||0))/s.y,m=a.width/s.x,p=a.height/s.y;if(l){const t=k(l),n=o&&T(o)?k(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=G(e),n=e.getBoundingClientRect(),o=getComputedStyle(e);n.x+=(e.clientLeft+parseFloat(o.paddingLeft))*t.x,n.y+=(e.clientTop+parseFloat(o.paddingTop))*t.y,u*=t.x,d*=t.y,m*=t.x,p*=t.y,u+=n.x,d+=n.y,e=k(e).frameElement}}return{width:m,height:p,top:d,right:u+m,bottom:d+p,left:u,x:u,y:d}}function V(t){return((j(t)?t.ownerDocument:t.document)||window.document).documentElement}function X(t){return T(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Y(t){return U(V(t)).left+X(t).scrollLeft}function _(t){if("html"===S(t))return t;const n=t.assignedSlot||t.parentNode||B(t)&&t.host||V(t);return B(n)?n.host:n}function J(t){const n=_(t);return I(n)?n.ownerDocument.body:$(n)&&z(n)?n:J(n)}function K(t,n){var e;void 0===n&&(n=[]);const o=J(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=k(o);return r?n.concat(i,i.visualViewport||[],z(o)?o:[]):n.concat(o,K(o))}function Q(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=k(t),o=V(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=N();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e);else if("document"===n)o=function(t){const n=V(t),e=X(t),o=t.ownerDocument.body,r=F(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=F(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Y(t);const l=-e.scrollTop;return"rtl"===D(o).direction&&(a+=F(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(V(t));else if(T(n))o=function(t,n){const e=U(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=$(t)?G(t):{x:1,y:1};return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e={...n};if(N()){var r,i;const n=k(t);e.x-=(null==(r=n.visualViewport)?void 0:r.offsetLeft)||0,e.y-=(null==(i=n.visualViewport)?void 0:i.offsetTop)||0}o=e}return s(o)}function Z(t,n){return $(t)&&"fixed"!==D(t).position?n?n(t):t.offsetParent:null}function tt(t,n){const e=k(t);let o=Z(t,n);for(;o&&L(o)&&"static"===D(o).position;)o=Z(o,n);return o&&("html"===S(o)||"body"===S(o)&&"static"===D(o).position&&!H(o))?e:o||function(t){let n=_(t);for(;$(n)&&!I(n);){if(H(n))return n;n=_(n)}return null}(t)||e}function nt(t,n,e){const o=$(n),r=V(n),i=U(t,!0,"fixed"===e,n);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==S(n)||z(r))&&(a=X(n)),$(n)){const t=U(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=Y(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}const et={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=K(t).filter((t=>T(t)&&"body"!==S(t))),r=null;const i="fixed"===D(t).position;let a=i?_(t):t;for(;T(a)&&!I(a);){const t=D(a),n=H(a);"fixed"===t.position?r=null:(i?n||r:n||"static"!==t.position||!r||!["absolute","fixed"].includes(r.position))?r=t:o=o.filter((t=>t!==a)),a=_(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=Q(n,e,r);return t.top=F(o.top,t.top),t.right=R(o.right,t.right),t.bottom=R(o.bottom,t.bottom),t.left=F(o.left,t.left),t}),Q(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=$(e),i=V(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const s={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==S(e)||z(i))&&(a=X(e)),$(e))){const t=U(e);l=G(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+s.x,y:n.y*l.y-a.scrollTop*l.y+s.y}},isElement:T,getDimensions:function(t){return $(t)?E(t):t.getBoundingClientRect()},getOffsetParent:tt,getDocumentElement:V,getScale:G,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||tt,i=this.getDimensions;return{reference:nt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===D(t).direction};const ot={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},rt=async function(){function t(){return navigator.userAgentData}if(ot.floatingUINonChromiumPositioningFix&&(/firefox|safari/i.test(function(){const n=t();return n?.brands?n.brands.map((({brand:t,version:n})=>`${t}/${n}`)).join(" "):navigator.userAgent}())||function(){const n=t();return n?.brands?!!n.brands.find((({brand:t,version:n})=>("Google Chrome"===t||"Chromium"===t)&&Number(n)>=109)):!!navigator.userAgent.split(" ").find((t=>{const[n,e]=t.split("/");return"Chrome"===n&&parseInt(e)>=109}))}())){const{offsetParent:t}=await import("./p-a2339ee7.js"),n=et.getOffsetParent;et.getOffsetParent=e=>n(e,t)}}(),it=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],at="bottom-start",lt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function st({placement:t,flipDisabled:n,flipPlacements:a,offsetDistance:s,offsetSkidding:f,arrowEl:u,type:m}){const y=[(void 0===g&&(g={}),{name:"shift",options:g,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=g,u={x:n,y:e},m=await c(t,f),p=i(r(o)),y="x"===p?"y":"x";let x=u[p],h=u[y];a&&(x=d(x+m["y"===p?"top":"left"],x,x-m["y"===p?"bottom":"right"])),l&&(h=d(h+m["y"===y?"top":"left"],h,h-m["y"===y?"bottom":"right"]));const v=s.fn({...t,[p]:x,[y]:h});return{...v,data:{x:v.x-n,y:v.y-e}}}}),P()];var g,h;if("menu"===m)return[...y,w({fallbackPlacements:a||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===m||"tooltip"===m){const m=[...y,(h={mainAxis:"number"==typeof s?s:0,crossAxis:"number"==typeof f?f:0},void 0===h&&(h=0),{name:"offset",options:h,async fn(t){const{x:n,y:o}=t,a=await async function(t,n){const{placement:o,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=r(o),f=e(o),u="x"===i(o),d=["left","top"].includes(c)?-1:1,m=s&&u?-1:1,p="function"==typeof n?n(t):n;let{mainAxis:y,crossAxis:g,alignmentAxis:x}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof x&&(g="end"===f?-1*x:x),u?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,h);return{x:n+a.x,y:o+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?m.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var o,i,a;const{rects:l,middlewareData:s,placement:f,platform:u,elements:d}=n,{crossAxis:m=!1,alignment:y,allowedPlacements:g=p,autoAlignment:h=!0,...w}=t,b=void 0!==y||g===p?function(t,n,o){return(t?[...o.filter((n=>e(n)===t)),...o.filter((n=>e(n)!==t))]:o.filter((t=>r(t)===t))).filter((o=>!t||e(o)===t||!!n&&v(o)!==o))}(y||null,h,g):g,A=await c(n,w),P=(null==(o=s.autoPlacement)?void 0:o.index)||0,k=b[P];if(null==k)return{};const{main:D,cross:R}=x(k,l,await(null==u.isRTL?void 0:u.isRTL(d.floating)));if(f!==k)return{reset:{placement:b[0]}};const F=[A[r(k)],A[D],A[R]],M=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:k,overflows:F}],E=b[P+1];if(E)return{data:{index:P+1,overflows:M},reset:{placement:E}};const S=M.map((t=>{const n=e(t.placement);return[t.placement,n&&m?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),C=(null==(a=S.filter((t=>t[2].slice(0,e(t[0])?2:3).every((t=>t<=0))))[0])?void 0:a[0])||S[0][0];return C!==f?{data:{index:P+1,overflows:M},reset:{placement:C}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||m.push(w(a?{fallbackPlacements:a}:{})),u&&m.push((t=>({name:"arrow",options:t,async fn(n){const{element:r,padding:a=0}=t||{},{x:s,y:c,placement:f,rects:u,platform:m}=n;if(null==r)return{};const p=l(a),y={x:s,y:c},g=i(f),x=o(g),h=await m.getDimensions(r),v="y"===g?"top":"left",w="y"===g?"bottom":"right",b=u.reference[x]+u.reference[g]-y[g]-u.floating[x],A=y[g]-u.reference[g],P=await(null==m.getOffsetParent?void 0:m.getOffsetParent(r));let k=P?"y"===g?P.clientHeight||0:P.clientWidth||0:0;0===k&&(k=u.floating[x]);const D=p[v],R=k-h[x]-p[w],F=k/2-h[x]/2+(b/2-A/2),M=d(D,F,R),E=null!=e(f)&&F!=M&&u.reference[x]/2-(F<D?p[v]:p[w])-h[x]/2<0;return{[g]:y[g]-(E?F<D?D-F:R-F:0),data:{[g]:M,centerOffset:F-M}}}}))({element:u})),m}return[]}function ct(t,n){const e=t.filter((t=>it.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${it.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ft(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function ut(t,n,e=!1){if(t.open)return e?dt(n):mt(n)}const dt=n(mt,100,{leading:!0,maxWait:100});async function mt({referenceEl:t,floatingEl:n,overlayPositioning:e="absolute",placement:o,flipDisabled:r,flipPlacements:i,offsetDistance:l,offsetSkidding:s,includeArrow:c=!1,arrowEl:f,type:u}){if(!t||!n||c&&!f)return null;await rt;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:et,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,s=i.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(n));let f=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=a(f,o,c),m=o,p={},y=0;for(let e=0;e<s.length;e++){const{name:i,fn:g}=s[e],{x,y:h,data:v,reset:w}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:l,elements:{reference:t,floating:n}});u=null!=x?x:u,d=null!=h?h:d,p={...p,[i]:{...p[i],...v}},w&&y<=50&&(y++,"object"==typeof w&&(w.placement&&(m=w.placement),w.rects&&(f=!0===w.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:u,y:d}=a(f,m,c))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(t,n,{...r,platform:i})})(t,n,{strategy:e,placement:"auto"===o||"auto-start"===o||"auto-end"===o?void 0:ft(n,o),middleware:st({placement:o,flipDisabled:r,flipPlacements:i,offsetDistance:l,offsetSkidding:s,arrowEl:f,type:u})});if(g?.arrow){const{x:t,y:n}=g.arrow;Object.assign(f.style,{left:null!=t?`${t}px`:"",top:null!=n?`${n}px`:""})}const x=g?.hide?.referenceHidden,h=x?"hidden":null,v=h?"none":null;n.setAttribute("data-placement",p);const w=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(n.style,{visibility:h,pointerEvents:v,position:y,top:"0",left:"0",transform:w})}const pt=new WeakMap;function yt(t,n,e){e&&n&&(gt(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),pt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r&&!l,c=s||i?[...T(t)?K(t):t.contextElement?K(t.contextElement):[],...K(n)]:[];c.forEach((t=>{s&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let f,u=null;if(a){let o=!0;u=new ResizeObserver((()=>{o||e(),o=!1})),T(t)&&!l&&u.observe(t),T(t)||!t.contextElement||l||u.observe(t.contextElement),u.observe(n)}let d=l?U(t):null;return l&&function n(){const o=U(t);!d||o.x===d.x&&o.y===d.y&&o.width===d.width&&o.height===d.height||e(),d=o,f=requestAnimationFrame(n)}(),e(),()=>{var t;c.forEach((t=>{s&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=u)||t.disconnect(),u=null,l&&cancelAnimationFrame(f)}}(n,e,(()=>t.reposition()))))}function gt(t,n,e){if(!e||!n)return;const o=pt.get(t);o&&o(),pt.delete(t)}const xt=Math.ceil(Math.hypot(4,4));export{lt as F,gt as a,xt as b,yt as c,at as d,ct as f,ut as r}
6
+ import{b as t}from"./p-d686a5f7.js";import{d as n}from"./p-02a0ccb3.js";function e(t){return t.split("-")[1]}function o(t){return"y"===t?"height":"width"}function r(t){return t.split("-")[0]}function i(t){return["top","bottom"].includes(r(t))?"x":"y"}function a(t,n,a){let{reference:l,floating:s}=t;const c=l.x+l.width/2-s.width/2,f=l.y+l.height/2-s.height/2,u=i(n),d=o(u),m=l[d]/2-s[d]/2,p="x"===u;let y;switch(r(n)){case"top":y={x:c,y:l.y-s.height};break;case"bottom":y={x:c,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-s.width,y:f};break;default:y={x:l.x,y:l.y}}switch(e(n)){case"start":y[u]-=m*(a&&p?-1:1);break;case"end":y[u]+=m*(a&&p?-1:1)}return y}function l(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function s(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function c(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:c,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=l(y),x=c[p?"floating"===m?"reference":"floating":m],h=s(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:d,strategy:f})),v="floating"===m?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),b=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},A=s(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:w,strategy:f}):v);return{top:(h.top-A.top+g.top)/b.y,bottom:(A.bottom-h.bottom+g.bottom)/b.y,left:(h.left-A.left+g.left)/b.x,right:(A.right-h.right+g.right)/b.x}}const f=Math.min,u=Math.max;function d(t,n,e){return u(t,f(n,e))}const m=["top","right","bottom","left"],p=m.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),y={left:"right",right:"left",bottom:"top",top:"bottom"};function g(t){return t.replace(/left|right|bottom|top/g,(t=>y[t]))}function x(t,n,r){void 0===r&&(r=!1);const a=e(t),l=i(t),s=o(l);let c="x"===l?a===(r?"end":"start")?"right":"left":"start"===a?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=g(c)),{main:c,cross:g(c)}}const h={start:"end",end:"start"};function v(t){return t.replace(/start|end/g,(t=>h[t]))}const w=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var o;const{placement:i,middlewareData:a,rects:l,initialPlacement:s,platform:f,elements:u}=n,{mainAxis:d=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:w=!0,...b}=t,A=r(i),P=r(s)===s,k=await(null==f.isRTL?void 0:f.isRTL(u.floating)),D=p||(P||!w?[g(s)]:function(t){const n=g(t);return[v(t),n,v(n)]}(s));p||"none"===h||D.push(...function(t,n,o,i){const a=e(t);let l=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(r(t),"start"===o,i);return a&&(l=l.map((t=>t+"-"+a)),n&&(l=l.concat(l.map(v)))),l}(s,w,h,k));const R=[s,...D],F=await c(n,b),M=[];let E=(null==(o=a.flip)?void 0:o.overflows)||[];if(d&&M.push(F[A]),m){const{main:t,cross:n}=x(i,l,k);M.push(F[t],F[n])}if(E=[...E,{placement:i,overflows:M}],!M.every((t=>t<=0))){var S,C;const t=((null==(S=a.flip)?void 0:S.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:E},reset:{placement:n}};let e=null==(C=E.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:C.placement;if(!e)switch(y){case"bestFit":{var O;const t=null==(O=E.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:O[0];t&&(e=t);break}case"initialPlacement":e=s}if(i!==e)return{reset:{placement:e}}}return{}}}};function b(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function A(t){return m.some((n=>t[n]>=0))}const P=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{strategy:e="referenceHidden",...o}=t,{rects:r}=n;switch(e){case"referenceHidden":{const t=b(await c(n,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:A(t)}}}case"escaped":{const t=b(await c(n,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:A(t)}}}default:return{}}}}};function k(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function D(t){return k(t).getComputedStyle(t)}const R=Math.min,F=Math.max,M=Math.round;function E(t){const n=D(t);let e=parseFloat(n.width),o=parseFloat(n.height);const r=t.offsetWidth,i=t.offsetHeight,a=M(e)!==r||M(o)!==i;return a&&(e=r,o=i),{width:e,height:o,fallback:a}}function S(t){return j(t)?(t.nodeName||"").toLowerCase():""}let C;function O(){if(C)return C;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(C=t.brands.map((t=>t.brand+"/"+t.version)).join(" "),C):navigator.userAgent}function $(t){return t instanceof k(t).HTMLElement}function T(t){return t instanceof k(t).Element}function j(t){return t instanceof k(t).Node}function B(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function z(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=D(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function L(t){return["table","td","th"].includes(S(t))}function H(t){const n=/firefox/i.test(O()),e=D(t),o=e.backdropFilter||e.WebkitBackdropFilter;return"none"!==e.transform||"none"!==e.perspective||!!o&&"none"!==o||n&&"filter"===e.willChange||n&&!!e.filter&&"none"!==e.filter||["transform","perspective"].some((t=>e.willChange.includes(t)))||["paint","layout","strict","content"].some((t=>{const n=e.contain;return null!=n&&n.includes(t)}))}function N(){return/^((?!chrome|android).)*safari/i.test(O())}function I(t){return["html","body","#document"].includes(S(t))}function W(t){return T(t)?t:t.contextElement}const q={x:1,y:1};function G(t){const n=W(t);if(!$(n))return q;const e=n.getBoundingClientRect(),{width:o,height:r,fallback:i}=E(n);let a=(i?M(e.width):e.width)/o,l=(i?M(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function U(t,n,e,o){var r,i;void 0===n&&(n=!1),void 0===e&&(e=!1);const a=t.getBoundingClientRect(),l=W(t);let s=q;n&&(o?T(o)&&(s=G(o)):s=G(t));const c=l?k(l):window,f=N()&&e;let u=(a.left+(f&&(null==(r=c.visualViewport)?void 0:r.offsetLeft)||0))/s.x,d=(a.top+(f&&(null==(i=c.visualViewport)?void 0:i.offsetTop)||0))/s.y,m=a.width/s.x,p=a.height/s.y;if(l){const t=k(l),n=o&&T(o)?k(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=G(e),n=e.getBoundingClientRect(),o=getComputedStyle(e);n.x+=(e.clientLeft+parseFloat(o.paddingLeft))*t.x,n.y+=(e.clientTop+parseFloat(o.paddingTop))*t.y,u*=t.x,d*=t.y,m*=t.x,p*=t.y,u+=n.x,d+=n.y,e=k(e).frameElement}}return{width:m,height:p,top:d,right:u+m,bottom:d+p,left:u,x:u,y:d}}function V(t){return((j(t)?t.ownerDocument:t.document)||window.document).documentElement}function X(t){return T(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Y(t){return U(V(t)).left+X(t).scrollLeft}function _(t){if("html"===S(t))return t;const n=t.assignedSlot||t.parentNode||B(t)&&t.host||V(t);return B(n)?n.host:n}function J(t){const n=_(t);return I(n)?n.ownerDocument.body:$(n)&&z(n)?n:J(n)}function K(t,n){var e;void 0===n&&(n=[]);const o=J(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=k(o);return r?n.concat(i,i.visualViewport||[],z(o)?o:[]):n.concat(o,K(o))}function Q(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=k(t),o=V(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=N();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e);else if("document"===n)o=function(t){const n=V(t),e=X(t),o=t.ownerDocument.body,r=F(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=F(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Y(t);const l=-e.scrollTop;return"rtl"===D(o).direction&&(a+=F(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(V(t));else if(T(n))o=function(t,n){const e=U(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=$(t)?G(t):{x:1,y:1};return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e={...n};if(N()){var r,i;const n=k(t);e.x-=(null==(r=n.visualViewport)?void 0:r.offsetLeft)||0,e.y-=(null==(i=n.visualViewport)?void 0:i.offsetTop)||0}o=e}return s(o)}function Z(t,n){return $(t)&&"fixed"!==D(t).position?n?n(t):t.offsetParent:null}function tt(t,n){const e=k(t);let o=Z(t,n);for(;o&&L(o)&&"static"===D(o).position;)o=Z(o,n);return o&&("html"===S(o)||"body"===S(o)&&"static"===D(o).position&&!H(o))?e:o||function(t){let n=_(t);for(;$(n)&&!I(n);){if(H(n))return n;n=_(n)}return null}(t)||e}function nt(t,n,e){const o=$(n),r=V(n),i=U(t,!0,"fixed"===e,n);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==S(n)||z(r))&&(a=X(n)),$(n)){const t=U(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=Y(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}const et={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=K(t).filter((t=>T(t)&&"body"!==S(t))),r=null;const i="fixed"===D(t).position;let a=i?_(t):t;for(;T(a)&&!I(a);){const t=D(a),n=H(a);"fixed"===t.position?r=null:(i?n||r:n||"static"!==t.position||!r||!["absolute","fixed"].includes(r.position))?r=t:o=o.filter((t=>t!==a)),a=_(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=Q(n,e,r);return t.top=F(o.top,t.top),t.right=R(o.right,t.right),t.bottom=R(o.bottom,t.bottom),t.left=F(o.left,t.left),t}),Q(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=$(e),i=V(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const s={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==S(e)||z(i))&&(a=X(e)),$(e))){const t=U(e);l=G(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+s.x,y:n.y*l.y-a.scrollTop*l.y+s.y}},isElement:T,getDimensions:function(t){return $(t)?E(t):t.getBoundingClientRect()},getOffsetParent:tt,getDocumentElement:V,getScale:G,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||tt,i=this.getDimensions;return{reference:nt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===D(t).direction};const ot={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},rt=async function(){function t(){return navigator.userAgentData}if(ot.floatingUINonChromiumPositioningFix&&(/firefox|safari/i.test(function(){const n=t();return n?.brands?n.brands.map((({brand:t,version:n})=>`${t}/${n}`)).join(" "):navigator.userAgent}())||function(){const n=t();return n?.brands?!!n.brands.find((({brand:t,version:n})=>("Google Chrome"===t||"Chromium"===t)&&Number(n)>=109)):!!navigator.userAgent.split(" ").find((t=>{const[n,e]=t.split("/");return"Chrome"===n&&parseInt(e)>=109}))}())){const{offsetParent:t}=await import("./p-6c7f9088.js"),n=et.getOffsetParent;et.getOffsetParent=e=>n(e,t)}}(),it=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],at="bottom-start",lt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function st({placement:t,flipDisabled:n,flipPlacements:a,offsetDistance:s,offsetSkidding:f,arrowEl:u,type:m}){const y=[(void 0===g&&(g={}),{name:"shift",options:g,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=g,u={x:n,y:e},m=await c(t,f),p=i(r(o)),y="x"===p?"y":"x";let x=u[p],h=u[y];a&&(x=d(x+m["y"===p?"top":"left"],x,x-m["y"===p?"bottom":"right"])),l&&(h=d(h+m["y"===y?"top":"left"],h,h-m["y"===y?"bottom":"right"]));const v=s.fn({...t,[p]:x,[y]:h});return{...v,data:{x:v.x-n,y:v.y-e}}}}),P()];var g,h;if("menu"===m)return[...y,w({fallbackPlacements:a||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===m||"tooltip"===m){const m=[...y,(h={mainAxis:"number"==typeof s?s:0,crossAxis:"number"==typeof f?f:0},void 0===h&&(h=0),{name:"offset",options:h,async fn(t){const{x:n,y:o}=t,a=await async function(t,n){const{placement:o,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=r(o),f=e(o),u="x"===i(o),d=["left","top"].includes(c)?-1:1,m=s&&u?-1:1,p="function"==typeof n?n(t):n;let{mainAxis:y,crossAxis:g,alignmentAxis:x}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof x&&(g="end"===f?-1*x:x),u?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,h);return{x:n+a.x,y:o+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?m.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var o,i,a;const{rects:l,middlewareData:s,placement:f,platform:u,elements:d}=n,{crossAxis:m=!1,alignment:y,allowedPlacements:g=p,autoAlignment:h=!0,...w}=t,b=void 0!==y||g===p?function(t,n,o){return(t?[...o.filter((n=>e(n)===t)),...o.filter((n=>e(n)!==t))]:o.filter((t=>r(t)===t))).filter((o=>!t||e(o)===t||!!n&&v(o)!==o))}(y||null,h,g):g,A=await c(n,w),P=(null==(o=s.autoPlacement)?void 0:o.index)||0,k=b[P];if(null==k)return{};const{main:D,cross:R}=x(k,l,await(null==u.isRTL?void 0:u.isRTL(d.floating)));if(f!==k)return{reset:{placement:b[0]}};const F=[A[r(k)],A[D],A[R]],M=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:k,overflows:F}],E=b[P+1];if(E)return{data:{index:P+1,overflows:M},reset:{placement:E}};const S=M.map((t=>{const n=e(t.placement);return[t.placement,n&&m?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),C=(null==(a=S.filter((t=>t[2].slice(0,e(t[0])?2:3).every((t=>t<=0))))[0])?void 0:a[0])||S[0][0];return C!==f?{data:{index:P+1,overflows:M},reset:{placement:C}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||m.push(w(a?{fallbackPlacements:a}:{})),u&&m.push((t=>({name:"arrow",options:t,async fn(n){const{element:r,padding:a=0}=t||{},{x:s,y:c,placement:f,rects:u,platform:m}=n;if(null==r)return{};const p=l(a),y={x:s,y:c},g=i(f),x=o(g),h=await m.getDimensions(r),v="y"===g?"top":"left",w="y"===g?"bottom":"right",b=u.reference[x]+u.reference[g]-y[g]-u.floating[x],A=y[g]-u.reference[g],P=await(null==m.getOffsetParent?void 0:m.getOffsetParent(r));let k=P?"y"===g?P.clientHeight||0:P.clientWidth||0:0;0===k&&(k=u.floating[x]);const D=p[v],R=k-h[x]-p[w],F=k/2-h[x]/2+(b/2-A/2),M=d(D,F,R),E=null!=e(f)&&F!=M&&u.reference[x]/2-(F<D?p[v]:p[w])-h[x]/2<0;return{[g]:y[g]-(E?F<D?D-F:R-F:0),data:{[g]:M,centerOffset:F-M}}}}))({element:u})),m}return[]}function ct(t,n){const e=t.filter((t=>it.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${it.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ft(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function ut(t,n,e=!1){if(t.open)return e?dt(n):mt(n)}const dt=n(mt,100,{leading:!0,maxWait:100});async function mt({referenceEl:t,floatingEl:n,overlayPositioning:e="absolute",placement:o,flipDisabled:r,flipPlacements:i,offsetDistance:l,offsetSkidding:s,includeArrow:c=!1,arrowEl:f,type:u}){if(!t||!n||c&&!f)return null;await rt;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:et,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,s=i.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(n));let f=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=a(f,o,c),m=o,p={},y=0;for(let e=0;e<s.length;e++){const{name:i,fn:g}=s[e],{x,y:h,data:v,reset:w}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:l,elements:{reference:t,floating:n}});u=null!=x?x:u,d=null!=h?h:d,p={...p,[i]:{...p[i],...v}},w&&y<=50&&(y++,"object"==typeof w&&(w.placement&&(m=w.placement),w.rects&&(f=!0===w.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:u,y:d}=a(f,m,c))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(t,n,{...r,platform:i})})(t,n,{strategy:e,placement:"auto"===o||"auto-start"===o||"auto-end"===o?void 0:ft(n,o),middleware:st({placement:o,flipDisabled:r,flipPlacements:i,offsetDistance:l,offsetSkidding:s,arrowEl:f,type:u})});if(g?.arrow){const{x:t,y:n}=g.arrow;Object.assign(f.style,{left:null!=t?`${t}px`:"",top:null!=n?`${n}px`:""})}const x=g?.hide?.referenceHidden,h=x?"hidden":null,v=h?"none":null;n.setAttribute("data-placement",p);const w=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(n.style,{visibility:h,pointerEvents:v,position:y,top:"0",left:"0",transform:w})}const pt=new WeakMap;function yt(t,n,e){e&&n&&(gt(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),pt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r&&!l,c=s||i?[...T(t)?K(t):t.contextElement?K(t.contextElement):[],...K(n)]:[];c.forEach((t=>{s&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let f,u=null;if(a){let o=!0;u=new ResizeObserver((()=>{o||e(),o=!1})),T(t)&&!l&&u.observe(t),T(t)||!t.contextElement||l||u.observe(t.contextElement),u.observe(n)}let d=l?U(t):null;return l&&function n(){const o=U(t);!d||o.x===d.x&&o.y===d.y&&o.width===d.width&&o.height===d.height||e(),d=o,f=requestAnimationFrame(n)}(),e(),()=>{var t;c.forEach((t=>{s&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=u)||t.disconnect(),u=null,l&&cancelAnimationFrame(f)}}(n,e,(()=>t.reposition()))))}function gt(t,n,e){if(!e||!n)return;const o=pt.get(t);o&&o(),pt.delete(t)}const xt=Math.ceil(Math.hypot(4,4));export{lt as F,gt as a,xt as b,yt as c,at as d,ct as f,ut as r}
@@ -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.3.0-next.16
4
+ * v1.3.0-next.18
5
5
  */
6
6
  function n(n){return"Enter"===n||" "===n}const t=["0","1","2","3","4","5","6","7","8","9"];export{n as i,t as n}
@@ -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.3.0-next.16
4
+ * v1.3.0-next.18
5
5
  */
6
- import{c as t,a as n}from"./p-708fe134.js";import{n as e}from"./p-792cced0.js";import{c as s}from"./p-f5162d1f.js";const i=new RegExp("\\.(0+)?$"),r=new RegExp("0+$");class a{constructor(t){if(t instanceof a)return t;const[n,e]=function(t){const n=t.split(/[eE]/);if(1===n.length)return t;const e=+t;if(Number.isSafeInteger(e))return`${e}`;const s="-"===t.charAt(0),r=+n[1],a=n[0].split("."),u=(s?a[0].substring(1):a[0])||"",o=a[1]||"",h=r>0?`${u}${((t,n)=>{const e=n>t.length?`${t}${"0".repeat(n-t.length)}`:t;return`${e.slice(0,n)}.${e.slice(n)}`})(o,r)}`:`${((t,n)=>{const e=Math.abs(n)-t.length,s=e>0?`${"0".repeat(e)}${t}`:t;return`${s.slice(0,n)}.${s.slice(n)}`})(u,r)}${o}`;return`${s?"-":""}${"."===h.charAt(0)?"0":""}${h.replace(i,"").replace(c,"")}`}(t).split(".").concat("");this.value=BigInt(n+e.padEnd(a.DECIMALS,"0").slice(0,a.DECIMALS))+BigInt(a.ROUNDED&&e[a.DECIMALS]>="5"),this.isNegative="-"===t.charAt(0)}getIntegersAndDecimals(){const t=this.value.toString().replace("-","").padStart(a.DECIMALS+1,"0");return{integers:t.slice(0,-a.DECIMALS),decimals:t.slice(-a.DECIMALS).replace(r,"")}}toString(){const{integers:t,decimals:n}=this.getIntegersAndDecimals();return`${this.isNegative?"-":""}${t}${n.length?"."+n:""}`}formatToParts(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals(),s=t.numberFormatter.formatToParts(BigInt(n));return this.isNegative&&s.unshift({type:"minusSign",value:t.minusSign}),e.length&&(s.push({type:"decimal",value:t.decimal}),e.split("").forEach((t=>s.push({type:"fraction",value:t})))),s}format(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals();return`${this.isNegative?t.minusSign:""}${t.numberFormatter.format(BigInt(n))}${e.length?`${t.decimal}${e.split("").map((n=>t.numberFormatter.format(Number(n)))).join("")}`:""}`}add(t){return a.fromBigInt(this.value+new a(t).value)}subtract(t){return a.fromBigInt(this.value-new a(t).value)}multiply(t){return a._divRound(this.value*new a(t).value,a.SHIFT)}divide(t){return a._divRound(this.value*a.SHIFT,new a(t).value)}}function u(t){return!(!t||isNaN(Number(t)))}function o(t){return t&&(n=t,e.some((t=>n.includes(t))))?$(t,(t=>{let n=!1;const s=t.split("").filter(((t,s)=>t.match(/\./g)&&!n?(n=!0,!0):!(!t.match(/\-/g)||0!==s)||e.includes(t))).reduce(((t,n)=>t+n));return u(s)?new a(s).toString():""})):"";var n}a.DECIMALS=100,a.ROUNDED=!0,a.SHIFT=BigInt("1"+"0".repeat(a.DECIMALS)),a._divRound=(t,n)=>a.fromBigInt(t/n+(a.ROUNDED?t*BigInt(2)/n%BigInt(2):BigInt(0))),a.fromBigInt=t=>Object.assign(Object.create(a.prototype),{value:t,isNegative:t<BigInt(0)});const c=/^([-0])0+(?=\d)/,h=/(?!^\.)\.$/,l=/(?!^-)-/g,g=/^-\b0\b\.?0*$/,m=t=>$(t,(t=>{const n=t.replace(l,"").replace(h,"").replace(c,"$1");return u(n)?g.test(n)?n:new a(n).toString():t}));function $(t,n){if(!t)return t;const e=t.toLowerCase().indexOf("e")+1;return e?t.replace(/[eE]*$/g,"").substring(0,e).concat(t.slice(e).replace(/[eE]/g,"")).split(/[eE]/).map(((t,e)=>n(1===e?t.replace(/\./g,""):t))).join("e").replace(/^e/,"1e"):n(t)}const f="en",d=["ar","bg","bs","ca","cs","da","de","el",f,"es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","no","nl","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],p=["ar","bg","bs","ca","cs","da","de","de-AT","de-CH","el",f,"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","no","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],b=["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"],w=t=>b.includes(t),v=(new Intl.NumberFormat).resolvedOptions().numberingSystem,I="arab"!==v&&w(v)?v:"latn",B=t=>w(t)?t:I;function E(t,n="cldr"){const e="cldr"===n?p:d;return t?e.includes(t)?t:"nb"===(t=t.toLowerCase())?"no":"t9n"===n&&"pt"===t?"pt-BR":(t.includes("-")&&(t=t.replace(/(\w+)-(\w+)/,((t,n,e)=>`${n}-${e.toUpperCase()}`)),e.includes(t)||(t=t.split("-")[0])),"zh"===t?"zh-CN":e.includes(t)?t:(console.warn(`Translations for the "${t}" locale are not available and will fall back to the default, English (en).`),f)):f}const N=new Set;function j(n){!function(n){n.effectiveLocale=function(n){return n.el.lang||t(n.el,"[lang]")?.lang||document.documentElement.lang||f}(n)}(n),0===N.size&&x?.observe(document.documentElement,{attributes:!0,attributeFilter:["lang"],subtree:!0}),N.add(n)}function k(t){N.delete(t),0===N.size&&x.disconnect()}const x=s("mutation",(e=>{e.forEach((e=>{const s=e.target;N.forEach((e=>{if(!n(s,e.el))return;const i=t(e.el,"[lang]");if(!i)return void(e.effectiveLocale=f);const r=i.lang;e.effectiveLocale=i.hasAttribute("lang")&&""===r?f:r}))}))})),R=new class{constructor(){this.delocalize=t=>this._numberFormatOptions?$(t,(t=>t.trim().replace(new RegExp(`[${this._minusSign}]`,"g"),"-").replace(new RegExp(`[${this._group}]`,"g"),"").replace(new RegExp(`[${this._decimal}]`,"g"),".").replace(new RegExp(`[${this._digits.join("")}]`,"g"),this._getDigitIndex))):t,this.localize=t=>this._numberFormatOptions?$(t,(t=>u(t.trim())?new a(t.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`,"g"),this._group):t)):t}get group(){return this._group}get decimal(){return this._decimal}get minusSign(){return this._minusSign}get digits(){return this._digits}get numberFormatter(){return this._numberFormatter}get numberFormatOptions(){return this._numberFormatOptions}set numberFormatOptions(t){if(t.locale=E(t?.locale),t.numberingSystem=B(t?.numberingSystem),!this._numberFormatOptions&&t.locale===f&&t.numberingSystem===I&&2===Object.keys(t).length||JSON.stringify(this._numberFormatOptions)===JSON.stringify(t))return;this._numberFormatOptions=t,this._numberFormatter=new Intl.NumberFormat(this._numberFormatOptions.locale,this._numberFormatOptions),this._digits=[...new Intl.NumberFormat(this._numberFormatOptions.locale,{useGrouping:!1,numberingSystem:this._numberFormatOptions.numberingSystem}).format(9876543210)].reverse();const n=new Map(this._digits.map(((t,n)=>[t,n]))),e=new Intl.NumberFormat(this._numberFormatOptions.locale).formatToParts(-12345678.9);this._actualGroup=e.find((t=>"group"===t.type)).value,this._group=0===this._actualGroup.trim().length?" ":this._actualGroup,this._decimal=e.find((t=>"decimal"===t.type)).value,this._minusSign=e.find((t=>"minusSign"===t.type)).value,this._getDigitIndex=t=>n.get(t)}};let y,z;function O(t,n){t=E(t),y||(y=new Map),z!==t&&(y.clear(),z=t);const e=function(t={}){return Object.entries(t).sort((([t],[n])=>t.localeCompare(n))).map((t=>`${t[0]}-${t[1]}`)).flat().join(":")}(n),s=y.get(e);if(s)return s;const i=new Intl.DateTimeFormat(t,n);return y.set(e,i),i}export{a as B,I as a,O as b,j as c,k as d,B as e,E as g,u as i,R as n,o as p,m as s}
6
+ import{c as t,a as n}from"./p-d686a5f7.js";import{n as e}from"./p-4c7209fe.js";import{c as s}from"./p-74fa51ba.js";const i=new RegExp("\\.(0+)?$"),r=new RegExp("0+$");class a{constructor(t){if(t instanceof a)return t;const[n,e]=function(t){const n=t.split(/[eE]/);if(1===n.length)return t;const e=+t;if(Number.isSafeInteger(e))return`${e}`;const s="-"===t.charAt(0),r=+n[1],a=n[0].split("."),u=(s?a[0].substring(1):a[0])||"",o=a[1]||"",h=r>0?`${u}${((t,n)=>{const e=n>t.length?`${t}${"0".repeat(n-t.length)}`:t;return`${e.slice(0,n)}.${e.slice(n)}`})(o,r)}`:`${((t,n)=>{const e=Math.abs(n)-t.length,s=e>0?`${"0".repeat(e)}${t}`:t;return`${s.slice(0,n)}.${s.slice(n)}`})(u,r)}${o}`;return`${s?"-":""}${"."===h.charAt(0)?"0":""}${h.replace(i,"").replace(c,"")}`}(t).split(".").concat("");this.value=BigInt(n+e.padEnd(a.DECIMALS,"0").slice(0,a.DECIMALS))+BigInt(a.ROUNDED&&e[a.DECIMALS]>="5"),this.isNegative="-"===t.charAt(0)}getIntegersAndDecimals(){const t=this.value.toString().replace("-","").padStart(a.DECIMALS+1,"0");return{integers:t.slice(0,-a.DECIMALS),decimals:t.slice(-a.DECIMALS).replace(r,"")}}toString(){const{integers:t,decimals:n}=this.getIntegersAndDecimals();return`${this.isNegative?"-":""}${t}${n.length?"."+n:""}`}formatToParts(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals(),s=t.numberFormatter.formatToParts(BigInt(n));return this.isNegative&&s.unshift({type:"minusSign",value:t.minusSign}),e.length&&(s.push({type:"decimal",value:t.decimal}),e.split("").forEach((t=>s.push({type:"fraction",value:t})))),s}format(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals();return`${this.isNegative?t.minusSign:""}${t.numberFormatter.format(BigInt(n))}${e.length?`${t.decimal}${e.split("").map((n=>t.numberFormatter.format(Number(n)))).join("")}`:""}`}add(t){return a.fromBigInt(this.value+new a(t).value)}subtract(t){return a.fromBigInt(this.value-new a(t).value)}multiply(t){return a._divRound(this.value*new a(t).value,a.SHIFT)}divide(t){return a._divRound(this.value*a.SHIFT,new a(t).value)}}function u(t){return!(!t||isNaN(Number(t)))}function o(t){return t&&(n=t,e.some((t=>n.includes(t))))?$(t,(t=>{let n=!1;const s=t.split("").filter(((t,s)=>t.match(/\./g)&&!n?(n=!0,!0):!(!t.match(/\-/g)||0!==s)||e.includes(t))).reduce(((t,n)=>t+n));return u(s)?new a(s).toString():""})):"";var n}a.DECIMALS=100,a.ROUNDED=!0,a.SHIFT=BigInt("1"+"0".repeat(a.DECIMALS)),a._divRound=(t,n)=>a.fromBigInt(t/n+(a.ROUNDED?t*BigInt(2)/n%BigInt(2):BigInt(0))),a.fromBigInt=t=>Object.assign(Object.create(a.prototype),{value:t,isNegative:t<BigInt(0)});const c=/^([-0])0+(?=\d)/,h=/(?!^\.)\.$/,l=/(?!^-)-/g,g=/^-\b0\b\.?0*$/,m=t=>$(t,(t=>{const n=t.replace(l,"").replace(h,"").replace(c,"$1");return u(n)?g.test(n)?n:new a(n).toString():t}));function $(t,n){if(!t)return t;const e=t.toLowerCase().indexOf("e")+1;return e?t.replace(/[eE]*$/g,"").substring(0,e).concat(t.slice(e).replace(/[eE]/g,"")).split(/[eE]/).map(((t,e)=>n(1===e?t.replace(/\./g,""):t))).join("e").replace(/^e/,"1e"):n(t)}const f="en",d=["ar","bg","bs","ca","cs","da","de","el",f,"es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","no","nl","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],p=["ar","bg","bs","ca","cs","da","de","de-AT","de-CH","el",f,"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","no","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],b=["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"],w=t=>b.includes(t),v=(new Intl.NumberFormat).resolvedOptions().numberingSystem,I="arab"!==v&&w(v)?v:"latn",B=t=>w(t)?t:I;function E(t,n="cldr"){const e="cldr"===n?p:d;return t?e.includes(t)?t:"nb"===(t=t.toLowerCase())?"no":"t9n"===n&&"pt"===t?"pt-BR":(t.includes("-")&&(t=t.replace(/(\w+)-(\w+)/,((t,n,e)=>`${n}-${e.toUpperCase()}`)),e.includes(t)||(t=t.split("-")[0])),"zh"===t?"zh-CN":e.includes(t)?t:(console.warn(`Translations for the "${t}" locale are not available and will fall back to the default, English (en).`),f)):f}const N=new Set;function j(n){!function(n){n.effectiveLocale=function(n){return n.el.lang||t(n.el,"[lang]")?.lang||document.documentElement.lang||f}(n)}(n),0===N.size&&x?.observe(document.documentElement,{attributes:!0,attributeFilter:["lang"],subtree:!0}),N.add(n)}function k(t){N.delete(t),0===N.size&&x.disconnect()}const x=s("mutation",(e=>{e.forEach((e=>{const s=e.target;N.forEach((e=>{if(!n(s,e.el))return;const i=t(e.el,"[lang]");if(!i)return void(e.effectiveLocale=f);const r=i.lang;e.effectiveLocale=i.hasAttribute("lang")&&""===r?f:r}))}))})),R=new class{constructor(){this.delocalize=t=>this._numberFormatOptions?$(t,(t=>t.trim().replace(new RegExp(`[${this._minusSign}]`,"g"),"-").replace(new RegExp(`[${this._group}]`,"g"),"").replace(new RegExp(`[${this._decimal}]`,"g"),".").replace(new RegExp(`[${this._digits.join("")}]`,"g"),this._getDigitIndex))):t,this.localize=t=>this._numberFormatOptions?$(t,(t=>u(t.trim())?new a(t.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`,"g"),this._group):t)):t}get group(){return this._group}get decimal(){return this._decimal}get minusSign(){return this._minusSign}get digits(){return this._digits}get numberFormatter(){return this._numberFormatter}get numberFormatOptions(){return this._numberFormatOptions}set numberFormatOptions(t){if(t.locale=E(t?.locale),t.numberingSystem=B(t?.numberingSystem),!this._numberFormatOptions&&t.locale===f&&t.numberingSystem===I&&2===Object.keys(t).length||JSON.stringify(this._numberFormatOptions)===JSON.stringify(t))return;this._numberFormatOptions=t,this._numberFormatter=new Intl.NumberFormat(this._numberFormatOptions.locale,this._numberFormatOptions),this._digits=[...new Intl.NumberFormat(this._numberFormatOptions.locale,{useGrouping:!1,numberingSystem:this._numberFormatOptions.numberingSystem}).format(9876543210)].reverse();const n=new Map(this._digits.map(((t,n)=>[t,n]))),e=new Intl.NumberFormat(this._numberFormatOptions.locale).formatToParts(-12345678.9);this._actualGroup=e.find((t=>"group"===t.type)).value,this._group=0===this._actualGroup.trim().length?" ":this._actualGroup,this._decimal=e.find((t=>"decimal"===t.type)).value,this._minusSign=e.find((t=>"minusSign"===t.type)).value,this._getDigitIndex=t=>n.get(t)}};let y,z;function O(t,n){t=E(t),y||(y=new Map),z!==t&&(y.clear(),z=t);const e=function(t={}){return Object.entries(t).sort((([t],[n])=>t.localeCompare(n))).map((t=>`${t[0]}-${t[1]}`)).flat().join(":")}(n),s=y.get(e);if(s)return s;const i=new Intl.DateTimeFormat(t,n);return y.set(e,i),i}export{a as B,I as a,O as b,j as c,k as d,B as e,E as g,u as i,R as n,o as p,m as s}
@@ -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.3.0-next.16
4
+ * v1.3.0-next.18
5
5
  */
6
- import{r as t,c as a,h as i,H as e,a as n}from"./p-e5c5a835.js";import{l as o,a as c}from"./p-2ae40efb.js";import"./p-708fe134.js";import"./p-0af218f6.js";import"./p-6f36d5d9.js";const l=class{constructor(i){t(this,i),this.calciteInternalLabelClick=a(this,"calciteInternalLabelClick",2),this.labelClickHandler=t=>{this.calciteInternalLabelClick.emit({sourceEvent:t})},this.alignment="start",this.for=void 0,this.scale="m",this.layout="default"}connectedCallback(){document.dispatchEvent(new CustomEvent(o))}disconnectedCallback(){document.dispatchEvent(new CustomEvent(c))}render(){return i(e,{onClick:this.labelClickHandler},i("div",{class:"container"},i("slot",null)))}get el(){return n(this)}};l.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{l as calcite_label}
6
+ import{r as t,c as a,h as i,H as e,a as n}from"./p-47d5299c.js";import{l as o,a as c}from"./p-6b7c6253.js";import"./p-d686a5f7.js";import"./p-df03ce82.js";import"./p-d8d5f5f2.js";const l=class{constructor(i){t(this,i),this.calciteInternalLabelClick=a(this,"calciteInternalLabelClick",2),this.labelClickHandler=t=>{this.calciteInternalLabelClick.emit({sourceEvent:t})},this.alignment="start",this.for=void 0,this.scale="m",this.layout="default"}connectedCallback(){document.dispatchEvent(new CustomEvent(o))}disconnectedCallback(){document.dispatchEvent(new CustomEvent(c))}render(){return i(e,{onClick:this.labelClickHandler},i("div",{class:"container"},i("slot",null)))}get el(){return n(this)}};l.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{l as calcite_label}
@@ -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.3.0-next.16
4
+ * v1.3.0-next.18
5
5
  */
6
- import{r as t,c as i,h as a,a as e}from"./p-e5c5a835.js";import{j as s,t as n}from"./p-708fe134.js";import{u as c}from"./p-d528908a.js";import{c as o}from"./p-f5162d1f.js";import{a as r,s as l,c as h}from"./p-23ba2ea5.js";import"./p-0af218f6.js";import"./p-6f36d5d9.js";const d=class{constructor(a){t(this,a),this.calciteChipGroupSelect=i(this,"calciteChipGroupSelect",6),this.mutationObserver=o("mutation",(()=>this.updateItems())),this.items=[],this.updateItems=t=>{this.items=(t?t.target:this.slotRefEl).assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-chip"))),this.items.forEach((t=>{t.interactive=!0,t.scale=this.scale,t.selectionMode=this.selectionMode})),this.setSelectedItems(!1)},this.setSelectedItems=(t,i)=>{i&&this.items.forEach((t=>{const a=i===t;switch(this.selectionMode){case"multiple":a&&(t.selected=!t.selected);break;case"single":t.selected=!!a&&!t.selected;break;case"single-persist":t.selected=!!a}})),this.selectedItems=this.items.filter((t=>t.selected)),t&&this.calciteChipGroupSelect.emit()},this.disabled=!1,this.label=void 0,this.scale="m",this.selectionMode="none",this.selectedItems=[]}onSelectionModeChange(){this.updateItems()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}componentDidRender(){c(this)}componentDidLoad(){r(this)}disconnectedCallback(){this.mutationObserver?.disconnect()}async componentWillLoad(){l(this)}calciteInternalChipKeyEventListener(t){if(t.composedPath().includes(this.el)){const i=this.items.filter((t=>!t.disabled));switch(t.detail.key){case"ArrowRight":s(i,t.detail.target,"next");break;case"ArrowLeft":s(i,t.detail.target,"previous");break;case"Home":s(i,t.detail.target,"first");break;case"End":s(i,t.detail.target,"last")}}}calciteChipCloseListener(t){const i=t.target;this.items.includes(i)&&(this.items.indexOf(i)>0?s(this.items,i,"previous"):0===this.items.indexOf(i)?s(this.items,i,"next"):s(this.items,i,"first")),this.items=this.items.filter((t=>t!==i))}calciteChipSelectListener(t){t.composedPath().includes(this.el)&&this.setSelectedItems(!0,t.target)}async setFocus(){await h(this),this.disabled||(this.selectedItems[0]||this.items[0])?.setFocus()}render(){const t="none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup";return a("div",{"aria-disabled":n(this.disabled),"aria-label":this.label,class:"container",role:t},a("slot",{onSlotchange:this.updateItems,ref:t=>this.slotRefEl=t}))}get el(){return e(this)}static get watchers(){return{selectionMode:["onSelectionModeChange"]}}};d.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:0.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:0.25rem}:host([scale=l]) .container{gap:0.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{d as calcite_chip_group}
6
+ import{r as t,c as i,h as a,a as e}from"./p-47d5299c.js";import{j as s,t as n}from"./p-d686a5f7.js";import{u as c}from"./p-bcf956a1.js";import{c as o}from"./p-74fa51ba.js";import{a as r,s as l,c as h}from"./p-de8bc6a3.js";import"./p-df03ce82.js";import"./p-d8d5f5f2.js";const d=class{constructor(a){t(this,a),this.calciteChipGroupSelect=i(this,"calciteChipGroupSelect",6),this.mutationObserver=o("mutation",(()=>this.updateItems())),this.items=[],this.updateItems=t=>{this.items=(t?t.target:this.slotRefEl).assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-chip"))),this.items.forEach((t=>{t.interactive=!0,t.scale=this.scale,t.selectionMode=this.selectionMode})),this.setSelectedItems(!1)},this.setSelectedItems=(t,i)=>{i&&this.items.forEach((t=>{const a=i===t;switch(this.selectionMode){case"multiple":a&&(t.selected=!t.selected);break;case"single":t.selected=!!a&&!t.selected;break;case"single-persist":t.selected=!!a}})),this.selectedItems=this.items.filter((t=>t.selected)),t&&this.calciteChipGroupSelect.emit()},this.disabled=!1,this.label=void 0,this.scale="m",this.selectionMode="none",this.selectedItems=[]}onSelectionModeChange(){this.updateItems()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}componentDidRender(){c(this)}componentDidLoad(){r(this)}disconnectedCallback(){this.mutationObserver?.disconnect()}async componentWillLoad(){l(this)}calciteInternalChipKeyEventListener(t){if(t.composedPath().includes(this.el)){const i=this.items.filter((t=>!t.disabled));switch(t.detail.key){case"ArrowRight":s(i,t.detail.target,"next");break;case"ArrowLeft":s(i,t.detail.target,"previous");break;case"Home":s(i,t.detail.target,"first");break;case"End":s(i,t.detail.target,"last")}}}calciteChipCloseListener(t){const i=t.target;this.items.includes(i)&&(this.items.indexOf(i)>0?s(this.items,i,"previous"):0===this.items.indexOf(i)?s(this.items,i,"next"):s(this.items,i,"first")),this.items=this.items.filter((t=>t!==i))}calciteChipSelectListener(t){t.composedPath().includes(this.el)&&this.setSelectedItems(!0,t.target)}async setFocus(){await h(this),this.disabled||(this.selectedItems[0]||this.items[0])?.setFocus()}render(){const t="none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup";return a("div",{"aria-disabled":n(this.disabled),"aria-label":this.label,class:"container",role:t},a("slot",{onSlotchange:this.updateItems,ref:t=>this.slotRefEl=t}))}get el(){return e(this)}static get watchers(){return{selectionMode:["onSelectionModeChange"]}}};d.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:0.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:0.25rem}:host([scale=l]) .container{gap:0.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{d as calcite_chip_group}
@@ -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.3.0-next.16
4
+ * v1.3.0-next.18
5
5
  */
6
- import{r as i,c as t,h as a,H as e,a as o}from"./p-e5c5a835.js";import{g as s}from"./p-9d9577e0.js";import{b as n,f as r,t as c}from"./p-708fe134.js";import{c as d,d as h,H as l}from"./p-1f204e0f.js";import{g as u}from"./p-0af218f6.js";import{u as m}from"./p-d528908a.js";import{c as p,d as f,g as b}from"./p-2ae40efb.js";import{c as v,s as k,a as w}from"./p-23ba2ea5.js";import"./p-6f36d5d9.js";const x=class{constructor(a){i(this,a),this.calciteInternalRadioButtonBlur=t(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=t(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=t(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=t(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(i,t)=>{i[t].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((i=>i.name===this.name)),this.isDefaultSelectable=()=>{const i=this.queryButtons();return!i.some((i=>i.checked))&&i[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.focused=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=i=>{this.containerEl=i},this.handleKeyDown=i=>{const{key:t}=i,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(t))return;if(" "===t)return this.check(),void i.preventDefault();let e=t;"rtl"===n(a)&&("ArrowRight"===t&&(e="ArrowLeft"),"ArrowLeft"===t&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((i=>i.name===this.name));let r=0;const c=o.length;switch(o.some(((i,t)=>{if(i.checked)return r=t,!0})),e){case"ArrowLeft":case"ArrowUp":return i.preventDefault(),void this.selectItem(o,s(Math.max(r-1,-1),c));case"ArrowRight":case"ArrowDown":return i.preventDefault(),void this.selectItem(o,s(r+1,c));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hidden=!1,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}checkedChanged(i){i&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await v(this),this.disabled||r(this.containerEl)}syncHiddenFormInput(i){i.type="radio"}onLabelClick(i){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const t=i.currentTarget,a=t.for?this.rootNode.querySelector(`calcite-radio-button[id="${t.for}"]`):t.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const i=this.queryButtons().filter((i=>i.checked));if(i?.length>1){const t=i[i.length-1];i.filter((i=>i!==t)).forEach((i=>{i.checked=!1,i.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((i=>{i.checked&&(i.checked=!1,i.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((i=>i.guid!==this.guid)).forEach((i=>{i.checked&&(i.checked=!1,i.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${u()}`,this.name&&this.checkLastRadioButton(),p(this),d(this)}componentWillLoad(){k(this)}componentDidLoad(){w(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){f(this),h(this)}componentDidRender(){m(this)}render(){const i=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":c(this.checked),"aria-label":b(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"radio",tabIndex:i,ref:this.setContainerEl},a("div",{class:"radio"})),a(l,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};x.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{x as calcite_radio_button}
6
+ import{r as i,c as t,h as a,H as e,a as o}from"./p-47d5299c.js";import{g as s}from"./p-fac6cb68.js";import{b as n,f as c,t as r}from"./p-d686a5f7.js";import{c as d,d as l,H as h}from"./p-b6c844d7.js";import{g as u}from"./p-df03ce82.js";import{u as m}from"./p-bcf956a1.js";import{c as p,d as f,g as b}from"./p-6b7c6253.js";import{c as v,s as k,a as w}from"./p-de8bc6a3.js";import"./p-d8d5f5f2.js";const x=class{constructor(a){i(this,a),this.calciteInternalRadioButtonBlur=t(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=t(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=t(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=t(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(i,t)=>{i[t].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((i=>i.name===this.name)),this.isDefaultSelectable=()=>{const i=this.queryButtons();return!i.some((i=>i.checked))&&i[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.focused=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=i=>{this.containerEl=i},this.handleKeyDown=i=>{const{key:t}=i,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(t))return;if(" "===t)return this.check(),void i.preventDefault();let e=t;"rtl"===n(a)&&("ArrowRight"===t&&(e="ArrowLeft"),"ArrowLeft"===t&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((i=>i.name===this.name));let c=0;const r=o.length;switch(o.some(((i,t)=>{if(i.checked)return c=t,!0})),e){case"ArrowLeft":case"ArrowUp":return i.preventDefault(),void this.selectItem(o,s(Math.max(c-1,-1),r));case"ArrowRight":case"ArrowDown":return i.preventDefault(),void this.selectItem(o,s(c+1,r));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hidden=!1,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}checkedChanged(i){i&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await v(this),this.disabled||c(this.containerEl)}syncHiddenFormInput(i){i.type="radio"}onLabelClick(i){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const t=i.currentTarget,a=t.for?this.rootNode.querySelector(`calcite-radio-button[id="${t.for}"]`):t.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const i=this.queryButtons().filter((i=>i.checked));if(i?.length>1){const t=i[i.length-1];i.filter((i=>i!==t)).forEach((i=>{i.checked=!1,i.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((i=>{i.checked&&(i.checked=!1,i.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((i=>i.guid!==this.guid)).forEach((i=>{i.checked&&(i.checked=!1,i.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${u()}`,this.name&&this.checkLastRadioButton(),p(this),d(this)}componentWillLoad(){k(this)}componentDidLoad(){w(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){f(this),l(this)}componentDidRender(){m(this)}render(){const i=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":r(this.checked),"aria-label":b(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"radio",tabIndex:i,ref:this.setContainerEl},a("div",{class:"radio"})),a(h,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};x.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-focus-color);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{x as calcite_radio_button}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.3.0-next.18
5
+ */
6
+ import{r as t,c as i,h as a,a as n}from"./p-47d5299c.js";import{S as e}from"./p-8479393c.js";import{u as s}from"./p-bcf956a1.js";import{c}from"./p-74fa51ba.js";const o=class{constructor(a){t(this,a),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=c("mutation",(()=>{this.cleanUpDragAndDrop(),this.items=Array.from(this.el.children),this.setUpDragAndDrop()})),this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1,this.handleActivated=!1}connectedCallback(){this.items=Array.from(this.el.children),this.setUpDragAndDrop(),this.beginObserving()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.cleanUpDragAndDrop()}componentDidRender(){s(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}handleNudgeEvent(t){const{direction:i}=t.detail,a=t.target,n=this.items.find((i=>i.contains(a)||t.composedPath().includes(i))),e=this.items.length-1,s=this.items.indexOf(n);let c,o=!1;"up"===i?0===s?o=!0:c=s-1:s===e?c=0:s===e-1?o=!0:c=s+2,this.mutationObserver?.disconnect(),o?n.parentElement.appendChild(n):n.parentElement.insertBefore(n,this.items[c]),this.items=Array.from(this.el.children),a.activated=!0,a.setFocus(),this.beginObserving()}setUpDragAndDrop(){this.cleanUpDragAndDrop();const t={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:()=>{this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()},onStart:()=>{this.mutationObserver?.disconnect()},onEnd:()=>{this.beginObserving()}};this.dragSelector&&(t.draggable=this.dragSelector),this.sortable=e.create(this.el,t)}cleanUpDragAndDrop(){this.sortable?.destroy(),this.sortable=null}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}render(){const{layout:t}=this,i="horizontal"===t||!1;return a("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},a("slot",null))}get el(){return n(this)}};o.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}";export{o as calcite_sortable_list}