@revolist/ui 4.0.2-rc → 4.0.2

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 (343) hide show
  1. package/LICENSE +21 -0
  2. package/MIGRATION.md +36 -0
  3. package/OWNERSHIP.md +32 -32
  4. package/README.md +405 -265
  5. package/_button.scss +6 -2
  6. package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
  7. package/_chunks/calculator-CDWOuAcp.js +4 -0
  8. package/_chunks/{calendar-CpaUK7w1.js → calendar-CgXQgkga.js} +28 -18
  9. package/_chunks/chart-frame-hcOlnQ1K.js +145 -0
  10. package/_chunks/{chevron-right-sxHQMSkq.js → check-BwI7iCAm.js} +2 -2
  11. package/_chunks/{chevron-left-D0nc4Z5S.js → chevron-right-CM3ljziP.js} +2 -2
  12. package/_chunks/choice-chips-SkllS5Kl.js +126 -0
  13. package/_chunks/clock-BOhPNlW3.js +4 -0
  14. package/_chunks/{color-palette-BBMFmUNA.js → color-palette-DMJUChWC.js} +20 -22
  15. package/_chunks/{color-picker-D90Jg-M8.js → color-picker-BpCTuIdm.js} +77 -72
  16. package/_chunks/{component-YDcfoOLz.js → component-CfeHXgIw.js} +301 -282
  17. package/_chunks/{component-metadata-BENbgTjU.js → component-metadata-BKd7U8OW.js} +0 -12
  18. package/_chunks/configurator-actions-DnStE6Yl.js +155 -0
  19. package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
  20. package/_chunks/control-Dcrjsunl.js +118 -0
  21. package/_chunks/{controls-DIum-E66.js → controls-B_6NJarZ.js} +217 -182
  22. package/_chunks/{date-control-BJSzu79z.js → date-control-C4h4m75W.js} +1 -1
  23. package/_chunks/{date-time-BxPJusp9.js → date-time-CTOSbzb0.js} +344 -307
  24. package/_chunks/{delete-button-Bblyah10.js → delete-button-CW9vjLnk.js} +6 -6
  25. package/_chunks/dialog.parts-3w5FR06n.js +131 -0
  26. package/_chunks/{duration-87U2EoMS.js → duration-Bf2OS1V5.js} +19 -18
  27. package/_chunks/editor-popup-ByU7qiub.js +82 -0
  28. package/_chunks/field-configurator-D5dZRhDe.js +288 -0
  29. package/_chunks/field-context-D57PnBbH.js +5 -0
  30. package/_chunks/{framework-mount-C-Zwm44H.js → framework-mount-Bk4O_T7T.js} +1 -1
  31. package/_chunks/icon-toolbar-DSjOdwM7.js +134 -0
  32. package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
  33. package/_chunks/minus-BOAR3A1C.js +4 -0
  34. package/_chunks/mount-BRdcG60g.js +267 -0
  35. package/_chunks/{native.view-ByyZ1CT5.js → native-Blr3byjO.js} +1 -1
  36. package/_chunks/native-control-B_fVA5bL.js +649 -0
  37. package/_chunks/{number-input-BeIadZuL.js → number-input-CmM6_2vR.js} +7 -7
  38. package/_chunks/{picker-DpP7iQLA.js → picker-DTqET-2W.js} +2 -2
  39. package/_chunks/plus-CbGRkIGl.js +4 -0
  40. package/_chunks/popover-controller-D-AvKQ7B.js +102 -0
  41. package/_chunks/popup-C35Isk7p.js +378 -0
  42. package/_chunks/{rating-choice-Ca8ZBty3.js → rating-choice-C-6wcb9U.js} +1 -1
  43. package/_chunks/render-m5eMMwFR.js +83 -0
  44. package/_chunks/{reorder-list-Cc3KmfAN.js → reorder-list-DIl1gkV6.js} +1 -1
  45. package/_chunks/request-trail-DrhdpWiH.js +762 -0
  46. package/_chunks/rich-text-BnilBbhU.js +842 -0
  47. package/_chunks/rotate-left-BF6G883o.js +4 -0
  48. package/_chunks/rotate-right-Iha5ScJ1.js +4 -0
  49. package/_chunks/selection-list-tooltips-C5oMJe26.js +42 -0
  50. package/_chunks/title-tooltip-Cw6LOZhb.js +11 -0
  51. package/_chunks/tooltip-D4xkio5G.js +54 -0
  52. package/_chunks/tooltip-owner-DjdvqKzz.js +19 -0
  53. package/_chunks/tooltip-session-B6X6x8G_.js +110 -0
  54. package/_chunks/tooltip-text-BXsUEmBH.js +12 -0
  55. package/_chunks/top-layer-popup-CNSDdfJV.js +59 -0
  56. package/_dialog.scss +55 -21
  57. package/_form.scss +71 -21
  58. package/_legend.scss +25 -7
  59. package/_shared/data-query/index.d.ts +2 -2
  60. package/_shared/data-query/load-options.d.ts +2 -2
  61. package/_variables.scss +34 -32
  62. package/_view-switcher.scss +6 -0
  63. package/activity-message.d.ts +1 -1
  64. package/ai/_chat.scss +227 -0
  65. package/ai/_style.scss +170 -39
  66. package/ai/chat.d.ts +65 -0
  67. package/ai/components.d.ts +34 -5
  68. package/ai/index.d.ts +3 -0
  69. package/ai/index.js +3 -3
  70. package/ai/mount.d.ts +59 -6
  71. package/ai/prompt-history.d.ts +13 -0
  72. package/ai/request-trail.d.ts +9 -3
  73. package/ai/results/_style.scss +83 -0
  74. package/ai/results/index.d.ts +11 -0
  75. package/ai/results/metrics.d.ts +5 -0
  76. package/ai/results/table.d.ts +5 -0
  77. package/ai/results/text.d.ts +5 -0
  78. package/ai/results/types.d.ts +29 -0
  79. package/ai/transcript.d.ts +27 -0
  80. package/ai/translations.d.ts +1 -1
  81. package/angular/angular.d.ts +1 -1
  82. package/angular/angular.js +13 -10
  83. package/assignee/assignee.scss +28 -6
  84. package/assignee/index.js +34 -35
  85. package/avatar/avatar.style.scss +23 -6
  86. package/avatar/index.d.ts +25 -2
  87. package/avatar/index.js +33 -32
  88. package/badge.d.ts +1 -1
  89. package/badge.view.d.ts +8 -0
  90. package/brush-range/_brush-range.scss +55 -49
  91. package/brush-range/component.d.ts +1 -3
  92. package/brush-range/component.js +27 -27
  93. package/buttons/delete-button.d.ts +2 -1
  94. package/buttons/delete-button.js +1 -1
  95. package/buttons/delete-button.style.scss +6 -2
  96. package/buttons/remove-button.d.ts +1 -1
  97. package/buttons/remove-button.js +1 -1
  98. package/buttons/remove-button.style.scss +1 -1
  99. package/buttons/svg-button.d.ts +2 -1
  100. package/buttons/svg-button.js +19 -19
  101. package/calendar/_calendar.scss +27 -26
  102. package/calendar/calendar.js +1 -1
  103. package/calendar/header.js +1 -2
  104. package/calendar/index.js +2 -2
  105. package/cell-input.scss +3 -7
  106. package/cell-visuals/badge.style.scss +6 -3
  107. package/cell-visuals/bar-chart.style.scss +2 -1
  108. package/cell-visuals/column-type.style.css +12 -0
  109. package/cell-visuals/progress-line-value.renderer.style.scss +4 -2
  110. package/cell-visuals/progress-line.style.scss +1 -4
  111. package/cell-visuals/sparkline.style.scss +2 -1
  112. package/cell-visuals/timeline.style.css +4 -2
  113. package/checkbox/checkbox.scss +6 -24
  114. package/choice-chips/index.d.ts +3 -1
  115. package/choice-chips/index.js +1 -1
  116. package/color-palette/color-palette.js +1 -1
  117. package/color-palette/color-palette.style.scss +88 -25
  118. package/color-palette/color-picker.js +2 -2
  119. package/color-palette/color-picker.style.scss +23 -10
  120. package/color-palette/common-palettes.d.ts +1 -1
  121. package/color-palette/common-palettes.js +1 -1
  122. package/color-palette/native.d.ts +15 -2
  123. package/component-catalog.d.ts +24 -11
  124. package/configurator-actions.d.ts +67 -0
  125. package/configurator-actions.js +1 -0
  126. package/configurator-aggregation-list.d.ts +14 -0
  127. package/configurator-aggregation-list.js +63 -0
  128. package/configurator-drop-zone.d.ts +39 -0
  129. package/configurator-drop-zone.js +66 -0
  130. package/configurator-field-icon.d.ts +10 -0
  131. package/configurator-field-icon.js +1 -0
  132. package/configurator-focus.d.ts +4 -0
  133. package/configurator-focus.js +39 -0
  134. package/configurator-sections.d.ts +42 -0
  135. package/configurator-sections.js +71 -0
  136. package/control-attributes.js +7 -7
  137. package/control-presentation.d.ts +8 -2
  138. package/control-presentation.js +25 -20
  139. package/controls.d.ts +19 -7
  140. package/controls.js +4 -3
  141. package/core/editor-popup-position.d.ts +6 -2
  142. package/core/editor-popup.d.ts +4 -0
  143. package/core/editor-popup.js +1 -1
  144. package/core/popover-controller.d.ts +35 -0
  145. package/core/popup-ownership.d.ts +2 -0
  146. package/core/selection-list-tooltips.d.ts +2 -0
  147. package/core/title-tooltip.d.ts +2 -0
  148. package/core/tooltip-session.d.ts +29 -0
  149. package/core/tooltip-surface.d.ts +13 -0
  150. package/core/tooltip-text.d.ts +6 -0
  151. package/core/tooltip.d.ts +35 -0
  152. package/core/top-layer-popup.d.ts +4 -0
  153. package/core/top-layer-popup.js +1 -23
  154. package/date-time/attach.d.ts +1 -1
  155. package/date-time/date-control.d.ts +1 -1
  156. package/date-time/field.d.ts +3 -2
  157. package/date-time/index.js +1 -1
  158. package/date-time/style.scss +242 -39
  159. package/date-time/time-selection.d.ts +3 -1
  160. package/date-time/types.d.ts +5 -1
  161. package/dialog/dialog-action-footer.d.ts +17 -2
  162. package/dialog/dialog.dom.d.ts +15 -2
  163. package/dialog/dialog.dom.js +3 -3
  164. package/dialog/dialog.parts.d.ts +1 -1
  165. package/dialog/dialog.parts.js +1 -1
  166. package/distribution-chart/_distribution-chart.scss +113 -77
  167. package/distribution-chart/area-chart.js +1 -1
  168. package/distribution-chart/bar-chart.d.ts +5 -2
  169. package/distribution-chart/bar-chart.js +7 -3
  170. package/distribution-chart/chart-frame.d.ts +2 -1
  171. package/distribution-chart/index.d.ts +1 -1
  172. package/distribution-chart/line-chart.js +1 -1
  173. package/dropdown/content.d.ts +2 -1
  174. package/dropdown/content.js +1 -142
  175. package/dropdown/control.d.ts +14 -0
  176. package/dropdown/control.js +1 -0
  177. package/dropdown/control.view.d.ts +6 -0
  178. package/dropdown/dropdown.types.d.ts +5 -1
  179. package/dropdown/editor-dropdown.style.scss +54 -16
  180. package/dropdown/index.d.ts +1 -1
  181. package/dropdown/index.js +3 -4
  182. package/dropdown/lookup-field.d.ts +5 -0
  183. package/dropdown/lookup-field.js +2 -1
  184. package/dropdown/popup.d.ts +2 -2
  185. package/dropdown/popup.js +1 -141
  186. package/duration/index.js +1 -1
  187. package/duration/style.scss +1 -1
  188. package/editor-actions.js +1 -1
  189. package/editor-layout/index.d.ts +4 -4
  190. package/editor-layout/index.js +39 -34
  191. package/editor-layout/style.scss +82 -18
  192. package/field-configurator.d.ts +39 -1
  193. package/field-configurator.js +4 -170
  194. package/field-expansion.d.ts +9 -0
  195. package/fieldset.d.ts +3 -0
  196. package/filter/filters/slider/_single-slider.scss +57 -38
  197. package/filter/filters/slider/_slider.scss +41 -33
  198. package/filter/filters/slider/control.js +2 -0
  199. package/filter/filters/slider/runtime.js +49 -22
  200. package/filter/filters/slider/single.js +1 -1
  201. package/filter-badge.js +1 -1
  202. package/filter-controls.d.ts +0 -1
  203. package/filter-controls.js +9 -10
  204. package/form-controls/field-context.d.ts +5 -0
  205. package/form-controls/index.d.ts +10 -2
  206. package/form-controls/index.js +4 -9
  207. package/form-controls/presentation.d.ts +1 -1
  208. package/form-controls/presentation.js +53 -45
  209. package/formatting/index.d.ts +1 -1
  210. package/formatting/index.js +40 -35
  211. package/formatting/styles.scss +14 -57
  212. package/framework.js +237 -226
  213. package/history-controls.d.ts +14 -0
  214. package/history-controls.js +27 -0
  215. package/icon-toolbar.d.ts +62 -0
  216. package/icon-toolbar.js +1 -0
  217. package/icons/icon.d.ts +1 -1
  218. package/legend.d.ts +1 -1
  219. package/masked-input/index.js +1 -1
  220. package/native-control.d.ts +6 -5
  221. package/native-control.js +3 -26
  222. package/native-controls.d.ts +54 -2
  223. package/native-styles.css +1 -1
  224. package/native-styles.scss +6 -2
  225. package/native.d.ts +3 -3
  226. package/native.js +41 -37
  227. package/number-input/index.d.ts +1 -1
  228. package/number-input/index.js +1 -1
  229. package/package.json +88 -14
  230. package/pagination.d.ts +3 -0
  231. package/pagination.js +50 -40
  232. package/pdf-viewer/header.d.ts +1 -1
  233. package/pdf-viewer/index.d.ts +2 -2
  234. package/pdf-viewer/index.js +1 -1
  235. package/pdf-viewer/search-bar.d.ts +1 -1
  236. package/pdf-viewer/status.d.ts +1 -1
  237. package/pdf-viewer/style.scss +205 -45
  238. package/pickers.d.ts +5 -1
  239. package/preact-mount.js +1 -1
  240. package/preact.d.ts +15 -10
  241. package/preact.js +109 -64
  242. package/progress/_bar.scss +9 -3
  243. package/progress/_circular.scss +2 -1
  244. package/rating-choice.js +1 -1
  245. package/react-adapter.d.ts +4 -2
  246. package/react-control.d.ts +1 -0
  247. package/react.d.ts +20 -11
  248. package/react.js +72 -88
  249. package/reorder-list.d.ts +1 -1
  250. package/reorder-list.js +1 -1
  251. package/reorder-list.scss +59 -17
  252. package/resource-picker/resource-picker-popup.js +1 -1
  253. package/resource-picker/resource-picker.js +73 -71
  254. package/resource-picker/resource-picker.scss +66 -35
  255. package/rich-text/engine.d.ts +17 -19
  256. package/rich-text/format-html.d.ts +2 -0
  257. package/rich-text/index.d.ts +11 -7
  258. package/rich-text/index.js +1 -1
  259. package/rich-text/model.d.ts +6 -3
  260. package/rich-text/render-model.d.ts +4 -5
  261. package/rich-text/style.scss +295 -55
  262. package/rich-text/syntax.d.ts +5 -2
  263. package/rich-text/toolbar.d.ts +6 -6
  264. package/rich-text/translations.d.ts +5 -15
  265. package/search-input/index.js +1 -1
  266. package/search-input/native.d.ts +21 -2
  267. package/select.d.ts +22 -0
  268. package/select.js +1 -0
  269. package/selection-list.d.ts +1 -0
  270. package/selection-list.js +3 -1
  271. package/status-feedback/exit-snapshot.js +1 -1
  272. package/status-feedback/index.js +2 -2
  273. package/status-feedback/popover.js +9 -9
  274. package/status-feedback/render.js +3 -44
  275. package/status-feedback/status-feedback.scss +130 -34
  276. package/status-feedback/types.d.ts +4 -0
  277. package/status-feedback/use-auto-dismiss.d.ts +3 -0
  278. package/styles/_activity-message.scss +24 -7
  279. package/styles/_alert.scss +78 -17
  280. package/styles/_cell-editor-frame.scss +11 -0
  281. package/styles/_compositions.scss +404 -82
  282. package/styles/_control.scss +42 -12
  283. package/styles/_disclosure.scss +15 -5
  284. package/styles/_editor-counter.scss +16 -6
  285. package/styles/_editor-slider.scss +8 -4
  286. package/styles/_field-configurator.scss +321 -23
  287. package/styles/_fields-grid.scss +49 -0
  288. package/styles/_filter-controls.scss +10 -2
  289. package/styles/_icon-action.scss +48 -15
  290. package/styles/_loading.scss +12 -3
  291. package/styles/_motion.scss +32 -9
  292. package/styles/_palette.scss +0 -24
  293. package/styles/_primitives.scss +376 -116
  294. package/styles/_theme.scss +130 -86
  295. package/styles/_thresholds.scss +28 -25
  296. package/styles/_time-grid.scss +8 -3
  297. package/styles/_tokens.scss +6 -1
  298. package/styles/configurator-actions.scss +241 -0
  299. package/styles/pagination.css +213 -0
  300. package/styles/{legacy-rating.css → rating.css} +8 -3
  301. package/styles.css +1 -1
  302. package/styles.scss +3 -5
  303. package/surfaces.d.ts +38 -2
  304. package/surfaces.js +37 -134
  305. package/svelte/UiComponent.server.js +1 -48
  306. package/svelte/UiComponent.svelte +44 -32
  307. package/svelte.d.ts +1 -1
  308. package/svelte.js +33 -68
  309. package/switch/index.js +15 -14
  310. package/time-grid.d.ts +0 -1
  311. package/time-grid.js +38 -37
  312. package/timeline-track/_style.scss +96 -24
  313. package/timeline-track/component.d.ts +5 -1
  314. package/timeline-track/index.js +71 -54
  315. package/timeline-track/model.d.ts +9 -0
  316. package/timeline-track/model.js +10 -1
  317. package/ui.css +1 -1
  318. package/view-switcher.d.ts +23 -0
  319. package/vue.d.ts +51 -35
  320. package/vue.js +149 -178
  321. package/_chunks/chart-frame-BC99KjGa.js +0 -127
  322. package/_chunks/choice-chips-Cs4D-3nH.js +0 -110
  323. package/_chunks/compat.module-DDB2pm9O.js +0 -229
  324. package/_chunks/control-tooltip-ztgmsG7H.js +0 -100
  325. package/_chunks/dialog.parts-DBqo3Qwb.js +0 -134
  326. package/_chunks/dropdown-voWqmwAe.js +0 -357
  327. package/_chunks/editor-popup-D3JdS8l3.js +0 -81
  328. package/_chunks/mount-DZe_6VtR.js +0 -90
  329. package/_chunks/request-trail-IdNiFvKH.js +0 -347
  330. package/_chunks/rich-text-BzI1DyfF.js +0 -477
  331. package/avatar/index.view.d.ts +0 -25
  332. package/color-palette/native.view.d.ts +0 -15
  333. package/control-presentation.view.d.ts +0 -8
  334. package/dialog/dialog-action-footer.view.d.ts +0 -20
  335. package/dialog/dialog.dom.view.d.ts +0 -15
  336. package/form-controls/index.view.d.ts +0 -12
  337. package/formatting/control-tooltip.d.ts +0 -27
  338. package/native-controls.view.d.ts +0 -54
  339. package/react-native-select.d.ts +0 -6
  340. package/search-input/native.view.d.ts +0 -21
  341. package/styles/legacy-pagination.css +0 -112
  342. package/surfaces.view.d.ts +0 -63
  343. package/vue-native-select.d.ts +0 -9
@@ -1,54 +1,56 @@
1
1
  import { i as e } from "./preact.module-BBM36DnO.js";
2
- import { c as t, i as n, n as r, r as i, t as a } from "./hooks.module-CG3gN83z.js";
2
+ import { a as t, i as n, n as r, r as i, t as a } from "./hooks.module-CG3gN83z.js";
3
3
  import { t as o } from "./jsxRuntime.module-F6UFnpT-.js";
4
- import { SvgIcon as s } from "../icons/icon.js";
5
- import { createPreactElement as c, releasePreactElement as l } from "../preact-mount.js";
6
- import { Input as u } from "../native-control.js";
7
- import { n as d, z as f } from "./controls-DIum-E66.js";
8
- import { createControlId as p } from "../core/control-id.js";
4
+ import { createPreactElement as s, releasePreactElement as c } from "../preact-mount.js";
5
+ import { createControlId as l } from "../core/control-id.js";
6
+ import { SvgIcon as u } from "../icons/icon.js";
7
+ import { n as d } from "./native-control-B_fVA5bL.js";
8
+ import "./chevron-down-GbplLa6s.js";
9
+ import { R as f, t as p } from "./controls-B_6NJarZ.js";
9
10
  import { EditorList as m, EditorListItem as h } from "../editor-layout/index.js";
10
- import { i as g, s as _ } from "./iso-B0YHBK7m.js";
11
- import { f as v, h as y, m as b, p as x } from "./model-mPO2tG2f.js";
12
- import { n as S, t as C } from "./date-control-BJSzu79z.js";
13
- import { t as w } from "./picker-DpP7iQLA.js";
14
- import { t as T } from "./editor-popup-D3JdS8l3.js";
15
- import { n as E } from "./editor-commit-Bq3wSgvr.js";
16
- import { EditorActions as D } from "../editor-actions.js";
11
+ import { t as g } from "./clock-BOhPNlW3.js";
12
+ import { i as _, s as v } from "./iso-B0YHBK7m.js";
13
+ import { f as y, h as b, m as x, p as S } from "./model-mPO2tG2f.js";
14
+ import { n as C, t as w } from "./date-control-C4h4m75W.js";
15
+ import { t as T } from "./picker-DTqET-2W.js";
16
+ import { t as E } from "./editor-popup-ByU7qiub.js";
17
+ import { n as D } from "./editor-commit-Bq3wSgvr.js";
18
+ import { EditorActions as O } from "../editor-actions.js";
17
19
  //#region ../dates/src/date-controls.ts
18
- var O = /^(\d{4})-(\d{2})-(\d{2})$/, k = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,3}))?)?$/, A = /^(\d{2}):(\d{2})(?::(\d{2}))?$/;
19
- function j(e, t, n = "minute") {
20
+ var k = /^(\d{4})-(\d{2})-(\d{2})$/, A = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,3}))?)?$/, j = /^(\d{2}):(\d{2})(?::(\d{2}))?$/;
21
+ function M(e, t, n = "minute") {
20
22
  if (Number.isNaN(t.getTime())) return "";
21
- let r = `${N(t.getHours())}:${N(t.getMinutes())}${n === "second" ? `:${N(t.getSeconds())}` : ""}`;
23
+ let r = `${P(t.getHours())}:${P(t.getMinutes())}${n === "second" ? `:${P(t.getSeconds())}` : ""}`;
22
24
  if (e === "time") return r;
23
- let i = g(t);
25
+ let i = _(t);
24
26
  return e === "date" ? i : `${i}T${r}`;
25
27
  }
26
- function M(e, t, n = /* @__PURE__ */ new Date()) {
28
+ function N(e, t, n = /* @__PURE__ */ new Date()) {
27
29
  if (e === "time") {
28
- let e = A.exec(t);
30
+ let e = j.exec(t);
29
31
  if (!e) return;
30
32
  let r = Number(e[1]), i = Number(e[2]), a = Number(e[3] ?? 0);
31
33
  if (r > 23 || i > 59 || a > 59 || Number.isNaN(n.getTime())) return;
32
34
  let o = new Date(n.getTime());
33
35
  return o.setHours(r, i, a, 0), o;
34
36
  }
35
- let r = e === "date" ? O.exec(t) : k.exec(t);
37
+ let r = e === "date" ? k.exec(t) : A.exec(t);
36
38
  if (!r) return;
37
39
  let i = Number(r[1]), a = Number(r[2]), o = Number(r[3]), s = Number(r[4] ?? 0), c = Number(r[5] ?? 0), l = Number(r[6] ?? 0), u = Number((r[7] ?? "").padEnd(3, "0")), d = /* @__PURE__ */ new Date(0);
38
40
  if (d.setFullYear(i, a - 1, o), d.setHours(s, c, l, u), !(a < 1 || a > 12 || o < 1 || d.getFullYear() !== i || d.getMonth() !== a - 1 || d.getDate() !== o || d.getHours() !== s || d.getMinutes() !== c || d.getSeconds() !== l || d.getMilliseconds() !== u)) return d;
39
41
  }
40
- function N(e) {
42
+ function P(e) {
41
43
  return String(e).padStart(2, "0");
42
44
  }
43
45
  //#endregion
44
46
  //#region ../dates/src/civil-time.ts
45
- var P = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/;
46
- function F(e) {
47
+ var F = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/;
48
+ function I(e) {
47
49
  let t = /* @__PURE__ */ new Date(0);
48
50
  return t.setUTCFullYear(e.year, e.month - 1, e.day), t.setUTCHours(e.hour, e.minute, e.second, 0), t.getTime();
49
51
  }
50
- function I(e) {
51
- let t = P.exec(e);
52
+ function L(e) {
53
+ let t = F.exec(e);
52
54
  if (!t) return;
53
55
  let n = {
54
56
  year: Number(t[1]),
@@ -57,7 +59,7 @@ function I(e) {
57
59
  hour: Number(t[4]),
58
60
  minute: Number(t[5]),
59
61
  second: Number(t[6] ?? 0)
60
- }, r = new Date(F(n)), i = {
62
+ }, r = new Date(I(n)), i = {
61
63
  year: r.getUTCFullYear(),
62
64
  month: r.getUTCMonth() + 1,
63
65
  day: r.getUTCDate(),
@@ -69,23 +71,23 @@ function I(e) {
69
71
  }
70
72
  //#endregion
71
73
  //#region ../dates/src/temporal-controls.ts
72
- function L(e) {
74
+ function R(e) {
73
75
  return e.split("T")[0];
74
76
  }
75
- function R(e) {
77
+ function z(e) {
76
78
  return e.includes("T") ? e.split("T")[1] : e;
77
79
  }
78
- function z(e, t, n) {
79
- return n === "datetime" ? `${e}T${t.includes("T") ? R(t) : "00:00"}` : e;
80
- }
81
80
  function B(e, t, n) {
82
- return n === "datetime" ? `${L(e)}T${t}` : t;
81
+ return n === "datetime" ? `${e}T${t.includes("T") ? z(t) : "00:00"}` : e;
83
82
  }
84
- function V(e, t) {
85
- return e === "date" ? _(t) : e === "datetime" ? !!I(t.replace(/(\d{2}:\d{2}:\d{2})\.\d{1,3}$/, "$1")) : !!M(e, t);
83
+ function V(e, t, n) {
84
+ return n === "datetime" ? `${R(e)}T${t}` : t;
85
+ }
86
+ function ee(e, t) {
87
+ return e === "date" ? v(t) : e === "datetime" ? !!L(t.replace(/(\d{2}:\d{2}:\d{2})\.\d{1,3}$/, "$1")) : !!N(e, t);
86
88
  }
87
89
  function H(e) {
88
- let t = M("time", e);
90
+ let t = N("time", e);
89
91
  return t ? t.getHours() * 3600 + t.getMinutes() * 60 + t.getSeconds() : void 0;
90
92
  }
91
93
  function U(e, t) {
@@ -95,7 +97,7 @@ function U(e, t) {
95
97
  return (r === void 0 || n >= r) && (i === void 0 || n <= i) && (t.step === void 0 || t.step > 0 && (n - (r ?? 0)) % t.step === 0);
96
98
  }
97
99
  function W(e, t, n = "minute", r) {
98
- let i = M("time", e);
100
+ let i = N("time", e);
99
101
  return i ? new Intl.DateTimeFormat(r ?? (t === "12h" ? "en-US" : "en-GB"), {
100
102
  hour: "2-digit",
101
103
  minute: "2-digit",
@@ -124,14 +126,14 @@ function G(e, t = "minute", n) {
124
126
  for (let t of i) t.type === "literal" && t.value.trim() && (e = e.split(t.value).join(":"));
125
127
  e = e.replace(/^\s*(AM|PM)\s*(.*)$/i, "$2 $1");
126
128
  }
127
- let r = M("time", e.trim());
128
- if (r) return j("time", r, t);
129
+ let r = N("time", e.trim());
130
+ if (r) return M("time", r, t);
129
131
  let i = /^(\d{1,2}):(\d{2})(?::(\d{2}))?\s*([ap])\.?m\.?$/i.exec(e.trim());
130
132
  if (!i) return;
131
133
  let a = Number(i[1]);
132
134
  if (a < 1 || a > 12) return;
133
- let o = M("time", `${String(a % 12 + (i[4].toLowerCase() === "p" ? 12 : 0)).padStart(2, "0")}:${i[2]}:${i[3] ?? "00"}`);
134
- return o ? j("time", o, t) : void 0;
135
+ let o = N("time", `${String(a % 12 + (i[4].toLowerCase() === "p" ? 12 : 0)).padStart(2, "0")}:${i[2]}:${i[3] ?? "00"}`);
136
+ return o ? M("time", o, t) : void 0;
135
137
  }
136
138
  //#endregion
137
139
  //#region ../dates/src/time-selection.ts
@@ -149,13 +151,13 @@ function q(e, t = "minute") {
149
151
  function J(e, t) {
150
152
  return e === "12h" || e === "locale" && !!new Intl.DateTimeFormat(t, { hour: "numeric" }).resolvedOptions().hour12;
151
153
  }
152
- function ee(e, t) {
154
+ function te(e, t) {
153
155
  return new Intl.DateTimeFormat(t, {
154
156
  hour: "numeric",
155
157
  hourCycle: "h12"
156
158
  }).formatToParts(new Date(2e3, 0, 1, e ? 13 : 1)).find((e) => e.type === "dayPeriod")?.value ?? (e ? "PM" : "AM");
157
159
  }
158
- function te(e, t, n) {
160
+ function ne(e, t, n) {
159
161
  let r = H(t), i = r ?? e[0] ?? 0, a = Math.floor(i / 3600), o = Math.floor(i / 60) % 60, s = i % 60, c = {
160
162
  hour: /* @__PURE__ */ new Map(),
161
163
  minute: /* @__PURE__ */ new Map(),
@@ -206,61 +208,61 @@ var Y = {
206
208
  chooseTime: "Choose time"
207
209
  };
208
210
  function X(e, t) {
209
- return (e === "time" ? t?.chooseTime ?? t?.chooseDate : t?.chooseDate) ?? (e === "time" ? Y.chooseTime : Y.chooseDate);
211
+ return (e === "time" ? t?.chooseTime : t?.chooseDate) ?? (e === "time" ? Y.chooseTime : Y.chooseDate);
210
212
  }
211
213
  //#endregion
212
214
  //#region src/date-time/validation.ts
213
- function Z(e, t, n = "") {
215
+ function re(e, t, n = "") {
214
216
  let { kind: r = "date", selection: i = "single", value: a, calendar: o = {} } = e, s = {
215
217
  ...Y,
216
218
  ...e.text
217
- }, c = a && !Array.isArray(a) && typeof a == "object" ? a : void 0, l = typeof a == "string" ? a : "", u = c?.from ?? "", d = c?.to ?? "", f = e.required ?? o.required ?? !1, p = c ? [u, d] : Array.isArray(a) ? a : l ? [l] : [], m = (e) => _(e) && (!o.minDate || e >= o.minDate) && (!o.maxDate || e <= o.maxDate) && !o.isDateDisabled?.(e) && !o.isMonthDisabled?.(v(e, o.calendarSystem)), h = (t) => V(r, t) && (r === "time" || m(L(t))) && (r === "date" || U(R(t), {
219
+ }, c = a && !Array.isArray(a) && typeof a == "object" ? a : void 0, l = typeof a == "string" ? a : "", u = c?.from ?? "", d = c?.to ?? "", f = e.required ?? o.required ?? !1, p = c ? [u, d] : Array.isArray(a) ? a : l ? [l] : [], m = (e) => v(e) && (!o.minDate || e >= o.minDate) && (!o.maxDate || e <= o.maxDate) && !o.isDateDisabled?.(e) && !o.isMonthDisabled?.(y(e, o.calendarSystem)), h = (t) => ee(r, t) && (r === "time" || m(R(t))) && (r === "date" || U(z(t), {
218
220
  min: e.minTime,
219
221
  max: e.maxTime,
220
222
  step: e.timeStep
221
- })), g = c && d ? b(L(u), L(d)) : 0, y = i === "multiple" ? p.length : g, S = !p.length && !f || i === "single" || (!o.min || y >= o.min) && (o.max === void 0 || y <= o.max), C = (() => {
223
+ })), g = c && d ? x(R(u), R(d)) : 0, _ = i === "multiple" ? p.length : g, b = !p.length && !f || i === "single" || (!o.min || _ >= o.min) && (o.max === void 0 || _ <= o.max), C = (() => {
222
224
  if (r === "time" || !c?.to || !o.excludeDisabled || !p.every(h)) return !0;
223
225
  if (g > 366e3) return !1;
224
- for (let e = L(u); e <= L(d); e = x(e, 1)) if (!m(e)) return !1;
226
+ for (let e = R(u); e <= R(d); e = S(e, 1)) if (!m(e)) return !1;
225
227
  return !0;
226
228
  })(), w = "", T = r === "time" || p.every((e) => {
227
- let n = L(e);
228
- if (!_(n)) return !1;
229
+ let n = R(e);
230
+ if (!v(n)) return !1;
229
231
  let r = o.validateSelection?.(n, {
230
232
  month: o.month ?? t,
231
233
  view: o.defaultView ?? "month",
232
234
  referenceDate: o.referenceDate,
233
235
  selection: c ? {
234
- from: L(u),
235
- to: L(d || u)
236
+ from: R(u),
237
+ to: R(d || u)
236
238
  } : {
237
239
  from: n,
238
240
  to: n
239
241
  }
240
242
  });
241
243
  return typeof r == "string" && (w = r), r !== !1 && typeof r != "string";
242
- }), E = !n && S && T && C && (!f || p.length > 0) && p.every(h) && (i !== "multiple" || new Set(p).size === p.length) && (!c || !!d && u <= d) && (i !== "multiple" || r === "date"), D = (t) => e.text?.[t] ?? e.text?.invalid ?? s[t] ?? s.invalid, O = r === "time" ? [] : p.map(L);
244
+ }), E = !n && b && T && C && (!f || p.length > 0) && p.every(h) && (i !== "multiple" || new Set(p).size === p.length) && (!c || !!d && u <= d) && (i !== "multiple" || r === "date"), D = (t) => e.text?.[t] ?? e.text?.invalid ?? s[t] ?? s.invalid, O = r === "time" ? [] : p.map(R);
243
245
  return {
244
246
  valid: E,
245
- errorMessage: n || w || (!p.length && f ? D("requiredValue") : c && (!u || !d) ? D("invalidRange") : O.some((e) => !_(e)) ? D("invalidDate") : O.some((e) => o.minDate && e < o.minDate || o.maxDate && e > o.maxDate) ? D("outOfRange") : O.some((e) => !m(e)) || !C ? D("disabledDate") : c && (!d || u > d) ? D("invalidRange") : !S || i === "multiple" && new Set(p).size !== p.length ? D("selectionCount") : s.invalid),
247
+ errorMessage: n || w || (!p.length && f ? D("requiredValue") : c && (!u || !d) ? D("invalidRange") : O.some((e) => !v(e)) ? D("invalidDate") : O.some((e) => o.minDate && e < o.minDate || o.maxDate && e > o.maxDate) ? D("outOfRange") : O.some((e) => !m(e)) || !C ? D("disabledDate") : c && (!d || u > d) ? D("invalidRange") : !b || i === "multiple" && new Set(p).size !== p.length ? D("selectionCount") : s.invalid),
246
248
  validDate: m
247
249
  };
248
250
  }
249
251
  //#endregion
250
252
  //#region src/date-time/time-control.tsx
251
- function ne({ value: e, label: t, format: r = "locale", precision: i = "minute", locale: a, min: s, max: c, step: l, onChange: d }) {
253
+ function ie({ value: e, label: t, format: r = "locale", precision: i = "minute", locale: a, min: s, max: c, step: l, onChange: u }) {
252
254
  let [f, p] = n(!1), [m, h] = n("");
253
- if (r === "locale") return /* @__PURE__ */ o(u, {
255
+ if (r === "locale") return /* @__PURE__ */ o(d, {
254
256
  type: "time",
255
257
  "aria-label": t,
256
258
  value: e,
257
259
  min: s,
258
260
  max: c,
259
261
  step: l ?? (i === "second" ? 1 : 60),
260
- onInput: (e) => d(e.currentTarget.value)
262
+ onInput: (e) => u(e.currentTarget.value)
261
263
  });
262
264
  let g = W(e, r, i, a);
263
- return /* @__PURE__ */ o(u, {
265
+ return /* @__PURE__ */ o(d, {
264
266
  type: "text",
265
267
  "aria-label": t,
266
268
  value: f ? m : g,
@@ -276,13 +278,13 @@ function ne({ value: e, label: t, format: r = "locale", precision: i = "minute",
276
278
  onBlur: () => p(!1),
277
279
  onInput: (e) => {
278
280
  let t = e.currentTarget.value;
279
- h(t), d(t ? G(t, i, a) ?? t : "");
281
+ h(t), u(t ? G(t, i, a) ?? t : "");
280
282
  }
281
283
  });
282
284
  }
283
285
  //#endregion
284
286
  //#region src/date-time/time-selection.tsx
285
- function re({ label: e, accessibleLabel: t, values: n, selected: r, choices: s, display: c, onSelect: l }) {
287
+ function ae({ label: e, accessibleLabel: t, values: n, selected: r, choices: s, display: c, onSelect: l }) {
286
288
  let u = a(null), d = r !== void 0 && s.has(r), f = d ? r : n.find((e) => s.has(e));
287
289
  i(() => {
288
290
  let e = u.current;
@@ -301,7 +303,7 @@ function re({ label: e, accessibleLabel: t, values: n, selected: r, choices: s,
301
303
  };
302
304
  return /* @__PURE__ */ o("div", {
303
305
  class: "rv-time-selection__column",
304
- children: [/* @__PURE__ */ o("span", {
306
+ children: [e && /* @__PURE__ */ o("span", {
305
307
  class: "rv-time-selection__label",
306
308
  children: e
307
309
  }), /* @__PURE__ */ o(m, {
@@ -321,401 +323,432 @@ function re({ label: e, accessibleLabel: t, values: n, selected: r, choices: s,
321
323
  })]
322
324
  });
323
325
  }
324
- function Q({ value: e, label: t, text: n, onChange: i, format: a = "locale", precision: s = "minute", locale: c, min: l, max: u, step: d }) {
325
- let f = J(a, c), p = r(() => K({
326
- min: l,
327
- max: u,
328
- step: d,
329
- precision: s
326
+ function Z({ value: e, label: i, text: a, onChange: s, format: c = "locale", precision: l = "minute", locale: d, min: f, max: m, step: h, collapsible: g = !1 }) {
327
+ let [_, v] = n(!1), y = t(), b = J(c, d), x = r(() => K({
328
+ min: f,
329
+ max: m,
330
+ step: h,
331
+ precision: l
330
332
  }), [
331
- l,
332
- u,
333
- d,
334
- s
335
- ]), m = r(() => te(p, e, f), [
336
- p,
333
+ f,
334
+ m,
335
+ h,
336
+ l
337
+ ]), S = r(() => ne(x, e, b), [
338
+ x,
337
339
  e,
338
- f
339
- ]), h = r(() => new Intl.NumberFormat(c, {
340
+ b
341
+ ]), C = r(() => new Intl.NumberFormat(d, {
340
342
  minimumIntegerDigits: 2,
341
343
  useGrouping: !1
342
- }), [c]), g = (e) => i(q(e, s)), _ = (e, n, r, i = (e) => h.format(e)) => /* @__PURE__ */ o(re, {
343
- label: n,
344
- accessibleLabel: `${t}: ${n}`,
345
- values: r,
346
- selected: m.hasValue ? m[e] : void 0,
347
- choices: m.columns[e],
348
- display: i,
349
- onSelect: g
350
- }), v = (e, t = 0) => Array.from({ length: e }, (e, n) => t + n);
344
+ }), [d]), w = (e) => s(q(e, l)), T = (e, t, n, r = (e) => C.format(e)) => /* @__PURE__ */ o(ae, {
345
+ label: e === "period" ? void 0 : t,
346
+ accessibleLabel: `${i}: ${t}`,
347
+ values: n,
348
+ selected: S.hasValue ? S[e] : void 0,
349
+ choices: S.columns[e],
350
+ display: r,
351
+ onSelect: w
352
+ }), E = (e, t = 0) => Array.from({ length: e }, (e, n) => t + n);
351
353
  return /* @__PURE__ */ o("section", {
352
354
  class: "rv-time-selection",
353
- children: [
354
- /* @__PURE__ */ o("label", {
355
+ children: [/* @__PURE__ */ o("div", {
356
+ class: "rv-time-selection__entry-row",
357
+ children: [/* @__PURE__ */ o("label", {
355
358
  class: "rv-time-selection__entry",
356
- children: [/* @__PURE__ */ o("span", { children: t }), /* @__PURE__ */ o(ne, {
359
+ children: [/* @__PURE__ */ o("span", { children: i }), /* @__PURE__ */ o(ie, {
357
360
  value: e,
358
- label: t,
359
- format: a,
360
- precision: s,
361
- locale: c,
362
- min: l,
363
- max: u,
364
- step: d,
365
- onChange: i
361
+ label: i,
362
+ format: c,
363
+ precision: l,
364
+ locale: d,
365
+ min: f,
366
+ max: m,
367
+ step: h,
368
+ onChange: s
366
369
  })]
367
- }),
368
- /* @__PURE__ */ o("div", {
369
- class: `rv-time-selection__columns${s === "second" ? " rv-time-selection__columns--seconds" : ""}`,
370
- children: [
371
- _("hour", n.hours, v(f ? 12 : 24, f ? m.period * 12 : 0), (e) => h.format(f ? e % 12 || 12 : e)),
372
- _("minute", n.minutes, v(60)),
373
- s === "second" && _("second", n.seconds, v(60))
374
- ]
375
- }),
376
- f && /* @__PURE__ */ o("div", {
377
- class: "rv-time-selection__period",
378
- children: _("period", n.dayPeriod, [0, 1], (e) => ee(e, c))
379
- }),
380
- !p.length && /* @__PURE__ */ o("p", {
381
- class: "rv-time-selection__empty",
382
- role: "status",
383
- children: n.noTimes
384
- })
385
- ]
370
+ }), g && /* @__PURE__ */ o(p, {
371
+ variant: "ghost",
372
+ className: "rv-time-selection__toggle",
373
+ "aria-label": a.chooseTime ?? a.time,
374
+ "aria-expanded": _,
375
+ "aria-controls": _ ? y : void 0,
376
+ onClick: () => v(!_),
377
+ children: /* @__PURE__ */ o(u, { svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z\"/></svg>" })
378
+ })]
379
+ }), (!g || _) && /* @__PURE__ */ o("div", {
380
+ id: y,
381
+ class: "rv-time-selection__clock",
382
+ children: [
383
+ /* @__PURE__ */ o("div", {
384
+ class: `rv-time-selection__columns${l === "second" ? " rv-time-selection__columns--seconds" : ""}`,
385
+ children: [
386
+ T("hour", a.hours, E(b ? 12 : 24, b ? S.period * 12 : 0), (e) => C.format(b ? e % 12 || 12 : e)),
387
+ T("minute", a.minutes, E(60)),
388
+ l === "second" && T("second", a.seconds, E(60))
389
+ ]
390
+ }),
391
+ b && /* @__PURE__ */ o("div", {
392
+ class: "rv-time-selection__period",
393
+ children: T("period", a.dayPeriod, [0, 1], (e) => te(e, d))
394
+ }),
395
+ !x.length && /* @__PURE__ */ o("p", {
396
+ class: "rv-time-selection__empty",
397
+ role: "status",
398
+ children: a.noTimes
399
+ })
400
+ ]
401
+ })]
386
402
  });
387
403
  }
388
404
  //#endregion
389
405
  //#region src/date-time/picker.tsx
390
- function ie(r) {
391
- let { kind: i = "date", selection: a = "single", value: s, onChange: c, calendar: l = {} } = r, u = {
406
+ function oe(t) {
407
+ let { kind: r = "date", selection: a = "single", value: s, onChange: c, calendar: u = {} } = t, d = (u.numberOfMonths ?? 1) >= 2, m = {
392
408
  ...Y,
393
- ...r.text
394
- }, [m] = n(() => p("rv-date-error")), h = (e) => i === "date" ? e : L(e), g = {
395
- locale: l.locale,
396
- ...typeof r.dateInput == "object" ? r.dateInput : {}
397
- }, [b, x] = n(r.endpoint === "to" ? "to" : void 0), [S, T] = n(""), E = s && !Array.isArray(s) && typeof s == "object" ? s : void 0, D = typeof s == "string" ? s : "", O = Array.isArray(s) ? s : [], k = E?.from ?? "", A = E?.to ?? "", j = L(i === "time" ? y() : r.endpoint === "to" ? A : k || D || O[0] || ""), [M, N] = n(() => l.defaultMonth ?? v(_(j) ? j : y(), l.calendarSystem)), P = r.required ?? l.required ?? !1, { valid: F, errorMessage: I, validDate: V } = Z(r, M, S);
398
- t(() => r.onValidityChange?.(!!F), [F]);
399
- let H = (e) => {
400
- T(""), c(e);
401
- }, U = (e) => {
402
- H(e), i === "date" && a !== "multiple" && Z({
403
- ...r,
409
+ ...t.text
410
+ }, [h] = n(() => l("rv-date-error")), g = (e) => r === "date" ? e : R(e), _ = {
411
+ locale: u.locale,
412
+ ...typeof t.dateInput == "object" ? t.dateInput : {}
413
+ }, [x, S] = n(t.endpoint === "to" ? "to" : void 0), [C, E] = n(""), D = s && !Array.isArray(s) && typeof s == "object" ? s : void 0, O = typeof s == "string" ? s : "", k = Array.isArray(s) ? s : [], A = D?.from ?? "", j = D?.to ?? "", M = R(r === "time" ? b() : t.endpoint === "to" ? j : A || O || k[0] || ""), [N, P] = n(() => u.defaultMonth ?? y(v(M) ? M : b(), u.calendarSystem)), F = t.required ?? u.required ?? !1, { valid: I, errorMessage: L, validDate: ee } = re(t, N, C);
414
+ i(() => t.onValidityChange?.(!!I), [I]);
415
+ let H = (e, n = !1) => {
416
+ E(""), c(e), (t.onValidChange || n) && re({
417
+ ...t,
404
418
  value: e
405
- }, M).valid && r.onSelectionComplete?.(e);
419
+ }, N).valid && (t.onValidChange?.(e), n && t.onSelectionComplete?.(e));
420
+ }, U = (e) => {
421
+ H(e, r === "date" && a !== "multiple");
406
422
  }, W = (e) => {
407
- if (!V(e)) return;
408
- let t = v(e, l.calendarSystem);
409
- t !== (l.month ?? M) && (N(t), l.onMonthChange?.(t));
423
+ if (!ee(e)) return;
424
+ let t = y(e, u.calendarSystem);
425
+ t !== (u.month ?? N) && (P(t), u.onMonthChange?.(t));
410
426
  }, G = (e, t) => {
411
427
  if (typeof t != "string") return;
412
428
  W(t);
413
429
  let n = {
414
- from: k,
415
- to: A,
416
- [e]: t ? z(t, e === "from" ? k : A, i) : ""
430
+ from: A,
431
+ to: j,
432
+ [e]: t ? B(t, e === "from" ? A : j, r) : ""
417
433
  };
418
434
  H(!n.from && !n.to ? null : n);
419
- }, K = (e, t, n, i = !0) => /* @__PURE__ */ o("label", {
435
+ }, K = (e, n, r, i = !0) => /* @__PURE__ */ o("label", {
420
436
  class: `rv-temporal-picker__time${i ? "" : " rv-temporal-picker__time--single"}`,
421
- children: [i && /* @__PURE__ */ o("span", { children: t }), /* @__PURE__ */ o(ne, {
422
- label: t,
423
- value: e ? R(e) : "",
424
- min: r.minTime,
425
- max: r.maxTime,
426
- step: r.timeStep,
427
- precision: r.precision,
428
- format: r.timeFormat,
429
- locale: l.locale,
430
- onChange: n
437
+ children: [i && /* @__PURE__ */ o("span", { children: n }), /* @__PURE__ */ o(ie, {
438
+ label: n,
439
+ value: e ? z(e) : "",
440
+ min: t.minTime,
441
+ max: t.maxTime,
442
+ step: t.timeStep,
443
+ precision: t.precision,
444
+ format: t.timeFormat,
445
+ locale: u.locale,
446
+ onChange: r
431
447
  })]
432
448
  }), q = {
433
- ...l,
434
- month: l.month ?? M,
449
+ ...u,
450
+ month: u.month ?? N,
435
451
  onMonthChange: (e) => {
436
- N(e), l.onMonthChange?.(e);
452
+ P(e), u.onMonthChange?.(e);
437
453
  },
438
- required: P,
454
+ required: F,
439
455
  onInvalidSelection: (e, t) => {
440
- T(e || u.invalid), l.onInvalidSelection?.(e, t);
456
+ E(e || m.invalid), u.onInvalidSelection?.(e, t);
441
457
  }
442
458
  }, J;
443
459
  if (a === "multiple") J = {
444
460
  ...q,
445
461
  mode: "multiple",
446
- selected: O.filter(_),
462
+ selected: k.filter(v),
447
463
  onSelectionChange: (e) => U([...e])
448
464
  };
449
- else if (a === "range" && !b) J = {
465
+ else if (a === "range" && !x) J = {
450
466
  ...q,
451
467
  mode: "range",
452
- selected: k && _(L(k)) ? {
453
- from: L(k),
454
- ...A && _(L(A)) ? { to: L(A) } : {}
468
+ selected: A && v(R(A)) ? {
469
+ from: R(A),
470
+ ...j && v(R(j)) ? { to: R(j) } : {}
455
471
  } : void 0,
456
472
  onSelectionChange: (e) => U(e ? {
457
- from: z(e.from, k, i),
458
- ...e.to ? { to: z(e.to, A, i) } : {}
473
+ from: B(e.from, A, r),
474
+ ...e.to ? { to: B(e.to, j, r) } : {}
459
475
  } : null)
460
476
  };
461
477
  else {
462
- let e = a === "range" ? b === "to" ? A : k : D;
478
+ let e = a === "range" ? x === "to" ? j : A : O;
463
479
  J = {
464
480
  ...q,
465
481
  mode: "single",
466
- selected: e && _(L(e)) ? L(e) : void 0,
482
+ selected: e && v(R(e)) ? R(e) : void 0,
467
483
  onSelectionChange: (t) => {
468
484
  U(a === "range" ? t ? {
469
- from: k,
470
- to: A,
471
- [b ?? "from"]: z(t, e, i)
472
- } : null : t ? z(t, D, i) : null);
485
+ from: A,
486
+ to: j,
487
+ [x ?? "from"]: B(t, e, r)
488
+ } : null : t ? B(t, O, r) : null);
473
489
  }
474
490
  };
475
491
  }
476
492
  return /* @__PURE__ */ o("div", {
477
- class: `rv-temporal-picker rv-temporal-picker--${i}`,
493
+ class: `rv-temporal-picker rv-temporal-picker--${r}${d ? " rv-temporal-picker--multi-month" : ""}`,
478
494
  children: [
479
- r.dateInput === !1 && a === "range" && i !== "time" && /* @__PURE__ */ o("div", {
480
- class: `rv-temporal-picker__endpoints ${r.classNames?.endpoints ?? ""}`,
481
- children: [/* @__PURE__ */ o(d, {
482
- "aria-label": `${u.startDate}: ${k}`,
483
- "aria-pressed": b !== "to",
495
+ t.dateInput === !1 && a === "range" && r !== "time" && /* @__PURE__ */ o("div", {
496
+ class: `rv-temporal-picker__endpoints ${t.classNames?.endpoints ?? ""}`,
497
+ children: [/* @__PURE__ */ o(p, {
498
+ "aria-label": `${m.startDate}: ${A}`,
499
+ "aria-pressed": x !== "to",
484
500
  onClick: () => {
485
- x(void 0), k && N(v(L(k), l.calendarSystem)), T("");
501
+ S(void 0), A && P(y(R(A), u.calendarSystem)), E("");
486
502
  },
487
- children: k ? L(k) : "—"
488
- }), /* @__PURE__ */ o(d, {
489
- "aria-label": `${u.endDate}: ${A}`,
490
- "aria-pressed": b === "to",
503
+ children: A ? R(A) : "—"
504
+ }), /* @__PURE__ */ o(p, {
505
+ "aria-label": `${m.endDate}: ${j}`,
506
+ "aria-pressed": x === "to",
491
507
  onClick: () => {
492
- x("to"), A && N(v(L(A), l.calendarSystem)), T("");
508
+ S("to"), j && P(y(R(j), u.calendarSystem)), E("");
493
509
  },
494
- children: A ? L(A) : "—"
510
+ children: j ? R(j) : "—"
495
511
  })]
496
512
  }),
497
513
  /* @__PURE__ */ o("div", {
498
514
  class: "rv-temporal-picker__header",
499
- children: i !== "time" && r.dateInput !== !1 && /* @__PURE__ */ o("div", {
500
- class: `rv-temporal-picker__dates ${a === "range" ? `rv-temporal-picker__endpoints ${r.classNames?.endpoints ?? ""}` : ""}`,
515
+ children: r !== "time" && t.dateInput !== !1 && /* @__PURE__ */ o("div", {
516
+ class: `rv-temporal-picker__dates ${a === "range" ? `rv-temporal-picker__endpoints ${t.classNames?.endpoints ?? ""}` : ""}`,
501
517
  children: a === "range" ? /* @__PURE__ */ o(e, { children: [/* @__PURE__ */ o("div", {
502
518
  class: "rv-temporal-picker__endpoint",
503
519
  role: "group",
504
- "aria-label": u.startDate,
505
- children: [/* @__PURE__ */ o(C, {
506
- label: u.startDate,
507
- value: h(k),
508
- options: g,
509
- invalid: !F,
510
- errorId: m,
511
- onFocus: () => x(void 0),
520
+ "aria-label": m.startDate,
521
+ children: [/* @__PURE__ */ o(w, {
522
+ label: m.startDate,
523
+ value: g(A),
524
+ options: _,
525
+ invalid: !I,
526
+ errorId: h,
527
+ onFocus: () => S(void 0),
512
528
  onChange: (e) => G("from", e)
513
- }), i === "datetime" && K(k, u.startTime, (e) => H({
514
- from: B(k, e, i),
515
- ...A ? { to: A } : {}
529
+ }), r === "datetime" && K(A, m.startTime, (e) => H({
530
+ from: V(A, e, r),
531
+ ...j ? { to: j } : {}
516
532
  }), !1)]
517
533
  }), /* @__PURE__ */ o("div", {
518
534
  class: "rv-temporal-picker__endpoint",
519
535
  role: "group",
520
- "aria-label": u.endDate,
521
- children: [/* @__PURE__ */ o(C, {
522
- label: u.endDate,
523
- value: h(A),
524
- options: g,
525
- invalid: !F,
526
- errorId: m,
527
- onFocus: () => x("to"),
536
+ "aria-label": m.endDate,
537
+ children: [/* @__PURE__ */ o(w, {
538
+ label: m.endDate,
539
+ value: g(j),
540
+ options: _,
541
+ invalid: !I,
542
+ errorId: h,
543
+ onFocus: () => S("to"),
528
544
  onChange: (e) => G("to", e)
529
- }), i === "datetime" && K(A, u.endTime, (e) => H({
530
- from: k,
531
- to: B(A, e, i)
545
+ }), r === "datetime" && K(j, m.endTime, (e) => H({
546
+ from: A,
547
+ to: V(j, e, r)
532
548
  }), !1)]
533
- })] }) : /* @__PURE__ */ o(C, {
534
- label: a === "multiple" ? u.dates : u.date,
535
- value: a === "multiple" ? O : h(D),
549
+ })] }) : /* @__PURE__ */ o(w, {
550
+ label: a === "multiple" ? m.dates : m.date,
551
+ value: a === "multiple" ? k : g(O),
536
552
  multiple: a === "multiple",
537
- options: g,
538
- invalid: !F,
539
- errorId: m,
553
+ options: _,
554
+ invalid: !I,
555
+ errorId: h,
540
556
  onChange: (e) => {
541
- typeof e == "string" && W(e), H(Array.isArray(e) ? e : e ? z(e, D, i) : null);
557
+ typeof e == "string" && W(e), H(Array.isArray(e) ? e : e ? B(e, O, r) : null);
542
558
  }
543
559
  })
544
560
  })
545
561
  }),
546
562
  /* @__PURE__ */ o("div", {
547
563
  class: "rv-temporal-picker__body",
548
- children: [i !== "time" && /* @__PURE__ */ o(w, { ...J }), i !== "date" && a !== "range" && /* @__PURE__ */ o(Q, {
549
- value: R(D),
550
- label: u.time,
551
- text: u,
552
- format: r.timeFormat,
553
- precision: r.precision,
554
- locale: l.locale,
555
- min: r.minTime,
556
- max: r.maxTime,
557
- step: r.timeStep,
558
- onChange: (e) => H(B(D, e, i))
564
+ children: [r !== "time" && /* @__PURE__ */ o(T, { ...J }), r !== "date" && a !== "range" && /* @__PURE__ */ o(Z, {
565
+ collapsible: r === "datetime" && d,
566
+ value: z(O),
567
+ label: m.time,
568
+ text: m,
569
+ format: t.timeFormat,
570
+ precision: t.precision,
571
+ locale: u.locale,
572
+ min: t.minTime,
573
+ max: t.maxTime,
574
+ step: t.timeStep,
575
+ onChange: (e) => H(V(O, e, r))
559
576
  })]
560
577
  }),
561
- i !== "date" && a === "range" && (i === "time" || r.dateInput === !1) && /* @__PURE__ */ o("div", {
578
+ r !== "date" && a === "range" && (r === "time" || t.dateInput === !1) && /* @__PURE__ */ o("div", {
562
579
  class: "rv-temporal-picker__times",
563
- children: [i === "time" ? /* @__PURE__ */ o(Q, {
564
- value: R(k),
565
- label: u.startTime,
566
- text: u,
567
- format: r.timeFormat,
568
- precision: r.precision,
569
- locale: l.locale,
570
- min: r.minTime,
571
- max: r.maxTime,
572
- step: r.timeStep,
580
+ children: [r === "time" ? /* @__PURE__ */ o(Z, {
581
+ value: z(A),
582
+ label: m.startTime,
583
+ text: m,
584
+ format: t.timeFormat,
585
+ precision: t.precision,
586
+ locale: u.locale,
587
+ min: t.minTime,
588
+ max: t.maxTime,
589
+ step: t.timeStep,
573
590
  onChange: (e) => H({
574
591
  from: e,
575
- ...A ? { to: A } : {}
592
+ ...j ? { to: j } : {}
576
593
  })
577
- }) : K(k, u.startTime, (e) => H({
578
- from: B(k, e, i),
579
- ...A ? { to: A } : {}
580
- })), i === "time" ? /* @__PURE__ */ o(Q, {
581
- value: R(A),
582
- label: u.endTime,
583
- text: u,
584
- format: r.timeFormat,
585
- precision: r.precision,
586
- locale: l.locale,
587
- min: r.minTime,
588
- max: r.maxTime,
589
- step: r.timeStep,
594
+ }) : K(A, m.startTime, (e) => H({
595
+ from: V(A, e, r),
596
+ ...j ? { to: j } : {}
597
+ })), r === "time" ? /* @__PURE__ */ o(Z, {
598
+ value: z(j),
599
+ label: m.endTime,
600
+ text: m,
601
+ format: t.timeFormat,
602
+ precision: t.precision,
603
+ locale: u.locale,
604
+ min: t.minTime,
605
+ max: t.maxTime,
606
+ step: t.timeStep,
590
607
  onChange: (e) => H({
591
- from: k,
608
+ from: A,
592
609
  to: e
593
610
  })
594
- }) : K(A, u.endTime, (e) => H({
595
- from: k,
596
- to: B(A, e, i)
611
+ }) : K(j, m.endTime, (e) => H({
612
+ from: A,
613
+ to: V(j, e, r)
597
614
  }))]
598
615
  }),
599
- !F && /* @__PURE__ */ o(f, {
616
+ !I && /* @__PURE__ */ o(f, {
600
617
  tone: "danger",
601
618
  children: /* @__PURE__ */ o("span", {
602
- id: m,
603
- children: I
619
+ id: h,
620
+ children: L
604
621
  })
605
622
  })
606
623
  ]
607
624
  });
608
625
  }
609
626
  //#endregion
610
- //#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/regular/clock.svg?raw
611
- var ae = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M464 256a208 208 0 1 1 -416 0 208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0 256 256 0 1 0 -512 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z\"/></svg>";
612
- //#endregion
613
627
  //#region src/date-time/field.tsx
614
- function $({ value: e, options: t, apply: r, cancel: i, clearable: a = !0 }) {
615
- let [s, c] = n(e), [l, u] = n(!1), [d, p] = n(""), m = (e) => {
616
- c(e), p("");
617
- }, h = t.autoApply !== !1, g = JSON.stringify(s) !== JSON.stringify(e), _ = (e) => {
628
+ function Q({ value: e, options: t, apply: r, cancel: i, onValidChange: a, clearable: s = !0 }) {
629
+ let [c, l] = n(e), [u, d] = n(!1), [p, m] = n(""), h = (e) => {
630
+ l(e), m("");
631
+ }, g = t.autoApply !== !1, _ = JSON.stringify(c) !== JSON.stringify(e), v = (e) => {
618
632
  let t = r(e) || "";
619
- return p(t), !t;
620
- }, v = () => l ? _(s) : !1;
621
- return E(() => !g || v(), h), /* @__PURE__ */ o("div", {
633
+ return m(t), !t;
634
+ }, y = () => u ? v(c) : !1;
635
+ return D(() => !_ || y(), g), /* @__PURE__ */ o("div", {
622
636
  class: `rv-temporal-draft${t.kind === "time" ? " rv-temporal-draft--time" : ""}`,
623
637
  onKeyDown: (e) => {
624
- e.key === "Enter" && !e.isComposing && (e.ctrlKey || e.metaKey || h && e.target instanceof HTMLInputElement) && (e.preventDefault(), v());
638
+ e.key === "Enter" && !e.isComposing && (e.ctrlKey || e.metaKey || g && e.target instanceof HTMLInputElement) && (e.preventDefault(), y());
625
639
  },
626
640
  children: [
627
- /* @__PURE__ */ o(ie, {
641
+ /* @__PURE__ */ o(oe, {
628
642
  ...t,
629
- value: s,
630
- onChange: m,
631
- onValidityChange: u,
632
- onSelectionComplete: h ? _ : void 0
643
+ value: c,
644
+ onChange: h,
645
+ onValidChange: a,
646
+ onValidityChange: d,
647
+ onSelectionComplete: g ? v : void 0
633
648
  }),
634
- d && /* @__PURE__ */ o(f, {
649
+ p && /* @__PURE__ */ o(f, {
635
650
  tone: "danger",
636
- children: d
651
+ children: p
637
652
  }),
638
- /* @__PURE__ */ o(D, {
653
+ /* @__PURE__ */ o(O, {
639
654
  text: t.actions,
640
- showConfirm: t.showActions ?? !h,
641
- disabled: !l,
642
- apply: v,
655
+ showConfirm: t.showActions ?? !g,
656
+ disabled: !u,
657
+ apply: y,
643
658
  cancel: i,
644
- clear: !a || (t.required ?? t.calendar?.required) ? void 0 : () => {
659
+ clear: !s || (t.required ?? t.calendar?.required) ? void 0 : () => {
645
660
  let e = t.selection === "multiple" ? [] : null;
646
- m(e), h && _(e);
661
+ h(e), g && v(e);
647
662
  }
648
663
  })
649
664
  ]
650
665
  });
651
666
  }
652
- function oe({ value: e, kind: t = "date", picker: n, onValueChange: r, onInput: c, formatValue: l, parseValue: f, ...p }) {
653
- let m = a(null), h = a(), g = a({
667
+ function se({ value: e, kind: t = "date", picker: n, livePickerUpdates: r, onValueChange: s, onInput: c, formatValue: l, parseValue: f, ...m }) {
668
+ let h = a(null), _ = a(), v = a({
654
669
  value: e,
655
670
  kind: t,
656
671
  picker: n,
657
- onValueChange: r,
658
- input: p
672
+ onValueChange: s,
673
+ input: m
659
674
  });
660
- return g.current = {
675
+ return v.current = {
661
676
  value: e,
662
677
  kind: t,
663
678
  picker: n,
664
- onValueChange: r,
665
- input: p
666
- }, i(() => () => h.current?.close(), []), i(() => {
667
- (p.disabled || p.readOnly) && h.current?.close();
668
- }, [p.disabled, p.readOnly]), /* @__PURE__ */ o("span", {
679
+ onValueChange: s,
680
+ input: m
681
+ }, i(() => () => _.current?.close(), []), i(() => {
682
+ (m.disabled || m.readOnly) && _.current?.close();
683
+ }, [m.disabled, m.readOnly]), /* @__PURE__ */ o("span", {
669
684
  class: "rv-date-time-field",
670
- children: [/* @__PURE__ */ o(u, {
671
- ...p,
685
+ children: [/* @__PURE__ */ o(d, {
686
+ ...m,
672
687
  type: "text",
673
688
  value: l?.(e) ?? e,
674
- placeholder: p.placeholder ?? (t === "date" ? "YYYY-MM-DD" : t === "time" ? "HH:mm" : "YYYY-MM-DDTHH:mm"),
689
+ placeholder: m.placeholder ?? (t === "date" ? "YYYY-MM-DD" : t === "time" ? "HH:mm" : "YYYY-MM-DDTHH:mm"),
675
690
  onInput: (e) => {
676
691
  c?.(e);
677
692
  let t = f ? f(e.currentTarget.value) : e.currentTarget.value;
678
- t !== void 0 && r?.(t);
693
+ t !== void 0 && s?.(t);
679
694
  }
680
- }), /* @__PURE__ */ o(d, {
681
- ref: m,
695
+ }), /* @__PURE__ */ o(p, {
696
+ ref: h,
682
697
  variant: "ghost",
683
698
  "aria-label": X(t, n?.text),
684
- disabled: p.disabled || p.readOnly,
699
+ disabled: m.disabled || m.readOnly,
685
700
  onClick: () => {
686
- m.current && !h.current && (h.current = T(m.current, (r) => /* @__PURE__ */ o($, {
701
+ if (!h.current) return;
702
+ if (_.current) {
703
+ _.current.close();
704
+ return;
705
+ }
706
+ let i, a = (e) => {
707
+ let t = typeof e == "string" ? e : "";
708
+ t === i || v.current.input.disabled || v.current.input.readOnly || (i = t, v.current.onValueChange?.(t));
709
+ };
710
+ _.current = E(h.current, (i) => /* @__PURE__ */ o(Q, {
687
711
  value: e || null,
688
712
  options: {
689
713
  ...n,
690
- required: n?.required ?? p.required,
714
+ calendar: {
715
+ fixedWeeks: !0,
716
+ ...n?.calendar
717
+ },
718
+ required: n?.required ?? m.required,
691
719
  kind: t,
692
720
  selection: "single"
693
721
  },
694
- cancel: r,
722
+ cancel: i,
723
+ onValidChange: r && n?.autoApply !== !1 ? a : void 0,
695
724
  apply: (e) => {
696
- !g.current.input.disabled && !g.current.input.readOnly && g.current.onValueChange?.(typeof e == "string" ? e : ""), r();
725
+ a(e), i();
697
726
  }
698
727
  }), {
699
728
  label: X(t, n?.text),
729
+ fitViewport: t === "datetime",
700
730
  className: t === "time" ? "rv-editor-popup--time" : t === "datetime" ? "rv-editor-popup--datetime" : void 0,
701
731
  onClose: () => {
702
- h.current = void 0;
732
+ _.current = void 0;
703
733
  }
704
- }));
734
+ });
705
735
  },
706
- children: /* @__PURE__ */ o(s, { svg: t === "time" ? ae : S })
736
+ children: /* @__PURE__ */ o(u, { svg: t === "time" ? g : C })
707
737
  })]
708
738
  });
709
739
  }
710
740
  //#endregion
711
741
  //#region src/date-time/attach.tsx
712
- function se(e, t, n) {
713
- let r, i = c(e.ownerDocument, /* @__PURE__ */ o(d, {
742
+ var $ = /* @__PURE__ */ new WeakMap();
743
+ function ce(e, t, n) {
744
+ $.get(e)?.();
745
+ let r, i = s(e.ownerDocument, /* @__PURE__ */ o(p, {
746
+ className: "rv-temporal-picker-trigger",
714
747
  variant: "ghost",
715
748
  disabled: e.disabled || e.readOnly,
716
749
  "aria-label": X(t.kind ?? "date", t.text),
717
750
  onClick: () => {
718
- e.disabled || e.readOnly || r || (r = T(e, (r) => /* @__PURE__ */ o($, {
751
+ e.disabled || e.readOnly || (r ? r.close() : r = E(e, (r) => /* @__PURE__ */ o(Q, {
719
752
  value: e.value || null,
720
753
  options: {
721
754
  ...t,
@@ -727,29 +760,33 @@ function se(e, t, n) {
727
760
  !e.disabled && !e.readOnly && n(typeof t == "string" ? t : ""), r();
728
761
  }
729
762
  }), {
763
+ fitViewport: t.kind === "datetime",
730
764
  className: t.kind === "time" ? "rv-editor-popup--time" : t.kind === "datetime" ? "rv-editor-popup--datetime" : void 0,
731
765
  label: X(t.kind ?? "date", t.text),
766
+ trigger: i,
732
767
  onClose: () => {
733
768
  r = void 0;
734
769
  }
735
770
  }));
736
771
  },
737
- children: /* @__PURE__ */ o(s, { svg: t.kind === "time" ? ae : S })
772
+ children: /* @__PURE__ */ o(u, { svg: t.kind === "time" ? g : C })
738
773
  }));
739
774
  e.after(i);
740
- let a = e.ownerDocument.defaultView?.MutationObserver, u = a ? new a(() => {
775
+ let a = e.ownerDocument.defaultView?.MutationObserver, l = a ? new a(() => {
741
776
  i.disabled = e.disabled || e.readOnly, i.disabled && r?.close();
742
777
  }) : void 0;
743
- return u?.observe(e, {
778
+ l?.observe(e, {
744
779
  attributes: !0,
745
780
  attributeFilter: ["disabled", "readonly"]
746
- }), () => {
747
- u?.disconnect(), r?.close(), l(i), i.remove();
781
+ });
782
+ let d = () => {
783
+ $.get(e) === d && ($.delete(e), l?.disconnect(), r?.close(), c(i), i.remove());
748
784
  };
785
+ return $.set(e, d), d;
749
786
  }
750
787
  //#endregion
751
788
  //#region src/date-time/value.tsx
752
- function ce(e, t) {
789
+ function le(e, t) {
753
790
  let n = Number.isFinite(t.maxVisibleDates) ? Math.max(1, Math.floor(t.maxVisibleDates)) : 2, r = t.multiple ? t.values.slice(0, n) : t.values, i = t.values.length - r.length;
754
791
  return e("span", {
755
792
  class: "rv-temporal-value",
@@ -767,4 +804,4 @@ function ce(e, t) {
767
804
  }, `+${i}`) : null]);
768
805
  }
769
806
  //#endregion
770
- export { ie as a, $ as i, se as n, Y as o, oe as r, X as s, ce as t };
807
+ export { oe as a, Q as i, ce as n, Y as o, se as r, X as s, le as t };