@revolist/ui 4.0.4-rc → 4.0.4

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 (401) hide show
  1. package/MIGRATION.md +36 -0
  2. package/OWNERSHIP.md +36 -36
  3. package/README.md +65 -392
  4. package/_button.scss +6 -2
  5. package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
  6. package/_chunks/calculator-CDWOuAcp.js +4 -0
  7. package/_chunks/{calendar-xpZ0v3xf.js → calendar-BQYQLu8Q.js} +23 -23
  8. package/_chunks/{cell-visuals-E-2oEKHg.js → cell-visuals-r6DOOhGh.js} +7 -7
  9. package/_chunks/chart-frame-GprenwEg.js +145 -0
  10. package/_chunks/{chevron-right-sxHQMSkq.js → check-BwI7iCAm.js} +2 -2
  11. package/_chunks/{chevron-left-D0nc4Z5S.js → chevron-right-CM3ljziP.js} +2 -2
  12. package/_chunks/choice-chips-C5OxD0GV.js +126 -0
  13. package/_chunks/{color-palette-D8vyPfld.js → color-palette-7siNch__.js} +22 -24
  14. package/_chunks/color-picker-Cfc9eqZb.js +143 -0
  15. package/_chunks/{component-C_T2VN5u.js → component-C3k_8uIq.js} +290 -275
  16. package/_chunks/{component-metadata-BMOOmqx5.js → component-metadata-DlVkpW3h.js} +1 -9
  17. package/_chunks/configurator-actions-vRnI54mO.js +155 -0
  18. package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
  19. package/_chunks/control-BRfF5DWQ.js +118 -0
  20. package/_chunks/{controller-hRBm_Lfz.js → controller-BbiQuRt-.js} +5 -5
  21. package/_chunks/controls-B3EgM_DS.js +650 -0
  22. package/_chunks/{date-control-DrVFX13g.js → date-control-87dcA5br.js} +5 -5
  23. package/_chunks/{date-time-qIhp5vaX.js → date-time-CfiFYodx.js} +332 -293
  24. package/_chunks/{delete-button-CW9vjLnk.js → delete-button-jneO24wa.js} +1 -1
  25. package/_chunks/dialog.parts-NqEEVc9P.js +131 -0
  26. package/_chunks/{duration-CL68Em0o.js → duration-BGZ_qJ99.js} +10 -10
  27. package/_chunks/{editor-commit-Bq3wSgvr.js → editor-commit-Dyo-FMgD.js} +1 -1
  28. package/_chunks/editor-popup-NNP9Fh9U.js +82 -0
  29. package/_chunks/field-configurator-DPulsY3l.js +288 -0
  30. package/_chunks/{field-context-D57PnBbH.js → field-context-C4_WrO2z.js} +1 -1
  31. package/_chunks/{framework-mount--RTLIqE-.js → framework-mount-D4I8HpVp.js} +2 -2
  32. package/_chunks/icon-toolbar-BAAdEvr9.js +134 -0
  33. package/_chunks/{icons-Ci5mADVc.js → icons-B4qN13Yj.js} +1 -1
  34. package/_chunks/{iso-B0YHBK7m.js → iso-CJQl2kmq.js} +1 -1
  35. package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
  36. package/_chunks/minus-BOAR3A1C.js +4 -0
  37. package/_chunks/{model-mPO2tG2f.js → model-CFrBgRHm.js} +3 -3
  38. package/_chunks/mount-C8CnIW9k.js +267 -0
  39. package/_chunks/{native.view-ByyZ1CT5.js → native-CJm3eq3-.js} +1 -1
  40. package/_chunks/native-control-um1L1wgZ.js +649 -0
  41. package/_chunks/{number-input-BKwA5FnM.js → number-input-CKiA4d1N.js} +9 -9
  42. package/_chunks/{picker-h1P5RUgp.js → picker-igNshTRC.js} +5 -5
  43. package/_chunks/plus-CbGRkIGl.js +4 -0
  44. package/_chunks/{popup-CT2uD3go.js → popup-DECYM9FI.js} +116 -105
  45. package/_chunks/{rating-choice-DZgmaic0.js → rating-choice-CepVfGUq.js} +2 -2
  46. package/_chunks/{render-m5eMMwFR.js → render-bTk3curw.js} +2 -2
  47. package/_chunks/{reorder-list-CSlqAGHw.js → reorder-list-B4w3aARt.js} +2 -2
  48. package/_chunks/request-trail-B1zVRPEf.js +762 -0
  49. package/_chunks/rich-text-Ci4d6dHn.js +842 -0
  50. package/_chunks/rotate-left-BF6G883o.js +4 -0
  51. package/_chunks/selection-list-tooltips-m00U3L6z.js +42 -0
  52. package/_chunks/title-tooltip-ncldbUwS.js +11 -0
  53. package/_chunks/tooltip-h-Z8yFBY.js +54 -0
  54. package/_chunks/tooltip-owner-BYho-vJl.js +19 -0
  55. package/_chunks/tooltip-session-CBtRMBPr.js +110 -0
  56. package/_chunks/tooltip-text-BN5WdGHn.js +12 -0
  57. package/_chunks/top-layer-popup-CKJ7VJOF.js +59 -0
  58. package/_dialog.scss +57 -22
  59. package/_form.scss +71 -21
  60. package/_legend.scss +25 -7
  61. package/_variables.scss +34 -32
  62. package/_view-switcher.scss +6 -0
  63. package/activity-message.d.ts +1 -1
  64. package/activity-message.js +1 -1
  65. package/ai/_chat.scss +35 -3
  66. package/ai/_style.scss +76 -16
  67. package/ai/chat.d.ts +3 -1
  68. package/ai/components.d.ts +16 -3
  69. package/ai/index.d.ts +1 -0
  70. package/ai/index.js +3 -3
  71. package/ai/mount.d.ts +30 -6
  72. package/ai/request-trail.d.ts +9 -3
  73. package/ai/results/_style.scss +83 -0
  74. package/ai/results/index.d.ts +11 -0
  75. package/ai/results/metrics.d.ts +5 -0
  76. package/ai/results/table.d.ts +5 -0
  77. package/ai/results/text.d.ts +5 -0
  78. package/ai/results/types.d.ts +29 -0
  79. package/ai/transcript.d.ts +2 -0
  80. package/ai/translations.d.ts +1 -1
  81. package/angular/angular.d.ts +1 -1
  82. package/angular/angular.js +13 -7
  83. package/assignee/assignee.scss +28 -6
  84. package/assignee/index.js +6 -6
  85. package/avatar/avatar.style.scss +23 -6
  86. package/avatar/index.d.ts +25 -2
  87. package/avatar/index.js +33 -32
  88. package/badge.d.ts +1 -1
  89. package/badge.js +1 -1
  90. package/badge.view.d.ts +8 -0
  91. package/brush-range/_brush-range.scss +55 -49
  92. package/brush-range/component.d.ts +1 -3
  93. package/brush-range/component.js +28 -28
  94. package/buttons/delete-button.js +1 -1
  95. package/buttons/delete-button.style.scss +6 -2
  96. package/buttons/remove-button.d.ts +1 -1
  97. package/buttons/remove-button.js +2 -2
  98. package/buttons/remove-button.style.scss +1 -1
  99. package/buttons/svg-button.d.ts +1 -1
  100. package/buttons/svg-button.js +17 -17
  101. package/calendar/_calendar.scss +21 -25
  102. package/calendar/calendar.js +1 -1
  103. package/calendar/day.js +2 -2
  104. package/calendar/header.js +2 -3
  105. package/calendar/index.js +3 -3
  106. package/calendar/model.js +1 -1
  107. package/calendar/month-grid.js +2 -2
  108. package/calendar/translations.js +1 -1
  109. package/calendar/year-grid.js +2 -2
  110. package/cell-input.js +1 -1
  111. package/cell-input.scss +3 -7
  112. package/cell-visuals/badge.style.scss +6 -3
  113. package/cell-visuals/bar-chart.style.scss +2 -1
  114. package/cell-visuals/column-type.style.css +12 -0
  115. package/cell-visuals/index.js +1 -1
  116. package/cell-visuals/progress-line-value.renderer.style.scss +4 -2
  117. package/cell-visuals/progress-line.style.scss +1 -4
  118. package/cell-visuals/sparkline.style.scss +2 -1
  119. package/cell-visuals/timeline.style.css +4 -2
  120. package/checkbox/checkbox.scss +6 -24
  121. package/checkbox/index.js +1 -1
  122. package/choice-chips/index.d.ts +3 -1
  123. package/choice-chips/index.js +1 -1
  124. package/color-palette/built-in-palettes.js +1 -1
  125. package/color-palette/chart-palettes.js +1 -1
  126. package/color-palette/color-palette.js +1 -1
  127. package/color-palette/color-palette.style.scss +88 -25
  128. package/color-palette/color-picker.constants.js +1 -1
  129. package/color-palette/color-picker.js +2 -2
  130. package/color-palette/color-picker.style.scss +23 -10
  131. package/color-palette/common-palettes.d.ts +1 -1
  132. package/color-palette/common-palettes.js +2 -2
  133. package/color-palette/gantt-palettes.js +1 -1
  134. package/color-palette/native.d.ts +15 -2
  135. package/color-palette/palette.js +1 -1
  136. package/color-palette/pivot-palettes.js +1 -1
  137. package/color-palette/platform-palettes.js +1 -1
  138. package/color-palette/pro-palettes.js +1 -1
  139. package/color-palette/scheduler-palettes.js +1 -1
  140. package/component-catalog.d.ts +9 -7
  141. package/configurator-actions.d.ts +67 -0
  142. package/configurator-actions.js +1 -0
  143. package/configurator-aggregation-list.d.ts +14 -0
  144. package/configurator-aggregation-list.js +63 -0
  145. package/configurator-drop-zone.d.ts +39 -0
  146. package/configurator-drop-zone.js +66 -0
  147. package/configurator-field-icon.d.ts +10 -0
  148. package/configurator-field-icon.js +1 -0
  149. package/configurator-focus.d.ts +4 -0
  150. package/configurator-focus.js +39 -0
  151. package/configurator-sections.d.ts +42 -0
  152. package/configurator-sections.js +71 -0
  153. package/control-attributes.js +1 -1
  154. package/control-presentation.d.ts +8 -2
  155. package/control-presentation.js +25 -20
  156. package/controls.d.ts +12 -2
  157. package/controls.js +4 -3
  158. package/core/anchored-popover.js +1 -1
  159. package/core/control-id.js +1 -1
  160. package/core/editor-popup-position.d.ts +6 -2
  161. package/core/editor-popup.d.ts +4 -0
  162. package/core/editor-popup.js +1 -1
  163. package/core/motion.js +1 -1
  164. package/core/popover-controller.d.ts +35 -0
  165. package/core/popover-controller.js +102 -0
  166. package/core/popup-ownership.d.ts +2 -0
  167. package/core/selection-list-tooltips.d.ts +2 -0
  168. package/core/title-tooltip.d.ts +2 -0
  169. package/core/tooltip-session.d.ts +29 -0
  170. package/core/tooltip-surface.d.ts +13 -0
  171. package/core/tooltip-text.d.ts +6 -0
  172. package/core/tooltip.d.ts +35 -0
  173. package/core/top-layer-popup.d.ts +4 -0
  174. package/core/top-layer-popup.js +1 -23
  175. package/date-time/attach.d.ts +1 -1
  176. package/date-time/date-control.d.ts +1 -1
  177. package/date-time/field.d.ts +4 -2
  178. package/date-time/index.js +1 -1
  179. package/date-time/style.scss +239 -36
  180. package/date-time/time-selection.d.ts +3 -1
  181. package/date-time/types.d.ts +5 -1
  182. package/dialog/dialog-action-footer.d.ts +17 -2
  183. package/dialog/dialog.dom.d.ts +15 -2
  184. package/dialog/dialog.dom.js +9 -9
  185. package/dialog/dialog.drag.js +1 -1
  186. package/dialog/dialog.parts.d.ts +1 -1
  187. package/dialog/dialog.parts.js +1 -1
  188. package/dialog/dialog.preact.js +1 -1
  189. package/distribution-chart/_distribution-chart.scss +113 -77
  190. package/distribution-chart/area-chart.js +2 -2
  191. package/distribution-chart/bar-chart.js +2 -2
  192. package/distribution-chart/chart-frame.d.ts +1 -1
  193. package/distribution-chart/index.d.ts +1 -1
  194. package/distribution-chart/index.js +1 -1
  195. package/distribution-chart/line-chart.js +2 -2
  196. package/dropdown/content.js +1 -1
  197. package/dropdown/control.js +1 -1
  198. package/dropdown/dropdown.service.js +1 -1
  199. package/dropdown/dropdown.types.d.ts +1 -1
  200. package/dropdown/editor-dropdown.style.scss +19 -9
  201. package/dropdown/index.js +2 -2
  202. package/dropdown/lookup-field.d.ts +5 -0
  203. package/dropdown/lookup-field.js +4 -3
  204. package/dropdown/popup.d.ts +2 -2
  205. package/dropdown/popup.js +1 -1
  206. package/duration/index.js +1 -1
  207. package/editor-actions.js +2 -2
  208. package/editor-layout/index.d.ts +4 -4
  209. package/editor-layout/index.js +40 -35
  210. package/editor-layout/style.scss +82 -18
  211. package/favicon.svg +9 -0
  212. package/field-configurator.d.ts +39 -1
  213. package/field-configurator.js +4 -170
  214. package/field-expansion.d.ts +9 -0
  215. package/field-reorder.hook.js +1 -1
  216. package/field-reorder.js +1 -1
  217. package/filter/filters/slider/_single-slider.scss +57 -38
  218. package/filter/filters/slider/_slider.scss +41 -33
  219. package/filter/filters/slider/component.js +1 -1
  220. package/filter/filters/slider/control.js +3 -1
  221. package/filter/filters/slider/inputs.js +1 -1
  222. package/filter/filters/slider/logic.js +1 -1
  223. package/filter/filters/slider/preact.js +1 -1
  224. package/filter/filters/slider/runtime.js +50 -23
  225. package/filter/filters/slider/single.js +2 -2
  226. package/filter-badge.js +2 -2
  227. package/filter-controls.d.ts +0 -1
  228. package/filter-controls.js +6 -7
  229. package/form-controls/index.d.ts +10 -2
  230. package/form-controls/index.js +7 -7
  231. package/form-controls/presentation.d.ts +1 -1
  232. package/form-controls/presentation.js +13 -13
  233. package/formatting/index.d.ts +1 -1
  234. package/formatting/index.js +26 -25
  235. package/formatting/styles.scss +14 -57
  236. package/framework.js +228 -225
  237. package/history-controls.js +27 -1
  238. package/html-controls.js +1 -1
  239. package/icon-toolbar.d.ts +62 -0
  240. package/icon-toolbar.js +1 -0
  241. package/icons/icon.d.ts +1 -1
  242. package/icons/icon.js +1 -1
  243. package/legend.d.ts +1 -1
  244. package/legend.js +1 -1
  245. package/masked-input/index.js +4 -4
  246. package/native-control.d.ts +1 -2
  247. package/native-control.js +1 -1
  248. package/native-controls.d.ts +54 -2
  249. package/native-styles.css +1 -1
  250. package/native-styles.scss +6 -2
  251. package/native.d.ts +3 -3
  252. package/native.js +48 -45
  253. package/number-input/index.d.ts +1 -1
  254. package/number-input/index.js +1 -1
  255. package/package.json +84 -1
  256. package/pagination.js +12 -12
  257. package/pdf-viewer/controller.js +1 -1
  258. package/pdf-viewer/header.d.ts +1 -1
  259. package/pdf-viewer/index.d.ts +2 -2
  260. package/pdf-viewer/index.js +3 -3
  261. package/pdf-viewer/search-bar.d.ts +1 -1
  262. package/pdf-viewer/status.d.ts +1 -1
  263. package/pdf-viewer/style.scss +203 -42
  264. package/pickers.d.ts +5 -1
  265. package/preact-mount.js +1 -1
  266. package/preact.d.ts +13 -10
  267. package/preact.js +109 -64
  268. package/progress/_bar.scss +9 -3
  269. package/progress/_circular.scss +2 -1
  270. package/progress/bar.js +1 -1
  271. package/progress/circular.js +1 -1
  272. package/progress/range.js +1 -1
  273. package/rating-choice.js +1 -1
  274. package/react-adapter.d.ts +4 -2
  275. package/react-control.d.ts +2 -0
  276. package/react-control.js +3 -3
  277. package/react.d.ts +7 -8
  278. package/react.js +69 -68
  279. package/reorder-list.d.ts +1 -1
  280. package/reorder-list.js +1 -1
  281. package/reorder-list.scss +59 -17
  282. package/resource-picker/resource-picker-avatar.js +1 -1
  283. package/resource-picker/resource-picker-option.js +1 -1
  284. package/resource-picker/resource-picker-popup.js +2 -2
  285. package/resource-picker/resource-picker.js +75 -73
  286. package/resource-picker/resource-picker.scss +62 -34
  287. package/resource-picker/resource-picker.utils.js +1 -1
  288. package/rich-text/engine.d.ts +1 -0
  289. package/rich-text/format-html.d.ts +2 -0
  290. package/rich-text/index.d.ts +4 -0
  291. package/rich-text/index.js +1 -1
  292. package/rich-text/model.d.ts +2 -0
  293. package/rich-text/style.scss +293 -44
  294. package/rich-text/syntax.d.ts +5 -0
  295. package/rich-text/toolbar.d.ts +1 -1
  296. package/rich-text/translations.d.ts +2 -0
  297. package/robots.txt +4 -0
  298. package/search-input/index.js +2 -2
  299. package/search-input/native.d.ts +21 -2
  300. package/segmented-switch/index.js +1 -1
  301. package/select.d.ts +3 -1
  302. package/select.js +1 -1
  303. package/selection-list.d.ts +1 -0
  304. package/selection-list.js +3 -1
  305. package/status-feedback/badge.js +2 -2
  306. package/status-feedback/exit-snapshot.js +5 -5
  307. package/status-feedback/header.js +2 -2
  308. package/status-feedback/icons.js +1 -1
  309. package/status-feedback/index.js +1 -1
  310. package/status-feedback/item.js +2 -2
  311. package/status-feedback/motion.js +1 -1
  312. package/status-feedback/placement.js +1 -1
  313. package/status-feedback/popover.js +5 -5
  314. package/status-feedback/render.js +1 -1
  315. package/status-feedback/status-feedback.scss +124 -35
  316. package/styles/_activity-message.scss +24 -7
  317. package/styles/_alert.scss +78 -17
  318. package/styles/_cell-editor-frame.scss +11 -0
  319. package/styles/_compositions.scss +400 -80
  320. package/styles/_control.scss +30 -8
  321. package/styles/_disclosure.scss +15 -5
  322. package/styles/_editor-counter.scss +16 -6
  323. package/styles/_editor-slider.scss +8 -4
  324. package/styles/_field-configurator.scss +321 -23
  325. package/styles/_fields-grid.scss +49 -0
  326. package/styles/_filter-controls.scss +10 -2
  327. package/styles/_icon-action.scss +48 -15
  328. package/styles/_loading.scss +12 -3
  329. package/styles/_motion.scss +32 -9
  330. package/styles/_palette.scss +0 -24
  331. package/styles/_primitives.scss +369 -110
  332. package/styles/_theme.scss +130 -86
  333. package/styles/_thresholds.scss +28 -25
  334. package/styles/_time-grid.scss +8 -3
  335. package/styles/_tokens.scss +6 -1
  336. package/styles/color-roles.js +1 -1
  337. package/styles/configurator-actions.scss +241 -0
  338. package/styles/pagination.css +213 -0
  339. package/styles/{legacy-rating.css → rating.css} +8 -3
  340. package/styles.css +1 -1
  341. package/styles.scss +3 -5
  342. package/surfaces.d.ts +38 -2
  343. package/surfaces.js +37 -134
  344. package/svelte/UiComponent.svelte +44 -11
  345. package/svelte-control.js +1 -1
  346. package/svelte.d.ts +1 -1
  347. package/svelte.js +5 -5
  348. package/switch/index.js +16 -15
  349. package/time-grid.d.ts +0 -1
  350. package/time-grid.js +39 -38
  351. package/timeline-track/_style.scss +96 -24
  352. package/timeline-track/index.js +3 -3
  353. package/timeline-track/model.js +1 -1
  354. package/ui.css +1 -1
  355. package/view-switcher.d.ts +23 -0
  356. package/vue-badge.js +1 -1
  357. package/vue-control.js +1 -1
  358. package/vue-segmented-switch.js +1 -1
  359. package/vue.d.ts +29 -32
  360. package/vue.js +118 -123
  361. package/_chunks/chart-frame-Cmc7xU1i.js +0 -130
  362. package/_chunks/choice-chips-CHQTUdLs.js +0 -110
  363. package/_chunks/color-picker-CudqPYZo.js +0 -138
  364. package/_chunks/control-AHKXD5Eu.js +0 -93
  365. package/_chunks/control-tooltip-uscKfAnV.js +0 -100
  366. package/_chunks/controls-DsNi8V8I.js +0 -630
  367. package/_chunks/dialog.parts-CKGkC5zP.js +0 -134
  368. package/_chunks/editor-popup-WDdtVDNA.js +0 -81
  369. package/_chunks/history-controls-B3u3INEK.js +0 -27
  370. package/_chunks/mount-DQ1cpppK.js +0 -257
  371. package/_chunks/native-control-C_yok8_-.js +0 -605
  372. package/_chunks/request-trail-DSlFix6i.js +0 -618
  373. package/_chunks/rich-text-CH7gIqOS.js +0 -636
  374. package/_shared/data-query/binding.d.ts +0 -30
  375. package/_shared/data-query/blocks.d.ts +0 -30
  376. package/_shared/data-query/commands.d.ts +0 -47
  377. package/_shared/data-query/contracts.d.ts +0 -106
  378. package/_shared/data-query/cursor-reader.d.ts +0 -25
  379. package/_shared/data-query/direct-binding.d.ts +0 -3
  380. package/_shared/data-query/index.d.ts +0 -23
  381. package/_shared/data-query/infinite-binding.d.ts +0 -18
  382. package/_shared/data-query/keys.d.ts +0 -9
  383. package/_shared/data-query/limiter.d.ts +0 -12
  384. package/_shared/data-query/load-options.d.ts +0 -25
  385. package/_shared/data-query/materialize.d.ts +0 -2
  386. package/_shared/data-query/policy.d.ts +0 -14
  387. package/_shared/data-query/provider-queries.d.ts +0 -22
  388. package/_shared/data-query/reader.d.ts +0 -23
  389. package/_shared/data-query/remote-load.d.ts +0 -7
  390. package/_shared/data-query/source.d.ts +0 -40
  391. package/avatar/index.view.d.ts +0 -25
  392. package/color-palette/native.view.d.ts +0 -15
  393. package/control-presentation.view.d.ts +0 -8
  394. package/dialog/dialog-action-footer.view.d.ts +0 -20
  395. package/dialog/dialog.dom.view.d.ts +0 -15
  396. package/form-controls/index.view.d.ts +0 -10
  397. package/formatting/control-tooltip.d.ts +0 -27
  398. package/native-controls.view.d.ts +0 -54
  399. package/search-input/native.view.d.ts +0 -21
  400. package/styles/legacy-pagination.css +0 -112
  401. package/surfaces.view.d.ts +0 -63
@@ -113,15 +113,21 @@
113
113
  gap: 0;
114
114
  }
115
115
 
116
- revo-grid .rv-context-menu .rv-color-palette-menu__swatch-item[aria-checked='true'] {
116
+ revo-grid
117
+ .rv-context-menu
118
+ .rv-color-palette-menu__swatch-item[aria-checked='true'] {
117
119
  min-height: 32px;
118
120
  margin: 0;
119
121
  padding: 2px;
120
122
  background: transparent;
121
123
  }
122
124
 
123
- revo-grid .rv-context-menu .rv-color-palette-menu__swatch-item[aria-checked='true']:hover,
124
- revo-grid .rv-context-menu .rv-color-palette-menu__swatch-item[aria-checked='true']:focus-visible {
125
+ revo-grid
126
+ .rv-context-menu
127
+ .rv-color-palette-menu__swatch-item[aria-checked='true']:hover,
128
+ revo-grid
129
+ .rv-context-menu
130
+ .rv-color-palette-menu__swatch-item[aria-checked='true']:focus-visible {
125
131
  background: var(--rv-context-menu-hover-bg-color, #eef1f5);
126
132
  }
127
133
 
@@ -209,9 +215,13 @@ revo-grid .rv-context-menu .rv-color-palette-menu__swatch-item[aria-checked='tru
209
215
  grid-template-columns: repeat(5, 28px);
210
216
  gap: 12px 18px;
211
217
  }
212
- .rv-color-palette__swatches { display: contents; }
218
+ .rv-color-palette__swatches {
219
+ display: contents;
220
+ }
213
221
  .rv-color-palette__swatch,
214
- .rv-color-palette-menu__swatch { border-radius: 8px; }
222
+ .rv-color-palette-menu__swatch {
223
+ border-radius: 8px;
224
+ }
215
225
  .rv-color-palette__swatch[aria-checked='true'] {
216
226
  border-color: var(--rv-color-palette-surface);
217
227
  outline: 2px solid var(--rv-color-palette-accent);
@@ -222,46 +232,99 @@ revo-grid .rv-context-menu .rv-color-palette-menu__swatch-item[aria-checked='tru
222
232
  }
223
233
  .rv-color-palette__default {
224
234
  position: relative;
225
- width: 28px; height: 28px; min-height: 28px;
226
- padding: 0; border-radius: 8px;
235
+ width: 28px;
236
+ height: 28px;
237
+ min-height: 28px;
238
+ padding: 0;
239
+ border-radius: 8px;
227
240
  background: var(--rv-color-palette-surface);
228
241
  &::before {
229
- content: ''; position: absolute; inset: 3px;
230
- background: linear-gradient(45deg, transparent calc(50% - 1px), var(--rv-color-palette-border) 50%, transparent calc(50% + 1px));
242
+ content: '';
243
+ position: absolute;
244
+ inset: 3px;
245
+ background: linear-gradient(
246
+ 45deg,
247
+ transparent calc(50% - 1px),
248
+ var(--rv-color-palette-border) 50%,
249
+ transparent calc(50% + 1px)
250
+ );
231
251
  }
232
- &[aria-checked='true'] { outline: 2px solid var(--rv-color-palette-accent); outline-offset: 2px; }
252
+ &[aria-checked='true'] {
253
+ outline: 2px solid var(--rv-color-palette-accent);
254
+ outline-offset: 2px;
255
+ }
256
+ }
257
+ .rv-color-palette__default-check {
258
+ display: none;
233
259
  }
234
- .rv-color-palette__default-check { display: none; }
235
260
  .rv-color-palette__default-label {
236
- position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
237
- overflow: hidden; clip-path: inset(50%); white-space: nowrap;
261
+ position: absolute;
262
+ width: 1px;
263
+ height: 1px;
264
+ padding: 0;
265
+ margin: -1px;
266
+ overflow: hidden;
267
+ clip-path: inset(50%);
268
+ white-space: nowrap;
238
269
  }
239
270
  @media (max-width: 520px) {
240
- .rv-color-palette { grid-template-columns: repeat(5, 32px); }
241
- .rv-color-palette__default { width: 32px; height: 32px; min-height: 32px; }
271
+ .rv-color-palette {
272
+ grid-template-columns: repeat(5, 32px);
273
+ }
274
+ .rv-color-palette__default {
275
+ width: 32px;
276
+ height: 32px;
277
+ min-height: 32px;
278
+ }
242
279
  }
243
280
 
244
281
  .rv-color-palette-menu[aria-expanded='true'] > .rv-context-menu__submenu {
245
- grid-template-columns: repeat(5, 32px); gap: 10px 14px; width: 240px;
282
+ grid-template-columns: repeat(5, 32px);
283
+ gap: 10px 14px;
284
+ width: 242px;
246
285
  }
247
286
  .rv-color-palette-menu__default-item {
248
- grid-column: auto; width: 32px; min-width: 32px; min-height: 32px;
249
- margin: 0; padding: 2px !important; background: transparent;
287
+ grid-column: auto;
288
+ width: 32px;
289
+ min-width: 32px;
290
+ min-height: 32px;
291
+ margin: 0;
292
+ padding: 2px !important;
293
+ background: transparent;
250
294
  }
251
295
  .rv-color-palette-menu__default-content {
252
- position: relative; width: 28px; height: 28px; border: 1px solid var(--rv-ui-border);
253
- border-radius: 8px; box-sizing: border-box;
254
- &::before { content: ''; position: absolute; inset: 3px; background: linear-gradient(45deg, transparent calc(50% - 1px), var(--rv-ui-border) 50%, transparent calc(50% + 1px)); }
255
- > span { display: none; }
296
+ position: relative;
297
+ width: 28px;
298
+ height: 28px;
299
+ border: 1px solid var(--rv-ui-border);
300
+ border-radius: 8px;
301
+ box-sizing: border-box;
302
+ &::before {
303
+ content: '';
304
+ position: absolute;
305
+ inset: 3px;
306
+ background: linear-gradient(
307
+ 45deg,
308
+ transparent calc(50% - 1px),
309
+ var(--rv-ui-border) 50%,
310
+ transparent calc(50% + 1px)
311
+ );
312
+ }
313
+ > span {
314
+ display: none;
315
+ }
256
316
  }
257
- .rv-color-palette-menu__default-item[aria-checked='true'] .rv-color-palette-menu__default-content {
258
- outline: 2px solid var(--rv-ui-accent); outline-offset: 2px;
317
+ .rv-color-palette-menu__default-item[aria-checked='true']
318
+ .rv-color-palette-menu__default-content {
319
+ outline: 2px solid var(--rv-ui-accent);
320
+ outline-offset: 2px;
259
321
  }
260
322
 
261
323
  // Swatch fills and checked outlines remain exact; soften only hover borders/disabled state.
262
324
  .rv-color-palette__swatch,
263
325
  .rv-color-palette__default {
264
326
  transition:
265
- border-color var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out),
327
+ border-color var(--rv-ui-motion-fast, 120ms)
328
+ var(--rv-ui-motion-ease, ease-out),
266
329
  opacity var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out);
267
330
  }
@@ -1,5 +1,5 @@
1
1
  import { commonColors as e } from "./common-palettes.js";
2
- //#region src/color-palette/color-picker.constants.ts
2
+ //#region package/color-palette/color-picker.constants.ts
3
3
  var t = e.blue600, n = 7;
4
4
  //#endregion
5
5
  export { t as COLOR_PICKER_DEFAULT_COLOR, n as COLOR_PICKER_HEX_LENGTH };
@@ -1,3 +1,3 @@
1
- import { n as e } from "../_chunks/color-palette-D8vyPfld.js";
2
- import { t } from "../_chunks/color-picker-CudqPYZo.js";
1
+ import { n as e } from "../_chunks/color-palette-7siNch__.js";
2
+ import { t } from "../_chunks/color-picker-Cfc9eqZb.js";
3
3
  export { t as ColorPicker, e as normalizeHexColor };
@@ -58,8 +58,11 @@
58
58
  height: 14px;
59
59
  }
60
60
 
61
- .rv-format-color-picker__trigger-swatch--empty .rv-format-color-picker__empty-icon,
62
- .rv-format-color-picker__trigger-swatch--empty .rv-format-color-picker__empty-icon svg {
61
+ .rv-format-color-picker__trigger-swatch--empty
62
+ .rv-format-color-picker__empty-icon,
63
+ .rv-format-color-picker__trigger-swatch--empty
64
+ .rv-format-color-picker__empty-icon
65
+ svg {
63
66
  display: inline-flex;
64
67
  }
65
68
 
@@ -86,14 +89,18 @@
86
89
  max-height: calc(100dvh - 24px);
87
90
  margin: 6px 0 0;
88
91
  padding: 12px;
89
- border: 1px solid var(--rv-format-divider, var(--rv-dialog-border, var(--rv-ui-border)));
92
+ border: 1px solid
93
+ var(--rv-format-divider, var(--rv-dialog-border, var(--rv-ui-border)));
90
94
  border-radius: 10px;
91
95
  background: var(--rv-dialog-bg, var(--rv-ui-surface-elevated));
92
96
  color: var(--rv-dialog-color, var(--rv-ui-text));
93
97
  box-shadow: 0 16px 36px var(--rv-ui-shadow);
94
98
  overflow: auto;
95
99
  scrollbar-gutter: stable;
96
- position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
100
+ position-try-fallbacks:
101
+ flip-block,
102
+ flip-inline,
103
+ flip-block flip-inline;
97
104
  }
98
105
 
99
106
  .rv-format-color-picker__custom-action {
@@ -106,7 +113,8 @@
106
113
  margin: 12px -12px -12px;
107
114
  padding: 9px 12px;
108
115
  border: 0;
109
- border-top: 1px solid var(--rv-format-divider, var(--rv-dialog-border, var(--rv-ui-border)));
116
+ border-top: 1px solid
117
+ var(--rv-format-divider, var(--rv-dialog-border, var(--rv-ui-border)));
110
118
  border-radius: 0 0 10px 10px;
111
119
  background: transparent;
112
120
  color: var(--rv-ui-accent-text, var(--rv-ui-accent));
@@ -166,26 +174,31 @@
166
174
  .rv-format-color-picker__custom-action:disabled,
167
175
  .rv-format-color-picker__native:disabled {
168
176
  cursor: default;
169
- opacity: .55;
177
+ opacity: 0.55;
170
178
  }
171
179
 
172
180
  .rv-format-color-picker__custom-controls[data-selection-only] {
173
181
  grid-template-columns: minmax(0, 1fr);
174
182
  }
175
183
 
176
- .rv-format-color-picker__custom-controls[data-selection-only] .rv-format-color-picker__native {
184
+ .rv-format-color-picker__custom-controls[data-selection-only]
185
+ .rv-format-color-picker__native {
177
186
  width: 100%;
178
187
  }
179
188
 
180
189
  @media (max-width: 520px) {
181
- .rv-format-color-picker__popover { min-width: 258px; }
190
+ .rv-format-color-picker__popover {
191
+ min-width: 258px;
192
+ }
182
193
  }
183
194
 
184
195
  .rv-format-color-picker__trigger,
185
196
  .rv-format-color-picker__custom-action {
186
197
  transition:
187
- background-color var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out),
188
- border-color var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out),
198
+ background-color var(--rv-ui-motion-fast, 120ms)
199
+ var(--rv-ui-motion-ease, ease-out),
200
+ border-color var(--rv-ui-motion-fast, 120ms)
201
+ var(--rv-ui-motion-ease, ease-out),
189
202
  opacity var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out);
190
203
  }
191
204
 
@@ -737,5 +737,5 @@ export declare const commonPalettes: readonly [{
737
737
  readonly colors: {
738
738
  [k: string]: "linear-gradient(135deg, #7dd3fc, #2563eb)" | "linear-gradient(135deg, #facc15, #b45309)" | "linear-gradient(135deg, #f9a8d4, #be185d)" | "linear-gradient(135deg, #a5b4fc, #4f46e5)" | "linear-gradient(135deg, #86efac, #15803d)" | "linear-gradient(135deg, #fda4af, #be123c)" | "linear-gradient(135deg, #c4b5fd, #7c3aed)" | "linear-gradient(135deg, #fdba74, #c2410c)";
739
739
  };
740
- readonly consumers: readonly ["packages/ui/src/avatar/index.view.tsx", "packages/ui/src/avatar/avatar.style.scss"];
740
+ readonly consumers: readonly ["packages/ui/package/src/avatar/index.tsx", "packages/ui/package/src/avatar/avatar.style.scss"];
741
741
  }];
@@ -1,4 +1,4 @@
1
- //#region src/color-palette/common-palettes.ts
1
+ //#region package/color-palette/common-palettes.ts
2
2
  var e = {
3
3
  black: "#000000",
4
4
  hex0003: "#0003",
@@ -380,7 +380,7 @@ var e = {
380
380
  title: "Avatar backgrounds",
381
381
  usage: "Indexed avatar gradients shared by runtime background helpers and avatar styles.",
382
382
  colors: Object.fromEntries(t.map((e, t) => [String(t), e])),
383
- consumers: ["packages/ui/src/avatar/index.view.tsx", "packages/ui/src/avatar/avatar.style.scss"]
383
+ consumers: ["packages/ui/package/src/avatar/index.tsx", "packages/ui/package/src/avatar/avatar.style.scss"]
384
384
  }];
385
385
  //#endregion
386
386
  export { t as AVATAR_CELL_BACKGROUNDS, e as commonColors, n as commonPalettes };
@@ -1,5 +1,5 @@
1
1
  import { commonColors as e } from "./common-palettes.js";
2
- //#region src/color-palette/gantt-palettes.ts
2
+ //#region package/color-palette/gantt-palettes.ts
3
3
  var t = { "rv-panel-accent": e.hex3f8f7d }, n = {
4
4
  "neutral-text": e.hex475569,
5
5
  "complete-text": e.hex047857,
@@ -1,2 +1,15 @@
1
- /** Compatibility entry; markup is owned by the Preact TSX implementation. */
2
- export * from './native.view';
1
+ export interface NativeColorPickerProps {
2
+ label: string;
3
+ value?: string;
4
+ disabled?: boolean;
5
+ optional?: boolean;
6
+ defaultLabel: string;
7
+ customLabel: string;
8
+ invalidColor?: string;
9
+ colorLabels: Readonly<Record<string, string>>;
10
+ onChange(value: string | undefined): void;
11
+ }
12
+ /** Native mount API; palette markup and interaction belong to ColorPicker. */
13
+ export declare function mountColorPicker(host: HTMLElement, props: NativeColorPickerProps): {
14
+ destroy(): void;
15
+ };
@@ -1,5 +1,5 @@
1
1
  import { commonColors as e } from "./common-palettes.js";
2
- //#region src/color-palette/palette.ts
2
+ //#region package/color-palette/palette.ts
3
3
  var t = [
4
4
  {
5
5
  value: e.hexe53935,
@@ -1,5 +1,5 @@
1
1
  import { commonColors as e } from "./common-palettes.js";
2
- //#region src/color-palette/pivot-palettes.ts
2
+ //#region package/color-palette/pivot-palettes.ts
3
3
  var t = {
4
4
  background: e.hexfff3a3,
5
5
  foreground: e.hex111111
@@ -1,5 +1,5 @@
1
1
  import { commonColors as e } from "./common-palettes.js";
2
- //#region src/color-palette/platform-palettes.ts
2
+ //#region package/color-palette/platform-palettes.ts
3
3
  var t = {
4
4
  blue: e.blue600,
5
5
  green: e.green600,
@@ -1,5 +1,5 @@
1
1
  import { commonColors as e } from "./common-palettes.js";
2
- //#region src/color-palette/pro-palettes.ts
2
+ //#region package/color-palette/pro-palettes.ts
3
3
  var t = {
4
4
  white: e.watermarkForeground,
5
5
  black: e.blackKeyword
@@ -1,5 +1,5 @@
1
1
  import { commonColors as e } from "./common-palettes.js";
2
- //#region src/color-palette/scheduler-palettes.ts
2
+ //#region package/color-palette/scheduler-palettes.ts
3
3
  var t = {
4
4
  event: e.hex4573de,
5
5
  white: e.white
@@ -1,3 +1,4 @@
1
+ import { LookupField } from './dropdown/lookup-field';
1
2
  import { NumberDraft as PreactNumberDraft } from './number-input/index';
2
3
  import { MaskedDraft as PreactMaskedDraft } from './masked-input/index';
3
4
  import { DurationField as PreactDurationField, DurationDraft as PreactDurationDraft } from './duration/index';
@@ -20,16 +21,14 @@ export declare const uiComponents: {
20
21
  readonly AiSuggestions: typeof ui.AiSuggestions;
21
22
  readonly AiActionStatus: typeof ui.AiActionStatus;
22
23
  readonly AiResult: typeof ui.AiResult;
24
+ readonly AiResultView: typeof ui.AiResultView;
25
+ readonly AiResultTable: typeof ui.AiResultTable;
26
+ readonly AiResultMetrics: typeof ui.AiResultMetrics;
27
+ readonly AiResultText: typeof ui.AiResultText;
23
28
  readonly AiChangePreview: typeof ui.AiChangePreview;
24
29
  readonly AiAssistant: typeof ui.AiAssistant;
25
30
  readonly AiRequestTrail: typeof ui.AiRequestTrail;
26
- readonly Icon: typeof ui.SvgIcon;
27
- readonly RemovableChip: typeof ui.FilterChip;
28
- readonly Slider: typeof ui.SingleValueSlider;
29
- readonly RangeSlider: typeof ui.PreactRangeSlider;
30
- readonly ResourcePicker: typeof ui.SharedResourcePicker;
31
- readonly FeedbackPanel: typeof ui.StatusFeedbackPanel;
32
- readonly Input: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<Omit<import("./_vendor/preact/src/index").JSX.InputHTMLAttributes<HTMLInputElement>, "className" | "ref" | "class"> & {
31
+ readonly Input: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<Omit<import("./_vendor/preact/src/index").JSX.InputHTMLAttributes<HTMLInputElement>, "ref" | "className" | "class"> & {
33
32
  class?: import("./_vendor/preact/src/index").JSX.Signalish<string | undefined> | Record<string, boolean | undefined>;
34
33
  className?: import("./_vendor/preact/src/index").JSX.Signalish<string | undefined>;
35
34
  }> & {
@@ -102,6 +101,8 @@ export declare const uiComponents: {
102
101
  readonly FieldError: typeof ui.FieldError;
103
102
  readonly FormSection: typeof ui.FormSection;
104
103
  readonly Disclosure: typeof ui.Disclosure;
104
+ readonly CollapsibleSection: typeof ui.CollapsibleSection;
105
+ readonly LookupField: typeof LookupField;
105
106
  readonly Panel: typeof ui.Panel;
106
107
  readonly Toolbar: typeof ui.Toolbar;
107
108
  readonly ToolbarGroup: typeof ui.ToolbarGroup;
@@ -201,6 +202,7 @@ export declare const uiComponents: {
201
202
  readonly ReorderList: typeof ui.ReorderList;
202
203
  readonly ReorderHandle: typeof ui.ReorderHandle;
203
204
  readonly TimelineTrack: typeof ui.TimelineTrack;
205
+ readonly IconToolbar: typeof ui.IconToolbar;
204
206
  readonly ActivityMessage: typeof ui.ActivityMessage;
205
207
  readonly PdfViewer: typeof ui.PdfViewer;
206
208
  readonly PdfViewerToolbar: typeof ui.PdfViewerToolbar;
@@ -0,0 +1,67 @@
1
+ import { FieldRemoveButton as DeleteButton } from './field-configurator';
2
+ import { h, ComponentChildren, ComponentProps, JSX, Ref } from './_vendor/preact/src/index';
3
+ import { DropdownPopup } from './dropdown/popup';
4
+ import { SearchInput } from './search-input/index';
5
+ type ElementRenderer = (...args: any[]) => any;
6
+ export declare const CONFIGURATOR_AREA_ICONS: {
7
+ rows: string;
8
+ columns: string;
9
+ values: string;
10
+ filters: string;
11
+ };
12
+ type ActionTriggerProps = Omit<JSX.IntrinsicElements['button'], 'children' | 'ref'> & {
13
+ icon: 'plus' | 'gear';
14
+ buttonRef?: Ref<HTMLButtonElement>;
15
+ };
16
+ /** The same control renders in Core Fields cells and Preact panels. */
17
+ export declare function renderConfiguratorActionTrigger(createElement: ElementRenderer, { icon, buttonRef, ...props }: ActionTriggerProps): any;
18
+ /** Native button refs and event handlers stay with the adapter. */
19
+ export declare function ConfiguratorActionTrigger(props: ActionTriggerProps): JSX.Element;
20
+ export declare function ConfiguratorRemoveButton(props: ComponentProps<typeof DeleteButton>): h.JSX.Element;
21
+ /** Shared menu row; integrations supply policy, labels and callbacks. */
22
+ export declare function ConfiguratorActionButton({ text, icon, explanation, checked, ...props }: Omit<JSX.IntrinsicElements['button'], 'children'> & {
23
+ text: string;
24
+ icon?: ComponentChildren;
25
+ explanation?: string;
26
+ checked?: boolean;
27
+ }): h.JSX.Element;
28
+ export declare function ConfiguratorActionIcon({ svg }: {
29
+ svg: string;
30
+ }): h.JSX.Element;
31
+ export declare function ConfiguratorZoneActions({ add, clear, children, }: {
32
+ add: ComponentProps<typeof ConfiguratorActionTrigger>;
33
+ clear?: ComponentProps<typeof ConfiguratorRemoveButton>;
34
+ children?: ComponentChildren;
35
+ }): h.JSX.Element;
36
+ export declare function ConfiguratorFilterStatus({ label }: {
37
+ label: string;
38
+ }): h.JSX.Element;
39
+ export declare function ConfiguratorFieldCaption({ children, annotation, }: {
40
+ children: ComponentChildren;
41
+ annotation?: string;
42
+ }): h.JSX.Element;
43
+ export declare function ConfiguratorHint({ children, }: {
44
+ children: ComponentChildren;
45
+ }): h.JSX.Element;
46
+ export declare function ConfiguratorFieldSearch(props: ComponentProps<typeof SearchInput>): h.JSX.Element;
47
+ export declare function ConfiguratorFieldPicker({ children, emptyText, }: {
48
+ children?: ComponentChildren;
49
+ emptyText?: string;
50
+ }): h.JSX.Element;
51
+ export declare function ConfiguratorActionGroup({ section, children, }: {
52
+ section: 'settings' | 'layout' | 'removal';
53
+ children: ComponentChildren;
54
+ }): h.JSX.Element | null;
55
+ export declare function ConfiguratorActionPanel({ title, accessibleLabel, header, panelRef, onKeyDown, children, ...popup }: Omit<ComponentProps<typeof DropdownPopup>, 'children' | 'popupClassName' | 'topLayer' | 'closeOnClickOutside'> & {
56
+ title: string;
57
+ accessibleLabel?: string;
58
+ header?: ComponentChildren;
59
+ panelRef?: Ref<HTMLDivElement>;
60
+ onKeyDown?: JSX.HTMLAttributes<HTMLDivElement>['onKeyDown'];
61
+ children: ComponentChildren;
62
+ }): h.JSX.Element;
63
+ /** Field identity shared by grid and report authoring controls. */
64
+ export declare function ConfiguratorFieldTypeIcon({ field, }: {
65
+ field?: import('./configurator-field-icon').ConfiguratorFieldMetadata;
66
+ }): h.JSX.Element;
67
+ export {};
@@ -0,0 +1 @@
1
+ export { t as CONFIGURATOR_AREA_ICONS, n as ConfiguratorActionButton, r as ConfiguratorActionGroup, i as ConfiguratorActionIcon, a as ConfiguratorActionPanel, o as ConfiguratorActionTrigger, s as ConfiguratorFieldCaption, c as ConfiguratorFieldPicker, l as ConfiguratorFieldSearch, u as ConfiguratorFieldTypeIcon, d as ConfiguratorFilterStatus, f as ConfiguratorHint, p as ConfiguratorRemoveButton, m as ConfiguratorZoneActions, h as renderConfiguratorActionTrigger } from "./_chunks/configurator-actions-vRnI54mO.js";
@@ -0,0 +1,14 @@
1
+ import { h } from './_vendor/preact/src/index';
2
+ export interface AggregationListLabels {
3
+ measureAggregation: string;
4
+ aggregationNames: Record<string, string>;
5
+ measureCurrentUnavailable: (operation: string) => string;
6
+ }
7
+ /** Arrow keys explore choices; Enter/Space commit through the existing configuration owner. */
8
+ export declare function ConfiguratorAggregationList({ value, aggregators, i18n, disabled, onChange, }: {
9
+ value: string;
10
+ aggregators: string[];
11
+ i18n: AggregationListLabels;
12
+ disabled?: boolean;
13
+ onChange: (value: string, origin: HTMLButtonElement) => void;
14
+ }): h.JSX.Element;
@@ -0,0 +1,63 @@
1
+ import { i as e } from "./_chunks/hooks.module-CG3gN83z.js";
2
+ import { t } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
3
+ import { t as n } from "./_chunks/native-control-um1L1wgZ.js";
4
+ import { t as r } from "./_chunks/selection-list-tooltips-m00U3L6z.js";
5
+ import "./_chunks/check-BwI7iCAm.js";
6
+ import { t as i } from "./_chunks/calculator-CDWOuAcp.js";
7
+ //#region package/configurator-aggregation-list.tsx
8
+ function a({ value: a, aggregators: o, i18n: s, disabled: c, onChange: l }) {
9
+ let u = r("[role=\"menuitemradio\"]"), d = o.includes(a) ? o : [a, ...o], [f, p] = e(), m = f && o.includes(f) ? f : o.includes(a) ? a : o[0];
10
+ return /* @__PURE__ */ t("section", {
11
+ className: "pivot-aggregation-menu",
12
+ children: [/* @__PURE__ */ t("div", {
13
+ className: "pivot-aggregation-heading",
14
+ children: s.measureAggregation
15
+ }), /* @__PURE__ */ t("div", {
16
+ ref: u,
17
+ role: "menu",
18
+ "aria-label": s.measureAggregation,
19
+ children: d.map((e) => /* @__PURE__ */ t(n, {
20
+ type: "button",
21
+ role: "menuitemradio",
22
+ className: "rv-btn pivot-aggregation-option",
23
+ "data-value": e,
24
+ "aria-checked": e === a,
25
+ disabled: c || !o.includes(e),
26
+ tabIndex: !c && e === m ? 0 : -1,
27
+ onFocus: () => p(e),
28
+ onKeyDown: (e) => {
29
+ if (![
30
+ "ArrowUp",
31
+ "ArrowDown",
32
+ "ArrowLeft",
33
+ "ArrowRight",
34
+ "Home",
35
+ "End"
36
+ ].includes(e.key)) return;
37
+ e.preventDefault(), e.stopPropagation();
38
+ let t = [...e.currentTarget.parentElement.querySelectorAll("button:not(:disabled)")], n = t.indexOf(e.currentTarget);
39
+ t[e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : (n + (e.key === "ArrowUp" || e.key === "ArrowLeft" ? -1 : 1) + t.length) % t.length]?.focus();
40
+ },
41
+ onClick: (t) => l(e, t.currentTarget),
42
+ children: [
43
+ /* @__PURE__ */ t("span", {
44
+ className: "pivot-field-action-symbol",
45
+ "aria-hidden": "true",
46
+ dangerouslySetInnerHTML: { __html: i }
47
+ }),
48
+ /* @__PURE__ */ t("span", {
49
+ className: "pivot-aggregation-name",
50
+ children: o.includes(e) ? s.aggregationNames[e] ?? e : s.measureCurrentUnavailable(e)
51
+ }),
52
+ e === a && /* @__PURE__ */ t("span", {
53
+ className: "pivot-aggregation-check",
54
+ "aria-hidden": "true",
55
+ dangerouslySetInnerHTML: { __html: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z\"/></svg>" }
56
+ })
57
+ ]
58
+ }, e))
59
+ })]
60
+ });
61
+ }
62
+ //#endregion
63
+ export { a as ConfiguratorAggregationList };
@@ -0,0 +1,39 @@
1
+ import { h, JSX, ComponentChildren } from './_vendor/preact/src/index';
2
+ export interface ConfiguratorDropZoneProps<Prop extends string | number, Field extends {
3
+ prop: Prop;
4
+ name?: string;
5
+ }, Area extends string> {
6
+ label?: string;
7
+ id?: string;
8
+ footer?: ComponentChildren;
9
+ removeLabel?: (index: number, prop: Prop) => string;
10
+ title: string | JSX.Element;
11
+ headerActions?: JSX.Element | null;
12
+ renderActions?: (index: number, prop: Prop) => JSX.Element | null;
13
+ allowFieldRemoving?: boolean;
14
+ panel: Area;
15
+ items: Prop[];
16
+ /** Optional stable identities for repeated measure instances; other zones use their field identities. */
17
+ itemKeys?: readonly (string | number)[];
18
+ dimensions: ReadonlyMap<Prop, Field>;
19
+ placeholder?: string;
20
+ i18n: {
21
+ dragHere: string;
22
+ remove: string;
23
+ };
24
+ onRemove: (index: number) => void;
25
+ onDrop: (target: Area, index?: number, event?: DragEvent) => void;
26
+ canDrop?: (event: DragEvent) => boolean;
27
+ onDragOver: (e: Event) => void;
28
+ onDragEnter: (e: Event) => void;
29
+ onItemDragStart: (index: number, prop: Prop, event?: DragEvent) => void;
30
+ onItemDragEnd: () => void;
31
+ renderItem?: (index: number, item?: Field) => ComponentChildren;
32
+ allowFieldDragging?: boolean;
33
+ dragActive?: boolean;
34
+ renderIcon?: (field?: Field) => ComponentChildren;
35
+ }
36
+ export declare function ConfiguratorDropZone<Prop extends string | number, Field extends {
37
+ prop: Prop;
38
+ name?: string;
39
+ }, Area extends string>({ title, label, id, footer, removeLabel, headerActions, renderActions, allowFieldRemoving, panel, items, itemKeys, dimensions, placeholder, i18n, renderItem, onRemove, onDrop, onDragOver, canDrop, onDragEnter, onItemDragStart, onItemDragEnd, allowFieldDragging, dragActive, renderIcon, }: ConfiguratorDropZoneProps<Prop, Field, Area>): h.JSX.Element;
@@ -0,0 +1,66 @@
1
+ import { i as e } from "./_chunks/preact.module-BBM36DnO.js";
2
+ import { t } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
3
+ import { a as n, f as r, o as i, p as a, v as o } from "./_chunks/field-configurator-DPulsY3l.js";
4
+ import { useFieldDropTarget as s } from "./field-reorder.hook.js";
5
+ //#region package/configurator-drop-zone.tsx
6
+ function c({ title: c, label: l, id: u, footer: d, removeLabel: f, headerActions: p, renderActions: m, allowFieldRemoving: h = !0, panel: g, items: _, itemKeys: v, dimensions: y, placeholder: b, i18n: x, renderItem: S, onRemove: C, onDrop: w, onDragOver: T, canDrop: E = () => !0, onDragEnter: D, onItemDragStart: O, onItemDragEnd: k, allowFieldDragging: A = !0, dragActive: j, renderIcon: M }) {
7
+ let N = _.length === 0, P = s(_.length, {
8
+ enabled: A,
9
+ active: j,
10
+ canDrop: E,
11
+ onDragOver: T,
12
+ onDrop: (e, t) => w(g, e, t)
13
+ });
14
+ return /* @__PURE__ */ t(i, {
15
+ ...P.list,
16
+ id: u,
17
+ tabIndex: u ? -1 : void 0,
18
+ className: "pivot-layout-zone",
19
+ "aria-label": l,
20
+ "data-pivot-area": g,
21
+ heading: c,
22
+ headingClassName: "zone-title",
23
+ actions: p,
24
+ children: [/* @__PURE__ */ t(r, {
25
+ empty: N,
26
+ placeholder: b ?? x.dragHere,
27
+ className: `min-h-[3rem] overflow-auto grow panel-card ${N ? "empty" : ""} ${P.isOver ? "drag-over" : ""}`,
28
+ ...P.list,
29
+ onDragEnter: D,
30
+ children: _.map((r, i) => {
31
+ let s = y.get(r), l = P.position(i);
32
+ return /* @__PURE__ */ t(o, {
33
+ ...P.row(i),
34
+ draggable: A,
35
+ onDragStart: (e) => {
36
+ A ? (e.dataTransfer?.setData("text/plain", String(r)), e.dataTransfer && (e.dataTransfer.effectAllowed = "move"), P.start(i), O(i, r, e)) : e.preventDefault();
37
+ },
38
+ onDragEnd: () => {
39
+ P.clear(), k();
40
+ },
41
+ indicator: l && /* @__PURE__ */ t(n, {
42
+ position: l,
43
+ index: P.boundary ?? void 0,
44
+ className: `pivot-zone-drop-divider ${l}`
45
+ }),
46
+ contentClassName: "pivot-dimension-cell",
47
+ icon: M?.(s),
48
+ label: /* @__PURE__ */ t("span", {
49
+ className: "pivot-zone-field-caption flex grow",
50
+ children: S?.(i, s) ?? s?.name ?? r
51
+ }),
52
+ actions: /* @__PURE__ */ t(e, { children: [m?.(i, r), h && /* @__PURE__ */ t(a, {
53
+ className: "pivot-remove-button",
54
+ onClick: () => C(i),
55
+ locale: {
56
+ title: f?.(i, r) ?? x.remove,
57
+ ariaLabel: f?.(i, r) ?? x.remove
58
+ }
59
+ })] })
60
+ }, v?.[i] ?? `${c}-${i}`);
61
+ })
62
+ }), d]
63
+ });
64
+ }
65
+ //#endregion
66
+ export { c as ConfiguratorDropZone };