@revolist/ui 4.0.6-rc → 4.0.9

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 (339) hide show
  1. package/MIGRATION.md +7 -7
  2. package/OWNERSHIP.md +33 -33
  3. package/README.md +65 -410
  4. package/_button.scss +6 -2
  5. package/_chunks/{arrow-up-Cw8hW9vp.js → arrow-up-BSYhTAus.js} +1 -1
  6. package/_chunks/{calculator-CDWOuAcp.js → calculator-BG0Xd_Uw.js} +1 -1
  7. package/_chunks/{calendar-QWDyYzdo.js → calendar-C4zH4Ppn.js} +7 -7
  8. package/_chunks/{cell-visuals-E-2oEKHg.js → cell-visuals-r6DOOhGh.js} +7 -7
  9. package/_chunks/{chart-frame-hcOlnQ1K.js → chart-frame-DzvJooS2.js} +7 -7
  10. package/_chunks/{check-BwI7iCAm.js → check-BFIC9pge.js} +1 -1
  11. package/_chunks/{chevron-down-GbplLa6s.js → chevron-down-BkrpxJYD.js} +1 -1
  12. package/_chunks/chevron-right-DZ79RmYV.js +4 -0
  13. package/_chunks/{chevron-up-BLuNMPDn.js → chevron-up-Dt846uIR.js} +1 -1
  14. package/_chunks/{choice-chips-A6WR-WJe.js → choice-chips-D2cJju-g.js} +6 -6
  15. package/_chunks/{clock-BOhPNlW3.js → clock-DTfr4p2S.js} +1 -1
  16. package/_chunks/{color-palette-DMJUChWC.js → color-palette-D7AS20M1.js} +5 -5
  17. package/_chunks/{color-picker-BK4W1nd6.js → color-picker-BanAQVfz.js} +8 -8
  18. package/_chunks/{component-CMkF17YZ.js → component-B8SvtSaB.js} +54 -55
  19. package/_chunks/{component-metadata-BKd7U8OW.js → component-metadata-DlVkpW3h.js} +1 -1
  20. package/_chunks/{configurator-actions-By8WSL2m.js → configurator-actions-CvZf5nYp.js} +11 -11
  21. package/_chunks/{configurator-field-icon-CmcM_sPs.js → configurator-field-icon-B0S_208W.js} +2 -2
  22. package/_chunks/{control-mlH7l0Uq.js → control-Dj7IR-i0.js} +4 -4
  23. package/_chunks/{controller-hRBm_Lfz.js → controller-ChkqiANQ.js} +6 -6
  24. package/_chunks/{controls-FUU-MUKC.js → controls-BF6WlGT4.js} +140 -105
  25. package/_chunks/{date-control-Dup_P3w5.js → date-control-BNj2FBF2.js} +8 -8
  26. package/_chunks/{date-time-9z6pAG5T.js → date-time-Ucx1ep76.js} +25 -25
  27. package/_chunks/{delete-button-CW9vjLnk.js → delete-button-DQSK6G-4.js} +2 -2
  28. package/_chunks/{dialog.parts-Bi7YbXqS.js → dialog.parts-BqkmnhIL.js} +7 -7
  29. package/_chunks/{duration-D7oRjsmP.js → duration-BIESsyLI.js} +9 -9
  30. package/_chunks/{editor-commit-Bq3wSgvr.js → editor-commit-BXIUX0As.js} +3 -3
  31. package/_chunks/{editor-popup-ByU7qiub.js → editor-popup-BTmjGg2_.js} +5 -5
  32. package/_chunks/field-configurator-BWZnm3gE.js +288 -0
  33. package/_chunks/field-context-0oUi-w-G.js +5 -0
  34. package/_chunks/{framework-mount-Bk4O_T7T.js → framework-mount-DQ4opSL0.js} +4 -4
  35. package/_chunks/{hooks.module-CG3gN83z.js → hooks.module-CXpO2xq6.js} +2 -2
  36. package/_chunks/{icon-toolbar-DSjOdwM7.js → icon-toolbar-C4J_Wqph.js} +7 -7
  37. package/_chunks/{icons-Ci5mADVc.js → icons-B4qN13Yj.js} +1 -1
  38. package/_chunks/{iso-B0YHBK7m.js → iso-CJQl2kmq.js} +1 -1
  39. package/_chunks/{jsxRuntime.module-F6UFnpT-.js → jsxRuntime.module-ksX_VSbv.js} +2 -2
  40. package/_chunks/{magnifying-glass-CvrTDSkB.js → magnifying-glass-BFZrFs8M.js} +1 -1
  41. package/_chunks/{minus-BOAR3A1C.js → minus-DE8NPK_D.js} +1 -1
  42. package/_chunks/{model-mPO2tG2f.js → model-CFrBgRHm.js} +3 -3
  43. package/_chunks/mount-DTCXtKfT.js +267 -0
  44. package/_chunks/{native-Blr3byjO.js → native-RudS9C_q.js} +3 -3
  45. package/_chunks/{native-control-pFMuHf3G.js → native-control-xc_B4vfn.js} +146 -141
  46. package/_chunks/{number-input-DqXV6vgP.js → number-input-C_TPzAJq.js} +6 -6
  47. package/_chunks/{picker-gEGTu1Ki.js → picker-0h5TwXGT.js} +8 -8
  48. package/_chunks/{plus-CbGRkIGl.js → plus-BaXticu7.js} +1 -1
  49. package/_chunks/{popup-C35Isk7p.js → popup-CISbXDnE.js} +6 -6
  50. package/_chunks/{preact.module-BBM36DnO.js → preact.module-DzTStiZX.js} +1 -1
  51. package/_chunks/{rating-choice-DbxdUJr-.js → rating-choice-FhWNdsiC.js} +4 -4
  52. package/_chunks/{render-m5eMMwFR.js → render-C6PFWlqh.js} +4 -4
  53. package/_chunks/{reorder-list-B0_13Sja.js → reorder-list-CR1DO4EG.js} +5 -5
  54. package/_chunks/{request-trail-CCSK6TJA.js → request-trail-ay92DQpo.js} +155 -146
  55. package/_chunks/{rich-text-5rnc8lpI.js → rich-text-ByjXFv1S.js} +15 -15
  56. package/_chunks/{rotate-left-BF6G883o.js → rotate-left-CTHmcGBP.js} +1 -1
  57. package/_chunks/{rotate-right-Iha5ScJ1.js → rotate-right-BIfKgVun.js} +1 -1
  58. package/_chunks/selection-list-tooltips-DqqLeO_m.js +42 -0
  59. package/_chunks/{title-tooltip-Cw6LOZhb.js → title-tooltip-DKiWhsL7.js} +3 -3
  60. package/_chunks/{tooltip-D4xkio5G.js → tooltip-B5ziciEP.js} +4 -4
  61. package/_chunks/{tooltip-owner-DjdvqKzz.js → tooltip-owner-BYho-vJl.js} +1 -1
  62. package/_chunks/{tooltip-session-B6X6x8G_.js → tooltip-session-D74h-uqu.js} +3 -3
  63. package/_chunks/{tooltip-text-BXsUEmBH.js → tooltip-text-CH_c2J-J.js} +3 -3
  64. package/_chunks/{top-layer-popup-CNSDdfJV.js → top-layer-popup-BHajfliG.js} +4 -4
  65. package/_chunks/{xmark-DD_PBvZI.js → xmark-DQRQfXZI.js} +1 -1
  66. package/_dialog.scss +57 -22
  67. package/_form.scss +71 -21
  68. package/_legend.scss +25 -7
  69. package/_variables.scss +2 -1
  70. package/_view-switcher.scss +6 -0
  71. package/activity-message.d.ts +1 -1
  72. package/activity-message.js +2 -2
  73. package/ai/_chat.scss +7 -0
  74. package/ai/_style.scss +27 -20
  75. package/ai/components.d.ts +3 -1
  76. package/ai/index.js +2 -2
  77. package/ai/mount.d.ts +15 -7
  78. package/ai/request-trail.d.ts +9 -3
  79. package/ai/results/index.d.ts +1 -1
  80. package/ai/translations.d.ts +1 -1
  81. package/angular/angular.d.ts +1 -1
  82. package/angular/angular.js +13 -7
  83. package/assignee/assignee.scss +24 -6
  84. package/assignee/index.js +8 -8
  85. package/avatar/avatar.style.scss +23 -6
  86. package/avatar/index.d.ts +1 -1
  87. package/avatar/index.js +4 -4
  88. package/badge.d.ts +1 -1
  89. package/badge.js +1 -1
  90. package/badge.view.d.ts +1 -1
  91. package/brush-range/_brush-range.scss +55 -49
  92. package/brush-range/component.js +3 -3
  93. package/buttons/delete-button.js +1 -1
  94. package/buttons/delete-button.style.scss +6 -2
  95. package/buttons/remove-button.js +3 -3
  96. package/buttons/svg-button.js +4 -4
  97. package/calendar/_calendar.scss +19 -23
  98. package/calendar/calendar.js +1 -1
  99. package/calendar/day.js +3 -3
  100. package/calendar/header.js +3 -4
  101. package/calendar/index.js +3 -3
  102. package/calendar/model.js +1 -1
  103. package/calendar/month-grid.js +3 -3
  104. package/calendar/translations.js +1 -1
  105. package/calendar/year-grid.js +3 -3
  106. package/cell-input.js +1 -1
  107. package/cell-input.scss +3 -7
  108. package/cell-visuals/badge.style.scss +6 -3
  109. package/cell-visuals/bar-chart.style.scss +2 -1
  110. package/cell-visuals/column-type.style.css +12 -0
  111. package/cell-visuals/index.js +1 -1
  112. package/cell-visuals/progress-line-value.renderer.style.scss +4 -2
  113. package/cell-visuals/progress-line.style.scss +1 -4
  114. package/cell-visuals/sparkline.style.scss +2 -1
  115. package/cell-visuals/timeline.style.css +4 -2
  116. package/checkbox/checkbox.scss +5 -2
  117. package/checkbox/index.js +2 -2
  118. package/choice-chips/index.js +1 -1
  119. package/color-palette/built-in-palettes.js +1 -1
  120. package/color-palette/chart-palettes.js +1 -1
  121. package/color-palette/color-palette.js +1 -1
  122. package/color-palette/color-palette.style.scss +88 -25
  123. package/color-palette/color-picker.constants.js +1 -1
  124. package/color-palette/color-picker.js +2 -2
  125. package/color-palette/color-picker.style.scss +23 -10
  126. package/color-palette/common-palettes.d.ts +1 -1
  127. package/color-palette/common-palettes.js +2 -2
  128. package/color-palette/gantt-palettes.js +1 -1
  129. package/color-palette/palette.js +1 -1
  130. package/color-palette/pivot-palettes.js +1 -1
  131. package/color-palette/platform-palettes.js +1 -1
  132. package/color-palette/pro-palettes.js +1 -1
  133. package/color-palette/scheduler-palettes.js +1 -1
  134. package/configurator-actions.d.ts +6 -6
  135. package/configurator-actions.js +1 -1
  136. package/configurator-aggregation-list.d.ts +1 -1
  137. package/configurator-aggregation-list.js +22 -20
  138. package/configurator-drop-zone.d.ts +2 -1
  139. package/configurator-drop-zone.js +36 -34
  140. package/configurator-field-icon.js +1 -1
  141. package/configurator-focus.js +2 -2
  142. package/configurator-sections.d.ts +3 -3
  143. package/configurator-sections.js +4 -4
  144. package/control-attributes.js +1 -1
  145. package/control-presentation.js +4 -4
  146. package/controls.d.ts +11 -0
  147. package/controls.js +4 -4
  148. package/core/anchored-popover.js +1 -1
  149. package/core/control-id.js +1 -1
  150. package/core/editor-popup.js +1 -1
  151. package/core/motion.js +1 -1
  152. package/{_chunks/popover-controller-D-AvKQ7B.js → core/popover-controller.js} +8 -8
  153. package/core/selection-list-tooltips.d.ts +2 -0
  154. package/core/tooltip.d.ts +1 -1
  155. package/core/top-layer-popup.d.ts +1 -1
  156. package/core/top-layer-popup.js +1 -1
  157. package/date-time/date-control.d.ts +1 -1
  158. package/date-time/field.d.ts +1 -0
  159. package/date-time/index.js +1 -1
  160. package/date-time/style.scss +192 -46
  161. package/date-time/time-selection.d.ts +1 -1
  162. package/dialog/dialog.dom.js +4 -4
  163. package/dialog/dialog.drag.js +1 -1
  164. package/dialog/dialog.parts.js +1 -1
  165. package/dialog/dialog.preact.js +2 -2
  166. package/distribution-chart/_distribution-chart.scss +106 -28
  167. package/distribution-chart/area-chart.js +4 -4
  168. package/distribution-chart/bar-chart.js +3 -3
  169. package/distribution-chart/chart-frame.d.ts +1 -1
  170. package/distribution-chart/index.js +2 -2
  171. package/distribution-chart/line-chart.js +3 -3
  172. package/dropdown/content.js +1 -1
  173. package/dropdown/control.js +1 -1
  174. package/dropdown/dropdown.service.js +2 -2
  175. package/dropdown/dropdown.types.d.ts +1 -1
  176. package/dropdown/editor-dropdown.style.scss +14 -9
  177. package/dropdown/index.js +2 -2
  178. package/dropdown/lookup-field.js +5 -5
  179. package/dropdown/popup.js +1 -1
  180. package/duration/index.js +1 -1
  181. package/editor-actions.js +4 -4
  182. package/editor-layout/index.d.ts +4 -4
  183. package/editor-layout/index.js +40 -35
  184. package/editor-layout/style.scss +82 -18
  185. package/favicon.svg +9 -0
  186. package/field-configurator.d.ts +14 -3
  187. package/field-configurator.js +1 -1
  188. package/field-reorder.hook.js +2 -2
  189. package/field-reorder.js +1 -1
  190. package/filter/filters/slider/_single-slider.scss +57 -38
  191. package/filter/filters/slider/_slider.scss +35 -10
  192. package/filter/filters/slider/component.js +1 -1
  193. package/filter/filters/slider/control.js +1 -1
  194. package/filter/filters/slider/inputs.js +1 -1
  195. package/filter/filters/slider/logic.js +1 -1
  196. package/filter/filters/slider/preact.js +2 -2
  197. package/filter/filters/slider/runtime.js +3 -3
  198. package/filter/filters/slider/single.js +3 -3
  199. package/filter-badge.js +5 -5
  200. package/filter-controls.js +4 -4
  201. package/form-controls/index.js +4 -4
  202. package/form-controls/presentation.d.ts +1 -1
  203. package/form-controls/presentation.js +5 -5
  204. package/formatting/index.js +11 -11
  205. package/formatting/styles.scss +13 -11
  206. package/framework.js +76 -77
  207. package/history-controls.js +4 -4
  208. package/html-controls.js +1 -1
  209. package/icon-toolbar.d.ts +1 -1
  210. package/icon-toolbar.js +1 -1
  211. package/icons/icon.d.ts +1 -1
  212. package/icons/icon.js +2 -2
  213. package/legend.d.ts +1 -1
  214. package/legend.js +2 -2
  215. package/masked-input/index.js +6 -6
  216. package/native-control.js +1 -1
  217. package/native-styles.css +1 -1
  218. package/native-styles.scss +6 -2
  219. package/native.d.ts +3 -3
  220. package/native.js +18 -18
  221. package/number-input/index.d.ts +1 -1
  222. package/number-input/index.js +1 -1
  223. package/package.json +53 -1
  224. package/pagination.js +2 -2
  225. package/pdf-viewer/controller.js +1 -1
  226. package/pdf-viewer/header.d.ts +1 -1
  227. package/pdf-viewer/index.d.ts +2 -2
  228. package/pdf-viewer/index.js +4 -4
  229. package/pdf-viewer/search-bar.d.ts +1 -1
  230. package/pdf-viewer/status.d.ts +1 -1
  231. package/pdf-viewer/style.scss +203 -42
  232. package/preact-mount.js +2 -2
  233. package/preact.d.ts +5 -4
  234. package/preact.js +105 -67
  235. package/progress/_bar.scss +9 -3
  236. package/progress/_circular.scss +2 -1
  237. package/progress/bar.js +1 -1
  238. package/progress/circular.js +1 -1
  239. package/progress/range.js +1 -1
  240. package/rating-choice.js +1 -1
  241. package/react-adapter.d.ts +4 -2
  242. package/react-control.js +1 -1
  243. package/react.d.ts +2 -2
  244. package/react.js +30 -31
  245. package/reorder-list.d.ts +1 -1
  246. package/reorder-list.js +1 -1
  247. package/reorder-list.scss +59 -17
  248. package/resource-picker/resource-picker-avatar.js +3 -3
  249. package/resource-picker/resource-picker-option.js +2 -2
  250. package/resource-picker/resource-picker-popup.js +3 -3
  251. package/resource-picker/resource-picker.js +76 -74
  252. package/resource-picker/resource-picker.scss +62 -34
  253. package/resource-picker/resource-picker.utils.js +1 -1
  254. package/rich-text/index.js +1 -1
  255. package/rich-text/style.scss +203 -49
  256. package/rich-text/toolbar.d.ts +1 -1
  257. package/robots.txt +4 -0
  258. package/search-input/index.js +4 -4
  259. package/segmented-switch/index.js +2 -2
  260. package/select.js +1 -1
  261. package/selection-list.d.ts +1 -0
  262. package/selection-list.js +3 -1
  263. package/status-feedback/badge.js +2 -2
  264. package/status-feedback/exit-snapshot.js +2 -2
  265. package/status-feedback/header.js +5 -5
  266. package/status-feedback/icons.js +1 -1
  267. package/status-feedback/index.js +1 -1
  268. package/status-feedback/item.js +2 -2
  269. package/status-feedback/motion.js +1 -1
  270. package/status-feedback/placement.js +1 -1
  271. package/status-feedback/popover.js +2 -2
  272. package/status-feedback/render.js +1 -1
  273. package/status-feedback/status-feedback.scss +124 -35
  274. package/styles/_activity-message.scss +24 -7
  275. package/styles/_alert.scss +61 -14
  276. package/styles/_cell-editor-frame.scss +11 -0
  277. package/styles/_compositions.scss +399 -79
  278. package/styles/_control.scss +30 -8
  279. package/styles/_disclosure.scss +15 -5
  280. package/styles/_editor-counter.scss +16 -6
  281. package/styles/_editor-slider.scss +8 -2
  282. package/styles/_field-configurator.scss +192 -41
  283. package/styles/_fields-grid.scss +16 -4
  284. package/styles/_filter-controls.scss +10 -2
  285. package/styles/_icon-action.scss +48 -15
  286. package/styles/_loading.scss +12 -3
  287. package/styles/_motion.scss +32 -9
  288. package/styles/_primitives.scss +346 -96
  289. package/styles/_theme.scss +130 -86
  290. package/styles/_thresholds.scss +28 -25
  291. package/styles/_time-grid.scss +8 -3
  292. package/styles/_tokens.scss +6 -1
  293. package/styles/color-roles.js +1 -1
  294. package/styles/configurator-actions.scss +126 -26
  295. package/styles/pagination.css +114 -30
  296. package/styles/rating.css +8 -3
  297. package/styles.css +1 -1
  298. package/styles.scss +1 -3
  299. package/surfaces.d.ts +4 -2
  300. package/surfaces.js +8 -8
  301. package/svelte/UiComponent.svelte +44 -11
  302. package/svelte-control.js +1 -1
  303. package/svelte.d.ts +1 -1
  304. package/svelte.js +5 -5
  305. package/switch/index.js +3 -3
  306. package/time-grid.js +5 -5
  307. package/timeline-track/_style.scss +96 -24
  308. package/timeline-track/index.js +5 -5
  309. package/timeline-track/model.js +1 -1
  310. package/ui.css +1 -1
  311. package/view-switcher.d.ts +23 -0
  312. package/vue-badge.js +1 -1
  313. package/vue-control.js +1 -1
  314. package/vue-segmented-switch.js +1 -1
  315. package/vue.d.ts +3 -2
  316. package/vue.js +45 -46
  317. package/_chunks/badge.view-D30pMUfi.js +0 -14
  318. package/_chunks/chevron-left-D0nc4Z5S.js +0 -4
  319. package/_chunks/chevron-right-sxHQMSkq.js +0 -4
  320. package/_chunks/field-configurator-BCINdXpU.js +0 -223
  321. package/_chunks/field-context-D57PnBbH.js +0 -5
  322. package/_chunks/mount-Cw2zk58T.js +0 -266
  323. package/_shared/data-query/binding.d.ts +0 -30
  324. package/_shared/data-query/blocks.d.ts +0 -30
  325. package/_shared/data-query/commands.d.ts +0 -47
  326. package/_shared/data-query/contracts.d.ts +0 -106
  327. package/_shared/data-query/cursor-reader.d.ts +0 -25
  328. package/_shared/data-query/direct-binding.d.ts +0 -3
  329. package/_shared/data-query/index.d.ts +0 -23
  330. package/_shared/data-query/infinite-binding.d.ts +0 -18
  331. package/_shared/data-query/keys.d.ts +0 -9
  332. package/_shared/data-query/limiter.d.ts +0 -12
  333. package/_shared/data-query/load-options.d.ts +0 -25
  334. package/_shared/data-query/materialize.d.ts +0 -2
  335. package/_shared/data-query/policy.d.ts +0 -14
  336. package/_shared/data-query/provider-queries.d.ts +0 -22
  337. package/_shared/data-query/reader.d.ts +0 -23
  338. package/_shared/data-query/remote-load.d.ts +0 -7
  339. package/_shared/data-query/source.d.ts +0 -40
package/react.js CHANGED
@@ -1,41 +1,40 @@
1
- import { S as e, _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as ee, l as te, m as ne, n as re, o as ie, p as ae, r as oe, s as se, t as ce, u as le, x as ue, y as de } from "./_chunks/request-trail-CCSK6TJA.js";
2
- import { n as l, t as u } from "./_chunks/rating-choice-DbxdUJr-.js";
1
+ import { S as e, _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as ee, l as te, m as ne, n as re, o as ie, p as ae, r as oe, s as se, t as ce, u as le, x as ue, y as de } from "./_chunks/request-trail-ay92DQpo.js";
2
+ import { n as l, t as u } from "./_chunks/rating-choice-FhWNdsiC.js";
3
3
  import { SvgIcon as d } from "./icons/icon.js";
4
- import { l as f, n as p, p as m } from "./_chunks/native-control-pFMuHf3G.js";
5
- import { t as h } from "./_chunks/popup-C35Isk7p.js";
6
- import { t as g } from "./_chunks/delete-button-CW9vjLnk.js";
4
+ import { l as f, n as p, p as m } from "./_chunks/native-control-xc_B4vfn.js";
5
+ import { t as h } from "./_chunks/popup-CISbXDnE.js";
6
+ import { t as g } from "./_chunks/delete-button-DQSK6G-4.js";
7
7
  import { RemoveButton as _ } from "./buttons/remove-button.js";
8
- import { A as v, C as y, D as b, E as x, F as S, I as C, L as w, M as T, N as E, O as D, P as O, S as k, T as A, _ as j, a as M, b as N, c as P, d as F, f as I, g as L, h as R, i as z, j as B, k as V, l as H, m as fe, n as pe, o as me, p as he, r as ge, s as _e, t as ve, u as ye, v as be, w as xe, x as Se, y as Ce } from "./_chunks/controls-FUU-MUKC.js";
9
- import { t as we } from "./_chunks/tooltip-D4xkio5G.js";
10
- import { SvgButton as Te } from "./buttons/svg-button.js";
11
- import { SegmentedSwitch as Ee } from "./segmented-switch/index.js";
8
+ import { A as v, B as y, C as b, D as x, E as S, F as C, I as w, L as T, M as E, N as D, O, P as k, R as A, T as j, _ as M, a as N, b as P, c as F, d as I, f as L, g as R, h as z, i as B, j as V, k as H, l as fe, m as pe, n as me, o as he, p as ge, r as _e, s as ve, t as ye, u as be, v as xe, w as Se, x as Ce, y as we } from "./_chunks/controls-BF6WlGT4.js";
9
+ import { t as Te } from "./_chunks/tooltip-B5ziciEP.js";
10
+ import { SvgButton as Ee } from "./buttons/svg-button.js";
11
+ import { SegmentedSwitch as De } from "./segmented-switch/index.js";
12
12
  import { EditorList as U, EditorListGroup as W, EditorListItem as G, EditorListItemContent as K, EditorPane as q, EditorSplitLayout as J } from "./editor-layout/index.js";
13
- import { a as De, c as Oe, i as ke, l as Ae, n as je, o as Me, r as Ne, s as Pe, t as Fe } from "./_chunks/dialog.parts-Bi7YbXqS.js";
14
- import { t as Ie } from "./_chunks/badge.view-D30pMUfi.js";
15
- import { n as Le, t as Re } from "./_chunks/render-m5eMMwFR.js";
16
- import { t as ze } from "./_chunks/color-palette-DMJUChWC.js";
17
- import { t as Be } from "./_chunks/color-picker-BK4W1nd6.js";
18
- import { n as Ve, r as He, t as Ue } from "./_chunks/choice-chips-A6WR-WJe.js";
13
+ import { a as Oe, c as ke, i as Ae, l as je, n as Me, o as Ne, r as Pe, s as Fe, t as Ie } from "./_chunks/dialog.parts-BqkmnhIL.js";
14
+ import { n as Le, t as Re } from "./_chunks/render-C6PFWlqh.js";
15
+ import { t as ze } from "./_chunks/color-palette-D7AS20M1.js";
16
+ import { t as Be } from "./_chunks/color-picker-BanAQVfz.js";
17
+ import { n as Ve, r as He, t as Ue } from "./_chunks/choice-chips-D2cJju-g.js";
19
18
  import { FilterBadge as We, FilterBadgeInfoButton as Ge } from "./filter-badge.js";
20
19
  import { ActivityMessage as Ke } from "./activity-message.js";
21
- import { n as qe } from "./_chunks/icon-toolbar-DSjOdwM7.js";
20
+ import { n as qe } from "./_chunks/icon-toolbar-C4J_Wqph.js";
22
21
  import { Checkbox as Je } from "./checkbox/index.js";
23
22
  import { Switch as Ye } from "./switch/index.js";
24
23
  import { SearchInput as Xe } from "./search-input/index.js";
25
24
  import { DisclosureSummary as Ze, FilterChip as Qe, FormField as $e } from "./form-controls/presentation.js";
26
- import { a as et, i as tt, r as nt } from "./_chunks/date-time-9z6pAG5T.js";
27
- import { n as rt, t as it } from "./_chunks/duration-D7oRjsmP.js";
25
+ import { a as et, i as tt, r as nt } from "./_chunks/date-time-Ucx1ep76.js";
26
+ import { n as rt, t as it } from "./_chunks/duration-BIESsyLI.js";
28
27
  import { CalendarHeader as at, CalendarWeekdays as ot } from "./calendar/header.js";
29
- import { t as st } from "./_chunks/calendar-QWDyYzdo.js";
28
+ import { t as st } from "./_chunks/calendar-C4zH4Ppn.js";
30
29
  import { CalendarDay as ct } from "./calendar/day.js";
31
30
  import { CalendarMonthGrid as lt } from "./calendar/month-grid.js";
32
31
  import { CalendarYearGrid as ut } from "./calendar/year-grid.js";
33
- import { t as dt } from "./_chunks/picker-gEGTu1Ki.js";
32
+ import { t as dt } from "./_chunks/picker-0h5TwXGT.js";
34
33
  import { ResourcePickerAvatar as ft } from "./resource-picker/resource-picker-avatar.js";
35
34
  import { SharedResourcePicker as pt } from "./resource-picker/resource-picker.js";
36
35
  import { PreactRangeSlider as mt } from "./filter/filters/slider/preact.js";
37
36
  import { SingleValueSlider as ht, SliderField as gt } from "./filter/filters/slider/single.js";
38
- import { a as _t, c as vt, d as yt, f as bt, i as xt, l as St, m as Ct, o as wt, p as Tt, r as Et, s as Dt, t as Ot, u as kt } from "./_chunks/component-CMkF17YZ.js";
37
+ import { a as _t, c as vt, d as yt, f as bt, i as xt, l as St, m as Ct, o as wt, p as Tt, r as Et, s as Dt, t as Ot, u as kt } from "./_chunks/component-B8SvtSaB.js";
39
38
  import { BarChart as At } from "./distribution-chart/bar-chart.js";
40
39
  import { LineChart as jt } from "./distribution-chart/line-chart.js";
41
40
  import { AreaChart as Mt } from "./distribution-chart/area-chart.js";
@@ -43,19 +42,19 @@ import { DistributionChart as Nt } from "./distribution-chart/index.js";
43
42
  import { BrushRange as Pt } from "./brush-range/component.js";
44
43
  import { HighlightedTextInput as Ft, InlineFieldGroup as It, OptionButton as Lt } from "./filter-controls.js";
45
44
  import { TimeGrid as Rt } from "./time-grid.js";
46
- import { _ as zt, a as Bt, c as Vt, d as Ht, f as Ut, g as Wt, h as Gt, i as Kt, l as qt, m as Jt, o as Yt, p as Xt, r as Zt, s as Qt, u as $t, v as en } from "./_chunks/field-configurator-BCINdXpU.js";
45
+ import { _ as zt, a as Bt, c as Vt, d as Ht, f as Ut, g as Wt, h as Gt, i as Kt, l as qt, m as Jt, o as Yt, p as Xt, r as Zt, s as Qt, u as $t, v as en } from "./_chunks/field-configurator-BWZnm3gE.js";
47
46
  import { ComparisonPreview as tn, IconChoiceGroup as nn, IconToggleButton as rn, InspectorSection as an, TypographyControls as on } from "./formatting/index.js";
48
- import { n as sn, t as cn } from "./_chunks/reorder-list-B0_13Sja.js";
47
+ import { n as sn, t as cn } from "./_chunks/reorder-list-CR1DO4EG.js";
49
48
  import { TimelineTrack as ln } from "./timeline-track/index.js";
50
49
  import { Legend as un } from "./legend.js";
51
- import { t as dn } from "./_chunks/number-input-DqXV6vgP.js";
50
+ import { t as dn } from "./_chunks/number-input-C_TPzAJq.js";
52
51
  import { MaskedDraft as fn } from "./masked-input/index.js";
53
- import { t as pn } from "./_chunks/rich-text-5rnc8lpI.js";
52
+ import { t as pn } from "./_chunks/rich-text-ByjXFv1S.js";
54
53
  import { AssigneeField as mn, AssigneePicker as hn, AssigneePickerLayout as gn } from "./assignee/index.js";
55
- import { t as _n } from "./_chunks/framework-mount-Bk4O_T7T.js";
54
+ import { t as _n } from "./_chunks/framework-mount-DQ4opSL0.js";
56
55
  import { createElement as Y, forwardRef as vn, isValidElement as yn, useImperativeHandle as bn, useLayoutEffect as X, useRef as Z, useState as xn } from "react";
57
56
  import { createPortal as Sn } from "react-dom";
58
- //#region src/react-adapter.ts
57
+ //#region package/react-adapter.ts
59
58
  var Cn = /* @__PURE__ */ "children.footer.label.description.icon.summary.start.end.empty.highlight.actions.heading.placeholder.indicator.avatar.timestamp.header.details.formatted.hint.iconContent.content.caption.count.detail.leading.trailing.shortcut.info".split(".");
60
59
  function Q(e, t, n = {}) {
61
60
  let r = vn((r, i) => {
@@ -94,8 +93,8 @@ function Q(e, t, n = {}) {
94
93
  return r.displayName = `Rv${t}`, r;
95
94
  }
96
95
  //#endregion
97
- //#region src/react.ts
98
- var wn = /* @__PURE__ */ Q(p, "Input"), Tn = /* @__PURE__ */ Q(d, "SvgIcon"), En = /* @__PURE__ */ Q(Te, "SvgButton"), Dn = /* @__PURE__ */ Q(g, "DeleteButton"), On = /* @__PURE__ */ Q(_, "RemoveButton"), kn = /* @__PURE__ */ Q(Je, "Checkbox"), An = /* @__PURE__ */ Q(Ye, "Switch"), jn = /* @__PURE__ */ Q(Ee, "SegmentedSwitch"), Mn = /* @__PURE__ */ Q(He, "ChoiceChips"), Nn = /* @__PURE__ */ Q(Ve, "ChoiceChipInfoButton"), Pn = /* @__PURE__ */ Q(Ue, "ChoiceChip"), Fn = /* @__PURE__ */ Q(Xe, "SearchInput"), In = /* @__PURE__ */ Q(Qe, "FilterChip"), Ln = /* @__PURE__ */ Q($e, "FormField"), Rn = /* @__PURE__ */ Q(Ze, "DisclosureSummary"), zn = /* @__PURE__ */ Q(J, "EditorSplitLayout"), $ = /* @__PURE__ */ Q(q, "EditorPane"), Bn = /* @__PURE__ */ Q(U, "EditorList"), Vn = /* @__PURE__ */ Q(G, "EditorListItem"), Hn = /* @__PURE__ */ Q(K, "EditorListItemContent"), Un = /* @__PURE__ */ Q(W, "EditorListGroup"), Wn = /* @__PURE__ */ Q(st, "Calendar"), Gn = /* @__PURE__ */ Q(at, "CalendarHeader"), Kn = /* @__PURE__ */ Q(ot, "CalendarWeekdays"), qn = /* @__PURE__ */ Q(ct, "CalendarDay"), Jn = /* @__PURE__ */ Q(lt, "CalendarMonthGrid"), Yn = /* @__PURE__ */ Q(ut, "CalendarYearGrid"), Xn = /* @__PURE__ */ Q(dt, "CalendarPicker"), Zn = /* @__PURE__ */ Q(pt, "SharedResourcePicker"), Qn = /* @__PURE__ */ Q(ft, "ResourcePickerAvatar"), $n = /* @__PURE__ */ Q(ze, "ColorPalette"), er = /* @__PURE__ */ Q(Be, "ColorPicker"), tr = /* @__PURE__ */ Q(f, "Dropdown", { factoryCallbacks: [
96
+ //#region package/react.ts
97
+ var wn = /* @__PURE__ */ Q(p, "Input"), Tn = /* @__PURE__ */ Q(d, "SvgIcon"), En = /* @__PURE__ */ Q(Ee, "SvgButton"), Dn = /* @__PURE__ */ Q(g, "DeleteButton"), On = /* @__PURE__ */ Q(_, "RemoveButton"), kn = /* @__PURE__ */ Q(Je, "Checkbox"), An = /* @__PURE__ */ Q(Ye, "Switch"), jn = /* @__PURE__ */ Q(De, "SegmentedSwitch"), Mn = /* @__PURE__ */ Q(He, "ChoiceChips"), Nn = /* @__PURE__ */ Q(Ve, "ChoiceChipInfoButton"), Pn = /* @__PURE__ */ Q(Ue, "ChoiceChip"), Fn = /* @__PURE__ */ Q(Xe, "SearchInput"), In = /* @__PURE__ */ Q(Qe, "FilterChip"), Ln = /* @__PURE__ */ Q($e, "FormField"), Rn = /* @__PURE__ */ Q(Ze, "DisclosureSummary"), zn = /* @__PURE__ */ Q(J, "EditorSplitLayout"), $ = /* @__PURE__ */ Q(q, "EditorPane"), Bn = /* @__PURE__ */ Q(U, "EditorList"), Vn = /* @__PURE__ */ Q(G, "EditorListItem"), Hn = /* @__PURE__ */ Q(K, "EditorListItemContent"), Un = /* @__PURE__ */ Q(W, "EditorListGroup"), Wn = /* @__PURE__ */ Q(st, "Calendar"), Gn = /* @__PURE__ */ Q(at, "CalendarHeader"), Kn = /* @__PURE__ */ Q(ot, "CalendarWeekdays"), qn = /* @__PURE__ */ Q(ct, "CalendarDay"), Jn = /* @__PURE__ */ Q(lt, "CalendarMonthGrid"), Yn = /* @__PURE__ */ Q(ut, "CalendarYearGrid"), Xn = /* @__PURE__ */ Q(dt, "CalendarPicker"), Zn = /* @__PURE__ */ Q(pt, "SharedResourcePicker"), Qn = /* @__PURE__ */ Q(ft, "ResourcePickerAvatar"), $n = /* @__PURE__ */ Q(ze, "ColorPalette"), er = /* @__PURE__ */ Q(Be, "ColorPicker"), tr = /* @__PURE__ */ Q(f, "Dropdown", { factoryCallbacks: [
99
98
  "renderOption",
100
99
  "renderValue",
101
100
  "renderPlaceholder",
@@ -107,7 +106,7 @@ var wn = /* @__PURE__ */ Q(p, "Input"), Tn = /* @__PURE__ */ Q(d, "SvgIcon"), En
107
106
  "renderPlaceholder",
108
107
  "renderSelectedValue",
109
108
  "renderNoResults"
110
- ] }), ir = /* @__PURE__ */ Q(mt, "PreactRangeSlider"), ar = /* @__PURE__ */ Q(ht, "SingleValueSlider"), or = /* @__PURE__ */ Q(gt, "SliderField"), sr = /* @__PURE__ */ Q(he, "IconButton"), cr = /* @__PURE__ */ Q(E, "ToggleButton"), lr = /* @__PURE__ */ Q(pe, "ButtonGroup"), ur = /* @__PURE__ */ Q(A, "SegmentedControl"), dr = /* @__PURE__ */ Q(V, "Tabs"), fr = /* @__PURE__ */ Q(D, "TabPanel"), pr = /* @__PURE__ */ Q(k, "RadioGroup"), mr = /* @__PURE__ */ Q(v, "TextInput"), hr = /* @__PURE__ */ Q(B, "Textarea"), gr = /* @__PURE__ */ Q(be, "NumberInput"), _r = /* @__PURE__ */ Q(Ce, "NumberStepper"), vr = /* @__PURE__ */ Q(me, "DateInput"), yr = /* @__PURE__ */ Q(T, "TimeInput"), br = /* @__PURE__ */ Q(_e, "DateTimeInput"), xr = /* @__PURE__ */ Q(ge, "Chip"), Sr = /* @__PURE__ */ Q(F, "FieldHint"), Cr = /* @__PURE__ */ Q(ye, "FieldError"), wr = /* @__PURE__ */ Q(I, "FormSection"), Tr = /* @__PURE__ */ Q(P, "Disclosure"), Er = /* @__PURE__ */ Q(Se, "Panel"), Dr = /* @__PURE__ */ Q(O, "Toolbar"), Or = /* @__PURE__ */ Q(S, "ToolbarGroup"), kr = /* @__PURE__ */ Q(C, "ToolbarSeparator"), Ar = /* @__PURE__ */ Q(Ie, "Badge"), jr = /* @__PURE__ */ Q(M, "CountBadge"), Mr = /* @__PURE__ */ Q(x, "Spinner"), Nr = /* @__PURE__ */ Q(fe, "LoadingOverlay"), Pr = /* @__PURE__ */ Q(H, "EmptyState"), Fr = /* @__PURE__ */ Q(R, "Menu"), Ir = /* @__PURE__ */ Q(L, "MenuItem"), Lr = /* @__PURE__ */ Q(j, "MenuSeparator"), Rr = /* @__PURE__ */ Q(b, "Submenu"), zr = /* @__PURE__ */ Q(xe, "ResizeHandle"), Br = /* @__PURE__ */ Q(N, "Pagination"), Vr = /* @__PURE__ */ Q(z, "CircularProgress"), Hr = /* @__PURE__ */ Q(y, "Rating"), Ur = /* @__PURE__ */ Q(ve, "Button"), Wr = /* @__PURE__ */ Q(q, "Pane"), Gr = /* @__PURE__ */ Q(J, "SplitLayout"), Kr = /* @__PURE__ */ Q(w, "Alert"), qr = /* @__PURE__ */ Q(U, "Listbox"), Jr = /* @__PURE__ */ Q(G, "ListboxOption"), Yr = /* @__PURE__ */ Q(W, "ListboxGroup"), Xr = /* @__PURE__ */ Q(K, "ListboxOptionContent"), Zr = /* @__PURE__ */ Q(Le, "StatusFeedbackPanel"), Qr = /* @__PURE__ */ Q(Re, "StatusBadge"), $r = /* @__PURE__ */ Q(wt, "Combobox", { factoryCallbacks: [
109
+ ] }), ir = /* @__PURE__ */ Q(mt, "PreactRangeSlider"), ar = /* @__PURE__ */ Q(ht, "SingleValueSlider"), or = /* @__PURE__ */ Q(gt, "SliderField"), sr = /* @__PURE__ */ Q(ge, "IconButton"), cr = /* @__PURE__ */ Q(k, "ToggleButton"), lr = /* @__PURE__ */ Q(me, "ButtonGroup"), ur = /* @__PURE__ */ Q(S, "SegmentedControl"), dr = /* @__PURE__ */ Q(v, "Tabs"), fr = /* @__PURE__ */ Q(H, "TabPanel"), pr = /* @__PURE__ */ Q(b, "RadioGroup"), mr = /* @__PURE__ */ Q(V, "TextInput"), hr = /* @__PURE__ */ Q(E, "Textarea"), gr = /* @__PURE__ */ Q(xe, "NumberInput"), _r = /* @__PURE__ */ Q(we, "NumberStepper"), vr = /* @__PURE__ */ Q(he, "DateInput"), yr = /* @__PURE__ */ Q(D, "TimeInput"), br = /* @__PURE__ */ Q(ve, "DateTimeInput"), xr = /* @__PURE__ */ Q(_e, "Chip"), Sr = /* @__PURE__ */ Q(I, "FieldHint"), Cr = /* @__PURE__ */ Q(be, "FieldError"), wr = /* @__PURE__ */ Q(L, "FormSection"), Tr = /* @__PURE__ */ Q(F, "Disclosure"), Er = /* @__PURE__ */ Q(Ce, "Panel"), Dr = /* @__PURE__ */ Q(C, "Toolbar"), Or = /* @__PURE__ */ Q(w, "ToolbarGroup"), kr = /* @__PURE__ */ Q(T, "ToolbarSeparator"), Ar = /* @__PURE__ */ Q(y, "Badge"), jr = /* @__PURE__ */ Q(N, "CountBadge"), Mr = /* @__PURE__ */ Q(x, "Spinner"), Nr = /* @__PURE__ */ Q(pe, "LoadingOverlay"), Pr = /* @__PURE__ */ Q(fe, "EmptyState"), Fr = /* @__PURE__ */ Q(z, "Menu"), Ir = /* @__PURE__ */ Q(R, "MenuItem"), Lr = /* @__PURE__ */ Q(M, "MenuSeparator"), Rr = /* @__PURE__ */ Q(O, "Submenu"), zr = /* @__PURE__ */ Q(j, "ResizeHandle"), Br = /* @__PURE__ */ Q(P, "Pagination"), Vr = /* @__PURE__ */ Q(B, "CircularProgress"), Hr = /* @__PURE__ */ Q(Se, "Rating"), Ur = /* @__PURE__ */ Q(ye, "Button"), Wr = /* @__PURE__ */ Q(q, "Pane"), Gr = /* @__PURE__ */ Q(J, "SplitLayout"), Kr = /* @__PURE__ */ Q(A, "Alert"), qr = /* @__PURE__ */ Q(U, "Listbox"), Jr = /* @__PURE__ */ Q(G, "ListboxOption"), Yr = /* @__PURE__ */ Q(W, "ListboxGroup"), Xr = /* @__PURE__ */ Q(K, "ListboxOptionContent"), Zr = /* @__PURE__ */ Q(Le, "StatusFeedbackPanel"), Qr = /* @__PURE__ */ Q(Re, "StatusBadge"), $r = /* @__PURE__ */ Q(wt, "Combobox", { factoryCallbacks: [
111
110
  "renderOption",
112
111
  "renderValue",
113
112
  "renderPlaceholder",
@@ -119,6 +118,6 @@ var wn = /* @__PURE__ */ Q(p, "Input"), Tn = /* @__PURE__ */ Q(d, "SvgIcon"), En
119
118
  "renderPlaceholder",
120
119
  "renderSelectedValue",
121
120
  "renderNoResults"
122
- ] }), ti = /* @__PURE__ */ Q(_t, "Avatar"), ni = /* @__PURE__ */ Q(Tt, "ProgressBar"), ri = /* @__PURE__ */ Q(bt, "Popover"), ii = /* @__PURE__ */ Q(Ct, "Tooltip"), ai = /* @__PURE__ */ Q(kt, "Dialog"), oi = /* @__PURE__ */ Q(Dt, "ConfirmDialog"), si = /* @__PURE__ */ Q(vt, "DatePicker"), ci = /* @__PURE__ */ Q(St, "DateRangePicker"), li = /* @__PURE__ */ Q(Pe, "DialogHeader"), ui = /* @__PURE__ */ Q(Ne, "DialogBody"), di = /* @__PURE__ */ Q(De, "DialogFooter"), fi = /* @__PURE__ */ Q(Nt, "DistributionChart"), pi = /* @__PURE__ */ Q(At, "BarChart"), mi = /* @__PURE__ */ Q(jt, "LineChart"), hi = /* @__PURE__ */ Q(Mt, "AreaChart"), gi = /* @__PURE__ */ Q(Pt, "BrushRange"), _i = /* @__PURE__ */ Q(Lt, "OptionButton"), vi = /* @__PURE__ */ Q(Ft, "HighlightedTextInput"), yi = /* @__PURE__ */ Q(It, "InlineFieldGroup"), bi = /* @__PURE__ */ Q(un, "Legend"), xi = /* @__PURE__ */ Q(Rt, "TimeGrid"), Si = /* @__PURE__ */ Q(Vt, "FieldIcon"), Ci = /* @__PURE__ */ Q(zt, "FieldSummary"), wi = /* @__PURE__ */ Q($t, "FieldLibrary"), Ti = /* @__PURE__ */ Q(Qt, "FieldGroupHeading"), Ei = /* @__PURE__ */ Q(Yt, "FieldGroup"), Di = /* @__PURE__ */ Q(Ut, "FieldList"), Oi = /* @__PURE__ */ Q(Gt, "FieldRow"), ki = /* @__PURE__ */ Q(Kt, "FieldContent"), Ai = /* @__PURE__ */ Q(qt, "FieldItem"), ji = /* @__PURE__ */ Q(Ht, "FieldLibraryList"), Mi = /* @__PURE__ */ Q(en, "SelectedField"), Ni = /* @__PURE__ */ Q(Zt, "FieldActions"), Pi = /* @__PURE__ */ Q(Wt, "FieldStatusBadge"), Fi = /* @__PURE__ */ Q(Xt, "FieldRemoveButton"), Ii = /* @__PURE__ */ Q(Jt, "FieldRemoveIcon"), Li = /* @__PURE__ */ Q(Bt, "FieldDropIndicator"), Ri = /* @__PURE__ */ Q(Me, "DialogForm"), zi = /* @__PURE__ */ Q(ke, "DialogCloseButton"), Bi = /* @__PURE__ */ Q(Fe, "DialogActionFooter"), Vi = /* @__PURE__ */ Q(je, "DialogActions"), Hi = /* @__PURE__ */ Q(Oe, "DialogTitleInput"), Ui = /* @__PURE__ */ Q(Ae, "EditableDialogHeader"), Wi = /* @__PURE__ */ Q(we, "ControlTooltip"), Gi = /* @__PURE__ */ Q(an, "InspectorSection"), Ki = /* @__PURE__ */ Q(nn, "IconChoiceGroup"), qi = /* @__PURE__ */ Q(rn, "IconToggleButton"), Ji = /* @__PURE__ */ Q(on, "TypographyControls"), Yi = /* @__PURE__ */ Q(tn, "ComparisonPreview"), Xi = /* @__PURE__ */ Q(Ge, "FilterBadgeInfoButton"), Zi = /* @__PURE__ */ Q(We, "FilterBadge"), Qi = /* @__PURE__ */ Q(l, "RatingStar"), $i = /* @__PURE__ */ Q(u, "RatingChoice"), ea = /* @__PURE__ */ Q(sn, "ReorderList"), ta = /* @__PURE__ */ Q(cn, "ReorderHandle"), na = /* @__PURE__ */ Q(ln, "TimelineTrack"), ra = /* @__PURE__ */ Q(Ke, "ActivityMessage"), ia = /* @__PURE__ */ Q(dn, "NumberDraft"), aa = /* @__PURE__ */ Q(fn, "MaskedDraft"), oa = /* @__PURE__ */ Q(rt, "DurationField"), sa = /* @__PURE__ */ Q(it, "DurationDraft"), ca = /* @__PURE__ */ Q(pn, "HtmlEditor"), la = /* @__PURE__ */ Q(et, "TemporalPicker"), ua = /* @__PURE__ */ Q(tt, "TemporalDraft"), da = /* @__PURE__ */ Q(nt, "DateTimeField"), fa = /* @__PURE__ */ Q(hn, "AssigneePicker"), pa = /* @__PURE__ */ Q(mn, "AssigneeField"), ma = /* @__PURE__ */ Q(gn, "AssigneePickerLayout"), ha = /* @__PURE__ */ Q(c, "AiPromptInput"), ga = /* @__PURE__ */ Q(t, "AiSuggestions"), _a = /* @__PURE__ */ Q(o, "AiActionStatus"), va = /* @__PURE__ */ Q(ne, "AiChangePreview"), ya = /* @__PURE__ */ Q(s, "AiResult"), ba = /* @__PURE__ */ Q(de, "AiResultView"), xa = /* @__PURE__ */ Q(e, "AiResultTable"), Sa = /* @__PURE__ */ Q(ue, "AiResultMetrics"), Ca = /* @__PURE__ */ Q(r, "AiResultText"), wa = /* @__PURE__ */ Q(ae, "AiAssistant"), Ta = /* @__PURE__ */ Q(ce, "AiRequestTrail"), Ea = /* @__PURE__ */ Q(Ot, "PdfViewer"), Da = /* @__PURE__ */ Q(Et, "PdfViewerToolbar"), Oa = /* @__PURE__ */ Q(re, "AiChat"), ka = /* @__PURE__ */ Q(ee, "AiChatContent"), Aa = /* @__PURE__ */ Q(oe, "AiChatComposer"), ja = /* @__PURE__ */ Q(n, "AiChatEmptyState"), Ma = /* @__PURE__ */ Q(ie, "AiMessage"), Na = /* @__PURE__ */ Q(i, "AiMessageContent"), Pa = /* @__PURE__ */ Q(se, "AiMessageActions"), Fa = /* @__PURE__ */ Q(te, "AiReasoning"), Ia = /* @__PURE__ */ Q(le, "AiTask"), La = /* @__PURE__ */ Q(a, "AiTaskItem"), Ra = /* @__PURE__ */ Q(qe, "IconToolbar");
121
+ ] }), ti = /* @__PURE__ */ Q(_t, "Avatar"), ni = /* @__PURE__ */ Q(Tt, "ProgressBar"), ri = /* @__PURE__ */ Q(bt, "Popover"), ii = /* @__PURE__ */ Q(Ct, "Tooltip"), ai = /* @__PURE__ */ Q(kt, "Dialog"), oi = /* @__PURE__ */ Q(Dt, "ConfirmDialog"), si = /* @__PURE__ */ Q(vt, "DatePicker"), ci = /* @__PURE__ */ Q(St, "DateRangePicker"), li = /* @__PURE__ */ Q(Fe, "DialogHeader"), ui = /* @__PURE__ */ Q(Pe, "DialogBody"), di = /* @__PURE__ */ Q(Oe, "DialogFooter"), fi = /* @__PURE__ */ Q(Nt, "DistributionChart"), pi = /* @__PURE__ */ Q(At, "BarChart"), mi = /* @__PURE__ */ Q(jt, "LineChart"), hi = /* @__PURE__ */ Q(Mt, "AreaChart"), gi = /* @__PURE__ */ Q(Pt, "BrushRange"), _i = /* @__PURE__ */ Q(Lt, "OptionButton"), vi = /* @__PURE__ */ Q(Ft, "HighlightedTextInput"), yi = /* @__PURE__ */ Q(It, "InlineFieldGroup"), bi = /* @__PURE__ */ Q(un, "Legend"), xi = /* @__PURE__ */ Q(Rt, "TimeGrid"), Si = /* @__PURE__ */ Q(Vt, "FieldIcon"), Ci = /* @__PURE__ */ Q(zt, "FieldSummary"), wi = /* @__PURE__ */ Q($t, "FieldLibrary"), Ti = /* @__PURE__ */ Q(Qt, "FieldGroupHeading"), Ei = /* @__PURE__ */ Q(Yt, "FieldGroup"), Di = /* @__PURE__ */ Q(Ut, "FieldList"), Oi = /* @__PURE__ */ Q(Gt, "FieldRow"), ki = /* @__PURE__ */ Q(Kt, "FieldContent"), Ai = /* @__PURE__ */ Q(qt, "FieldItem"), ji = /* @__PURE__ */ Q(Ht, "FieldLibraryList"), Mi = /* @__PURE__ */ Q(en, "SelectedField"), Ni = /* @__PURE__ */ Q(Zt, "FieldActions"), Pi = /* @__PURE__ */ Q(Wt, "FieldStatusBadge"), Fi = /* @__PURE__ */ Q(Xt, "FieldRemoveButton"), Ii = /* @__PURE__ */ Q(Jt, "FieldRemoveIcon"), Li = /* @__PURE__ */ Q(Bt, "FieldDropIndicator"), Ri = /* @__PURE__ */ Q(Ne, "DialogForm"), zi = /* @__PURE__ */ Q(Ae, "DialogCloseButton"), Bi = /* @__PURE__ */ Q(Ie, "DialogActionFooter"), Vi = /* @__PURE__ */ Q(Me, "DialogActions"), Hi = /* @__PURE__ */ Q(ke, "DialogTitleInput"), Ui = /* @__PURE__ */ Q(je, "EditableDialogHeader"), Wi = /* @__PURE__ */ Q(Te, "ControlTooltip"), Gi = /* @__PURE__ */ Q(an, "InspectorSection"), Ki = /* @__PURE__ */ Q(nn, "IconChoiceGroup"), qi = /* @__PURE__ */ Q(rn, "IconToggleButton"), Ji = /* @__PURE__ */ Q(on, "TypographyControls"), Yi = /* @__PURE__ */ Q(tn, "ComparisonPreview"), Xi = /* @__PURE__ */ Q(Ge, "FilterBadgeInfoButton"), Zi = /* @__PURE__ */ Q(We, "FilterBadge"), Qi = /* @__PURE__ */ Q(l, "RatingStar"), $i = /* @__PURE__ */ Q(u, "RatingChoice"), ea = /* @__PURE__ */ Q(sn, "ReorderList"), ta = /* @__PURE__ */ Q(cn, "ReorderHandle"), na = /* @__PURE__ */ Q(ln, "TimelineTrack"), ra = /* @__PURE__ */ Q(Ke, "ActivityMessage"), ia = /* @__PURE__ */ Q(dn, "NumberDraft"), aa = /* @__PURE__ */ Q(fn, "MaskedDraft"), oa = /* @__PURE__ */ Q(rt, "DurationField"), sa = /* @__PURE__ */ Q(it, "DurationDraft"), ca = /* @__PURE__ */ Q(pn, "HtmlEditor"), la = /* @__PURE__ */ Q(et, "TemporalPicker"), ua = /* @__PURE__ */ Q(tt, "TemporalDraft"), da = /* @__PURE__ */ Q(nt, "DateTimeField"), fa = /* @__PURE__ */ Q(hn, "AssigneePicker"), pa = /* @__PURE__ */ Q(mn, "AssigneeField"), ma = /* @__PURE__ */ Q(gn, "AssigneePickerLayout"), ha = /* @__PURE__ */ Q(c, "AiPromptInput"), ga = /* @__PURE__ */ Q(t, "AiSuggestions"), _a = /* @__PURE__ */ Q(o, "AiActionStatus"), va = /* @__PURE__ */ Q(ne, "AiChangePreview"), ya = /* @__PURE__ */ Q(s, "AiResult"), ba = /* @__PURE__ */ Q(de, "AiResultView"), xa = /* @__PURE__ */ Q(e, "AiResultTable"), Sa = /* @__PURE__ */ Q(ue, "AiResultMetrics"), Ca = /* @__PURE__ */ Q(r, "AiResultText"), wa = /* @__PURE__ */ Q(ae, "AiAssistant"), Ta = /* @__PURE__ */ Q(ce, "AiRequestTrail"), Ea = /* @__PURE__ */ Q(Ot, "PdfViewer"), Da = /* @__PURE__ */ Q(Et, "PdfViewerToolbar"), Oa = /* @__PURE__ */ Q(re, "AiChat"), ka = /* @__PURE__ */ Q(ee, "AiChatContent"), Aa = /* @__PURE__ */ Q(oe, "AiChatComposer"), ja = /* @__PURE__ */ Q(n, "AiChatEmptyState"), Ma = /* @__PURE__ */ Q(ie, "AiMessage"), Na = /* @__PURE__ */ Q(i, "AiMessageContent"), Pa = /* @__PURE__ */ Q(se, "AiMessageActions"), Fa = /* @__PURE__ */ Q(te, "AiReasoning"), Ia = /* @__PURE__ */ Q(le, "AiTask"), La = /* @__PURE__ */ Q(a, "AiTaskItem"), Ra = /* @__PURE__ */ Q(qe, "IconToolbar");
123
122
  //#endregion
124
123
  export { ra as ActivityMessage, _a as AiActionStatus, wa as AiAssistant, va as AiChangePreview, Oa as AiChat, Aa as AiChatComposer, ka as AiChatContent, ja as AiChatEmptyState, Ma as AiMessage, Pa as AiMessageActions, Na as AiMessageContent, ha as AiPromptInput, Fa as AiReasoning, Ta as AiRequestTrail, ya as AiResult, Sa as AiResultMetrics, xa as AiResultTable, Ca as AiResultText, ba as AiResultView, ga as AiSuggestions, Ia as AiTask, La as AiTaskItem, Kr as Alert, hi as AreaChart, pa as AssigneeField, fa as AssigneePicker, ma as AssigneePickerLayout, ti as Avatar, Ar as Badge, pi as BarChart, gi as BrushRange, Ur as Button, lr as ButtonGroup, Wn as Calendar, qn as CalendarDay, Gn as CalendarHeader, Jn as CalendarMonthGrid, Xn as CalendarPicker, Kn as CalendarWeekdays, Yn as CalendarYearGrid, kn as Checkbox, xr as Chip, Pn as ChoiceChip, Nn as ChoiceChipInfoButton, Mn as ChoiceChips, Vr as CircularProgress, $n as ColorPalette, er as ColorPicker, $r as Combobox, Yi as ComparisonPreview, oi as ConfirmDialog, Wi as ControlTooltip, jr as CountBadge, vr as DateInput, si as DatePicker, ci as DateRangePicker, da as DateTimeField, br as DateTimeInput, Dn as DeleteButton, ai as Dialog, Bi as DialogActionFooter, Vi as DialogActions, ui as DialogBody, zi as DialogCloseButton, di as DialogFooter, Ri as DialogForm, li as DialogHeader, Hi as DialogTitleInput, Tr as Disclosure, Rn as DisclosureSummary, fi as DistributionChart, tr as Dropdown, nr as DropdownPopup, rr as DropdownPopupContent, sa as DurationDraft, oa as DurationField, Ui as EditableDialogHeader, Bn as EditorList, Un as EditorListGroup, Vn as EditorListItem, Hn as EditorListItemContent, $ as EditorPane, zn as EditorSplitLayout, Pr as EmptyState, Ni as FieldActions, ki as FieldContent, Li as FieldDropIndicator, Cr as FieldError, Ei as FieldGroup, Ti as FieldGroupHeading, Sr as FieldHint, Si as FieldIcon, Ai as FieldItem, wi as FieldLibrary, ji as FieldLibraryList, Di as FieldList, Fi as FieldRemoveButton, Ii as FieldRemoveIcon, Oi as FieldRow, Pi as FieldStatusBadge, Ci as FieldSummary, Zi as FilterBadge, Xi as FilterBadgeInfoButton, In as FilterChip, Ln as FormField, wr as FormSection, vi as HighlightedTextInput, ca as HtmlEditor, sr as IconButton, Ki as IconChoiceGroup, qi as IconToggleButton, Ra as IconToolbar, yi as InlineFieldGroup, wn as Input, Gi as InspectorSection, bi as Legend, mi as LineChart, qr as Listbox, Yr as ListboxGroup, Jr as ListboxOption, Xr as ListboxOptionContent, Nr as LoadingOverlay, aa as MaskedDraft, Fr as Menu, Ir as MenuItem, Lr as MenuSeparator, ei as MultiSelect, ia as NumberDraft, gr as NumberInput, _r as NumberStepper, _i as OptionButton, Br as Pagination, Wr as Pane, Er as Panel, Ea as PdfViewer, Da as PdfViewerToolbar, ri as Popover, ir as PreactRangeSlider, ni as ProgressBar, pr as RadioGroup, Hr as Rating, $i as RatingChoice, Qi as RatingStar, On as RemoveButton, ta as ReorderHandle, ea as ReorderList, zr as ResizeHandle, Qn as ResourcePickerAvatar, Fn as SearchInput, ur as SegmentedControl, jn as SegmentedSwitch, Mi as SelectedField, Zn as SharedResourcePicker, ar as SingleValueSlider, or as SliderField, Mr as Spinner, Gr as SplitLayout, Qr as StatusBadge, Zr as StatusFeedbackPanel, Rr as Submenu, En as SvgButton, Tn as SvgIcon, An as Switch, fr as TabPanel, dr as Tabs, ua as TemporalDraft, la as TemporalPicker, mr as TextInput, hr as Textarea, xi as TimeGrid, yr as TimeInput, na as TimelineTrack, cr as ToggleButton, Dr as Toolbar, Or as ToolbarGroup, kr as ToolbarSeparator, ii as Tooltip, Ji as TypographyControls, Q as createReactAdapter, xt as defaultPdfViewerText };
package/reorder-list.d.ts CHANGED
@@ -15,6 +15,6 @@ export interface ReorderListProps<T> {
15
15
  onDrop(event: DragEvent, boundary: number): void;
16
16
  }
17
17
  /** Shared list geometry, event routing and insertion markers. Consumers own move policy and data. */
18
- export declare function ReorderList<T>({ items, itemKey, renderItem, renderHandle, itemAttributes, className, rowClassName, endClassName, draggedKey, dropIndex, empty, onDragOver, onDrop }: ReorderListProps<T>): h.JSX.Element;
18
+ export declare function ReorderList<T>({ items, itemKey, renderItem, renderHandle, itemAttributes, className, rowClassName, endClassName, draggedKey, dropIndex, empty, onDragOver, onDrop, }: ReorderListProps<T>): h.JSX.Element;
19
19
  /** Native drag source; product adapters supply stable IDs, announcements and keyboard move policy. */
20
20
  export declare function ReorderHandle({ className, children, ...props }: JSX.IntrinsicElements['button']): h.JSX.Element;
package/reorder-list.js CHANGED
@@ -1 +1 @@
1
- export { t as ReorderHandle, n as ReorderList } from "./_chunks/reorder-list-B0_13Sja.js";
1
+ export { t as ReorderHandle, n as ReorderList } from "./_chunks/reorder-list-CR1DO4EG.js";
package/reorder-list.scss CHANGED
@@ -1,29 +1,47 @@
1
1
  @use './styles/motion';
2
- .rv-reorder-list { position: relative; min-width: 0; }
2
+ .rv-reorder-list {
3
+ position: relative;
4
+ min-width: 0;
5
+ }
3
6
  .rv-reorder-row {
4
7
  position: relative;
5
8
  min-width: 0;
6
9
  &.dragging {
7
10
  border-radius: 8px;
8
11
  background: var(--rv-ui-selected-bg);
9
- > :not(.rv-reorder-handle) { opacity: .3; }
12
+ > :not(.rv-reorder-handle) {
13
+ opacity: 0.3;
14
+ }
10
15
  }
11
16
  &.drop-before::after {
12
- content: ''; position: absolute; z-index: 4;
13
- top: -4px; right: 0; left: var(--rv-reorder-marker-inset, 30px);
14
- height: 2px; border-radius: 2px;
17
+ content: '';
18
+ position: absolute;
19
+ z-index: 4;
20
+ top: -4px;
21
+ right: 0;
22
+ left: var(--rv-reorder-marker-inset, 30px);
23
+ height: 2px;
24
+ border-radius: 2px;
15
25
  background: var(--rv-ui-accent);
16
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--rv-ui-accent) 14%, transparent);
26
+ box-shadow: 0 0 0 3px
27
+ color-mix(in srgb, var(--rv-ui-accent) 14%, transparent);
17
28
  pointer-events: none;
18
29
  }
19
30
  }
20
31
  .rv-reorder-drop-end {
21
- position: relative; height: 16px;
32
+ position: relative;
33
+ height: 16px;
22
34
  margin: 4px 0 0 var(--rv-reorder-marker-inset, 30px);
23
35
  pointer-events: none;
24
36
  &::after {
25
- content: ''; position: absolute; top: 7px; right: 0; left: 0;
26
- height: 2px; border-radius: 2px; background: transparent;
37
+ content: '';
38
+ position: absolute;
39
+ top: 7px;
40
+ right: 0;
41
+ left: 0;
42
+ height: 2px;
43
+ border-radius: 2px;
44
+ background: transparent;
27
45
  }
28
46
  }
29
47
  .rv-reorder-list.drop-at-end > .rv-reorder-drop-end::after {
@@ -31,12 +49,36 @@
31
49
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rv-ui-accent) 14%, transparent);
32
50
  }
33
51
  .rv-reorder-handle.rv-btn {
34
- display: inline-flex; align-items: center; justify-content: center;
35
- width: 24px; height: 32px; min-width: 24px; margin: 0; padding: 0;
36
- border: 0; background: transparent;
37
- color: var(--rv-ui-field-muted); cursor: grab; opacity: .58;
38
- transition: opacity var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, cubic-bezier(.2, 0, 0, 1)), color var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, cubic-bezier(.2, 0, 0, 1));
39
- > span, svg { display: block; width: 8px; height: 11px; pointer-events: none; }
40
- &:hover, &:focus-visible { opacity: 1; }
41
- &:active { cursor: grabbing; }
52
+ display: inline-flex;
53
+ align-items: center;
54
+ justify-content: center;
55
+ width: 24px;
56
+ height: 32px;
57
+ min-width: 24px;
58
+ margin: 0;
59
+ padding: 0;
60
+ border: 0;
61
+ background: transparent;
62
+ color: var(--rv-ui-field-muted);
63
+ cursor: grab;
64
+ opacity: 0.58;
65
+ transition:
66
+ opacity var(--rv-ui-motion-fast, 120ms)
67
+ var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1)),
68
+ color var(--rv-ui-motion-fast, 120ms)
69
+ var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1));
70
+ > span,
71
+ svg {
72
+ display: block;
73
+ width: 8px;
74
+ height: 11px;
75
+ pointer-events: none;
76
+ }
77
+ &:hover,
78
+ &:focus-visible {
79
+ opacity: 1;
80
+ }
81
+ &:active {
82
+ cursor: grabbing;
83
+ }
42
84
  }
@@ -1,8 +1,8 @@
1
- import { i as e } from "../_chunks/hooks.module-CG3gN83z.js";
2
- import { t } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
1
+ import { i as e } from "../_chunks/hooks.module-CXpO2xq6.js";
2
+ import { t } from "../_chunks/jsxRuntime.module-ksX_VSbv.js";
3
3
  import { getAvatarInitials as n } from "../avatar/index.js";
4
4
  import { resourcePickerClasses as r } from "./resource-picker.utils.js";
5
- //#region src/resource-picker/resource-picker-avatar.tsx
5
+ //#region package/resource-picker/resource-picker-avatar.tsx
6
6
  var i = [
7
7
  "#22d3ee",
8
8
  "#34d399",
@@ -1,7 +1,7 @@
1
- import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
1
+ import { t as e } from "../_chunks/jsxRuntime.module-ksX_VSbv.js";
2
2
  import { resourcePickerClasses as t, resourcePickerDataAttribute as n, resourcePickerIdKey as r, uniqueResourcePickerIds as i } from "./resource-picker.utils.js";
3
3
  import { ResourcePickerAvatar as a } from "./resource-picker-avatar.js";
4
- //#region src/resource-picker/resource-picker-option.tsx
4
+ //#region package/resource-picker/resource-picker-option.tsx
5
5
  function o({ resource: o, selected: s, selectedResourceIds: c, disabled: l, readOnly: u = !1, multiple: d, resourceDataAttribute: f, classNames: p, isResourceDisabled: m, getAvatarColor: h, optionId: g, focused: _ = !1, onFocus: v, onChange: y }) {
6
6
  let b = m?.(o) === !0;
7
7
  return /* @__PURE__ */ e("label", {
@@ -1,6 +1,6 @@
1
- import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
2
- import { t } from "../_chunks/popup-C35Isk7p.js";
3
- //#region src/resource-picker/resource-picker-popup.tsx
1
+ import { t as e } from "../_chunks/jsxRuntime.module-ksX_VSbv.js";
2
+ import { t } from "../_chunks/popup-CISbXDnE.js";
3
+ //#region package/resource-picker/resource-picker-popup.tsx
4
4
  function n({ triggerRef: n, portalTarget: r, popupId: i, children: a }) {
5
5
  return /* @__PURE__ */ e(t, {
6
6
  triggerRef: n,
@@ -1,27 +1,28 @@
1
- import { c as e, i as t, n, o as r, t as i } from "../_chunks/hooks.module-CG3gN83z.js";
2
- import { t as a } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
1
+ import { c as e, i as t, n, o as r, t as i } from "../_chunks/hooks.module-CXpO2xq6.js";
2
+ import { t as a } from "../_chunks/jsxRuntime.module-ksX_VSbv.js";
3
3
  import { createControlId as o } from "../core/control-id.js";
4
- import { t as s } from "../_chunks/chevron-down-GbplLa6s.js";
5
- import { t as ee } from "../_chunks/xmark-DD_PBvZI.js";
6
- import { SearchInput as c } from "../search-input/index.js";
7
- import { resourcePickerClasses as l, resourcePickerDataAttribute as u, resourcePickerIdKey as d } from "./resource-picker.utils.js";
8
- import { ResourcePickerAvatar as f } from "./resource-picker-avatar.js";
9
- import { ResourcePickerOption as p } from "./resource-picker-option.js";
10
- import { ResourcePickerPopup as m } from "./resource-picker-popup.js";
11
- //#region src/resource-picker/resource-picker.tsx
12
- function h({ resources: h, selectedResourceIds: v, text: y, onChange: b, classNames: x, disabled: S = !1, readOnly: C = !1, presentation: w = "inline", multiple: T = !0, preserveOrder: E = !1, unassigned: D, resourceDataAttribute: O, isResourceDisabled: k, getAvatarColor: A }) {
13
- let j = i(null), M = i(null), N = i(null), P = i(null), F = i(!1), [I] = t(() => o("rv-resource-list")), L = `${I}-popup`, R = w === "dropdown", [z, B] = t(!1), [V, H] = t(""), [U, W] = t(0), G = r(() => {
4
+ import { t as s } from "../_chunks/selection-list-tooltips-DqqLeO_m.js";
5
+ import { t as c } from "../_chunks/chevron-down-BkrpxJYD.js";
6
+ import { t as l } from "../_chunks/xmark-DQRQfXZI.js";
7
+ import { SearchInput as u } from "../search-input/index.js";
8
+ import { resourcePickerClasses as d, resourcePickerDataAttribute as f, resourcePickerIdKey as p } from "./resource-picker.utils.js";
9
+ import { ResourcePickerAvatar as m } from "./resource-picker-avatar.js";
10
+ import { ResourcePickerOption as ee } from "./resource-picker-option.js";
11
+ import { ResourcePickerPopup as h } from "./resource-picker-popup.js";
12
+ //#region package/resource-picker/resource-picker.tsx
13
+ function g({ resources: g, selectedResourceIds: y, text: b, onChange: x, classNames: S, disabled: C = !1, readOnly: w = !1, presentation: T = "inline", multiple: E = !0, preserveOrder: D = !1, unassigned: O, resourceDataAttribute: te, isResourceDisabled: k, getAvatarColor: A }) {
14
+ let j = i(null), M = i(null), N = i(null), P = i(null), ne = s(".rv-resource-picker__option"), F = i(!1), [I] = t(() => o("rv-resource-list")), L = `${I}-popup`, R = T === "dropdown", [z, B] = t(!1), [V, H] = t(""), [U, W] = t(0), G = r(() => {
14
15
  B(!1), H("");
15
- }, []), K = new Set(v.map(d)), q = n(() => E ? [...h] : [...h].sort((e, t) => e.name.localeCompare(t.name, void 0, {
16
+ }, []), K = new Set(y.map(p)), q = n(() => D ? [...g] : [...g].sort((e, t) => e.name.localeCompare(t.name, void 0, {
16
17
  numeric: !0,
17
18
  sensitivity: "base"
18
- })), [E, h]), J = n(() => {
19
+ })), [D, g]), J = n(() => {
19
20
  let e = V.trim().toLocaleLowerCase();
20
21
  return e ? q.filter((t) => `${t.name} ${t.role ?? ""}`.toLocaleLowerCase().includes(e)) : q;
21
22
  }, [V, q]), Y = n(() => {
22
- let e = new Map(h.map((e) => [d(e.id), e]));
23
- return v.map((t) => e.get(d(t))).filter((e) => !!e);
24
- }, [h, v]), X = R && U >= 0 && U < J.length ? `${I}-option-${U}` : void 0;
23
+ let e = new Map(g.map((e) => [p(e.id), e]));
24
+ return y.map((t) => e.get(p(t))).filter((e) => !!e);
25
+ }, [g, y]), X = R && U >= 0 && U < J.length ? `${I}-option-${U}` : void 0;
25
26
  e(() => {
26
27
  if (!R || !z) return;
27
28
  let e = (e) => {
@@ -49,72 +50,73 @@ function h({ resources: h, selectedResourceIds: v, text: y, onChange: b, classNa
49
50
  e && P.current.contains(e) && e.closest(".rv-resource-picker__option")?.scrollIntoView?.({ block: "nearest" });
50
51
  }, [X, z]);
51
52
  let Z = (e) => {
52
- C || (b(e), !T && R && G());
53
- }, te = () => {
53
+ w || (x(e), !E && R && G());
54
+ }, re = () => {
54
55
  let e = J[U];
55
56
  if (!e) return;
56
- let t = d(e.id);
57
- (!k?.(e) || K.has(t)) && Z(K.has(t) ? v.filter((e) => d(e) !== t) : T ? g([...v, e.id]) : [e.id]);
58
- }, ne = (e) => {
57
+ let t = p(e.id);
58
+ (!k?.(e) || K.has(t)) && Z(K.has(t) ? y.filter((e) => p(e) !== t) : E ? _([...y, e.id]) : [e.id]);
59
+ }, ie = (e) => {
59
60
  if (e.key === "Escape") e.preventDefault(), e.stopPropagation(), G(), M.current?.focus();
60
61
  else if (e.key === "ArrowDown" || e.key === "ArrowUp") {
61
62
  if (e.preventDefault(), e.stopPropagation(), !J.length) return;
62
63
  F.current = !0, W((t) => e.key === "ArrowDown" ? t >= J.length - 1 ? 0 : t + 1 : t <= 0 ? J.length - 1 : t - 1);
63
- } else e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), te());
64
+ } else e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), re());
64
65
  }, Q = typeof document > "u" ? null : j.current?.closest("dialog, .rv-dialog-overlay") ?? document.body, $ = /* @__PURE__ */ a("div", {
66
+ ref: ne,
65
67
  class: "rv-resource-picker__popover",
66
- onKeyDown: R ? ne : void 0,
67
- children: [/* @__PURE__ */ a(c, {
68
+ onKeyDown: R ? ie : void 0,
69
+ children: [/* @__PURE__ */ a(u, {
68
70
  inputRef: N,
69
71
  rootClassName: "rv-resource-picker__search-control",
70
- inputClassName: l("rv-resource-picker__search", x?.search),
72
+ inputClassName: d("rv-resource-picker__search", S?.search),
71
73
  value: V,
72
- disabled: S,
73
- placeholder: y.searchPlaceholder,
74
- "aria-label": y.searchAriaLabel,
74
+ disabled: C,
75
+ placeholder: b.searchPlaceholder,
76
+ "aria-label": b.searchAriaLabel,
75
77
  onValueChange: H
76
78
  }), /* @__PURE__ */ a("div", {
77
79
  ref: P,
78
- class: l("rv-resource-picker__list", x?.list),
80
+ class: d("rv-resource-picker__list", S?.list),
79
81
  role: R ? "listbox" : "group",
80
82
  id: R ? I : void 0,
81
- "aria-multiselectable": R ? T : void 0,
83
+ "aria-multiselectable": R ? E : void 0,
82
84
  "aria-activedescendant": X,
83
- "aria-label": y.groupAriaLabel,
84
- children: [D && !C ? /* @__PURE__ */ a("label", {
85
- class: l("rv-resource-picker__option rv-resource-picker__option--unassigned", x?.option),
85
+ "aria-label": b.groupAriaLabel,
86
+ children: [O && !w ? /* @__PURE__ */ a("label", {
87
+ class: d("rv-resource-picker__option rv-resource-picker__option--unassigned", S?.option),
86
88
  children: [
87
89
  /* @__PURE__ */ a("input", {
88
90
  type: "checkbox",
89
- checked: v.length === 0,
90
- disabled: S,
91
- ...u(D.dataAttribute, ""),
92
- onChange: () => b([])
91
+ checked: y.length === 0,
92
+ disabled: C,
93
+ ...f(O.dataAttribute, ""),
94
+ onChange: () => x([])
93
95
  }),
94
96
  /* @__PURE__ */ a("span", {
95
97
  class: "rv-resource-picker__avatar-spacer",
96
98
  "aria-hidden": "true"
97
99
  }),
98
100
  /* @__PURE__ */ a("span", {
99
- class: l("rv-resource-picker__details", x?.details),
100
- children: /* @__PURE__ */ a("strong", { children: D.label })
101
+ class: d("rv-resource-picker__details", S?.details),
102
+ children: /* @__PURE__ */ a("strong", { children: O.label })
101
103
  })
102
104
  ]
103
- }) : null, h.length === 0 ? /* @__PURE__ */ a(_, {
104
- className: x?.muted,
105
- text: y.emptyResources
106
- }) : J.length === 0 ? /* @__PURE__ */ a(_, {
107
- className: x?.muted,
108
- text: y.emptySearch
109
- }) : J.map((e, t) => /* @__PURE__ */ a(p, {
105
+ }) : null, g.length === 0 ? /* @__PURE__ */ a(v, {
106
+ className: S?.muted,
107
+ text: b.emptyResources
108
+ }) : J.length === 0 ? /* @__PURE__ */ a(v, {
109
+ className: S?.muted,
110
+ text: b.emptySearch
111
+ }) : J.map((e, t) => /* @__PURE__ */ a(ee, {
110
112
  resource: e,
111
- selected: K.has(d(e.id)),
112
- selectedResourceIds: v,
113
- disabled: S,
114
- readOnly: C,
115
- multiple: T,
116
- resourceDataAttribute: O,
117
- classNames: x,
113
+ selected: K.has(p(e.id)),
114
+ selectedResourceIds: y,
115
+ disabled: C,
116
+ readOnly: w,
117
+ multiple: E,
118
+ resourceDataAttribute: te,
119
+ classNames: S,
118
120
  isResourceDisabled: k,
119
121
  getAvatarColor: A,
120
122
  optionId: R ? `${I}-option-${t}` : void 0,
@@ -123,12 +125,12 @@ function h({ resources: h, selectedResourceIds: v, text: y, onChange: b, classNa
123
125
  F.current = !1, W(t);
124
126
  },
125
127
  onChange: Z
126
- }, d(e.id)))]
128
+ }, p(e.id)))]
127
129
  })]
128
130
  });
129
131
  return /* @__PURE__ */ a("div", {
130
132
  ref: j,
131
- class: l("rv-resource-picker", R ? "rv-resource-picker--dropdown" : void 0, z ? "rv-resource-picker--open" : void 0, x?.root),
133
+ class: d("rv-resource-picker", R ? "rv-resource-picker--dropdown" : void 0, z ? "rv-resource-picker--open" : void 0, S?.root),
132
134
  children: [R ? /* @__PURE__ */ a("div", {
133
135
  ref: M,
134
136
  class: "rv-resource-picker__control",
@@ -136,51 +138,51 @@ function h({ resources: h, selectedResourceIds: v, text: y, onChange: b, classNa
136
138
  "aria-expanded": z,
137
139
  "aria-controls": I,
138
140
  "aria-haspopup": "listbox",
139
- "aria-label": y.groupAriaLabel,
140
- tabIndex: S ? -1 : 0,
141
+ "aria-label": b.groupAriaLabel,
142
+ tabIndex: C ? -1 : 0,
141
143
  onClick: (e) => {
142
- S || (e.preventDefault(), z ? G() : B(!0));
144
+ C || (e.preventDefault(), z ? G() : B(!0));
143
145
  },
144
146
  onKeyDown: (e) => {
145
- S || e.target !== e.currentTarget || (e.key === "Enter" || e.key === " " || e.key === "ArrowDown") && (e.preventDefault(), B(!0));
147
+ C || e.target !== e.currentTarget || (e.key === "Enter" || e.key === " " || e.key === "ArrowDown") && (e.preventDefault(), B(!0));
146
148
  },
147
149
  children: [/* @__PURE__ */ a("div", {
148
150
  class: "rv-resource-picker__chips",
149
151
  children: Y.length ? Y.map((e) => /* @__PURE__ */ a("span", {
150
152
  class: "rv-resource-picker__chip",
151
153
  children: [
152
- /* @__PURE__ */ a(f, {
154
+ /* @__PURE__ */ a(m, {
153
155
  resource: e,
154
- className: x?.avatar,
156
+ className: S?.avatar,
155
157
  color: A?.(e)
156
158
  }),
157
159
  /* @__PURE__ */ a("span", {
158
160
  class: "rv-resource-picker__chip-label",
159
161
  children: e.name
160
162
  }),
161
- !S && !C ? /* @__PURE__ */ a("button", {
163
+ !C && !w ? /* @__PURE__ */ a("button", {
162
164
  type: "button",
163
165
  class: "rv-resource-picker__chip-remove",
164
166
  "aria-label": `Remove ${e.name}`,
165
167
  onClick: (t) => {
166
- t.stopPropagation(), b(v.filter((t) => d(t) !== d(e.id)));
168
+ t.stopPropagation(), x(y.filter((t) => p(t) !== p(e.id)));
167
169
  },
168
170
  children: /* @__PURE__ */ a("span", {
169
171
  "aria-hidden": "true",
170
- dangerouslySetInnerHTML: { __html: ee }
172
+ dangerouslySetInnerHTML: { __html: l }
171
173
  })
172
174
  }) : null
173
175
  ]
174
- }, d(e.id))) : /* @__PURE__ */ a("span", {
176
+ }, p(e.id))) : /* @__PURE__ */ a("span", {
175
177
  class: "rv-resource-picker__placeholder",
176
- children: y.searchPlaceholder
178
+ children: b.searchPlaceholder
177
179
  })
178
180
  }), /* @__PURE__ */ a("span", {
179
181
  class: "rv-resource-picker__chevron",
180
182
  "aria-hidden": "true",
181
- dangerouslySetInnerHTML: { __html: s }
183
+ dangerouslySetInnerHTML: { __html: c }
182
184
  })]
183
- }) : null, R ? z && Q ? /* @__PURE__ */ a(m, {
185
+ }) : null, R ? z && Q ? /* @__PURE__ */ a(h, {
184
186
  triggerRef: M,
185
187
  portalTarget: Q,
186
188
  popupId: L,
@@ -188,14 +190,14 @@ function h({ resources: h, selectedResourceIds: v, text: y, onChange: b, classNa
188
190
  }) : null : $]
189
191
  });
190
192
  }
191
- function g(e) {
192
- return [...new Map(e.map((e) => [d(e), e])).values()];
193
+ function _(e) {
194
+ return [...new Map(e.map((e) => [p(e), e])).values()];
193
195
  }
194
- function _({ className: e, text: t }) {
196
+ function v({ className: e, text: t }) {
195
197
  return /* @__PURE__ */ a("span", {
196
- class: l("rv-resource-picker__empty", e),
198
+ class: d("rv-resource-picker__empty", e),
197
199
  children: t
198
200
  });
199
201
  }
200
202
  //#endregion
201
- export { h as SharedResourcePicker };
203
+ export { g as SharedResourcePicker };