@motifx-community/ui 0.1.0-beta.13 → 0.1.0-beta.14

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 (459) hide show
  1. package/CHANGELOG.md +379 -0
  2. package/README.md +2 -0
  3. package/dist/components/chart/Chart.d.ts +6 -4
  4. package/dist/components/chart/ChartPlot.d.ts +2 -1
  5. package/dist/components/chart/plot-view.d.ts +10 -2
  6. package/dist/components/chat/Chat.d.ts +276 -0
  7. package/dist/components/chat/ChatComposer.d.ts +172 -0
  8. package/dist/components/chat/ChatReply.d.ts +53 -0
  9. package/dist/components/chat/ChatWriter.d.ts +119 -0
  10. package/dist/components/chat/chat-ask-form.d.ts +64 -0
  11. package/dist/components/chat/chat-asked-entry.d.ts +21 -0
  12. package/dist/components/chat/chat-attachment-entry.d.ts +18 -0
  13. package/dist/components/chat/chat-choices-view.d.ts +40 -0
  14. package/dist/components/chat/chat-command.d.ts +7 -0
  15. package/dist/components/chat/chat-compaction-entry.d.ts +19 -0
  16. package/dist/components/chat/chat-composer-props.d.ts +63 -0
  17. package/dist/components/chat/chat-context-changed-event-args.d.ts +8 -0
  18. package/dist/components/chat/chat-context-item.d.ts +14 -0
  19. package/dist/components/chat/chat-copy-button.d.ts +11 -0
  20. package/dist/components/chat/chat-entry.d.ts +20 -0
  21. package/dist/components/chat/chat-flow-view.d.ts +32 -0
  22. package/dist/components/chat/chat-form-entry.d.ts +24 -0
  23. package/dist/components/chat/chat-form-view.d.ts +48 -0
  24. package/dist/components/chat/chat-history-event-args.d.ts +31 -0
  25. package/dist/components/chat/chat-load-older-event-args.d.ts +17 -0
  26. package/dist/components/chat/chat-look.d.ts +33 -0
  27. package/dist/components/chat/chat-mention.d.ts +21 -0
  28. package/dist/components/chat/chat-message-status.d.ts +2 -0
  29. package/dist/components/chat/chat-message.d.ts +23 -0
  30. package/dist/components/chat/chat-notice-entry.d.ts +20 -0
  31. package/dist/components/chat/chat-option.d.ts +7 -0
  32. package/dist/components/chat/chat-part.d.ts +110 -0
  33. package/dist/components/chat/chat-plan-entry.d.ts +25 -0
  34. package/dist/components/chat/chat-props.d.ts +70 -0
  35. package/dist/components/chat/chat-question-view.d.ts +41 -0
  36. package/dist/components/chat/chat-request.d.ts +173 -0
  37. package/dist/components/chat/chat-role.d.ts +2 -0
  38. package/dist/components/chat/chat-search-bar.d.ts +27 -0
  39. package/dist/components/chat/chat-search.d.ts +33 -0
  40. package/dist/components/chat/chat-send-event-args.d.ts +12 -0
  41. package/dist/components/chat/chat-sources-entry.d.ts +22 -0
  42. package/dist/components/chat/chat-text-entry.d.ts +20 -0
  43. package/dist/components/chat/chat-text-part.d.ts +5 -0
  44. package/dist/components/chat/chat-thinking-entry.d.ts +32 -0
  45. package/dist/components/chat/chat-todo-entry.d.ts +15 -0
  46. package/dist/components/chat/chat-tool-entry.d.ts +66 -0
  47. package/dist/components/chat/chat-tool-init.d.ts +18 -0
  48. package/dist/components/chat/chat-turn-view.d.ts +53 -0
  49. package/dist/components/chat/chat-turn.d.ts +8 -0
  50. package/dist/components/chat/chat-value-changed-event-args.d.ts +6 -0
  51. package/dist/components/chat/index.d.ts +22 -0
  52. package/dist/components/contextmenu/ContextMenu.d.ts +4 -0
  53. package/dist/components/contextmenu/context-menu-props.d.ts +6 -0
  54. package/dist/components/datagrid/DataGrid.d.ts +0 -12
  55. package/dist/components/datagrid/column-type.d.ts +2 -1
  56. package/dist/components/datagrid/grid-column.d.ts +4 -1
  57. package/dist/components/datagrid/grid-date-interval.d.ts +2 -1
  58. package/dist/components/datagrid/grid-filter-value.d.ts +2 -7
  59. package/dist/components/datagrid/grid-header-filter-interval.d.ts +2 -2
  60. package/dist/components/datagrid/grid-settings.d.ts +6 -3
  61. package/dist/components/datagrid/grid-sheet-cell.d.ts +3 -6
  62. package/dist/components/datagrid/grid-sheet-column.d.ts +2 -9
  63. package/dist/components/datagrid/grid-sheet-merge.d.ts +2 -7
  64. package/dist/components/datagrid/grid-sheet-row.d.ts +2 -5
  65. package/dist/components/datagrid/grid-sheet.d.ts +3 -2
  66. package/dist/components/datagrid/grid-summary-item.d.ts +5 -2
  67. package/dist/components/datagrid/grid-summary-texts.d.ts +2 -0
  68. package/dist/components/datagrid/grid-summary-type.d.ts +5 -2
  69. package/dist/components/datagrid/grid-summary.d.ts +3 -2
  70. package/dist/components/datagrid/list-option.d.ts +2 -4
  71. package/dist/components/datagrid/model/ColumnModel.d.ts +21 -3
  72. package/dist/components/datagrid/model/FilterValues.d.ts +15 -7
  73. package/dist/components/datagrid/model/GridExport.d.ts +1 -1
  74. package/dist/components/datagrid/model/GridModel.d.ts +2 -2
  75. package/dist/components/datagrid/model/LookupTexts.d.ts +1 -1
  76. package/dist/components/datagrid/view/CellEditor.d.ts +1 -1
  77. package/dist/components/datagrid/view/ColumnStyles.d.ts +1 -1
  78. package/dist/components/datagrid/view/GridBody.d.ts +1 -1
  79. package/dist/components/datagrid/view/HeaderRow.d.ts +3 -1
  80. package/dist/components/draggable/Draggable.d.ts +14 -3
  81. package/dist/components/form/MxForm.d.ts +1 -1
  82. package/dist/components/markdown/Markdown.d.ts +87 -0
  83. package/dist/components/markdown/code-block.d.ts +57 -0
  84. package/dist/components/markdown/code-colorer.d.ts +11 -0
  85. package/dist/components/markdown/code-highlighter.d.ts +9 -0
  86. package/dist/components/markdown/code-run.d.ts +6 -0
  87. package/dist/components/markdown/diagram-renderer.d.ts +21 -0
  88. package/dist/components/markdown/entities.d.ts +2 -0
  89. package/dist/components/markdown/index.d.ts +8 -0
  90. package/dist/components/markdown/inline-writer.d.ts +85 -0
  91. package/dist/components/markdown/markdown-context.d.ts +53 -0
  92. package/dist/components/markdown/markdown-link-click-event-args.d.ts +9 -0
  93. package/dist/components/markdown/markdown-props.d.ts +40 -0
  94. package/dist/components/markdown/markdown-writer.d.ts +95 -0
  95. package/dist/components/markdown/math-block.d.ts +22 -0
  96. package/dist/components/markdown/math-renderer.d.ts +18 -0
  97. package/dist/components/markdown/safe-href.d.ts +5 -0
  98. package/dist/components/markdown/text-run.d.ts +7 -0
  99. package/dist/components/menubar/MenuBar.d.ts +4 -0
  100. package/dist/components/menubar/menu-bar-props.d.ts +6 -0
  101. package/dist/components/pivotgrid/PivotGrid.d.ts +415 -0
  102. package/dist/components/pivotgrid/index.d.ts +44 -0
  103. package/dist/components/pivotgrid/model/PivotArrangement.d.ts +29 -0
  104. package/dist/components/pivotgrid/model/PivotAxisWindow.d.ts +169 -0
  105. package/dist/components/pivotgrid/model/PivotCellRanges.d.ts +63 -0
  106. package/dist/components/pivotgrid/model/PivotCellWindow.d.ts +47 -0
  107. package/dist/components/pivotgrid/model/PivotChart.d.ts +49 -0
  108. package/dist/components/pivotgrid/model/PivotDisplay.d.ts +61 -0
  109. package/dist/components/pivotgrid/model/PivotDrill.d.ts +19 -0
  110. package/dist/components/pivotgrid/model/PivotExpansion.d.ts +44 -0
  111. package/dist/components/pivotgrid/model/PivotFields.d.ts +55 -0
  112. package/dist/components/pivotgrid/model/PivotFilterValues.d.ts +36 -0
  113. package/dist/components/pivotgrid/model/PivotLayout.d.ts +75 -0
  114. package/dist/components/pivotgrid/model/PivotLoader.d.ts +29 -0
  115. package/dist/components/pivotgrid/model/PivotSheet.d.ts +44 -0
  116. package/dist/components/pivotgrid/model/PivotStateStore.d.ts +19 -0
  117. package/dist/components/pivotgrid/model/PivotTable.d.ts +78 -0
  118. package/dist/components/pivotgrid/model/PivotTexts.d.ts +47 -0
  119. package/dist/components/pivotgrid/model/PivotWindows.d.ts +120 -0
  120. package/dist/components/pivotgrid/model/pivot-copy.d.ts +26 -0
  121. package/dist/components/pivotgrid/model/pivot-csv.d.ts +9 -0
  122. package/dist/components/pivotgrid/model/pivot-header-cell.d.ts +19 -0
  123. package/dist/components/pivotgrid/model/pivot-line-key.d.ts +17 -0
  124. package/dist/components/pivotgrid/model/pivot-line.d.ts +14 -0
  125. package/dist/components/pivotgrid/pivot-grid-area.d.ts +2 -0
  126. package/dist/components/pivotgrid/pivot-grid-cell-click-event-args.d.ts +5 -0
  127. package/dist/components/pivotgrid/pivot-grid-cell-context.d.ts +19 -0
  128. package/dist/components/pivotgrid/pivot-grid-cell-dbl-click-event-args.d.ts +5 -0
  129. package/dist/components/pivotgrid/pivot-grid-cell-range.d.ts +16 -0
  130. package/dist/components/pivotgrid/pivot-grid-cell-selection-changed-event-args.d.ts +6 -0
  131. package/dist/components/pivotgrid/pivot-grid-chart-data.d.ts +15 -0
  132. package/dist/components/pivotgrid/pivot-grid-chart-options.d.ts +19 -0
  133. package/dist/components/pivotgrid/pivot-grid-column-resized-event-args.d.ts +8 -0
  134. package/dist/components/pivotgrid/pivot-grid-column-resizing.d.ts +15 -0
  135. package/dist/components/pivotgrid/pivot-grid-column.d.ts +19 -0
  136. package/dist/components/pivotgrid/pivot-grid-content-ready-event-args.d.ts +6 -0
  137. package/dist/components/pivotgrid/pivot-grid-context-menu-preparing-event-args.d.ts +22 -0
  138. package/dist/components/pivotgrid/pivot-grid-copying-event-args.d.ts +10 -0
  139. package/dist/components/pivotgrid/pivot-grid-custom-summary-info.d.ts +15 -0
  140. package/dist/components/pivotgrid/pivot-grid-data-error-event-args.d.ts +5 -0
  141. package/dist/components/pivotgrid/pivot-grid-drill-down.d.ts +14 -0
  142. package/dist/components/pivotgrid/pivot-grid-expanded-event-args.d.ts +6 -0
  143. package/dist/components/pivotgrid/pivot-grid-expanding-event-args.d.ts +9 -0
  144. package/dist/components/pivotgrid/pivot-grid-export-cell.d.ts +21 -0
  145. package/dist/components/pivotgrid/pivot-grid-export-options.d.ts +16 -0
  146. package/dist/components/pivotgrid/pivot-grid-export.d.ts +17 -0
  147. package/dist/components/pivotgrid/pivot-grid-exported-event-args.d.ts +9 -0
  148. package/dist/components/pivotgrid/pivot-grid-exporting-event-args.d.ts +17 -0
  149. package/dist/components/pivotgrid/pivot-grid-field-chooser.d.ts +20 -0
  150. package/dist/components/pivotgrid/pivot-grid-field-panel.d.ts +16 -0
  151. package/dist/components/pivotgrid/pivot-grid-field.d.ts +110 -0
  152. package/dist/components/pivotgrid/pivot-grid-fields-changed-event-args.d.ts +8 -0
  153. package/dist/components/pivotgrid/pivot-grid-filter-value.d.ts +4 -0
  154. package/dist/components/pivotgrid/pivot-grid-group-interval.d.ts +7 -0
  155. package/dist/components/pivotgrid/pivot-grid-header-filter-items-request.d.ts +9 -0
  156. package/dist/components/pivotgrid/pivot-grid-header-filter-items.d.ts +7 -0
  157. package/dist/components/pivotgrid/pivot-grid-load-panel.d.ts +11 -0
  158. package/dist/components/pivotgrid/pivot-grid-props.d.ts +121 -0
  159. package/dist/components/pivotgrid/pivot-grid-sheet-options.d.ts +14 -0
  160. package/dist/components/pivotgrid/pivot-grid-sheet.d.ts +19 -0
  161. package/dist/components/pivotgrid/pivot-grid-state.d.ts +54 -0
  162. package/dist/components/pivotgrid/pivot-grid-summary-cell.d.ts +29 -0
  163. package/dist/components/pivotgrid/pivot-grid-summary-display-mode.d.ts +5 -0
  164. package/dist/components/pivotgrid/pivot-grid-summary-type.d.ts +5 -0
  165. package/dist/components/pivotgrid/view/PivotFieldChooser.d.ts +71 -0
  166. package/dist/components/pivotgrid/view/PivotFieldPanel.d.ts +92 -0
  167. package/dist/components/pivotgrid/view/PivotView.d.ts +263 -0
  168. package/dist/components/resizable/Resizable.d.ts +2 -0
  169. package/dist/components/ribbonmenu/RibbonKeyHints.d.ts +4 -0
  170. package/dist/components/ribbonmenu/RibbonMenu.d.ts +4 -1
  171. package/dist/components/ribbonmenu/ribbon-menu-custom-menu-opening-event-args.d.ts +8 -4
  172. package/dist/components/ribbonmenu/ribbon-menu-props.d.ts +6 -0
  173. package/dist/components/scheduler/view/TimeView.d.ts +2 -0
  174. package/dist/components/scrollview/ScrollView.d.ts +48 -1
  175. package/dist/components/scrollview/index.d.ts +1 -0
  176. package/dist/components/scrollview/scroll-end-changed-event-args.d.ts +7 -0
  177. package/dist/components/scrollview/scroll-view-props.d.ts +9 -0
  178. package/dist/components/splitter/Splitter.d.ts +1 -3
  179. package/dist/components/tabdocs/TabDocumentManager.d.ts +3 -2
  180. package/dist/components/textarea/TextArea.d.ts +11 -0
  181. package/dist/components/textarea/text-area-props.d.ts +12 -1
  182. package/dist/components/textbox/TextBox.d.ts +3 -0
  183. package/dist/components/textbox/text-box-props.d.ts +3 -0
  184. package/dist/components/toolbar/Toolbar.d.ts +70 -1
  185. package/dist/components/toolbar/index.d.ts +5 -0
  186. package/dist/components/toolbar/toolbar-added-item.d.ts +9 -0
  187. package/dist/components/toolbar/toolbar-custom-menu-opening-event-args.d.ts +23 -0
  188. package/dist/components/toolbar/toolbar-customization.d.ts +18 -0
  189. package/dist/components/toolbar/toolbar-customized-event-args.d.ts +7 -0
  190. package/dist/components/toolbar/toolbar-item-display.d.ts +2 -0
  191. package/dist/components/toolbar/toolbar-item.d.ts +11 -1
  192. package/dist/components/toolbar/toolbar-props.d.ts +26 -0
  193. package/dist/components/toolbar/toolbar-targets.d.ts +22 -0
  194. package/dist/core/clipboard.d.ts +11 -0
  195. package/dist/core/enter-key-hint.d.ts +2 -0
  196. package/dist/core/look-watch.d.ts +2 -2
  197. package/dist/core/measure/look.d.ts +1 -1
  198. package/dist/core/measure/on-layout.d.ts +1 -1
  199. package/dist/core/measure/scroll.d.ts +3 -1
  200. package/dist/core/save-text.d.ts +2 -0
  201. package/dist/core/ui-strings.d.ts +190 -0
  202. package/dist/excel/excel-pivot-customize-cell-args.d.ts +8 -0
  203. package/dist/excel/excel-pivot-export-options.d.ts +44 -0
  204. package/dist/excel/excel-pivot-export-result.d.ts +6 -0
  205. package/dist/excel/export-pivot-grid.d.ts +35 -0
  206. package/dist/excel/index.d.ts +4 -0
  207. package/dist/excel/index.js +190 -56
  208. package/dist/excel/index.js.map +1 -1
  209. package/dist/excel/write-sheet.d.ts +16 -0
  210. package/dist/{formula-guard-NYlpoA-t.js → formula-guard-Bx48S0u3.js} +2 -2
  211. package/dist/formula-guard-Bx48S0u3.js.map +1 -0
  212. package/dist/generated/tokens.d.ts +7527 -4097
  213. package/dist/index.d.ts +6 -0
  214. package/dist/index.js +65982 -49896
  215. package/dist/index.js.map +1 -1
  216. package/dist/locales/en.json +179 -1
  217. package/dist/locales/tr.json +179 -1
  218. package/dist/parts/customizer/Customizer.d.ts +12 -6
  219. package/dist/parts/customizer/customizer-display.d.ts +2 -0
  220. package/dist/parts/customizer/customizer-node.d.ts +5 -0
  221. package/dist/parts/customizer/customizer-source.d.ts +15 -3
  222. package/dist/parts/item-layout/layout-added-item.d.ts +2 -2
  223. package/dist/parts/menu/MenuList.d.ts +5 -0
  224. package/dist/parts/popup/Popup.d.ts +2 -0
  225. package/dist/{components/datagrid/model → parts/table}/CellFormatter.d.ts +8 -8
  226. package/dist/{components/datagrid/view → parts/table}/HeaderFilter.d.ts +16 -11
  227. package/dist/parts/table/OffsetList.d.ts +21 -0
  228. package/dist/parts/table/ScaledOffsets.d.ts +32 -0
  229. package/dist/{components/datagrid/model → parts/table}/ValueIntervals.d.ts +12 -5
  230. package/dist/{components/datagrid/model → parts/table}/ValueListAdapter.d.ts +4 -4
  231. package/dist/parts/table/date-interval.d.ts +2 -0
  232. package/dist/parts/table/date-type.d.ts +3 -0
  233. package/dist/{components/datagrid/model → parts/table}/filter-tree-node.d.ts +3 -1
  234. package/dist/parts/table/filter-value.d.ts +9 -0
  235. package/dist/parts/table/format-column.d.ts +14 -0
  236. package/dist/parts/table/header-filter-host.d.ts +27 -0
  237. package/dist/parts/table/option-of.d.ts +6 -0
  238. package/dist/parts/table/slice-sheet.d.ts +8 -0
  239. package/dist/parts/table/table-sheet-cell.d.ts +13 -0
  240. package/dist/parts/table/table-sheet-column.d.ts +11 -0
  241. package/dist/parts/table/table-sheet-merge.d.ts +9 -0
  242. package/dist/parts/table/table-sheet-row.d.ts +8 -0
  243. package/dist/parts/table/table-sheet.d.ts +24 -0
  244. package/dist/parts/table/value-interval.d.ts +6 -0
  245. package/dist/{components/datagrid/model → parts/table}/value-list.d.ts +7 -2
  246. package/dist/parts/table/value-loader.d.ts +8 -0
  247. package/dist/parts/table/value-option.d.ts +5 -0
  248. package/dist/parts/table/value-type.d.ts +5 -0
  249. package/dist/parts/table/values-result.d.ts +6 -0
  250. package/dist/parts/window/follow-pointer.d.ts +9 -3
  251. package/dist/parts/window-list/WindowList.d.ts +105 -0
  252. package/dist/parts/window-list/window-list-source.d.ts +10 -0
  253. package/dist/pdf/export-pivot-grid.d.ts +21 -0
  254. package/dist/pdf/index.d.ts +3 -0
  255. package/dist/pdf/index.js +143 -16
  256. package/dist/pdf/index.js.map +1 -1
  257. package/dist/pdf/pdf-customize-cell-args.d.ts +1 -1
  258. package/dist/pdf/pdf-pivot-cell-args.d.ts +25 -0
  259. package/dist/pdf/pdf-pivot-export-options.d.ts +61 -0
  260. package/dist/pdf/pdf-table.d.ts +38 -6
  261. package/dist/slice-sheet-C116M42H.js +43 -0
  262. package/dist/slice-sheet-C116M42H.js.map +1 -0
  263. package/dist/styles.css +4484 -177
  264. package/dist/tokens/index.d.ts +7527 -4097
  265. package/dist/tokens/index.js +7527 -4097
  266. package/dist/tokens/index.js.map +1 -1
  267. package/dist/{tr-BvKE8jSF.js → tr-BGbF9uCs.js} +359 -3
  268. package/dist/tr-BGbF9uCs.js.map +1 -0
  269. package/docs/accordion.md +1 -1
  270. package/docs/actionsheet.md +1 -1
  271. package/docs/appbar.md +1 -1
  272. package/docs/appmenu-api.md +1 -1
  273. package/docs/appmenu-programmatic.md +1 -1
  274. package/docs/appmenu-search.md +1 -1
  275. package/docs/appmenu.md +1 -1
  276. package/docs/avatar.md +1 -1
  277. package/docs/badge.md +1 -1
  278. package/docs/bar-gauge-angles.md +1 -1
  279. package/docs/bar-gauge-data.md +1 -1
  280. package/docs/bar-gauge-labels.md +1 -1
  281. package/docs/bar-gauge.md +1 -1
  282. package/docs/barcode.md +1 -1
  283. package/docs/bottomnavigation.md +1 -1
  284. package/docs/bottomsheet.md +1 -1
  285. package/docs/breadcrumb.md +1 -1
  286. package/docs/button.md +1 -1
  287. package/docs/buttongroup.md +1 -1
  288. package/docs/buttons.md +1 -1
  289. package/docs/calendar.md +1 -1
  290. package/docs/card.md +1 -1
  291. package/docs/chart-bars.md +1 -1
  292. package/docs/chart-candles.md +1 -1
  293. package/docs/chart-funnel.md +1 -1
  294. package/docs/chart-heatmap.md +1 -1
  295. package/docs/chart-lines.md +1 -1
  296. package/docs/chart-live.md +1 -1
  297. package/docs/chart-pie.md +1 -1
  298. package/docs/chart-radar.md +1 -1
  299. package/docs/chart-ranges.md +1 -1
  300. package/docs/chart-references.md +1 -1
  301. package/docs/chart-scatter.md +1 -1
  302. package/docs/chart-waterfall.md +1 -1
  303. package/docs/chart-zoom.md +1 -1
  304. package/docs/chart.md +1 -1
  305. package/docs/chat.md +1512 -0
  306. package/docs/checkbox.md +1 -1
  307. package/docs/chip.md +2 -2
  308. package/docs/choice.md +1 -1
  309. package/docs/colorbox.md +1 -1
  310. package/docs/combobox.md +1 -1
  311. package/docs/commands.md +1 -1
  312. package/docs/control.md +1 -1
  313. package/docs/data.md +1 -1
  314. package/docs/datagrid-api.md +3 -3
  315. package/docs/datagrid-bands.md +1 -1
  316. package/docs/datagrid-drag-select.md +1 -1
  317. package/docs/datagrid-drag.md +1 -1
  318. package/docs/datagrid-editing.md +1 -1
  319. package/docs/datagrid-filtering.md +2 -2
  320. package/docs/datagrid-forms.md +1 -1
  321. package/docs/datagrid-grouping.md +7 -7
  322. package/docs/datagrid-layout.md +2 -2
  323. package/docs/datagrid-lookups.md +1 -1
  324. package/docs/datagrid-master-detail.md +1 -1
  325. package/docs/datagrid-scrolling.md +1 -1
  326. package/docs/datagrid-selection.md +1 -1
  327. package/docs/datagrid.md +1 -1
  328. package/docs/datebox.md +1 -1
  329. package/docs/daterangebox.md +1 -1
  330. package/docs/display.md +1 -1
  331. package/docs/draggable.md +2 -2
  332. package/docs/drawer.md +1 -1
  333. package/docs/dropdown.md +1 -1
  334. package/docs/editors.md +1 -1
  335. package/docs/feedback.md +1 -1
  336. package/docs/fileuploader.md +1 -1
  337. package/docs/filterbuilder.md +1 -1
  338. package/docs/formlayout.md +1 -1
  339. package/docs/foundations.md +1 -1
  340. package/docs/gallery.md +1 -1
  341. package/docs/gauge-base.md +1 -1
  342. package/docs/gauge-circular.md +1 -1
  343. package/docs/gauge-dashboards.md +1 -1
  344. package/docs/gauge-linear.md +1 -1
  345. package/docs/gauge-markers.md +1 -1
  346. package/docs/gauge-marks.md +1 -1
  347. package/docs/gauge-ranges.md +1 -1
  348. package/docs/gauge-scales.md +1 -1
  349. package/docs/gauge.md +1 -1
  350. package/docs/home.md +1 -1
  351. package/docs/keyboard.md +1 -1
  352. package/docs/language.md +1 -1
  353. package/docs/layout.md +1 -1
  354. package/docs/listbox.md +1 -1
  355. package/docs/loadpanel.md +1 -1
  356. package/docs/lookup.md +1 -1
  357. package/docs/markdown.md +343 -0
  358. package/docs/menus-api.md +3 -1
  359. package/docs/menus-context.md +2 -1
  360. package/docs/menus-customization.md +5 -1
  361. package/docs/menus-merging.md +1 -1
  362. package/docs/menus-programmatic.md +1 -1
  363. package/docs/menus.md +1 -1
  364. package/docs/multiview.md +1 -1
  365. package/docs/navigation.md +1 -1
  366. package/docs/numberbox.md +1 -1
  367. package/docs/otpinput.md +1 -1
  368. package/docs/pagination.md +1 -1
  369. package/docs/pivotgrid-api.md +180 -0
  370. package/docs/pivotgrid-chart.md +132 -0
  371. package/docs/pivotgrid-drilldown.md +142 -0
  372. package/docs/pivotgrid-export.md +207 -0
  373. package/docs/pivotgrid-fields.md +245 -0
  374. package/docs/pivotgrid-keyboard.md +223 -0
  375. package/docs/pivotgrid-layout.md +663 -0
  376. package/docs/pivotgrid-panel.md +223 -0
  377. package/docs/pivotgrid-remote.md +397 -0
  378. package/docs/pivotgrid-sorting.md +379 -0
  379. package/docs/pivotgrid-state.md +245 -0
  380. package/docs/pivotgrid-summaries.md +330 -0
  381. package/docs/pivotgrid.md +295 -0
  382. package/docs/popover.md +1 -1
  383. package/docs/progress.md +1 -1
  384. package/docs/qrcode.md +1 -1
  385. package/docs/radiogroup.md +1 -1
  386. package/docs/rating.md +1 -1
  387. package/docs/resizable.md +1 -1
  388. package/docs/ribbonmenu-api.md +2 -1
  389. package/docs/ribbonmenu-commands.md +1 -1
  390. package/docs/ribbonmenu-customization.md +3 -2
  391. package/docs/ribbonmenu-display.md +1 -1
  392. package/docs/ribbonmenu-layouts.md +1 -1
  393. package/docs/ribbonmenu-programmatic.md +1 -1
  394. package/docs/ribbonmenu.md +3 -1
  395. package/docs/scheduler-agenda.md +1 -1
  396. package/docs/scheduler-big-data.md +1 -1
  397. package/docs/scheduler-editing.md +1 -1
  398. package/docs/scheduler-form.md +1 -1
  399. package/docs/scheduler-icalendar.md +1 -1
  400. package/docs/scheduler-mobile.md +1 -1
  401. package/docs/scheduler-recurrence.md +1 -1
  402. package/docs/scheduler-resources.md +1 -1
  403. package/docs/scheduler-timeline.md +1 -1
  404. package/docs/scheduler.md +1 -1
  405. package/docs/scrollview.md +1 -1
  406. package/docs/shortcuteditor.md +1 -1
  407. package/docs/showcase-home.md +1 -1
  408. package/docs/showcase-mail.md +39 -0
  409. package/docs/showcase.md +1 -1
  410. package/docs/signature.md +1 -1
  411. package/docs/skeleton.md +1 -1
  412. package/docs/slider.md +1 -1
  413. package/docs/sortable.md +3 -6
  414. package/docs/sparkline.md +1 -1
  415. package/docs/speeddial.md +1 -1
  416. package/docs/splitter.md +1 -1
  417. package/docs/stepper.md +1 -1
  418. package/docs/switch.md +1 -1
  419. package/docs/tabdocs-dock.md +1 -1
  420. package/docs/tabdocs-drag.md +1 -1
  421. package/docs/tabdocs-menus.md +1 -1
  422. package/docs/tabdocs-mobile.md +1 -1
  423. package/docs/tabdocs-tabs.md +1 -1
  424. package/docs/tabdocs-windows.md +1 -1
  425. package/docs/tabdocs-workspace.md +1 -1
  426. package/docs/tabdocs.md +1 -1
  427. package/docs/tabs.md +1 -1
  428. package/docs/tagbox.md +1 -1
  429. package/docs/textarea.md +4 -1
  430. package/docs/textbox.md +2 -1
  431. package/docs/tileview.md +1 -1
  432. package/docs/timeline.md +1 -1
  433. package/docs/toast.md +1 -1
  434. package/docs/tokens.md +687 -1
  435. package/docs/toolbar-api.md +80 -0
  436. package/docs/toolbar-customization.md +261 -0
  437. package/docs/toolbar.md +4 -52
  438. package/docs/tooltip.md +1 -1
  439. package/docs/treeview.md +1 -1
  440. package/docs/validationsummary.md +1 -1
  441. package/docs/window.md +1 -1
  442. package/docs/wizard.md +1 -1
  443. package/llms-full.txt +18989 -12344
  444. package/llms.txt +29 -2
  445. package/package.json +2 -2
  446. package/dist/components/datagrid/model/date-type.d.ts +0 -3
  447. package/dist/components/datagrid/model/option-of.d.ts +0 -6
  448. package/dist/components/datagrid/model/value-loader.d.ts +0 -8
  449. package/dist/formula-guard-NYlpoA-t.js.map +0 -1
  450. package/dist/tr-BvKE8jSF.js.map +0 -1
  451. /package/dist/{components/datagrid/model → core}/text-ranges.d.ts +0 -0
  452. /package/dist/{components/datagrid/model → parts/table}/ExtraHeights.d.ts +0 -0
  453. /package/dist/{components/datagrid/model → parts/table}/ScrollGeometry.d.ts +0 -0
  454. /package/dist/{components/datagrid/model → parts/table}/cell-list.d.ts +0 -0
  455. /package/dist/{components/datagrid/model → parts/table}/date-like.d.ts +0 -0
  456. /package/dist/{components/datagrid/view → parts/table}/editor-value.d.ts +0 -0
  457. /package/dist/{components/datagrid/model → parts/table}/formula-guard.d.ts +0 -0
  458. /package/dist/{components/datagrid/model → parts/table}/parse-date-text.d.ts +0 -0
  459. /package/dist/{components/datagrid/model → parts/table}/same-value.d.ts +0 -0
@@ -0,0 +1,71 @@
1
+ import { type ComponentBase } from '@motifx/core';
2
+ import type { UiStrings } from '../../../core/ui-strings';
3
+ import { MxForm } from '../../form/MxForm';
4
+ import { ListBox } from '../../listbox/ListBox';
5
+ import type { PivotFilterValues } from '../model/PivotFilterValues';
6
+ import type { PivotGridArea } from '../pivot-grid-area';
7
+ import type { PivotGridField } from '../pivot-grid-field';
8
+ import type { PivotGridFieldChooser } from '../pivot-grid-field-chooser';
9
+ import { PivotFieldPanel } from './PivotFieldPanel';
10
+ /** What the field chooser asks of the pivot it arranges. */
11
+ export interface PivotFieldChooserHost<T> {
12
+ /** The pivot: the window's owner, and where the focus goes back. */
13
+ readonly owner: ComponentBase;
14
+ /** The fields as arranged now. */
15
+ fields(): readonly PivotGridField<T>[];
16
+ /** The area the app gave a field, by its place in `fields`. */
17
+ given(at: number): PivotGridArea | undefined;
18
+ options(): PivotGridFieldChooser;
19
+ /** Takes an arrangement of the fields, place by place, as the user's change. */
20
+ apply(fields: readonly PivotGridField<T>[]): void;
21
+ values(): PivotFilterValues<T>;
22
+ count(n: number): string;
23
+ text(key: keyof UiStrings, values?: Record<string, unknown>): string;
24
+ /** Gives the focus back to the pivot when nothing has it after the window. */
25
+ returnFocus(): void;
26
+ }
27
+ /** An entry of the list of every field: its place in `fields`, and its title. */
28
+ interface Entry {
29
+ value: number;
30
+ text: string;
31
+ }
32
+ /**
33
+ * The field chooser in a window (the kit's `MxForm`): every field in the kit's `ListBox` with check boxes and a search
34
+ * box, checked while it is in an area, beside or over the four areas of a field panel. It works on a copy of the
35
+ * arrangement: each change goes to the pivot at once, or with OK (`applyChangesMode: 'onDemand'`; Cancel, Escape and
36
+ * the close button leave the pivot as it was). A field checked in takes the area the app gave it, else the data fields
37
+ * when it sums up its rows, else the row fields; unchecked, it leaves every area.
38
+ */
39
+ export declare class PivotFieldChooser<T> {
40
+ private readonly host;
41
+ window: MxForm | null;
42
+ private draft;
43
+ private list;
44
+ private panel;
45
+ private filter;
46
+ private onDemand;
47
+ constructor(host: PivotFieldChooserHost<T>);
48
+ get opened(): boolean;
49
+ /** The list of every field while the window is open, for tests and the pivot. */
50
+ get listBox(): ListBox<Entry, number> | null;
51
+ /** The areas of the open window, for tests and the pivot. */
52
+ get areas(): PivotFieldPanel<T> | null;
53
+ open(): void;
54
+ /** Closes the window; in `onDemand` mode `apply` gives the pivot the arrangement made in it. */
55
+ close(apply: boolean, closing?: boolean): void;
56
+ /** The pivot's fields changed from outside while the window is open: it starts again from them. */
57
+ refresh(): void;
58
+ /** The copy the window works on, from the pivot's fields as arranged now. */
59
+ private seed;
60
+ /** A change to the copy: at once to the pivot, which the copy then starts again from, or kept for OK. */
61
+ private changed;
62
+ private redraw;
63
+ private title;
64
+ /** Every field that takes part, in the order of `fields`. */
65
+ private entries;
66
+ /** The fields in an area. */
67
+ private checked;
68
+ /** The list's check boxes changed: a field checked goes into its area, last; one unchecked leaves every area. */
69
+ private check;
70
+ }
71
+ export {};
@@ -0,0 +1,92 @@
1
+ import type { Component, ComponentBase } from '@motifx/core';
2
+ import type { UiStrings } from '../../../core/ui-strings';
3
+ import type { PivotGridField } from '../pivot-grid-field';
4
+ import type { PivotGridFieldPanel } from '../pivot-grid-field-panel';
5
+ type Area = 'filter' | 'data' | 'column' | 'row';
6
+ /** What the panel asks of the pivot it stands over. */
7
+ export interface PivotFieldPanelHost<T> {
8
+ /** The fields as arranged now. */
9
+ fields(): readonly PivotGridField<T>[];
10
+ panel(): PivotGridFieldPanel;
11
+ /** Puts the field at `at` into an area at a place, or out of every area (`undefined`), as the user's change. */
12
+ move(at: number, area: Area | undefined, place: number): void;
13
+ /** Gives the field at `at` an order of its members, as the user's change. */
14
+ sort(at: number, order: 'asc' | 'desc'): void;
15
+ /** Opens the header filter of the field at `at` next to its chip. */
16
+ filter(at: number, anchor: ComponentBase): void;
17
+ /** Whether the panel offers the field chooser, and opens it. */
18
+ chooser?(): boolean;
19
+ openChooser?(): void;
20
+ /** The exports the panel offers, one per format: one runs at once, several are offered in a menu. */
21
+ exports?(): readonly {
22
+ text: string;
23
+ run: () => void;
24
+ }[];
25
+ text(key: keyof UiStrings, values?: Record<string, unknown>): string;
26
+ }
27
+ /**
28
+ * The field panel over the table: an area of chips for the filter, data, column and row fields, in their order. A chip
29
+ * is pressed to turn the order of its members around (row and column fields), dragged from area to area and along its
30
+ * area, or worked from the keys: the chips are one Tab stop, the arrows go from chip to chip, Shift and an arrow move
31
+ * one, Delete takes it out, and Alt and Down, Shift and F10 or the menu key open its menu, which does all of it. It
32
+ * follows nothing: the pivot draws it again after every change.
33
+ */
34
+ export declare class PivotFieldPanel<T> {
35
+ private readonly owner;
36
+ private readonly host;
37
+ readonly part: Component<HTMLDivElement>;
38
+ /** Each area: its part, its name, its text while it has no chips, and the mark of where a dragged chip would land in it. */
39
+ private readonly areas;
40
+ /** The chips by the place of their field in `fields`. */
41
+ private readonly chips;
42
+ private readonly hintId;
43
+ private readonly hint;
44
+ private readonly live;
45
+ private readonly chooserButton;
46
+ private readonly exportButton;
47
+ private readonly ghost;
48
+ /** The field whose chip has the Tab stop. */
49
+ private active;
50
+ private menu;
51
+ private suppressClick;
52
+ /** The press under way began on a chip's funnel. */
53
+ private pressedFunnel;
54
+ constructor(owner: ComponentBase, host: PivotFieldPanelHost<T>);
55
+ /** The chip of a field while it shows, by the field's place in `fields`. */
56
+ chipOf(at: number): Component<HTMLButtonElement> | undefined;
57
+ /** Draws the panel as the fields and the panel's options read now. */
58
+ draw(): void;
59
+ dispose(): void;
60
+ /** The fields of the chips in the order they stand: area by area, along each. */
61
+ private order;
62
+ /** The fields of an area's chips, in order. */
63
+ private inArea;
64
+ private writeChip;
65
+ /** A chip, not placed yet: `draw` puts it in its area, in order. */
66
+ private makeChip;
67
+ /** The one chip in the Tab order: the active one. */
68
+ private syncTabStop;
69
+ private canDrag;
70
+ private canSort;
71
+ /** Opens a field's header filter next to its chip. */
72
+ private openFilter;
73
+ /** Turns the order of a row or column field's members around. */
74
+ private turn;
75
+ private key;
76
+ /** Moves a field as the user's change, and says where it went. */
77
+ private moveTo;
78
+ /** Takes a field out of every area; the focus goes to the chip after it, else before it. */
79
+ private remove;
80
+ /** The chip's menu: its order, and its moves to the other areas and along its own. */
81
+ private openMenu;
82
+ /** The export button: its one export runs, several are offered in a menu under it. */
83
+ private export;
84
+ private makeMenu;
85
+ /** Where a point drops: the area under it and the place among its chips, by their middles; reads only. */
86
+ private dropAt;
87
+ /** Shows where a drop lands: its area marked, and that area's mark among its chips. */
88
+ private showDrop;
89
+ /** Dragging a chip: over an area it lands there, at the place under the pointer; elsewhere nothing moves. */
90
+ private press;
91
+ }
92
+ export {};
@@ -0,0 +1,263 @@
1
+ import { type Component, type ComponentBase } from '@motifx/core';
2
+ import type { data } from '@motifx-community/data';
3
+ import type { PivotGridColumn } from '../pivot-grid-column';
4
+ import type { PivotGridCellContext } from '../pivot-grid-cell-context';
5
+ import { PivotCellRanges, type PivotCellKey } from '../model/PivotCellRanges';
6
+ import type { PivotWindowHeader, PivotWindowLine } from '../model/PivotAxisWindow';
7
+ import type { PivotTable } from '../model/PivotTable';
8
+ import type { PivotTexts } from '../model/PivotTexts';
9
+ /** What the view asks of the pivot it draws. */
10
+ export interface PivotViewHost<T> {
11
+ emptyText(): string;
12
+ cellTemplate(): ((ctx: PivotGridCellContext<T>) => unknown) | undefined;
13
+ cellClass(): ((ctx: PivotGridCellContext<T>) => string | undefined) | undefined;
14
+ toggle(axis: 'row' | 'column', member: data.PivotMember): void;
15
+ /** Whether the user opens and closes a member: its field's `allowExpanding`. */
16
+ canToggle(axis: 'row' | 'column', member: data.PivotMember): boolean;
17
+ cellClick(ctx: PivotGridCellContext<T>, event: MouseEvent): void;
18
+ cellDblClick(ctx: PivotGridCellContext<T>, event: MouseEvent | KeyboardEvent): void;
19
+ /** A data cell's name: its row, its column, its data field and its value, as the kit's language puts them. */
20
+ cellLabel(row: string, column: string, field: string, value: string): string;
21
+ /** Whether the user selects cells, and how many ranges. */
22
+ selection(): 'none' | 'single' | 'multiple';
23
+ /** The cell ranges changed: by the user, or as a new layout left a range without its corner. */
24
+ selectionChanged(byUser: boolean): void;
25
+ /** The lines in view of a table read in parts, drawn or kept: their parts are read where they are missing. */
26
+ viewing(rows: {
27
+ first: number;
28
+ end: number;
29
+ }, columns: {
30
+ first: number;
31
+ end: number;
32
+ }): void;
33
+ /** The width the user gave a column, over its field's `width`, if any. */
34
+ width(column: PivotGridColumn<T>): number | undefined;
35
+ /** Whether the user may resize a column, and the least width it takes. */
36
+ resizable(column: PivotGridColumn<T>): boolean;
37
+ minWidth(): number;
38
+ /** A drag at a header's end resized a column. */
39
+ resized(column: PivotGridColumn<T>, width: number): void;
40
+ }
41
+ /** Whether two columns are the same, as their widths are kept. */
42
+ export declare const sameColumn: (a: PivotGridColumn, b: PivotGridColumn) => boolean;
43
+ /**
44
+ * What the table's menu opens on (`menuAt`): a row or column header with its text, a title of the corner (its row level
45
+ * in the tabular layout, else -1), or a data cell.
46
+ */
47
+ export type PivotMenuPlace<T> = {
48
+ area: 'row' | 'column';
49
+ header: PivotWindowHeader;
50
+ text: string;
51
+ } | {
52
+ area: 'corner';
53
+ level: number;
54
+ text: string;
55
+ column: number;
56
+ } | {
57
+ area: 'data';
58
+ cell: PivotGridCellContext<T>;
59
+ };
60
+ /**
61
+ * The table of a pivot: the column headers in one grid that stays at the top, and the rows of the body placed where
62
+ * they scroll to, only those in view (with a few more), each on the same columns as the headers, its row headers kept
63
+ * at the start. Columns in view only get cells too; the room of the others is kept by two spacer columns. Rows, header
64
+ * cells and cells are kept by their line, so a scroll makes only those that come into view and drops those that leave,
65
+ * and a new result writes the texts of those that stay. In the tabular layout a row header over several rows is drawn
66
+ * in the first of them in view, as tall as the rows left, so its text stays in view.
67
+ */
68
+ export declare class PivotView<T> {
69
+ private readonly viewport;
70
+ private readonly head;
71
+ private readonly body;
72
+ private readonly host;
73
+ private layout;
74
+ private texts;
75
+ private rowHeight;
76
+ /** The viewport: its scroll from the top and from the inline start, its room. */
77
+ private top;
78
+ private start;
79
+ private width;
80
+ private height;
81
+ /** The header's height as laid out (its lines included); 0 until it is read. */
82
+ private headSize;
83
+ private headerWidths;
84
+ /** The widths of the data columns. */
85
+ private sizes;
86
+ private columns;
87
+ /**
88
+ * The cell with the Tab stop: its row (`h0`, `h1` … a header row, else its line's `placeKey`) and its column (`r0`,
89
+ * `r1` … a column of row headers, else its line's `placeKey`). It stays drawn wherever the view scrolls.
90
+ */
91
+ private active;
92
+ /** Where the active cell was last found: it stays near there when its row or column goes. */
93
+ private at;
94
+ private tabStop;
95
+ private window;
96
+ /** The lines of the body drawn, with a few more past each edge. */
97
+ private rowWindow;
98
+ /** The grid track of each data column drawn. */
99
+ private readonly tracks;
100
+ private readonly heads;
101
+ private readonly corners;
102
+ /** The part of a corner cell's text, and the place to resize its column at its end (a title's). */
103
+ private readonly cornerParts;
104
+ /** A drag at a header's end just ended: the click it ends with opens no member. */
105
+ private suppressClick;
106
+ /** A row of header cells per level, which places nothing itself: its cells are on the header's grid. */
107
+ private headRows;
108
+ private readonly rows;
109
+ /** The places of the corner's cells, the headers and the data cells, for the menu. */
110
+ private readonly places;
111
+ /** The cell ranges the user selected. */
112
+ readonly ranges: PivotCellRanges;
113
+ /** A range drawn with the pointer: where it is, and what ends it. */
114
+ private drag;
115
+ constructor(viewport: Component<HTMLDivElement>, head: Component<HTMLDivElement>, body: Component<HTMLDivElement>, host: PivotViewHost<T>);
116
+ /** Draws a new layout: the widths, the header and the rows in view; what stays is written in place. */
117
+ draw(layout: PivotTable<T>, texts: PivotTexts<T>): void;
118
+ /** The keys of the lines a table read in parts keeps: the active cell's and the corners of the ranges. */
119
+ keys(): {
120
+ rows: string[];
121
+ columns: string[];
122
+ };
123
+ /** Parts of a table read in parts came: the lines and cells in view are drawn again, as they read now. */
124
+ refresh(): void;
125
+ /** The selection mode changed, or the ranges were given: the drawn cells show them again. */
126
+ drawRanges(): void;
127
+ /**
128
+ * A key on the table: the arrows, Home and End (with Ctrl, to the first and last rows), Page Up and Page Down move the
129
+ * active cell, over a cell that spans several; Enter and Space open or close the member of a header. With cells
130
+ * selected (`selection`), Shift and those keys run the last range to where they move among the data cells, Ctrl+A
131
+ * selects every data cell, Escape clears the ranges, and a move without Shift clears them too. Whether it was used.
132
+ */
133
+ key(e: KeyboardEvent): boolean;
134
+ /**
135
+ * Starts a range at a data cell the pointer pressed, runs the last one to it (Shift), or adds one there (Ctrl, with
136
+ * `selection: 'multiple'`); the pointer then draws it over the cells, the view scrolling at its edges.
137
+ */
138
+ private pressCell;
139
+ /** The pointer, held down, runs the last range to the data cell under it. */
140
+ private drawWithPointer;
141
+ /** The data cell under the pointer, read in a round of the measure layer, takes the last range's far corner. */
142
+ private runTo;
143
+ /** The data cell under a point of the page, by the view's geometry, held to the data cells: places of its lines. */
144
+ private cellUnder;
145
+ /** Shift and a key: the last range runs to the data cell at `row`, `column` of the table, which becomes active. */
146
+ private extendTo;
147
+ /** A range from the active cell, where it is a data cell; whether one started. */
148
+ private startAtActive;
149
+ /** Every data cell, one range. */
150
+ private selectAll;
151
+ /** Clears the ranges; whether there were any. */
152
+ private clearRanges;
153
+ private rangesChanged;
154
+ /** The data cell of row line `row` and column line `column`, by the keys of its lines. */
155
+ keyOf(row: number, column: number): PivotCellKey;
156
+ /** A data cell's range marks: in a range, with the edges it draws and whether the last range started there. */
157
+ private writeRange;
158
+ /** What a data cell shows: its value as its data field formats it, `emptyText` where no row falls, nothing on a heading line. */
159
+ /** The widths of the columns of row headers and of the data columns as the table lays them out, in pixels: what an export keeps. */
160
+ widths(): {
161
+ header: readonly number[];
162
+ data: (column: number) => number;
163
+ };
164
+ /** The column a column of row headers is, as its width is kept: a row field's, the one of the tree layout, or the titles'. */
165
+ headerColumn(index: number): PivotGridColumn<T>;
166
+ /** The column a data column is, as its width is kept: one of its data field's, or of none where it shows several or none. */
167
+ dataColumn(c: number): PivotGridColumn<T>;
168
+ /**
169
+ * The column a place of the menu names, as its width is kept: a title of the corner's column, a row header's column,
170
+ * a column header's where it stands over one column at the bottom; `null` for any other.
171
+ */
172
+ columnOfPlace(place: PivotMenuPlace<T>): PivotGridColumn<T> | null;
173
+ /** A column's width now, in pixels. */
174
+ widthOf(column: PivotGridColumn<T>): number;
175
+ /** Gives a column another width at once, while a drag or the keys resize it; the next `draw` reads the widths kept. */
176
+ widen(column: PivotGridColumn<T>, px: number): void;
177
+ /** The data field a data column shows: its place among those running along the columns, or the only one; -1 for several down the rows, or none. */
178
+ private measureOfColumn;
179
+ cellText(row: PivotWindowLine, column: PivotWindowLine): string;
180
+ /** Enter on the data cell at a place: its double click, where it has a value read; whether it was one. */
181
+ private dataCellKey;
182
+ /** A data cell's context, as `onCellClick` gives it. */
183
+ cellContext(row: PivotWindowLine, column: PivotWindowLine): PivotGridCellContext<T>;
184
+ /** Whether an event came from the content `cellTemplate` put in a cell: its keys and presses are its own. */
185
+ fromContent(e: Event): boolean;
186
+ /** The active cell's text, as Ctrl+C copies it without ranges. */
187
+ activeText(): string;
188
+ /**
189
+ * What the table's menu opens on: the header, the title of the corner or the data cell `part` is (or is inside), which
190
+ * becomes the active cell; `null` outside them.
191
+ */
192
+ menuAt(part: ComponentBase | null): PivotMenuPlace<T> | null;
193
+ /** Focuses the active cell (drawn first); with `reveal`, scrolls it into view. */
194
+ focusActive(reveal: boolean): void;
195
+ /** The viewport scrolled or changed its size; the rows and columns in view are drawn. `head` is the header's height. */
196
+ viewed(top: number, start: number, width: number, height: number, head: number): void;
197
+ setRowHeight(height: number): void;
198
+ /** Where the rows of the body start in the viewport: under the header as laid out, or its rows until it is read. */
199
+ private get headHeight();
200
+ /** The header rows go, with their cells. */
201
+ private clearHead;
202
+ /** Where a column of row headers starts: the widths of those before it. */
203
+ private atOf;
204
+ private geometry;
205
+ private place;
206
+ /**
207
+ * The tracks of the columns: the row headers', then a track per data column drawn and one for the room of the columns
208
+ * between them, so the grid has as many tracks as the columns in view, however many the table has.
209
+ */
210
+ private placeTracks;
211
+ /** The data columns across the scroll, scaled where the browser could not scroll them all. */
212
+ private across;
213
+ /** The grid track of a data column drawn. */
214
+ private trackOf;
215
+ /** The active cell's data column, kept drawn; -1 for a column of row headers. */
216
+ private get keptColumn();
217
+ /** The active cell's line, kept drawn; -1 in the header. */
218
+ private get keptLine();
219
+ /** The data columns drawn: those in view, with a few more, and the active cell's. */
220
+ private shownColumns;
221
+ /** Where the active cell is now: found by its row and column, else near where it was; the first cell at first. */
222
+ private position;
223
+ private setActive;
224
+ /** A cell took focus (a click, a key): it becomes the active cell. */
225
+ private took;
226
+ /** The active cell is the one Tab stop of the table; without cells, the viewport is, so its scroll can be reached. */
227
+ private syncTabStop;
228
+ /** What stands at a place of the table, the same for every place a cell spans. */
229
+ private cellAt;
230
+ /** The column header or row header at a place, with its axis; `null` for the corner and the data cells. */
231
+ private headerAt;
232
+ /** The part drawn for a place of the table. */
233
+ private partAt;
234
+ /** The rows a page key moves: those the body shows, less one. */
235
+ private pageRows;
236
+ /** Scrolls a place of the table into view: its line under the header, its column past the row headers. */
237
+ private reveal;
238
+ /** The corner and the column headers in the columns in view. */
239
+ private placeHead;
240
+ private corner;
241
+ private placeRows;
242
+ private placeRowHeads;
243
+ private placeCells;
244
+ private headerCell;
245
+ /** Whether the user opens and closes the member of a header: it opens, and its field allows it. */
246
+ private toggles;
247
+ /** What a header cell is kept by: its member and kind, and whether the user opens it (a header that becomes so is made again). */
248
+ private headId;
249
+ /** The place at a cell's end where its column is resized by dragging; hidden until the column can be. */
250
+ private resizeHandle;
251
+ /** Drags a column's end: the column is as wide as the pointer makes it at once, and its width is kept once let go. */
252
+ private pressResize;
253
+ private writeHeader;
254
+ /** What a header shows: its data field's title, its member's total, or its member. */
255
+ private headerText;
256
+ /** A line as it is read out: the members from the top down ("East › Ankara"), a total, or the grand total. */
257
+ private pathText;
258
+ private context;
259
+ private dataCell;
260
+ private writeCell;
261
+ private writeKind;
262
+ private writeClass;
263
+ }
@@ -1,5 +1,6 @@
1
1
  import { Component, Emitter, type Bind, type ComponentBase, type Event as MotifEvent, type IBaseProp } from "@motifx/core";
2
2
  import { Control } from "../../core/control";
3
+ import { type Point } from "../../core/measure";
3
4
  import type { WindowBox } from "../../parts/window/window-box";
4
5
  import type { ResizeEventArgs } from "./resize-event-args";
5
6
  import type { ResizeStart } from "./resize-start";
@@ -78,6 +79,7 @@ export declare class Resizable extends Control<HTMLDivElement, ResizableProps> {
78
79
  applyBox(box: WindowBox, positioned: boolean): void;
79
80
  args(edge: ResizeEdge, box: WindowBox, event?: Event): ResizeEventArgs;
80
81
  pointerDown(e: PointerEvent, edge: ResizeEdge, handle: Component<HTMLDivElement> | null): void;
82
+ frameOf(from: ResizeStart, drawn: WindowBox): Point;
81
83
  keyDown(e: KeyboardEvent): void;
82
84
  finish(edge: ResizeEdge, event?: Event): void;
83
85
  private readonly readSize;
@@ -47,11 +47,15 @@ export declare class RibbonKeyHints {
47
47
  level: 'tabs' | 'commands' | 'inner' | null;
48
48
  inner: InnerHints | null;
49
49
  wanted: Wanted | null;
50
+ /** The letters of the level are not laid out yet: keys typed meanwhile wait in `queue` and are typed once they are. */
51
+ waiting: boolean;
52
+ queue: string[];
50
53
  constructor(owner: Component<HTMLElement>, tabs: () => KeyHint[], commands: () => KeyHint[], ended: () => void);
51
54
  get active(): boolean;
52
55
  start(level: 'tabs' | 'commands'): void;
53
56
  stop(): void;
54
57
  key(e: KeyboardEvent): boolean;
58
+ type(key: string): void;
55
59
  draw(hints: KeyHint[], host?: Component<HTMLElement>): void;
56
60
  readonly readSpots: () => Spots | null;
57
61
  readonly drawBadges: (spots: Spots | null) => void;
@@ -222,6 +222,8 @@ export declare class RibbonMenu extends Control<HTMLDivElement, RibbonMenuProps>
222
222
  set customizable(value: Bind<boolean>);
223
223
  get customization(): RibbonMenuCustomization;
224
224
  set customization(value: Bind<RibbonMenuCustomization | null>);
225
+ get toolbarTargets(): boolean;
226
+ set toolbarTargets(value: Bind<boolean>);
225
227
  get onDisplayChanged(): MotifEvent<RibbonMenuDisplayChangedEventArgs>;
226
228
  get onCustomized(): MotifEvent<RibbonMenuCustomizedEventArgs>;
227
229
  get onItemsChanged(): MotifEvent<RibbonMenuItemsChangedEventArgs>;
@@ -390,7 +392,7 @@ export declare class RibbonMenu extends Control<HTMLDivElement, RibbonMenuProps>
390
392
  item: RibbonTab | RibbonGroup | RibbonCommand | null;
391
393
  path: string | null;
392
394
  };
393
- menuCommands(e: Event): MenuItem[];
395
+ menuCommands(e: Event, sends?: readonly MenuItem[]): MenuItem[];
394
396
  placeQuick(position: RibbonQuickBarPosition): void;
395
397
  whereOfMade(m: Made): Where;
396
398
  hitOf(e: Event): {
@@ -402,6 +404,7 @@ export declare class RibbonMenu extends Control<HTMLDivElement, RibbonMenuProps>
402
404
  } | {
403
405
  quick: true;
404
406
  path: string | null;
407
+ command: RibbonCommand;
405
408
  } | null;
406
409
  fromContent(e: Event): boolean;
407
410
  groupStops(group: GroupPart): ComponentBase[];
@@ -4,13 +4,17 @@ import type { RibbonCommand } from "./ribbon-command";
4
4
  import type { RibbonGroup } from "./ribbon-group";
5
5
  import type { RibbonTab } from "./ribbon-tab";
6
6
  export interface RibbonMenuCustomMenuOpeningEventArgs {
7
- /** The tab, group or command pressed with the right button or the menu key, as the app gave it; `null` elsewhere. */
7
+ /**
8
+ * The tab, group or command pressed with the right button or the menu key, as the app gave it (one of the quick
9
+ * commands too); `null` elsewhere.
10
+ */
8
11
  item: RibbonTab | RibbonGroup | RibbonCommand | null;
9
- /** Its path, such as `home/clipboard/paste`; `null` with `item`. */
12
+ /** Its path, such as `home/clipboard/paste`; `null` with `item`, and for one of the app's quick commands. */
10
13
  path: string | null;
11
14
  /**
12
- * The commands of the menu about to open: the menu's own when `customizable` is on, else none. Change the list to
13
- * add your own or to leave some out. The menu does not open when it is empty.
15
+ * The commands of the menu about to open: the menu's own when `customizable` is on, and for a command that names one
16
+ * of the app, the lines that send it to a toolbar (`toolbarTargets`). Change the list to add your own or to leave
17
+ * some out. The menu does not open when it is empty.
14
18
  */
15
19
  items: MenuItem[];
16
20
  /** Set to `true` to keep the menu closed. */
@@ -52,6 +52,12 @@ export interface RibbonMenuProps extends ControlProps {
52
52
  customizable?: Bind<boolean>;
53
53
  /** What the user changed, to save and give back: the menu starts from it and reports each change with `onCustomized`. */
54
54
  customization?: Bind<RibbonMenuCustomization | null>;
55
+ /**
56
+ * On a command that names a command of the app, the menu of the right button offers to add it to each toolbar of the
57
+ * page that takes commands (`Toolbar.customizable` and `acceptCommands`), or to take it away from one that shows it;
58
+ * also when `customizable` is off. The quick commands stay the menu's own. The default is `true`.
59
+ */
60
+ toolbarTargets?: Bind<boolean>;
55
61
  /** Any content of the app at the start of the row of tabs, such as a button. */
56
62
  barStart?: Bind<ComponentBase | null>;
57
63
  /** Any content of the app at the end of the row of tabs, such as a search field, a button or an editor. */
@@ -52,6 +52,8 @@ export declare class TimeView<T> extends Component<HTMLDivElement, Props<T>> imp
52
52
  private drawShown;
53
53
  /** The appointments over the cells, and the line at the time it is now. */
54
54
  private drawLayer;
55
+ /** The line at the time it is now, over a column of today; hidden outside the hours shown. */
56
+ private drawNow;
55
57
  /** The places of the rows' cells, as many as the columns built. */
56
58
  private shownPlaces;
57
59
  /** The rows of cells, made once: a cell is made when its place comes and kept while it stays. */
@@ -4,6 +4,7 @@ import { type Box } from "../../core/measure";
4
4
  import { Spinner } from "../progress/Spinner";
5
5
  import type { PullDownEventArgs } from "./pull-down-event-args";
6
6
  import type { ReachBottomEventArgs } from "./reach-bottom-event-args";
7
+ import type { ScrollEndChangedEventArgs } from "./scroll-end-changed-event-args";
7
8
  import type { ScrollEventArgs } from "./scroll-event-args";
8
9
  import type { ScrollViewBars } from "./scroll-view-bars";
9
10
  import type { ScrollViewDirection } from "./scroll-view-direction";
@@ -47,7 +48,16 @@ export declare class ScrollView extends Control<HTMLDivElement, ScrollViewProps>
47
48
  pulled: Emitter<PullDownEventArgs>;
48
49
  reached: Emitter<ReachBottomEventArgs>;
49
50
  scrolled: Emitter<ScrollEventArgs>;
51
+ endChanged: Emitter<ScrollEndChangedEventArgs>;
50
52
  stops: (() => void)[];
53
+ /** The view stands at the end of its content (within `endOffset`). */
54
+ atEnd: boolean;
55
+ /** Where the view stood when the end was last noted: it leaves the end only by going up from there. */
56
+ endTop: number;
57
+ /** The content's height as its last size notice told it: where the end is, without a read. */
58
+ contentHeight: number;
59
+ /** A `stick` waits for the end of the task. */
60
+ stickQueued: boolean;
51
61
  constructor(props?: IBaseProp<ScrollViewProps>);
52
62
  get direction(): ScrollViewDirection;
53
63
  set direction(value: Bind<ScrollViewDirection>);
@@ -72,6 +82,23 @@ export declare class ScrollView extends Control<HTMLDivElement, ScrollViewProps>
72
82
  get onPullDown(): MotifEvent<PullDownEventArgs>;
73
83
  get onReachBottom(): MotifEvent<ReachBottomEventArgs>;
74
84
  get onScrolled(): MotifEvent<ScrollEventArgs>;
85
+ get stickToEnd(): boolean;
86
+ set stickToEnd(value: Bind<boolean>);
87
+ get endOffset(): number;
88
+ set endOffset(value: Bind<number>);
89
+ /** The view stands at the end of its content, within `endOffset`. */
90
+ get isAtEnd(): boolean;
91
+ /** Occurs when the view comes to the end of its content or leaves it, by the user or by code. */
92
+ get onAtEndChanged(): MotifEvent<ScrollEndChangedEventArgs>;
93
+ /** Scrolls to the end of the content; a view stuck to the end stays there from now on. */
94
+ scrollToEnd(smooth?: boolean): void;
95
+ /**
96
+ * Makes `change` (parts added or taken away above `part`) and keeps `part` where it was on screen, before the frame
97
+ * is painted: the view scrolls by as much as the part moved.
98
+ */
99
+ holdPosition(part: ComponentBase, change: () => void): void;
100
+ /** Where `part` is, from the top of the view. */
101
+ offsetOf(part: ComponentBase): number;
75
102
  /** The current scroll position. */
76
103
  get scrollTop(): number;
77
104
  get scrollLeft(): number;
@@ -107,7 +134,27 @@ export declare class ScrollView extends Control<HTMLDivElement, ScrollViewProps>
107
134
  /** Shows the panel at the end and raises `onReachBottom`; `atEnd` when the view stood at the very end. */
108
135
  startLoad(atEnd: boolean): void;
109
136
  readonly readHeight: () => number;
110
- readonly scrollToEnd: (height: number) => void;
137
+ readonly writeEnd: (height: number) => void;
138
+ /**
139
+ * Content was added: a view stuck to the end goes to the new end at the end of this task, before the frame is
140
+ * drawn. Many calls in a task (the pieces of a streamed reply) read the height once. Call it where the content
141
+ * changes; growth nobody tells of follows a frame later, from the size notice.
142
+ */
143
+ stick(): void;
144
+ /** As `stick`, now, with a read: for a change made where the frame is about to be drawn (a scroll handler). */
145
+ stickNow(): void;
146
+ /**
147
+ * The size notice told how far the end is: a view stuck to it goes there, without a read. A notice comes a frame or
148
+ * two after the size it tells: an end above where the view already stands is an old one, and the view stays.
149
+ */
150
+ stickTo(height: number): void;
151
+ /**
152
+ * Notes whether the view stands at the end, from a box read for the scroll. A view at the end that went down stays
153
+ * there: it went to the end it knew, and content that grew before the notice of that scroll came does not take it
154
+ * away.
155
+ */
156
+ noteEnd(box: Box): void;
157
+ setAtEnd(atEnd: boolean): void;
111
158
  /** Checks the position again after the content changes, and requests more data near the end. */
112
159
  update(): void;
113
160
  pullHeight(): number;
@@ -5,3 +5,4 @@ export type { ScrollViewBars } from './scroll-view-bars';
5
5
  export type { PullDownEventArgs } from './pull-down-event-args';
6
6
  export type { ReachBottomEventArgs } from './reach-bottom-event-args';
7
7
  export type { ScrollEventArgs } from './scroll-event-args';
8
+ export type { ScrollEndChangedEventArgs } from './scroll-end-changed-event-args';
@@ -0,0 +1,7 @@
1
+ import type { ScrollView } from './ScrollView';
2
+ /** The arguments of `onAtEndChanged`. */
3
+ export interface ScrollEndChangedEventArgs {
4
+ /** `true` when the view came to the end of its content, `false` when it left it. */
5
+ atEnd: boolean;
6
+ source: ScrollView;
7
+ }
@@ -2,6 +2,7 @@ import type { Bind } from '@motifx/core';
2
2
  import type { ControlProps } from '../../core/control';
3
3
  import type { PullDownEventArgs } from './pull-down-event-args';
4
4
  import type { ReachBottomEventArgs } from './reach-bottom-event-args';
5
+ import type { ScrollEndChangedEventArgs } from './scroll-end-changed-event-args';
5
6
  import type { ScrollEventArgs } from './scroll-event-args';
6
7
  import type { ScrollViewBars } from './scroll-view-bars';
7
8
  import type { ScrollViewDirection } from './scroll-view-direction';
@@ -25,7 +26,15 @@ export interface ScrollViewProps extends ControlProps {
25
26
  reachBottomText?: Bind<string>;
26
27
  /** The accessible name of the scrolling region. */
27
28
  label?: Bind<string>;
29
+ /**
30
+ * While the view stands at the end, content that grows keeps it at the end (a log, a chat); scrolled away, it stays
31
+ * where it is until it comes back to the end. The default is `false`.
32
+ */
33
+ stickToEnd?: Bind<boolean>;
34
+ /** How near the end, in pixels, counts as at the end. The default is `24`. */
35
+ endOffset?: Bind<number>;
28
36
  onPullDown?: (e: PullDownEventArgs) => void;
29
37
  onReachBottom?: (e: ReachBottomEventArgs) => void;
30
38
  onScrolled?: (e: ScrollEventArgs) => void;
39
+ onAtEndChanged?: (e: ScrollEndChangedEventArgs) => void;
31
40
  }