@revolist/ui 4.0.1-rc → 4.0.3-rc

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 (288) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +345 -262
  3. package/_chunks/calendar-xpZ0v3xf.js +258 -0
  4. package/_chunks/chart-frame-Cmc7xU1i.js +130 -0
  5. package/_chunks/choice-chips-CHQTUdLs.js +110 -0
  6. package/_chunks/clock-BOhPNlW3.js +4 -0
  7. package/_chunks/{color-palette-BmZ7kH9R.js → color-palette-D8vyPfld.js} +41 -41
  8. package/_chunks/color-picker-CudqPYZo.js +138 -0
  9. package/_chunks/component-C_T2VN5u.js +863 -0
  10. package/_chunks/{component-metadata-BENbgTjU.js → component-metadata-BMOOmqx5.js} +0 -4
  11. package/_chunks/control-AHKXD5Eu.js +93 -0
  12. package/_chunks/{control-tooltip-BCNzQCXE.js → control-tooltip-uscKfAnV.js} +29 -29
  13. package/_chunks/{controller-CmLo-Ajc.js → controller-hRBm_Lfz.js} +15 -15
  14. package/_chunks/{controls-NEL5tDaz.js → controls-DsNi8V8I.js} +229 -214
  15. package/_chunks/{date-control-CYCkb1aQ.js → date-control-DrVFX13g.js} +21 -21
  16. package/_chunks/date-time-qIhp5vaX.js +768 -0
  17. package/_chunks/{delete-button-DnpmDNEJ.js → delete-button-CW9vjLnk.js} +7 -7
  18. package/_chunks/dialog.parts-CKGkC5zP.js +134 -0
  19. package/_chunks/duration-CL68Em0o.js +272 -0
  20. package/_chunks/editor-commit-Bq3wSgvr.js +12 -0
  21. package/_chunks/{editor-popup-B7fu_A_T.js → editor-popup-WDdtVDNA.js} +8 -8
  22. package/_chunks/field-context-D57PnBbH.js +5 -0
  23. package/_chunks/framework-mount--RTLIqE-.js +54 -0
  24. package/_chunks/history-controls-B3u3INEK.js +27 -0
  25. package/_chunks/hooks.module-CG3gN83z.js +157 -0
  26. package/_chunks/jsxRuntime.module-F6UFnpT-.js +30 -0
  27. package/_chunks/mount-DQ1cpppK.js +257 -0
  28. package/_chunks/native-control-C_yok8_-.js +605 -0
  29. package/_chunks/native.view-ByyZ1CT5.js +32 -0
  30. package/_chunks/{number-input-NnH57J4j.js → number-input-BKwA5FnM.js} +89 -89
  31. package/_chunks/picker-h1P5RUgp.js +122 -0
  32. package/_chunks/popup-CT2uD3go.js +367 -0
  33. package/_chunks/preact.module-BBM36DnO.js +290 -0
  34. package/_chunks/{rating-choice-CWAsNQNS.js → rating-choice-DZgmaic0.js} +10 -10
  35. package/_chunks/render-m5eMMwFR.js +83 -0
  36. package/_chunks/reorder-list-CSlqAGHw.js +59 -0
  37. package/_chunks/request-trail-DSlFix6i.js +618 -0
  38. package/_chunks/rich-text-CH7gIqOS.js +636 -0
  39. package/_chunks/rotate-right-Iha5ScJ1.js +4 -0
  40. package/_form.scss +1 -1
  41. package/_vendor/preact/LICENSE +21 -0
  42. package/_vendor/preact/compat/src/index.d.ts +353 -0
  43. package/_vendor/preact/compat/src/suspense-list.d.ts +16 -0
  44. package/_vendor/preact/compat/src/suspense.d.ts +19 -0
  45. package/_vendor/preact/hooks/src/index.d.ts +145 -0
  46. package/_vendor/preact/src/dom.d.ts +2548 -0
  47. package/_vendor/preact/src/index.d.ts +373 -0
  48. package/_vendor/preact/src/jsx.d.ts +2958 -0
  49. package/activity-message.d.ts +1 -1
  50. package/activity-message.js +16 -16
  51. package/ai/_chat.scss +195 -0
  52. package/ai/_style.scss +105 -34
  53. package/ai/chat.d.ts +63 -0
  54. package/ai/components.d.ts +20 -4
  55. package/ai/index.d.ts +2 -0
  56. package/ai/index.js +3 -3
  57. package/ai/mount.d.ts +30 -1
  58. package/ai/prompt-history.d.ts +13 -0
  59. package/ai/request-trail.d.ts +1 -1
  60. package/ai/transcript.d.ts +25 -0
  61. package/ai/translation-context.d.ts +1 -1
  62. package/ai/translations.d.ts +1 -1
  63. package/alert.d.ts +2 -2
  64. package/angular/angular.js +0 -3
  65. package/assignee/field.d.ts +2 -2
  66. package/assignee/index.js +86 -87
  67. package/assignee/layout.d.ts +2 -2
  68. package/assignee/picker.d.ts +1 -1
  69. package/avatar/index.js +25 -25
  70. package/avatar/index.view.d.ts +1 -1
  71. package/brush-range/component.d.ts +1 -1
  72. package/brush-range/component.js +30 -30
  73. package/buttons/delete-button.d.ts +2 -1
  74. package/buttons/delete-button.js +1 -1
  75. package/buttons/remove-button.d.ts +1 -1
  76. package/buttons/remove-button.js +3 -3
  77. package/buttons/svg-button.d.ts +2 -1
  78. package/buttons/svg-button.js +35 -35
  79. package/calendar/_calendar.scss +7 -2
  80. package/calendar/calendar.d.ts +1 -1
  81. package/calendar/calendar.js +1 -1
  82. package/calendar/caption.d.ts +1 -1
  83. package/calendar/day.d.ts +1 -1
  84. package/calendar/day.js +4 -4
  85. package/calendar/header.d.ts +1 -1
  86. package/calendar/header.js +35 -35
  87. package/calendar/index.js +2 -2
  88. package/calendar/month-grid.d.ts +1 -1
  89. package/calendar/month-grid.js +37 -37
  90. package/calendar/picker.d.ts +1 -1
  91. package/calendar/types.d.ts +1 -1
  92. package/calendar/year-grid.d.ts +1 -1
  93. package/calendar/year-grid.js +12 -12
  94. package/checkbox/index.d.ts +2 -2
  95. package/checkbox/index.js +9 -9
  96. package/choice-chips/index.d.ts +1 -1
  97. package/choice-chips/index.js +1 -1
  98. package/color-palette/color-palette.d.ts +1 -1
  99. package/color-palette/color-palette.js +1 -1
  100. package/color-palette/color-picker.d.ts +1 -1
  101. package/color-palette/color-picker.js +2 -2
  102. package/component-catalog.d.ts +34 -23
  103. package/control-attributes.js +7 -7
  104. package/control-presentation.js +18 -18
  105. package/controls.d.ts +12 -10
  106. package/controls.js +3 -3
  107. package/core/editor-commit.d.ts +1 -1
  108. package/core/editor-popup.d.ts +1 -1
  109. package/core/editor-popup.js +1 -1
  110. package/date-time/date-control.d.ts +1 -1
  111. package/date-time/field.d.ts +2 -2
  112. package/date-time/index.js +1 -1
  113. package/date-time/picker.d.ts +1 -1
  114. package/date-time/style.scss +4 -4
  115. package/date-time/time-control.d.ts +1 -1
  116. package/date-time/time-selection.d.ts +1 -1
  117. package/date-time/types.d.ts +1 -1
  118. package/dialog/dialog-action-footer.view.d.ts +1 -1
  119. package/dialog/dialog.dom.js +52 -52
  120. package/dialog/dialog.parts.d.ts +18 -18
  121. package/dialog/dialog.parts.js +1 -1
  122. package/dialog/dialog.preact.d.ts +1 -1
  123. package/dialog/dialog.preact.js +6 -6
  124. package/distribution-chart/area-chart.d.ts +1 -1
  125. package/distribution-chart/area-chart.js +25 -25
  126. package/distribution-chart/bar-chart.d.ts +6 -3
  127. package/distribution-chart/bar-chart.js +10 -6
  128. package/distribution-chart/chart-frame.d.ts +3 -2
  129. package/distribution-chart/index.d.ts +1 -1
  130. package/distribution-chart/index.js +6 -6
  131. package/distribution-chart/line-chart.d.ts +1 -1
  132. package/distribution-chart/line-chart.js +9 -9
  133. package/distribution-chart/types.d.ts +1 -1
  134. package/dropdown/content.d.ts +3 -2
  135. package/dropdown/content.js +1 -141
  136. package/dropdown/control.d.ts +14 -0
  137. package/dropdown/control.js +1 -0
  138. package/dropdown/control.view.d.ts +6 -0
  139. package/dropdown/dropdown.service.d.ts +1 -1
  140. package/dropdown/dropdown.service.js +9 -9
  141. package/dropdown/dropdown.types.d.ts +4 -0
  142. package/dropdown/editor-dropdown.style.scss +37 -9
  143. package/dropdown/index.d.ts +1 -1
  144. package/dropdown/index.js +3 -4
  145. package/dropdown/lookup-field.d.ts +1 -1
  146. package/dropdown/lookup-field.js +41 -41
  147. package/dropdown/popup.d.ts +1 -1
  148. package/dropdown/popup.js +1 -140
  149. package/duration/controls.d.ts +1 -1
  150. package/duration/index.d.ts +2 -2
  151. package/duration/index.js +1 -1
  152. package/duration/style.scss +1 -1
  153. package/editor-actions.d.ts +1 -1
  154. package/editor-actions.js +21 -20
  155. package/editor-layout/index.d.ts +1 -1
  156. package/editor-layout/index.js +27 -27
  157. package/field-configurator.d.ts +1 -1
  158. package/field-configurator.js +93 -93
  159. package/field-reorder.hook.js +32 -32
  160. package/fieldset.d.ts +3 -0
  161. package/filter/filters/slider/preact.js +3 -3
  162. package/filter/filters/slider/single.d.ts +1 -1
  163. package/filter/filters/slider/single.js +23 -23
  164. package/filter-badge.d.ts +1 -1
  165. package/filter-badge.js +23 -22
  166. package/filter-controls.d.ts +1 -1
  167. package/filter-controls.js +30 -30
  168. package/form-controls/field-context.d.ts +5 -0
  169. package/form-controls/index.js +16 -21
  170. package/form-controls/index.view.d.ts +2 -4
  171. package/form-controls/presentation.d.ts +1 -1
  172. package/form-controls/presentation.js +59 -51
  173. package/formatting/comparison-preview.d.ts +1 -1
  174. package/formatting/control-tooltip.d.ts +1 -1
  175. package/formatting/icon-controls.d.ts +1 -1
  176. package/formatting/index.js +105 -100
  177. package/formatting/inspector-section.d.ts +1 -1
  178. package/formatting/typography-controls.d.ts +1 -1
  179. package/framework-mount.d.ts +1 -1
  180. package/framework.js +215 -207
  181. package/history-controls.d.ts +14 -0
  182. package/history-controls.js +1 -0
  183. package/icons/icon.d.ts +1 -1
  184. package/icons/icon.js +1 -1
  185. package/legend.d.ts +1 -1
  186. package/legend.js +12 -12
  187. package/masked-input/index.d.ts +1 -1
  188. package/masked-input/index.js +109 -109
  189. package/native-control.d.ts +14 -12
  190. package/native-control.js +3 -26
  191. package/native-styles.css +1 -1
  192. package/native.js +40 -39
  193. package/number-input/index.d.ts +1 -1
  194. package/number-input/index.js +1 -1
  195. package/package.json +18 -14
  196. package/pagination.d.ts +3 -0
  197. package/pagination.js +43 -33
  198. package/pdf-viewer/component.d.ts +1 -1
  199. package/pdf-viewer/controller.js +1 -1
  200. package/pdf-viewer/header.d.ts +1 -1
  201. package/pdf-viewer/index.js +13 -13
  202. package/pdf-viewer/search-bar.d.ts +1 -1
  203. package/pdf-viewer/status.d.ts +1 -1
  204. package/pdf-viewer/style.scss +3 -4
  205. package/pdf-viewer/toolbar.d.ts +1 -1
  206. package/pickers.d.ts +1 -1
  207. package/preact-mount.d.ts +1 -1
  208. package/preact-mount.js +1 -1
  209. package/preact.d.ts +2 -0
  210. package/preact.js +62 -62
  211. package/rating-choice.d.ts +1 -1
  212. package/rating-choice.js +1 -1
  213. package/react-adapter.d.ts +1 -1
  214. package/react-control.d.ts +0 -1
  215. package/react-control.js +2 -2
  216. package/react.d.ts +13 -3
  217. package/react.js +71 -88
  218. package/reorder-list.d.ts +1 -1
  219. package/reorder-list.js +1 -1
  220. package/resource-picker/resource-picker-avatar.d.ts +1 -1
  221. package/resource-picker/resource-picker-avatar.js +14 -14
  222. package/resource-picker/resource-picker-option.d.ts +1 -1
  223. package/resource-picker/resource-picker-option.js +28 -28
  224. package/resource-picker/resource-picker-popup.d.ts +1 -1
  225. package/resource-picker/resource-picker-popup.js +3 -3
  226. package/resource-picker/resource-picker.d.ts +1 -1
  227. package/resource-picker/resource-picker.js +88 -88
  228. package/resource-picker/resource-picker.scss +6 -3
  229. package/rich-text/engine.d.ts +16 -19
  230. package/rich-text/index.d.ts +7 -7
  231. package/rich-text/index.js +1 -1
  232. package/rich-text/model.d.ts +4 -3
  233. package/rich-text/render-model.d.ts +4 -5
  234. package/rich-text/style.scss +3 -12
  235. package/rich-text/toolbar.d.ts +7 -7
  236. package/rich-text/translations.d.ts +3 -15
  237. package/search-input/index.js +12 -12
  238. package/segmented-switch/index.d.ts +1 -1
  239. package/segmented-switch/index.js +1 -1
  240. package/select.d.ts +20 -0
  241. package/select.js +1 -0
  242. package/status-feedback/exit-snapshot.js +4 -4
  243. package/status-feedback/index.js +2 -2
  244. package/status-feedback/popover.js +10 -10
  245. package/status-feedback/render.d.ts +2 -2
  246. package/status-feedback/render.js +3 -44
  247. package/status-feedback/status-feedback.scss +7 -0
  248. package/status-feedback/types.d.ts +4 -0
  249. package/status-feedback/use-auto-dismiss.d.ts +3 -0
  250. package/styles/_compositions.scss +3 -1
  251. package/styles/_control.scss +12 -4
  252. package/styles/_primitives.scss +9 -8
  253. package/styles.css +1 -1
  254. package/surfaces.js +49 -49
  255. package/svelte/UiComponent.server.js +1 -48
  256. package/svelte/UiComponent.svelte +0 -21
  257. package/svelte.js +33 -68
  258. package/switch/index.js +15 -15
  259. package/time-grid.d.ts +1 -1
  260. package/time-grid.js +58 -58
  261. package/timeline-track/component.d.ts +5 -1
  262. package/timeline-track/index.js +91 -74
  263. package/timeline-track/model.d.ts +9 -0
  264. package/timeline-track/model.js +10 -1
  265. package/ui.css +1 -1
  266. package/vue-adapter.d.ts +1 -1
  267. package/vue.d.ts +138 -119
  268. package/vue.js +150 -174
  269. package/_chunks/calendar-BsDxCYhI.js +0 -248
  270. package/_chunks/chart-frame-BvxbmEU9.js +0 -126
  271. package/_chunks/choice-chips-0HfOnK_4.js +0 -110
  272. package/_chunks/color-picker-BRv-__AM.js +0 -138
  273. package/_chunks/component-D4PH5UZT.js +0 -859
  274. package/_chunks/date-time-DjucJmbc.js +0 -769
  275. package/_chunks/dialog.parts-Dt3KinUz.js +0 -134
  276. package/_chunks/dropdown-CkGQBm1Q.js +0 -357
  277. package/_chunks/duration-BCaktcvz.js +0 -270
  278. package/_chunks/editor-commit-D6Rf5rGz.js +0 -12
  279. package/_chunks/framework-mount-BKIOsvY-.js +0 -54
  280. package/_chunks/mount-0-8opf1j.js +0 -90
  281. package/_chunks/native.view-8q_nwQ7x.js +0 -32
  282. package/_chunks/picker-oazJ7sO_.js +0 -121
  283. package/_chunks/reorder-list-BV3kZXso.js +0 -59
  284. package/_chunks/request-trail-D0oVzdRd.js +0 -347
  285. package/_chunks/rich-text-2Rla349o.js +0 -477
  286. package/react-native-select.d.ts +0 -6
  287. package/rich-text/syntax.d.ts +0 -2
  288. package/vue-native-select.d.ts +0 -9
package/react.js CHANGED
@@ -1,76 +1,73 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "./_chunks/request-trail-D0oVzdRd.js";
2
- import { n as o, t as s } from "./_chunks/rating-choice-CWAsNQNS.js";
3
- import { SvgIcon as c } from "./icons/icon.js";
4
- import { controlAttributes as l } from "./control-attributes.js";
5
- import { Input as u } from "./native-control.js";
6
- import { A as d, C as ee, D as te, E as ne, F as re, I as ie, L as ae, M as oe, N as se, O as ce, P as le, R as ue, S as de, T as fe, _ as pe, a as me, b as he, c as f, d as p, f as m, g as h, h as g, i as _, j as v, k as y, l as b, m as x, n as S, o as C, p as w, r as T, s as E, t as D, u as O, v as k, w as A, x as j, z as M } from "./_chunks/controls-NEL5tDaz.js";
7
- import { t as N } from "./_chunks/control-tooltip-BCNzQCXE.js";
8
- import { SvgButton as P } from "./buttons/svg-button.js";
9
- import { SegmentedSwitch as F } from "./segmented-switch/index.js";
10
- import { EditorList as I, EditorListGroup as L, EditorListItem as R, EditorListItemContent as z, EditorPane as B, EditorSplitLayout as V } from "./editor-layout/index.js";
11
- import { a as ge, c as _e, i as ve, l as ye, n as be, o as xe, r as Se, s as Ce, t as we } from "./_chunks/dialog.parts-Dt3KinUz.js";
12
- import { t as Te } from "./_chunks/delete-button-DnpmDNEJ.js";
13
- import { RemoveButton as Ee } from "./buttons/remove-button.js";
14
- import { t as De } from "./_chunks/color-palette-BmZ7kH9R.js";
15
- import { t as Oe } from "./_chunks/color-picker-BRv-__AM.js";
16
- import { n as ke, r as Ae, t as je } from "./_chunks/choice-chips-0HfOnK_4.js";
17
- import { FilterBadge as Me, FilterBadgeInfoButton as Ne } from "./filter-badge.js";
18
- import { ActivityMessage as Pe } from "./activity-message.js";
19
- import { Checkbox as Fe } from "./checkbox/index.js";
20
- import { Switch as Ie } from "./switch/index.js";
21
- import { SearchInput as Le } from "./search-input/index.js";
22
- import { DisclosureSummary as Re, FilterChip as H, FormField as ze } from "./form-controls/presentation.js";
23
- import { a as Be, i as Ve, r as He } from "./_chunks/date-time-DjucJmbc.js";
24
- import { n as Ue, t as We } from "./_chunks/duration-BCaktcvz.js";
25
- import { CalendarHeader as Ge, CalendarWeekdays as Ke } from "./calendar/header.js";
26
- import { t as qe } from "./_chunks/calendar-BsDxCYhI.js";
27
- import { CalendarDay as Je } from "./calendar/day.js";
28
- import { CalendarMonthGrid as Ye } from "./calendar/month-grid.js";
29
- import { CalendarYearGrid as Xe } from "./calendar/year-grid.js";
30
- import { t as Ze } from "./_chunks/picker-oazJ7sO_.js";
31
- import { ResourcePickerAvatar as Qe } from "./resource-picker/resource-picker-avatar.js";
32
- import { DropdownPopup as $e } from "./dropdown/popup.js";
33
- import { SharedResourcePicker as U } from "./resource-picker/resource-picker.js";
34
- import { t as et } from "./_chunks/dropdown-CkGQBm1Q.js";
35
- import { DropdownPopupContent as tt } from "./dropdown/content.js";
36
- import { PreactRangeSlider as W } from "./filter/filters/slider/preact.js";
37
- import { SingleValueSlider as G, SliderField as nt } from "./filter/filters/slider/single.js";
38
- import { StatusBadge as rt, StatusFeedbackPanel as K } from "./status-feedback/render.js";
39
- import { a as it, c as at, d as ot, f as st, i as ct, l as lt, m as ut, o as dt, p as ft, r as pt, s as mt, t as ht, u as gt } from "./_chunks/component-D4PH5UZT.js";
40
- import { BarChart as _t } from "./distribution-chart/bar-chart.js";
41
- import { LineChart as vt } from "./distribution-chart/line-chart.js";
42
- import { AreaChart as yt } from "./distribution-chart/area-chart.js";
43
- import { DistributionChart as bt } from "./distribution-chart/index.js";
44
- import { BrushRange as xt } from "./brush-range/component.js";
45
- import { Legend as St } from "./legend.js";
46
- import { HighlightedTextInput as Ct, InlineFieldGroup as wt, OptionButton as Tt } from "./filter-controls.js";
47
- import { TimeGrid as Et } from "./time-grid.js";
48
- import { FieldActions as Dt, FieldContent as Ot, FieldDropIndicator as kt, FieldGroup as At, FieldGroupHeading as jt, FieldIcon as Mt, FieldItem as Nt, FieldLibrary as Pt, FieldLibraryList as Ft, FieldList as It, FieldRemoveButton as Lt, FieldRemoveIcon as Rt, FieldRow as zt, FieldStatusBadge as Bt, FieldSummary as Vt, SelectedField as Ht } from "./field-configurator.js";
49
- import { ComparisonPreview as Ut, IconChoiceGroup as Wt, IconToggleButton as Gt, InspectorSection as Kt, TypographyControls as qt } from "./formatting/index.js";
50
- import { n as Jt, t as Yt } from "./_chunks/reorder-list-BV3kZXso.js";
51
- import { TimelineTrack as Xt } from "./timeline-track/index.js";
52
- import { t as Zt } from "./_chunks/number-input-NnH57J4j.js";
53
- import { MaskedDraft as Qt } from "./masked-input/index.js";
54
- import { t as $t } from "./_chunks/rich-text-2Rla349o.js";
55
- import { AssigneeField as en, AssigneePicker as tn, AssigneePickerLayout as nn } from "./assignee/index.js";
56
- import { t as rn } from "./_chunks/framework-mount-BKIOsvY-.js";
57
- import { createElement as q, forwardRef as J, isValidElement as an, useImperativeHandle as on, useLayoutEffect as Y, useRef as X, useState as sn } from "react";
58
- import { createPortal as cn } from "react-dom";
1
+ import { n as e, t } from "./_chunks/rating-choice-DZgmaic0.js";
2
+ import { SvgIcon as n } from "./icons/icon.js";
3
+ import { l as r, n as i, p as a } from "./_chunks/native-control-C_yok8_-.js";
4
+ import { t as o } from "./_chunks/popup-CT2uD3go.js";
5
+ import { t as s } from "./_chunks/delete-button-CW9vjLnk.js";
6
+ import { RemoveButton as c } from "./buttons/remove-button.js";
7
+ import { A as l, C as u, D as d, E as f, F as p, 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, _ as le, a as ue, b as de, c as m, d as h, f as g, g as _, h as v, i as y, j as b, k as x, l as S, m as C, n as w, o as T, p as E, r as D, s as O, t as k, u as A, v as j, w as M, x as N, y as P } from "./_chunks/controls-DsNi8V8I.js";
8
+ import { t as F } from "./_chunks/control-tooltip-uscKfAnV.js";
9
+ import { SvgButton as I } from "./buttons/svg-button.js";
10
+ import { SegmentedSwitch as L } from "./segmented-switch/index.js";
11
+ import { EditorList as R, EditorListGroup as z, EditorListItem as B, EditorListItemContent as V, EditorPane as H, EditorSplitLayout as U } from "./editor-layout/index.js";
12
+ import { a as fe, c as pe, i as me, l as he, n as ge, o as _e, r as ve, s as ye, t as be } from "./_chunks/dialog.parts-CKGkC5zP.js";
13
+ import { _ as xe, a as Se, c as Ce, d as we, f as Te, g as Ee, h as De, i as Oe, l as ke, m as Ae, n as je, o as Me, p as Ne, r as Pe, s as Fe, t as Ie, u as Le } from "./_chunks/request-trail-DSlFix6i.js";
14
+ import { n as W, t as Re } from "./_chunks/render-m5eMMwFR.js";
15
+ import { t as ze } from "./_chunks/color-palette-D8vyPfld.js";
16
+ import { t as Be } from "./_chunks/color-picker-CudqPYZo.js";
17
+ import { n as Ve, r as He, t as Ue } from "./_chunks/choice-chips-CHQTUdLs.js";
18
+ import { FilterBadge as We, FilterBadgeInfoButton as Ge } from "./filter-badge.js";
19
+ import { ActivityMessage as Ke } from "./activity-message.js";
20
+ import { Checkbox as qe } from "./checkbox/index.js";
21
+ import { Switch as Je } from "./switch/index.js";
22
+ import { SearchInput as Ye } from "./search-input/index.js";
23
+ import { DisclosureSummary as Xe, FilterChip as G, FormField as Ze } from "./form-controls/presentation.js";
24
+ import { a as Qe, i as $e, r as et } from "./_chunks/date-time-qIhp5vaX.js";
25
+ import { n as tt, t as nt } from "./_chunks/duration-CL68Em0o.js";
26
+ import { CalendarHeader as rt, CalendarWeekdays as it } from "./calendar/header.js";
27
+ import { t as at } from "./_chunks/calendar-xpZ0v3xf.js";
28
+ import { CalendarDay as ot } from "./calendar/day.js";
29
+ import { CalendarMonthGrid as st } from "./calendar/month-grid.js";
30
+ import { CalendarYearGrid as ct } from "./calendar/year-grid.js";
31
+ import { t as lt } from "./_chunks/picker-h1P5RUgp.js";
32
+ import { ResourcePickerAvatar as ut } from "./resource-picker/resource-picker-avatar.js";
33
+ import { SharedResourcePicker as K } from "./resource-picker/resource-picker.js";
34
+ import { PreactRangeSlider as q } from "./filter/filters/slider/preact.js";
35
+ import { SingleValueSlider as J, SliderField as dt } from "./filter/filters/slider/single.js";
36
+ import { a as ft, c as pt, d as mt, f as ht, i as gt, l as _t, m as vt, o as yt, p as bt, r as xt, s as St, t as Ct, u as wt } from "./_chunks/component-C_T2VN5u.js";
37
+ import { BarChart as Tt } from "./distribution-chart/bar-chart.js";
38
+ import { LineChart as Et } from "./distribution-chart/line-chart.js";
39
+ import { AreaChart as Dt } from "./distribution-chart/area-chart.js";
40
+ import { DistributionChart as Ot } from "./distribution-chart/index.js";
41
+ import { BrushRange as kt } from "./brush-range/component.js";
42
+ import { Legend as At } from "./legend.js";
43
+ import { HighlightedTextInput as jt, InlineFieldGroup as Mt, OptionButton as Nt } from "./filter-controls.js";
44
+ import { TimeGrid as Pt } from "./time-grid.js";
45
+ import { FieldActions as Ft, FieldContent as It, FieldDropIndicator as Lt, FieldGroup as Rt, FieldGroupHeading as zt, FieldIcon as Bt, FieldItem as Vt, FieldLibrary as Ht, FieldLibraryList as Ut, FieldList as Wt, FieldRemoveButton as Gt, FieldRemoveIcon as Kt, FieldRow as qt, FieldStatusBadge as Jt, FieldSummary as Yt, SelectedField as Xt } from "./field-configurator.js";
46
+ import { ComparisonPreview as Zt, IconChoiceGroup as Qt, IconToggleButton as $t, InspectorSection as en, TypographyControls as tn } from "./formatting/index.js";
47
+ import { n as nn, t as rn } from "./_chunks/reorder-list-CSlqAGHw.js";
48
+ import { TimelineTrack as an } from "./timeline-track/index.js";
49
+ import { t as on } from "./_chunks/number-input-BKwA5FnM.js";
50
+ import { MaskedDraft as sn } from "./masked-input/index.js";
51
+ import { t as cn } from "./_chunks/rich-text-CH7gIqOS.js";
52
+ import { AssigneeField as ln, AssigneePicker as un, AssigneePickerLayout as dn } from "./assignee/index.js";
53
+ import { t as fn } from "./_chunks/framework-mount--RTLIqE-.js";
54
+ import { createElement as Y, forwardRef as pn, isValidElement as mn, useImperativeHandle as hn, useLayoutEffect as X, useRef as Z, useState as gn } from "react";
55
+ import { createPortal as _n } from "react-dom";
59
56
  //#region src/react-adapter.ts
60
- var ln = /* @__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(".");
61
- function Z(e, t, n = {}) {
62
- let r = J((r, i) => {
63
- let a = X(null), o = X(null), [s, c] = sn([]);
64
- return on(i, () => ({ element: a.current }), []), Y(() => (c([]), o.current = rn(a.current, c), () => {
57
+ var vn = /* @__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(".");
58
+ function Q(e, t, n = {}) {
59
+ let r = pn((r, i) => {
60
+ let a = Z(null), o = Z(null), [s, c] = gn([]);
61
+ return hn(i, () => ({ element: a.current }), []), X(() => (c([]), o.current = fn(a.current, c), () => {
65
62
  o.current?.destroy(), o.current = null;
66
- }), []), Y(() => {
63
+ }), []), X(() => {
67
64
  o.current?.render(e, r, (e, t) => {
68
65
  let r = /* @__PURE__ */ new Set([
69
- ...ln,
66
+ ...vn,
70
67
  "options",
71
68
  "source"
72
69
  ]), i = (e) => {
73
- if (an(e)) return t(e);
70
+ if (mn(e)) return t(e);
74
71
  if (Array.isArray(e)) {
75
72
  let t = e.map(i);
76
73
  return t.some((t, n) => t !== e[n]) ? t : e;
@@ -86,54 +83,40 @@ function Z(e, t, n = {}) {
86
83
  for (let [r, i] of Object.entries(e)) r.startsWith("render") && typeof i == "function" && (a[r] = (...e) => (n.factoryCallbacks?.includes(r) && (e = e.slice(1), (r === "renderPlaceholder" || r === "renderSelectedValue") && (e = e.slice(0, 1))), t(i(...e))));
87
84
  return a;
88
85
  });
89
- }, [r]), q("div", { style: { display: "contents" } }, q("div", {
86
+ }, [r]), Y("div", { style: { display: "contents" } }, Y("div", {
90
87
  ref: a,
91
88
  style: { display: "contents" },
92
89
  "data-rv-react-host": t
93
- }), ...s.map((e) => cn(e.content, e.element, String(e.id))));
90
+ }), ...s.map((e) => _n(e.content, e.element, String(e.id))));
94
91
  });
95
92
  return r.displayName = `Rv${t}`, r;
96
93
  }
97
94
  //#endregion
98
- //#region src/react-native-select.ts
99
- var Q = J(({ onValueChange: e, onChange: t, ...n }, r) => {
100
- let { class: i, ...a } = l("select", n);
101
- return q("select", {
102
- ...a,
103
- className: i,
104
- ref: r,
105
- onChange: (n) => {
106
- t?.(n), n.defaultPrevented || e?.(n.currentTarget.value);
107
- }
108
- });
109
- });
110
- Q.displayName = "RvNativeSelect";
111
- //#endregion
112
95
  //#region src/react.ts
113
- var un = /* @__PURE__ */ Z(c, "Icon"), dn = /* @__PURE__ */ Z(H, "RemovableChip"), fn = /* @__PURE__ */ Z(G, "Slider"), pn = /* @__PURE__ */ Z(W, "RangeSlider"), mn = /* @__PURE__ */ Z(U, "ResourcePicker"), hn = /* @__PURE__ */ Z(K, "FeedbackPanel"), gn = /* @__PURE__ */ Z(u, "Input"), _n = /* @__PURE__ */ Z(c, "SvgIcon"), vn = /* @__PURE__ */ Z(P, "SvgButton"), yn = /* @__PURE__ */ Z(Te, "DeleteButton"), bn = /* @__PURE__ */ Z(Ee, "RemoveButton"), xn = /* @__PURE__ */ Z(Fe, "Checkbox"), Sn = /* @__PURE__ */ Z(Ie, "Switch"), Cn = /* @__PURE__ */ Z(F, "SegmentedSwitch"), wn = /* @__PURE__ */ Z(Ae, "ChoiceChips"), Tn = /* @__PURE__ */ Z(ke, "ChoiceChipInfoButton"), En = /* @__PURE__ */ Z(je, "ChoiceChip"), Dn = /* @__PURE__ */ Z(Le, "SearchInput"), On = /* @__PURE__ */ Z(H, "FilterChip"), kn = /* @__PURE__ */ Z(ze, "FormField"), An = /* @__PURE__ */ Z(Re, "DisclosureSummary"), jn = /* @__PURE__ */ Z(V, "EditorSplitLayout"), Mn = /* @__PURE__ */ Z(B, "EditorPane"), Nn = /* @__PURE__ */ Z(I, "EditorList"), Pn = /* @__PURE__ */ Z(R, "EditorListItem"), Fn = /* @__PURE__ */ Z(z, "EditorListItemContent"), In = /* @__PURE__ */ Z(L, "EditorListGroup"), Ln = /* @__PURE__ */ Z(qe, "Calendar"), Rn = /* @__PURE__ */ Z(Ge, "CalendarHeader"), zn = /* @__PURE__ */ Z(Ke, "CalendarWeekdays"), Bn = /* @__PURE__ */ Z(Je, "CalendarDay"), Vn = /* @__PURE__ */ Z(Ye, "CalendarMonthGrid"), Hn = /* @__PURE__ */ Z(Xe, "CalendarYearGrid"), $ = /* @__PURE__ */ Z(Ze, "CalendarPicker"), Un = /* @__PURE__ */ Z(U, "SharedResourcePicker"), Wn = /* @__PURE__ */ Z(Qe, "ResourcePickerAvatar"), Gn = /* @__PURE__ */ Z(De, "ColorPalette"), Kn = /* @__PURE__ */ Z(Oe, "ColorPicker"), qn = /* @__PURE__ */ Z(et, "Dropdown", { factoryCallbacks: [
96
+ var yn = /* @__PURE__ */ Q(n, "Icon"), bn = /* @__PURE__ */ Q(G, "RemovableChip"), xn = /* @__PURE__ */ Q(J, "Slider"), Sn = /* @__PURE__ */ Q(q, "RangeSlider"), Cn = /* @__PURE__ */ Q(K, "ResourcePicker"), wn = /* @__PURE__ */ Q(W, "FeedbackPanel"), Tn = /* @__PURE__ */ Q(i, "Input"), En = /* @__PURE__ */ Q(n, "SvgIcon"), Dn = /* @__PURE__ */ Q(I, "SvgButton"), On = /* @__PURE__ */ Q(s, "DeleteButton"), kn = /* @__PURE__ */ Q(c, "RemoveButton"), An = /* @__PURE__ */ Q(qe, "Checkbox"), jn = /* @__PURE__ */ Q(Je, "Switch"), Mn = /* @__PURE__ */ Q(L, "SegmentedSwitch"), Nn = /* @__PURE__ */ Q(He, "ChoiceChips"), Pn = /* @__PURE__ */ Q(Ve, "ChoiceChipInfoButton"), Fn = /* @__PURE__ */ Q(Ue, "ChoiceChip"), $ = /* @__PURE__ */ Q(Ye, "SearchInput"), In = /* @__PURE__ */ Q(G, "FilterChip"), Ln = /* @__PURE__ */ Q(Ze, "FormField"), Rn = /* @__PURE__ */ Q(Xe, "DisclosureSummary"), zn = /* @__PURE__ */ Q(U, "EditorSplitLayout"), Bn = /* @__PURE__ */ Q(H, "EditorPane"), Vn = /* @__PURE__ */ Q(R, "EditorList"), Hn = /* @__PURE__ */ Q(B, "EditorListItem"), Un = /* @__PURE__ */ Q(V, "EditorListItemContent"), Wn = /* @__PURE__ */ Q(z, "EditorListGroup"), Gn = /* @__PURE__ */ Q(at, "Calendar"), Kn = /* @__PURE__ */ Q(rt, "CalendarHeader"), qn = /* @__PURE__ */ Q(it, "CalendarWeekdays"), Jn = /* @__PURE__ */ Q(ot, "CalendarDay"), Yn = /* @__PURE__ */ Q(st, "CalendarMonthGrid"), Xn = /* @__PURE__ */ Q(ct, "CalendarYearGrid"), Zn = /* @__PURE__ */ Q(lt, "CalendarPicker"), Qn = /* @__PURE__ */ Q(K, "SharedResourcePicker"), $n = /* @__PURE__ */ Q(ut, "ResourcePickerAvatar"), er = /* @__PURE__ */ Q(ze, "ColorPalette"), tr = /* @__PURE__ */ Q(Be, "ColorPicker"), nr = /* @__PURE__ */ Q(r, "Dropdown", { factoryCallbacks: [
114
97
  "renderOption",
115
98
  "renderValue",
116
99
  "renderPlaceholder",
117
100
  "renderSelectedValue",
118
101
  "renderNoResults"
119
- ] }), Jn = /* @__PURE__ */ Z($e, "DropdownPopup"), Yn = /* @__PURE__ */ Z(tt, "DropdownPopupContent", { factoryCallbacks: [
102
+ ] }), rr = /* @__PURE__ */ Q(o, "DropdownPopup"), ir = /* @__PURE__ */ Q(a, "DropdownPopupContent", { factoryCallbacks: [
120
103
  "renderOption",
121
104
  "renderValue",
122
105
  "renderPlaceholder",
123
106
  "renderSelectedValue",
124
107
  "renderNoResults"
125
- ] }), Xn = /* @__PURE__ */ Z(W, "PreactRangeSlider"), Zn = /* @__PURE__ */ Z(G, "SingleValueSlider"), Qn = /* @__PURE__ */ Z(nt, "SliderField"), $n = /* @__PURE__ */ Z(x, "IconButton"), er = /* @__PURE__ */ Z(re, "ToggleButton"), tr = /* @__PURE__ */ Z(T, "ButtonGroup"), nr = /* @__PURE__ */ Z(te, "SegmentedControl"), rr = /* @__PURE__ */ Z(v, "Tabs"), ir = /* @__PURE__ */ Z(d, "TabPanel"), ar = /* @__PURE__ */ Z(A, "RadioGroup"), or = /* @__PURE__ */ Z(oe, "TextInput"), sr = /* @__PURE__ */ Z(se, "Textarea"), cr = /* @__PURE__ */ Z(he, "NumberInput"), lr = /* @__PURE__ */ Z(j, "NumberStepper"), ur = /* @__PURE__ */ Z(E, "DateInput"), dr = /* @__PURE__ */ Z(le, "TimeInput"), fr = /* @__PURE__ */ Z(f, "DateTimeInput"), pr = /* @__PURE__ */ Z(_, "Chip"), mr = /* @__PURE__ */ Z(m, "FieldHint"), hr = /* @__PURE__ */ Z(p, "FieldError"), gr = /* @__PURE__ */ Z(w, "FormSection"), _r = /* @__PURE__ */ Z(b, "Disclosure"), vr = /* @__PURE__ */ Z(ee, "Panel"), yr = /* @__PURE__ */ Z(ie, "Toolbar"), br = /* @__PURE__ */ Z(ae, "ToolbarGroup"), xr = /* @__PURE__ */ Z(ue, "ToolbarSeparator"), Sr = /* @__PURE__ */ Z(D, "Badge"), Cr = /* @__PURE__ */ Z(C, "CountBadge"), wr = /* @__PURE__ */ Z(ce, "Spinner"), Tr = /* @__PURE__ */ Z(g, "LoadingOverlay"), Er = /* @__PURE__ */ Z(O, "EmptyState"), Dr = /* @__PURE__ */ Z(h, "Menu"), Or = /* @__PURE__ */ Z(pe, "MenuItem"), kr = /* @__PURE__ */ Z(k, "MenuSeparator"), Ar = /* @__PURE__ */ Z(y, "Submenu"), jr = /* @__PURE__ */ Z(ne, "ResizeHandle"), Mr = /* @__PURE__ */ Z(de, "Pagination"), Nr = /* @__PURE__ */ Z(me, "CircularProgress"), Pr = /* @__PURE__ */ Z(fe, "Rating"), Fr = /* @__PURE__ */ Z(S, "Button"), Ir = /* @__PURE__ */ Z(B, "Pane"), Lr = /* @__PURE__ */ Z(V, "SplitLayout"), Rr = /* @__PURE__ */ Z(M, "Alert"), zr = /* @__PURE__ */ Z(I, "Listbox"), Br = /* @__PURE__ */ Z(R, "ListboxOption"), Vr = /* @__PURE__ */ Z(L, "ListboxGroup"), Hr = /* @__PURE__ */ Z(z, "ListboxOptionContent"), Ur = /* @__PURE__ */ Z(K, "StatusFeedbackPanel"), Wr = /* @__PURE__ */ Z(rt, "StatusBadge"), Gr = /* @__PURE__ */ Z(dt, "Combobox", { factoryCallbacks: [
108
+ ] }), ar = /* @__PURE__ */ Q(q, "PreactRangeSlider"), or = /* @__PURE__ */ Q(J, "SingleValueSlider"), sr = /* @__PURE__ */ Q(dt, "SliderField"), cr = /* @__PURE__ */ Q(C, "IconButton"), lr = /* @__PURE__ */ Q(ae, "ToggleButton"), ur = /* @__PURE__ */ Q(D, "ButtonGroup"), dr = /* @__PURE__ */ Q(f, "SegmentedControl"), fr = /* @__PURE__ */ Q(l, "Tabs"), pr = /* @__PURE__ */ Q(x, "TabPanel"), mr = /* @__PURE__ */ Q(u, "RadioGroup"), hr = /* @__PURE__ */ Q(b, "TextInput"), gr = /* @__PURE__ */ Q(ne, "Textarea"), _r = /* @__PURE__ */ Q(P, "NumberInput"), vr = /* @__PURE__ */ Q(de, "NumberStepper"), yr = /* @__PURE__ */ Q(O, "DateInput"), br = /* @__PURE__ */ Q(re, "TimeInput"), xr = /* @__PURE__ */ Q(m, "DateTimeInput"), Sr = /* @__PURE__ */ Q(y, "Chip"), Cr = /* @__PURE__ */ Q(g, "FieldHint"), wr = /* @__PURE__ */ Q(h, "FieldError"), Tr = /* @__PURE__ */ Q(E, "FormSection"), Er = /* @__PURE__ */ Q(S, "Disclosure"), Dr = /* @__PURE__ */ Q(se, "Panel"), Or = /* @__PURE__ */ Q(p, "Toolbar"), kr = /* @__PURE__ */ Q(ee, "ToolbarGroup"), Ar = /* @__PURE__ */ Q(te, "ToolbarSeparator"), jr = /* @__PURE__ */ Q(k, "Badge"), Mr = /* @__PURE__ */ Q(T, "CountBadge"), Nr = /* @__PURE__ */ Q(d, "Spinner"), Pr = /* @__PURE__ */ Q(v, "LoadingOverlay"), Fr = /* @__PURE__ */ Q(A, "EmptyState"), Ir = /* @__PURE__ */ Q(_, "Menu"), Lr = /* @__PURE__ */ Q(le, "MenuItem"), Rr = /* @__PURE__ */ Q(j, "MenuSeparator"), zr = /* @__PURE__ */ Q(ie, "Submenu"), Br = /* @__PURE__ */ Q(ce, "ResizeHandle"), Vr = /* @__PURE__ */ Q(N, "Pagination"), Hr = /* @__PURE__ */ Q(ue, "CircularProgress"), Ur = /* @__PURE__ */ Q(M, "Rating"), Wr = /* @__PURE__ */ Q(w, "Button"), Gr = /* @__PURE__ */ Q(H, "Pane"), Kr = /* @__PURE__ */ Q(U, "SplitLayout"), qr = /* @__PURE__ */ Q(oe, "Alert"), Jr = /* @__PURE__ */ Q(R, "Listbox"), Yr = /* @__PURE__ */ Q(B, "ListboxOption"), Xr = /* @__PURE__ */ Q(z, "ListboxGroup"), Zr = /* @__PURE__ */ Q(V, "ListboxOptionContent"), Qr = /* @__PURE__ */ Q(W, "StatusFeedbackPanel"), $r = /* @__PURE__ */ Q(Re, "StatusBadge"), ei = /* @__PURE__ */ Q(yt, "Combobox", { factoryCallbacks: [
126
109
  "renderOption",
127
110
  "renderValue",
128
111
  "renderPlaceholder",
129
112
  "renderSelectedValue",
130
113
  "renderNoResults"
131
- ] }), Kr = /* @__PURE__ */ Z(ot, "MultiSelect", { factoryCallbacks: [
114
+ ] }), ti = /* @__PURE__ */ Q(mt, "MultiSelect", { factoryCallbacks: [
132
115
  "renderOption",
133
116
  "renderValue",
134
117
  "renderPlaceholder",
135
118
  "renderSelectedValue",
136
119
  "renderNoResults"
137
- ] }), qr = /* @__PURE__ */ Z(it, "Avatar"), Jr = /* @__PURE__ */ Z(ft, "ProgressBar"), Yr = /* @__PURE__ */ Z(st, "Popover"), Xr = /* @__PURE__ */ Z(ut, "Tooltip"), Zr = /* @__PURE__ */ Z(gt, "Dialog"), Qr = /* @__PURE__ */ Z(mt, "ConfirmDialog"), $r = /* @__PURE__ */ Z(at, "DatePicker"), ei = /* @__PURE__ */ Z(lt, "DateRangePicker"), ti = /* @__PURE__ */ Z(Ce, "DialogHeader"), ni = /* @__PURE__ */ Z(Se, "DialogBody"), ri = /* @__PURE__ */ Z(ge, "DialogFooter"), ii = /* @__PURE__ */ Z(bt, "DistributionChart"), ai = /* @__PURE__ */ Z(_t, "BarChart"), oi = /* @__PURE__ */ Z(vt, "LineChart"), si = /* @__PURE__ */ Z(yt, "AreaChart"), ci = /* @__PURE__ */ Z(xt, "BrushRange"), li = /* @__PURE__ */ Z(Tt, "OptionButton"), ui = /* @__PURE__ */ Z(Ct, "HighlightedTextInput"), di = /* @__PURE__ */ Z(wt, "InlineFieldGroup"), fi = /* @__PURE__ */ Z(St, "Legend"), pi = /* @__PURE__ */ Z(Et, "TimeGrid"), mi = /* @__PURE__ */ Z(Mt, "FieldIcon"), hi = /* @__PURE__ */ Z(Vt, "FieldSummary"), gi = /* @__PURE__ */ Z(Pt, "FieldLibrary"), _i = /* @__PURE__ */ Z(jt, "FieldGroupHeading"), vi = /* @__PURE__ */ Z(At, "FieldGroup"), yi = /* @__PURE__ */ Z(It, "FieldList"), bi = /* @__PURE__ */ Z(zt, "FieldRow"), xi = /* @__PURE__ */ Z(Ot, "FieldContent"), Si = /* @__PURE__ */ Z(Nt, "FieldItem"), Ci = /* @__PURE__ */ Z(Ft, "FieldLibraryList"), wi = /* @__PURE__ */ Z(Ht, "SelectedField"), Ti = /* @__PURE__ */ Z(Dt, "FieldActions"), Ei = /* @__PURE__ */ Z(Bt, "FieldStatusBadge"), Di = /* @__PURE__ */ Z(Lt, "FieldRemoveButton"), Oi = /* @__PURE__ */ Z(Rt, "FieldRemoveIcon"), ki = /* @__PURE__ */ Z(kt, "FieldDropIndicator"), Ai = /* @__PURE__ */ Z(xe, "DialogForm"), ji = /* @__PURE__ */ Z(ve, "DialogCloseButton"), Mi = /* @__PURE__ */ Z(we, "DialogActionFooter"), Ni = /* @__PURE__ */ Z(be, "DialogActions"), Pi = /* @__PURE__ */ Z(_e, "DialogTitleInput"), Fi = /* @__PURE__ */ Z(ye, "EditableDialogHeader"), Ii = /* @__PURE__ */ Z(N, "ControlTooltip"), Li = /* @__PURE__ */ Z(Kt, "InspectorSection"), Ri = /* @__PURE__ */ Z(Wt, "IconChoiceGroup"), zi = /* @__PURE__ */ Z(Gt, "IconToggleButton"), Bi = /* @__PURE__ */ Z(qt, "TypographyControls"), Vi = /* @__PURE__ */ Z(Ut, "ComparisonPreview"), Hi = /* @__PURE__ */ Z(Ne, "FilterBadgeInfoButton"), Ui = /* @__PURE__ */ Z(Me, "FilterBadge"), Wi = /* @__PURE__ */ Z(o, "RatingStar"), Gi = /* @__PURE__ */ Z(s, "RatingChoice"), Ki = /* @__PURE__ */ Z(Jt, "ReorderList"), qi = /* @__PURE__ */ Z(Yt, "ReorderHandle"), Ji = /* @__PURE__ */ Z(Xt, "TimelineTrack"), Yi = /* @__PURE__ */ Z(Pe, "ActivityMessage"), Xi = /* @__PURE__ */ Z(Zt, "NumberDraft"), Zi = /* @__PURE__ */ Z(Qt, "MaskedDraft"), Qi = /* @__PURE__ */ Z(Ue, "DurationField"), $i = /* @__PURE__ */ Z(We, "DurationDraft"), ea = /* @__PURE__ */ Z($t, "MarkdownEditor"), ta = /* @__PURE__ */ Z(Be, "TemporalPicker"), na = /* @__PURE__ */ Z(Ve, "TemporalDraft"), ra = /* @__PURE__ */ Z(He, "DateTimeField"), ia = /* @__PURE__ */ Z(tn, "AssigneePicker"), aa = /* @__PURE__ */ Z(en, "AssigneeField"), oa = /* @__PURE__ */ Z(nn, "AssigneePickerLayout"), sa = /* @__PURE__ */ Z(t, "AiPromptInput"), ca = /* @__PURE__ */ Z(r, "AiSuggestions"), la = /* @__PURE__ */ Z(n, "AiActionStatus"), ua = /* @__PURE__ */ Z(e, "AiResult"), da = /* @__PURE__ */ Z(i, "AiAssistant"), fa = /* @__PURE__ */ Z(a, "AiRequestTrail"), pa = /* @__PURE__ */ Z(ht, "PdfViewer"), ma = /* @__PURE__ */ Z(pt, "PdfViewerToolbar");
120
+ ] }), ni = /* @__PURE__ */ Q(ft, "Avatar"), ri = /* @__PURE__ */ Q(bt, "ProgressBar"), ii = /* @__PURE__ */ Q(ht, "Popover"), ai = /* @__PURE__ */ Q(vt, "Tooltip"), oi = /* @__PURE__ */ Q(wt, "Dialog"), si = /* @__PURE__ */ Q(St, "ConfirmDialog"), ci = /* @__PURE__ */ Q(pt, "DatePicker"), li = /* @__PURE__ */ Q(_t, "DateRangePicker"), ui = /* @__PURE__ */ Q(ye, "DialogHeader"), di = /* @__PURE__ */ Q(ve, "DialogBody"), fi = /* @__PURE__ */ Q(fe, "DialogFooter"), pi = /* @__PURE__ */ Q(Ot, "DistributionChart"), mi = /* @__PURE__ */ Q(Tt, "BarChart"), hi = /* @__PURE__ */ Q(Et, "LineChart"), gi = /* @__PURE__ */ Q(Dt, "AreaChart"), _i = /* @__PURE__ */ Q(kt, "BrushRange"), vi = /* @__PURE__ */ Q(Nt, "OptionButton"), yi = /* @__PURE__ */ Q(jt, "HighlightedTextInput"), bi = /* @__PURE__ */ Q(Mt, "InlineFieldGroup"), xi = /* @__PURE__ */ Q(At, "Legend"), Si = /* @__PURE__ */ Q(Pt, "TimeGrid"), Ci = /* @__PURE__ */ Q(Bt, "FieldIcon"), wi = /* @__PURE__ */ Q(Yt, "FieldSummary"), Ti = /* @__PURE__ */ Q(Ht, "FieldLibrary"), Ei = /* @__PURE__ */ Q(zt, "FieldGroupHeading"), Di = /* @__PURE__ */ Q(Rt, "FieldGroup"), Oi = /* @__PURE__ */ Q(Wt, "FieldList"), ki = /* @__PURE__ */ Q(qt, "FieldRow"), Ai = /* @__PURE__ */ Q(It, "FieldContent"), ji = /* @__PURE__ */ Q(Vt, "FieldItem"), Mi = /* @__PURE__ */ Q(Ut, "FieldLibraryList"), Ni = /* @__PURE__ */ Q(Xt, "SelectedField"), Pi = /* @__PURE__ */ Q(Ft, "FieldActions"), Fi = /* @__PURE__ */ Q(Jt, "FieldStatusBadge"), Ii = /* @__PURE__ */ Q(Gt, "FieldRemoveButton"), Li = /* @__PURE__ */ Q(Kt, "FieldRemoveIcon"), Ri = /* @__PURE__ */ Q(Lt, "FieldDropIndicator"), zi = /* @__PURE__ */ Q(_e, "DialogForm"), Bi = /* @__PURE__ */ Q(me, "DialogCloseButton"), Vi = /* @__PURE__ */ Q(be, "DialogActionFooter"), Hi = /* @__PURE__ */ Q(ge, "DialogActions"), Ui = /* @__PURE__ */ Q(pe, "DialogTitleInput"), Wi = /* @__PURE__ */ Q(he, "EditableDialogHeader"), Gi = /* @__PURE__ */ Q(F, "ControlTooltip"), Ki = /* @__PURE__ */ Q(en, "InspectorSection"), qi = /* @__PURE__ */ Q(Qt, "IconChoiceGroup"), Ji = /* @__PURE__ */ Q($t, "IconToggleButton"), Yi = /* @__PURE__ */ Q(tn, "TypographyControls"), Xi = /* @__PURE__ */ Q(Zt, "ComparisonPreview"), Zi = /* @__PURE__ */ Q(Ge, "FilterBadgeInfoButton"), Qi = /* @__PURE__ */ Q(We, "FilterBadge"), $i = /* @__PURE__ */ Q(e, "RatingStar"), ea = /* @__PURE__ */ Q(t, "RatingChoice"), ta = /* @__PURE__ */ Q(nn, "ReorderList"), na = /* @__PURE__ */ Q(rn, "ReorderHandle"), ra = /* @__PURE__ */ Q(an, "TimelineTrack"), ia = /* @__PURE__ */ Q(Ke, "ActivityMessage"), aa = /* @__PURE__ */ Q(on, "NumberDraft"), oa = /* @__PURE__ */ Q(sn, "MaskedDraft"), sa = /* @__PURE__ */ Q(tt, "DurationField"), ca = /* @__PURE__ */ Q(nt, "DurationDraft"), la = /* @__PURE__ */ Q(cn, "HtmlEditor"), ua = /* @__PURE__ */ Q(Qe, "TemporalPicker"), da = /* @__PURE__ */ Q($e, "TemporalDraft"), fa = /* @__PURE__ */ Q(et, "DateTimeField"), pa = /* @__PURE__ */ Q(un, "AssigneePicker"), ma = /* @__PURE__ */ Q(ln, "AssigneeField"), ha = /* @__PURE__ */ Q(dn, "AssigneePickerLayout"), ga = /* @__PURE__ */ Q(De, "AiPromptInput"), _a = /* @__PURE__ */ Q(xe, "AiSuggestions"), va = /* @__PURE__ */ Q(Te, "AiActionStatus"), ya = /* @__PURE__ */ Q(Ae, "AiChangePreview"), ba = /* @__PURE__ */ Q(Ee, "AiResult"), xa = /* @__PURE__ */ Q(Ne, "AiAssistant"), Sa = /* @__PURE__ */ Q(Ie, "AiRequestTrail"), Ca = /* @__PURE__ */ Q(Ct, "PdfViewer"), wa = /* @__PURE__ */ Q(xt, "PdfViewerToolbar"), Ta = /* @__PURE__ */ Q(je, "AiChat"), Ea = /* @__PURE__ */ Q(Oe, "AiChatContent"), Da = /* @__PURE__ */ Q(Pe, "AiChatComposer"), Oa = /* @__PURE__ */ Q(Se, "AiChatEmptyState"), ka = /* @__PURE__ */ Q(Me, "AiMessage"), Aa = /* @__PURE__ */ Q(Ce, "AiMessageContent"), ja = /* @__PURE__ */ Q(Fe, "AiMessageActions"), Ma = /* @__PURE__ */ Q(ke, "AiReasoning"), Na = /* @__PURE__ */ Q(Le, "AiTask"), Pa = /* @__PURE__ */ Q(we, "AiTaskItem");
138
121
  //#endregion
139
- export { Yi as ActivityMessage, la as AiActionStatus, da as AiAssistant, sa as AiPromptInput, fa as AiRequestTrail, ua as AiResult, ca as AiSuggestions, Rr as Alert, si as AreaChart, aa as AssigneeField, ia as AssigneePicker, oa as AssigneePickerLayout, qr as Avatar, Sr as Badge, ai as BarChart, ci as BrushRange, Fr as Button, tr as ButtonGroup, Ln as Calendar, Bn as CalendarDay, Rn as CalendarHeader, Vn as CalendarMonthGrid, $ as CalendarPicker, zn as CalendarWeekdays, Hn as CalendarYearGrid, xn as Checkbox, pr as Chip, En as ChoiceChip, Tn as ChoiceChipInfoButton, wn as ChoiceChips, Nr as CircularProgress, Gn as ColorPalette, Kn as ColorPicker, Gr as Combobox, Vi as ComparisonPreview, Qr as ConfirmDialog, Ii as ControlTooltip, Cr as CountBadge, ur as DateInput, $r as DatePicker, ei as DateRangePicker, ra as DateTimeField, fr as DateTimeInput, yn as DeleteButton, Zr as Dialog, Mi as DialogActionFooter, Ni as DialogActions, ni as DialogBody, ji as DialogCloseButton, ri as DialogFooter, Ai as DialogForm, ti as DialogHeader, Pi as DialogTitleInput, _r as Disclosure, An as DisclosureSummary, ii as DistributionChart, qn as Dropdown, Jn as DropdownPopup, Yn as DropdownPopupContent, $i as DurationDraft, Qi as DurationField, Fi as EditableDialogHeader, Nn as EditorList, In as EditorListGroup, Pn as EditorListItem, Fn as EditorListItemContent, Mn as EditorPane, jn as EditorSplitLayout, Er as EmptyState, hn as FeedbackPanel, Ti as FieldActions, xi as FieldContent, ki as FieldDropIndicator, hr as FieldError, vi as FieldGroup, _i as FieldGroupHeading, mr as FieldHint, mi as FieldIcon, Si as FieldItem, gi as FieldLibrary, Ci as FieldLibraryList, yi as FieldList, Di as FieldRemoveButton, Oi as FieldRemoveIcon, bi as FieldRow, Ei as FieldStatusBadge, hi as FieldSummary, Ui as FilterBadge, Hi as FilterBadgeInfoButton, On as FilterChip, kn as FormField, gr as FormSection, ui as HighlightedTextInput, un as Icon, $n as IconButton, Ri as IconChoiceGroup, zi as IconToggleButton, di as InlineFieldGroup, gn as Input, Li as InspectorSection, fi as Legend, oi as LineChart, zr as Listbox, Vr as ListboxGroup, Br as ListboxOption, Hr as ListboxOptionContent, Tr as LoadingOverlay, ea as MarkdownEditor, Zi as MaskedDraft, Dr as Menu, Or as MenuItem, kr as MenuSeparator, Kr as MultiSelect, Q as NativeSelect, Xi as NumberDraft, cr as NumberInput, lr as NumberStepper, li as OptionButton, Mr as Pagination, Ir as Pane, vr as Panel, pa as PdfViewer, ma as PdfViewerToolbar, Yr as Popover, Xn as PreactRangeSlider, Jr as ProgressBar, ar as RadioGroup, pn as RangeSlider, Pr as Rating, Gi as RatingChoice, Wi as RatingStar, dn as RemovableChip, bn as RemoveButton, qi as ReorderHandle, Ki as ReorderList, jr as ResizeHandle, mn as ResourcePicker, Wn as ResourcePickerAvatar, Dn as SearchInput, nr as SegmentedControl, Cn as SegmentedSwitch, wi as SelectedField, Un as SharedResourcePicker, Zn as SingleValueSlider, fn as Slider, Qn as SliderField, wr as Spinner, Lr as SplitLayout, Wr as StatusBadge, Ur as StatusFeedbackPanel, Ar as Submenu, vn as SvgButton, _n as SvgIcon, Sn as Switch, ir as TabPanel, rr as Tabs, na as TemporalDraft, ta as TemporalPicker, or as TextInput, sr as Textarea, pi as TimeGrid, dr as TimeInput, Ji as TimelineTrack, er as ToggleButton, yr as Toolbar, br as ToolbarGroup, xr as ToolbarSeparator, Xr as Tooltip, Bi as TypographyControls, Z as createReactAdapter, ct as defaultPdfViewerText };
122
+ export { ia as ActivityMessage, va as AiActionStatus, xa as AiAssistant, ya as AiChangePreview, Ta as AiChat, Da as AiChatComposer, Ea as AiChatContent, Oa as AiChatEmptyState, ka as AiMessage, ja as AiMessageActions, Aa as AiMessageContent, ga as AiPromptInput, Ma as AiReasoning, Sa as AiRequestTrail, ba as AiResult, _a as AiSuggestions, Na as AiTask, Pa as AiTaskItem, qr as Alert, gi as AreaChart, ma as AssigneeField, pa as AssigneePicker, ha as AssigneePickerLayout, ni as Avatar, jr as Badge, mi as BarChart, _i as BrushRange, Wr as Button, ur as ButtonGroup, Gn as Calendar, Jn as CalendarDay, Kn as CalendarHeader, Yn as CalendarMonthGrid, Zn as CalendarPicker, qn as CalendarWeekdays, Xn as CalendarYearGrid, An as Checkbox, Sr as Chip, Fn as ChoiceChip, Pn as ChoiceChipInfoButton, Nn as ChoiceChips, Hr as CircularProgress, er as ColorPalette, tr as ColorPicker, ei as Combobox, Xi as ComparisonPreview, si as ConfirmDialog, Gi as ControlTooltip, Mr as CountBadge, yr as DateInput, ci as DatePicker, li as DateRangePicker, fa as DateTimeField, xr as DateTimeInput, On as DeleteButton, oi as Dialog, Vi as DialogActionFooter, Hi as DialogActions, di as DialogBody, Bi as DialogCloseButton, fi as DialogFooter, zi as DialogForm, ui as DialogHeader, Ui as DialogTitleInput, Er as Disclosure, Rn as DisclosureSummary, pi as DistributionChart, nr as Dropdown, rr as DropdownPopup, ir as DropdownPopupContent, ca as DurationDraft, sa as DurationField, Wi as EditableDialogHeader, Vn as EditorList, Wn as EditorListGroup, Hn as EditorListItem, Un as EditorListItemContent, Bn as EditorPane, zn as EditorSplitLayout, Fr as EmptyState, wn as FeedbackPanel, Pi as FieldActions, Ai as FieldContent, Ri as FieldDropIndicator, wr as FieldError, Di as FieldGroup, Ei as FieldGroupHeading, Cr as FieldHint, Ci as FieldIcon, ji as FieldItem, Ti as FieldLibrary, Mi as FieldLibraryList, Oi as FieldList, Ii as FieldRemoveButton, Li as FieldRemoveIcon, ki as FieldRow, Fi as FieldStatusBadge, wi as FieldSummary, Qi as FilterBadge, Zi as FilterBadgeInfoButton, In as FilterChip, Ln as FormField, Tr as FormSection, yi as HighlightedTextInput, la as HtmlEditor, yn as Icon, cr as IconButton, qi as IconChoiceGroup, Ji as IconToggleButton, bi as InlineFieldGroup, Tn as Input, Ki as InspectorSection, xi as Legend, hi as LineChart, Jr as Listbox, Xr as ListboxGroup, Yr as ListboxOption, Zr as ListboxOptionContent, Pr as LoadingOverlay, oa as MaskedDraft, Ir as Menu, Lr as MenuItem, Rr as MenuSeparator, ti as MultiSelect, aa as NumberDraft, _r as NumberInput, vr as NumberStepper, vi as OptionButton, Vr as Pagination, Gr as Pane, Dr as Panel, Ca as PdfViewer, wa as PdfViewerToolbar, ii as Popover, ar as PreactRangeSlider, ri as ProgressBar, mr as RadioGroup, Sn as RangeSlider, Ur as Rating, ea as RatingChoice, $i as RatingStar, bn as RemovableChip, kn as RemoveButton, na as ReorderHandle, ta as ReorderList, Br as ResizeHandle, Cn as ResourcePicker, $n as ResourcePickerAvatar, $ as SearchInput, dr as SegmentedControl, Mn as SegmentedSwitch, Ni as SelectedField, Qn as SharedResourcePicker, or as SingleValueSlider, xn as Slider, sr as SliderField, Nr as Spinner, Kr as SplitLayout, $r as StatusBadge, Qr as StatusFeedbackPanel, zr as Submenu, Dn as SvgButton, En as SvgIcon, jn as Switch, pr as TabPanel, fr as Tabs, da as TemporalDraft, ua as TemporalPicker, hr as TextInput, gr as Textarea, Si as TimeGrid, br as TimeInput, ra as TimelineTrack, lr as ToggleButton, Or as Toolbar, kr as ToolbarGroup, Ar as ToolbarSeparator, ai as Tooltip, Yi as TypographyControls, Q as createReactAdapter, gt as defaultPdfViewerText };
package/reorder-list.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { h, ComponentChildren, JSX } from 'preact';
1
+ import { h, ComponentChildren, JSX } from './_vendor/preact/src/index';
2
2
  export interface ReorderListProps<T> {
3
3
  items: readonly T[];
4
4
  itemKey(item: T): string | number;
package/reorder-list.js CHANGED
@@ -1 +1 @@
1
- export { t as ReorderHandle, n as ReorderList } from "./_chunks/reorder-list-BV3kZXso.js";
1
+ export { t as ReorderHandle, n as ReorderList } from "./_chunks/reorder-list-CSlqAGHw.js";
@@ -1,4 +1,4 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { ResourcePickerId, ResourcePickerItem } from './resource-picker.types';
3
3
  export interface ResourcePickerAvatarProps<Id extends ResourcePickerId> {
4
4
  readonly resource: ResourcePickerItem<Id>;
@@ -1,7 +1,7 @@
1
- import { getAvatarInitials as e } from "../avatar/index.js";
2
- import { resourcePickerClasses as t } from "./resource-picker.utils.js";
3
- import { useState as n } from "preact/hooks";
4
- import { jsx as r } from "preact/jsx-runtime";
1
+ import { i as e } from "../_chunks/hooks.module-CG3gN83z.js";
2
+ import { t } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
3
+ import { getAvatarInitials as n } from "../avatar/index.js";
4
+ import { resourcePickerClasses as r } from "./resource-picker.utils.js";
5
5
  //#region src/resource-picker/resource-picker-avatar.tsx
6
6
  var i = [
7
7
  "#22d3ee",
@@ -13,8 +13,8 @@ var i = [
13
13
  "#f97316",
14
14
  "#2dd4bf"
15
15
  ];
16
- function a(t) {
17
- return e(t) || "?";
16
+ function a(e) {
17
+ return n(e) || "?";
18
18
  }
19
19
  function o(e) {
20
20
  return i[[...String(e)].reduce((e, t) => e + t.charCodeAt(0), 0) % i.length];
@@ -33,10 +33,10 @@ function s(e) {
33
33
  ][n] ?? 0), 0);
34
34
  return r <= .179 ? "#fff" : r < .25 ? "#000" : "#0f172a";
35
35
  }
36
- function c({ resource: e, className: i, color: c }) {
37
- let [l, u] = n(), d = e.name.trim() || "Unnamed resource", f = !!e.avatarUrl && l === e.avatarUrl, p = c ?? e.color ?? o(e.id);
38
- return /* @__PURE__ */ r("span", {
39
- class: t("avatar-cell rv-resource-picker__avatar", i),
36
+ function c({ resource: n, className: i, color: c }) {
37
+ let [l, u] = e(), d = n.name.trim() || "Unnamed resource", f = !!n.avatarUrl && l === n.avatarUrl, p = c ?? n.color ?? o(n.id);
38
+ return /* @__PURE__ */ t("span", {
39
+ class: r("avatar-cell rv-resource-picker__avatar", i),
40
40
  style: {
41
41
  "--avatar-cell-background": p,
42
42
  "--avatar-cell-size": "30px",
@@ -44,12 +44,12 @@ function c({ resource: e, className: i, color: c }) {
44
44
  },
45
45
  role: "img",
46
46
  "aria-label": d,
47
- children: e.avatarUrl && !f ? /* @__PURE__ */ r("img", {
47
+ children: n.avatarUrl && !f ? /* @__PURE__ */ t("img", {
48
48
  class: "avatar-cell__image",
49
- src: e.avatarUrl,
49
+ src: n.avatarUrl,
50
50
  alt: d,
51
- onError: () => u(e.avatarUrl)
52
- }) : a(e.name)
51
+ onError: () => u(n.avatarUrl)
52
+ }) : a(n.name)
53
53
  });
54
54
  }
55
55
  //#endregion
@@ -1,4 +1,4 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { ResourcePickerClassNames, ResourcePickerId, ResourcePickerItem } from './resource-picker.types';
3
3
  export interface ResourcePickerOptionProps<Id extends ResourcePickerId, Resource extends ResourcePickerItem<Id>> {
4
4
  readonly resource: Resource;
@@ -1,41 +1,41 @@
1
- import { resourcePickerClasses as e, resourcePickerDataAttribute as t, resourcePickerIdKey as n, uniqueResourcePickerIds as r } from "./resource-picker.utils.js";
2
- import { ResourcePickerAvatar as i } from "./resource-picker-avatar.js";
3
- import { jsx as a, jsxs as o } from "preact/jsx-runtime";
1
+ import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
2
+ import { resourcePickerClasses as t, resourcePickerDataAttribute as n, resourcePickerIdKey as r, uniqueResourcePickerIds as i } from "./resource-picker.utils.js";
3
+ import { ResourcePickerAvatar as a } from "./resource-picker-avatar.js";
4
4
  //#region src/resource-picker/resource-picker-option.tsx
5
- function s({ resource: s, selected: c, selectedResourceIds: l, disabled: u, readOnly: d = !1, multiple: f, resourceDataAttribute: p, classNames: m, isResourceDisabled: h, getAvatarColor: g, optionId: _, focused: v = !1, onFocus: y, onChange: b }) {
6
- let x = h?.(s) === !0;
7
- return /* @__PURE__ */ o("label", {
8
- class: e("rv-resource-picker__option", d ? "rv-resource-picker__option--readonly" : void 0, v ? "rv-resource-picker__option--focused" : void 0, m?.option),
9
- id: d ? _ : void 0,
10
- role: d && _ ? "option" : void 0,
11
- "aria-selected": d && _ ? c : void 0,
12
- "data-selected": c ? "true" : "false",
13
- onMouseEnter: y,
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
+ let b = m?.(o) === !0;
7
+ return /* @__PURE__ */ e("label", {
8
+ class: t("rv-resource-picker__option", u ? "rv-resource-picker__option--readonly" : void 0, _ ? "rv-resource-picker__option--focused" : void 0, p?.option),
9
+ id: u ? g : void 0,
10
+ role: u && g ? "option" : void 0,
11
+ "aria-selected": u && g ? s : void 0,
12
+ "data-selected": s ? "true" : "false",
13
+ onMouseEnter: v,
14
14
  children: [
15
- !d && /* @__PURE__ */ a("input", {
15
+ !u && /* @__PURE__ */ e("input", {
16
16
  type: "checkbox",
17
- id: _,
18
- role: _ ? "option" : void 0,
19
- "aria-selected": _ ? c : void 0,
20
- checked: c,
21
- disabled: u || x && !c,
22
- ...t(p, String(s.id)),
17
+ id: g,
18
+ role: g ? "option" : void 0,
19
+ "aria-selected": g ? s : void 0,
20
+ checked: s,
21
+ disabled: l || b && !s,
22
+ ...n(f, String(o.id)),
23
23
  onChange: (e) => {
24
24
  let t = e.currentTarget;
25
- b(t.checked ? f ? r([...l, s.id]) : [s.id] : l.filter((e) => n(e) !== n(s.id)));
25
+ y(t.checked ? d ? i([...c, o.id]) : [o.id] : c.filter((e) => r(e) !== r(o.id)));
26
26
  }
27
27
  }),
28
- /* @__PURE__ */ a(i, {
29
- resource: s,
30
- className: m?.avatar,
31
- color: g?.(s)
28
+ /* @__PURE__ */ e(a, {
29
+ resource: o,
30
+ className: p?.avatar,
31
+ color: h?.(o)
32
32
  }),
33
- /* @__PURE__ */ o("span", {
34
- class: e("rv-resource-picker__details", m?.details),
35
- children: [/* @__PURE__ */ a("strong", { children: s.name }), s.role ? /* @__PURE__ */ a("em", { children: s.role }) : null]
33
+ /* @__PURE__ */ e("span", {
34
+ class: t("rv-resource-picker__details", p?.details),
35
+ children: [/* @__PURE__ */ e("strong", { children: o.name }), o.role ? /* @__PURE__ */ e("em", { children: o.role }) : null]
36
36
  })
37
37
  ]
38
38
  });
39
39
  }
40
40
  //#endregion
41
- export { s as ResourcePickerOption };
41
+ export { o as ResourcePickerOption };
@@ -1,4 +1,4 @@
1
- import { h, ComponentChildren, RefObject } from 'preact';
1
+ import { h, ComponentChildren, RefObject } from '../_vendor/preact/src/index';
2
2
  type ResourcePickerPopupProps = {
3
3
  readonly triggerRef: RefObject<HTMLDivElement>;
4
4
  readonly portalTarget: HTMLElement;
@@ -1,8 +1,8 @@
1
- import { DropdownPopup as e } from "../dropdown/popup.js";
2
- import { jsx as t } from "preact/jsx-runtime";
1
+ import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
2
+ import { t } from "../_chunks/popup-CT2uD3go.js";
3
3
  //#region src/resource-picker/resource-picker-popup.tsx
4
4
  function n({ triggerRef: n, portalTarget: r, popupId: i, children: a }) {
5
- return /* @__PURE__ */ t(e, {
5
+ return /* @__PURE__ */ e(t, {
6
6
  triggerRef: n,
7
7
  portalTarget: r,
8
8
  dropdownMenuId: i,
@@ -1,3 +1,3 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { ResourcePickerId, ResourcePickerItem, SharedResourcePickerProps } from './resource-picker.types';
3
3
  export declare function SharedResourcePicker<Id extends ResourcePickerId, Resource extends ResourcePickerItem<Id>>({ resources, selectedResourceIds, text, onChange, classNames, disabled, readOnly, presentation, multiple, preserveOrder, unassigned, resourceDataAttribute, isResourceDisabled, getAvatarColor, }: SharedResourcePickerProps<Id, Resource>): h.JSX.Element;