@esri/calcite-components 1.5.0-next.4 → 1.5.0-next.6

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 (928) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +2 -2
  3. package/dist/calcite/{p-bc26f966.js → p-03d4b8a6.js} +2 -2
  4. package/dist/calcite/{p-5c6cb671.entry.js → p-03f0b988.entry.js} +2 -2
  5. package/dist/calcite/{p-3e74b762.js → p-0828de9f.js} +2 -2
  6. package/dist/calcite/{p-171f9573.js → p-0bb8c87d.js} +2 -2
  7. package/dist/calcite/{p-e5f3c511.js → p-0e7f5ff2.js} +2 -2
  8. package/dist/calcite/{p-b8bed9ad.js → p-0e885cd8.js} +2 -2
  9. package/dist/calcite/{p-77f63499.entry.js → p-106bc1c1.entry.js} +2 -2
  10. package/dist/calcite/{p-20cbe085.js → p-12b955d2.js} +1 -1
  11. package/dist/calcite/{p-6208d429.entry.js → p-1565dba6.entry.js} +2 -2
  12. package/dist/calcite/{p-d6775b93.js → p-15c8b02c.js} +1 -1
  13. package/dist/calcite/{p-3369ede1.entry.js → p-169f08c3.entry.js} +2 -2
  14. package/dist/calcite/{p-0210e840.entry.js → p-18212a71.entry.js} +2 -2
  15. package/dist/calcite/{p-41712dc0.entry.js → p-197c9a13.entry.js} +2 -2
  16. package/dist/calcite/p-1bdd12ef.entry.js +6 -0
  17. package/dist/calcite/{p-c98932ac.js → p-1c0703e5.js} +2 -2
  18. package/dist/calcite/{p-313f245b.entry.js → p-1cee0767.entry.js} +2 -2
  19. package/dist/calcite/{p-819d8358.js → p-1efec33f.js} +2 -2
  20. package/dist/calcite/{p-e7606d01.entry.js → p-2020c86e.entry.js} +2 -2
  21. package/dist/calcite/{p-10fea07e.js → p-233ef900.js} +2 -2
  22. package/dist/calcite/{p-8c5ad359.js → p-241913b7.js} +2 -2
  23. package/dist/calcite/{p-c6eadbf0.entry.js → p-24433916.entry.js} +2 -2
  24. package/dist/calcite/{p-a9ac5c35.js → p-25523df6.js} +2 -2
  25. package/dist/calcite/p-2907f4fe.entry.js +6 -0
  26. package/dist/calcite/{p-3b175dde.entry.js → p-29d104a0.entry.js} +2 -2
  27. package/dist/calcite/{p-4230e6c9.js → p-2a18bb95.js} +2 -2
  28. package/dist/calcite/{p-5671ae2e.js → p-2a7df787.js} +2 -2
  29. package/dist/calcite/{p-d4919db4.entry.js → p-2ac0b902.entry.js} +2 -2
  30. package/dist/calcite/{p-bb203532.js → p-2b9f5cff.js} +2 -2
  31. package/dist/calcite/{p-63242d07.js → p-2bab61fb.js} +2 -2
  32. package/dist/calcite/{p-fbdb06e0.entry.js → p-2d0498ce.entry.js} +2 -2
  33. package/dist/calcite/{p-f158e12d.entry.js → p-3173b3b2.entry.js} +2 -2
  34. package/dist/calcite/{p-17f9b672.js → p-3466798f.js} +2 -2
  35. package/dist/calcite/{p-9759fc98.js → p-36297148.js} +1 -1
  36. package/dist/calcite/{p-aad7ec0d.js → p-378b325c.js} +2 -2
  37. package/dist/calcite/{p-785387e6.entry.js → p-39de87c6.entry.js} +2 -2
  38. package/dist/calcite/{p-6a81490e.js → p-3adee803.js} +2 -2
  39. package/dist/calcite/{p-77298851.entry.js → p-3b9f549a.entry.js} +2 -2
  40. package/dist/calcite/{p-d94ce01e.js → p-3c54bbd4.js} +2 -2
  41. package/dist/calcite/{p-b696940c.js → p-3cce94e2.js} +2 -2
  42. package/dist/calcite/p-3de27d1c.entry.js +6 -0
  43. package/dist/calcite/{p-396b97c0.entry.js → p-4335756c.entry.js} +2 -2
  44. package/dist/calcite/{p-927e46b7.js → p-4387c42d.js} +2 -2
  45. package/dist/calcite/{p-7b372a44.entry.js → p-43ebb0e1.entry.js} +2 -2
  46. package/dist/calcite/{p-100d6abb.entry.js → p-453def5a.entry.js} +2 -2
  47. package/dist/calcite/p-45f4e747.entry.js +6 -0
  48. package/dist/calcite/{p-392e9db8.entry.js → p-472a9167.entry.js} +2 -2
  49. package/dist/calcite/p-4918349a.js +6 -0
  50. package/dist/calcite/{p-df61af68.entry.js → p-4b8edc06.entry.js} +2 -2
  51. package/dist/calcite/{p-1550d063.js → p-4b9211fd.js} +1 -1
  52. package/dist/calcite/{p-6628066e.entry.js → p-4d8e9351.entry.js} +2 -2
  53. package/dist/calcite/{p-ed298fd1.js → p-4fbdccbf.js} +2 -2
  54. package/dist/calcite/{p-f28e2ecc.js → p-51d18db5.js} +2 -2
  55. package/dist/calcite/{p-244d1f29.entry.js → p-51fb5048.entry.js} +2 -2
  56. package/dist/calcite/{p-454b3a3a.entry.js → p-525c19b8.entry.js} +2 -2
  57. package/dist/calcite/{p-1ceee705.entry.js → p-527b2960.entry.js} +2 -2
  58. package/dist/calcite/{p-bbb74ace.js → p-53488293.js} +2 -2
  59. package/dist/calcite/{p-e1dc1d19.entry.js → p-53e84d6c.entry.js} +2 -2
  60. package/dist/calcite/{p-1de055d9.entry.js → p-5770bec1.entry.js} +2 -2
  61. package/dist/calcite/{p-a53663bc.js → p-58263b08.js} +1 -1
  62. package/dist/calcite/{p-ae02d755.js → p-5b7bb5e7.js} +2 -2
  63. package/dist/calcite/{p-4b72d1ed.js → p-617ca97e.js} +2 -2
  64. package/dist/calcite/{p-66e56e9b.entry.js → p-62d9fdbd.entry.js} +2 -2
  65. package/dist/calcite/{p-5671cec2.entry.js → p-630fe66f.entry.js} +2 -2
  66. package/dist/calcite/{p-0c62c93a.js → p-6390fe18.js} +2 -2
  67. package/dist/calcite/{p-db46880b.entry.js → p-64e3a306.entry.js} +2 -2
  68. package/dist/calcite/{p-c8628cde.js → p-674a3ba7.js} +2 -2
  69. package/dist/calcite/{p-07689794.js → p-6bf36a87.js} +2 -2
  70. package/dist/calcite/{p-08cf9014.js → p-6c697a5d.js} +2 -2
  71. package/dist/calcite/{p-1c6cf7e8.js → p-6d4dd060.js} +2 -2
  72. package/dist/calcite/{p-9bac2804.js → p-6dfbc873.js} +2 -2
  73. package/dist/calcite/{p-d73fde02.js → p-72d5c28e.js} +2 -2
  74. package/dist/calcite/{p-e51aceb3.js → p-74debf74.js} +2 -2
  75. package/dist/calcite/{p-eed23d62.js → p-774d072e.js} +2 -2
  76. package/dist/calcite/{p-128c964b.entry.js → p-7cc2f752.entry.js} +2 -2
  77. package/dist/calcite/{p-a56fe1f7.js → p-8412e551.js} +1 -1
  78. package/dist/calcite/{p-8f0f60d4.js → p-873b5d46.js} +2 -2
  79. package/dist/calcite/{p-52f813ec.entry.js → p-8968d573.entry.js} +2 -2
  80. package/dist/calcite/p-8b1d518b.js +6 -0
  81. package/dist/calcite/{p-c1848732.js → p-8ddb2ae1.js} +1 -1
  82. package/dist/calcite/{p-ef244b9a.js → p-8dfb8e55.js} +2 -2
  83. package/dist/calcite/{p-b4e69c2f.js → p-90a039f7.js} +2 -2
  84. package/dist/calcite/{p-2e1778f8.js → p-90a09339.js} +1 -1
  85. package/dist/calcite/{p-34ed2168.js → p-90ea442b.js} +2 -2
  86. package/dist/calcite/{p-fbba3d00.entry.js → p-90f8f9eb.entry.js} +2 -2
  87. package/dist/calcite/{p-bc15a8c6.js → p-95c2e9e9.js} +2 -2
  88. package/dist/calcite/{p-f175de16.js → p-9820a7b9.js} +1 -1
  89. package/dist/calcite/{p-9a4fdac7.entry.js → p-986ed455.entry.js} +2 -2
  90. package/dist/calcite/p-99e66817.entry.js +6 -0
  91. package/dist/calcite/{p-26c6bcf1.js → p-9c8d9897.js} +2 -2
  92. package/dist/calcite/{p-50624216.js → p-9e2db34b.js} +2 -2
  93. package/dist/calcite/{p-6511330e.entry.js → p-9e74fa17.entry.js} +2 -2
  94. package/dist/calcite/{p-19719f09.js → p-a4331c98.js} +2 -2
  95. package/dist/calcite/{p-1b22626a.entry.js → p-a8ab327f.entry.js} +2 -2
  96. package/dist/calcite/{p-145ee561.js → p-a8ac8484.js} +2 -2
  97. package/dist/calcite/{p-a7de4540.entry.js → p-abf81014.entry.js} +2 -2
  98. package/dist/calcite/{p-3333277a.js → p-acb7f263.js} +1 -1
  99. package/dist/calcite/{p-6ae8ae83.entry.js → p-afc01973.entry.js} +2 -2
  100. package/dist/calcite/{p-f6ccfae9.js → p-b0ecb7bf.js} +2 -2
  101. package/dist/calcite/{p-06b82d00.js → p-b1a8c6d8.js} +2 -2
  102. package/dist/calcite/{p-4ce28e86.js → p-b3df3463.js} +2 -2
  103. package/dist/calcite/{p-2f6f0f62.entry.js → p-b4e0219c.entry.js} +2 -2
  104. package/dist/calcite/{p-792eb55b.entry.js → p-b5e7e70e.entry.js} +2 -2
  105. package/dist/calcite/{p-7549eee8.js → p-b5ffaf93.js} +2 -2
  106. package/dist/calcite/{p-ce4a5db5.js → p-b76b7e5f.js} +2 -2
  107. package/dist/calcite/{p-fc6d4563.js → p-b86039b3.js} +2 -2
  108. package/dist/calcite/{p-a8d4c15a.js → p-b94484ea.js} +2 -2
  109. package/dist/calcite/{p-6eba965d.js → p-bb2a3343.js} +2 -2
  110. package/dist/calcite/{p-175f6531.js → p-bc06529d.js} +2 -2
  111. package/dist/calcite/p-bc440c4c.entry.js +6 -0
  112. package/dist/calcite/{p-984a8919.js → p-bc7e62c8.js} +2 -2
  113. package/dist/calcite/{p-54973b7f.entry.js → p-bd7f60e6.entry.js} +2 -2
  114. package/dist/calcite/{p-5515a69c.js → p-c176f46c.js} +2 -2
  115. package/dist/calcite/{p-80086780.entry.js → p-c2f3066b.entry.js} +2 -2
  116. package/dist/calcite/{p-f57f4b49.entry.js → p-c3af3f14.entry.js} +2 -2
  117. package/dist/calcite/{p-658b35b3.entry.js → p-c4ddc25e.entry.js} +2 -2
  118. package/dist/calcite/{p-c121d63d.js → p-c77494db.js} +2 -2
  119. package/dist/calcite/{p-815882f3.entry.js → p-c80fae9d.entry.js} +2 -2
  120. package/dist/calcite/{p-a787d09e.entry.js → p-c9d7ae20.entry.js} +2 -2
  121. package/dist/calcite/{p-67356414.js → p-ca21f1ff.js} +2 -2
  122. package/dist/calcite/{p-817e9691.entry.js → p-ca8d3606.entry.js} +2 -2
  123. package/dist/calcite/{p-6397975b.entry.js → p-cb39f913.entry.js} +2 -2
  124. package/dist/calcite/{p-b9d8e974.js → p-cd289192.js} +2 -2
  125. package/dist/calcite/{p-5b4ab7c1.js → p-cec72942.js} +2 -2
  126. package/dist/calcite/{p-3a4b94d4.js → p-d29af7b7.js} +2 -2
  127. package/dist/calcite/{p-fae15c43.entry.js → p-d43700c2.entry.js} +2 -2
  128. package/dist/calcite/{p-5bb5d019.entry.js → p-d737b079.entry.js} +2 -2
  129. package/dist/calcite/{p-e3479c79.js → p-d8bd8114.js} +1 -1
  130. package/dist/calcite/{p-f35fd371.js → p-da14b072.js} +2 -2
  131. package/dist/calcite/{p-f8bfdbe4.js → p-da2d526e.js} +1 -1
  132. package/dist/calcite/{p-dcdaa909.js → p-da94c02f.js} +2 -2
  133. package/dist/calcite/{p-1eb33dae.entry.js → p-db466fd6.entry.js} +2 -2
  134. package/dist/calcite/{p-bc98ae13.js → p-dcf595df.js} +1 -1
  135. package/dist/calcite/{p-64176d3c.js → p-e0ab263f.js} +2 -2
  136. package/dist/calcite/{p-428b49a8.js → p-e3040742.js} +2 -2
  137. package/dist/calcite/{p-9dbbe0f6.entry.js → p-e43c927b.entry.js} +2 -2
  138. package/dist/calcite/{p-6cc841ca.js → p-e68f9140.js} +1 -1
  139. package/dist/calcite/{p-e3aeb727.js → p-e8e9c90e.js} +2 -2
  140. package/dist/calcite/{p-565e2516.js → p-e8fa31a9.js} +2 -2
  141. package/dist/calcite/{p-d61ff31d.entry.js → p-ee15a23b.entry.js} +2 -2
  142. package/dist/calcite/{p-fda70763.js → p-f13beb85.js} +2 -2
  143. package/dist/calcite/{p-83eecff7.entry.js → p-f65a7542.entry.js} +2 -2
  144. package/dist/calcite/{p-48f9da5a.entry.js → p-f7c20d71.entry.js} +2 -2
  145. package/dist/calcite/{p-902b4f6e.js → p-f9c1832e.js} +1 -1
  146. package/dist/calcite/{p-29b2baef.js → p-f9e32c47.js} +1 -1
  147. package/dist/calcite/{p-13f08df5.entry.js → p-fb20cb05.entry.js} +2 -2
  148. package/dist/calcite/p-fbd4800b.js +6 -0
  149. package/dist/calcite/p-fc792df7.entry.js +6 -0
  150. package/dist/calcite/{p-add2d209.entry.js → p-fd019188.entry.js} +2 -2
  151. package/dist/calcite/{p-5240eb84.entry.js → p-feee48db.entry.js} +2 -2
  152. package/dist/calcite/{p-24f0918b.entry.js → p-fff104a9.entry.js} +2 -2
  153. package/dist/cjs/{ExpandToggle-a02d545e.js → ExpandToggle-d419e61e.js} +5 -5
  154. package/dist/cjs/{FloatingArrow-d01f82a5.js → FloatingArrow-6d8d4cdb.js} +2 -2
  155. package/dist/cjs/{Heading-17e5f9e8.js → Heading-a9371ff5.js} +2 -2
  156. package/dist/cjs/{app-globals-de7b2ef4.js → app-globals-175b996c.js} +2 -2
  157. package/dist/cjs/{ar-759e9322.js → ar-14977cbf.js} +16 -16
  158. package/dist/cjs/{array-ab3fe676.js → array-d6506ef5.js} +1 -1
  159. package/dist/cjs/{bg-889c3a5b.js → bg-e25651b2.js} +16 -16
  160. package/dist/cjs/{browser-e19cdff7.js → browser-66309954.js} +1 -1
  161. package/dist/cjs/{bs-42adb170.js → bs-2bb291b0.js} +16 -16
  162. package/dist/cjs/{ca-69438428.js → ca-955c2404.js} +16 -16
  163. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  164. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  165. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  166. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  167. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  168. package/dist/cjs/calcite-action.cjs.entry.js +12 -12
  169. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  170. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  171. package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
  172. package/dist/cjs/calcite-button.cjs.entry.js +14 -14
  173. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  174. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  175. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
  177. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
  178. package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -19
  179. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +29 -29
  180. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
  181. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  182. package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
  183. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
  184. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  185. package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -14
  186. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  187. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  188. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
  189. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +20 -19
  190. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  191. package/dist/cjs/calcite-input-number.cjs.entry.js +15 -15
  192. package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
  193. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-10b10082.js → calcite-input-time-picker.calcite-time-picker-f383963c.js} +60 -60
  194. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -16
  195. package/dist/cjs/calcite-input.cjs.entry.js +15 -15
  196. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  197. package/dist/cjs/calcite-link.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-list_3.cjs.entry.js +13 -13
  199. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  200. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  201. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  202. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  203. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  204. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
  205. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  206. package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
  207. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
  208. package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
  209. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  210. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  211. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
  212. package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
  213. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  214. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +10 -10
  215. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  216. package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
  217. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-stack.cjs.entry.js +5 -5
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
  220. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
  222. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
  223. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  224. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  225. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  226. package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
  227. package/dist/cjs/calcite-tree_2.cjs.entry.js +13 -49
  228. package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
  229. package/dist/cjs/calcite.cjs.js +5 -5
  230. package/dist/cjs/{composed-offset-position.esm-9d74c110.js → composed-offset-position.esm-699e15a0.js} +1 -1
  231. package/dist/cjs/{conditionalSlot-46364346.js → conditionalSlot-7b1f98cc.js} +3 -3
  232. package/dist/cjs/{cs-913f1e61.js → cs-fe2b9aa9.js} +16 -16
  233. package/dist/cjs/{da-eed634ae.js → da-0050b2b0.js} +16 -16
  234. package/dist/cjs/{de-0b8518cc.js → de-6c94f32a.js} +16 -16
  235. package/dist/cjs/{de-at-1b8ed8e8.js → de-at-c76c68c4.js} +16 -16
  236. package/dist/cjs/{de-ch-13b4bab2.js → de-ch-6f20087c.js} +16 -16
  237. package/dist/cjs/{debounce-4ea8fc9f.js → debounce-d9e346ff.js} +1 -1
  238. package/dist/cjs/{dom-172e7e6c.js → dom-56cb4723.js} +3 -3
  239. package/dist/cjs/{el-0f583dec.js → el-5499a14c.js} +16 -16
  240. package/dist/cjs/{en-au-6b0a5437.js → en-au-7877ff39.js} +16 -16
  241. package/dist/cjs/{en-ca-c50f0386.js → en-ca-e45b43bb.js} +16 -16
  242. package/dist/cjs/{en-gb-7334a92b.js → en-gb-a7c55fba.js} +16 -16
  243. package/dist/cjs/{es-989c9378.js → es-f8a69397.js} +16 -16
  244. package/dist/cjs/{es-mx-81bdfda2.js → es-mx-99754540.js} +16 -16
  245. package/dist/cjs/{et-613a8fe6.js → et-7dbd592f.js} +16 -16
  246. package/dist/cjs/{fi-377558f0.js → fi-77de949d.js} +16 -16
  247. package/dist/cjs/{filter-daf274df.js → filter-6797a4a3.js} +2 -2
  248. package/dist/cjs/{floating-ui-166e982a.js → floating-ui-fc6d18c8.js} +113 -102
  249. package/dist/cjs/{focusTrapComponent-fc83be77.js → focusTrapComponent-6e8bd2cf.js} +2 -2
  250. package/dist/cjs/{form-d71f5659.js → form-cb942742.js} +3 -3
  251. package/dist/cjs/{fr-2bebf67b.js → fr-2399770a.js} +16 -16
  252. package/dist/cjs/{fr-ch-0361effd.js → fr-ch-7da38816.js} +16 -16
  253. package/dist/cjs/{guid-e3b0f9c0.js → guid-9e1ea275.js} +1 -1
  254. package/dist/cjs/{he-2e3024b5.js → he-bab28eeb.js} +16 -16
  255. package/dist/cjs/{hi-93e7a909.js → hi-045998f7.js} +16 -16
  256. package/dist/cjs/{hr-ce281283.js → hr-c0aaaa9a.js} +16 -16
  257. package/dist/cjs/{hu-c4cb11eb.js → hu-c90e2d27.js} +16 -16
  258. package/dist/cjs/{id-0f33ccc1.js → id-9ec3d6ac.js} +16 -16
  259. package/dist/cjs/{index-76fa2411.js → index-7daec7f5.js} +1 -1
  260. package/dist/cjs/index.cjs.js +2 -2
  261. package/dist/cjs/{interactive-861e900a.js → interactive-233151c7.js} +2 -2
  262. package/dist/cjs/{it-34aeb52b.js → it-348bc76d.js} +16 -16
  263. package/dist/cjs/{it-ch-1323bd29.js → it-ch-ae4a4c91.js} +16 -16
  264. package/dist/cjs/{ja-353f2f63.js → ja-dc764220.js} +16 -16
  265. package/dist/cjs/{key-d666db2b.js → key-cf18e770.js} +1 -1
  266. package/dist/cjs/{ko-4fdbc0b2.js → ko-af6bb19e.js} +16 -16
  267. package/dist/cjs/{label-0199f47e.js → label-957ed122.js} +2 -2
  268. package/dist/cjs/{loadable-f2c974fb.js → loadable-632ad866.js} +1 -1
  269. package/dist/cjs/loader.cjs.js +5 -5
  270. package/dist/cjs/{locale-33de0a01.js → locale-ff4222b7.js} +4 -4
  271. package/dist/cjs/{lt-6d530c2b.js → lt-84c132ad.js} +16 -16
  272. package/dist/cjs/{lv-134c2e1d.js → lv-e225c9ff.js} +16 -16
  273. package/dist/cjs/{math-fe0a1def.js → math-8c40a33f.js} +1 -1
  274. package/dist/cjs/{mk-96865a6b.js → mk-52d02d02.js} +16 -16
  275. package/dist/cjs/{nb-9ad166a2.js → nb-efe27588.js} +16 -16
  276. package/dist/cjs/{nl-1e2ad0e8.js → nl-dd7cad01.js} +16 -16
  277. package/dist/cjs/{observers-9daeae07.js → observers-85d8f58b.js} +1 -1
  278. package/dist/cjs/{openCloseComponent-069372e0.js → openCloseComponent-41a560eb.js} +2 -2
  279. package/dist/cjs/{pl-08b16c3c.js → pl-675e901f.js} +16 -16
  280. package/dist/cjs/{pt-a255d0ef.js → pt-0aecaf16.js} +16 -16
  281. package/dist/cjs/{pt-br-f64f01cd.js → pt-br-c31b8f64.js} +16 -16
  282. package/dist/cjs/{resources-b16e80ae.js → resources-0e23c5e4.js} +1 -1
  283. package/dist/cjs/{resources-085f6812.js → resources-0eb26839.js} +5 -5
  284. package/dist/cjs/{resources-bd52c31c.js → resources-a9a11d1b.js} +1 -1
  285. package/dist/cjs/{resources-6439c31b.js → resources-e3f7374e.js} +1 -1
  286. package/dist/cjs/{resources-e725d8d7.js → resources-e7cb4369.js} +1 -1
  287. package/dist/cjs/{resources-ca186efb.js → resources-fac413f2.js} +1 -1
  288. package/dist/cjs/{ro-edf05b0f.js → ro-3afff2bd.js} +16 -16
  289. package/dist/cjs/{ru-a2693a5f.js → ru-61f4dfba.js} +16 -16
  290. package/dist/cjs/{sk-06b58193.js → sk-e5a9244f.js} +16 -16
  291. package/dist/cjs/{sl-9213cb1b.js → sl-9c99e5d2.js} +16 -16
  292. package/dist/cjs/{sortableComponent-cdb2eaca.js → sortableComponent-10017d2c.js} +2 -2
  293. package/dist/cjs/{sr-88f291fb.js → sr-a7edaab8.js} +16 -16
  294. package/dist/cjs/{sv-7647128b.js → sv-39b64fcb.js} +16 -16
  295. package/dist/cjs/{t9n-bdd24266.js → t9n-414df300.js} +3 -3
  296. package/dist/cjs/{th-9f7e053c.js → th-a7b672dd.js} +16 -16
  297. package/dist/cjs/{throttle-5e8e1bc3.js → throttle-30d8f24b.js} +2 -2
  298. package/dist/cjs/{tr-12055864.js → tr-5dcced80.js} +16 -16
  299. package/dist/cjs/{uk-b63f5eed.js → uk-bdc55886.js} +16 -16
  300. package/dist/cjs/{utils-6983361f.js → utils-ac1c1369.js} +3 -3
  301. package/dist/cjs/{utils-698b2a78.js → utils-dd74e9de.js} +1 -1
  302. package/dist/cjs/{vi-5ee47715.js → vi-463648db.js} +16 -16
  303. package/dist/cjs/{zh-cn-2bb0b7ba.js → zh-cn-7ed2b7c5.js} +16 -16
  304. package/dist/cjs/{zh-hk-74e7b7a8.js → zh-hk-77bb120e.js} +16 -16
  305. package/dist/cjs/{zh-tw-54d44dd1.js → zh-tw-242d4d30.js} +16 -16
  306. package/dist/collection/components/accordion/accordion.js +1 -1
  307. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  308. package/dist/collection/components/accordion-item/resources.js +1 -1
  309. package/dist/collection/components/action/action.js +1 -1
  310. package/dist/collection/components/action/resources.js +1 -1
  311. package/dist/collection/components/action-bar/action-bar.js +1 -1
  312. package/dist/collection/components/action-bar/resources.js +1 -1
  313. package/dist/collection/components/action-bar/utils.js +1 -1
  314. package/dist/collection/components/action-group/action-group.js +1 -1
  315. package/dist/collection/components/action-group/resources.js +1 -1
  316. package/dist/collection/components/action-menu/action-menu.js +1 -1
  317. package/dist/collection/components/action-menu/resources.js +1 -1
  318. package/dist/collection/components/action-pad/action-pad.js +1 -1
  319. package/dist/collection/components/action-pad/resources.js +1 -1
  320. package/dist/collection/components/alert/alert.js +1 -1
  321. package/dist/collection/components/alert/resources.js +1 -1
  322. package/dist/collection/components/avatar/avatar.js +1 -1
  323. package/dist/collection/components/avatar/utils.js +1 -1
  324. package/dist/collection/components/block/block.js +1 -1
  325. package/dist/collection/components/block/resources.js +1 -1
  326. package/dist/collection/components/block-section/block-section.js +1 -1
  327. package/dist/collection/components/block-section/resources.js +1 -1
  328. package/dist/collection/components/button/button.js +1 -1
  329. package/dist/collection/components/button/resources.js +1 -1
  330. package/dist/collection/components/card/card.js +1 -1
  331. package/dist/collection/components/card/resources.js +1 -1
  332. package/dist/collection/components/checkbox/checkbox.js +1 -1
  333. package/dist/collection/components/chip/chip.js +1 -1
  334. package/dist/collection/components/chip/resources.js +1 -1
  335. package/dist/collection/components/chip-group/chip-group.js +1 -1
  336. package/dist/collection/components/color-picker/color-picker.js +1 -1
  337. package/dist/collection/components/color-picker/resources.js +1 -1
  338. package/dist/collection/components/color-picker/utils.js +1 -1
  339. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  340. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  341. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  342. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  343. package/dist/collection/components/combobox/combobox.js +1 -1
  344. package/dist/collection/components/combobox/resources.js +1 -1
  345. package/dist/collection/components/combobox/utils.js +1 -1
  346. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  347. package/dist/collection/components/combobox-item/resources.js +1 -1
  348. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  349. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  350. package/dist/collection/components/date-picker/date-picker.js +36 -16
  351. package/dist/collection/components/date-picker/resources.js +1 -1
  352. package/dist/collection/components/date-picker/utils.js +1 -1
  353. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  354. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  355. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  356. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  357. package/dist/collection/components/dropdown/dropdown.js +1 -1
  358. package/dist/collection/components/dropdown/resources.js +1 -1
  359. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  360. package/dist/collection/components/dropdown-group/resources.js +1 -1
  361. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  362. package/dist/collection/components/dropdown-item/resources.js +1 -1
  363. package/dist/collection/components/fab/fab.js +1 -1
  364. package/dist/collection/components/fab/resources.js +1 -1
  365. package/dist/collection/components/filter/filter.js +1 -1
  366. package/dist/collection/components/filter/resources.js +1 -1
  367. package/dist/collection/components/flow/flow.js +1 -1
  368. package/dist/collection/components/flow/resources.js +1 -1
  369. package/dist/collection/components/flow-item/flow-item.js +1 -1
  370. package/dist/collection/components/flow-item/resources.js +1 -1
  371. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  372. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  373. package/dist/collection/components/functional/Heading.js +1 -1
  374. package/dist/collection/components/functional/XButton.js +1 -1
  375. package/dist/collection/components/graph/graph.js +1 -1
  376. package/dist/collection/components/graph/util.js +1 -1
  377. package/dist/collection/components/handle/handle.js +1 -1
  378. package/dist/collection/components/handle/resources.js +1 -1
  379. package/dist/collection/components/icon/icon.js +1 -1
  380. package/dist/collection/components/icon/resources.js +1 -1
  381. package/dist/collection/components/icon/utils.js +1 -1
  382. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  383. package/dist/collection/components/inline-editable/resources.js +1 -1
  384. package/dist/collection/components/input/input.js +2 -2
  385. package/dist/collection/components/input/resources.js +1 -1
  386. package/dist/collection/components/input-date-picker/input-date-picker.js +2 -1
  387. package/dist/collection/components/input-date-picker/resources.js +1 -1
  388. package/dist/collection/components/input-message/input-message.js +1 -1
  389. package/dist/collection/components/input-message/interfaces.js +1 -1
  390. package/dist/collection/components/input-number/input-number.js +2 -2
  391. package/dist/collection/components/input-number/resources.js +1 -1
  392. package/dist/collection/components/input-text/input-text.js +1 -1
  393. package/dist/collection/components/input-text/resources.js +1 -1
  394. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  395. package/dist/collection/components/input-time-picker/resources.js +1 -1
  396. package/dist/collection/components/label/label.js +1 -1
  397. package/dist/collection/components/label/resources.js +1 -1
  398. package/dist/collection/components/link/link.js +1 -1
  399. package/dist/collection/components/list/list.js +1 -1
  400. package/dist/collection/components/list/resources.js +1 -1
  401. package/dist/collection/components/list-item/list-item.js +1 -1
  402. package/dist/collection/components/list-item/resources.js +1 -1
  403. package/dist/collection/components/list-item/utils.js +1 -1
  404. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  405. package/dist/collection/components/list-item-group/resources.js +1 -1
  406. package/dist/collection/components/loader/loader.js +1 -1
  407. package/dist/collection/components/menu/menu.js +1 -1
  408. package/dist/collection/components/menu-item/menu-item.js +1 -1
  409. package/dist/collection/components/menu-item/resources.js +1 -1
  410. package/dist/collection/components/modal/modal.js +1 -1
  411. package/dist/collection/components/modal/resources.js +1 -1
  412. package/dist/collection/components/navigation/navigation.js +1 -1
  413. package/dist/collection/components/navigation/resources.js +1 -1
  414. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  415. package/dist/collection/components/navigation-logo/resources.js +1 -1
  416. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  417. package/dist/collection/components/navigation-user/resources.js +1 -1
  418. package/dist/collection/components/notice/notice.js +1 -1
  419. package/dist/collection/components/notice/resources.js +1 -1
  420. package/dist/collection/components/option/option.js +1 -1
  421. package/dist/collection/components/option-group/option-group.js +1 -1
  422. package/dist/collection/components/pagination/pagination.js +1 -1
  423. package/dist/collection/components/pagination/resources.js +1 -1
  424. package/dist/collection/components/panel/panel.js +1 -1
  425. package/dist/collection/components/panel/resources.js +1 -1
  426. package/dist/collection/components/pick-list/pick-list.js +1 -1
  427. package/dist/collection/components/pick-list/resources.js +1 -1
  428. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  429. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  430. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  431. package/dist/collection/components/pick-list-group/resources.js +1 -1
  432. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  433. package/dist/collection/components/pick-list-item/resources.js +1 -1
  434. package/dist/collection/components/popover/PopoverManager.js +1 -1
  435. package/dist/collection/components/popover/popover.js +1 -1
  436. package/dist/collection/components/popover/resources.js +1 -1
  437. package/dist/collection/components/progress/progress.js +1 -1
  438. package/dist/collection/components/radio-button/radio-button.js +1 -1
  439. package/dist/collection/components/radio-button/resources.js +1 -1
  440. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  441. package/dist/collection/components/rating/function/star.js +1 -1
  442. package/dist/collection/components/rating/rating.js +1 -1
  443. package/dist/collection/components/resources.js +1 -1
  444. package/dist/collection/components/scrim/resources.js +1 -1
  445. package/dist/collection/components/scrim/scrim.js +1 -1
  446. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  447. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  448. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  449. package/dist/collection/components/select/resources.js +1 -1
  450. package/dist/collection/components/select/select.js +1 -1
  451. package/dist/collection/components/shell/resources.js +1 -1
  452. package/dist/collection/components/shell/shell.js +1 -1
  453. package/dist/collection/components/shell-center-row/resources.js +1 -1
  454. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  455. package/dist/collection/components/shell-panel/resources.js +1 -1
  456. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  457. package/dist/collection/components/slider/resources.js +1 -1
  458. package/dist/collection/components/slider/slider.js +1 -1
  459. package/dist/collection/components/sortable-list/resources.js +1 -1
  460. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  461. package/dist/collection/components/split-button/resources.js +1 -1
  462. package/dist/collection/components/split-button/split-button.js +1 -1
  463. package/dist/collection/components/stack/resources.js +1 -1
  464. package/dist/collection/components/stack/stack.js +1 -1
  465. package/dist/collection/components/stepper/stepper.js +1 -1
  466. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  467. package/dist/collection/components/switch/switch.js +1 -1
  468. package/dist/collection/components/tab/tab.js +1 -1
  469. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  470. package/dist/collection/components/tab-title/resources.js +1 -1
  471. package/dist/collection/components/tab-title/tab-title.js +1 -1
  472. package/dist/collection/components/tabs/resources.js +1 -1
  473. package/dist/collection/components/tabs/tabs.js +1 -1
  474. package/dist/collection/components/text-area/resources.js +1 -1
  475. package/dist/collection/components/text-area/text-area.js +1 -1
  476. package/dist/collection/components/tile/resources.js +1 -1
  477. package/dist/collection/components/tile/tile.js +1 -1
  478. package/dist/collection/components/tile-select/resources.js +1 -1
  479. package/dist/collection/components/tile-select/tile-select.js +1 -1
  480. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  481. package/dist/collection/components/time-picker/resources.js +1 -1
  482. package/dist/collection/components/time-picker/time-picker.js +1 -1
  483. package/dist/collection/components/tip/resources.js +1 -1
  484. package/dist/collection/components/tip/tip.js +1 -1
  485. package/dist/collection/components/tip-group/tip-group.js +1 -1
  486. package/dist/collection/components/tip-manager/resources.js +1 -1
  487. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  488. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  489. package/dist/collection/components/tooltip/resources.js +1 -1
  490. package/dist/collection/components/tooltip/tooltip.js +1 -1
  491. package/dist/collection/components/tooltip/utils.js +1 -1
  492. package/dist/collection/components/tree/tree.js +1 -1
  493. package/dist/collection/components/tree/utils.js +1 -1
  494. package/dist/collection/components/tree-item/resources.js +1 -1
  495. package/dist/collection/components/tree-item/tree-item.css +3 -2
  496. package/dist/collection/components/tree-item/tree-item.js +4 -40
  497. package/dist/collection/components/value-list/resources.js +1 -1
  498. package/dist/collection/components/value-list/utils.js +1 -1
  499. package/dist/collection/components/value-list/value-list.js +1 -1
  500. package/dist/collection/components/value-list-item/resources.js +1 -1
  501. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  502. package/dist/collection/index.js +1 -1
  503. package/dist/collection/utils/array.js +1 -1
  504. package/dist/collection/utils/browser.js +1 -1
  505. package/dist/collection/utils/conditionalSlot.js +1 -1
  506. package/dist/collection/utils/config.js +1 -1
  507. package/dist/collection/utils/date.js +1 -1
  508. package/dist/collection/utils/dom.js +1 -1
  509. package/dist/collection/utils/filter.js +1 -1
  510. package/dist/collection/utils/floating-ui.js +110 -99
  511. package/dist/collection/utils/focusTrapComponent.js +1 -1
  512. package/dist/collection/utils/form.js +1 -1
  513. package/dist/collection/utils/globalAttributes.js +1 -1
  514. package/dist/collection/utils/globalScript.js +1 -1
  515. package/dist/collection/utils/guid.js +1 -1
  516. package/dist/collection/utils/interactive.js +1 -1
  517. package/dist/collection/utils/key.js +1 -1
  518. package/dist/collection/utils/label.js +1 -1
  519. package/dist/collection/utils/loadable.js +1 -1
  520. package/dist/collection/utils/locale.js +1 -1
  521. package/dist/collection/utils/math.js +1 -1
  522. package/dist/collection/utils/mode.js +1 -1
  523. package/dist/collection/utils/number.js +1 -1
  524. package/dist/collection/utils/observers.js +1 -1
  525. package/dist/collection/utils/openCloseComponent.js +1 -1
  526. package/dist/collection/utils/resources.js +1 -1
  527. package/dist/collection/utils/sortableComponent.js +1 -1
  528. package/dist/collection/utils/t9n.js +1 -1
  529. package/dist/collection/utils/time.js +1 -1
  530. package/dist/components/ExpandToggle.js +2 -2
  531. package/dist/components/FloatingArrow.js +2 -2
  532. package/dist/components/Heading.js +2 -2
  533. package/dist/components/action-group.js +2 -2
  534. package/dist/components/action-menu.js +2 -2
  535. package/dist/components/action.js +2 -2
  536. package/dist/components/ar.js +1 -1
  537. package/dist/components/array.js +1 -1
  538. package/dist/components/avatar.js +2 -2
  539. package/dist/components/bg.js +1 -1
  540. package/dist/components/browser.js +1 -1
  541. package/dist/components/bs.js +1 -1
  542. package/dist/components/button.js +2 -2
  543. package/dist/components/ca.js +1 -1
  544. package/dist/components/calcite-accordion-item.js +2 -2
  545. package/dist/components/calcite-accordion.js +2 -2
  546. package/dist/components/calcite-action-bar.js +4 -4
  547. package/dist/components/calcite-action-group.js +1 -1
  548. package/dist/components/calcite-action-menu.js +1 -1
  549. package/dist/components/calcite-action-pad.js +2 -2
  550. package/dist/components/calcite-action.js +1 -1
  551. package/dist/components/calcite-alert.js +2 -2
  552. package/dist/components/calcite-avatar.js +1 -1
  553. package/dist/components/calcite-block-section.js +2 -2
  554. package/dist/components/calcite-block.js +2 -2
  555. package/dist/components/calcite-button.js +1 -1
  556. package/dist/components/calcite-card.js +2 -2
  557. package/dist/components/calcite-checkbox.js +1 -1
  558. package/dist/components/calcite-chip-group.js +2 -2
  559. package/dist/components/calcite-chip.js +1 -1
  560. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  561. package/dist/components/calcite-color-picker-swatch.js +1 -1
  562. package/dist/components/calcite-color-picker.js +2 -2
  563. package/dist/components/calcite-combobox-item-group.js +2 -2
  564. package/dist/components/calcite-combobox-item.js +2 -2
  565. package/dist/components/calcite-combobox.js +3 -3
  566. package/dist/components/calcite-date-picker-day.js +1 -1
  567. package/dist/components/calcite-date-picker-month-header.js +1 -1
  568. package/dist/components/calcite-date-picker-month.js +1 -1
  569. package/dist/components/calcite-date-picker.js +1 -1
  570. package/dist/components/calcite-dropdown-group.js +2 -2
  571. package/dist/components/calcite-dropdown-item.js +2 -2
  572. package/dist/components/calcite-dropdown.js +1 -1
  573. package/dist/components/calcite-fab.js +2 -2
  574. package/dist/components/calcite-filter.js +1 -1
  575. package/dist/components/calcite-flow-item.js +2 -2
  576. package/dist/components/calcite-flow.js +2 -2
  577. package/dist/components/calcite-graph.js +1 -1
  578. package/dist/components/calcite-handle.js +1 -1
  579. package/dist/components/calcite-icon.js +1 -1
  580. package/dist/components/calcite-inline-editable.js +2 -2
  581. package/dist/components/calcite-input-date-picker.js +3 -2
  582. package/dist/components/calcite-input-message.js +2 -2
  583. package/dist/components/calcite-input-number.js +1 -1
  584. package/dist/components/calcite-input-text.js +2 -2
  585. package/dist/components/calcite-input-time-picker.js +2 -2
  586. package/dist/components/calcite-input.js +1 -1
  587. package/dist/components/calcite-label.js +1 -1
  588. package/dist/components/calcite-link.js +1 -1
  589. package/dist/components/calcite-list-item-group.js +2 -2
  590. package/dist/components/calcite-list-item.js +2 -2
  591. package/dist/components/calcite-list.js +2 -2
  592. package/dist/components/calcite-loader.js +1 -1
  593. package/dist/components/calcite-menu-item.js +2 -2
  594. package/dist/components/calcite-menu.js +1 -1
  595. package/dist/components/calcite-modal.js +2 -2
  596. package/dist/components/calcite-navigation-logo.js +2 -2
  597. package/dist/components/calcite-navigation-user.js +2 -2
  598. package/dist/components/calcite-navigation.js +2 -2
  599. package/dist/components/calcite-notice.js +2 -2
  600. package/dist/components/calcite-option-group.js +2 -2
  601. package/dist/components/calcite-option.js +2 -2
  602. package/dist/components/calcite-pagination.js +2 -2
  603. package/dist/components/calcite-panel.js +1 -1
  604. package/dist/components/calcite-pick-list-group.js +2 -2
  605. package/dist/components/calcite-pick-list-item.js +1 -1
  606. package/dist/components/calcite-pick-list.js +2 -2
  607. package/dist/components/calcite-popover.js +1 -1
  608. package/dist/components/calcite-progress.js +1 -1
  609. package/dist/components/calcite-radio-button-group.js +2 -2
  610. package/dist/components/calcite-radio-button.js +2 -2
  611. package/dist/components/calcite-rating.js +2 -2
  612. package/dist/components/calcite-scrim.js +1 -1
  613. package/dist/components/calcite-segmented-control-item.js +2 -2
  614. package/dist/components/calcite-segmented-control.js +2 -2
  615. package/dist/components/calcite-select.js +2 -2
  616. package/dist/components/calcite-shell-center-row.js +2 -2
  617. package/dist/components/calcite-shell-panel.js +2 -2
  618. package/dist/components/calcite-shell.js +2 -2
  619. package/dist/components/calcite-slider.js +2 -2
  620. package/dist/components/calcite-sortable-list.js +2 -2
  621. package/dist/components/calcite-split-button.js +2 -2
  622. package/dist/components/calcite-stack.js +2 -2
  623. package/dist/components/calcite-stepper-item.js +2 -2
  624. package/dist/components/calcite-stepper.js +2 -2
  625. package/dist/components/calcite-switch.js +1 -1
  626. package/dist/components/calcite-tab-nav.js +1 -1
  627. package/dist/components/calcite-tab-title.js +1 -1
  628. package/dist/components/calcite-tab.js +1 -1
  629. package/dist/components/calcite-tabs.js +1 -1
  630. package/dist/components/calcite-text-area.js +2 -2
  631. package/dist/components/calcite-tile-select-group.js +2 -2
  632. package/dist/components/calcite-tile-select.js +2 -2
  633. package/dist/components/calcite-tile.js +1 -1
  634. package/dist/components/calcite-time-picker.js +1 -1
  635. package/dist/components/calcite-tip-group.js +2 -2
  636. package/dist/components/calcite-tip-manager.js +2 -2
  637. package/dist/components/calcite-tip.js +2 -2
  638. package/dist/components/calcite-tooltip.js +1 -1
  639. package/dist/components/calcite-tree-item.js +6 -42
  640. package/dist/components/calcite-tree.js +2 -2
  641. package/dist/components/calcite-value-list-item.js +2 -2
  642. package/dist/components/calcite-value-list.js +2 -2
  643. package/dist/components/checkbox.js +2 -2
  644. package/dist/components/chip.js +2 -2
  645. package/dist/components/color-picker-hex-input.js +2 -2
  646. package/dist/components/color-picker-swatch.js +2 -2
  647. package/dist/components/composed-offset-position.esm.js +1 -1
  648. package/dist/components/conditionalSlot.js +2 -2
  649. package/dist/components/cs.js +1 -1
  650. package/dist/components/da.js +1 -1
  651. package/dist/components/date-picker-day.js +2 -2
  652. package/dist/components/date-picker-month-header.js +2 -2
  653. package/dist/components/date-picker-month.js +2 -2
  654. package/dist/components/date-picker.js +20 -18
  655. package/dist/components/date.js +1 -1
  656. package/dist/components/de-at.js +1 -1
  657. package/dist/components/de-ch.js +1 -1
  658. package/dist/components/de.js +1 -1
  659. package/dist/components/debounce.js +1 -1
  660. package/dist/components/dom.js +1 -1
  661. package/dist/components/dropdown.js +2 -2
  662. package/dist/components/el.js +1 -1
  663. package/dist/components/en-au.js +1 -1
  664. package/dist/components/en-ca.js +1 -1
  665. package/dist/components/en-gb.js +1 -1
  666. package/dist/components/es-mx.js +1 -1
  667. package/dist/components/es.js +1 -1
  668. package/dist/components/et.js +1 -1
  669. package/dist/components/fi.js +1 -1
  670. package/dist/components/filter.js +2 -2
  671. package/dist/components/filter2.js +1 -1
  672. package/dist/components/floating-ui.js +110 -99
  673. package/dist/components/focusTrapComponent.js +1 -1
  674. package/dist/components/form.js +2 -2
  675. package/dist/components/fr-ch.js +1 -1
  676. package/dist/components/fr.js +1 -1
  677. package/dist/components/graph.js +2 -2
  678. package/dist/components/guid.js +1 -1
  679. package/dist/components/handle.js +2 -2
  680. package/dist/components/he.js +1 -1
  681. package/dist/components/hi.js +1 -1
  682. package/dist/components/hr.js +1 -1
  683. package/dist/components/hu.js +1 -1
  684. package/dist/components/icon.js +2 -2
  685. package/dist/components/id.js +1 -1
  686. package/dist/components/index.js +2 -101
  687. package/dist/components/index2.js +1 -1
  688. package/dist/components/input-number.js +3 -3
  689. package/dist/components/input.js +3 -3
  690. package/dist/components/interactive.js +1 -1
  691. package/dist/components/it-ch.js +1 -1
  692. package/dist/components/it.js +1 -1
  693. package/dist/components/ja.js +1 -1
  694. package/dist/components/key.js +1 -1
  695. package/dist/components/ko.js +1 -1
  696. package/dist/components/label.js +2 -2
  697. package/dist/components/label2.js +1 -1
  698. package/dist/components/link.js +2 -2
  699. package/dist/components/loadable.js +1 -1
  700. package/dist/components/loader.js +2 -2
  701. package/dist/components/locale.js +1 -1
  702. package/dist/components/lt.js +1 -1
  703. package/dist/components/lv.js +1 -1
  704. package/dist/components/math.js +1 -1
  705. package/dist/components/menu.js +2 -2
  706. package/dist/components/mk.js +1 -1
  707. package/dist/components/nb.js +1 -1
  708. package/dist/components/nl.js +1 -1
  709. package/dist/components/observers.js +2 -2
  710. package/dist/components/openCloseComponent.js +2 -2
  711. package/dist/components/panel.js +2 -2
  712. package/dist/components/pick-list-item.js +2 -2
  713. package/dist/components/pl.js +1 -1
  714. package/dist/components/popover.js +2 -2
  715. package/dist/components/progress.js +2 -2
  716. package/dist/components/pt-br.js +1 -1
  717. package/dist/components/pt.js +1 -1
  718. package/dist/components/resources.js +1 -1
  719. package/dist/components/resources2.js +1 -1
  720. package/dist/components/resources3.js +1 -1
  721. package/dist/components/ro.js +1 -1
  722. package/dist/components/ru.js +1 -1
  723. package/dist/components/scrim.js +2 -2
  724. package/dist/components/shared-list-render.js +2 -2
  725. package/dist/components/sk.js +1 -1
  726. package/dist/components/sl.js +1 -1
  727. package/dist/components/sortableComponent.js +1 -1
  728. package/dist/components/sr.js +1 -1
  729. package/dist/components/sv.js +1 -1
  730. package/dist/components/switch.js +2 -2
  731. package/dist/components/t9n.js +2 -2
  732. package/dist/components/tab-nav.js +2 -2
  733. package/dist/components/tab-title.js +2 -2
  734. package/dist/components/tab.js +2 -2
  735. package/dist/components/tabs.js +2 -2
  736. package/dist/components/th.js +1 -1
  737. package/dist/components/throttle.js +1 -1
  738. package/dist/components/tile.js +2 -2
  739. package/dist/components/time-picker.js +2 -2
  740. package/dist/components/tooltip.js +2 -2
  741. package/dist/components/tr.js +1 -1
  742. package/dist/components/uk.js +1 -1
  743. package/dist/components/utils.js +1 -1
  744. package/dist/components/utils2.js +3 -3
  745. package/dist/components/utils3.js +2 -2
  746. package/dist/components/vi.js +1 -1
  747. package/dist/components/zh-cn.js +1 -1
  748. package/dist/components/zh-hk.js +1 -1
  749. package/dist/components/zh-tw.js +1 -1
  750. package/dist/esm/{ExpandToggle-b5db4e73.js → ExpandToggle-0634d06b.js} +5 -5
  751. package/dist/esm/{FloatingArrow-a2a03b2b.js → FloatingArrow-bb209bd4.js} +2 -2
  752. package/dist/esm/{Heading-308ae5e8.js → Heading-16f97d89.js} +2 -2
  753. package/dist/esm/{app-globals-b4e40fb5.js → app-globals-abd4cea8.js} +2 -2
  754. package/dist/esm/{ar-f1df113c.js → ar-7a4c0145.js} +16 -16
  755. package/dist/esm/{array-868bcad6.js → array-3bed55e6.js} +1 -1
  756. package/dist/esm/{bg-24c97057.js → bg-bd04bd42.js} +16 -16
  757. package/dist/esm/{browser-fabb40ea.js → browser-df935989.js} +1 -1
  758. package/dist/esm/{bs-d5152514.js → bs-ab594d45.js} +16 -16
  759. package/dist/esm/{ca-85ca5d97.js → ca-ada59200.js} +16 -16
  760. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  761. package/dist/esm/calcite-action-bar.entry.js +15 -15
  762. package/dist/esm/calcite-action-group.entry.js +13 -13
  763. package/dist/esm/calcite-action-menu.entry.js +9 -9
  764. package/dist/esm/calcite-action-pad.entry.js +14 -14
  765. package/dist/esm/calcite-action.entry.js +12 -12
  766. package/dist/esm/calcite-alert.entry.js +12 -12
  767. package/dist/esm/calcite-avatar.entry.js +6 -6
  768. package/dist/esm/calcite-block_2.entry.js +13 -13
  769. package/dist/esm/calcite-button.entry.js +14 -14
  770. package/dist/esm/calcite-card.entry.js +10 -10
  771. package/dist/esm/calcite-checkbox.entry.js +11 -11
  772. package/dist/esm/calcite-chip-group.entry.js +9 -9
  773. package/dist/esm/calcite-chip.entry.js +13 -13
  774. package/dist/esm/calcite-color-picker_3.entry.js +16 -16
  775. package/dist/esm/calcite-combobox_3.entry.js +19 -19
  776. package/dist/esm/calcite-date-picker_4.entry.js +29 -29
  777. package/dist/esm/calcite-dropdown_3.entry.js +13 -13
  778. package/dist/esm/calcite-fab.entry.js +8 -8
  779. package/dist/esm/calcite-filter.entry.js +14 -14
  780. package/dist/esm/calcite-flow-item.entry.js +13 -13
  781. package/dist/esm/calcite-flow.entry.js +3 -3
  782. package/dist/esm/calcite-graph_2.entry.js +14 -14
  783. package/dist/esm/calcite-handle.entry.js +10 -10
  784. package/dist/esm/calcite-icon.entry.js +6 -6
  785. package/dist/esm/calcite-inline-editable.entry.js +13 -13
  786. package/dist/esm/calcite-input-date-picker.entry.js +20 -19
  787. package/dist/esm/calcite-input-message.entry.js +5 -5
  788. package/dist/esm/calcite-input-number.entry.js +15 -15
  789. package/dist/esm/calcite-input-text.entry.js +14 -14
  790. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-16ad32d5.js → calcite-input-time-picker.calcite-time-picker-ba1fc48f.js} +60 -60
  791. package/dist/esm/calcite-input-time-picker_2.entry.js +16 -16
  792. package/dist/esm/calcite-input.entry.js +15 -15
  793. package/dist/esm/calcite-label.entry.js +6 -6
  794. package/dist/esm/calcite-link.entry.js +8 -8
  795. package/dist/esm/calcite-list_3.entry.js +13 -13
  796. package/dist/esm/calcite-loader.entry.js +3 -3
  797. package/dist/esm/calcite-menu_2.entry.js +10 -10
  798. package/dist/esm/calcite-modal.entry.js +13 -13
  799. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  800. package/dist/esm/calcite-notice.entry.js +12 -12
  801. package/dist/esm/calcite-option_3.entry.js +11 -11
  802. package/dist/esm/calcite-pagination.entry.js +10 -10
  803. package/dist/esm/calcite-panel.entry.js +15 -15
  804. package/dist/esm/calcite-pick-list_3.entry.js +17 -17
  805. package/dist/esm/calcite-popover.entry.js +17 -17
  806. package/dist/esm/calcite-progress.entry.js +2 -2
  807. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  808. package/dist/esm/calcite-radio-button.entry.js +11 -11
  809. package/dist/esm/calcite-rating.entry.js +14 -14
  810. package/dist/esm/calcite-scrim.entry.js +9 -9
  811. package/dist/esm/calcite-segmented-control_2.entry.js +10 -10
  812. package/dist/esm/calcite-shell_3.entry.js +11 -11
  813. package/dist/esm/calcite-sortable-list.entry.js +9 -9
  814. package/dist/esm/calcite-split-button.entry.js +5 -5
  815. package/dist/esm/calcite-stack.entry.js +5 -5
  816. package/dist/esm/calcite-stepper_2.entry.js +11 -11
  817. package/dist/esm/calcite-switch.entry.js +11 -11
  818. package/dist/esm/calcite-tab_4.entry.js +11 -11
  819. package/dist/esm/calcite-text-area.entry.js +16 -16
  820. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  821. package/dist/esm/calcite-tile.entry.js +9 -9
  822. package/dist/esm/calcite-tip_3.entry.js +11 -11
  823. package/dist/esm/calcite-tooltip.entry.js +10 -10
  824. package/dist/esm/calcite-tree_2.entry.js +13 -49
  825. package/dist/esm/calcite-value-list_2.entry.js +17 -17
  826. package/dist/esm/calcite.js +6 -6
  827. package/dist/esm/{composed-offset-position.esm-e1d1c8cb.js → composed-offset-position.esm-8fd9f5e8.js} +1 -1
  828. package/dist/esm/{conditionalSlot-70f9c6b9.js → conditionalSlot-d9595c56.js} +3 -3
  829. package/dist/esm/{cs-8464e57b.js → cs-56367bc5.js} +16 -16
  830. package/dist/esm/{da-d909749b.js → da-c7fd795e.js} +16 -16
  831. package/dist/esm/{de-e44ba6fa.js → de-19edcfe6.js} +16 -16
  832. package/dist/esm/{de-at-b9e1b519.js → de-at-30b8fe89.js} +16 -16
  833. package/dist/esm/{de-ch-eedcdb7c.js → de-ch-cde91103.js} +16 -16
  834. package/dist/esm/{debounce-2c05db70.js → debounce-6f28bb3a.js} +1 -1
  835. package/dist/esm/{dom-46ce50e3.js → dom-32d8fda0.js} +3 -3
  836. package/dist/esm/{el-5c207807.js → el-e649c671.js} +16 -16
  837. package/dist/esm/{en-au-4bc52435.js → en-au-41f530ef.js} +16 -16
  838. package/dist/esm/{en-ca-a3115fef.js → en-ca-330b369a.js} +16 -16
  839. package/dist/esm/{en-gb-8cdd5770.js → en-gb-58c447ad.js} +16 -16
  840. package/dist/esm/{es-d69c4843.js → es-c196bbeb.js} +16 -16
  841. package/dist/esm/{es-mx-351c2321.js → es-mx-97b79340.js} +16 -16
  842. package/dist/esm/{et-e0ec4a8f.js → et-40479997.js} +16 -16
  843. package/dist/esm/{fi-d1c0c39c.js → fi-8e3fe2c5.js} +16 -16
  844. package/dist/esm/{filter-d6dfba45.js → filter-526b9ead.js} +2 -2
  845. package/dist/esm/{floating-ui-c6caafab.js → floating-ui-46967d70.js} +113 -102
  846. package/dist/esm/{focusTrapComponent-9fdb270f.js → focusTrapComponent-9a5fc3f9.js} +2 -2
  847. package/dist/esm/{form-455904de.js → form-a9842e3a.js} +3 -3
  848. package/dist/esm/{fr-4922faa0.js → fr-441bbac9.js} +16 -16
  849. package/dist/esm/{fr-ch-ffbacbb2.js → fr-ch-ed07dec7.js} +16 -16
  850. package/dist/esm/{guid-5ee19f82.js → guid-73cdda8d.js} +1 -1
  851. package/dist/esm/{he-5d31ffcc.js → he-a3bc7e41.js} +16 -16
  852. package/dist/esm/{hi-c4da825c.js → hi-97248a52.js} +16 -16
  853. package/dist/esm/{hr-ba73a61a.js → hr-a930ab0b.js} +16 -16
  854. package/dist/esm/{hu-9fefeda2.js → hu-5d7f7f79.js} +16 -16
  855. package/dist/esm/{id-fd3d895d.js → id-ebcfcd64.js} +16 -16
  856. package/dist/esm/{index-12e4b2be.js → index-a76cd421.js} +1 -1
  857. package/dist/esm/index.js +2 -2
  858. package/dist/esm/{interactive-bfeaf984.js → interactive-f9a8de04.js} +2 -2
  859. package/dist/esm/{it-5f64b833.js → it-a8cd1fcb.js} +16 -16
  860. package/dist/esm/{it-ch-053a58f7.js → it-ch-ee2352b3.js} +16 -16
  861. package/dist/esm/{ja-5f048c53.js → ja-4d533fda.js} +16 -16
  862. package/dist/esm/{key-7d1cd3bd.js → key-c7e1a33a.js} +1 -1
  863. package/dist/esm/{ko-45f6610f.js → ko-7771bdb5.js} +16 -16
  864. package/dist/esm/{label-e9150360.js → label-56bef351.js} +2 -2
  865. package/dist/esm/{loadable-4c99c073.js → loadable-3db46c6d.js} +1 -1
  866. package/dist/esm/loader.js +6 -6
  867. package/dist/esm/{locale-5245ba39.js → locale-92c3ec22.js} +4 -4
  868. package/dist/esm/{lt-1a912a37.js → lt-1b1c9f0d.js} +16 -16
  869. package/dist/esm/{lv-931af546.js → lv-bb38b175.js} +16 -16
  870. package/dist/esm/{math-114e4229.js → math-61a37c59.js} +1 -1
  871. package/dist/esm/{mk-a5ee1808.js → mk-1a74b31c.js} +16 -16
  872. package/dist/esm/{nb-086209bf.js → nb-999751e3.js} +16 -16
  873. package/dist/esm/{nl-ccdeee01.js → nl-57a4bacb.js} +16 -16
  874. package/dist/esm/{observers-291157a3.js → observers-b01bb06e.js} +1 -1
  875. package/dist/esm/{openCloseComponent-8158490f.js → openCloseComponent-e8229bea.js} +2 -2
  876. package/dist/esm/{pl-7f98799f.js → pl-3bb69f36.js} +16 -16
  877. package/dist/esm/{pt-8179bcd1.js → pt-3daacbcd.js} +16 -16
  878. package/dist/esm/{pt-br-2427ac92.js → pt-br-4f02c654.js} +16 -16
  879. package/dist/esm/{resources-dcff07fa.js → resources-0d5f5a6d.js} +1 -1
  880. package/dist/esm/{resources-62418c43.js → resources-3ec3f2b6.js} +1 -1
  881. package/dist/esm/{resources-b1020247.js → resources-6d0339b1.js} +5 -5
  882. package/dist/esm/{resources-4248ce57.js → resources-a6174b0b.js} +1 -1
  883. package/dist/esm/{resources-05cee1a1.js → resources-a69b80ea.js} +1 -1
  884. package/dist/esm/{resources-c8b43840.js → resources-fb6d719c.js} +1 -1
  885. package/dist/esm/{ro-2129b78e.js → ro-e8975e28.js} +16 -16
  886. package/dist/esm/{ru-54c8154a.js → ru-aedd07ed.js} +16 -16
  887. package/dist/esm/{sk-678a3b80.js → sk-e4390307.js} +16 -16
  888. package/dist/esm/{sl-586eff47.js → sl-0c46eeab.js} +16 -16
  889. package/dist/esm/{sortableComponent-f2f72558.js → sortableComponent-4ec779c7.js} +2 -2
  890. package/dist/esm/{sr-536dd9f0.js → sr-e37c77b4.js} +16 -16
  891. package/dist/esm/{sv-84df6ac5.js → sv-e5e49409.js} +16 -16
  892. package/dist/esm/{t9n-9f99cef7.js → t9n-fb7161f1.js} +3 -3
  893. package/dist/esm/{th-d45eca68.js → th-003afb63.js} +16 -16
  894. package/dist/esm/{throttle-38e2717c.js → throttle-b4a77f45.js} +2 -2
  895. package/dist/esm/{tr-0ca52564.js → tr-c6aa71bd.js} +16 -16
  896. package/dist/esm/{uk-3470243e.js → uk-c78eb617.js} +16 -16
  897. package/dist/esm/{utils-83780950.js → utils-1dd96741.js} +3 -3
  898. package/dist/esm/{utils-90291fdc.js → utils-cda850b4.js} +1 -1
  899. package/dist/esm/{vi-971040f2.js → vi-b886c04c.js} +16 -16
  900. package/dist/esm/{zh-cn-7b676a1a.js → zh-cn-a83c7d85.js} +16 -16
  901. package/dist/esm/{zh-hk-2cf7e141.js → zh-hk-6560b6a9.js} +16 -16
  902. package/dist/esm/{zh-tw-119b9d0f.js → zh-tw-7f50b3f6.js} +16 -16
  903. package/dist/extras/docs-json.d.ts +148 -0
  904. package/dist/extras/docs-json.json +25227 -0
  905. package/dist/extras/translations-json.json +1 -0
  906. package/dist/extras/vscode-data.json +6728 -0
  907. package/dist/loader/cdn.js +1 -1
  908. package/dist/loader/index.cjs.js +1 -1
  909. package/dist/loader/index.es2017.js +1 -1
  910. package/dist/loader/index.js +1 -1
  911. package/dist/types/components/date-picker/date-picker.d.ts +6 -4
  912. package/dist/types/components/tree-item/tree-item.d.ts +2 -26
  913. package/dist/types/components.d.ts +4 -0
  914. package/dist/types/preact.d.ts +445 -0
  915. package/dist/types/utils/floating-ui.d.ts +50 -51
  916. package/hydrate/index.js +134 -155
  917. package/package.json +5 -3
  918. package/readme.md +2 -2
  919. package/dist/calcite/p-386f62e0.js +0 -6
  920. package/dist/calcite/p-536af17f.entry.js +0 -6
  921. package/dist/calcite/p-6e162845.js +0 -6
  922. package/dist/calcite/p-71dd3346.entry.js +0 -6
  923. package/dist/calcite/p-7824761f.entry.js +0 -6
  924. package/dist/calcite/p-97d31eac.js +0 -6
  925. package/dist/calcite/p-ca97c1d9.entry.js +0 -6
  926. package/dist/calcite/p-d93d1322.entry.js +0 -6
  927. package/dist/calcite/p-da0621da.entry.js +0 -6
  928. package/dist/calcite/p-dc56d76a.entry.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.5.0-next.3
4
+ * v1.5.0-next.6
5
5
  */
6
- import{r as t,c as i,h as e,H as n,a as s}from"./p-902b4f6e.js";import{s as a,c as r,d as o,H as c}from"./p-f6ccfae9.js";import{g as h}from"./p-29b2baef.js";import{c as u,d as l,u as d}from"./p-6e162845.js";import{n as m,i as p}from"./p-3333277a.js";import{c as f,d as v,g as b}from"./p-67356414.js";import{c as g,s as y,a as w}from"./p-a56fe1f7.js";import{b as k,i as M,e as D,n as S,g as x,c as Y,d as L}from"./p-8c5ad359.js";import{d as j,a as A,c as I}from"./p-c121d63d.js";import{c as _,s as H,d as z,u as $}from"./p-428b49a8.js";function T(t,i,e=!0){const n={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:D(i)};return e&&(n.second="2-digit"),k(t,n)}function C(t){const i=t.toString();return t>=0&&t<=9?i.padStart(2,"0"):i}function P(t){if(!W(t))return null;const[i,e,n]=t.split(":"),s=C(parseInt(i)),a=C(parseInt(e));return n?`${s}:${a}:${C(parseInt(n))}`:`${s}:${a}`}function F(t,i){if(!t||!i)return null;if("hourSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"hour"===t))),e=i.indexOf(i.find((({type:t})=>"minute"===t))),n=i[t+1];return n&&"literal"===n.type&&e-t==2&&n.value?.trim()||null}if("minuteSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"minute"===t))),e=i.indexOf(i.find((({type:t})=>"second"===t))),n=i[t+1];return n&&"literal"===n.type&&e-t==2&&n.value?.trim()||null}if("secondSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"second"===t))),e=i[t+1];return e&&"literal"===e.type&&e.value?.trim()||null}return i.find((({type:i})=>"meridiem"==t?"dayPeriod"===i:i===t))?.value||null}function W(t){if(!t||t.startsWith(":")||t.endsWith(":"))return!1;const i=t.split(":");if(!(i.length>1&&i.length<4))return!1;const[e,n,s]=i,a=parseInt(i[0]),r=parseInt(i[1]),o=parseInt(i[2]),c=M(e)&&a>=0&&a<24,h=M(n)&&r>=0&&r<60,u=M(s)&&o>=0&&o<60;return!!(c&&h&&!s||c&&h&&u)||void 0}function O({value:t,part:i,locale:e,numberingSystem:n}){if(!function(t,i){if("meridiem"===i)return"AM"===t||"PM"===t;if(!M(t))return!1;const e=Number(t);return"hour"===i?e>=0&&e<24:e>=0&&e<60}(t,i))return;const s=parseInt(t),a=new Date(Date.UTC(0,0,0,"hour"===i?s:"meridiem"===i?"AM"===t?0:12:0,"minute"===i?s:0,"second"===i?s:0));return a?F(i,T(e,n).formatToParts(a)):void 0}function K({value:t,locale:i,numberingSystem:e,includeSeconds:n=!0}){if(!W(t))return null;const{hour:s,minute:a,second:r="0"}=R(t),o=new Date(Date.UTC(0,0,0,parseInt(s),parseInt(a),parseInt(r)));return T(i,e,n)?.format(o)||null}function Z({value:t,locale:i,numberingSystem:e}){if(!W(t))return null;const{hour:n,minute:s,second:a="0"}=R(t),r=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(s),parseInt(a)));if(r){const t=T(i,e).formatToParts(r);return{localizedHour:F("hour",t),localizedHourSuffix:F("hourSuffix",t),localizedMinute:F("minute",t),localizedMinuteSuffix:F("minuteSuffix",t),localizedSecond:F("second",t),localizedSecondSuffix:F("secondSuffix",t),localizedMeridiem:F("meridiem",t)}}return null}function U({value:t,locale:i,numberingSystem:e}){if(!W(t))return null;const{hour:n,minute:s,second:a="0"}=R(t),r=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(s),parseInt(a)));return r?T(i,e).formatToParts(r):null}function R(t){if(W(t)){const[i,e,n]=t.split(":");return{hour:i,minute:e,second:n}}return{hour:null,minute:null,second:null}}function B(t,i=!0){if(!W(t))return"";const{hour:e,minute:n,second:s}=R(t);let a=`${C(parseInt(e))}:${C(parseInt(n))}`;return i&&(a+=`:${C(parseInt(i&&s||"0"))}`),a}var E=6e4,N=36e5,J="millisecond",X="second",q="minute",G="hour",Q="day",V="week",tt="month",it="quarter",et="year",nt="date",st="YYYY-MM-DDTHH:mm:ssZ",at="Invalid Date",rt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ot=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const ct={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var i=["th","st","nd","rd"],e=t%100;return"["+t+(i[(e-20)%10]||i[e]||i[0])+"]"}},ht=Object.freeze({__proto__:null,default:ct});var ut=function(t,i,e){var n=String(t);return!n||n.length>=i?t:""+Array(i+1-n.length).join(e)+t};const lt={s:ut,z:function(t){var i=-t.utcOffset(),e=Math.abs(i),n=Math.floor(e/60),s=e%60;return(i<=0?"+":"-")+ut(n,2,"0")+":"+ut(s,2,"0")},m:function t(i,e){if(i.date()<e.date())return-t(e,i);var n=12*(e.year()-i.year())+(e.month()-i.month()),s=i.clone().add(n,tt),a=e-s<0,r=i.clone().add(n+(a?-1:1),tt);return+(-(n+(e-s)/(a?s-r:r-s))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:tt,y:et,w:V,d:Q,D:nt,h:G,m:q,s:X,ms:J,Q:it}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};var dt="en",mt={};mt[dt]=ct;var pt=function(t){return t instanceof gt},ft=function t(i,e,n){var s;if(!i)return dt;if("string"==typeof i){var a=i.toLowerCase();mt[a]&&(s=a),e&&(mt[a]=e,s=a);var r=i.split("-");if(!s&&r.length>1)return t(r[0])}else{var o=i.name;mt[o]=i,s=o}return!n&&s&&(dt=s),s||!n&&dt},vt=function(t,i){if(pt(t))return t.clone();var e="object"==typeof i?i:{};return e.date=t,e.args=arguments,new gt(e)},bt=lt;bt.l=ft,bt.i=pt,bt.w=function(t,i){return vt(t,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var gt=function(){function t(t){this.$L=ft(t.locale,null,!0),this.parse(t)}var i=t.prototype;return i.parse=function(t){this.$d=function(t){var i=t.date,e=t.utc;if(null===i)return new Date(NaN);if(bt.u(i))return new Date;if(i instanceof Date)return new Date(i);if("string"==typeof i&&!/Z$/i.test(i)){var n=i.match(rt);if(n){var s=n[2]-1||0,a=(n[7]||"0").substring(0,3);return e?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(i)}(t),this.$x=t.x||{},this.init()},i.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},i.$utils=function(){return bt},i.isValid=function(){return!(this.$d.toString()===at)},i.isSame=function(t,i){var e=vt(t);return this.startOf(i)<=e&&e<=this.endOf(i)},i.isAfter=function(t,i){return vt(t)<this.startOf(i)},i.isBefore=function(t,i){return this.endOf(i)<vt(t)},i.$g=function(t,i,e){return bt.u(t)?this[i]:this.set(e,t)},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this.$d.getTime()},i.startOf=function(t,i){var e=this,n=!!bt.u(i)||i,s=bt.p(t),a=function(t,i){var s=bt.w(e.$u?Date.UTC(e.$y,i,t):new Date(e.$y,i,t),e);return n?s:s.endOf(Q)},r=function(t,i){return bt.w(e.toDate()[t].apply(e.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(i)),e)},o=this.$W,c=this.$M,h=this.$D,u="set"+(this.$u?"UTC":"");switch(s){case et:return n?a(1,0):a(31,11);case tt:return n?a(1,c):a(0,c+1);case V:var l=this.$locale().weekStart||0,d=(o<l?o+7:o)-l;return a(n?h-d:h+(6-d),c);case Q:case nt:return r(u+"Hours",0);case G:return r(u+"Minutes",1);case q:return r(u+"Seconds",2);case X:return r(u+"Milliseconds",3);default:return this.clone()}},i.endOf=function(t){return this.startOf(t,!1)},i.$set=function(t,i){var e,n=bt.p(t),s="set"+(this.$u?"UTC":""),a=(e={},e[Q]=s+"Date",e[nt]=s+"Date",e[tt]=s+"Month",e[et]=s+"FullYear",e[G]=s+"Hours",e[q]=s+"Minutes",e[X]=s+"Seconds",e[J]=s+"Milliseconds",e)[n],r=n===Q?this.$D+(i-this.$W):i;if(n===tt||n===et){var o=this.clone().set(nt,1);o.$d[a](r),o.init(),this.$d=o.set(nt,Math.min(this.$D,o.daysInMonth())).$d}else a&&this.$d[a](r);return this.init(),this},i.set=function(t,i){return this.clone().$set(t,i)},i.get=function(t){return this[bt.p(t)]()},i.add=function(t,i){var e,n=this;t=Number(t);var s=bt.p(i),a=function(i){var e=vt(n);return bt.w(e.date(e.date()+Math.round(i*t)),n)};if(s===tt)return this.set(tt,this.$M+t);if(s===et)return this.set(et,this.$y+t);if(s===Q)return a(1);if(s===V)return a(7);var r=(e={},e[q]=E,e[G]=N,e[X]=1e3,e)[s]||1,o=this.$d.getTime()+t*r;return bt.w(o,this)},i.subtract=function(t,i){return this.add(-1*t,i)},i.format=function(t){var i=this,e=this.$locale();if(!this.isValid())return e.invalidDate||at;var n=t||st,s=bt.z(this),a=this.$H,r=this.$m,o=this.$M,c=e.weekdays,h=e.months,u=function(t,e,s,a){return t&&(t[e]||t(i,n))||s[e].slice(0,a)},l=function(t){return bt.s(a%12||12,t,"0")},d=e.meridiem||function(t,i,e){var n=t<12?"AM":"PM";return e?n.toLowerCase():n},m={YY:String(this.$y).slice(-2),YYYY:bt.s(this.$y,4,"0"),M:o+1,MM:bt.s(o+1,2,"0"),MMM:u(e.monthsShort,o,h,3),MMMM:u(h,o),D:this.$D,DD:bt.s(this.$D,2,"0"),d:String(this.$W),dd:u(e.weekdaysMin,this.$W,c,2),ddd:u(e.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(a),HH:bt.s(a,2,"0"),h:l(1),hh:l(2),a:d(a,r,!0),A:d(a,r,!1),m:String(r),mm:bt.s(r,2,"0"),s:String(this.$s),ss:bt.s(this.$s,2,"0"),SSS:bt.s(this.$ms,3,"0"),Z:s};return n.replace(ot,(function(t,i){return i||m[t]||s.replace(":","")}))},i.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},i.diff=function(t,i,e){var n,s=bt.p(i),a=vt(t),r=(a.utcOffset()-this.utcOffset())*E,o=this-a,c=bt.m(this,a);return c=(n={},n[et]=c/12,n[tt]=c,n[it]=c/3,n[V]=(o-r)/6048e5,n[Q]=(o-r)/864e5,n[G]=o/N,n[q]=o/E,n[X]=o/1e3,n)[s]||o,e?c:bt.a(c)},i.daysInMonth=function(){return this.endOf(tt).$D},i.$locale=function(){return mt[this.$L]},i.locale=function(t,i){if(!t)return this.$L;var e=this.clone(),n=ft(t,i,!0);return n&&(e.$L=n),e},i.clone=function(){return bt.w(this.$d,this)},i.toDate=function(){return new Date(this.valueOf())},i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toISOString=function(){return this.$d.toISOString()},i.toString=function(){return this.$d.toUTCString()},t}(),yt=gt.prototype;vt.prototype=yt,[["$ms",J],["$s",X],["$m",q],["$H",G],["$W",Q],["$M",tt],["$y",et],["$D",nt]].forEach((function(t){yt[t[1]]=function(i){return this.$g(i,t[0],t[1])}})),vt.extend=function(t,i){return t.$i||(t(i,gt,vt),t.$i=!0),vt},vt.locale=ft,vt.isDayjs=pt,vt.unix=function(t){return vt(1e3*t)},vt.en=mt[dt],vt.Ls=mt,vt.p={};var wt=function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,i,e){return i||e.slice(1)}))},kt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Mt=function(t,i){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,e,n){var s=n&&n.toUpperCase();return e||i[n]||kt[n]||wt(i[s])}))},Dt=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,St=/\d\d/,xt=/\d\d?/,Yt=/\d*[^-_:/,()\s\d]+/,Lt={},jt=function(t){return(t=+t)+(t>68?1900:2e3)},At=function(t){return function(i){this[t]=+i}},It=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var i=t.match(/([+-]|\d\d)/g),e=60*i[1]+(+i[2]||0);return 0===e?0:"+"===i[0]?-e:e}(t)}],_t=function(t){var i=Lt[t];return i&&(i.indexOf?i:i.s.concat(i.f))},Ht=function(t,i){var e,n=Lt.meridiem;if(n){for(var s=1;s<=24;s+=1)if(t.indexOf(n(s,0,i))>-1){e=s>12;break}}else e=t===(i?"pm":"PM");return e},zt={A:[Yt,function(t){this.afternoon=Ht(t,!1)}],a:[Yt,function(t){this.afternoon=Ht(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[St,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[xt,At("seconds")],ss:[xt,At("seconds")],m:[xt,At("minutes")],mm:[xt,At("minutes")],H:[xt,At("hours")],h:[xt,At("hours")],HH:[xt,At("hours")],hh:[xt,At("hours")],D:[xt,At("day")],DD:[St,At("day")],Do:[Yt,function(t){var i=Lt.ordinal,e=t.match(/\d+/);if(this.day=e[0],i)for(var n=1;n<=31;n+=1)i(n).replace(/\[|\]/g,"")===t&&(this.day=n)}],M:[xt,At("month")],MM:[St,At("month")],MMM:[Yt,function(t){var i=_t("months"),e=(_t("monthsShort")||i.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],MMMM:[Yt,function(t){var i=_t("months").indexOf(t)+1;if(i<1)throw new Error;this.month=i%12||i}],Y:[/[+-]?\d+/,At("year")],YY:[St,function(t){this.year=jt(t)}],YYYY:[/\d{4}/,At("year")],Z:It,ZZ:It};const $t=new Map([["ar",()=>import("./p-0c62c93a.js")],["bg",()=>import("./p-d94ce01e.js")],["bs",()=>import("./p-565e2516.js")],["ca",()=>import("./p-08cf9014.js")],["cs",()=>import("./p-7549eee8.js")],["da",()=>import("./p-19719f09.js")],["de",()=>import("./p-dcdaa909.js")],["de-at",()=>import("./p-8f0f60d4.js")],["de-ch",()=>import("./p-927e46b7.js")],["el",()=>import("./p-06b82d00.js")],["en",()=>Promise.resolve().then((function(){return ht}))],["en-au",()=>import("./p-6eba965d.js")],["en-ca",()=>import("./p-145ee561.js")],["en-gb",()=>import("./p-10fea07e.js")],["es",()=>import("./p-07689794.js")],["es-mx",()=>import("./p-171f9573.js")],["et",()=>import("./p-bbb74ace.js")],["fi",()=>import("./p-e51aceb3.js")],["fr",()=>import("./p-64176d3c.js")],["fr-ch",()=>import("./p-fc6d4563.js")],["he",()=>import("./p-ef244b9a.js")],["hi",()=>import("./p-bc15a8c6.js")],["hr",()=>import("./p-984a8919.js")],["hu",()=>import("./p-5671ae2e.js")],["id",()=>import("./p-b8bed9ad.js")],["it",()=>import("./p-ed298fd1.js")],["it-ch",()=>import("./p-e3aeb727.js")],["ja",()=>import("./p-63242d07.js")],["ko",()=>import("./p-b696940c.js")],["lt",()=>import("./p-b9d8e974.js")],["lv",()=>import("./p-aad7ec0d.js")],["mk",()=>import("./p-f28e2ecc.js")],["nl",()=>import("./p-fda70763.js")],["nb",()=>import("./p-5b4ab7c1.js")],["pl",()=>import("./p-ae02d755.js")],["pt",()=>import("./p-1c6cf7e8.js")],["pt-br",()=>import("./p-175f6531.js")],["ro",()=>import("./p-26c6bcf1.js")],["ru",()=>import("./p-b4e69c2f.js")],["sk",()=>import("./p-819d8358.js")],["sl",()=>import("./p-c98932ac.js")],["sr",()=>import("./p-34ed2168.js")],["sv",()=>import("./p-4ce28e86.js")],["th",()=>import("./p-a9ac5c35.js")],["tr",()=>import("./p-eed23d62.js")],["uk",()=>import("./p-9bac2804.js")],["vi",()=>import("./p-d73fde02.js")],["zh-cn",()=>import("./p-6a81490e.js")],["zh-hk",()=>import("./p-4b72d1ed.js")],["zh-tw",()=>import("./p-4230e6c9.js")]]);vt.extend((function(t,i,e){e.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(jt=t.parseTwoDigitYear);var n=i.prototype,s=n.parse;n.parse=function(t){var i=t.date,n=t.utc,a=t.args;this.$u=n;var r=a[1];if("string"==typeof r){var o=!0===a[2],c=!0===a[3],h=o||c,u=a[2];c&&(u=a[2]),Lt=this.$locale(),!o&&u&&(Lt=e.Ls[u]),this.$d=function(t,i,e){try{if(["x","X"].indexOf(i)>-1)return new Date(("X"===i?1e3:1)*t);var n=function(t){for(var i=(t=Mt(t,Lt&&Lt.formats)).match(Dt),e=i.length,n=0;n<e;n+=1){var s=i[n],a=zt[s],r=a&&a[1];i[n]=r?{regex:a&&a[0],parser:r}:s.replace(/^\[|\]$/g,"")}return function(t){for(var n={},s=0,a=0;s<e;s+=1){var r=i[s];if("string"==typeof r)a+=r.length;else{var o=r.regex,c=r.parser,h=t.slice(a),u=o.exec(h)[0];c.call(n,u),t=t.replace(u,"")}}return function(t){var i=t.afternoon;if(void 0!==i){var e=t.hours;i?e<12&&(t.hours+=12):12===e&&(t.hours=0),delete t.afternoon}}(n),n}}(i),s=n(t),a=s.year,r=s.month,o=s.day,c=s.hours,h=s.minutes,u=s.seconds,l=s.milliseconds,d=s.zone,m=new Date,p=o||(a||r?1:m.getDate()),f=a||m.getFullYear(),v=0;a&&!r||(v=r>0?r-1:m.getMonth());var b=c||0,g=h||0,y=u||0,w=l||0;return d?new Date(Date.UTC(f,v,p,b,g,y,w+60*d.offset*1e3)):e?new Date(Date.UTC(f,v,p,b,g,y,w)):new Date(f,v,p,b,g,y,w)}catch(t){return new Date("")}}(i,r,n),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),h&&i!=this.format(r)&&(this.$d=new Date("")),Lt={}}else if(r instanceof Array)for(var l=r.length,d=1;d<=l;d+=1){a[1]=r[d-1];var m=e.apply(this,a);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}d===l&&(this.$d=new Date(""))}else s.call(this,t)}})),vt.extend((function(t,i,e){var n=function(t){return t&&(t.indexOf?t:t.s)},s=function(t,i,e,s,a){var r=t.name?t:t.$locale(),o=n(r[i]),c=n(r[e]),h=o||c.map((function(t){return t.slice(0,s)}));if(!a)return h;var u=r.weekStart;return h.map((function(t,i){return h[(i+(u||0))%7]}))},a=function(){return e.Ls[e.locale()]},r=function(t,i){return t.formats[i]||wt(t.formats[i.toUpperCase()])},o=function(){var t=this;return{months:function(i){return i?i.format("MMMM"):s(t,"months")},monthsShort:function(i){return i?i.format("MMM"):s(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(i){return i?i.format("dddd"):s(t,"weekdays")},weekdaysMin:function(i){return i?i.format("dd"):s(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(i){return i?i.format("ddd"):s(t,"weekdaysShort","weekdays",3)},longDateFormat:function(i){return r(t.$locale(),i)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.prototype.localeData=function(){return o.bind(this)()},e.localeData=function(){var t=a();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return e.weekdays()},weekdaysShort:function(){return e.weekdaysShort()},weekdaysMin:function(){return e.weekdaysMin()},months:function(){return e.months()},monthsShort:function(){return e.monthsShort()},longDateFormat:function(i){return r(t,i)},meridiem:t.meridiem,ordinal:t.ordinal}},e.months=function(){return s(a(),"months")},e.monthsShort=function(){return s(a(),"monthsShort","months",3)},e.weekdays=function(t){return s(a(),"weekdays",null,null,t)},e.weekdaysShort=function(t){return s(a(),"weekdaysShort","weekdays",3,t)},e.weekdaysMin=function(t){return s(a(),"weekdaysMin","weekdays",2,t)}})),vt.extend((function(t,i,e){var n=i.prototype,s=n.format;e.en.formats=kt,n.format=function(t){void 0===t&&(t=st);var i=this.$locale().formats,e=Mt(t,void 0===i?{}:i);return s.call(this,e)}})),vt.extend((function(t,i){var e=i.prototype.parse;i.prototype.parse=function(t){if("string"==typeof t.date){var i=this.$locale();t.date=i&&i.preparse?i.preparse(t.date):t.date}return e.bind(this)(t)};var n=i.prototype.format;i.prototype.format=function(){for(var t=arguments.length,i=new Array(t),e=0;e<t;e++)i[e]=arguments[e];var s=n.call.apply(n,[this].concat(i)),a=this.$locale();return a&&a.postformat?a.postformat(s):s};var s=i.prototype.fromToBase;s&&(i.prototype.fromToBase=function(t,i,e,n){var a=this.$locale()||e.$locale();return s.call(this,t,i,e,n,a&&a.postformat)})})),vt.extend((function(t,i,e){e.updateLocale=function(t,i){var n=e.Ls[t];if(n)return(i?Object.keys(i):[]).forEach((function(t){n[t]=i[t]})),n}}));const Tt=class{constructor(e){t(this,e),this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7),this.focusOnOpen=!1,this.dialogId=`time-picker-dialog--${h()}`,this.userChangedValue=!1,this.referenceElementId=`input-time-picker-${h()}`,this.hostBlurHandler=()=>{const t=this.calciteInputEl.value,i=this.delocalizeTimeString(t);if(!i)return void this.setValue("");i!==this.value&&this.setValue(i);const e=K({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});e!==t&&this.setInputValue(e),this.deactivate()},this.calciteInternalInputFocusHandler=t=>{this.readOnly||t.stopPropagation()},this.calciteInternalInputInputHandler=t=>{const{effectiveLocale:i,numberingSystem:e}=this;if(e&&"latn"!==e){const n=t.target;S.numberFormatOptions={locale:i,numberingSystem:e,useGrouping:!1};const s=S.delocalize(n.value).split("").map((t=>m.includes(t)?S.numberFormatter.format(Number(t)):t)).join("");this.setInputValue(s)}},this.timePickerChangeHandler=t=>{t.stopPropagation();const i=t.target.value,e=this.shouldIncludeSeconds();this.setValue(B(i,e)),this.setInputValue(K({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:e}))},this.popoverCloseHandler=()=>{j(this,{onDeactivate:()=>{this.calciteInputEl.setFocus(),this.focusOnOpen=!1}})},this.popoverOpenHandler=()=>{A(this,{onActivate:()=>{this.focusOnOpen&&(this.calciteTimePickerEl.setFocus(),this.focusOnOpen=!1)}})},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;if(!i)if("Enter"===e){if(a(this)&&(t.preventDefault(),this.calciteInputEl.setFocus()),t.composedPath().includes(this.calciteTimePickerEl))return;const i=this.delocalizeTimeString(this.calciteInputEl.value);this.setValue(i);const e=K({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});i&&this.calciteInputEl.value!==e&&this.setInputValue(e)}else"ArrowDown"===e?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===e&&this.open&&(this.open=!1,t.preventDefault(),this.calciteInputEl.setFocus())},this.setCalcitePopoverEl=t=>{this.popoverEl=t},this.setCalciteInputEl=t=>{this.calciteInputEl=t},this.setCalciteTimePickerEl=t=>{this.calciteTimePickerEl=t,I(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.setInputValue=t=>{this.calciteInputEl&&(this.calciteInputEl.value=t)},this.setValue=t=>{const i=this.value,e=P(t)||"";e!==i&&(this.userChangedValue=!0,this.value=e||"",this.calciteInputTimePickerChange.emit().defaultPrevented&&(this.userChangedValue=!1,this.value=i,this.setInputValue(K({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))))},this.setValueDirectly=t=>{const i=this.shouldIncludeSeconds();this.value=B(t,i),this.setInputValue(this.value?K({value:this.value,includeSeconds:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem}):"")},this.onInputWrapperClick=()=>{this.open=!this.open},this.deactivate=()=>{this.open=!1},this.open=!1,this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.messageOverrides=void 0,this.messages=void 0,this.name=void 0,this.numberingSystem=void 0,this.required=!1,this.scale="m",this.overlayPositioning="absolute",this.placement="auto",this.step=60,this.value=null,this.defaultMessages=void 0,this.effectiveLocale=""}openHandler(t){this.disabled||this.readOnly?this.open=!1:t&&this.reposition(!0)}handleFocusTrapDisabled(t){this.open&&(t?j(this):A(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}onMessagesChange(){}numberingSystemWatcher(t){this.setInputValue(K({value:this.value,locale:this.effectiveLocale,numberingSystem:t,includeSeconds:this.shouldIncludeSeconds()}))}stepWatcher(t,i){(i>=60&&t>0&&t<60||t>=60&&i>0&&i<60)&&this.setValueDirectly(this.value)}valueWatcher(t){this.userChangedValue||this.setValueDirectly(t),this.userChangedValue=!1}async effectiveLocaleWatcher(t){await this.loadDateTimeLocaleData(),this.setInputValue(K({value:this.value,locale:t,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}async setFocus(){await g(this),this.el.focus()}async reposition(t=!1){this.popoverEl?.reposition(t)}delocalizeTimeString(t){vt.locale(this.effectiveLocale.toLowerCase());const i=vt(t,["LTS","LT"]);if(i.isValid()){let t=`${i.get("hour")}:${i.get("minute")}`;return this.shouldIncludeSeconds()&&(t+=`:${i.get("seconds")||0}`),P(t)||""}return""}async loadDateTimeLocaleData(){let t=x(this.effectiveLocale).toLowerCase();"no"===t&&(t="nb"),"pt-pt"===t&&(t="pt");const{default:i}=await $t.get(t)();vt.locale(i,null,!0),vt.updateLocale(t,this.getExtendedLocaleConfig(t))}getExtendedLocaleConfig(t){return"ar"===t?{meridiem:t=>t>12?"م":"ص",formats:{LT:"HH:mm A",LTS:"HH:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm A",LLLL:"dddd D MMMM YYYY HH:mm A"}}:"en-au"===t?{meridiem:t=>t>12?"pm":"am"}:"en-ca"===t?{meridiem:t=>t>12?"p.m.":"a.m."}:"el"===t?{meridiem:t=>t>12?"μ.μ.":"π.μ."}:"hi"===t?{formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, h:mm A",LLLL:"dddd, D MMMM YYYY, h:mm A"},meridiem:t=>t>12?"pm":"am"}:"ko"===t?{meridiem:t=>t>12?"오후":"오전"}:"zh-tw"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"}}:"zh-hk"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"},meridiem:t=>t>12?"下午":"上午"}:void 0}onLabelClick(){this.setFocus()}shouldIncludeSeconds(){return this.step<60}connectedCallback(){u(this),Y(this),W(this.value)?this.setValueDirectly(this.value):this.value=void 0,f(this),r(this),_(this)}async componentWillLoad(){y(this),await Promise.all([H(this),this.loadDateTimeLocaleData()])}componentDidLoad(){w(this),W(this.value)&&this.setInputValue(K({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}disconnectedCallback(){l(this),v(this),o(this),L(this),j(this),z(this)}componentDidRender(){d(this)}render(){const{disabled:t,messages:i,readOnly:s,dialogId:a}=this;return e(n,{onBlur:this.hostBlurHandler,onKeyDown:this.keyDownHandler},e("div",{class:"input-wrapper",onClick:this.onInputWrapperClick},e("calcite-input",{"aria-autocomplete":"none","aria-haspopup":"dialog",disabled:t,icon:"clock",id:this.referenceElementId,label:b(this),lang:this.effectiveLocale,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputFocus:this.calciteInternalInputFocusHandler,readOnly:s,role:"combobox",scale:this.scale,step:this.step,ref:this.setCalciteInputEl}),this.renderToggleIcon(this.open)),e("calcite-popover",{focusTrapDisabled:!0,id:a,label:i.chooseTime,lang:this.effectiveLocale,onCalcitePopoverClose:this.popoverCloseHandler,onCalcitePopoverOpen:this.popoverOpenHandler,open:this.open,overlayPositioning:this.overlayPositioning,placement:this.placement,referenceElement:this.referenceElementId,triggerDisabled:!0,ref:this.setCalcitePopoverEl},e("calcite-time-picker",{lang:this.effectiveLocale,messageOverrides:this.messageOverrides,numberingSystem:this.numberingSystem,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,scale:this.scale,step:this.step,tabIndex:this.open?void 0:-1,value:this.value,ref:this.setCalciteTimePickerEl})),e(c,{component:this}))}renderToggleIcon(t){return e("span",{class:"toggle-icon"},e("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{open:["openHandler"],focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],messageOverrides:["onMessagesChange"],numberingSystem:["numberingSystemWatcher"],step:["stepWatcher"],value:["valueWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};Tt.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}: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:inline-block;-webkit-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}";const Ct={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",delimiter:"delimiter",hour:"hour",input:"input",meridiem:"meridiem",minute:"minute",second:"second",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"},Pt=class{constructor(e){t(this,e),this.calciteInternalTimePickerBlur=i(this,"calciteInternalTimePickerBlur",6),this.calciteInternalTimePickerChange=i(this,"calciteInternalTimePickerChange",6),this.calciteInternalTimePickerFocus=i(this,"calciteInternalTimePickerFocus",6),this.decrementHour=()=>{const t=this.hour?"00"===this.hour?23:parseInt(this.hour)-1:0;this.setValuePart("hour",t)},this.decrementMeridiem=()=>{this.setValuePart("meridiem","PM"===this.meridiem?"AM":"PM")},this.decrementMinuteOrSecond=t=>{let i;if(M(this[t])){const e=parseInt(this[t]);i=0===e?59:e-1}else i=59;this.setValuePart(t,i)},this.decrementMinute=()=>{this.decrementMinuteOrSecond("minute")},this.decrementSecond=()=>{this.decrementMinuteOrSecond("second")},this.focusHandler=t=>{this.activeEl=t.currentTarget},this.hourDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementHour()},this.hourKeyDownHandler=t=>{const{key:i}=t;if(m.includes(i)){const t=parseInt(i);let e;if(M(this.hour))switch(this.hourCycle){case"12":e="01"===this.hour&&t>=0&&t<=2?`1${t}`:t;break;case"24":e="01"===this.hour?`1${t}`:"02"===this.hour&&t>=0&&t<=3?`2${t}`:t}else e=t;this.setValuePart("hour",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("hour",null);break;case"ArrowDown":t.preventDefault(),this.decrementHour();break;case"ArrowUp":t.preventDefault(),this.incrementHour();break;case" ":t.preventDefault()}},this.hourUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementHour()},this.incrementMeridiem=()=>{this.setValuePart("meridiem","AM"===this.meridiem?"PM":"AM")},this.incrementHour=()=>{const t=M(this.hour)?"23"===this.hour?0:parseInt(this.hour)+1:1;this.setValuePart("hour",t)},this.incrementMinuteOrSecond=t=>{const i=M(this[t])?"59"===this[t]?0:parseInt(this[t])+1:0;this.setValuePart(t,i)},this.incrementMinute=()=>{this.incrementMinuteOrSecond("minute")},this.incrementSecond=()=>{this.incrementMinuteOrSecond("second")},this.meridiemDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMeridiem()},this.meridiemKeyDownHandler=t=>{switch(t.key){case"a":this.setValuePart("meridiem","AM");break;case"p":this.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":this.setValuePart("meridiem",null);break;case"ArrowUp":t.preventDefault(),this.incrementMeridiem();break;case"ArrowDown":t.preventDefault(),this.decrementMeridiem();break;case" ":t.preventDefault()}},this.meridiemUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMeridiem()},this.minuteDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMinute()},this.minuteKeyDownHandler=t=>{const{key:i}=t;if(m.includes(i)){const t=parseInt(i);let e;if(M(this.minute)&&this.minute.startsWith("0")){const i=parseInt(this.minute);e=i>5?t:`${i}${t}`}else e=t;this.setValuePart("minute",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("minute",null);break;case"ArrowDown":t.preventDefault(),this.decrementMinute();break;case"ArrowUp":t.preventDefault(),this.incrementMinute();break;case" ":t.preventDefault()}},this.minuteUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMinute()},this.secondDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementSecond()},this.secondKeyDownHandler=t=>{const{key:i}=t;if(m.includes(i)){const t=parseInt(i);let e;if(M(this.second)&&this.second.startsWith("0")){const i=parseInt(this.second);e=i>5?t:`${i}${t}`}else e=t;this.setValuePart("second",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("second",null);break;case"ArrowDown":t.preventDefault(),this.decrementSecond();break;case"ArrowUp":t.preventDefault(),this.incrementSecond();break;case" ":t.preventDefault()}},this.secondUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementSecond()},this.setHourEl=t=>this.hourEl=t,this.setMeridiemEl=t=>this.meridiemEl=t,this.setMinuteEl=t=>this.minuteEl=t,this.setSecondEl=t=>this.secondEl=t,this.setValue=(t,i=!0)=>{if(W(t)){const{hour:i,minute:e,second:n}=R(t),{effectiveLocale:s,numberingSystem:a}=this,{localizedHour:r,localizedHourSuffix:o,localizedMinute:c,localizedMinuteSuffix:h,localizedSecond:u,localizedSecondSuffix:l,localizedMeridiem:d}=Z({value:t,locale:s,numberingSystem:a});if(this.localizedHour=r,this.localizedHourSuffix=o,this.localizedMinute=c,this.localizedMinuteSuffix=h,this.localizedSecond=u,this.localizedSecondSuffix=l,this.hour=i,this.minute=e,this.second=n,d){this.localizedMeridiem=d,this.meridiem=function(t){if(!M(t))return null;const i=parseInt(t);return i>=0&&i<=11?"AM":"PM"}(this.hour);const i=U({value:t,locale:s,numberingSystem:a});this.meridiemOrder=this.getMeridiemOrder(i)}}else this.hour=null,this.localizedHour=null,this.localizedHourSuffix=null,this.localizedMeridiem=null,this.localizedMinute=null,this.localizedMinuteSuffix=null,this.localizedSecond=null,this.localizedSecondSuffix=null,this.meridiem=null,this.minute=null,this.second=null,this.value=null;i&&this.calciteInternalTimePickerChange.emit()},this.setValuePart=(t,i,e=!0)=>{const{effectiveLocale:n,numberingSystem:s}=this;if("meridiem"===t){if(this.meridiem=i,M(this.hour)){const t=parseInt(this.hour);switch(i){case"AM":t>=12&&(this.hour=C(t-12));break;case"PM":t<12&&(this.hour=C(t+12))}this.localizedHour=O({value:this.hour,part:"hour",locale:n,numberingSystem:s})}}else this[t]="number"==typeof i?C(i):i,this[`localized${a=t,a.charAt(0).toUpperCase()+a.slice(1)}`]=O({value:this[t],part:t,locale:n,numberingSystem:s});var a;if(this.hour&&this.minute){let t=`${this.hour}:${this.minute}`;this.showSecond&&(t=`${t}:${this.second??"00"}`),this.value=t}else this.value=null;this.localizedMeridiem=this.value?Z({value:this.value,locale:n,numberingSystem:s})?.localizedMeridiem||null:O({value:this.meridiem,part:"meridiem",locale:n,numberingSystem:s}),e&&this.calciteInternalTimePickerChange.emit()},this.scale="m",this.step=60,this.numberingSystem=void 0,this.value=null,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.hour=void 0,this.hourCycle=void 0,this.localizedHour=void 0,this.localizedHourSuffix=void 0,this.localizedMeridiem=void 0,this.localizedMinute=void 0,this.localizedMinuteSuffix=void 0,this.localizedSecond=void 0,this.localizedSecondSuffix=void 0,this.meridiem=void 0,this.minute=void 0,this.second=void 0,this.showSecond=void 0,this.defaultMessages=void 0}stepChange(){this.updateShowSecond()}valueWatcher(t){this.setValue(t,!1)}onMessagesChange(){}effectiveLocaleWatcher(){this.updateLocale()}hostBlurHandler(){this.calciteInternalTimePickerBlur.emit()}hostFocusHandler(){this.calciteInternalTimePickerFocus.emit()}keyDownHandler(t){const{defaultPrevented:i,key:e}=t;if(!i)switch(this.activeEl){case this.hourEl:"ArrowRight"===e&&(this.focusPart("minute"),t.preventDefault());break;case this.minuteEl:switch(e){case"ArrowLeft":this.focusPart("hour"),t.preventDefault();break;case"ArrowRight":60!==this.step?(this.focusPart("second"),t.preventDefault()):"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.secondEl:switch(e){case"ArrowLeft":this.focusPart("minute"),t.preventDefault();break;case"ArrowRight":"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.meridiemEl:"ArrowLeft"===e&&(60!==this.step?(this.focusPart("second"),t.preventDefault()):(this.focusPart("minute"),t.preventDefault()))}}async setFocus(){await g(this),this.el?.focus()}updateShowSecond(){this.showSecond=this.step<60}async focusPart(t){await g(this),this[`${t||"hour"}El`]?.focus()}buttonActivated(t){const{key:i}=t;return" "===i&&t.preventDefault(),p(i)}getMeridiemOrder(t){const i=this.effectiveLocale;return t&&"ar"!==i&&"he"!==i?t.findIndex((t=>t.value===this.localizedMeridiem)):0}updateLocale(){$(this,this.effectiveLocale),this.hourCycle=function(t,i){return F("meridiem",T(t,i).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))?"12":"24"}(this.effectiveLocale,this.numberingSystem),this.setValue(this.value,!1)}connectedCallback(){Y(this),this.updateLocale(),_(this),this.updateShowSecond(),this.meridiemOrder=this.getMeridiemOrder(U({value:"0:00:00",locale:this.effectiveLocale,numberingSystem:this.numberingSystem}))}async componentWillLoad(){y(this),await H(this)}componentDidLoad(){w(this)}disconnectedCallback(){L(this),z(this)}render(){const t=M(this.hour),i="s"===this.scale||"m"===this.scale?"s":"m",n=M(this.minute),s=M(this.second),a="12"===this.hourCycle;return e("div",{class:{[Ct.timePicker]:!0,[Ct.showMeridiem]:a,[Ct.showSecond]:this.showSecond,[Ct[`scale-${this.scale}`]]:!0},dir:"ltr"},e("div",{class:Ct.column,role:"group"},e("span",{"aria-label":this.messages.hourUp,class:{[Ct.button]:!0,[Ct.buttonHourUp]:!0,[Ct.buttonTopLeft]:!0},onClick:this.incrementHour,onKeyDown:this.hourUpButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.hour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":t&&parseInt(this.hour)||"0","aria-valuetext":this.hour,class:{[Ct.input]:!0,[Ct.hour]:!0},onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setHourEl},this.localizedHour||"--"),e("span",{"aria-label":this.messages.hourDown,class:{[Ct.button]:!0,[Ct.buttonHourDown]:!0,[Ct.buttonBottomLeft]:!0},onClick:this.decrementHour,onKeyDown:this.hourDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))),e("span",{class:Ct.delimiter},this.localizedHourSuffix),e("div",{class:Ct.column,role:"group"},e("span",{"aria-label":this.messages.minuteUp,class:{[Ct.button]:!0,[Ct.buttonMinuteUp]:!0},onClick:this.incrementMinute,onKeyDown:this.minuteUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.minute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":n&&parseInt(this.minute)||"0","aria-valuetext":this.minute,class:{[Ct.input]:!0,[Ct.minute]:!0},onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setMinuteEl},this.localizedMinute||"--"),e("span",{"aria-label":this.messages.minuteDown,class:{[Ct.button]:!0,[Ct.buttonMinuteDown]:!0},onClick:this.decrementMinute,onKeyDown:this.minuteDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))),this.showSecond&&e("span",{class:Ct.delimiter},this.localizedMinuteSuffix),this.showSecond&&e("div",{class:Ct.column,role:"group"},e("span",{"aria-label":this.messages.secondUp,class:{[Ct.button]:!0,[Ct.buttonSecondUp]:!0},onClick:this.incrementSecond,onKeyDown:this.secondUpButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.second,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":s&&parseInt(this.second)||"0","aria-valuetext":this.second,class:{[Ct.input]:!0,[Ct.second]:!0},onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setSecondEl},this.localizedSecond||"--"),e("span",{"aria-label":this.messages.secondDown,class:{[Ct.button]:!0,[Ct.buttonSecondDown]:!0},onClick:this.decrementSecond,onKeyDown:this.secondDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))),this.localizedSecondSuffix&&e("span",{class:Ct.delimiter},this.localizedSecondSuffix),a&&e("div",{class:{[Ct.column]:!0,[Ct.meridiemStart]:0===this.meridiemOrder},role:"group"},e("span",{"aria-label":this.messages.meridiemUp,class:{[Ct.button]:!0,[Ct.buttonMeridiemUp]:!0,[Ct.buttonTopRight]:!0},onClick:this.incrementMeridiem,onKeyDown:this.meridiemUpButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.meridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":"PM"===this.meridiem?"2":"1","aria-valuetext":this.meridiem,class:{[Ct.input]:!0,[Ct.meridiem]:!0},onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setMeridiemEl},this.localizedMeridiem||"--"),e("span",{"aria-label":this.messages.meridiemDown,class:{[Ct.button]:!0,[Ct.buttonMeridiemDown]:!0,[Ct.buttonBottomRight]:!0},onClick:this.decrementMeridiem,onKeyDown:this.meridiemDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{step:["stepChange"],value:["valueWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};Pt.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-app-z-index-header);outline-offset:0}.time-picker .button:active{background-color:var(--calcite-ui-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-ui-text-3)}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);z-index:var(--calcite-app-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);z-index:var(--calcite-app-z-index-header);outline-offset:0}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1.25rem}";export{Tt as I,Pt as T,vt as d}
6
+ import{r as t,c as i,h as e,H as n,a as s}from"./p-f9c1832e.js";import{s as r,c as a,d as o,H as c}from"./p-b0ecb7bf.js";import{g as h}from"./p-f9e32c47.js";import{c as u,d as l,u as d}from"./p-4918349a.js";import{n as m,i as p}from"./p-acb7f263.js";import{c as f,d as b,g as v}from"./p-ca21f1ff.js";import{c as g,s as y,a as w}from"./p-8412e551.js";import{b as k,i as M,e as D,n as S,g as x,c as Y,d as L}from"./p-241913b7.js";import{d as j,a as A,c as I}from"./p-c77494db.js";import{c as _,s as H,d as z,u as $}from"./p-e3040742.js";function T(t,i,e=!0){const n={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:D(i)};return e&&(n.second="2-digit"),k(t,n)}function C(t){const i=t.toString();return t>=0&&t<=9?i.padStart(2,"0"):i}function P(t){if(!W(t))return null;const[i,e,n]=t.split(":"),s=C(parseInt(i)),r=C(parseInt(e));return n?`${s}:${r}:${C(parseInt(n))}`:`${s}:${r}`}function F(t,i){if(!t||!i)return null;if("hourSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"hour"===t))),e=i.indexOf(i.find((({type:t})=>"minute"===t))),n=i[t+1];return n&&"literal"===n.type&&e-t==2&&n.value?.trim()||null}if("minuteSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"minute"===t))),e=i.indexOf(i.find((({type:t})=>"second"===t))),n=i[t+1];return n&&"literal"===n.type&&e-t==2&&n.value?.trim()||null}if("secondSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"second"===t))),e=i[t+1];return e&&"literal"===e.type&&e.value?.trim()||null}return i.find((({type:i})=>"meridiem"==t?"dayPeriod"===i:i===t))?.value||null}function W(t){if(!t||t.startsWith(":")||t.endsWith(":"))return!1;const i=t.split(":");if(!(i.length>1&&i.length<4))return!1;const[e,n,s]=i,r=parseInt(i[0]),a=parseInt(i[1]),o=parseInt(i[2]),c=M(e)&&r>=0&&r<24,h=M(n)&&a>=0&&a<60,u=M(s)&&o>=0&&o<60;return!!(c&&h&&!s||c&&h&&u)||void 0}function O({value:t,part:i,locale:e,numberingSystem:n}){if(!function(t,i){if("meridiem"===i)return"AM"===t||"PM"===t;if(!M(t))return!1;const e=Number(t);return"hour"===i?e>=0&&e<24:e>=0&&e<60}(t,i))return;const s=parseInt(t),r=new Date(Date.UTC(0,0,0,"hour"===i?s:"meridiem"===i?"AM"===t?0:12:0,"minute"===i?s:0,"second"===i?s:0));return r?F(i,T(e,n).formatToParts(r)):void 0}function K({value:t,locale:i,numberingSystem:e,includeSeconds:n=!0}){if(!W(t))return null;const{hour:s,minute:r,second:a="0"}=R(t),o=new Date(Date.UTC(0,0,0,parseInt(s),parseInt(r),parseInt(a)));return T(i,e,n)?.format(o)||null}function Z({value:t,locale:i,numberingSystem:e}){if(!W(t))return null;const{hour:n,minute:s,second:r="0"}=R(t),a=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(s),parseInt(r)));if(a){const t=T(i,e).formatToParts(a);return{localizedHour:F("hour",t),localizedHourSuffix:F("hourSuffix",t),localizedMinute:F("minute",t),localizedMinuteSuffix:F("minuteSuffix",t),localizedSecond:F("second",t),localizedSecondSuffix:F("secondSuffix",t),localizedMeridiem:F("meridiem",t)}}return null}function U({value:t,locale:i,numberingSystem:e}){if(!W(t))return null;const{hour:n,minute:s,second:r="0"}=R(t),a=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(s),parseInt(r)));return a?T(i,e).formatToParts(a):null}function R(t){if(W(t)){const[i,e,n]=t.split(":");return{hour:i,minute:e,second:n}}return{hour:null,minute:null,second:null}}function B(t,i=!0){if(!W(t))return"";const{hour:e,minute:n,second:s}=R(t);let r=`${C(parseInt(e))}:${C(parseInt(n))}`;return i&&(r+=`:${C(parseInt(i&&s||"0"))}`),r}var E=6e4,N=36e5,J="millisecond",X="second",q="minute",G="hour",Q="day",V="week",tt="month",it="quarter",et="year",nt="date",st="YYYY-MM-DDTHH:mm:ssZ",rt="Invalid Date",at=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ot=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const ct={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var i=["th","st","nd","rd"],e=t%100;return"["+t+(i[(e-20)%10]||i[e]||i[0])+"]"}},ht=Object.freeze({__proto__:null,default:ct});var ut=function(t,i,e){var n=String(t);return!n||n.length>=i?t:""+Array(i+1-n.length).join(e)+t};const lt={s:ut,z:function(t){var i=-t.utcOffset(),e=Math.abs(i),n=Math.floor(e/60),s=e%60;return(i<=0?"+":"-")+ut(n,2,"0")+":"+ut(s,2,"0")},m:function t(i,e){if(i.date()<e.date())return-t(e,i);var n=12*(e.year()-i.year())+(e.month()-i.month()),s=i.clone().add(n,tt),r=e-s<0,a=i.clone().add(n+(r?-1:1),tt);return+(-(n+(e-s)/(r?s-a:a-s))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:tt,y:et,w:V,d:Q,D:nt,h:G,m:q,s:X,ms:J,Q:it}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};var dt="en",mt={};mt[dt]=ct;var pt=function(t){return t instanceof gt},ft=function t(i,e,n){var s;if(!i)return dt;if("string"==typeof i){var r=i.toLowerCase();mt[r]&&(s=r),e&&(mt[r]=e,s=r);var a=i.split("-");if(!s&&a.length>1)return t(a[0])}else{var o=i.name;mt[o]=i,s=o}return!n&&s&&(dt=s),s||!n&&dt},bt=function(t,i){if(pt(t))return t.clone();var e="object"==typeof i?i:{};return e.date=t,e.args=arguments,new gt(e)},vt=lt;vt.l=ft,vt.i=pt,vt.w=function(t,i){return bt(t,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var gt=function(){function t(t){this.$L=ft(t.locale,null,!0),this.parse(t)}var i=t.prototype;return i.parse=function(t){this.$d=function(t){var i=t.date,e=t.utc;if(null===i)return new Date(NaN);if(vt.u(i))return new Date;if(i instanceof Date)return new Date(i);if("string"==typeof i&&!/Z$/i.test(i)){var n=i.match(at);if(n){var s=n[2]-1||0,r=(n[7]||"0").substring(0,3);return e?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)}}return new Date(i)}(t),this.$x=t.x||{},this.init()},i.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},i.$utils=function(){return vt},i.isValid=function(){return!(this.$d.toString()===rt)},i.isSame=function(t,i){var e=bt(t);return this.startOf(i)<=e&&e<=this.endOf(i)},i.isAfter=function(t,i){return bt(t)<this.startOf(i)},i.isBefore=function(t,i){return this.endOf(i)<bt(t)},i.$g=function(t,i,e){return vt.u(t)?this[i]:this.set(e,t)},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this.$d.getTime()},i.startOf=function(t,i){var e=this,n=!!vt.u(i)||i,s=vt.p(t),r=function(t,i){var s=vt.w(e.$u?Date.UTC(e.$y,i,t):new Date(e.$y,i,t),e);return n?s:s.endOf(Q)},a=function(t,i){return vt.w(e.toDate()[t].apply(e.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(i)),e)},o=this.$W,c=this.$M,h=this.$D,u="set"+(this.$u?"UTC":"");switch(s){case et:return n?r(1,0):r(31,11);case tt:return n?r(1,c):r(0,c+1);case V:var l=this.$locale().weekStart||0,d=(o<l?o+7:o)-l;return r(n?h-d:h+(6-d),c);case Q:case nt:return a(u+"Hours",0);case G:return a(u+"Minutes",1);case q:return a(u+"Seconds",2);case X:return a(u+"Milliseconds",3);default:return this.clone()}},i.endOf=function(t){return this.startOf(t,!1)},i.$set=function(t,i){var e,n=vt.p(t),s="set"+(this.$u?"UTC":""),r=(e={},e[Q]=s+"Date",e[nt]=s+"Date",e[tt]=s+"Month",e[et]=s+"FullYear",e[G]=s+"Hours",e[q]=s+"Minutes",e[X]=s+"Seconds",e[J]=s+"Milliseconds",e)[n],a=n===Q?this.$D+(i-this.$W):i;if(n===tt||n===et){var o=this.clone().set(nt,1);o.$d[r](a),o.init(),this.$d=o.set(nt,Math.min(this.$D,o.daysInMonth())).$d}else r&&this.$d[r](a);return this.init(),this},i.set=function(t,i){return this.clone().$set(t,i)},i.get=function(t){return this[vt.p(t)]()},i.add=function(t,i){var e,n=this;t=Number(t);var s=vt.p(i),r=function(i){var e=bt(n);return vt.w(e.date(e.date()+Math.round(i*t)),n)};if(s===tt)return this.set(tt,this.$M+t);if(s===et)return this.set(et,this.$y+t);if(s===Q)return r(1);if(s===V)return r(7);var a=(e={},e[q]=E,e[G]=N,e[X]=1e3,e)[s]||1,o=this.$d.getTime()+t*a;return vt.w(o,this)},i.subtract=function(t,i){return this.add(-1*t,i)},i.format=function(t){var i=this,e=this.$locale();if(!this.isValid())return e.invalidDate||rt;var n=t||st,s=vt.z(this),r=this.$H,a=this.$m,o=this.$M,c=e.weekdays,h=e.months,u=function(t,e,s,r){return t&&(t[e]||t(i,n))||s[e].slice(0,r)},l=function(t){return vt.s(r%12||12,t,"0")},d=e.meridiem||function(t,i,e){var n=t<12?"AM":"PM";return e?n.toLowerCase():n},m={YY:String(this.$y).slice(-2),YYYY:vt.s(this.$y,4,"0"),M:o+1,MM:vt.s(o+1,2,"0"),MMM:u(e.monthsShort,o,h,3),MMMM:u(h,o),D:this.$D,DD:vt.s(this.$D,2,"0"),d:String(this.$W),dd:u(e.weekdaysMin,this.$W,c,2),ddd:u(e.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(r),HH:vt.s(r,2,"0"),h:l(1),hh:l(2),a:d(r,a,!0),A:d(r,a,!1),m:String(a),mm:vt.s(a,2,"0"),s:String(this.$s),ss:vt.s(this.$s,2,"0"),SSS:vt.s(this.$ms,3,"0"),Z:s};return n.replace(ot,(function(t,i){return i||m[t]||s.replace(":","")}))},i.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},i.diff=function(t,i,e){var n,s=vt.p(i),r=bt(t),a=(r.utcOffset()-this.utcOffset())*E,o=this-r,c=vt.m(this,r);return c=(n={},n[et]=c/12,n[tt]=c,n[it]=c/3,n[V]=(o-a)/6048e5,n[Q]=(o-a)/864e5,n[G]=o/N,n[q]=o/E,n[X]=o/1e3,n)[s]||o,e?c:vt.a(c)},i.daysInMonth=function(){return this.endOf(tt).$D},i.$locale=function(){return mt[this.$L]},i.locale=function(t,i){if(!t)return this.$L;var e=this.clone(),n=ft(t,i,!0);return n&&(e.$L=n),e},i.clone=function(){return vt.w(this.$d,this)},i.toDate=function(){return new Date(this.valueOf())},i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toISOString=function(){return this.$d.toISOString()},i.toString=function(){return this.$d.toUTCString()},t}(),yt=gt.prototype;bt.prototype=yt,[["$ms",J],["$s",X],["$m",q],["$H",G],["$W",Q],["$M",tt],["$y",et],["$D",nt]].forEach((function(t){yt[t[1]]=function(i){return this.$g(i,t[0],t[1])}})),bt.extend=function(t,i){return t.$i||(t(i,gt,bt),t.$i=!0),bt},bt.locale=ft,bt.isDayjs=pt,bt.unix=function(t){return bt(1e3*t)},bt.en=mt[dt],bt.Ls=mt,bt.p={};var wt=function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,i,e){return i||e.slice(1)}))},kt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Mt=function(t,i){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,e,n){var s=n&&n.toUpperCase();return e||i[n]||kt[n]||wt(i[s])}))},Dt=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,St=/\d\d/,xt=/\d\d?/,Yt=/\d*[^-_:/,()\s\d]+/,Lt={},jt=function(t){return(t=+t)+(t>68?1900:2e3)},At=function(t){return function(i){this[t]=+i}},It=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var i=t.match(/([+-]|\d\d)/g),e=60*i[1]+(+i[2]||0);return 0===e?0:"+"===i[0]?-e:e}(t)}],_t=function(t){var i=Lt[t];return i&&(i.indexOf?i:i.s.concat(i.f))},Ht=function(t,i){var e,n=Lt.meridiem;if(n){for(var s=1;s<=24;s+=1)if(t.indexOf(n(s,0,i))>-1){e=s>12;break}}else e=t===(i?"pm":"PM");return e},zt={A:[Yt,function(t){this.afternoon=Ht(t,!1)}],a:[Yt,function(t){this.afternoon=Ht(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[St,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[xt,At("seconds")],ss:[xt,At("seconds")],m:[xt,At("minutes")],mm:[xt,At("minutes")],H:[xt,At("hours")],h:[xt,At("hours")],HH:[xt,At("hours")],hh:[xt,At("hours")],D:[xt,At("day")],DD:[St,At("day")],Do:[Yt,function(t){var i=Lt.ordinal,e=t.match(/\d+/);if(this.day=e[0],i)for(var n=1;n<=31;n+=1)i(n).replace(/\[|\]/g,"")===t&&(this.day=n)}],M:[xt,At("month")],MM:[St,At("month")],MMM:[Yt,function(t){var i=_t("months"),e=(_t("monthsShort")||i.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],MMMM:[Yt,function(t){var i=_t("months").indexOf(t)+1;if(i<1)throw new Error;this.month=i%12||i}],Y:[/[+-]?\d+/,At("year")],YY:[St,function(t){this.year=jt(t)}],YYYY:[/\d{4}/,At("year")],Z:It,ZZ:It};const $t=new Map([["ar",()=>import("./p-6390fe18.js")],["bg",()=>import("./p-3c54bbd4.js")],["bs",()=>import("./p-e8fa31a9.js")],["ca",()=>import("./p-6c697a5d.js")],["cs",()=>import("./p-b5ffaf93.js")],["da",()=>import("./p-a4331c98.js")],["de",()=>import("./p-da94c02f.js")],["de-at",()=>import("./p-873b5d46.js")],["de-ch",()=>import("./p-4387c42d.js")],["el",()=>import("./p-b1a8c6d8.js")],["en",()=>Promise.resolve().then((function(){return ht}))],["en-au",()=>import("./p-bb2a3343.js")],["en-ca",()=>import("./p-a8ac8484.js")],["en-gb",()=>import("./p-233ef900.js")],["es",()=>import("./p-6bf36a87.js")],["es-mx",()=>import("./p-0bb8c87d.js")],["et",()=>import("./p-53488293.js")],["fi",()=>import("./p-74debf74.js")],["fr",()=>import("./p-e0ab263f.js")],["fr-ch",()=>import("./p-b86039b3.js")],["he",()=>import("./p-8dfb8e55.js")],["hi",()=>import("./p-95c2e9e9.js")],["hr",()=>import("./p-bc7e62c8.js")],["hu",()=>import("./p-2a7df787.js")],["id",()=>import("./p-0e885cd8.js")],["it",()=>import("./p-4fbdccbf.js")],["it-ch",()=>import("./p-e8e9c90e.js")],["ja",()=>import("./p-2bab61fb.js")],["ko",()=>import("./p-3cce94e2.js")],["lt",()=>import("./p-cd289192.js")],["lv",()=>import("./p-378b325c.js")],["mk",()=>import("./p-51d18db5.js")],["nl",()=>import("./p-f13beb85.js")],["nb",()=>import("./p-cec72942.js")],["pl",()=>import("./p-5b7bb5e7.js")],["pt",()=>import("./p-6d4dd060.js")],["pt-br",()=>import("./p-bc06529d.js")],["ro",()=>import("./p-9c8d9897.js")],["ru",()=>import("./p-90a039f7.js")],["sk",()=>import("./p-1efec33f.js")],["sl",()=>import("./p-1c0703e5.js")],["sr",()=>import("./p-90ea442b.js")],["sv",()=>import("./p-b3df3463.js")],["th",()=>import("./p-25523df6.js")],["tr",()=>import("./p-774d072e.js")],["uk",()=>import("./p-6dfbc873.js")],["vi",()=>import("./p-72d5c28e.js")],["zh-cn",()=>import("./p-3adee803.js")],["zh-hk",()=>import("./p-617ca97e.js")],["zh-tw",()=>import("./p-2a18bb95.js")]]);bt.extend((function(t,i,e){e.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(jt=t.parseTwoDigitYear);var n=i.prototype,s=n.parse;n.parse=function(t){var i=t.date,n=t.utc,r=t.args;this.$u=n;var a=r[1];if("string"==typeof a){var o=!0===r[2],c=!0===r[3],h=o||c,u=r[2];c&&(u=r[2]),Lt=this.$locale(),!o&&u&&(Lt=e.Ls[u]),this.$d=function(t,i,e){try{if(["x","X"].indexOf(i)>-1)return new Date(("X"===i?1e3:1)*t);var n=function(t){for(var i=(t=Mt(t,Lt&&Lt.formats)).match(Dt),e=i.length,n=0;n<e;n+=1){var s=i[n],r=zt[s],a=r&&r[1];i[n]=a?{regex:r&&r[0],parser:a}:s.replace(/^\[|\]$/g,"")}return function(t){for(var n={},s=0,r=0;s<e;s+=1){var a=i[s];if("string"==typeof a)r+=a.length;else{var o=a.regex,c=a.parser,h=t.slice(r),u=o.exec(h)[0];c.call(n,u),t=t.replace(u,"")}}return function(t){var i=t.afternoon;if(void 0!==i){var e=t.hours;i?e<12&&(t.hours+=12):12===e&&(t.hours=0),delete t.afternoon}}(n),n}}(i),s=n(t),r=s.year,a=s.month,o=s.day,c=s.hours,h=s.minutes,u=s.seconds,l=s.milliseconds,d=s.zone,m=new Date,p=o||(r||a?1:m.getDate()),f=r||m.getFullYear(),b=0;r&&!a||(b=a>0?a-1:m.getMonth());var v=c||0,g=h||0,y=u||0,w=l||0;return d?new Date(Date.UTC(f,b,p,v,g,y,w+60*d.offset*1e3)):e?new Date(Date.UTC(f,b,p,v,g,y,w)):new Date(f,b,p,v,g,y,w)}catch(t){return new Date("")}}(i,a,n),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),h&&i!=this.format(a)&&(this.$d=new Date("")),Lt={}}else if(a instanceof Array)for(var l=a.length,d=1;d<=l;d+=1){r[1]=a[d-1];var m=e.apply(this,r);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}d===l&&(this.$d=new Date(""))}else s.call(this,t)}})),bt.extend((function(t,i,e){var n=function(t){return t&&(t.indexOf?t:t.s)},s=function(t,i,e,s,r){var a=t.name?t:t.$locale(),o=n(a[i]),c=n(a[e]),h=o||c.map((function(t){return t.slice(0,s)}));if(!r)return h;var u=a.weekStart;return h.map((function(t,i){return h[(i+(u||0))%7]}))},r=function(){return e.Ls[e.locale()]},a=function(t,i){return t.formats[i]||wt(t.formats[i.toUpperCase()])},o=function(){var t=this;return{months:function(i){return i?i.format("MMMM"):s(t,"months")},monthsShort:function(i){return i?i.format("MMM"):s(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(i){return i?i.format("dddd"):s(t,"weekdays")},weekdaysMin:function(i){return i?i.format("dd"):s(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(i){return i?i.format("ddd"):s(t,"weekdaysShort","weekdays",3)},longDateFormat:function(i){return a(t.$locale(),i)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.prototype.localeData=function(){return o.bind(this)()},e.localeData=function(){var t=r();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return e.weekdays()},weekdaysShort:function(){return e.weekdaysShort()},weekdaysMin:function(){return e.weekdaysMin()},months:function(){return e.months()},monthsShort:function(){return e.monthsShort()},longDateFormat:function(i){return a(t,i)},meridiem:t.meridiem,ordinal:t.ordinal}},e.months=function(){return s(r(),"months")},e.monthsShort=function(){return s(r(),"monthsShort","months",3)},e.weekdays=function(t){return s(r(),"weekdays",null,null,t)},e.weekdaysShort=function(t){return s(r(),"weekdaysShort","weekdays",3,t)},e.weekdaysMin=function(t){return s(r(),"weekdaysMin","weekdays",2,t)}})),bt.extend((function(t,i,e){var n=i.prototype,s=n.format;e.en.formats=kt,n.format=function(t){void 0===t&&(t=st);var i=this.$locale().formats,e=Mt(t,void 0===i?{}:i);return s.call(this,e)}})),bt.extend((function(t,i){var e=i.prototype.parse;i.prototype.parse=function(t){if("string"==typeof t.date){var i=this.$locale();t.date=i&&i.preparse?i.preparse(t.date):t.date}return e.bind(this)(t)};var n=i.prototype.format;i.prototype.format=function(){for(var t=arguments.length,i=new Array(t),e=0;e<t;e++)i[e]=arguments[e];var s=n.call.apply(n,[this].concat(i)),r=this.$locale();return r&&r.postformat?r.postformat(s):s};var s=i.prototype.fromToBase;s&&(i.prototype.fromToBase=function(t,i,e,n){var r=this.$locale()||e.$locale();return s.call(this,t,i,e,n,r&&r.postformat)})})),bt.extend((function(t,i,e){e.updateLocale=function(t,i){var n=e.Ls[t];if(n)return(i?Object.keys(i):[]).forEach((function(t){n[t]=i[t]})),n}}));const Tt=class{constructor(e){t(this,e),this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7),this.focusOnOpen=!1,this.dialogId=`time-picker-dialog--${h()}`,this.userChangedValue=!1,this.referenceElementId=`input-time-picker-${h()}`,this.hostBlurHandler=()=>{const t=this.calciteInputEl.value,i=this.delocalizeTimeString(t);if(!i)return void this.setValue("");i!==this.value&&this.setValue(i);const e=K({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});e!==t&&this.setInputValue(e),this.deactivate()},this.calciteInternalInputFocusHandler=t=>{this.readOnly||t.stopPropagation()},this.calciteInternalInputInputHandler=t=>{const{effectiveLocale:i,numberingSystem:e}=this;if(e&&"latn"!==e){const n=t.target;S.numberFormatOptions={locale:i,numberingSystem:e,useGrouping:!1};const s=S.delocalize(n.value).split("").map((t=>m.includes(t)?S.numberFormatter.format(Number(t)):t)).join("");this.setInputValue(s)}},this.timePickerChangeHandler=t=>{t.stopPropagation();const i=t.target.value,e=this.shouldIncludeSeconds();this.setValue(B(i,e)),this.setInputValue(K({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:e}))},this.popoverCloseHandler=()=>{j(this,{onDeactivate:()=>{this.calciteInputEl.setFocus(),this.focusOnOpen=!1}})},this.popoverOpenHandler=()=>{A(this,{onActivate:()=>{this.focusOnOpen&&(this.calciteTimePickerEl.setFocus(),this.focusOnOpen=!1)}})},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;if(!i)if("Enter"===e){if(r(this)&&(t.preventDefault(),this.calciteInputEl.setFocus()),t.composedPath().includes(this.calciteTimePickerEl))return;const i=this.delocalizeTimeString(this.calciteInputEl.value);this.setValue(i);const e=K({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});i&&this.calciteInputEl.value!==e&&this.setInputValue(e)}else"ArrowDown"===e?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===e&&this.open&&(this.open=!1,t.preventDefault(),this.calciteInputEl.setFocus())},this.setCalcitePopoverEl=t=>{this.popoverEl=t},this.setCalciteInputEl=t=>{this.calciteInputEl=t},this.setCalciteTimePickerEl=t=>{this.calciteTimePickerEl=t,I(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.setInputValue=t=>{this.calciteInputEl&&(this.calciteInputEl.value=t)},this.setValue=t=>{const i=this.value,e=P(t)||"";e!==i&&(this.userChangedValue=!0,this.value=e||"",this.calciteInputTimePickerChange.emit().defaultPrevented&&(this.userChangedValue=!1,this.value=i,this.setInputValue(K({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))))},this.setValueDirectly=t=>{const i=this.shouldIncludeSeconds();this.value=B(t,i),this.setInputValue(this.value?K({value:this.value,includeSeconds:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem}):"")},this.onInputWrapperClick=()=>{this.open=!this.open},this.deactivate=()=>{this.open=!1},this.open=!1,this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.messageOverrides=void 0,this.messages=void 0,this.name=void 0,this.numberingSystem=void 0,this.required=!1,this.scale="m",this.overlayPositioning="absolute",this.placement="auto",this.step=60,this.value=null,this.defaultMessages=void 0,this.effectiveLocale=""}openHandler(t){this.disabled||this.readOnly?this.open=!1:t&&this.reposition(!0)}handleFocusTrapDisabled(t){this.open&&(t?j(this):A(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}onMessagesChange(){}numberingSystemWatcher(t){this.setInputValue(K({value:this.value,locale:this.effectiveLocale,numberingSystem:t,includeSeconds:this.shouldIncludeSeconds()}))}stepWatcher(t,i){(i>=60&&t>0&&t<60||t>=60&&i>0&&i<60)&&this.setValueDirectly(this.value)}valueWatcher(t){this.userChangedValue||this.setValueDirectly(t),this.userChangedValue=!1}async effectiveLocaleWatcher(t){await this.loadDateTimeLocaleData(),this.setInputValue(K({value:this.value,locale:t,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}async setFocus(){await g(this),this.el.focus()}async reposition(t=!1){this.popoverEl?.reposition(t)}delocalizeTimeString(t){bt.locale(this.effectiveLocale.toLowerCase());const i=bt(t,["LTS","LT"]);if(i.isValid()){let t=`${i.get("hour")}:${i.get("minute")}`;return this.shouldIncludeSeconds()&&(t+=`:${i.get("seconds")||0}`),P(t)||""}return""}async loadDateTimeLocaleData(){let t=x(this.effectiveLocale).toLowerCase();"no"===t&&(t="nb"),"pt-pt"===t&&(t="pt");const{default:i}=await $t.get(t)();bt.locale(i,null,!0),bt.updateLocale(t,this.getExtendedLocaleConfig(t))}getExtendedLocaleConfig(t){return"ar"===t?{meridiem:t=>t>12?"م":"ص",formats:{LT:"HH:mm A",LTS:"HH:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm A",LLLL:"dddd D MMMM YYYY HH:mm A"}}:"en-au"===t?{meridiem:t=>t>12?"pm":"am"}:"en-ca"===t?{meridiem:t=>t>12?"p.m.":"a.m."}:"el"===t?{meridiem:t=>t>12?"μ.μ.":"π.μ."}:"hi"===t?{formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, h:mm A",LLLL:"dddd, D MMMM YYYY, h:mm A"},meridiem:t=>t>12?"pm":"am"}:"ko"===t?{meridiem:t=>t>12?"오후":"오전"}:"zh-tw"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"}}:"zh-hk"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"},meridiem:t=>t>12?"下午":"上午"}:void 0}onLabelClick(){this.setFocus()}shouldIncludeSeconds(){return this.step<60}connectedCallback(){u(this),Y(this),W(this.value)?this.setValueDirectly(this.value):this.value=void 0,f(this),a(this),_(this)}async componentWillLoad(){y(this),await Promise.all([H(this),this.loadDateTimeLocaleData()])}componentDidLoad(){w(this),W(this.value)&&this.setInputValue(K({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}disconnectedCallback(){l(this),b(this),o(this),L(this),j(this),z(this)}componentDidRender(){d(this)}render(){const{disabled:t,messages:i,readOnly:s,dialogId:r}=this;return e(n,{onBlur:this.hostBlurHandler,onKeyDown:this.keyDownHandler},e("div",{class:"input-wrapper",onClick:this.onInputWrapperClick},e("calcite-input",{"aria-autocomplete":"none","aria-haspopup":"dialog",disabled:t,icon:"clock",id:this.referenceElementId,label:v(this),lang:this.effectiveLocale,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputFocus:this.calciteInternalInputFocusHandler,readOnly:s,role:"combobox",scale:this.scale,step:this.step,ref:this.setCalciteInputEl}),this.renderToggleIcon(this.open)),e("calcite-popover",{focusTrapDisabled:!0,id:r,label:i.chooseTime,lang:this.effectiveLocale,onCalcitePopoverClose:this.popoverCloseHandler,onCalcitePopoverOpen:this.popoverOpenHandler,open:this.open,overlayPositioning:this.overlayPositioning,placement:this.placement,referenceElement:this.referenceElementId,triggerDisabled:!0,ref:this.setCalcitePopoverEl},e("calcite-time-picker",{lang:this.effectiveLocale,messageOverrides:this.messageOverrides,numberingSystem:this.numberingSystem,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,scale:this.scale,step:this.step,tabIndex:this.open?void 0:-1,value:this.value,ref:this.setCalciteTimePickerEl})),e(c,{component:this}))}renderToggleIcon(t){return e("span",{class:"toggle-icon"},e("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{open:["openHandler"],focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],messageOverrides:["onMessagesChange"],numberingSystem:["numberingSystemWatcher"],step:["stepWatcher"],value:["valueWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};Tt.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}: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:inline-block;-webkit-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}";const Ct={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",delimiter:"delimiter",hour:"hour",input:"input",meridiem:"meridiem",minute:"minute",second:"second",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"},Pt=class{constructor(e){t(this,e),this.calciteInternalTimePickerBlur=i(this,"calciteInternalTimePickerBlur",6),this.calciteInternalTimePickerChange=i(this,"calciteInternalTimePickerChange",6),this.calciteInternalTimePickerFocus=i(this,"calciteInternalTimePickerFocus",6),this.decrementHour=()=>{const t=this.hour?"00"===this.hour?23:parseInt(this.hour)-1:0;this.setValuePart("hour",t)},this.decrementMeridiem=()=>{this.setValuePart("meridiem","PM"===this.meridiem?"AM":"PM")},this.decrementMinuteOrSecond=t=>{let i;if(M(this[t])){const e=parseInt(this[t]);i=0===e?59:e-1}else i=59;this.setValuePart(t,i)},this.decrementMinute=()=>{this.decrementMinuteOrSecond("minute")},this.decrementSecond=()=>{this.decrementMinuteOrSecond("second")},this.focusHandler=t=>{this.activeEl=t.currentTarget},this.hourDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementHour()},this.hourKeyDownHandler=t=>{const{key:i}=t;if(m.includes(i)){const t=parseInt(i);let e;if(M(this.hour))switch(this.hourCycle){case"12":e="01"===this.hour&&t>=0&&t<=2?`1${t}`:t;break;case"24":e="01"===this.hour?`1${t}`:"02"===this.hour&&t>=0&&t<=3?`2${t}`:t}else e=t;this.setValuePart("hour",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("hour",null);break;case"ArrowDown":t.preventDefault(),this.decrementHour();break;case"ArrowUp":t.preventDefault(),this.incrementHour();break;case" ":t.preventDefault()}},this.hourUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementHour()},this.incrementMeridiem=()=>{this.setValuePart("meridiem","AM"===this.meridiem?"PM":"AM")},this.incrementHour=()=>{const t=M(this.hour)?"23"===this.hour?0:parseInt(this.hour)+1:1;this.setValuePart("hour",t)},this.incrementMinuteOrSecond=t=>{const i=M(this[t])?"59"===this[t]?0:parseInt(this[t])+1:0;this.setValuePart(t,i)},this.incrementMinute=()=>{this.incrementMinuteOrSecond("minute")},this.incrementSecond=()=>{this.incrementMinuteOrSecond("second")},this.meridiemDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMeridiem()},this.meridiemKeyDownHandler=t=>{switch(t.key){case"a":this.setValuePart("meridiem","AM");break;case"p":this.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":this.setValuePart("meridiem",null);break;case"ArrowUp":t.preventDefault(),this.incrementMeridiem();break;case"ArrowDown":t.preventDefault(),this.decrementMeridiem();break;case" ":t.preventDefault()}},this.meridiemUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMeridiem()},this.minuteDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMinute()},this.minuteKeyDownHandler=t=>{const{key:i}=t;if(m.includes(i)){const t=parseInt(i);let e;if(M(this.minute)&&this.minute.startsWith("0")){const i=parseInt(this.minute);e=i>5?t:`${i}${t}`}else e=t;this.setValuePart("minute",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("minute",null);break;case"ArrowDown":t.preventDefault(),this.decrementMinute();break;case"ArrowUp":t.preventDefault(),this.incrementMinute();break;case" ":t.preventDefault()}},this.minuteUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMinute()},this.secondDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementSecond()},this.secondKeyDownHandler=t=>{const{key:i}=t;if(m.includes(i)){const t=parseInt(i);let e;if(M(this.second)&&this.second.startsWith("0")){const i=parseInt(this.second);e=i>5?t:`${i}${t}`}else e=t;this.setValuePart("second",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("second",null);break;case"ArrowDown":t.preventDefault(),this.decrementSecond();break;case"ArrowUp":t.preventDefault(),this.incrementSecond();break;case" ":t.preventDefault()}},this.secondUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementSecond()},this.setHourEl=t=>this.hourEl=t,this.setMeridiemEl=t=>this.meridiemEl=t,this.setMinuteEl=t=>this.minuteEl=t,this.setSecondEl=t=>this.secondEl=t,this.setValue=(t,i=!0)=>{if(W(t)){const{hour:i,minute:e,second:n}=R(t),{effectiveLocale:s,numberingSystem:r}=this,{localizedHour:a,localizedHourSuffix:o,localizedMinute:c,localizedMinuteSuffix:h,localizedSecond:u,localizedSecondSuffix:l,localizedMeridiem:d}=Z({value:t,locale:s,numberingSystem:r});if(this.localizedHour=a,this.localizedHourSuffix=o,this.localizedMinute=c,this.localizedMinuteSuffix=h,this.localizedSecond=u,this.localizedSecondSuffix=l,this.hour=i,this.minute=e,this.second=n,d){this.localizedMeridiem=d,this.meridiem=function(t){if(!M(t))return null;const i=parseInt(t);return i>=0&&i<=11?"AM":"PM"}(this.hour);const i=U({value:t,locale:s,numberingSystem:r});this.meridiemOrder=this.getMeridiemOrder(i)}}else this.hour=null,this.localizedHour=null,this.localizedHourSuffix=null,this.localizedMeridiem=null,this.localizedMinute=null,this.localizedMinuteSuffix=null,this.localizedSecond=null,this.localizedSecondSuffix=null,this.meridiem=null,this.minute=null,this.second=null,this.value=null;i&&this.calciteInternalTimePickerChange.emit()},this.setValuePart=(t,i,e=!0)=>{const{effectiveLocale:n,numberingSystem:s}=this;if("meridiem"===t){if(this.meridiem=i,M(this.hour)){const t=parseInt(this.hour);switch(i){case"AM":t>=12&&(this.hour=C(t-12));break;case"PM":t<12&&(this.hour=C(t+12))}this.localizedHour=O({value:this.hour,part:"hour",locale:n,numberingSystem:s})}}else this[t]="number"==typeof i?C(i):i,this[`localized${r=t,r.charAt(0).toUpperCase()+r.slice(1)}`]=O({value:this[t],part:t,locale:n,numberingSystem:s});var r;if(this.hour&&this.minute){let t=`${this.hour}:${this.minute}`;this.showSecond&&(t=`${t}:${this.second??"00"}`),this.value=t}else this.value=null;this.localizedMeridiem=this.value?Z({value:this.value,locale:n,numberingSystem:s})?.localizedMeridiem||null:O({value:this.meridiem,part:"meridiem",locale:n,numberingSystem:s}),e&&this.calciteInternalTimePickerChange.emit()},this.scale="m",this.step=60,this.numberingSystem=void 0,this.value=null,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.hour=void 0,this.hourCycle=void 0,this.localizedHour=void 0,this.localizedHourSuffix=void 0,this.localizedMeridiem=void 0,this.localizedMinute=void 0,this.localizedMinuteSuffix=void 0,this.localizedSecond=void 0,this.localizedSecondSuffix=void 0,this.meridiem=void 0,this.minute=void 0,this.second=void 0,this.showSecond=void 0,this.defaultMessages=void 0}stepChange(){this.updateShowSecond()}valueWatcher(t){this.setValue(t,!1)}onMessagesChange(){}effectiveLocaleWatcher(){this.updateLocale()}hostBlurHandler(){this.calciteInternalTimePickerBlur.emit()}hostFocusHandler(){this.calciteInternalTimePickerFocus.emit()}keyDownHandler(t){const{defaultPrevented:i,key:e}=t;if(!i)switch(this.activeEl){case this.hourEl:"ArrowRight"===e&&(this.focusPart("minute"),t.preventDefault());break;case this.minuteEl:switch(e){case"ArrowLeft":this.focusPart("hour"),t.preventDefault();break;case"ArrowRight":60!==this.step?(this.focusPart("second"),t.preventDefault()):"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.secondEl:switch(e){case"ArrowLeft":this.focusPart("minute"),t.preventDefault();break;case"ArrowRight":"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.meridiemEl:"ArrowLeft"===e&&(60!==this.step?(this.focusPart("second"),t.preventDefault()):(this.focusPart("minute"),t.preventDefault()))}}async setFocus(){await g(this),this.el?.focus()}updateShowSecond(){this.showSecond=this.step<60}async focusPart(t){await g(this),this[`${t||"hour"}El`]?.focus()}buttonActivated(t){const{key:i}=t;return" "===i&&t.preventDefault(),p(i)}getMeridiemOrder(t){const i=this.effectiveLocale;return t&&"ar"!==i&&"he"!==i?t.findIndex((t=>t.value===this.localizedMeridiem)):0}updateLocale(){$(this,this.effectiveLocale),this.hourCycle=function(t,i){return F("meridiem",T(t,i).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))?"12":"24"}(this.effectiveLocale,this.numberingSystem),this.setValue(this.value,!1)}connectedCallback(){Y(this),this.updateLocale(),_(this),this.updateShowSecond(),this.meridiemOrder=this.getMeridiemOrder(U({value:"0:00:00",locale:this.effectiveLocale,numberingSystem:this.numberingSystem}))}async componentWillLoad(){y(this),await H(this)}componentDidLoad(){w(this)}disconnectedCallback(){L(this),z(this)}render(){const t=M(this.hour),i="s"===this.scale||"m"===this.scale?"s":"m",n=M(this.minute),s=M(this.second),r="12"===this.hourCycle;return e("div",{class:{[Ct.timePicker]:!0,[Ct.showMeridiem]:r,[Ct.showSecond]:this.showSecond,[Ct[`scale-${this.scale}`]]:!0},dir:"ltr"},e("div",{class:Ct.column,role:"group"},e("span",{"aria-label":this.messages.hourUp,class:{[Ct.button]:!0,[Ct.buttonHourUp]:!0,[Ct.buttonTopLeft]:!0},onClick:this.incrementHour,onKeyDown:this.hourUpButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.hour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":t&&parseInt(this.hour)||"0","aria-valuetext":this.hour,class:{[Ct.input]:!0,[Ct.hour]:!0},onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setHourEl},this.localizedHour||"--"),e("span",{"aria-label":this.messages.hourDown,class:{[Ct.button]:!0,[Ct.buttonHourDown]:!0,[Ct.buttonBottomLeft]:!0},onClick:this.decrementHour,onKeyDown:this.hourDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))),e("span",{class:Ct.delimiter},this.localizedHourSuffix),e("div",{class:Ct.column,role:"group"},e("span",{"aria-label":this.messages.minuteUp,class:{[Ct.button]:!0,[Ct.buttonMinuteUp]:!0},onClick:this.incrementMinute,onKeyDown:this.minuteUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.minute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":n&&parseInt(this.minute)||"0","aria-valuetext":this.minute,class:{[Ct.input]:!0,[Ct.minute]:!0},onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setMinuteEl},this.localizedMinute||"--"),e("span",{"aria-label":this.messages.minuteDown,class:{[Ct.button]:!0,[Ct.buttonMinuteDown]:!0},onClick:this.decrementMinute,onKeyDown:this.minuteDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))),this.showSecond&&e("span",{class:Ct.delimiter},this.localizedMinuteSuffix),this.showSecond&&e("div",{class:Ct.column,role:"group"},e("span",{"aria-label":this.messages.secondUp,class:{[Ct.button]:!0,[Ct.buttonSecondUp]:!0},onClick:this.incrementSecond,onKeyDown:this.secondUpButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.second,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":s&&parseInt(this.second)||"0","aria-valuetext":this.second,class:{[Ct.input]:!0,[Ct.second]:!0},onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setSecondEl},this.localizedSecond||"--"),e("span",{"aria-label":this.messages.secondDown,class:{[Ct.button]:!0,[Ct.buttonSecondDown]:!0},onClick:this.decrementSecond,onKeyDown:this.secondDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))),this.localizedSecondSuffix&&e("span",{class:Ct.delimiter},this.localizedSecondSuffix),r&&e("div",{class:{[Ct.column]:!0,[Ct.meridiemStart]:0===this.meridiemOrder},role:"group"},e("span",{"aria-label":this.messages.meridiemUp,class:{[Ct.button]:!0,[Ct.buttonMeridiemUp]:!0,[Ct.buttonTopRight]:!0},onClick:this.incrementMeridiem,onKeyDown:this.meridiemUpButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.messages.meridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":"PM"===this.meridiem?"2":"1","aria-valuetext":this.meridiem,class:{[Ct.input]:!0,[Ct.meridiem]:!0},onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setMeridiemEl},this.localizedMeridiem||"--"),e("span",{"aria-label":this.messages.meridiemDown,class:{[Ct.button]:!0,[Ct.buttonMeridiemDown]:!0,[Ct.buttonBottomRight]:!0},onClick:this.decrementMeridiem,onKeyDown:this.meridiemDownButtonKeyDownHandler,role:"button"},e("calcite-icon",{icon:"chevron-down",scale:i}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{step:["stepChange"],value:["valueWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};Pt.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-app-z-index-header);outline-offset:0}.time-picker .button:active{background-color:var(--calcite-ui-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-ui-text-3)}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);z-index:var(--calcite-app-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);z-index:var(--calcite-app-z-index-header);outline-offset:0}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1.25rem}";export{Tt as I,Pt as T,bt as d}
@@ -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.5.0-next.3
4
+ * v1.5.0-next.6
5
5
  */
6
- import{d as _}from"./p-bb203532.js";import"./p-902b4f6e.js";import"./p-f6ccfae9.js";import"./p-50624216.js";import"./p-29b2baef.js";import"./p-c1848732.js";import"./p-6e162845.js";import"./p-e3479c79.js";import"./p-3333277a.js";import"./p-67356414.js";import"./p-a56fe1f7.js";import"./p-8c5ad359.js";import"./p-f8bfdbe4.js";import"./p-c121d63d.js";import"./p-428b49a8.js";var m={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_){return _+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(_){return _<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};_.locale(m,null,!0);export default m;
6
+ import{d as _}from"./p-2b9f5cff.js";import"./p-f9c1832e.js";import"./p-b0ecb7bf.js";import"./p-9e2db34b.js";import"./p-f9e32c47.js";import"./p-8ddb2ae1.js";import"./p-4918349a.js";import"./p-d8bd8114.js";import"./p-acb7f263.js";import"./p-ca21f1ff.js";import"./p-8412e551.js";import"./p-241913b7.js";import"./p-da2d526e.js";import"./p-c77494db.js";import"./p-e3040742.js";var m={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_){return _+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(_){return _<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};_.locale(m,null,!0);export default m;
@@ -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.5.0-next.3
4
+ * v1.5.0-next.6
5
5
  */
6
- import{r as e,c as t,f as i,h as a,H as s,a as n}from"./p-902b4f6e.js";import{f as o,c as r,b as l,a as c,r as h,F as d}from"./p-a8d4c15a.js";import{d as f,a as p,c as m,u}from"./p-c121d63d.js";import{i as g,t as v,p as b,q as y}from"./p-50624216.js";import{g as w}from"./p-29b2baef.js";import{c as x,d as k}from"./p-bc26f966.js";import{H as D}from"./p-e5f3c511.js";import{c as z,d as E}from"./p-8c5ad359.js";import{u as j,c as H,s as P,d as _}from"./p-428b49a8.js";import{i as C}from"./p-3333277a.js";import{s as L,a as O,c as R}from"./p-a56fe1f7.js";import{c as A}from"./p-f8bfdbe4.js";import{F as B}from"./p-c8628cde.js";import"./p-e3479c79.js";import"./p-1550d063.js";import"./p-c1848732.js";const F="close-button-container",S="header",T="aria-controls",M="aria-expanded",$=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=e=>{const{registeredElements:t}=this,i=e.find((e=>t.has(e)));return t.get(i)},this.togglePopovers=e=>{const t=e.composedPath(),i=this.queryPopover(t);i&&!i.triggerDisabled&&(i.open=!i.open),Array.from(this.registeredElements.values()).filter((e=>e!==i&&e.autoClose&&e.open&&!t.includes(e))).forEach((e=>e.open=!1))},this.keyHandler=e=>{e.defaultPrevented||("Escape"===e.key?this.closeAllPopovers():C(e.key)&&this.togglePopovers(e))},this.clickHandler=e=>{g(e)&&this.togglePopovers(e)}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t),1===this.registeredElementCount&&this.addListeners()}unregisterElement(e){this.registeredElements.delete(e)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach((e=>e.open=!1))}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},X=class{constructor(i){e(this,i),this.calcitePopoverBeforeClose=t(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=t(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=t(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=t(this,"calcitePopoverOpen",6),this.mutationObserver=A("mutation",(()=>this.updateFocusTrapElements())),this.guid=`calcite-popover-${w()}`,this.openTransitionProp="opacity",this.hasLoaded=!1,this.setTransitionEl=e=>{this.transitionEl=e,x(this)},this.setFilteredPlacements=()=>{const{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?o(t,e):null},this.setUpReferenceElement=(e=!0)=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),r(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:i,effectiveReferenceElement:a}=this;e&&i&&!a&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:e,open:t}=this;e&&"setAttribute"in e&&e.setAttribute(M,v(t))},this.addReferences=()=>{const{effectiveReferenceElement:e}=this;if(!e)return;const t=this.getId();"setAttribute"in e&&e.setAttribute(T,t),$.registerElement(e,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:e}=this;e&&("removeAttribute"in e&&(e.removeAttribute(T),e.removeAttribute(M)),$.unregisterElement(e))},this.hide=()=>{this.open=!1},this.storeArrowEl=e=>{this.arrowEl=e,this.reposition(!0)},this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.pointerDisabled=!1,this.flipPlacements=void 0,this.heading=void 0,this.headingLevel=void 0,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.offsetDistance=l,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.scale="m",this.triggerDisabled=!1,this.effectiveLocale="",this.floatingLayout="vertical",this.effectiveReferenceElement=void 0,this.defaultMessages=void 0}handlefocusTrapDisabled(e){this.open&&(e?f(this):p(this))}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(e){e&&this.reposition(!0),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}effectiveLocaleChange(){j(this,this.effectiveLocale)}connectedCallback(){this.setFilteredPlacements(),z(this),H(this),x(this),this.setUpReferenceElement(this.hasLoaded),m(this)}async componentWillLoad(){await P(this),L(this)}componentDidLoad(){O(this),this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),E(this),_(this),c(this,this.effectiveReferenceElement,this.el),k(this),f(this)}async reposition(e=!1){const{el:t,effectiveReferenceElement:i,placement:a,overlayPositioning:s,flipDisabled:n,filteredFlipPlacements:o,offsetDistance:r,offsetSkidding:l,arrowEl:c}=this;return h(this,{floatingEl:t,referenceEl:i,overlayPositioning:s,placement:a,flipDisabled:n,flipPlacements:o,offsetDistance:r,offsetSkidding:l,arrowEl:c,type:"popover"},e)}async setFocus(){await R(this),i(this.el),b(this.el)}async updateFocusTrapElements(){u(this)}getReferenceElement(){const{referenceElement:e,el:t}=this;return("string"==typeof e?y(t,{id:e}):e)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit(),p(this)}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),f(this)}renderCloseButton(){const{messages:e,closable:t}=this;return t?a("div",{class:F,key:F},a("calcite-action",{appearance:"transparent",class:"close-button",onClick:this.hide,scale:this.scale,text:e.close,ref:e=>this.closeButtonEl=e},a("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":this.scale}))):null}renderHeader(){const{heading:e,headingLevel:t}=this,i=e?a(D,{class:"heading",level:t},e):null;return i?a("div",{class:S,key:S},i,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:e,heading:t,label:i,open:n,pointerDisabled:o,floatingLayout:r}=this,l=e&&n,c=!l,h=o?null:a(B,{floatingLayout:r,key:"floating-arrow",ref:this.storeArrowEl});return a(s,{"aria-hidden":v(c),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":c,id:this.getId(),role:"dialog"},a("div",{class:{[d.animation]:!0,[d.animationActive]:l},ref:this.setTransitionEl},h,a("div",{class:{"has-header":!!t,container:!0}},this.renderHeader(),a("div",{class:"content"},a("slot",null)),t?null:this.renderCloseButton())))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handlefocusTrapDisabled"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"],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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, var(--calcite-app-z-index-popup));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}:host([scale=s]) .heading{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding-inline:1.25rem;padding-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;color:var(--calcite-ui-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}";export{X as calcite_popover}
6
+ import{r as e,c as t,f as i,h as a,H as s,a as n}from"./p-f9c1832e.js";import{f as o,c as r,b as l,a as c,r as d,F as h}from"./p-b94484ea.js";import{d as f,a as p,c as m,u}from"./p-c77494db.js";import{i as g,t as v,p as b,q as y}from"./p-9e2db34b.js";import{g as w}from"./p-f9e32c47.js";import{c as x,d as k}from"./p-03d4b8a6.js";import{H as D}from"./p-0e7f5ff2.js";import{c as z,d as E}from"./p-241913b7.js";import{u as j,c as H,s as P,d as _}from"./p-e3040742.js";import{i as C}from"./p-acb7f263.js";import{s as L,a as O,c as R}from"./p-8412e551.js";import{c as A}from"./p-da2d526e.js";import{F as B}from"./p-674a3ba7.js";import"./p-d8bd8114.js";import"./p-4b9211fd.js";import"./p-8ddb2ae1.js";const F="close-button-container",S="header",T="aria-controls",M="aria-expanded",$=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=e=>{const{registeredElements:t}=this,i=e.find((e=>t.has(e)));return t.get(i)},this.togglePopovers=e=>{const t=e.composedPath(),i=this.queryPopover(t);i&&!i.triggerDisabled&&(i.open=!i.open),Array.from(this.registeredElements.values()).filter((e=>e!==i&&e.autoClose&&e.open&&!t.includes(e))).forEach((e=>e.open=!1))},this.keyHandler=e=>{e.defaultPrevented||("Escape"===e.key?this.closeAllPopovers():C(e.key)&&this.togglePopovers(e))},this.clickHandler=e=>{g(e)&&this.togglePopovers(e)}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t),1===this.registeredElementCount&&this.addListeners()}unregisterElement(e){this.registeredElements.delete(e)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach((e=>e.open=!1))}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},X=class{constructor(i){e(this,i),this.calcitePopoverBeforeClose=t(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=t(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=t(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=t(this,"calcitePopoverOpen",6),this.mutationObserver=A("mutation",(()=>this.updateFocusTrapElements())),this.guid=`calcite-popover-${w()}`,this.openTransitionProp="opacity",this.hasLoaded=!1,this.setTransitionEl=e=>{this.transitionEl=e,x(this)},this.setFilteredPlacements=()=>{const{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?o(t,e):null},this.setUpReferenceElement=(e=!0)=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),r(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:i,effectiveReferenceElement:a}=this;e&&i&&!a&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:e,open:t}=this;e&&"setAttribute"in e&&e.setAttribute(M,v(t))},this.addReferences=()=>{const{effectiveReferenceElement:e}=this;if(!e)return;const t=this.getId();"setAttribute"in e&&e.setAttribute(T,t),$.registerElement(e,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:e}=this;e&&("removeAttribute"in e&&(e.removeAttribute(T),e.removeAttribute(M)),$.unregisterElement(e))},this.hide=()=>{this.open=!1},this.storeArrowEl=e=>{this.arrowEl=e,this.reposition(!0)},this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.pointerDisabled=!1,this.flipPlacements=void 0,this.heading=void 0,this.headingLevel=void 0,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.offsetDistance=l,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.scale="m",this.triggerDisabled=!1,this.effectiveLocale="",this.floatingLayout="vertical",this.effectiveReferenceElement=void 0,this.defaultMessages=void 0}handlefocusTrapDisabled(e){this.open&&(e?f(this):p(this))}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(e){e&&this.reposition(!0),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}effectiveLocaleChange(){j(this,this.effectiveLocale)}connectedCallback(){this.setFilteredPlacements(),z(this),H(this),x(this),this.setUpReferenceElement(this.hasLoaded),m(this)}async componentWillLoad(){await P(this),L(this)}componentDidLoad(){O(this),this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),E(this),_(this),c(this,this.effectiveReferenceElement,this.el),k(this),f(this)}async reposition(e=!1){const{el:t,effectiveReferenceElement:i,placement:a,overlayPositioning:s,flipDisabled:n,filteredFlipPlacements:o,offsetDistance:r,offsetSkidding:l,arrowEl:c}=this;return d(this,{floatingEl:t,referenceEl:i,overlayPositioning:s,placement:a,flipDisabled:n,flipPlacements:o,offsetDistance:r,offsetSkidding:l,arrowEl:c,type:"popover"},e)}async setFocus(){await R(this),i(this.el),b(this.el)}async updateFocusTrapElements(){u(this)}getReferenceElement(){const{referenceElement:e,el:t}=this;return("string"==typeof e?y(t,{id:e}):e)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit(),p(this)}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),f(this)}renderCloseButton(){const{messages:e,closable:t}=this;return t?a("div",{class:F,key:F},a("calcite-action",{appearance:"transparent",class:"close-button",onClick:this.hide,scale:this.scale,text:e.close,ref:e=>this.closeButtonEl=e},a("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":this.scale}))):null}renderHeader(){const{heading:e,headingLevel:t}=this,i=e?a(D,{class:"heading",level:t},e):null;return i?a("div",{class:S,key:S},i,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:e,heading:t,label:i,open:n,pointerDisabled:o,floatingLayout:r}=this,l=e&&n,c=!l,d=o?null:a(B,{floatingLayout:r,key:"floating-arrow",ref:this.storeArrowEl});return a(s,{"aria-hidden":v(c),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":c,id:this.getId(),role:"dialog"},a("div",{class:{[h.animation]:!0,[h.animationActive]:l},ref:this.setTransitionEl},d,a("div",{class:{"has-header":!!t,container:!0}},this.renderHeader(),a("div",{class:"content"},a("slot",null)),t?null:this.renderCloseButton())))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handlefocusTrapDisabled"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"],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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, var(--calcite-app-z-index-popup));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}:host([scale=s]) .heading{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding-inline:1.25rem;padding-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;color:var(--calcite-ui-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}";export{X as calcite_popover}
@@ -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.5.0-next.3
4
+ * v1.5.0-next.6
5
5
  */
6
- import{r as t,h as e,F as a,a as i,f as n}from"./p-902b4f6e.js";import{c as o,d as l}from"./p-386f62e0.js";import{d as r,s,g as c,b as h,i as d}from"./p-50624216.js";import{c as p,d as m}from"./p-8c5ad359.js";import{c as x}from"./p-6cc841ca.js";import{c as f,s as u,d as b,u as w}from"./p-428b49a8.js";import{C as v}from"./p-c1848732.js";import"./p-f8bfdbe4.js";import"./p-29b2baef.js";import"./p-3333277a.js";const y="content",g=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!r(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!r(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!r(t),s(t)?.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!r(t),s(t)?.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1}connectedCallback(){o(this)}disconnectedCallback(){l(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},e("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=e("slot",{key:"default-slot"}),a=e("slot",{key:"center-row-slot",name:"center-row"}),i=e("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),n=e("slot",{key:"panel-top-slot",name:"panel-top"}),o="content-container";return this.contentBehind?[e("div",{class:{[y]:!0,"content--behind":!0},key:o},t),e("div",{class:"center-content"},n,i,a)]:[e("div",{class:y,key:o},n,t,i,a)]}renderMain(){return e("div",{class:"main"},e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}))}renderPositionedSlots(){return e("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals())}render(){return e(a,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return i(this)}};g.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-app-z-index) - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-app-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}";const z="action-bar",k=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){o(this)}disconnectedCallback(){l(this)}render(){const{el:t}=this,i=e("div",{class:"content"},e("slot",null)),n=c(t,z),o=[n?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:z})):null,i];return"end"===n?.position&&o.reverse(),e(a,null,o)}get el(){return i(this)}};k.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{z-index:var(--calcite-app-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";const _="header",D=class{constructor(e){t(this,e),this.initialContentWidth=null,this.initialContentHeight=null,this.initialClientX=null,this.initialClientY=null,this.contentWidthMax=null,this.contentWidthMin=null,this.contentHeightMax=null,this.contentHeightMin=null,this.step=1,this.stepMultiplier=10,this.actionBars=[],this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedSize=t=>{const{key:e}=t,{el:a,step:i,stepMultiplier:n,layout:o,contentWidthMin:l,contentWidthMax:r,initialContentWidth:s,initialContentHeight:c,contentHeightMin:d,contentHeightMax:p,position:m}=this,x=i*n;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const f=["ArrowLeft","ArrowRight"],u=["ArrowDown","ArrowUp"],b="rtl"===h(a)&&f.includes(e)?-1:1;if("horizontal"===o?"end"===m?e===u[1]||e===f[0]:e===u[0]||e===f[1]:e===u[1]||("end"===m?e===f[0]:e===f[1])){const e=t.shiftKey?x:i;return"horizontal"===o?c+b*e:s+b*e}if("horizontal"===o?"end"===m?e===u[0]||e===f[0]:e===u[1]||e===f[1]:e===u[0]||("end"===m?e===f[1]:e===f[0])){const e=t.shiftKey?x:i;return"horizontal"===o?c-b*e:s-b*e}return"Home"===e&&"horizontal"===o&&"number"==typeof d?d:"Home"===e&&"vertical"===o&&"number"==typeof l?l:"End"===e&&"horizontal"===o&&"number"==typeof p?p:"End"===e&&"vertical"===o&&"number"==typeof r?r:"PageDown"===e?"horizontal"===o?c-x:s-x:"PageUp"===e?"horizontal"===o?c+x:s+x:null},this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentWidth(e)},this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentHeight(e)},this.separatorKeyDown=t=>{"horizontal"===this.layout?this.initialKeydownHeight(t):this.initialKeydownWidth(t)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:a,initialContentWidth:i,initialContentHeight:n,position:o,initialClientX:l,initialClientY:r}=this,s="horizontal"===a?t.clientY-r:t.clientX-l,c="vertical"===a&&"rtl"===h(e)?-1:1,d="end"===o?-c*s:c*s;"horizontal"===a?this.setContentHeight(n+d):this.setContentWidth(i+d)},this.separatorPointerUp=t=>{d(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{this.initialContentHeight=this.contentEl?.getBoundingClientRect().height},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!d(t))return;t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),"horizontal"===this.layout?(this.setInitialContentHeight(),this.initialClientY=t.clientY):(this.setInitialContentWidth(),this.initialClientX=t.clientX),document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t?.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=s(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale=""}handleDetached(t){t?this.displayMode="float":"float"===this.displayMode&&(this.displayMode="dock")}handleDisplayMode(t){this.detached="float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){o(this),p(this),f(this)}async componentWillLoad(){await u(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),m(this),b(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){w(this,this.effectiveLocale)}renderHeader(){const{el:t}=this;return c(t,_)?e("div",{class:"content__header",key:"header"},e("slot",{name:_})):null}render(){const{collapsed:t,position:a,initialContentWidth:i,initialContentHeight:n,contentWidth:o,contentWidthMax:l,contentWidthMin:r,contentHeight:s,contentHeightMax:c,contentHeightMin:d,resizable:p,layout:m,displayMode:x}=this,f=h(this.el),u="float"!==x&&p,b=u?"horizontal"===m?s?{height:`${s}px`}:null:o?{width:`${o}px`}:null:null,w=!t&&u?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===m?"vertical":"horizontal","aria-valuemax":"horizontal"==m?c:l,"aria-valuemin":"horizontal"==m?d:r,"aria-valuenow":"horizontal"==m?s??n:o??i,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,y=e("div",{class:{[v.rtl]:"rtl"===f,content:!0,"content--overlay":"overlay"===x,"content--float":"float"===x,[v.calciteAnimate]:"overlay"===x,["horizontal"===m?"start"===a?v.calciteAnimateInDown:v.calciteAnimateInUp:"ltr"===f&&"end"===a||"rtl"===f&&"start"===a?v.calciteAnimateInLeft:v.calciteAnimateInRight]:"overlay"===x},hidden:t,key:"content",style:b,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null)),w),g=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),y];return"end"===a&&g.reverse(),e("div",{class:{container:!0}},g)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:a}=this,i=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof a?x(i,a,e):i}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),n(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:a}=this,i=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof a?x(i,a,e):i}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),a=parseInt(t.getPropertyValue("min-width"),10),i=parseInt(t.getPropertyValue("width"),10);"number"!=typeof i||isNaN(i)||(this.initialContentWidth=i),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof a||isNaN(a)||(this.contentWidthMin=a)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),a=parseInt(t.getPropertyValue("min-height"),10),i=parseInt(t.getPropertyValue("height"),10);"number"!=typeof i||isNaN(i)||(this.initialContentHeight=i),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof a||isNaN(a)||(this.contentHeightMin=a)}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-app-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-shell-panel-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-shell-panel-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index-header) + 1))}:host([layout=vertical][width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 5vh);--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]) .content{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}:host([layout=horizontal]) .content{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-start-internal)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-end-internal)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-shell-panel-shadow-block-start-internal)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-shell-panel-shadow-block-end-internal)}.content--float{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-max-height-internal, calc(100% - 1rem))}.content--float ::slotted(calcite-panel),.content--float ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .content--float{margin-block:0.5rem}:host([position=start]) .content--float ::slotted(calcite-panel),:host([position=start]) .content--float ::slotted(calcite-flow),:host([position=end]) .content--float ::slotted(calcite-panel),:host([position=end]) .content--float ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}";export{g as calcite_shell,k as calcite_shell_center_row,D as calcite_shell_panel}
6
+ import{r as t,h as e,F as a,a as i,f as n}from"./p-f9c1832e.js";import{c as o,d as l}from"./p-8b1d518b.js";import{d as r,s,g as c,b as h,i as d}from"./p-9e2db34b.js";import{c as p,d as m}from"./p-241913b7.js";import{c as x}from"./p-e68f9140.js";import{c as f,s as u,d as b,u as w}from"./p-e3040742.js";import{C as v}from"./p-8ddb2ae1.js";import"./p-da2d526e.js";import"./p-f9e32c47.js";import"./p-acb7f263.js";const y="content",g=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!r(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!r(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!r(t),s(t)?.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!r(t),s(t)?.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1}connectedCallback(){o(this)}disconnectedCallback(){l(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},e("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=e("slot",{key:"default-slot"}),a=e("slot",{key:"center-row-slot",name:"center-row"}),i=e("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),n=e("slot",{key:"panel-top-slot",name:"panel-top"}),o="content-container";return this.contentBehind?[e("div",{class:{[y]:!0,"content--behind":!0},key:o},t),e("div",{class:"center-content"},n,i,a)]:[e("div",{class:y,key:o},n,t,i,a)]}renderMain(){return e("div",{class:"main"},e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}))}renderPositionedSlots(){return e("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals())}render(){return e(a,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return i(this)}};g.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-app-z-index) - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-app-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}";const z="action-bar",k=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){o(this)}disconnectedCallback(){l(this)}render(){const{el:t}=this,i=e("div",{class:"content"},e("slot",null)),n=c(t,z),o=[n?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:z})):null,i];return"end"===n?.position&&o.reverse(),e(a,null,o)}get el(){return i(this)}};k.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{z-index:var(--calcite-app-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";const _="header",D=class{constructor(e){t(this,e),this.initialContentWidth=null,this.initialContentHeight=null,this.initialClientX=null,this.initialClientY=null,this.contentWidthMax=null,this.contentWidthMin=null,this.contentHeightMax=null,this.contentHeightMin=null,this.step=1,this.stepMultiplier=10,this.actionBars=[],this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedSize=t=>{const{key:e}=t,{el:a,step:i,stepMultiplier:n,layout:o,contentWidthMin:l,contentWidthMax:r,initialContentWidth:s,initialContentHeight:c,contentHeightMin:d,contentHeightMax:p,position:m}=this,x=i*n;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const f=["ArrowLeft","ArrowRight"],u=["ArrowDown","ArrowUp"],b="rtl"===h(a)&&f.includes(e)?-1:1;if("horizontal"===o?"end"===m?e===u[1]||e===f[0]:e===u[0]||e===f[1]:e===u[1]||("end"===m?e===f[0]:e===f[1])){const e=t.shiftKey?x:i;return"horizontal"===o?c+b*e:s+b*e}if("horizontal"===o?"end"===m?e===u[0]||e===f[0]:e===u[1]||e===f[1]:e===u[0]||("end"===m?e===f[1]:e===f[0])){const e=t.shiftKey?x:i;return"horizontal"===o?c-b*e:s-b*e}return"Home"===e&&"horizontal"===o&&"number"==typeof d?d:"Home"===e&&"vertical"===o&&"number"==typeof l?l:"End"===e&&"horizontal"===o&&"number"==typeof p?p:"End"===e&&"vertical"===o&&"number"==typeof r?r:"PageDown"===e?"horizontal"===o?c-x:s-x:"PageUp"===e?"horizontal"===o?c+x:s+x:null},this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentWidth(e)},this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentHeight(e)},this.separatorKeyDown=t=>{"horizontal"===this.layout?this.initialKeydownHeight(t):this.initialKeydownWidth(t)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:a,initialContentWidth:i,initialContentHeight:n,position:o,initialClientX:l,initialClientY:r}=this,s="horizontal"===a?t.clientY-r:t.clientX-l,c="vertical"===a&&"rtl"===h(e)?-1:1,d="end"===o?-c*s:c*s;"horizontal"===a?this.setContentHeight(n+d):this.setContentWidth(i+d)},this.separatorPointerUp=t=>{d(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{this.initialContentHeight=this.contentEl?.getBoundingClientRect().height},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!d(t))return;t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),"horizontal"===this.layout?(this.setInitialContentHeight(),this.initialClientY=t.clientY):(this.setInitialContentWidth(),this.initialClientX=t.clientX),document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t?.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=s(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale=""}handleDetached(t){t?this.displayMode="float":"float"===this.displayMode&&(this.displayMode="dock")}handleDisplayMode(t){this.detached="float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){o(this),p(this),f(this)}async componentWillLoad(){await u(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),m(this),b(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){w(this,this.effectiveLocale)}renderHeader(){const{el:t}=this;return c(t,_)?e("div",{class:"content__header",key:"header"},e("slot",{name:_})):null}render(){const{collapsed:t,position:a,initialContentWidth:i,initialContentHeight:n,contentWidth:o,contentWidthMax:l,contentWidthMin:r,contentHeight:s,contentHeightMax:c,contentHeightMin:d,resizable:p,layout:m,displayMode:x}=this,f=h(this.el),u="float"!==x&&p,b=u?"horizontal"===m?s?{height:`${s}px`}:null:o?{width:`${o}px`}:null:null,w=!t&&u?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===m?"vertical":"horizontal","aria-valuemax":"horizontal"==m?c:l,"aria-valuemin":"horizontal"==m?d:r,"aria-valuenow":"horizontal"==m?s??n:o??i,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,y=e("div",{class:{[v.rtl]:"rtl"===f,content:!0,"content--overlay":"overlay"===x,"content--float":"float"===x,[v.calciteAnimate]:"overlay"===x,["horizontal"===m?"start"===a?v.calciteAnimateInDown:v.calciteAnimateInUp:"ltr"===f&&"end"===a||"rtl"===f&&"start"===a?v.calciteAnimateInLeft:v.calciteAnimateInRight]:"overlay"===x},hidden:t,key:"content",style:b,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null)),w),g=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),y];return"end"===a&&g.reverse(),e("div",{class:{container:!0}},g)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:a}=this,i=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof a?x(i,a,e):i}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),n(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:a}=this,i=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof a?x(i,a,e):i}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),a=parseInt(t.getPropertyValue("min-width"),10),i=parseInt(t.getPropertyValue("width"),10);"number"!=typeof i||isNaN(i)||(this.initialContentWidth=i),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof a||isNaN(a)||(this.contentWidthMin=a)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),a=parseInt(t.getPropertyValue("min-height"),10),i=parseInt(t.getPropertyValue("height"),10);"number"!=typeof i||isNaN(i)||(this.initialContentHeight=i),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof a||isNaN(a)||(this.contentHeightMin=a)}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-app-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-shell-panel-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-shell-panel-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index-header) + 1))}:host([layout=vertical][width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 5vh);--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]) .content{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}:host([layout=horizontal]) .content{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-start-internal)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-end-internal)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-shell-panel-shadow-block-start-internal)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-shell-panel-shadow-block-end-internal)}.content--float{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-max-height-internal, calc(100% - 1rem))}.content--float ::slotted(calcite-panel),.content--float ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .content--float{margin-block:0.5rem}:host([position=start]) .content--float ::slotted(calcite-panel),:host([position=start]) .content--float ::slotted(calcite-flow),:host([position=end]) .content--float ::slotted(calcite-panel),:host([position=end]) .content--float ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}";export{g as calcite_shell,k as calcite_shell_center_row,D as calcite_shell_panel}
@@ -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.5.0-next.3
4
+ * v1.5.0-next.6
5
5
  */
6
- import{a as r,S as t,i as n,b as e,c as o,r as u,f}from"./p-1550d063.js";var c=Array.isArray,a=t?t.prototype:void 0,i=a?a.toString:void 0;function l(t){if("string"==typeof t)return t;if(c(t))return function(r,t){for(var n=-1,e=null==r?0:r.length,o=Array(e);++n<e;)o[n]=t(r[n],n,r);return o}(t,l)+"";if(r(t))return i?i.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function s(r){return r}var v=/^(?:0|[1-9]\d*)$/;function b(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&v.test(r))&&r>-1&&r%1==0&&r<t}function p(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var y=Object.prototype;function d(r){return o(r)&&"[object Arguments]"==e(r)}var j=Object.prototype,m=j.hasOwnProperty,x=j.propertyIsEnumerable,g=d(function(){return arguments}())?d:function(r){return o(r)&&m.call(r,"callee")&&!x.call(r,"callee")},O="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=O&&"object"==typeof module&&module&&!module.nodeType&&module,A=h&&h.exports===O?u.Buffer:void 0,F=(A?A.isBuffer:void 0)||function(){return!1},$={};$["[object Float32Array]"]=$["[object Float64Array]"]=$["[object Int8Array]"]=$["[object Int16Array]"]=$["[object Int32Array]"]=$["[object Uint8Array]"]=$["[object Uint8ClampedArray]"]=$["[object Uint16Array]"]=$["[object Uint32Array]"]=!0,$["[object Arguments]"]=$["[object Array]"]=$["[object ArrayBuffer]"]=$["[object Boolean]"]=$["[object DataView]"]=$["[object Date]"]=$["[object Error]"]=$["[object Function]"]=$["[object Map]"]=$["[object Number]"]=$["[object Object]"]=$["[object RegExp]"]=$["[object Set]"]=$["[object String]"]=$["[object WeakMap]"]=!1;var w,E="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=E&&"object"==typeof module&&module&&!module.nodeType&&module,S=R&&R.exports===E&&f.process,k=function(){try{return R&&R.require&&R.require("util").types||S&&S.binding&&S.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(w=G,function(r){return w(r)}):function(r){return o(r)&&p(r.length)&&!!$[e(r)]},N=Object.prototype.hasOwnProperty;var P=Object.prototype.hasOwnProperty;function T(r){return null!=(t=r)&&p(t.length)&&!function(r){if(!n(r))return!1;var t=e(r);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(t)?function(r,t){var n=c(r),e=!n&&g(r),o=!n&&!e&&F(r),u=!n&&!e&&!o&&L(r),f=n||e||o||u,a=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],i=a.length;for(var l in r)!t&&!N.call(r,l)||f&&("length"==l||o&&("offset"==l||"parent"==l)||u&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||b(l,i))||a.push(l);return a}(r,!0):function(r){if(!n(r))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(r);var t,e,o=(t=r)===("function"==typeof(e=t&&t.constructor)&&e.prototype||y),u=[];for(var f in r)("constructor"!=f||!o&&P.call(r,f))&&u.push(f);return u}(r);var t}var q=/[\\^$.*+?()[\]{}|]/g,z=RegExp(q.source);function B(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),f=u.length;f--;){var c=u[++e];if(!1===t(o[c],c,o))break}return r}(r,"function"==typeof(n=t)?n:s,T);var n}const C=(r,t)=>{const n=function(r){var t;return(r=null==(t=r)?"":l(t))&&z.test(r)?r.replace(q,"\\$&"):r}(t),e=new RegExp(n,"i");0===r.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const o=(r,t)=>{if(r?.constant||r?.filterDisabled)return!0;let n=!1;return B(r,(r=>{"function"!=typeof r&&null!=r&&(Array.isArray(r)||"object"==typeof r&&null!==r?o(r,t)&&(n=!0):t.test(r)&&(n=!0))})),n};return r.filter((r=>o(r,e)))};export{C as f}
6
+ import{a as r,S as t,i as n,b as e,c as o,r as u,f}from"./p-4b9211fd.js";var c=Array.isArray,a=t?t.prototype:void 0,i=a?a.toString:void 0;function l(t){if("string"==typeof t)return t;if(c(t))return function(r,t){for(var n=-1,e=null==r?0:r.length,o=Array(e);++n<e;)o[n]=t(r[n],n,r);return o}(t,l)+"";if(r(t))return i?i.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function s(r){return r}var b=/^(?:0|[1-9]\d*)$/;function v(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&b.test(r))&&r>-1&&r%1==0&&r<t}function p(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var y=Object.prototype;function d(r){return o(r)&&"[object Arguments]"==e(r)}var j=Object.prototype,m=j.hasOwnProperty,x=j.propertyIsEnumerable,g=d(function(){return arguments}())?d:function(r){return o(r)&&m.call(r,"callee")&&!x.call(r,"callee")},O="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=O&&"object"==typeof module&&module&&!module.nodeType&&module,A=h&&h.exports===O?u.Buffer:void 0,F=(A?A.isBuffer:void 0)||function(){return!1},$={};$["[object Float32Array]"]=$["[object Float64Array]"]=$["[object Int8Array]"]=$["[object Int16Array]"]=$["[object Int32Array]"]=$["[object Uint8Array]"]=$["[object Uint8ClampedArray]"]=$["[object Uint16Array]"]=$["[object Uint32Array]"]=!0,$["[object Arguments]"]=$["[object Array]"]=$["[object ArrayBuffer]"]=$["[object Boolean]"]=$["[object DataView]"]=$["[object Date]"]=$["[object Error]"]=$["[object Function]"]=$["[object Map]"]=$["[object Number]"]=$["[object Object]"]=$["[object RegExp]"]=$["[object Set]"]=$["[object String]"]=$["[object WeakMap]"]=!1;var w,E="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=E&&"object"==typeof module&&module&&!module.nodeType&&module,S=R&&R.exports===E&&f.process,k=function(){try{return R&&R.require&&R.require("util").types||S&&S.binding&&S.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(w=G,function(r){return w(r)}):function(r){return o(r)&&p(r.length)&&!!$[e(r)]},N=Object.prototype.hasOwnProperty;var P=Object.prototype.hasOwnProperty;function T(r){return null!=(t=r)&&p(t.length)&&!function(r){if(!n(r))return!1;var t=e(r);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(t)?function(r,t){var n=c(r),e=!n&&g(r),o=!n&&!e&&F(r),u=!n&&!e&&!o&&L(r),f=n||e||o||u,a=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],i=a.length;for(var l in r)!t&&!N.call(r,l)||f&&("length"==l||o&&("offset"==l||"parent"==l)||u&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||v(l,i))||a.push(l);return a}(r,!0):function(r){if(!n(r))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(r);var t,e,o=(t=r)===("function"==typeof(e=t&&t.constructor)&&e.prototype||y),u=[];for(var f in r)("constructor"!=f||!o&&P.call(r,f))&&u.push(f);return u}(r);var t}var q=/[\\^$.*+?()[\]{}|]/g,z=RegExp(q.source);function B(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),f=u.length;f--;){var c=u[++e];if(!1===t(o[c],c,o))break}return r}(r,"function"==typeof(n=t)?n:s,T);var n}const C=(r,t)=>{const n=function(r){var t;return(r=null==(t=r)?"":l(t))&&z.test(r)?r.replace(q,"\\$&"):r}(t),e=new RegExp(n,"i");0===r.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const o=(r,t)=>{if(r?.constant||r?.filterDisabled)return!0;let n=!1;return B(r,(r=>{"function"!=typeof r&&null!=r&&(Array.isArray(r)||"object"==typeof r&&null!==r?o(r,t)&&(n=!0):t.test(r)&&(n=!0))})),n};return r.filter((r=>o(r,e)))};export{C as f}
@@ -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.5.0-next.3
4
+ * v1.5.0-next.6
5
5
  */
6
6
  const n={menuActions:"menu-actions",menuTooltip:"menu-tooltip"},o={menu:"ellipsis"};export{o as I,n 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.5.0-next.3
4
+ * v1.5.0-next.6
5
5
  */
6
- import{d as s}from"./p-bb203532.js";import"./p-902b4f6e.js";import"./p-f6ccfae9.js";import"./p-50624216.js";import"./p-29b2baef.js";import"./p-c1848732.js";import"./p-6e162845.js";import"./p-e3479c79.js";import"./p-3333277a.js";import"./p-67356414.js";import"./p-a56fe1f7.js";import"./p-8c5ad359.js";import"./p-f8bfdbe4.js";import"./p-c121d63d.js";import"./p-428b49a8.js";var m={name:"lv",weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),weekStart:1,weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),ordinal:function(s){return s},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},relativeTime:{future:"pēc %s",past:"pirms %s",s:"dažām sekundēm",m:"minūtes",mm:"%d minūtēm",h:"stundas",hh:"%d stundām",d:"dienas",dd:"%d dienām",M:"mēneša",MM:"%d mēnešiem",y:"gada",yy:"%d gadiem"}};s.locale(m,null,!0);export default m;
6
+ import{d as s}from"./p-2b9f5cff.js";import"./p-f9c1832e.js";import"./p-b0ecb7bf.js";import"./p-9e2db34b.js";import"./p-f9e32c47.js";import"./p-8ddb2ae1.js";import"./p-4918349a.js";import"./p-d8bd8114.js";import"./p-acb7f263.js";import"./p-ca21f1ff.js";import"./p-8412e551.js";import"./p-241913b7.js";import"./p-da2d526e.js";import"./p-c77494db.js";import"./p-e3040742.js";var e={name:"lv",weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),weekStart:1,weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),ordinal:function(s){return s},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},relativeTime:{future:"pēc %s",past:"pirms %s",s:"dažām sekundēm",m:"minūtes",mm:"%d minūtēm",h:"stundas",hh:"%d stundām",d:"dienas",dd:"%d dienām",M:"mēneša",MM:"%d mēnešiem",y:"gada",yy:"%d gadiem"}};s.locale(e,null,!0);export default e;