@revolist/ui 4.0.5-rc → 4.0.5

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 (356) hide show
  1. package/MIGRATION.md +36 -0
  2. package/OWNERSHIP.md +36 -36
  3. package/README.md +65 -408
  4. package/_button.scss +6 -2
  5. package/_chunks/{calendar-DsXIhybL.js → calendar-BQYQLu8Q.js} +5 -5
  6. package/_chunks/{cell-visuals-E-2oEKHg.js → cell-visuals-r6DOOhGh.js} +7 -7
  7. package/_chunks/{chart-frame-CuZABXVI.js → chart-frame-GprenwEg.js} +17 -13
  8. package/_chunks/{chevron-left-D0nc4Z5S.js → chevron-right-CM3ljziP.js} +2 -2
  9. package/_chunks/{choice-chips-BhP8MZjs.js → choice-chips-C5OxD0GV.js} +3 -3
  10. package/_chunks/{color-palette-DMJUChWC.js → color-palette-7siNch__.js} +3 -3
  11. package/_chunks/{color-picker-B4TQvxxB.js → color-picker-Cfc9eqZb.js} +4 -4
  12. package/_chunks/{component-qKctqdzk.js → component-C3k_8uIq.js} +44 -45
  13. package/_chunks/{component-metadata-BMOOmqx5.js → component-metadata-DlVkpW3h.js} +1 -9
  14. package/_chunks/{configurator-actions-C19O1rda.js → configurator-actions-vRnI54mO.js} +3 -3
  15. package/_chunks/{control-BkWukVt9.js → control-BRfF5DWQ.js} +32 -7
  16. package/_chunks/{controller-hRBm_Lfz.js → controller-BbiQuRt-.js} +5 -5
  17. package/_chunks/{controls-BLQnWEd7.js → controls-B3EgM_DS.js} +160 -132
  18. package/_chunks/{date-control-Cgw5PwlZ.js → date-control-87dcA5br.js} +5 -5
  19. package/_chunks/{date-time-B8rK5gpC.js → date-time-CfiFYodx.js} +316 -293
  20. package/_chunks/{delete-button-CW9vjLnk.js → delete-button-jneO24wa.js} +1 -1
  21. package/_chunks/dialog.parts-NqEEVc9P.js +131 -0
  22. package/_chunks/{duration-DwFXonEV.js → duration-BGZ_qJ99.js} +10 -7
  23. package/_chunks/{editor-commit-Bq3wSgvr.js → editor-commit-Dyo-FMgD.js} +1 -1
  24. package/_chunks/{editor-popup-BaaxL89T.js → editor-popup-NNP9Fh9U.js} +12 -11
  25. package/_chunks/field-configurator-DPulsY3l.js +288 -0
  26. package/_chunks/{field-context-D57PnBbH.js → field-context-C4_WrO2z.js} +1 -1
  27. package/_chunks/{framework-mount--RTLIqE-.js → framework-mount-D4I8HpVp.js} +2 -2
  28. package/_chunks/{icon-toolbar-xbqa0hu9.js → icon-toolbar-BAAdEvr9.js} +41 -35
  29. package/_chunks/{icons-Ci5mADVc.js → icons-B4qN13Yj.js} +1 -1
  30. package/_chunks/{iso-B0YHBK7m.js → iso-CJQl2kmq.js} +1 -1
  31. package/_chunks/{model-mPO2tG2f.js → model-CFrBgRHm.js} +3 -3
  32. package/_chunks/mount-C8CnIW9k.js +267 -0
  33. package/_chunks/{native.view-ByyZ1CT5.js → native-CJm3eq3-.js} +1 -1
  34. package/_chunks/{native-control-DO0d1kgx.js → native-control-um1L1wgZ.js} +124 -111
  35. package/_chunks/{number-input-s9ddPwX6.js → number-input-CKiA4d1N.js} +4 -4
  36. package/_chunks/{picker-AY05b41W.js → picker-igNshTRC.js} +5 -5
  37. package/_chunks/{popup-UXGCiv3n.js → popup-DECYM9FI.js} +21 -10
  38. package/_chunks/{rating-choice-BEs_QFZC.js → rating-choice-CepVfGUq.js} +2 -2
  39. package/_chunks/{render-m5eMMwFR.js → render-bTk3curw.js} +2 -2
  40. package/_chunks/{reorder-list-A49l172e.js → reorder-list-B4w3aARt.js} +2 -2
  41. package/_chunks/{request-trail-DCOfa5zw.js → request-trail-B1zVRPEf.js} +151 -142
  42. package/_chunks/{rich-text-xfMWadGi.js → rich-text-Ci4d6dHn.js} +11 -11
  43. package/_chunks/selection-list-tooltips-m00U3L6z.js +42 -0
  44. package/_chunks/{title-tooltip-Cw6LOZhb.js → title-tooltip-ncldbUwS.js} +2 -2
  45. package/_chunks/{tooltip-D4xkio5G.js → tooltip-h-Z8yFBY.js} +2 -2
  46. package/_chunks/{tooltip-owner-DjdvqKzz.js → tooltip-owner-BYho-vJl.js} +1 -1
  47. package/_chunks/{tooltip-session-B6X6x8G_.js → tooltip-session-CBtRMBPr.js} +3 -3
  48. package/_chunks/{tooltip-text-BXsUEmBH.js → tooltip-text-BN5WdGHn.js} +2 -2
  49. package/_chunks/{top-layer-popup-CNSDdfJV.js → top-layer-popup-CKJ7VJOF.js} +3 -3
  50. package/_dialog.scss +57 -22
  51. package/_form.scss +71 -21
  52. package/_legend.scss +25 -7
  53. package/_variables.scss +34 -32
  54. package/_view-switcher.scss +6 -0
  55. package/activity-message.d.ts +1 -1
  56. package/activity-message.js +1 -1
  57. package/ai/_chat.scss +7 -0
  58. package/ai/_style.scss +27 -20
  59. package/ai/components.d.ts +3 -1
  60. package/ai/index.js +2 -2
  61. package/ai/mount.d.ts +15 -7
  62. package/ai/request-trail.d.ts +9 -3
  63. package/ai/results/_style.scss +3 -0
  64. package/ai/results/index.d.ts +1 -1
  65. package/ai/translations.d.ts +1 -1
  66. package/angular/angular.d.ts +1 -1
  67. package/angular/angular.js +13 -7
  68. package/assignee/assignee.scss +28 -6
  69. package/assignee/index.js +6 -6
  70. package/avatar/avatar.style.scss +23 -6
  71. package/avatar/index.d.ts +25 -2
  72. package/avatar/index.js +2 -2
  73. package/badge.d.ts +1 -1
  74. package/badge.js +1 -1
  75. package/badge.view.d.ts +1 -1
  76. package/brush-range/_brush-range.scss +55 -49
  77. package/brush-range/component.d.ts +1 -3
  78. package/brush-range/component.js +10 -11
  79. package/buttons/delete-button.js +1 -1
  80. package/buttons/delete-button.style.scss +6 -2
  81. package/buttons/remove-button.d.ts +1 -1
  82. package/buttons/remove-button.js +2 -2
  83. package/buttons/remove-button.style.scss +1 -1
  84. package/buttons/svg-button.js +3 -3
  85. package/calendar/_calendar.scss +19 -23
  86. package/calendar/calendar.js +1 -1
  87. package/calendar/day.js +2 -2
  88. package/calendar/header.js +2 -3
  89. package/calendar/index.js +3 -3
  90. package/calendar/model.js +1 -1
  91. package/calendar/month-grid.js +2 -2
  92. package/calendar/translations.js +1 -1
  93. package/calendar/year-grid.js +2 -2
  94. package/cell-input.js +1 -1
  95. package/cell-input.scss +3 -7
  96. package/cell-visuals/badge.style.scss +6 -3
  97. package/cell-visuals/bar-chart.style.scss +2 -1
  98. package/cell-visuals/column-type.style.css +12 -0
  99. package/cell-visuals/index.js +1 -1
  100. package/cell-visuals/progress-line-value.renderer.style.scss +4 -2
  101. package/cell-visuals/progress-line.style.scss +1 -4
  102. package/cell-visuals/sparkline.style.scss +2 -1
  103. package/cell-visuals/timeline.style.css +4 -2
  104. package/checkbox/checkbox.scss +6 -24
  105. package/checkbox/index.js +1 -1
  106. package/choice-chips/index.js +1 -1
  107. package/color-palette/built-in-palettes.js +1 -1
  108. package/color-palette/chart-palettes.js +1 -1
  109. package/color-palette/color-palette.js +1 -1
  110. package/color-palette/color-palette.style.scss +88 -25
  111. package/color-palette/color-picker.constants.js +1 -1
  112. package/color-palette/color-picker.js +2 -2
  113. package/color-palette/color-picker.style.scss +23 -10
  114. package/color-palette/common-palettes.d.ts +1 -1
  115. package/color-palette/common-palettes.js +2 -2
  116. package/color-palette/gantt-palettes.js +1 -1
  117. package/color-palette/native.d.ts +15 -2
  118. package/color-palette/palette.js +1 -1
  119. package/color-palette/pivot-palettes.js +1 -1
  120. package/color-palette/platform-palettes.js +1 -1
  121. package/color-palette/pro-palettes.js +1 -1
  122. package/color-palette/scheduler-palettes.js +1 -1
  123. package/component-catalog.d.ts +3 -6
  124. package/configurator-actions.d.ts +6 -6
  125. package/configurator-actions.js +1 -1
  126. package/configurator-aggregation-list.d.ts +1 -1
  127. package/configurator-aggregation-list.js +19 -17
  128. package/configurator-drop-zone.d.ts +3 -2
  129. package/configurator-drop-zone.js +34 -32
  130. package/configurator-focus.js +1 -1
  131. package/configurator-sections.d.ts +3 -3
  132. package/configurator-sections.js +1 -1
  133. package/control-attributes.js +1 -1
  134. package/control-presentation.d.ts +8 -2
  135. package/control-presentation.js +2 -2
  136. package/controls.d.ts +11 -0
  137. package/controls.js +4 -4
  138. package/core/anchored-popover.js +1 -1
  139. package/core/control-id.js +1 -1
  140. package/core/editor-popup-position.d.ts +6 -2
  141. package/core/editor-popup.d.ts +4 -0
  142. package/core/editor-popup.js +1 -1
  143. package/core/motion.js +1 -1
  144. package/{_chunks/popover-controller-D-AvKQ7B.js → core/popover-controller.js} +8 -8
  145. package/core/selection-list-tooltips.d.ts +2 -0
  146. package/core/tooltip.d.ts +1 -1
  147. package/core/top-layer-popup.d.ts +1 -1
  148. package/core/top-layer-popup.js +1 -1
  149. package/date-time/attach.d.ts +1 -1
  150. package/date-time/date-control.d.ts +1 -1
  151. package/date-time/field.d.ts +4 -2
  152. package/date-time/index.js +1 -1
  153. package/date-time/style.scss +206 -46
  154. package/date-time/time-selection.d.ts +1 -1
  155. package/date-time/types.d.ts +5 -1
  156. package/dialog/dialog-action-footer.d.ts +17 -2
  157. package/dialog/dialog.dom.d.ts +15 -2
  158. package/dialog/dialog.dom.js +3 -3
  159. package/dialog/dialog.drag.js +1 -1
  160. package/dialog/dialog.parts.d.ts +1 -1
  161. package/dialog/dialog.parts.js +1 -1
  162. package/dialog/dialog.preact.js +1 -1
  163. package/distribution-chart/_distribution-chart.scss +115 -23
  164. package/distribution-chart/area-chart.js +2 -2
  165. package/distribution-chart/bar-chart.js +2 -2
  166. package/distribution-chart/chart-frame.d.ts +1 -1
  167. package/distribution-chart/index.d.ts +1 -1
  168. package/distribution-chart/index.js +1 -1
  169. package/distribution-chart/line-chart.js +2 -2
  170. package/dropdown/content.js +1 -1
  171. package/dropdown/control.js +1 -1
  172. package/dropdown/dropdown.service.js +1 -1
  173. package/dropdown/dropdown.types.d.ts +1 -1
  174. package/dropdown/editor-dropdown.style.scss +19 -9
  175. package/dropdown/index.js +2 -2
  176. package/dropdown/lookup-field.d.ts +5 -0
  177. package/dropdown/lookup-field.js +3 -3
  178. package/dropdown/popup.js +1 -1
  179. package/duration/index.js +1 -1
  180. package/editor-actions.js +2 -2
  181. package/editor-layout/index.d.ts +4 -4
  182. package/editor-layout/index.js +40 -35
  183. package/editor-layout/style.scss +82 -18
  184. package/favicon.svg +9 -0
  185. package/field-configurator.d.ts +22 -3
  186. package/field-configurator.js +1 -1
  187. package/field-reorder.hook.js +1 -1
  188. package/field-reorder.js +1 -1
  189. package/filter/filters/slider/_single-slider.scss +57 -38
  190. package/filter/filters/slider/_slider.scss +41 -16
  191. package/filter/filters/slider/component.js +1 -1
  192. package/filter/filters/slider/control.js +1 -1
  193. package/filter/filters/slider/inputs.js +1 -1
  194. package/filter/filters/slider/logic.js +1 -1
  195. package/filter/filters/slider/preact.js +1 -1
  196. package/filter/filters/slider/runtime.js +3 -3
  197. package/filter/filters/slider/single.js +2 -2
  198. package/filter-badge.js +2 -2
  199. package/filter-controls.d.ts +0 -1
  200. package/filter-controls.js +6 -7
  201. package/form-controls/index.d.ts +10 -2
  202. package/form-controls/index.js +3 -3
  203. package/form-controls/presentation.d.ts +1 -1
  204. package/form-controls/presentation.js +2 -2
  205. package/formatting/index.d.ts +1 -1
  206. package/formatting/index.js +7 -7
  207. package/formatting/styles.scss +13 -11
  208. package/framework.js +201 -205
  209. package/history-controls.js +1 -1
  210. package/html-controls.js +1 -1
  211. package/icon-toolbar.d.ts +6 -2
  212. package/icon-toolbar.js +1 -1
  213. package/icons/icon.d.ts +1 -1
  214. package/icons/icon.js +1 -1
  215. package/legend.d.ts +1 -1
  216. package/legend.js +1 -1
  217. package/masked-input/index.js +4 -4
  218. package/native-control.js +1 -1
  219. package/native-controls.d.ts +54 -2
  220. package/native-styles.css +1 -1
  221. package/native-styles.scss +6 -2
  222. package/native.d.ts +3 -3
  223. package/native.js +35 -35
  224. package/number-input/index.d.ts +1 -1
  225. package/number-input/index.js +1 -1
  226. package/package.json +49 -1
  227. package/pagination.js +12 -12
  228. package/pdf-viewer/controller.js +1 -1
  229. package/pdf-viewer/header.d.ts +1 -1
  230. package/pdf-viewer/index.d.ts +2 -2
  231. package/pdf-viewer/index.js +3 -3
  232. package/pdf-viewer/search-bar.d.ts +1 -1
  233. package/pdf-viewer/status.d.ts +1 -1
  234. package/pdf-viewer/style.scss +203 -42
  235. package/preact-mount.js +1 -1
  236. package/preact.d.ts +6 -10
  237. package/preact.js +108 -70
  238. package/progress/_bar.scss +9 -3
  239. package/progress/_circular.scss +2 -1
  240. package/progress/bar.js +1 -1
  241. package/progress/circular.js +1 -1
  242. package/progress/range.js +1 -1
  243. package/rating-choice.js +1 -1
  244. package/react-adapter.d.ts +4 -2
  245. package/react-control.d.ts +2 -0
  246. package/react-control.js +3 -3
  247. package/react.d.ts +2 -8
  248. package/react.js +55 -56
  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-avatar.js +1 -1
  253. package/resource-picker/resource-picker-option.js +1 -1
  254. package/resource-picker/resource-picker-popup.js +2 -2
  255. package/resource-picker/resource-picker.js +74 -72
  256. package/resource-picker/resource-picker.scss +62 -34
  257. package/resource-picker/resource-picker.utils.js +1 -1
  258. package/rich-text/index.js +1 -1
  259. package/rich-text/style.scss +203 -49
  260. package/rich-text/toolbar.d.ts +1 -1
  261. package/robots.txt +4 -0
  262. package/search-input/index.js +2 -2
  263. package/search-input/native.d.ts +21 -2
  264. package/segmented-switch/index.js +1 -1
  265. package/select.js +1 -1
  266. package/selection-list.d.ts +1 -0
  267. package/selection-list.js +3 -1
  268. package/status-feedback/badge.js +2 -2
  269. package/status-feedback/exit-snapshot.js +2 -2
  270. package/status-feedback/header.js +2 -2
  271. package/status-feedback/icons.js +1 -1
  272. package/status-feedback/index.js +1 -1
  273. package/status-feedback/item.js +2 -2
  274. package/status-feedback/motion.js +1 -1
  275. package/status-feedback/placement.js +1 -1
  276. package/status-feedback/popover.js +2 -2
  277. package/status-feedback/render.js +1 -1
  278. package/status-feedback/status-feedback.scss +124 -35
  279. package/styles/_activity-message.scss +24 -7
  280. package/styles/_alert.scss +78 -17
  281. package/styles/_cell-editor-frame.scss +11 -0
  282. package/styles/_compositions.scss +399 -79
  283. package/styles/_control.scss +30 -8
  284. package/styles/_disclosure.scss +15 -5
  285. package/styles/_editor-counter.scss +16 -6
  286. package/styles/_editor-slider.scss +8 -4
  287. package/styles/_field-configurator.scss +194 -42
  288. package/styles/_fields-grid.scss +18 -4
  289. package/styles/_filter-controls.scss +10 -2
  290. package/styles/_icon-action.scss +48 -15
  291. package/styles/_loading.scss +12 -3
  292. package/styles/_motion.scss +32 -9
  293. package/styles/_palette.scss +0 -24
  294. package/styles/_primitives.scss +348 -96
  295. package/styles/_theme.scss +130 -86
  296. package/styles/_thresholds.scss +28 -25
  297. package/styles/_time-grid.scss +8 -3
  298. package/styles/_tokens.scss +6 -1
  299. package/styles/color-roles.js +1 -1
  300. package/styles/configurator-actions.scss +126 -26
  301. package/styles/pagination.css +213 -0
  302. package/styles/{legacy-rating.css → rating.css} +8 -3
  303. package/styles.css +1 -1
  304. package/styles.scss +3 -5
  305. package/surfaces.d.ts +37 -4
  306. package/surfaces.js +8 -8
  307. package/svelte/UiComponent.svelte +44 -11
  308. package/svelte-control.js +1 -1
  309. package/svelte.d.ts +1 -1
  310. package/svelte.js +5 -5
  311. package/switch/index.js +2 -2
  312. package/time-grid.d.ts +0 -1
  313. package/time-grid.js +6 -6
  314. package/timeline-track/_style.scss +96 -24
  315. package/timeline-track/index.js +3 -3
  316. package/timeline-track/model.js +1 -1
  317. package/ui.css +1 -1
  318. package/view-switcher.d.ts +23 -0
  319. package/vue-badge.js +1 -1
  320. package/vue-control.js +1 -1
  321. package/vue-segmented-switch.js +1 -1
  322. package/vue.d.ts +5 -23
  323. package/vue.js +84 -91
  324. package/_chunks/badge.view-D30pMUfi.js +0 -14
  325. package/_chunks/chevron-right-sxHQMSkq.js +0 -4
  326. package/_chunks/dialog.parts-BSbvnEwX.js +0 -134
  327. package/_chunks/field-configurator-1eQP0tKy.js +0 -223
  328. package/_chunks/mount-D1i5DLRn.js +0 -266
  329. package/_shared/data-query/binding.d.ts +0 -30
  330. package/_shared/data-query/blocks.d.ts +0 -30
  331. package/_shared/data-query/commands.d.ts +0 -47
  332. package/_shared/data-query/contracts.d.ts +0 -106
  333. package/_shared/data-query/cursor-reader.d.ts +0 -25
  334. package/_shared/data-query/direct-binding.d.ts +0 -3
  335. package/_shared/data-query/index.d.ts +0 -23
  336. package/_shared/data-query/infinite-binding.d.ts +0 -18
  337. package/_shared/data-query/keys.d.ts +0 -9
  338. package/_shared/data-query/limiter.d.ts +0 -12
  339. package/_shared/data-query/load-options.d.ts +0 -25
  340. package/_shared/data-query/materialize.d.ts +0 -2
  341. package/_shared/data-query/policy.d.ts +0 -14
  342. package/_shared/data-query/provider-queries.d.ts +0 -22
  343. package/_shared/data-query/reader.d.ts +0 -23
  344. package/_shared/data-query/remote-load.d.ts +0 -7
  345. package/_shared/data-query/source.d.ts +0 -40
  346. package/avatar/index.view.d.ts +0 -25
  347. package/color-palette/native.view.d.ts +0 -15
  348. package/control-presentation.view.d.ts +0 -8
  349. package/dialog/dialog-action-footer.view.d.ts +0 -20
  350. package/dialog/dialog.dom.view.d.ts +0 -15
  351. package/form-controls/index.view.d.ts +0 -10
  352. package/formatting/control-tooltip.d.ts +0 -2
  353. package/native-controls.view.d.ts +0 -54
  354. package/search-input/native.view.d.ts +0 -21
  355. package/styles/legacy-pagination.css +0 -129
  356. package/surfaces.view.d.ts +0 -33
@@ -2,23 +2,24 @@ import { c as e, i as t, u as n } from "./preact.module-BBM36DnO.js";
2
2
  import { c as r, i, n as a, o, r as s, s as c, t as l } from "./hooks.module-CG3gN83z.js";
3
3
  import { t as u } from "./jsxRuntime.module-F6UFnpT-.js";
4
4
  import { renderPreactInto as d } from "../preact-mount.js";
5
- import { i as f } from "./top-layer-popup-CNSDdfJV.js";
6
- import { t as p } from "./title-tooltip-Cw6LOZhb.js";
7
- import { t as m } from "./field-context-D57PnBbH.js";
8
- import { r as h, t as g } from "./popup-UXGCiv3n.js";
9
- import { useDropdownService as _ } from "../dropdown/dropdown.service.js";
10
- import { RemoveButton as v } from "../buttons/remove-button.js";
11
- import { t as y } from "./chevron-down-GbplLa6s.js";
12
- import { registerControl as b, renderControl as x } from "../control-presentation.js";
13
- //#region src/dropdown/remote.ts
14
- var S = {
5
+ import { i as f } from "./top-layer-popup-CKJ7VJOF.js";
6
+ import { t as p } from "./title-tooltip-ncldbUwS.js";
7
+ import { t as m } from "./field-context-C4_WrO2z.js";
8
+ import { r as h, t as g } from "./popup-DECYM9FI.js";
9
+ import { t as _ } from "./selection-list-tooltips-m00U3L6z.js";
10
+ import { useDropdownService as v } from "../dropdown/dropdown.service.js";
11
+ import { RemoveButton as y } from "../buttons/remove-button.js";
12
+ import { t as b } from "./chevron-down-GbplLa6s.js";
13
+ import { registerControl as x, renderControl as S } from "../control-presentation.js";
14
+ //#region package/dropdown/remote.ts
15
+ var C = {
15
16
  loading: "Loading…",
16
17
  empty: "No results found",
17
18
  error: "Unable to load options.",
18
19
  retry: "Retry",
19
20
  loadMore: "Load more",
20
21
  unavailable: (e) => `Unavailable (${String(e)})`
21
- }, C = class {
22
+ }, w = class {
22
23
  source;
23
24
  context;
24
25
  changed;
@@ -41,7 +42,7 @@ var S = {
41
42
  failedCursor;
42
43
  resolveFailed = !1;
43
44
  opened = !1;
44
- constructor(e, t, n, r = S, i = {}) {
45
+ constructor(e, t, n, r = C, i = {}) {
45
46
  this.source = e, this.context = t, this.changed = n, this.text = r, this.settings = i;
46
47
  }
47
48
  remember(e) {
@@ -118,10 +119,10 @@ var S = {
118
119
  }
119
120
  };
120
121
  //#endregion
121
- //#region src/dropdown/remote-hook.ts
122
- function w(e) {
122
+ //#region package/dropdown/remote-hook.ts
123
+ function T(e) {
123
124
  let t = a(() => ({
124
- ...S,
125
+ ...C,
125
126
  ...e.remoteText
126
127
  }), [e.remoteText]), [n, o] = i({
127
128
  items: [],
@@ -141,7 +142,7 @@ function w(e) {
141
142
  });
142
143
  return;
143
144
  }
144
- let n = new C(e.dataSource, e.dataContext, o, t);
145
+ let n = new w(e.dataSource, e.dataContext, o, t);
145
146
  return c.current = n, () => {
146
147
  n.destroy(), c.current === n && (c.current = void 0);
147
148
  };
@@ -177,31 +178,43 @@ function w(e) {
177
178
  };
178
179
  }
179
180
  //#endregion
180
- //#region src/dropdown/content.tsx
181
- function T({ options: e, selectedValues: t, remote: n, value: i, onChange: a, config: o, multiSelect: s, search: c, searchPlaceholder: d, listboxId: f, searchId: p, renderOption: m, renderNoResults: h, onClose: g, onTabNavigation: v, theme: y }) {
182
- let b = l(null), x = l(null), S = l(null), { searchValue: C, focusedIndex: w, selectedOptions: T, filteredOptions: D, handleSelect: ee, handleKeyDown: O, handleSearchChange: k, setFocusedIndex: A } = _(e, i, a, o, g, n && {
181
+ //#region package/dropdown/content.tsx
182
+ function E({ options: e, selectedValues: t, remote: n, value: i, onChange: a, config: c, multiSelect: d, search: f, searchPlaceholder: p, listboxId: m, searchId: h, renderOption: g, renderNoResults: y, onClose: b, onTabNavigation: x, theme: S }) {
183
+ let C = l(null), w = l(null), T = l(null), E = l(!1), { searchValue: ee, focusedIndex: O, selectedOptions: k, filteredOptions: A, handleSelect: j, handleKeyDown: M, handleSearchChange: N, setFocusedIndex: P } = v(e, i, a, c, b, n && {
183
184
  selected: t ?? [],
184
185
  search: n.search
185
- }), j = w >= 0 && w < D.length && !D[w].disabled ? `${f}-option-${w}` : void 0;
186
+ }), F = O >= 0 && O < A.length && !A[O].disabled ? `${m}-option-${O}` : void 0;
187
+ s(() => {
188
+ let e = T.current;
189
+ if (!E.current || !e || !F) return;
190
+ E.current = !1;
191
+ let t = e.ownerDocument.getElementById(F);
192
+ if (!t) return;
193
+ let n = e.getBoundingClientRect(), { top: r, bottom: i } = t.getBoundingClientRect();
194
+ r < n.top ? e.scrollTop += r - n.top : i > n.bottom && (e.scrollTop += i - n.bottom);
195
+ });
196
+ let I = _(), L = o((e) => {
197
+ w.current = e, I(e);
198
+ }, [I]);
186
199
  return r(() => {
187
- if (!o.autoFocus) return;
200
+ if (!c.autoFocus) return;
188
201
  let e = () => {
189
- c && b.current ? b.current.focus({ preventScroll: !0 }) : x.current?.focus({ preventScroll: !0 });
190
- }, t = x.current?.ownerDocument.defaultView ?? (typeof window < "u" ? window : void 0);
202
+ f && C.current ? C.current.focus({ preventScroll: !0 }) : w.current?.focus({ preventScroll: !0 });
203
+ }, t = w.current?.ownerDocument.defaultView ?? (typeof window < "u" ? window : void 0);
191
204
  if (!t) return;
192
205
  e();
193
206
  let n = t.setTimeout(e, 0), r = t.requestAnimationFrame(e), i = t.setTimeout(e, 16);
194
207
  return () => {
195
208
  t.clearTimeout(n), t.cancelAnimationFrame(r), t.clearTimeout(i);
196
209
  };
197
- }, [o.autoFocus, c]), /* @__PURE__ */ u("div", {
198
- ref: x,
210
+ }, [c.autoFocus, f]), /* @__PURE__ */ u("div", {
211
+ ref: L,
199
212
  className: "dropdown-listbox",
200
- "data-theme": y ?? "default",
213
+ "data-theme": S ?? "default",
201
214
  role: "listbox",
202
- id: f,
203
- "aria-multiselectable": s,
204
- "aria-activedescendant": j,
215
+ id: m,
216
+ "aria-multiselectable": d,
217
+ "aria-activedescendant": F,
205
218
  tabIndex: -1,
206
219
  "aria-busy": n?.loading,
207
220
  onScrollCapture: (e) => {
@@ -210,28 +223,28 @@ function T({ options: e, selectedValues: t, remote: n, value: i, onChange: a, co
210
223
  },
211
224
  onKeyUp: (e) => e.stopPropagation(),
212
225
  onKeyDown: (e) => {
213
- if (e.stopPropagation(), e.key === "Escape") e.preventDefault(), e.stopPropagation(), g(!1);
226
+ if (e.stopPropagation(), e.key === "Escape") e.preventDefault(), e.stopPropagation(), b(!1);
214
227
  else if (e.key === "Tab") {
215
- if (o.nativeTabNavigation && v) {
216
- v();
228
+ if (c.nativeTabNavigation && x) {
229
+ x();
217
230
  return;
218
231
  }
219
- e.preventDefault(), e.stopPropagation(), o.closeOnTab && g(!0);
220
- } else (e.key !== " " || e.target !== b.current) && O(e);
232
+ e.preventDefault(), e.stopPropagation(), c.closeOnTab && b(!0);
233
+ } else (e.key !== " " || e.target !== C.current) && (E.current = e.key === "ArrowDown" || e.key === "ArrowUp", M(e));
221
234
  },
222
235
  children: [
223
- c && /* @__PURE__ */ u("div", {
236
+ f && /* @__PURE__ */ u("div", {
224
237
  className: "dropdown-search",
225
238
  children: /* @__PURE__ */ u("input", {
226
- ref: b,
239
+ ref: C,
227
240
  type: "text",
228
- id: p,
229
- className: `dropdown-search-input ${y ? `theme-${y}` : ""}`,
230
- placeholder: d,
231
- value: C,
232
- onChange: k,
233
- onInput: k,
234
- "aria-label": o.searchAriaLabel ?? "Search options"
241
+ id: h,
242
+ className: `dropdown-search-input ${S ? `theme-${S}` : ""}`,
243
+ placeholder: p,
244
+ value: ee,
245
+ onChange: N,
246
+ onInput: N,
247
+ "aria-label": c.searchAriaLabel ?? "Search options"
235
248
  })
236
249
  }),
237
250
  n?.loading && /* @__PURE__ */ u("div", {
@@ -243,28 +256,28 @@ function T({ options: e, selectedValues: t, remote: n, value: i, onChange: a, co
243
256
  children: [
244
257
  n.text.error,
245
258
  " ",
246
- /* @__PURE__ */ u(V, {
259
+ /* @__PURE__ */ u(H, {
247
260
  onClick: n.retry,
248
261
  children: n.text.retry
249
262
  })
250
263
  ]
251
264
  }),
252
- /* @__PURE__ */ u(E, {
265
+ /* @__PURE__ */ u(D, {
253
266
  options: e,
254
- filteredOptions: D,
255
- multiSelect: s,
256
- focusedIndex: w,
257
- selectedOptions: T,
258
- onKeyDown: O,
259
- onSelect: ee,
260
- onFocusChange: A,
261
- renderOption: m,
262
- renderNoResults: n ? () => n.loading || n.error ? null : n.text.empty : h,
263
- dropdownListRef: S,
264
- theme: y,
265
- optionIdPrefix: f
267
+ filteredOptions: A,
268
+ multiSelect: d,
269
+ focusedIndex: O,
270
+ selectedOptions: k,
271
+ onKeyDown: M,
272
+ onSelect: j,
273
+ onFocusChange: P,
274
+ renderOption: g,
275
+ renderNoResults: n ? () => n.loading || n.error ? null : n.text.empty : y,
276
+ dropdownListRef: T,
277
+ theme: S,
278
+ optionIdPrefix: m
266
279
  }),
267
- n?.hasMore && /* @__PURE__ */ u(V, {
280
+ n?.hasMore && /* @__PURE__ */ u(H, {
268
281
  disabled: n.loading,
269
282
  onClick: n.loadMore,
270
283
  children: n.text.loadMore
@@ -272,7 +285,7 @@ function T({ options: e, selectedValues: t, remote: n, value: i, onChange: a, co
272
285
  ]
273
286
  });
274
287
  }
275
- function E({ options: n, filteredOptions: r, multiSelect: i, focusedIndex: a, selectedOptions: s, onKeyDown: c, onSelect: l, onFocusChange: d, renderOption: f, renderNoResults: p, dropdownListRef: m, theme: h, optionIdPrefix: g }) {
288
+ function D({ options: n, filteredOptions: r, multiSelect: i, focusedIndex: a, selectedOptions: s, onKeyDown: c, onSelect: l, onFocusChange: d, renderOption: f, renderNoResults: p, dropdownListRef: m, theme: h, optionIdPrefix: g }) {
276
289
  let _ = o((e) => s.some((t) => JSON.stringify(t.value) === JSON.stringify(e.value)), [s]), v = o((t, n) => {
277
290
  let r = _(t), o = a === n;
278
291
  return /* @__PURE__ */ u("li", {
@@ -320,15 +333,15 @@ function E({ options: n, filteredOptions: r, multiSelect: i, focusedIndex: a, se
320
333
  }) });
321
334
  }
322
335
  //#endregion
323
- //#region src/dropdown/index.tsx
324
- var D = ({ options: t, className: n, renderValue: r }) => /* @__PURE__ */ u("span", {
336
+ //#region package/dropdown/index.tsx
337
+ var ee = ({ options: t, className: n, renderValue: r }) => /* @__PURE__ */ u("span", {
325
338
  className: `selected-value ${n}`,
326
339
  children: r ? r(e, t[0]) : t[0].label
327
- }), ee = ({ options: t, removeOption: n, className: r, renderValue: i, disabled: a, removeLabel: o }) => /* @__PURE__ */ u("div", {
340
+ }), O = ({ options: t, removeOption: n, className: r, renderValue: i, disabled: a, removeLabel: o }) => /* @__PURE__ */ u("div", {
328
341
  className: `selected-values ${r}`,
329
342
  children: t.map((t, r) => /* @__PURE__ */ u("span", {
330
343
  className: "selected-tag",
331
- children: [i ? i(e, t) : t.label, !a && !t.disabled && /* @__PURE__ */ u(v, {
344
+ children: [i ? i(e, t) : t.label, !a && !t.disabled && /* @__PURE__ */ u(y, {
332
345
  compact: !0,
333
346
  onClick: (e) => {
334
347
  e.stopPropagation(), n(t);
@@ -339,22 +352,22 @@ var D = ({ options: t, className: n, renderValue: r }) => /* @__PURE__ */ u("spa
339
352
  }
340
353
  })]
341
354
  }, r))
342
- }), O = ({ className: e }) => /* @__PURE__ */ u("span", {
355
+ }), k = ({ className: e }) => /* @__PURE__ */ u("span", {
343
356
  className: `dropdown-arrow ${e}`,
344
357
  "aria-hidden": "true",
345
- dangerouslySetInnerHTML: { __html: y }
346
- }), k = ({ placeholder: e, className: t }) => [/* @__PURE__ */ u("span", {
358
+ dangerouslySetInnerHTML: { __html: b }
359
+ }), A = ({ placeholder: e, className: t }) => [/* @__PURE__ */ u("span", {
347
360
  className: `placeholder px-2 ${t}`,
348
361
  children: e
349
- }), /* @__PURE__ */ u(O, { className: "mr-2" })];
350
- function A({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, remoteText: c, value: d, onChange: m, placeholder: h = "Select an option", disabled: _ = !1, name: v, id: y, className: b = "", style: x, config: S = {}, renderContent: C, renderOption: E, renderValue: A, renderPlaceholder: j, renderSelectedValue: M, renderNoResults: N, onClose: P, beforeOutsideClose: F, environment: I }) {
362
+ }), /* @__PURE__ */ u(k, { className: "mr-2" })];
363
+ function j({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, remoteText: c, value: d, onChange: m, placeholder: h = "Select an option", disabled: _ = !1, name: v, id: y, className: b = "", style: x, config: S = {}, renderContent: C, renderOption: w, renderValue: D, renderPlaceholder: j, renderSelectedValue: M, renderNoResults: N, onClose: P, beforeOutsideClose: F, environment: I }) {
351
364
  let { search: L = !1, searchPlaceholder: R = "Search...", closeOnClickOutside: z = !0, autoOpen: B = !1, multiSelect: V = !1, portalTarget: H, ariaLabel: te, ariaLabelledBy: ne, ariaDescribedBy: re, popupClassName: ie, maxHeight: ae } = S, { title: oe, ...se } = n ?? {}, U = p(typeof oe == "string" ? oe : void 0), W = H ?? (S.topLayer ? U.current?.closest("dialog[open], [role=dialog], revo-grid") : void 0) ?? (typeof document < "u" ? document.body : null), G = a(() => y || `dropdown-${Math.random().toString(36).substring(2, 9)}`, [y]), K = `${G}-listbox`, ce = `${G}-search`, q = `${G}-menu`, [J, Y] = i(B && !_), [le, ue] = i(!_ && (B || !!S.autoFocus)), de = l(B), fe = S.theme ?? "default";
352
365
  r(() => {
353
366
  B && !de.current && !_ && (ue(!0), Y(!0)), de.current = B;
354
367
  }, [B, _]), r(() => {
355
368
  _ && J && (Y(!1), P?.(!1));
356
369
  }, [_, J]);
357
- let X = w({
370
+ let X = T({
358
371
  dataSource: o,
359
372
  dataContext: s,
360
373
  remoteText: c,
@@ -420,17 +433,17 @@ function A({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, rem
420
433
  F
421
434
  ]);
422
435
  let he = () => {
423
- let t = [O({})];
424
- return M ? M(e, Q, t) : Q.length > 0 ? V ? [/* @__PURE__ */ u(ee, {
436
+ let t = [k({})];
437
+ return M ? M(e, Q, t) : Q.length > 0 ? V ? [/* @__PURE__ */ u(O, {
425
438
  options: Q,
426
439
  removeOption: me,
427
- renderValue: A,
440
+ renderValue: D,
428
441
  disabled: _,
429
442
  removeLabel: S.removeLabel
430
- }), /* @__PURE__ */ u(O, { className: "mr-2" })] : [/* @__PURE__ */ u(D, {
443
+ }), /* @__PURE__ */ u(k, { className: "mr-2" })] : [/* @__PURE__ */ u(ee, {
431
444
  options: Q,
432
- renderValue: A
433
- }), /* @__PURE__ */ u(O, { className: "mr-2" })] : j ? j(e, h, t) : /* @__PURE__ */ u(k, { placeholder: h });
445
+ renderValue: D
446
+ }), /* @__PURE__ */ u(k, { className: "mr-2" })] : j ? j(e, h, t) : /* @__PURE__ */ u(A, { placeholder: h });
434
447
  }, ge = () => /* @__PURE__ */ u(g, {
435
448
  onPointerRelease: I?.onPointerRelease,
436
449
  topLayer: S.topLayer,
@@ -443,7 +456,7 @@ function A({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, rem
443
456
  children: C ? C({
444
457
  id: K,
445
458
  close: $
446
- }) : /* @__PURE__ */ u(T, {
459
+ }) : /* @__PURE__ */ u(E, {
447
460
  options: o ? X.items : Z,
448
461
  selectedValues: o ? X.selected : void 0,
449
462
  remote: o ? X : void 0,
@@ -466,7 +479,7 @@ function A({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, rem
466
479
  searchPlaceholder: R,
467
480
  listboxId: K,
468
481
  searchId: ce,
469
- renderOption: E,
482
+ renderOption: w,
470
483
  renderNoResults: N,
471
484
  onClose: $,
472
485
  onTabNavigation: () => {
@@ -496,7 +509,7 @@ function A({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, rem
496
509
  tabIndex: _ ? -1 : 0,
497
510
  onClick: _ ? void 0 : pe,
498
511
  onKeyDown: (e) => {
499
- _ || e.target !== e.currentTarget || (J && e.key === "Escape" ? (e.preventDefault(), e.stopPropagation(), $()) : !J && (e.key === "Enter" || e.key === " " || e.key === "ArrowDown") && (e.preventDefault(), e.stopPropagation(), pe()));
512
+ _ || e.target !== e.currentTarget || (J && e.key === "Tab" && S.nativeTabNavigation ? (e.stopPropagation(), $()) : J && e.key === "Escape" ? (e.preventDefault(), e.stopPropagation(), $()) : !J && (e.key === "Enter" || e.key === " " || e.key === "ArrowDown") && (e.preventDefault(), e.stopPropagation(), pe()));
500
513
  },
501
514
  children: he()
502
515
  }),
@@ -509,27 +522,27 @@ function A({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, rem
509
522
  ]
510
523
  });
511
524
  }
512
- var j = (e, t) => {
513
- d(e, /* @__PURE__ */ u(A, { ...t }));
514
- }, M = (e) => {
525
+ var M = (e, t) => {
526
+ d(e, /* @__PURE__ */ u(j, { ...t }));
527
+ }, N = (e) => {
515
528
  d(e, null);
516
529
  };
517
530
  //#endregion
518
- //#region src/select.tsx
519
- function N(e) {
520
- return Array.isArray(e) ? e.map(N).join("") : n(e) ? N(e.props.children) : e == null || typeof e == "boolean" ? "" : String(e);
531
+ //#region package/select.tsx
532
+ function P(e) {
533
+ return Array.isArray(e) ? e.map(P).join("") : n(e) ? P(e.props.children) : e == null || typeof e == "boolean" ? "" : String(e);
521
534
  }
522
- function P(e, r, i = "", a = !1) {
523
- if (Array.isArray(e)) return e.flatMap((e) => P(e, r, i, a));
535
+ function F(e, r, i = "", a = !1) {
536
+ if (Array.isArray(e)) return e.flatMap((e) => F(e, r, i, a));
524
537
  if (!n(e)) return [];
525
538
  let o = e.props;
526
- if (e.type === t) return P(o.children, r, i, a);
527
- if (e.type === "optgroup") return P(o.children, r, o.label ?? "", a || !!o.disabled);
539
+ if (e.type === t) return F(o.children, r, i, a);
540
+ if (e.type === "optgroup") return F(o.children, r, o.label ?? "", a || !!o.disabled);
528
541
  let s = r ? r(o) : o, c = {
529
542
  ...s,
530
543
  disabled: o.disabled || s.disabled,
531
544
  hidden: o.hidden || s.hidden
532
- }, l = String(c.label ?? N(c.children)).trim();
545
+ }, l = String(c.label ?? P(c.children)).trim();
533
546
  return [{
534
547
  value: String(c.value ?? l),
535
548
  label: i ? `${i}: ${l}` : l,
@@ -538,12 +551,12 @@ function P(e, r, i = "", a = !1) {
538
551
  selected: !!c.selected
539
552
  }];
540
553
  }
541
- function F(e) {
542
- let { children: n, environment: r, value: a, defaultValue: o, onValueChange: s, optionPolicy: l, multiple: d, disabled: f, name: p, class: h, className: g, style: _, ...v } = e, y = c(m), b = y.disabled || !!f, x = P(n, l), [S, C] = i(() => {
554
+ function I(e) {
555
+ let { children: n, environment: r, value: a, defaultValue: o, onValueChange: s, optionPolicy: l, multiple: d, disabled: f, name: p, class: h, className: g, style: _, ...v } = e, y = c(m), b = y.disabled || !!f, x = F(n, l), [S, C] = i(() => {
543
556
  let e = o ?? (d ? x.filter((e) => e.selected).map((e) => e.value) : x.find((e) => e.selected)?.value ?? x[0]?.value ?? "");
544
557
  return Array.isArray(e) ? [...e] : String(e);
545
558
  }), w = a === void 0 ? S : Array.isArray(a) ? [...a] : String(a), T = Array.isArray(w) ? w : [w], E = x.filter((e) => !e.hidden || T.includes(e.value)), D = `rv-select rv-select-control ${typeof h == "string" ? h : ""} ${g ?? ""}`.replace(/\brv-control\b/g, "").trim();
546
- return /* @__PURE__ */ u(t, { children: [/* @__PURE__ */ u(A, {
559
+ return /* @__PURE__ */ u(t, { children: [/* @__PURE__ */ u(j, {
547
560
  environment: r,
548
561
  renderOption: (e, t) => /* @__PURE__ */ u("span", {
549
562
  "data-select-option": t.value,
@@ -578,8 +591,8 @@ function F(e) {
578
591
  }))] });
579
592
  }
580
593
  //#endregion
581
- //#region src/fieldset.tsx
582
- function I(e) {
594
+ //#region package/fieldset.tsx
595
+ function L(e) {
583
596
  let t = c(m), n = t.disabled || !!e.disabled;
584
597
  return /* @__PURE__ */ u(m.Provider, {
585
598
  value: {
@@ -593,44 +606,44 @@ function I(e) {
593
606
  });
594
607
  }
595
608
  //#endregion
596
- //#region src/native-control.tsx
597
- function L(t, n, ...r) {
598
- let { onChange: i, ...a } = n, o = x(e, t, a, ...r);
609
+ //#region package/native-control.tsx
610
+ function R(t, n, ...r) {
611
+ let { onChange: i, ...a } = n, o = S(e, t, a, ...r);
599
612
  return i && !(t === "button" && n.busy) && Object.assign(o.props, { onChange: i }), o;
600
613
  }
601
- function R(e, t) {
614
+ function z(e, t) {
602
615
  let n = p(typeof e == "string" ? e : void 0);
603
616
  return o((e) => {
604
617
  n.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
605
618
  }, [t]);
606
619
  }
607
- var z = b(h(({ title: e, ...t }, n) => {
608
- let r = R(e, n);
609
- return L("input", {
620
+ var B = x(h(({ title: e, ...t }, n) => {
621
+ let r = z(e, n);
622
+ return R("input", {
610
623
  ...t,
611
624
  ref: r
612
625
  });
613
- }), "input"), B = b(h(({ children: e, title: t, ...n }, r) => {
614
- let i = R(t, r);
615
- return L("textarea", {
626
+ }), "input"), V = x(h(({ children: e, title: t, ...n }, r) => {
627
+ let i = z(t, r);
628
+ return R("textarea", {
616
629
  ...n,
617
630
  ref: i
618
631
  }, e);
619
- }), "textarea"), V = b(h(({ children: e, title: t, ...n }, r) => {
632
+ }), "textarea"), H = x(h(({ children: e, title: t, ...n }, r) => {
620
633
  let i = p(typeof t == "string" ? t : void 0), a = o((e) => {
621
634
  i.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
622
635
  }, [r]);
623
- return L("button", {
636
+ return R("button", {
624
637
  ...n,
625
638
  ref: a,
626
639
  "aria-label": n["aria-label"] ?? (!e && typeof t == "string" ? t : void 0)
627
640
  }, e);
628
- }), "button"), H = b(h(({ children: e, title: t, ...n }, r) => {
629
- let i = R(t, r);
630
- return L("summary", {
641
+ }), "button"), te = x(h(({ children: e, title: t, ...n }, r) => {
642
+ let i = z(t, r);
643
+ return R("summary", {
631
644
  ...n,
632
645
  ref: i
633
646
  }, e);
634
- }), "summary"), te = b(F, "select");
647
+ }), "summary"), ne = x(I, "select");
635
648
  //#endregion
636
- export { B as a, P as c, M as d, E as f, H as i, A as l, z as n, I as o, T as p, te as r, F as s, V as t, j as u };
649
+ export { V as a, F as c, N as d, D as f, te as i, j as l, B as n, L as o, E as p, ne as r, I as s, H as t, M as u };
@@ -1,10 +1,10 @@
1
1
  import { c as e, i as t, t as n } from "./hooks.module-CG3gN83z.js";
2
2
  import { t as r } from "./jsxRuntime.module-F6UFnpT-.js";
3
3
  import { createControlId as i } from "../core/control-id.js";
4
- import { n as a } from "./native-control-DO0d1kgx.js";
5
- import { t as o } from "./controls-BLQnWEd7.js";
4
+ import { n as a } from "./native-control-um1L1wgZ.js";
5
+ import { t as o } from "./controls-B3EgM_DS.js";
6
6
  import { EditorActions as s } from "../editor-actions.js";
7
- //#region src/number-input/model.ts
7
+ //#region package/number-input/model.ts
8
8
  var c = {
9
9
  invalid: "Enter a valid number in the configured locale.",
10
10
  configuration: "The number input configuration is unsupported or invalid.",
@@ -150,7 +150,7 @@ function _(e, t, n = {}) {
150
150
  return !Number.isFinite(l) || Math.abs(l) > 2 ** 53 - 1 ? { error: n.text?.invalid ?? c.invalid } : h(m(l, n), n);
151
151
  }
152
152
  //#endregion
153
- //#region src/number-input/index.tsx
153
+ //#region package/number-input/index.tsx
154
154
  function v({ value: l, options: u, apply: d, cancel: f, initialSelection: p = "all" }) {
155
155
  let [g, v] = t(() => {
156
156
  try {
@@ -1,12 +1,12 @@
1
1
  import { i as e } from "./preact.module-BBM36DnO.js";
2
2
  import { i as t } from "./hooks.module-CG3gN83z.js";
3
3
  import { t as n } from "./jsxRuntime.module-F6UFnpT-.js";
4
- import { t as r } from "./native-control-DO0d1kgx.js";
4
+ import { t as r } from "./native-control-um1L1wgZ.js";
5
5
  import { DEFAULT_CALENDAR_TRANSLATIONS as i } from "../calendar/translations.js";
6
- import { n as a } from "./iso-B0YHBK7m.js";
7
- import { f as o, h as s, m as c, o as l, p as u } from "./model-mPO2tG2f.js";
8
- import { t as d } from "./calendar-DsXIhybL.js";
9
- //#region src/calendar/picker.tsx
6
+ import { n as a } from "./iso-CJQl2kmq.js";
7
+ import { f as o, h as s, m as c, o as l, p as u } from "./model-CFrBgRHm.js";
8
+ import { t as d } from "./calendar-BQYQLu8Q.js";
9
+ //#region package/calendar/picker.tsx
10
10
  function f(f) {
11
11
  let { selected: p, onSelectionChange: ee, presets: m, mode: h = "single", min: g = 0, max: _ = Infinity, required: v = !1, excludeDisabled: y = !1, month: b, defaultMonth: x, onMonthChange: S, ...C } = f, w = typeof p == "string" ? p : Array.isArray(p) ? p[0] : p?.from, [T, E] = t(x ?? w ?? f.referenceDate ?? s()), [D, O] = t(w ?? T), [k, A] = t(), [j, M] = t(), N = (e) => {
12
12
  A(e), M(void 0);
@@ -1,7 +1,7 @@
1
1
  import { c as e, i as t, l as n, n as r, r as i, t as a } from "./preact.module-BBM36DnO.js";
2
2
  import { c as o, i as s, r as c, t as l } from "./hooks.module-CG3gN83z.js";
3
3
  import { t as u } from "./jsxRuntime.module-F6UFnpT-.js";
4
- import { i as d, r as f, t as p } from "./top-layer-popup-CNSDdfJV.js";
4
+ import { i as d, r as f, t as p } from "./top-layer-popup-CKJ7VJOF.js";
5
5
  import { inheritUiMotion as m } from "../core/motion.js";
6
6
  //#region ../../node_modules/.pnpm/preact@10.29.1/node_modules/preact/compat/dist/compat.module.js
7
7
  function h(e, t) {
@@ -229,16 +229,25 @@ n.diffed = function(e) {
229
229
  n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value);
230
230
  };
231
231
  //#endregion
232
- //#region src/dropdown/popup.tsx
232
+ //#region package/dropdown/popup.tsx
233
233
  var U = 5, W = 4;
234
234
  function G(e, t, n) {
235
235
  let r = e.ownerDocument.defaultView;
236
- if (!r || r.getComputedStyle(e).position === "fixed") return {
236
+ if (!r) return {
237
237
  top: t,
238
238
  left: n,
239
239
  scaleX: 1,
240
240
  scaleY: 1
241
241
  };
242
+ if (r.getComputedStyle(e).position === "fixed") {
243
+ let r = e.currentCSSZoom, i = Number.isFinite(r) && r > 0 ? r : 1;
244
+ return {
245
+ top: t / i,
246
+ left: n / i,
247
+ scaleX: i,
248
+ scaleY: i
249
+ };
250
+ }
242
251
  let i = e.offsetParent, a = e.ownerDocument;
243
252
  if (!i || i === a.body || i === a.documentElement) return {
244
253
  top: t + r.scrollY,
@@ -293,15 +302,17 @@ function K({ onPointerRelease: e, triggerRef: t, children: n, portalTarget: r, t
293
302
  maxHeight: h / x.scaleY,
294
303
  ...y ? { width: r.width / x.scaleX } : {}
295
304
  });
305
+ }, a = (e) => {
306
+ e.target instanceof n.Node && d(C.current, e.target) || i();
296
307
  };
297
308
  r();
298
- let a = n.setTimeout(i, 0);
299
- n.addEventListener("resize", i), n.addEventListener("scroll", i, !0);
300
- let o = n.ResizeObserver, s = o ? new o(i) : void 0;
301
- s?.observe(e);
302
- let c = e.closest(".rv-dialog__surface, dialog");
303
- return c && s?.observe(c), x && C.current && s?.observe(C.current), () => {
304
- n.clearTimeout(a), n.removeEventListener("resize", i), n.removeEventListener("scroll", i, !0), s?.disconnect();
309
+ let o = n.setTimeout(i, 0);
310
+ n.addEventListener("resize", i), n.addEventListener("scroll", a, !0);
311
+ let s = n.ResizeObserver, c = s ? new s(i) : void 0;
312
+ c?.observe(e);
313
+ let l = e.closest(".rv-dialog__surface, dialog");
314
+ return l && c?.observe(l), x && C.current && c?.observe(C.current), () => {
315
+ n.clearTimeout(o), n.removeEventListener("resize", i), n.removeEventListener("scroll", a, !0), c?.disconnect();
305
316
  };
306
317
  }, [
307
318
  v,
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./jsxRuntime.module-F6UFnpT-.js";
2
2
  import { SvgIcon as t } from "../icons/icon.js";
3
- import { t as n } from "./native-control-DO0d1kgx.js";
3
+ import { t as n } from "./native-control-um1L1wgZ.js";
4
4
  //#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/star.svg?raw
5
5
  var r = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 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=\"M309.5-18.9c-4.1-8-12.4-13.1-21.4-13.1s-17.3 5.1-21.4 13.1L193.1 125.3 33.2 150.7c-8.9 1.4-16.3 7.7-19.1 16.3s-.5 18 5.8 24.4l114.4 114.5-25.2 159.9c-1.4 8.9 2.3 17.9 9.6 23.2s16.9 6.1 25 2L288.1 417.6 432.4 491c8 4.1 17.7 3.3 25-2s11-14.2 9.6-23.2L441.7 305.9 556.1 191.4c6.4-6.4 8.6-15.8 5.8-24.4s-10.1-14.9-19.1-16.3L383 125.3 309.5-18.9z\"/></svg>", i = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 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=\"M288.1-32c9 0 17.3 5.1 21.4 13.1L383 125.3 542.9 150.7c8.9 1.4 16.3 7.7 19.1 16.3s.5 18-5.8 24.4L441.7 305.9 467 465.8c1.4 8.9-2.3 17.9-9.6 23.2s-17 6.1-25 2L288.1 417.6 143.8 491c-8 4.1-17.7 3.3-25-2s-11-14.2-9.6-23.2L134.4 305.9 20 191.4c-6.4-6.4-8.6-15.8-5.8-24.4s10.1-14.9 19.1-16.3l159.9-25.4 73.6-144.2c4.1-8 12.4-13.1 21.4-13.1zm0 76.8L230.3 158c-3.5 6.8-10 11.6-17.6 12.8l-125.5 20 89.8 89.9c5.4 5.4 7.9 13.1 6.7 20.7l-19.8 125.5 113.3-57.6c6.8-3.5 14.9-3.5 21.8 0l113.3 57.6-19.8-125.5c-1.2-7.6 1.3-15.3 6.7-20.7l89.8-89.9-125.5-20c-7.6-1.2-14.1-6-17.6-12.8L288.1 44.8z\"/></svg>";
6
6
  //#endregion
7
- //#region src/rating-choice.tsx
7
+ //#region package/rating-choice.tsx
8
8
  function a({ filled: n }) {
9
9
  return /* @__PURE__ */ e("span", {
10
10
  class: "rv-rating__star",
@@ -3,7 +3,7 @@ import { c as t, i as n, t as r } from "./hooks.module-CG3gN83z.js";
3
3
  import { renderHeader as i } from "../status-feedback/header.js";
4
4
  import { renderItem as a } from "../status-feedback/item.js";
5
5
  import { renderStatusBadge as o } from "../status-feedback/badge.js";
6
- //#region src/status-feedback/use-auto-dismiss.ts
6
+ //#region package/status-feedback/use-auto-dismiss.ts
7
7
  function s(e, i = 0, a) {
8
8
  let [o, s] = n(/* @__PURE__ */ new Set()), c = r(a);
9
9
  c.current = a;
@@ -37,7 +37,7 @@ function s(e, i = 0, a) {
37
37
  } : e);
38
38
  }
39
39
  //#endregion
40
- //#region src/status-feedback/render.ts
40
+ //#region package/status-feedback/render.ts
41
41
  function c(e, t) {
42
42
  let { title: n, items: r, ariaLabel: o, className: s, popover: c, onCollapsedChange: l } = t;
43
43
  if (!r.length) return c?.hide(!0), null;
@@ -1,11 +1,11 @@
1
1
  import { c as e } from "./preact.module-BBM36DnO.js";
2
2
  import { t } from "./jsxRuntime.module-F6UFnpT-.js";
3
- import { t as n } from "./native-control-DO0d1kgx.js";
3
+ import { t as n } from "./native-control-um1L1wgZ.js";
4
4
  import { fieldDropIndex as r, fieldListDropIndex as i } from "../field-reorder.js";
5
5
  //#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/grip-vertical.svg?raw
6
6
  var a = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 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=\"M128 40c0-22.1-17.9-40-40-40L40 0C17.9 0 0 17.9 0 40L0 88c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zm0 192c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zM0 424l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM320 40c0-22.1-17.9-40-40-40L232 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zM192 232l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM320 424c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48z\"/></svg>";
7
7
  //#endregion
8
- //#region src/reorder-list.tsx
8
+ //#region package/reorder-list.tsx
9
9
  function o({ items: n, itemKey: a, renderItem: o, renderHandle: s, itemAttributes: c, className: l = "", rowClassName: u = "", endClassName: d = "", draggedKey: f, dropIndex: p, empty: m, onDragOver: h, onDrop: g }) {
10
10
  let _ = (e, t) => {
11
11
  let n = e.currentTarget.getBoundingClientRect();