@revolist/ui 4.0.1-rc → 4.0.2-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 (218) hide show
  1. package/README.md +6 -5
  2. package/_chunks/calendar-CpaUK7w1.js +248 -0
  3. package/_chunks/chart-frame-BC99KjGa.js +127 -0
  4. package/_chunks/choice-chips-Cs4D-3nH.js +110 -0
  5. package/_chunks/{color-palette-BmZ7kH9R.js → color-palette-BBMFmUNA.js} +41 -41
  6. package/_chunks/color-picker-D90Jg-M8.js +138 -0
  7. package/_chunks/compat.module-DDB2pm9O.js +229 -0
  8. package/_chunks/component-YDcfoOLz.js +859 -0
  9. package/_chunks/{control-tooltip-BCNzQCXE.js → control-tooltip-ztgmsG7H.js} +29 -29
  10. package/_chunks/{controller-CmLo-Ajc.js → controller-hRBm_Lfz.js} +15 -15
  11. package/_chunks/{controls-NEL5tDaz.js → controls-DIum-E66.js} +192 -192
  12. package/_chunks/{date-control-CYCkb1aQ.js → date-control-BJSzu79z.js} +21 -21
  13. package/_chunks/date-time-BxPJusp9.js +770 -0
  14. package/_chunks/{delete-button-DnpmDNEJ.js → delete-button-Bblyah10.js} +1 -1
  15. package/_chunks/dialog.parts-DBqo3Qwb.js +134 -0
  16. package/_chunks/{dropdown-CkGQBm1Q.js → dropdown-voWqmwAe.js} +102 -102
  17. package/_chunks/duration-87U2EoMS.js +271 -0
  18. package/_chunks/editor-commit-Bq3wSgvr.js +12 -0
  19. package/_chunks/{editor-popup-B7fu_A_T.js → editor-popup-D3JdS8l3.js} +8 -8
  20. package/_chunks/framework-mount-C-Zwm44H.js +54 -0
  21. package/_chunks/hooks.module-CG3gN83z.js +157 -0
  22. package/_chunks/jsxRuntime.module-F6UFnpT-.js +30 -0
  23. package/_chunks/mount-DZe_6VtR.js +90 -0
  24. package/_chunks/native.view-ByyZ1CT5.js +32 -0
  25. package/_chunks/{number-input-NnH57J4j.js → number-input-BeIadZuL.js} +89 -89
  26. package/_chunks/picker-DpP7iQLA.js +122 -0
  27. package/_chunks/preact.module-BBM36DnO.js +290 -0
  28. package/_chunks/{rating-choice-CWAsNQNS.js → rating-choice-Ca8ZBty3.js} +10 -10
  29. package/_chunks/reorder-list-Cc3KmfAN.js +59 -0
  30. package/_chunks/request-trail-IdNiFvKH.js +347 -0
  31. package/_chunks/{rich-text-2Rla349o.js → rich-text-BzI1DyfF.js} +167 -167
  32. package/_vendor/preact/LICENSE +21 -0
  33. package/_vendor/preact/compat/src/index.d.ts +353 -0
  34. package/_vendor/preact/compat/src/suspense-list.d.ts +16 -0
  35. package/_vendor/preact/compat/src/suspense.d.ts +19 -0
  36. package/_vendor/preact/hooks/src/index.d.ts +145 -0
  37. package/_vendor/preact/src/dom.d.ts +2548 -0
  38. package/_vendor/preact/src/index.d.ts +373 -0
  39. package/_vendor/preact/src/jsx.d.ts +2958 -0
  40. package/activity-message.d.ts +1 -1
  41. package/activity-message.js +16 -16
  42. package/ai/components.d.ts +1 -1
  43. package/ai/index.js +2 -2
  44. package/ai/request-trail.d.ts +1 -1
  45. package/ai/translation-context.d.ts +1 -1
  46. package/alert.d.ts +2 -2
  47. package/assignee/field.d.ts +2 -2
  48. package/assignee/index.js +87 -87
  49. package/assignee/layout.d.ts +2 -2
  50. package/assignee/picker.d.ts +1 -1
  51. package/avatar/index.js +25 -25
  52. package/avatar/index.view.d.ts +1 -1
  53. package/brush-range/component.d.ts +1 -1
  54. package/brush-range/component.js +30 -30
  55. package/buttons/delete-button.js +1 -1
  56. package/buttons/remove-button.d.ts +1 -1
  57. package/buttons/remove-button.js +3 -3
  58. package/buttons/svg-button.d.ts +1 -1
  59. package/buttons/svg-button.js +35 -35
  60. package/calendar/calendar.d.ts +1 -1
  61. package/calendar/calendar.js +1 -1
  62. package/calendar/caption.d.ts +1 -1
  63. package/calendar/day.d.ts +1 -1
  64. package/calendar/day.js +4 -4
  65. package/calendar/header.d.ts +1 -1
  66. package/calendar/header.js +35 -35
  67. package/calendar/index.js +2 -2
  68. package/calendar/month-grid.d.ts +1 -1
  69. package/calendar/month-grid.js +37 -37
  70. package/calendar/picker.d.ts +1 -1
  71. package/calendar/types.d.ts +1 -1
  72. package/calendar/year-grid.d.ts +1 -1
  73. package/calendar/year-grid.js +12 -12
  74. package/checkbox/index.d.ts +2 -2
  75. package/checkbox/index.js +9 -9
  76. package/choice-chips/index.d.ts +1 -1
  77. package/choice-chips/index.js +1 -1
  78. package/color-palette/color-palette.d.ts +1 -1
  79. package/color-palette/color-palette.js +1 -1
  80. package/color-palette/color-picker.d.ts +1 -1
  81. package/color-palette/color-picker.js +2 -2
  82. package/component-catalog.d.ts +19 -19
  83. package/control-presentation.js +18 -18
  84. package/controls.d.ts +4 -4
  85. package/controls.js +1 -1
  86. package/core/editor-commit.d.ts +1 -1
  87. package/core/editor-popup.d.ts +1 -1
  88. package/core/editor-popup.js +1 -1
  89. package/date-time/date-control.d.ts +1 -1
  90. package/date-time/field.d.ts +2 -2
  91. package/date-time/index.js +1 -1
  92. package/date-time/picker.d.ts +1 -1
  93. package/date-time/time-control.d.ts +1 -1
  94. package/date-time/time-selection.d.ts +1 -1
  95. package/date-time/types.d.ts +1 -1
  96. package/dialog/dialog-action-footer.view.d.ts +1 -1
  97. package/dialog/dialog.dom.js +52 -52
  98. package/dialog/dialog.parts.d.ts +18 -18
  99. package/dialog/dialog.parts.js +1 -1
  100. package/dialog/dialog.preact.d.ts +1 -1
  101. package/dialog/dialog.preact.js +6 -6
  102. package/distribution-chart/area-chart.d.ts +1 -1
  103. package/distribution-chart/area-chart.js +25 -25
  104. package/distribution-chart/bar-chart.d.ts +1 -1
  105. package/distribution-chart/bar-chart.js +6 -6
  106. package/distribution-chart/chart-frame.d.ts +1 -1
  107. package/distribution-chart/index.d.ts +1 -1
  108. package/distribution-chart/index.js +6 -6
  109. package/distribution-chart/line-chart.d.ts +1 -1
  110. package/distribution-chart/line-chart.js +9 -9
  111. package/distribution-chart/types.d.ts +1 -1
  112. package/dropdown/content.d.ts +1 -1
  113. package/dropdown/content.js +83 -82
  114. package/dropdown/dropdown.service.d.ts +1 -1
  115. package/dropdown/dropdown.service.js +9 -9
  116. package/dropdown/index.js +1 -1
  117. package/dropdown/lookup-field.d.ts +1 -1
  118. package/dropdown/lookup-field.js +41 -41
  119. package/dropdown/popup.d.ts +1 -1
  120. package/dropdown/popup.js +17 -16
  121. package/duration/controls.d.ts +1 -1
  122. package/duration/index.d.ts +2 -2
  123. package/duration/index.js +1 -1
  124. package/editor-actions.d.ts +1 -1
  125. package/editor-actions.js +21 -20
  126. package/editor-layout/index.d.ts +1 -1
  127. package/editor-layout/index.js +27 -27
  128. package/field-configurator.d.ts +1 -1
  129. package/field-configurator.js +93 -93
  130. package/field-reorder.hook.js +32 -32
  131. package/filter/filters/slider/preact.js +3 -3
  132. package/filter/filters/slider/single.d.ts +1 -1
  133. package/filter/filters/slider/single.js +23 -23
  134. package/filter-badge.d.ts +1 -1
  135. package/filter-badge.js +23 -22
  136. package/filter-controls.d.ts +1 -1
  137. package/filter-controls.js +31 -31
  138. package/form-controls/index.js +20 -20
  139. package/form-controls/presentation.d.ts +1 -1
  140. package/form-controls/presentation.js +44 -44
  141. package/formatting/comparison-preview.d.ts +1 -1
  142. package/formatting/control-tooltip.d.ts +1 -1
  143. package/formatting/icon-controls.d.ts +1 -1
  144. package/formatting/index.js +99 -98
  145. package/formatting/inspector-section.d.ts +1 -1
  146. package/formatting/typography-controls.d.ts +1 -1
  147. package/framework-mount.d.ts +1 -1
  148. package/framework.js +19 -19
  149. package/icons/icon.d.ts +1 -1
  150. package/icons/icon.js +1 -1
  151. package/legend.d.ts +1 -1
  152. package/legend.js +12 -12
  153. package/masked-input/index.d.ts +1 -1
  154. package/masked-input/index.js +109 -109
  155. package/native-control.d.ts +11 -11
  156. package/native-control.js +12 -12
  157. package/native.js +39 -39
  158. package/number-input/index.d.ts +1 -1
  159. package/number-input/index.js +1 -1
  160. package/package.json +1 -2
  161. package/pdf-viewer/component.d.ts +1 -1
  162. package/pdf-viewer/controller.js +1 -1
  163. package/pdf-viewer/header.d.ts +1 -1
  164. package/pdf-viewer/index.js +13 -13
  165. package/pdf-viewer/search-bar.d.ts +1 -1
  166. package/pdf-viewer/status.d.ts +1 -1
  167. package/pdf-viewer/toolbar.d.ts +1 -1
  168. package/pickers.d.ts +1 -1
  169. package/preact-mount.d.ts +1 -1
  170. package/preact-mount.js +1 -1
  171. package/preact.js +14 -14
  172. package/rating-choice.d.ts +1 -1
  173. package/rating-choice.js +1 -1
  174. package/react-adapter.d.ts +1 -1
  175. package/react.js +19 -19
  176. package/reorder-list.d.ts +1 -1
  177. package/reorder-list.js +1 -1
  178. package/resource-picker/resource-picker-avatar.d.ts +1 -1
  179. package/resource-picker/resource-picker-avatar.js +14 -14
  180. package/resource-picker/resource-picker-option.d.ts +1 -1
  181. package/resource-picker/resource-picker-option.js +28 -28
  182. package/resource-picker/resource-picker-popup.d.ts +1 -1
  183. package/resource-picker/resource-picker-popup.js +3 -3
  184. package/resource-picker/resource-picker.d.ts +1 -1
  185. package/resource-picker/resource-picker.js +88 -88
  186. package/rich-text/index.d.ts +1 -1
  187. package/rich-text/index.js +1 -1
  188. package/rich-text/toolbar.d.ts +1 -1
  189. package/search-input/index.js +12 -12
  190. package/segmented-switch/index.d.ts +1 -1
  191. package/segmented-switch/index.js +1 -1
  192. package/status-feedback/render.d.ts +2 -2
  193. package/status-feedback/render.js +13 -13
  194. package/surfaces.js +34 -34
  195. package/svelte.js +2 -2
  196. package/switch/index.js +15 -15
  197. package/time-grid.d.ts +1 -1
  198. package/time-grid.js +58 -58
  199. package/timeline-track/component.d.ts +1 -1
  200. package/timeline-track/index.js +75 -75
  201. package/vue-adapter.d.ts +1 -1
  202. package/vue.d.ts +116 -116
  203. package/vue.js +121 -121
  204. package/_chunks/calendar-BsDxCYhI.js +0 -248
  205. package/_chunks/chart-frame-BvxbmEU9.js +0 -126
  206. package/_chunks/choice-chips-0HfOnK_4.js +0 -110
  207. package/_chunks/color-picker-BRv-__AM.js +0 -138
  208. package/_chunks/component-D4PH5UZT.js +0 -859
  209. package/_chunks/date-time-DjucJmbc.js +0 -769
  210. package/_chunks/dialog.parts-Dt3KinUz.js +0 -134
  211. package/_chunks/duration-BCaktcvz.js +0 -270
  212. package/_chunks/editor-commit-D6Rf5rGz.js +0 -12
  213. package/_chunks/framework-mount-BKIOsvY-.js +0 -54
  214. package/_chunks/mount-0-8opf1j.js +0 -90
  215. package/_chunks/native.view-8q_nwQ7x.js +0 -32
  216. package/_chunks/picker-oazJ7sO_.js +0 -121
  217. package/_chunks/reorder-list-BV3kZXso.js +0 -59
  218. package/_chunks/request-trail-D0oVzdRd.js +0 -347
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolist/ui",
3
- "version": "4.0.1-rc",
3
+ "version": "4.0.2-rc",
4
4
  "type": "module",
5
5
  "description": "Shared RevoGrid UI controls, native controllers and optional framework adapters",
6
6
  "license": "Commercial",
@@ -720,7 +720,6 @@
720
720
  "lexical": "^0.52.0"
721
721
  },
722
722
  "peerDependencies": {
723
- "preact": "^10.29.1",
724
723
  "react": ">=18",
725
724
  "vue": "^3.5.0",
726
725
  "@angular/core": ">=20",
@@ -1,4 +1,4 @@
1
- import { h, ComponentChildren } from 'preact';
1
+ import { h, ComponentChildren } from '../_vendor/preact/src/index';
2
2
  import { PdfViewerController } from './controller';
3
3
  import { PdfViewerOptions, PdfViewerState } from './types';
4
4
  import { PdfViewerText } from './translations';
@@ -1 +1 @@
1
- export { t as PdfViewerController } from "../_chunks/controller-CmLo-Ajc.js";
1
+ export { t as PdfViewerController } from "../_chunks/controller-hRBm_Lfz.js";
@@ -1,4 +1,4 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { PdfViewerText } from './translations';
3
3
  import { PdfViewerState } from './types';
4
4
  export declare function PdfViewerHeader({ state, text, onCancelPrint, showDetails }: {
@@ -1,16 +1,16 @@
1
- import { renderPreactInto as e } from "../preact-mount.js";
2
- import { i as t, n, r, t as i } from "../_chunks/component-D4PH5UZT.js";
3
- import { t as a } from "../_chunks/controller-CmLo-Ajc.js";
4
- import { h as o } from "preact";
1
+ import { c as e } from "../_chunks/preact.module-BBM36DnO.js";
2
+ import { renderPreactInto as t } from "../preact-mount.js";
3
+ import { i as n, n as r, r as i, t as a } from "../_chunks/component-YDcfoOLz.js";
4
+ import { t as o } from "../_chunks/controller-hRBm_Lfz.js";
5
5
  //#region src/pdf-viewer/index.tsx
6
- function s(t, r) {
7
- let i = new a(r), s = i.destroy.bind(i), c = !1;
8
- return i.destroy = () => {
9
- c || (c = !0, s(), e(t, null));
10
- }, e(t, o(n, {
11
- ...r,
12
- controller: i
13
- })), i;
6
+ function s(n, i) {
7
+ let a = new o(i), s = a.destroy.bind(a), c = !1;
8
+ return a.destroy = () => {
9
+ c || (c = !0, s(), t(n, null));
10
+ }, t(n, e(r, {
11
+ ...i,
12
+ controller: a
13
+ })), a;
14
14
  }
15
15
  //#endregion
16
- export { i as PdfViewer, a as PdfViewerController, r as PdfViewerToolbar, s as createPdfViewer, t as defaultPdfViewerText };
16
+ export { a as PdfViewer, o as PdfViewerController, i as PdfViewerToolbar, s as createPdfViewer, n as defaultPdfViewerText };
@@ -1,4 +1,4 @@
1
- import { h, RefObject } from 'preact';
1
+ import { h, RefObject } from '../_vendor/preact/src/index';
2
2
  import { PdfViewerText } from './translations';
3
3
  import { PdfViewerController } from './controller';
4
4
  import { PdfViewerState } from './types';
@@ -1,4 +1,4 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { PdfViewerText } from './translations';
3
3
  import { PdfViewerController } from './controller';
4
4
  import { PdfViewerState } from './types';
@@ -1,4 +1,4 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { PdfViewerController } from './controller';
3
3
  import { PdfViewerState } from './types';
4
4
  import { PdfViewerText } from './translations';
package/pickers.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { h, ComponentChildren } from 'preact';
1
+ import { h, ComponentChildren } from './_vendor/preact/src/index';
2
2
  import { ISODateString } from './_shared/dates/index';
3
3
  import { CalendarDateRange, CalendarProps } from './calendar/types';
4
4
  import { DropdownProps } from './dropdown';
package/preact-mount.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ComponentChildren, VNode } from 'preact';
1
+ import { ComponentChildren, VNode } from './_vendor/preact/src/index';
2
2
  /** Compatibility boundary for hosts that accept an element instead of a VNode.
3
3
  * All markup is rendered by Preact; the fragment supplies the owning document. */
4
4
  export declare function createPreactElement<T extends Element = HTMLElement>(document: Document, view: VNode<any>, existing?: Element): T;
package/preact-mount.js CHANGED
@@ -1,4 +1,4 @@
1
- import { hydrate as e, render as t } from "preact";
1
+ import { a as e, r as t } from "./_chunks/preact.module-BBM36DnO.js";
2
2
  //#region src/preact-mount.tsx
3
3
  var n = /* @__PURE__ */ new WeakMap();
4
4
  function r(r, i, a) {
package/preact.js CHANGED
@@ -1,25 +1,25 @@
1
- import { a as ee, c as te, i as ne, l as re, n as ie, o as ae, r as oe, s as se, t as ce } from "./_chunks/request-trail-D0oVzdRd.js";
1
+ import { a as ee, c as te, i as ne, l as re, n as ie, o as ae, r as oe, s as se, t as ce } from "./_chunks/request-trail-IdNiFvKH.js";
2
2
  import { badgeClassName as le } from "./badge.js";
3
- import { n as ue, t as de } from "./_chunks/rating-choice-CWAsNQNS.js";
3
+ import { n as ue, t as de } from "./_chunks/rating-choice-Ca8ZBty3.js";
4
4
  import { SvgIcon as e } from "./icons/icon.js";
5
5
  import { controlAttributes as fe, controlClassName as t } from "./control-attributes.js";
6
6
  import { createControl as n, decorateIconAction as r, nativeControlTag as i, registerControl as a, renderControl as o } from "./control-presentation.js";
7
7
  import { Input as s } from "./native-control.js";
8
- import { A as c, C as l, D as u, E as d, F as f, I as p, L as m, M as h, N as g, O as _, P as v, R as y, S as b, T as x, _ as S, a as C, b as w, c as T, d as E, f as D, g as O, h as k, i as A, j, k as M, l as N, m as P, n as F, o as I, p as L, r as R, s as z, t as B, u as V, v as pe, w as me, x as he, y as ge, z as _e } from "./_chunks/controls-NEL5tDaz.js";
9
- import { n as ve, t as ye } from "./_chunks/control-tooltip-BCNzQCXE.js";
8
+ import { A as c, C as l, D as u, E as d, F as f, I as p, L as m, M as h, N as g, O as _, P as v, R as y, S as b, T as x, _ as S, a as C, b as w, c as T, d as E, f as D, g as O, h as k, i as A, j, k as M, l as N, m as P, n as F, o as I, p as L, r as R, s as z, t as B, u as V, v as pe, w as me, x as he, y as ge, z as _e } from "./_chunks/controls-DIum-E66.js";
9
+ import { n as ve, t as ye } from "./_chunks/control-tooltip-ztgmsG7H.js";
10
10
  import { SvgButton as be } from "./buttons/svg-button.js";
11
11
  import { SegmentedSwitch as xe, renderSegmentedSwitch as Se } from "./segmented-switch/index.js";
12
12
  import { EditorList as H, EditorListGroup as U, EditorListItem as W, EditorListItemContent as G, EditorPane as K, EditorSplitLayout as q } from "./editor-layout/index.js";
13
13
  import { getUiMotionDuration as Ce, inheritUiMotion as we, isUiMotionEnabled as Te } from "./core/motion.js";
14
- import { a as Ee, c as De, i as Oe, l as ke, n as Ae, o as je, r as Me, s as Ne, t as Pe } from "./_chunks/dialog.parts-Dt3KinUz.js";
15
- import { t as Fe } from "./_chunks/delete-button-DnpmDNEJ.js";
14
+ import { a as Ee, c as De, i as Oe, l as ke, n as Ae, o as je, r as Me, s as Ne, t as Pe } from "./_chunks/dialog.parts-DBqo3Qwb.js";
15
+ import { t as Fe } from "./_chunks/delete-button-Bblyah10.js";
16
16
  import { RemoveButton as Ie } from "./buttons/remove-button.js";
17
17
  import { createFormField as Le, createSelectControl as Re, createTextControl as ze } from "./form-controls/index.js";
18
18
  import { a as Be, c as Ve, d as He, f as Ue, h as We, i as Ge, l as Ke, m as qe, n as Je, o as Ye, p as Xe, r as Ze, s as Qe, t as $e, u as et } from "./_chunks/cell-visuals-E-2oEKHg.js";
19
- import { n as tt, t as nt } from "./_chunks/color-palette-BmZ7kH9R.js";
19
+ import { n as tt, t as nt } from "./_chunks/color-palette-BBMFmUNA.js";
20
20
  import { DEFAULT_COLOR_PALETTE_OPTIONS as rt } from "./color-palette/palette.js";
21
- import { t as it } from "./_chunks/color-picker-BRv-__AM.js";
22
- import { n as at, r as ot, t as st } from "./_chunks/choice-chips-0HfOnK_4.js";
21
+ import { t as it } from "./_chunks/color-picker-D90Jg-M8.js";
22
+ import { n as at, r as ot, t as st } from "./_chunks/choice-chips-Cs4D-3nH.js";
23
23
  import { FilterBadge as ct, FilterBadgeInfoButton as lt } from "./filter-badge.js";
24
24
  import { ActivityMessage as ut } from "./activity-message.js";
25
25
  import { Checkbox as dt, SHARED_CHECKBOX_CLASS as ft, renderCheckbox as pt } from "./checkbox/index.js";
@@ -29,15 +29,15 @@ import { DisclosureSummary as ht, FilterChip as Y, FormField as gt, renderFormFi
29
29
  import { DEFAULT_CALENDAR_TRANSLATIONS as vt } from "./calendar/translations.js";
30
30
  import { a as yt, i as bt, n as xt, o as St, r as Ct, t as wt } from "./_chunks/model-mPO2tG2f.js";
31
31
  import { CalendarHeader as Tt, CalendarWeekdays as Et } from "./calendar/header.js";
32
- import { t as Dt } from "./_chunks/calendar-BsDxCYhI.js";
32
+ import { t as Dt } from "./_chunks/calendar-CpaUK7w1.js";
33
33
  import { CalendarDay as Ot } from "./calendar/day.js";
34
34
  import { CalendarMonthGrid as kt } from "./calendar/month-grid.js";
35
35
  import { CalendarYearGrid as At } from "./calendar/year-grid.js";
36
- import { t as jt } from "./_chunks/picker-oazJ7sO_.js";
36
+ import { t as jt } from "./_chunks/picker-DpP7iQLA.js";
37
37
  import { ResourcePickerAvatar as Mt, getResourcePickerColor as Nt, getResourcePickerForegroundColor as Pt, getResourcePickerInitials as Ft } from "./resource-picker/resource-picker-avatar.js";
38
38
  import { DropdownPopup as It } from "./dropdown/popup.js";
39
39
  import { SharedResourcePicker as X } from "./resource-picker/resource-picker.js";
40
- import { n as Lt, r as Rt, t as zt } from "./_chunks/dropdown-CkGQBm1Q.js";
40
+ import { n as Lt, r as Rt, t as zt } from "./_chunks/dropdown-voWqmwAe.js";
41
41
  import { DropdownPopupContent as Bt } from "./dropdown/content.js";
42
42
  import { useDialogDrag as Vt } from "./dialog/dialog.preact.js";
43
43
  import { PreactRangeSlider as Z } from "./filter/filters/slider/preact.js";
@@ -45,7 +45,7 @@ import { SingleValueSlider as Q, SliderField as Ht } from "./filter/filters/slid
45
45
  import { renderStatusBadge as Ut } from "./status-feedback/badge.js";
46
46
  import { StatusBadge as Wt, StatusFeedbackPanel as $, renderStatusFeedbackPanel as Gt } from "./status-feedback/render.js";
47
47
  import { StatusFeedbackPopoverController as Kt } from "./status-feedback/popover.js";
48
- import { a as qt, c as Jt, d as Yt, f as Xt, i as Zt, l as Qt, m as $t, o as en, p as tn, r as nn, s as rn, t as an, u as on } from "./_chunks/component-D4PH5UZT.js";
48
+ import { a as qt, c as Jt, d as Yt, f as Xt, i as Zt, l as Qt, m as $t, o as en, p as tn, r as nn, s as rn, t as an, u as on } from "./_chunks/component-YDcfoOLz.js";
49
49
  import { BarChart as sn } from "./distribution-chart/bar-chart.js";
50
50
  import { LineChart as cn } from "./distribution-chart/line-chart.js";
51
51
  import { AreaChart as ln } from "./distribution-chart/area-chart.js";
@@ -58,7 +58,7 @@ import { fieldDropIndex as yn, reorderFields as bn } from "./field-reorder.js";
58
58
  import { useFieldDropTarget as xn, useFieldReorder as Sn } from "./field-reorder.hook.js";
59
59
  import { CollapsibleSection as Cn, FieldActions as wn, FieldContent as Tn, FieldDropIndicator as En, FieldGroup as Dn, FieldGroupHeading as On, FieldIcon as kn, FieldItem as An, FieldLibrary as jn, FieldLibraryList as Mn, FieldList as Nn, FieldRemoveButton as Pn, FieldRemoveIcon as Fn, FieldRow as In, FieldStatusBadge as Ln, FieldSummary as Rn, SelectedField as zn } from "./field-configurator.js";
60
60
  import { ComparisonPreview as Bn, IconChoiceGroup as Vn, IconToggleButton as Hn, InspectorSection as Un, TypographyControls as Wn } from "./formatting/index.js";
61
- import { n as Gn, t as Kn } from "./_chunks/reorder-list-BV3kZXso.js";
61
+ import { n as Gn, t as Kn } from "./_chunks/reorder-list-Cc3KmfAN.js";
62
62
  import { eventOutsideRange as qn, moveTimelineEvent as Jn, niceTimelineStep as Yn, resizeTimelineEvent as Xn, timelineGeometry as Zn } from "./timeline-track/model.js";
63
63
  import { TimelineTrack as Qn } from "./timeline-track/index.js";
64
64
  export { te as AI_UI_MESSAGES, ut as ActivityMessage, ie as AiActionStatus, oe as AiAssistant, ne as AiPromptInput, ce as AiRequestTrail, ee as AiResult, ae as AiSuggestions, se as AiTranslationProvider, _e as Alert, ln as AreaChart, qt as Avatar, B as Badge, sn as BarChart, dn as BrushRange, F as Button, R as ButtonGroup, Dt as Calendar, Ot as CalendarDay, Tt as CalendarHeader, kt as CalendarMonthGrid, jt as CalendarPicker, Et as CalendarWeekdays, At as CalendarYearGrid, dt as Checkbox, A as Chip, st as ChoiceChip, at as ChoiceChipInfoButton, ot as ChoiceChips, C as CircularProgress, Cn as CollapsibleSection, nt as ColorPalette, it as ColorPicker, en as Combobox, Bn as ComparisonPreview, rn as ConfirmDialog, ye as ControlTooltip, I as CountBadge, vt as DEFAULT_CALENDAR_TRANSLATIONS, rt as DEFAULT_COLOR_PALETTE_OPTIONS, z as DateInput, Jt as DatePicker, Qt as DateRangePicker, T as DateTimeInput, Fe as DeleteButton, on as Dialog, Pe as DialogActionFooter, Ae as DialogActions, Me as DialogBody, Oe as DialogCloseButton, Ee as DialogFooter, je as DialogForm, Ne as DialogHeader, De as DialogTitleInput, N as Disclosure, ht as DisclosureSummary, un as DistributionChart, zt as Dropdown, It as DropdownPopup, Bt as DropdownPopupContent, ke as EditableDialogHeader, H as EditorList, H as Listbox, U as EditorListGroup, U as ListboxGroup, W as EditorListItem, W as ListboxOption, G as EditorListItemContent, G as ListboxOptionContent, K as EditorPane, K as Pane, q as EditorSplitLayout, q as SplitLayout, V as EmptyState, $ as FeedbackPanel, $ as StatusFeedbackPanel, wn as FieldActions, Tn as FieldContent, En as FieldDropIndicator, E as FieldError, Dn as FieldGroup, On as FieldGroupHeading, D as FieldHint, kn as FieldIcon, An as FieldItem, jn as FieldLibrary, Mn as FieldLibraryList, Nn as FieldList, Pn as FieldRemoveButton, Fn as FieldRemoveIcon, In as FieldRow, Ln as FieldStatusBadge, Rn as FieldSummary, ct as FilterBadge, lt as FilterBadgeInfoButton, Y as FilterChip, Y as RemovableChip, gt as FormField, L as FormSection, pn as HighlightedTextInput, e as Icon, e as SvgIcon, P as IconButton, Vn as IconChoiceGroup, Hn as IconToggleButton, mn as InlineFieldGroup, s as Input, Un as InspectorSection, fn as Legend, cn as LineChart, k as LoadingOverlay, O as Menu, S as MenuItem, pe as MenuSeparator, Yt as MultiSelect, ge as NativeSelect, w as NumberInput, he as NumberStepper, hn as OptionButton, b as Pagination, l as Panel, an as PdfViewer, nn as PdfViewerToolbar, Xt as Popover, Z as PreactRangeSlider, Z as RangeSlider, tn as ProgressBar, me as RadioGroup, x as Rating, de as RatingChoice, ue as RatingStar, Ie as RemoveButton, Kn as ReorderHandle, Gn as ReorderList, d as ResizeHandle, X as ResourcePicker, X as SharedResourcePicker, Mt as ResourcePickerAvatar, ft as SHARED_CHECKBOX_CLASS, mt as SearchInput, u as SegmentedControl, xe as SegmentedSwitch, zn as SelectedField, Q as SingleValueSlider, Q as Slider, Ht as SliderField, _ as Spinner, Wt as StatusBadge, Kt as StatusFeedbackPopoverController, M as Submenu, be as SvgButton, J as Switch, c as TabPanel, j as Tabs, h as TextInput, g as Textarea, gn as TimeGrid, v as TimeInput, Qn as TimelineTrack, f as ToggleButton, p as Toolbar, m as ToolbarGroup, y as ToolbarSeparator, $t as Tooltip, Wn as TypographyControls, le as badgeClassName, fe as controlAttributes, t as controlClassName, wt as createCalendarMonth, n as createControl, Le as createFormField, Re as createSelectControl, ze as createTextControl, r as decorateIconAction, Zt as defaultPdfViewerText, Lt as defineDropdown, Rt as destroyDropdown, qn as eventOutsideRange, yn as fieldDropIndex, Je as formatTimelineEvents, Nt as getResourcePickerColor, Pt as getResourcePickerForegroundColor, Ft as getResourcePickerInitials, Ce as getUiMotionDuration, we as inheritUiMotion, xt as isCalendarDateDisabled, Ct as isCalendarMonthDisabled, bt as isDateInCalendarRange, Te as isUiMotionEnabled, yt as moveCalendarFocus, Jn as moveTimelineEvent, i as nativeControlTag, Yn as niceTimelineStep, tt as normalizeHexColor, St as orderCalendarRange, a as registerControl, Qe as renderAggregateSummary, Ve as renderBadgeValue, Ke as renderChange, pt as renderCheckbox, o as renderControl, _t as renderFormFieldContent, Ge as renderHeatmap, et as renderLabelledIcon, Be as renderMiniBarChart, He as renderPercentageSummary, $e as renderPie, Ue as renderProgressLine, Xe as renderProgressLineValue, Se as renderSegmentedSwitch, Ye as renderSparkline, Ut as renderStatusBadge, Gt as renderStatusFeedbackPanel, qe as renderThumbs, Ze as renderTimeline, We as renderTypeIcon, bn as reorderFields, Xn as resizeTimelineEvent, _n as timeGridCellKey, Zn as timelineGeometry, re as translateAiText, ve as useControlTooltip, Vt as useDialogDrag, xn as useFieldDropTarget, Sn as useFieldReorder, vn as useTimeGridInteraction };
@@ -1,4 +1,4 @@
1
- import { h, JSX } from 'preact';
1
+ import { h, JSX } from './_vendor/preact/src/index';
2
2
  export declare function RatingStar({ filled }: {
3
3
  filled: boolean;
4
4
  }): h.JSX.Element;
package/rating-choice.js CHANGED
@@ -1 +1 @@
1
- export { t as RatingChoice, n as RatingStar } from "./_chunks/rating-choice-CWAsNQNS.js";
1
+ export { t as RatingChoice, n as RatingStar } from "./_chunks/rating-choice-Ca8ZBty3.js";
@@ -1,5 +1,5 @@
1
1
  import { ForwardRefExoticComponent, PropsWithoutRef, ReactNode, RefAttributes } from 'react';
2
- import { ComponentChildren, ComponentProps, ComponentType, VNode } from 'preact';
2
+ import { ComponentChildren, ComponentProps, ComponentType, VNode } from './_vendor/preact/src/index';
3
3
  export interface UiReactHandle {
4
4
  element: HTMLDivElement | null;
5
5
  }
package/react.js CHANGED
@@ -1,42 +1,42 @@
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";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "./_chunks/request-trail-IdNiFvKH.js";
2
+ import { n as o, t as s } from "./_chunks/rating-choice-Ca8ZBty3.js";
3
3
  import { SvgIcon as c } from "./icons/icon.js";
4
4
  import { controlAttributes as l } from "./control-attributes.js";
5
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";
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-DIum-E66.js";
7
+ import { t as N } from "./_chunks/control-tooltip-ztgmsG7H.js";
8
8
  import { SvgButton as P } from "./buttons/svg-button.js";
9
9
  import { SegmentedSwitch as F } from "./segmented-switch/index.js";
10
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";
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-DBqo3Qwb.js";
12
+ import { t as Te } from "./_chunks/delete-button-Bblyah10.js";
13
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";
14
+ import { t as De } from "./_chunks/color-palette-BBMFmUNA.js";
15
+ import { t as Oe } from "./_chunks/color-picker-D90Jg-M8.js";
16
+ import { n as ke, r as Ae, t as je } from "./_chunks/choice-chips-Cs4D-3nH.js";
17
17
  import { FilterBadge as Me, FilterBadgeInfoButton as Ne } from "./filter-badge.js";
18
18
  import { ActivityMessage as Pe } from "./activity-message.js";
19
19
  import { Checkbox as Fe } from "./checkbox/index.js";
20
20
  import { Switch as Ie } from "./switch/index.js";
21
21
  import { SearchInput as Le } from "./search-input/index.js";
22
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";
23
+ import { a as Be, i as Ve, r as He } from "./_chunks/date-time-BxPJusp9.js";
24
+ import { n as Ue, t as We } from "./_chunks/duration-87U2EoMS.js";
25
25
  import { CalendarHeader as Ge, CalendarWeekdays as Ke } from "./calendar/header.js";
26
- import { t as qe } from "./_chunks/calendar-BsDxCYhI.js";
26
+ import { t as qe } from "./_chunks/calendar-CpaUK7w1.js";
27
27
  import { CalendarDay as Je } from "./calendar/day.js";
28
28
  import { CalendarMonthGrid as Ye } from "./calendar/month-grid.js";
29
29
  import { CalendarYearGrid as Xe } from "./calendar/year-grid.js";
30
- import { t as Ze } from "./_chunks/picker-oazJ7sO_.js";
30
+ import { t as Ze } from "./_chunks/picker-DpP7iQLA.js";
31
31
  import { ResourcePickerAvatar as Qe } from "./resource-picker/resource-picker-avatar.js";
32
32
  import { DropdownPopup as $e } from "./dropdown/popup.js";
33
33
  import { SharedResourcePicker as U } from "./resource-picker/resource-picker.js";
34
- import { t as et } from "./_chunks/dropdown-CkGQBm1Q.js";
34
+ import { t as et } from "./_chunks/dropdown-voWqmwAe.js";
35
35
  import { DropdownPopupContent as tt } from "./dropdown/content.js";
36
36
  import { PreactRangeSlider as W } from "./filter/filters/slider/preact.js";
37
37
  import { SingleValueSlider as G, SliderField as nt } from "./filter/filters/slider/single.js";
38
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";
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-YDcfoOLz.js";
40
40
  import { BarChart as _t } from "./distribution-chart/bar-chart.js";
41
41
  import { LineChart as vt } from "./distribution-chart/line-chart.js";
42
42
  import { AreaChart as yt } from "./distribution-chart/area-chart.js";
@@ -47,13 +47,13 @@ import { HighlightedTextInput as Ct, InlineFieldGroup as wt, OptionButton as Tt
47
47
  import { TimeGrid as Et } from "./time-grid.js";
48
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
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";
50
+ import { n as Jt, t as Yt } from "./_chunks/reorder-list-Cc3KmfAN.js";
51
51
  import { TimelineTrack as Xt } from "./timeline-track/index.js";
52
- import { t as Zt } from "./_chunks/number-input-NnH57J4j.js";
52
+ import { t as Zt } from "./_chunks/number-input-BeIadZuL.js";
53
53
  import { MaskedDraft as Qt } from "./masked-input/index.js";
54
- import { t as $t } from "./_chunks/rich-text-2Rla349o.js";
54
+ import { t as $t } from "./_chunks/rich-text-BzI1DyfF.js";
55
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";
56
+ import { t as rn } from "./_chunks/framework-mount-C-Zwm44H.js";
57
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
58
  import { createPortal as cn } from "react-dom";
59
59
  //#region src/react-adapter.ts
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-Cc3KmfAN.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 { DropdownPopup as t } from "../dropdown/popup.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;