@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/pagination.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import { controlClassName as e } from "./control-attributes.js";
2
2
  import { renderControl as t } from "./control-presentation.js";
3
+ import { t as n } from "./_chunks/control-AHKXD5Eu.js";
3
4
  //#region src/pagination.ts
4
- function n(e, t, n = 5) {
5
+ function r(e, t, n = 5) {
5
6
  let r = Math.max(0, Math.floor(t));
6
7
  if (!Number.isFinite(r) || !r) return [];
7
8
  let i = Math.min(r, Math.max(1, Math.floor(n) || 5)), a = Math.min(r - 1, Math.max(0, Math.floor(e) || 0)), o = Math.min(Math.max(0, a - Math.floor(i / 2)), r - i), s = /* @__PURE__ */ new Set([0, r - 1]);
@@ -10,7 +11,7 @@ function n(e, t, n = 5) {
10
11
  for (let e of [...s].sort((e, t) => e - t)) l >= 0 && e - l === 2 ? c.push(l + 1) : l >= 0 && e - l > 2 && c.push("ellipsis"), c.push(e), l = e;
11
12
  return c;
12
13
  }
13
- function r(n, r) {
14
+ function i(n, r) {
14
15
  return t(n, "button", {
15
16
  class: e("rv-button small rv-pagination-button rv-btn-ghost", {
16
17
  "rv-pagination-button--icon": !!r.kind,
@@ -41,7 +42,7 @@ function r(n, r) {
41
42
  "aria-hidden": "true"
42
43
  }, r.text)] : [r.text]);
43
44
  }
44
- var i = class {
45
+ var a = class {
45
46
  onPageChange;
46
47
  h;
47
48
  config = {
@@ -62,6 +63,21 @@ var i = class {
62
63
  items: "items",
63
64
  loading: "Loading…"
64
65
  };
66
+ selector;
67
+ selectorRef = (e) => {
68
+ e ? this.selector || (this.selector = n(e.ownerDocument, this.selectorProps()), e.append(this.selector.element)) : (this.selector?.destroy(), this.selector = void 0);
69
+ };
70
+ selectorProps() {
71
+ return {
72
+ config: { ariaLabel: this.locales.page },
73
+ value: String(this.currentPage),
74
+ source: Array.from({ length: this.totalPages }, (e, t) => ({
75
+ value: String(t),
76
+ label: String(t + 1)
77
+ })),
78
+ onChange: (e) => this.setPage(Number(e))
79
+ };
80
+ }
65
81
  refresh;
66
82
  constructor(e, t, n) {
67
83
  this.onPageChange = t, this.h = n, this.update(e);
@@ -77,18 +93,18 @@ var i = class {
77
93
  this.currentPage = r, this.refresh?.(), t && this.onPageChange(this.currentPage);
78
94
  }
79
95
  createButton(e, t, n) {
80
- let i = {
96
+ let r = {
81
97
  first: "«",
82
98
  previous: "‹",
83
99
  next: "›",
84
100
  last: "»"
85
- }, a = Object.keys(i).find((t) => i[t] === e), o = a ? {
101
+ }, a = Object.keys(r).find((t) => r[t] === e), o = a ? {
86
102
  first: "First page",
87
103
  previous: "Previous page",
88
104
  next: "Next page",
89
105
  last: "Last page"
90
106
  }[a] : e;
91
- return r(this.h, {
107
+ return i(this.h, {
92
108
  text: e,
93
109
  label: o,
94
110
  kind: a,
@@ -97,23 +113,24 @@ var i = class {
97
113
  });
98
114
  }
99
115
  render() {
100
- let e = this.h, i = [];
116
+ this.selector?.update(this.selectorProps());
117
+ let e = this.h, t = [];
101
118
  if (this.config.navigation !== !1) {
102
- if (i.push(...this.config.boundaryButtons === !1 ? [] : [this.createButton(this.locales.first, () => {
119
+ if (t.push(...this.config.boundaryButtons === !1 ? [] : [this.createButton(this.locales.first, () => {
103
120
  this.currentPage > 0 && this.setPage(0);
104
121
  }, this.currentPage === 0)], this.createButton(this.locales.previous, () => {
105
122
  this.currentPage > 0 && this.setPage(this.currentPage - 1);
106
- }, this.currentPage === 0)), this.config.buttonCount) for (let t of n(this.currentPage, this.totalPages, this.config.buttonCount)) t === "ellipsis" ? i.push(e("span", {
123
+ }, this.currentPage === 0)), this.config.buttonCount) for (let n of r(this.currentPage, this.totalPages, this.config.buttonCount)) n === "ellipsis" ? t.push(e("span", {
107
124
  class: "rv-pagination-ellipsis",
108
125
  "aria-hidden": "true"
109
- }, "…")) : i.push(r(e, {
110
- text: String(t + 1),
111
- label: `${this.locales.page} ${t + 1}`,
112
- active: t === this.currentPage,
113
- disabled: t === this.currentPage,
114
- onClick: () => this.setPage(t)
126
+ }, "…")) : t.push(i(e, {
127
+ text: String(n + 1),
128
+ label: `${this.locales.page} ${n + 1}`,
129
+ active: n === this.currentPage,
130
+ disabled: n === this.currentPage,
131
+ onClick: () => this.setPage(n)
115
132
  }));
116
- i.push(this.createButton(this.locales.next, () => {
133
+ t.push(this.createButton(this.locales.next, () => {
117
134
  this.currentPage < this.totalPages - 1 && this.setPage(this.currentPage + 1);
118
135
  }, this.currentPage >= this.totalPages - 1), ...this.config.boundaryButtons === !1 ? [] : [this.createButton(this.locales.last, () => {
119
136
  this.setPage(this.totalPages - 1);
@@ -121,32 +138,25 @@ var i = class {
121
138
  }
122
139
  if (this.totalPages > 1) {
123
140
  let n = [];
124
- this.config.info !== !1 && n.push(e("span", { class: "rv-pagination-label" }, this.locales.page)), n.push(t(e, "select", {
125
- "aria-label": this.locales.page,
126
- value: String(this.currentPage),
127
- onChange: (e) => {
128
- let t = e.target;
129
- this.setPage(parseInt(t.value, 10));
130
- }
131
- }, Array(this.totalPages).fill(null).map((t, n) => e("option", {
132
- value: n,
133
- selected: n === this.currentPage
134
- }, (n + 1).toString())))), this.config.info !== !1 && n.push(e("span", null, ` ${this.locales.of} ${this.totalPages}`)), i.push(e("span", { class: "rv-pagination-selector" }, n));
141
+ this.config.info !== !1 && n.push(e("span", { class: "rv-pagination-label" }, this.locales.page)), n.push(e("span", {
142
+ class: "rv-pagination-dropdown",
143
+ ref: this.selectorRef
144
+ })), this.config.info !== !1 && n.push(e("span", null, ` ${this.locales.of} ${this.totalPages}`)), t.push(e("span", { class: "rv-pagination-selector" }, n));
135
145
  }
136
- this.loading && i.push(e("span", {
146
+ this.loading && t.push(e("span", {
137
147
  role: "status",
138
148
  "aria-live": "polite"
139
149
  }, this.locales.loading));
140
- let a = [];
150
+ let n = [];
141
151
  if (this.config.totalInfo !== !1) {
142
- let t = this.config.total > 0 && this.config.itemsPerPage > 0 ? this.currentPage * this.config.itemsPerPage + 1 : 0, n = Math.min((this.currentPage + 1) * this.config.itemsPerPage, this.config.total);
143
- a.push(e("span", { dir: "auto" }, `${t}-${n} ${this.locales.of} ${this.config.total} ${this.locales.items}`));
152
+ let t = this.config.total > 0 && this.config.itemsPerPage > 0 ? this.currentPage * this.config.itemsPerPage + 1 : 0, r = Math.min((this.currentPage + 1) * this.config.itemsPerPage, this.config.total);
153
+ n.push(e("span", { dir: "auto" }, `${t}-${r} ${this.locales.of} ${this.config.total} ${this.locales.items}`));
144
154
  }
145
155
  return e("div", {
146
156
  class: "rv-pagination-panel",
147
157
  role: "navigation",
148
158
  "aria-label": this.locales.page
149
- }, [e("span", null, i), e("span", null, a)]);
159
+ }, [e("span", null, t), e("span", null, n)]);
150
160
  }
151
161
  update(e) {
152
162
  let t = e.itemsPerPage > 0 && Number.isFinite(e.total) ? Math.max(0, Math.ceil(e.total / e.itemsPerPage)) : 0;
@@ -157,4 +167,4 @@ var i = class {
157
167
  }
158
168
  };
159
169
  //#endregion
160
- export { i as PaginationPanel, n as paginationItems, r as renderPaginationButton };
170
+ export { a as PaginationPanel, r as paginationItems, i as renderPaginationButton };
@@ -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-C_T2VN5u.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';
@@ -25,11 +25,11 @@
25
25
  --rv-control-radius: 6px;
26
26
  --rv-ui-radius: 6px;
27
27
  font-size: 13px;
28
- :is(button, input, select) {
28
+ :is(button, input, .dropdown-trigger) {
29
29
  box-sizing: border-box;
30
30
  height: 32px;
31
31
  min-height: 32px;
32
- font-size: 13px;
32
+ font-size: var(--rv-control-font-size, 0.875rem);
33
33
  line-height: 18px;
34
34
  }
35
35
  }
@@ -37,8 +37,7 @@
37
37
  &__toolbar.rv-toolbar .rv-toolbar-group { align-items: center; flex-wrap: nowrap; gap: 4px; padding-block: 0; }
38
38
  &__toolbar .rv-pagination { font-size: inherit; flex-wrap: nowrap; }
39
39
  &__zoom-select { position: relative; display: inline-flex; align-items: center; width: 112px; height: 32px; }
40
- &__zoom-select > .rv-svg-icon { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }
41
- &__toolbar &__zoom-select select { width: 100%; min-width: 0; background-image: none; }
40
+ &__toolbar &__zoom-select .dropdown-container { width: 100%; min-width: 0; background-image: none; }
42
41
  &__toolbar .rv-pdf-viewer__page-input { width: 54px; min-width: 0; text-align: center; font-variant-numeric: tabular-nums; }
43
42
  &__page-count { white-space: nowrap; color: var(--rv-ui-text-muted); font-variant-numeric: tabular-nums; }
44
43
  &__actions { margin-inline-start: auto; }
@@ -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.d.ts CHANGED
@@ -51,3 +51,5 @@ export * from './ai/translations';
51
51
  export { PdfViewer, type PdfViewerProps, type PdfViewerText, defaultPdfViewerText } from './pdf-viewer/component';
52
52
  export { PdfViewerToolbar, type PdfViewerToolbarProps } from './pdf-viewer/toolbar';
53
53
  export type { PdfViewerButton, PdfViewerButtonOptions, PdfViewerToolbarOptions, PdfViewerToolbarConfig } from './pdf-viewer/toolbar-options';
54
+ export * from './history-controls';
55
+ export * from './ai/chat';
package/preact.js CHANGED
@@ -1,64 +1,64 @@
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";
2
- import { badgeClassName as le } from "./badge.js";
3
- import { n as ue, t as de } from "./_chunks/rating-choice-CWAsNQNS.js";
1
+ import { badgeClassName as ee } from "./badge.js";
2
+ import { n as te, t as ne } from "./_chunks/rating-choice-DZgmaic0.js";
4
3
  import { SvgIcon as e } from "./icons/icon.js";
5
- import { controlAttributes as fe, controlClassName as t } from "./control-attributes.js";
6
- import { createControl as n, decorateIconAction as r, nativeControlTag as i, registerControl as a, renderControl as o } from "./control-presentation.js";
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";
10
- import { SvgButton as be } from "./buttons/svg-button.js";
11
- import { SegmentedSwitch as xe, renderSegmentedSwitch as Se } from "./segmented-switch/index.js";
4
+ import { d as re, l as ie, n as ae, p as oe, u as se } from "./_chunks/native-control-C_yok8_-.js";
5
+ import { getUiMotionDuration as ce, inheritUiMotion as le, isUiMotionEnabled as ue } from "./core/motion.js";
6
+ import { t as de } from "./_chunks/popup-CT2uD3go.js";
7
+ import { t as fe } from "./_chunks/delete-button-CW9vjLnk.js";
8
+ import { RemoveButton as t } from "./buttons/remove-button.js";
9
+ import { controlAttributes as n, controlClassName as r } from "./control-attributes.js";
10
+ import { createControl as i, decorateIconAction as a, nativeControlTag as o, registerControl as s, renderControl as c } from "./control-presentation.js";
11
+ import { t as l } from "./_chunks/control-AHKXD5Eu.js";
12
+ import { A as u, C as d, D as f, E as p, F as m, I as h, L as g, M as _, N as v, O as y, P as b, R as x, S, T as C, _ as w, a as T, b as E, c as D, d as O, f as k, g as A, h as j, i as M, j as N, k as P, l as F, m as I, n as L, o as R, p as z, r as B, s as V, t as pe, u as me, v as he, w as ge, x as _e, y as ve } from "./_chunks/controls-DsNi8V8I.js";
13
+ import { n as ye, t as be } from "./_chunks/control-tooltip-uscKfAnV.js";
14
+ import { SvgButton as xe } from "./buttons/svg-button.js";
15
+ import { SegmentedSwitch as Se, renderSegmentedSwitch as Ce } from "./segmented-switch/index.js";
12
16
  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
- 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";
16
- import { RemoveButton as Ie } from "./buttons/remove-button.js";
17
- import { createFormField as Le, createSelectControl as Re, createTextControl as ze } from "./form-controls/index.js";
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";
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";
23
- import { FilterBadge as ct, FilterBadgeInfoButton as lt } from "./filter-badge.js";
24
- import { ActivityMessage as ut } from "./activity-message.js";
25
- import { Checkbox as dt, SHARED_CHECKBOX_CLASS as ft, renderCheckbox as pt } from "./checkbox/index.js";
26
- import { Switch as J } from "./switch/index.js";
27
- import { SearchInput as mt } from "./search-input/index.js";
28
- import { DisclosureSummary as ht, FilterChip as Y, FormField as gt, renderFormFieldContent as _t } from "./form-controls/presentation.js";
29
- import { DEFAULT_CALENDAR_TRANSLATIONS as vt } from "./calendar/translations.js";
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
- import { CalendarHeader as Tt, CalendarWeekdays as Et } from "./calendar/header.js";
32
- import { t as Dt } from "./_chunks/calendar-BsDxCYhI.js";
33
- import { CalendarDay as Ot } from "./calendar/day.js";
34
- import { CalendarMonthGrid as kt } from "./calendar/month-grid.js";
35
- import { CalendarYearGrid as At } from "./calendar/year-grid.js";
36
- import { t as jt } from "./_chunks/picker-oazJ7sO_.js";
37
- import { ResourcePickerAvatar as Mt, getResourcePickerColor as Nt, getResourcePickerForegroundColor as Pt, getResourcePickerInitials as Ft } from "./resource-picker/resource-picker-avatar.js";
38
- import { DropdownPopup as It } from "./dropdown/popup.js";
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";
41
- import { DropdownPopupContent as Bt } from "./dropdown/content.js";
42
- import { useDialogDrag as Vt } from "./dialog/dialog.preact.js";
43
- import { PreactRangeSlider as Z } from "./filter/filters/slider/preact.js";
44
- import { SingleValueSlider as Q, SliderField as Ht } from "./filter/filters/slider/single.js";
45
- import { renderStatusBadge as Ut } from "./status-feedback/badge.js";
46
- import { StatusBadge as Wt, StatusFeedbackPanel as $, renderStatusFeedbackPanel as Gt } from "./status-feedback/render.js";
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";
49
- import { BarChart as sn } from "./distribution-chart/bar-chart.js";
50
- import { LineChart as cn } from "./distribution-chart/line-chart.js";
51
- import { AreaChart as ln } from "./distribution-chart/area-chart.js";
52
- import { DistributionChart as un } from "./distribution-chart/index.js";
53
- import { BrushRange as dn } from "./brush-range/component.js";
54
- import { Legend as fn } from "./legend.js";
55
- import { HighlightedTextInput as pn, InlineFieldGroup as mn, OptionButton as hn } from "./filter-controls.js";
56
- import { TimeGrid as gn, timeGridCellKey as _n, useTimeGridInteraction as vn } from "./time-grid.js";
57
- import { fieldDropIndex as yn, reorderFields as bn } from "./field-reorder.js";
58
- import { useFieldDropTarget as xn, useFieldReorder as Sn } from "./field-reorder.hook.js";
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
- 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";
62
- import { eventOutsideRange as qn, moveTimelineEvent as Jn, niceTimelineStep as Yn, resizeTimelineEvent as Xn, timelineGeometry as Zn } from "./timeline-track/model.js";
63
- import { TimelineTrack as Qn } from "./timeline-track/index.js";
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 };
17
+ import { a as we, c as Te, i as Ee, l as De, n as Oe, o as ke, r as Ae, s as je, t as Me } from "./_chunks/dialog.parts-CKGkC5zP.js";
18
+ import { _ as Ne, a as Pe, b as Fe, c as Ie, d as Le, f as Re, g as ze, h as Be, i as Ve, l as He, m as Ue, n as We, o as Ge, p as Ke, r as qe, s as Je, t as Ye, u as Xe, x as Ze, y as Qe } from "./_chunks/request-trail-DSlFix6i.js";
19
+ import { t as $e } from "./_chunks/history-controls-B3u3INEK.js";
20
+ import { renderStatusBadge as et } from "./status-feedback/badge.js";
21
+ import { n as J, r as tt, t as nt } from "./_chunks/render-m5eMMwFR.js";
22
+ import { StatusFeedbackPopoverController as rt } from "./status-feedback/popover.js";
23
+ import { createFormField as it, createTextControl as at } from "./form-controls/index.js";
24
+ import { a as ot, c as st, d as ct, f as lt, h as ut, i as dt, l as ft, m as pt, n as mt, o as ht, p as gt, r as _t, s as vt, t as yt, u as bt } from "./_chunks/cell-visuals-E-2oEKHg.js";
25
+ import { n as Y, t as xt } from "./_chunks/color-palette-D8vyPfld.js";
26
+ import { DEFAULT_COLOR_PALETTE_OPTIONS as St } from "./color-palette/palette.js";
27
+ import { t as Ct } from "./_chunks/color-picker-CudqPYZo.js";
28
+ import { n as wt, r as Tt, t as Et } from "./_chunks/choice-chips-CHQTUdLs.js";
29
+ import { FilterBadge as Dt, FilterBadgeInfoButton as Ot } from "./filter-badge.js";
30
+ import { ActivityMessage as kt } from "./activity-message.js";
31
+ import { Checkbox as At, SHARED_CHECKBOX_CLASS as jt, renderCheckbox as Mt } from "./checkbox/index.js";
32
+ import { Switch as Nt } from "./switch/index.js";
33
+ import { SearchInput as Pt } from "./search-input/index.js";
34
+ import { DisclosureSummary as Ft, FilterChip as X, FormField as It, renderFormFieldContent as Lt } from "./form-controls/presentation.js";
35
+ import { DEFAULT_CALENDAR_TRANSLATIONS as Rt } from "./calendar/translations.js";
36
+ import { a as zt, i as Bt, n as Vt, o as Ht, r as Ut, t as Wt } from "./_chunks/model-mPO2tG2f.js";
37
+ import { CalendarHeader as Gt, CalendarWeekdays as Kt } from "./calendar/header.js";
38
+ import { t as qt } from "./_chunks/calendar-xpZ0v3xf.js";
39
+ import { CalendarDay as Jt } from "./calendar/day.js";
40
+ import { CalendarMonthGrid as Yt } from "./calendar/month-grid.js";
41
+ import { CalendarYearGrid as Xt } from "./calendar/year-grid.js";
42
+ import { t as Zt } from "./_chunks/picker-h1P5RUgp.js";
43
+ import { ResourcePickerAvatar as Qt, getResourcePickerColor as $t, getResourcePickerForegroundColor as en, getResourcePickerInitials as tn } from "./resource-picker/resource-picker-avatar.js";
44
+ import { SharedResourcePicker as Z } from "./resource-picker/resource-picker.js";
45
+ import { useDialogDrag as nn } from "./dialog/dialog.preact.js";
46
+ import { PreactRangeSlider as Q } from "./filter/filters/slider/preact.js";
47
+ import { SingleValueSlider as $, SliderField as rn } from "./filter/filters/slider/single.js";
48
+ import { a as an, c as on, d as sn, f as cn, i as ln, l as un, m as dn, o as fn, p as pn, r as mn, s as hn, t as gn, u as _n } from "./_chunks/component-C_T2VN5u.js";
49
+ import { BarChart as vn } from "./distribution-chart/bar-chart.js";
50
+ import { LineChart as yn } from "./distribution-chart/line-chart.js";
51
+ import { AreaChart as bn } from "./distribution-chart/area-chart.js";
52
+ import { DistributionChart as xn } from "./distribution-chart/index.js";
53
+ import { BrushRange as Sn } from "./brush-range/component.js";
54
+ import { Legend as Cn } from "./legend.js";
55
+ import { HighlightedTextInput as wn, InlineFieldGroup as Tn, OptionButton as En } from "./filter-controls.js";
56
+ import { TimeGrid as Dn, timeGridCellKey as On, useTimeGridInteraction as kn } from "./time-grid.js";
57
+ import { fieldDropIndex as An, reorderFields as jn } from "./field-reorder.js";
58
+ import { useFieldDropTarget as Mn, useFieldReorder as Nn } from "./field-reorder.hook.js";
59
+ import { CollapsibleSection as Pn, FieldActions as Fn, FieldContent as In, FieldDropIndicator as Ln, FieldGroup as Rn, FieldGroupHeading as zn, FieldIcon as Bn, FieldItem as Vn, FieldLibrary as Hn, FieldLibraryList as Un, FieldList as Wn, FieldRemoveButton as Gn, FieldRemoveIcon as Kn, FieldRow as qn, FieldStatusBadge as Jn, FieldSummary as Yn, SelectedField as Xn } from "./field-configurator.js";
60
+ import { ComparisonPreview as Zn, IconChoiceGroup as Qn, IconToggleButton as $n, InspectorSection as er, TypographyControls as tr } from "./formatting/index.js";
61
+ import { n as nr, t as rr } from "./_chunks/reorder-list-CSlqAGHw.js";
62
+ import { eventOutsideRange as ir, moveTimelineEvent as ar, niceTimelineStep as or, resizeTimelineEvent as sr, timelineEventBackground as cr, timelineGeometry as lr } from "./timeline-track/model.js";
63
+ import { TimelineTrack as ur } from "./timeline-track/index.js";
64
+ export { Fe as AI_UI_MESSAGES, kt as ActivityMessage, Re as AiActionStatus, Ke as AiAssistant, Ue as AiChangePreview, We as AiChat, qe as AiChatComposer, Ve as AiChatContent, Pe as AiChatEmptyState, Ge as AiMessage, Je as AiMessageActions, Ie as AiMessageContent, Be as AiPromptInput, He as AiReasoning, Ye as AiRequestTrail, ze as AiResult, Ne as AiSuggestions, Xe as AiTask, Le as AiTaskItem, Qe as AiTranslationProvider, x as Alert, bn as AreaChart, an as Avatar, pe as Badge, vn as BarChart, Sn as BrushRange, L as Button, B as ButtonGroup, qt as Calendar, Jt as CalendarDay, Gt as CalendarHeader, Yt as CalendarMonthGrid, Zt as CalendarPicker, Kt as CalendarWeekdays, Xt as CalendarYearGrid, At as Checkbox, M as Chip, Et as ChoiceChip, wt as ChoiceChipInfoButton, Tt as ChoiceChips, T as CircularProgress, Pn as CollapsibleSection, xt as ColorPalette, Ct as ColorPicker, fn as Combobox, Zn as ComparisonPreview, hn as ConfirmDialog, be as ControlTooltip, R as CountBadge, Rt as DEFAULT_CALENDAR_TRANSLATIONS, St as DEFAULT_COLOR_PALETTE_OPTIONS, V as DateInput, on as DatePicker, un as DateRangePicker, D as DateTimeInput, fe as DeleteButton, _n as Dialog, Me as DialogActionFooter, Oe as DialogActions, Ae as DialogBody, Ee as DialogCloseButton, we as DialogFooter, ke as DialogForm, je as DialogHeader, Te as DialogTitleInput, F as Disclosure, Ft as DisclosureSummary, xn as DistributionChart, ie as Dropdown, de as DropdownPopup, oe as DropdownPopupContent, De 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, me as EmptyState, J as FeedbackPanel, J as StatusFeedbackPanel, Fn as FieldActions, In as FieldContent, Ln as FieldDropIndicator, O as FieldError, Rn as FieldGroup, zn as FieldGroupHeading, k as FieldHint, Bn as FieldIcon, Vn as FieldItem, Hn as FieldLibrary, Un as FieldLibraryList, Wn as FieldList, Gn as FieldRemoveButton, Kn as FieldRemoveIcon, qn as FieldRow, Jn as FieldStatusBadge, Yn as FieldSummary, Dt as FilterBadge, Ot as FilterBadgeInfoButton, X as FilterChip, X as RemovableChip, It as FormField, z as FormSection, wn as HighlightedTextInput, $e as HistoryControls, e as Icon, e as SvgIcon, I as IconButton, Qn as IconChoiceGroup, $n as IconToggleButton, Tn as InlineFieldGroup, ae as Input, er as InspectorSection, Cn as Legend, yn as LineChart, j as LoadingOverlay, A as Menu, w as MenuItem, he as MenuSeparator, sn as MultiSelect, ve as NumberInput, E as NumberStepper, En as OptionButton, _e as Pagination, S as Panel, gn as PdfViewer, mn as PdfViewerToolbar, cn as Popover, Q as PreactRangeSlider, Q as RangeSlider, pn as ProgressBar, d as RadioGroup, ge as Rating, ne as RatingChoice, te as RatingStar, t as RemoveButton, rr as ReorderHandle, nr as ReorderList, C as ResizeHandle, Z as ResourcePicker, Z as SharedResourcePicker, Qt as ResourcePickerAvatar, jt as SHARED_CHECKBOX_CLASS, Pt as SearchInput, p as SegmentedControl, Se as SegmentedSwitch, Xn as SelectedField, $ as SingleValueSlider, $ as Slider, rn as SliderField, f as Spinner, nt as StatusBadge, rt as StatusFeedbackPopoverController, y as Submenu, xe as SvgButton, Nt as Switch, P as TabPanel, u as Tabs, N as TextInput, _ as Textarea, Dn as TimeGrid, v as TimeInput, ur as TimelineTrack, b as ToggleButton, m as Toolbar, h as ToolbarGroup, g as ToolbarSeparator, dn as Tooltip, tr as TypographyControls, ee as badgeClassName, n as controlAttributes, r as controlClassName, Wt as createCalendarMonth, i as createControl, l as createDropdownControl, it as createFormField, at as createTextControl, a as decorateIconAction, ln as defaultPdfViewerText, se as defineDropdown, re as destroyDropdown, ir as eventOutsideRange, An as fieldDropIndex, mt as formatTimelineEvents, $t as getResourcePickerColor, en as getResourcePickerForegroundColor, tn as getResourcePickerInitials, ce as getUiMotionDuration, le as inheritUiMotion, Vt as isCalendarDateDisabled, Ut as isCalendarMonthDisabled, Bt as isDateInCalendarRange, ue as isUiMotionEnabled, zt as moveCalendarFocus, ar as moveTimelineEvent, o as nativeControlTag, or as niceTimelineStep, Y as normalizeHexColor, Ht as orderCalendarRange, s as registerControl, vt as renderAggregateSummary, st as renderBadgeValue, ft as renderChange, Mt as renderCheckbox, c as renderControl, Lt as renderFormFieldContent, dt as renderHeatmap, bt as renderLabelledIcon, ot as renderMiniBarChart, ct as renderPercentageSummary, yt as renderPie, lt as renderProgressLine, gt as renderProgressLineValue, Ce as renderSegmentedSwitch, ht as renderSparkline, et as renderStatusBadge, tt as renderStatusFeedbackPanel, pt as renderThumbs, _t as renderTimeline, ut as renderTypeIcon, jn as reorderFields, sr as resizeTimelineEvent, On as timeGridCellKey, cr as timelineEventBackground, lr as timelineGeometry, Ze as translateAiText, ye as useControlTooltip, nn as useDialogDrag, Mn as useFieldDropTarget, Nn as useFieldReorder, kn 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-DZgmaic0.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
  }
@@ -1,5 +1,4 @@
1
1
  export declare const ButtonControl: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
2
2
  export declare const Input: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
3
- export declare const Select: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref"> & import('react').RefAttributes<HTMLSelectElement>>;
4
3
  export declare const TextArea: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & import('react').RefAttributes<HTMLTextAreaElement>>;
5
4
  export declare const Summary: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import('react').RefAttributes<HTMLElement>>;
package/react-control.js CHANGED
@@ -12,6 +12,6 @@ function r(r) {
12
12
  });
13
13
  return i.displayName = `Ui${r[0].toUpperCase()}${r.slice(1)}`, i;
14
14
  }
15
- var i = r("button"), a = r("input"), o = r("select"), s = r("textarea"), c = r("summary");
15
+ var i = r("button"), a = r("input"), o = r("textarea"), s = r("summary");
16
16
  //#endregion
17
- export { i as ButtonControl, a as Input, o as Select, c as Summary, s as TextArea };
17
+ export { i as ButtonControl, a as Input, s as Summary, o as TextArea };
package/react.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ReactUiComponent } from './react-adapter';
2
2
  import { NumberDraft as PreactNumberDraft } from './number-input/index';
3
3
  import { MaskedDraft as PreactMaskedDraft } from './masked-input/index';
4
4
  import { DurationField as PreactDurationField, DurationDraft as PreactDurationDraft } from './duration/index';
5
- import { MarkdownEditor as PreactMarkdownEditor } from './rich-text/index';
5
+ import { HtmlEditor as PreactHtmlEditor } from './rich-text/index';
6
6
  import { TemporalPicker as PreactTemporalPicker, TemporalDraft as PreactTemporalDraft, DateTimeField as PreactDateTimeField } from './date-time/index';
7
7
  import { AssigneePicker as PreactAssigneePicker, AssigneeField as PreactAssigneeField, AssigneePickerLayout as PreactAssigneePickerLayout } from './assignee/index';
8
8
  import * as ui from './preact';
@@ -160,17 +160,17 @@ export declare const NumberDraft: ReactUiComponent<typeof PreactNumberDraft>;
160
160
  export declare const MaskedDraft: ReactUiComponent<typeof PreactMaskedDraft>;
161
161
  export declare const DurationField: ReactUiComponent<typeof PreactDurationField>;
162
162
  export declare const DurationDraft: ReactUiComponent<typeof PreactDurationDraft>;
163
- export declare const MarkdownEditor: ReactUiComponent<typeof PreactMarkdownEditor>;
163
+ export declare const HtmlEditor: ReactUiComponent<typeof PreactHtmlEditor>;
164
164
  export declare const TemporalPicker: ReactUiComponent<typeof PreactTemporalPicker>;
165
165
  export declare const TemporalDraft: ReactUiComponent<typeof PreactTemporalDraft>;
166
166
  export declare const DateTimeField: ReactUiComponent<typeof PreactDateTimeField>;
167
167
  export declare const AssigneePicker: ReactUiComponent<typeof PreactAssigneePicker>;
168
168
  export declare const AssigneeField: ReactUiComponent<typeof PreactAssigneeField>;
169
169
  export declare const AssigneePickerLayout: ReactUiComponent<typeof PreactAssigneePickerLayout>;
170
- export { NativeSelect } from './react-native-select';
171
170
  export declare const AiPromptInput: ReactUiComponent<typeof ui.AiPromptInput>;
172
171
  export declare const AiSuggestions: ReactUiComponent<typeof ui.AiSuggestions>;
173
172
  export declare const AiActionStatus: ReactUiComponent<typeof ui.AiActionStatus>;
173
+ export declare const AiChangePreview: ReactUiComponent<typeof ui.AiChangePreview>;
174
174
  export declare const AiResult: ReactUiComponent<typeof ui.AiResult>;
175
175
  export declare const AiAssistant: ReactUiComponent<typeof ui.AiAssistant>;
176
176
  export declare const AiRequestTrail: ReactUiComponent<typeof ui.AiRequestTrail>;
@@ -180,3 +180,13 @@ export type { PdfViewerToolbarProps } from './pdf-viewer/toolbar';
180
180
  export type { PdfViewerButton, PdfViewerButtonOptions, PdfViewerToolbarOptions, PdfViewerToolbarConfig } from './pdf-viewer/toolbar-options';
181
181
  export type { PdfViewerProps, PdfViewerText } from './pdf-viewer/component';
182
182
  export { defaultPdfViewerText } from './pdf-viewer/translations';
183
+ export declare const AiChat: ReactUiComponent<typeof ui.AiChat>;
184
+ export declare const AiChatContent: ReactUiComponent<typeof ui.AiChatContent>;
185
+ export declare const AiChatComposer: ReactUiComponent<typeof ui.AiChatComposer>;
186
+ export declare const AiChatEmptyState: ReactUiComponent<typeof ui.AiChatEmptyState>;
187
+ export declare const AiMessage: ReactUiComponent<typeof ui.AiMessage>;
188
+ export declare const AiMessageContent: ReactUiComponent<typeof ui.AiMessageContent>;
189
+ export declare const AiMessageActions: ReactUiComponent<typeof ui.AiMessageActions>;
190
+ export declare const AiReasoning: ReactUiComponent<typeof ui.AiReasoning>;
191
+ export declare const AiTask: ReactUiComponent<typeof ui.AiTask>;
192
+ export declare const AiTaskItem: ReactUiComponent<typeof ui.AiTaskItem>;