@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.
- package/CHANGELOG.md +379 -0
- package/README.md +2 -0
- package/dist/components/chart/Chart.d.ts +6 -4
- package/dist/components/chart/ChartPlot.d.ts +2 -1
- package/dist/components/chart/plot-view.d.ts +10 -2
- package/dist/components/chat/Chat.d.ts +276 -0
- package/dist/components/chat/ChatComposer.d.ts +172 -0
- package/dist/components/chat/ChatReply.d.ts +53 -0
- package/dist/components/chat/ChatWriter.d.ts +119 -0
- package/dist/components/chat/chat-ask-form.d.ts +64 -0
- package/dist/components/chat/chat-asked-entry.d.ts +21 -0
- package/dist/components/chat/chat-attachment-entry.d.ts +18 -0
- package/dist/components/chat/chat-choices-view.d.ts +40 -0
- package/dist/components/chat/chat-command.d.ts +7 -0
- package/dist/components/chat/chat-compaction-entry.d.ts +19 -0
- package/dist/components/chat/chat-composer-props.d.ts +63 -0
- package/dist/components/chat/chat-context-changed-event-args.d.ts +8 -0
- package/dist/components/chat/chat-context-item.d.ts +14 -0
- package/dist/components/chat/chat-copy-button.d.ts +11 -0
- package/dist/components/chat/chat-entry.d.ts +20 -0
- package/dist/components/chat/chat-flow-view.d.ts +32 -0
- package/dist/components/chat/chat-form-entry.d.ts +24 -0
- package/dist/components/chat/chat-form-view.d.ts +48 -0
- package/dist/components/chat/chat-history-event-args.d.ts +31 -0
- package/dist/components/chat/chat-load-older-event-args.d.ts +17 -0
- package/dist/components/chat/chat-look.d.ts +33 -0
- package/dist/components/chat/chat-mention.d.ts +21 -0
- package/dist/components/chat/chat-message-status.d.ts +2 -0
- package/dist/components/chat/chat-message.d.ts +23 -0
- package/dist/components/chat/chat-notice-entry.d.ts +20 -0
- package/dist/components/chat/chat-option.d.ts +7 -0
- package/dist/components/chat/chat-part.d.ts +110 -0
- package/dist/components/chat/chat-plan-entry.d.ts +25 -0
- package/dist/components/chat/chat-props.d.ts +70 -0
- package/dist/components/chat/chat-question-view.d.ts +41 -0
- package/dist/components/chat/chat-request.d.ts +173 -0
- package/dist/components/chat/chat-role.d.ts +2 -0
- package/dist/components/chat/chat-search-bar.d.ts +27 -0
- package/dist/components/chat/chat-search.d.ts +33 -0
- package/dist/components/chat/chat-send-event-args.d.ts +12 -0
- package/dist/components/chat/chat-sources-entry.d.ts +22 -0
- package/dist/components/chat/chat-text-entry.d.ts +20 -0
- package/dist/components/chat/chat-text-part.d.ts +5 -0
- package/dist/components/chat/chat-thinking-entry.d.ts +32 -0
- package/dist/components/chat/chat-todo-entry.d.ts +15 -0
- package/dist/components/chat/chat-tool-entry.d.ts +66 -0
- package/dist/components/chat/chat-tool-init.d.ts +18 -0
- package/dist/components/chat/chat-turn-view.d.ts +53 -0
- package/dist/components/chat/chat-turn.d.ts +8 -0
- package/dist/components/chat/chat-value-changed-event-args.d.ts +6 -0
- package/dist/components/chat/index.d.ts +22 -0
- package/dist/components/contextmenu/ContextMenu.d.ts +4 -0
- package/dist/components/contextmenu/context-menu-props.d.ts +6 -0
- package/dist/components/datagrid/DataGrid.d.ts +0 -12
- package/dist/components/datagrid/column-type.d.ts +2 -1
- package/dist/components/datagrid/grid-column.d.ts +4 -1
- package/dist/components/datagrid/grid-date-interval.d.ts +2 -1
- package/dist/components/datagrid/grid-filter-value.d.ts +2 -7
- package/dist/components/datagrid/grid-header-filter-interval.d.ts +2 -2
- package/dist/components/datagrid/grid-settings.d.ts +6 -3
- package/dist/components/datagrid/grid-sheet-cell.d.ts +3 -6
- package/dist/components/datagrid/grid-sheet-column.d.ts +2 -9
- package/dist/components/datagrid/grid-sheet-merge.d.ts +2 -7
- package/dist/components/datagrid/grid-sheet-row.d.ts +2 -5
- package/dist/components/datagrid/grid-sheet.d.ts +3 -2
- package/dist/components/datagrid/grid-summary-item.d.ts +5 -2
- package/dist/components/datagrid/grid-summary-texts.d.ts +2 -0
- package/dist/components/datagrid/grid-summary-type.d.ts +5 -2
- package/dist/components/datagrid/grid-summary.d.ts +3 -2
- package/dist/components/datagrid/list-option.d.ts +2 -4
- package/dist/components/datagrid/model/ColumnModel.d.ts +21 -3
- package/dist/components/datagrid/model/FilterValues.d.ts +15 -7
- package/dist/components/datagrid/model/GridExport.d.ts +1 -1
- package/dist/components/datagrid/model/GridModel.d.ts +2 -2
- package/dist/components/datagrid/model/LookupTexts.d.ts +1 -1
- package/dist/components/datagrid/view/CellEditor.d.ts +1 -1
- package/dist/components/datagrid/view/ColumnStyles.d.ts +1 -1
- package/dist/components/datagrid/view/GridBody.d.ts +1 -1
- package/dist/components/datagrid/view/HeaderRow.d.ts +3 -1
- package/dist/components/draggable/Draggable.d.ts +14 -3
- package/dist/components/form/MxForm.d.ts +1 -1
- package/dist/components/markdown/Markdown.d.ts +87 -0
- package/dist/components/markdown/code-block.d.ts +57 -0
- package/dist/components/markdown/code-colorer.d.ts +11 -0
- package/dist/components/markdown/code-highlighter.d.ts +9 -0
- package/dist/components/markdown/code-run.d.ts +6 -0
- package/dist/components/markdown/diagram-renderer.d.ts +21 -0
- package/dist/components/markdown/entities.d.ts +2 -0
- package/dist/components/markdown/index.d.ts +8 -0
- package/dist/components/markdown/inline-writer.d.ts +85 -0
- package/dist/components/markdown/markdown-context.d.ts +53 -0
- package/dist/components/markdown/markdown-link-click-event-args.d.ts +9 -0
- package/dist/components/markdown/markdown-props.d.ts +40 -0
- package/dist/components/markdown/markdown-writer.d.ts +95 -0
- package/dist/components/markdown/math-block.d.ts +22 -0
- package/dist/components/markdown/math-renderer.d.ts +18 -0
- package/dist/components/markdown/safe-href.d.ts +5 -0
- package/dist/components/markdown/text-run.d.ts +7 -0
- package/dist/components/menubar/MenuBar.d.ts +4 -0
- package/dist/components/menubar/menu-bar-props.d.ts +6 -0
- package/dist/components/pivotgrid/PivotGrid.d.ts +415 -0
- package/dist/components/pivotgrid/index.d.ts +44 -0
- package/dist/components/pivotgrid/model/PivotArrangement.d.ts +29 -0
- package/dist/components/pivotgrid/model/PivotAxisWindow.d.ts +169 -0
- package/dist/components/pivotgrid/model/PivotCellRanges.d.ts +63 -0
- package/dist/components/pivotgrid/model/PivotCellWindow.d.ts +47 -0
- package/dist/components/pivotgrid/model/PivotChart.d.ts +49 -0
- package/dist/components/pivotgrid/model/PivotDisplay.d.ts +61 -0
- package/dist/components/pivotgrid/model/PivotDrill.d.ts +19 -0
- package/dist/components/pivotgrid/model/PivotExpansion.d.ts +44 -0
- package/dist/components/pivotgrid/model/PivotFields.d.ts +55 -0
- package/dist/components/pivotgrid/model/PivotFilterValues.d.ts +36 -0
- package/dist/components/pivotgrid/model/PivotLayout.d.ts +75 -0
- package/dist/components/pivotgrid/model/PivotLoader.d.ts +29 -0
- package/dist/components/pivotgrid/model/PivotSheet.d.ts +44 -0
- package/dist/components/pivotgrid/model/PivotStateStore.d.ts +19 -0
- package/dist/components/pivotgrid/model/PivotTable.d.ts +78 -0
- package/dist/components/pivotgrid/model/PivotTexts.d.ts +47 -0
- package/dist/components/pivotgrid/model/PivotWindows.d.ts +120 -0
- package/dist/components/pivotgrid/model/pivot-copy.d.ts +26 -0
- package/dist/components/pivotgrid/model/pivot-csv.d.ts +9 -0
- package/dist/components/pivotgrid/model/pivot-header-cell.d.ts +19 -0
- package/dist/components/pivotgrid/model/pivot-line-key.d.ts +17 -0
- package/dist/components/pivotgrid/model/pivot-line.d.ts +14 -0
- package/dist/components/pivotgrid/pivot-grid-area.d.ts +2 -0
- package/dist/components/pivotgrid/pivot-grid-cell-click-event-args.d.ts +5 -0
- package/dist/components/pivotgrid/pivot-grid-cell-context.d.ts +19 -0
- package/dist/components/pivotgrid/pivot-grid-cell-dbl-click-event-args.d.ts +5 -0
- package/dist/components/pivotgrid/pivot-grid-cell-range.d.ts +16 -0
- package/dist/components/pivotgrid/pivot-grid-cell-selection-changed-event-args.d.ts +6 -0
- package/dist/components/pivotgrid/pivot-grid-chart-data.d.ts +15 -0
- package/dist/components/pivotgrid/pivot-grid-chart-options.d.ts +19 -0
- package/dist/components/pivotgrid/pivot-grid-column-resized-event-args.d.ts +8 -0
- package/dist/components/pivotgrid/pivot-grid-column-resizing.d.ts +15 -0
- package/dist/components/pivotgrid/pivot-grid-column.d.ts +19 -0
- package/dist/components/pivotgrid/pivot-grid-content-ready-event-args.d.ts +6 -0
- package/dist/components/pivotgrid/pivot-grid-context-menu-preparing-event-args.d.ts +22 -0
- package/dist/components/pivotgrid/pivot-grid-copying-event-args.d.ts +10 -0
- package/dist/components/pivotgrid/pivot-grid-custom-summary-info.d.ts +15 -0
- package/dist/components/pivotgrid/pivot-grid-data-error-event-args.d.ts +5 -0
- package/dist/components/pivotgrid/pivot-grid-drill-down.d.ts +14 -0
- package/dist/components/pivotgrid/pivot-grid-expanded-event-args.d.ts +6 -0
- package/dist/components/pivotgrid/pivot-grid-expanding-event-args.d.ts +9 -0
- package/dist/components/pivotgrid/pivot-grid-export-cell.d.ts +21 -0
- package/dist/components/pivotgrid/pivot-grid-export-options.d.ts +16 -0
- package/dist/components/pivotgrid/pivot-grid-export.d.ts +17 -0
- package/dist/components/pivotgrid/pivot-grid-exported-event-args.d.ts +9 -0
- package/dist/components/pivotgrid/pivot-grid-exporting-event-args.d.ts +17 -0
- package/dist/components/pivotgrid/pivot-grid-field-chooser.d.ts +20 -0
- package/dist/components/pivotgrid/pivot-grid-field-panel.d.ts +16 -0
- package/dist/components/pivotgrid/pivot-grid-field.d.ts +110 -0
- package/dist/components/pivotgrid/pivot-grid-fields-changed-event-args.d.ts +8 -0
- package/dist/components/pivotgrid/pivot-grid-filter-value.d.ts +4 -0
- package/dist/components/pivotgrid/pivot-grid-group-interval.d.ts +7 -0
- package/dist/components/pivotgrid/pivot-grid-header-filter-items-request.d.ts +9 -0
- package/dist/components/pivotgrid/pivot-grid-header-filter-items.d.ts +7 -0
- package/dist/components/pivotgrid/pivot-grid-load-panel.d.ts +11 -0
- package/dist/components/pivotgrid/pivot-grid-props.d.ts +121 -0
- package/dist/components/pivotgrid/pivot-grid-sheet-options.d.ts +14 -0
- package/dist/components/pivotgrid/pivot-grid-sheet.d.ts +19 -0
- package/dist/components/pivotgrid/pivot-grid-state.d.ts +54 -0
- package/dist/components/pivotgrid/pivot-grid-summary-cell.d.ts +29 -0
- package/dist/components/pivotgrid/pivot-grid-summary-display-mode.d.ts +5 -0
- package/dist/components/pivotgrid/pivot-grid-summary-type.d.ts +5 -0
- package/dist/components/pivotgrid/view/PivotFieldChooser.d.ts +71 -0
- package/dist/components/pivotgrid/view/PivotFieldPanel.d.ts +92 -0
- package/dist/components/pivotgrid/view/PivotView.d.ts +263 -0
- package/dist/components/resizable/Resizable.d.ts +2 -0
- package/dist/components/ribbonmenu/RibbonKeyHints.d.ts +4 -0
- package/dist/components/ribbonmenu/RibbonMenu.d.ts +4 -1
- package/dist/components/ribbonmenu/ribbon-menu-custom-menu-opening-event-args.d.ts +8 -4
- package/dist/components/ribbonmenu/ribbon-menu-props.d.ts +6 -0
- package/dist/components/scheduler/view/TimeView.d.ts +2 -0
- package/dist/components/scrollview/ScrollView.d.ts +48 -1
- package/dist/components/scrollview/index.d.ts +1 -0
- package/dist/components/scrollview/scroll-end-changed-event-args.d.ts +7 -0
- package/dist/components/scrollview/scroll-view-props.d.ts +9 -0
- package/dist/components/splitter/Splitter.d.ts +1 -3
- package/dist/components/tabdocs/TabDocumentManager.d.ts +3 -2
- package/dist/components/textarea/TextArea.d.ts +11 -0
- package/dist/components/textarea/text-area-props.d.ts +12 -1
- package/dist/components/textbox/TextBox.d.ts +3 -0
- package/dist/components/textbox/text-box-props.d.ts +3 -0
- package/dist/components/toolbar/Toolbar.d.ts +70 -1
- package/dist/components/toolbar/index.d.ts +5 -0
- package/dist/components/toolbar/toolbar-added-item.d.ts +9 -0
- package/dist/components/toolbar/toolbar-custom-menu-opening-event-args.d.ts +23 -0
- package/dist/components/toolbar/toolbar-customization.d.ts +18 -0
- package/dist/components/toolbar/toolbar-customized-event-args.d.ts +7 -0
- package/dist/components/toolbar/toolbar-item-display.d.ts +2 -0
- package/dist/components/toolbar/toolbar-item.d.ts +11 -1
- package/dist/components/toolbar/toolbar-props.d.ts +26 -0
- package/dist/components/toolbar/toolbar-targets.d.ts +22 -0
- package/dist/core/clipboard.d.ts +11 -0
- package/dist/core/enter-key-hint.d.ts +2 -0
- package/dist/core/look-watch.d.ts +2 -2
- package/dist/core/measure/look.d.ts +1 -1
- package/dist/core/measure/on-layout.d.ts +1 -1
- package/dist/core/measure/scroll.d.ts +3 -1
- package/dist/core/save-text.d.ts +2 -0
- package/dist/core/ui-strings.d.ts +190 -0
- package/dist/excel/excel-pivot-customize-cell-args.d.ts +8 -0
- package/dist/excel/excel-pivot-export-options.d.ts +44 -0
- package/dist/excel/excel-pivot-export-result.d.ts +6 -0
- package/dist/excel/export-pivot-grid.d.ts +35 -0
- package/dist/excel/index.d.ts +4 -0
- package/dist/excel/index.js +190 -56
- package/dist/excel/index.js.map +1 -1
- package/dist/excel/write-sheet.d.ts +16 -0
- package/dist/{formula-guard-NYlpoA-t.js → formula-guard-Bx48S0u3.js} +2 -2
- package/dist/formula-guard-Bx48S0u3.js.map +1 -0
- package/dist/generated/tokens.d.ts +7527 -4097
- package/dist/index.d.ts +6 -0
- package/dist/index.js +65982 -49896
- package/dist/index.js.map +1 -1
- package/dist/locales/en.json +179 -1
- package/dist/locales/tr.json +179 -1
- package/dist/parts/customizer/Customizer.d.ts +12 -6
- package/dist/parts/customizer/customizer-display.d.ts +2 -0
- package/dist/parts/customizer/customizer-node.d.ts +5 -0
- package/dist/parts/customizer/customizer-source.d.ts +15 -3
- package/dist/parts/item-layout/layout-added-item.d.ts +2 -2
- package/dist/parts/menu/MenuList.d.ts +5 -0
- package/dist/parts/popup/Popup.d.ts +2 -0
- package/dist/{components/datagrid/model → parts/table}/CellFormatter.d.ts +8 -8
- package/dist/{components/datagrid/view → parts/table}/HeaderFilter.d.ts +16 -11
- package/dist/parts/table/OffsetList.d.ts +21 -0
- package/dist/parts/table/ScaledOffsets.d.ts +32 -0
- package/dist/{components/datagrid/model → parts/table}/ValueIntervals.d.ts +12 -5
- package/dist/{components/datagrid/model → parts/table}/ValueListAdapter.d.ts +4 -4
- package/dist/parts/table/date-interval.d.ts +2 -0
- package/dist/parts/table/date-type.d.ts +3 -0
- package/dist/{components/datagrid/model → parts/table}/filter-tree-node.d.ts +3 -1
- package/dist/parts/table/filter-value.d.ts +9 -0
- package/dist/parts/table/format-column.d.ts +14 -0
- package/dist/parts/table/header-filter-host.d.ts +27 -0
- package/dist/parts/table/option-of.d.ts +6 -0
- package/dist/parts/table/slice-sheet.d.ts +8 -0
- package/dist/parts/table/table-sheet-cell.d.ts +13 -0
- package/dist/parts/table/table-sheet-column.d.ts +11 -0
- package/dist/parts/table/table-sheet-merge.d.ts +9 -0
- package/dist/parts/table/table-sheet-row.d.ts +8 -0
- package/dist/parts/table/table-sheet.d.ts +24 -0
- package/dist/parts/table/value-interval.d.ts +6 -0
- package/dist/{components/datagrid/model → parts/table}/value-list.d.ts +7 -2
- package/dist/parts/table/value-loader.d.ts +8 -0
- package/dist/parts/table/value-option.d.ts +5 -0
- package/dist/parts/table/value-type.d.ts +5 -0
- package/dist/parts/table/values-result.d.ts +6 -0
- package/dist/parts/window/follow-pointer.d.ts +9 -3
- package/dist/parts/window-list/WindowList.d.ts +105 -0
- package/dist/parts/window-list/window-list-source.d.ts +10 -0
- package/dist/pdf/export-pivot-grid.d.ts +21 -0
- package/dist/pdf/index.d.ts +3 -0
- package/dist/pdf/index.js +143 -16
- package/dist/pdf/index.js.map +1 -1
- package/dist/pdf/pdf-customize-cell-args.d.ts +1 -1
- package/dist/pdf/pdf-pivot-cell-args.d.ts +25 -0
- package/dist/pdf/pdf-pivot-export-options.d.ts +61 -0
- package/dist/pdf/pdf-table.d.ts +38 -6
- package/dist/slice-sheet-C116M42H.js +43 -0
- package/dist/slice-sheet-C116M42H.js.map +1 -0
- package/dist/styles.css +4484 -177
- package/dist/tokens/index.d.ts +7527 -4097
- package/dist/tokens/index.js +7527 -4097
- package/dist/tokens/index.js.map +1 -1
- package/dist/{tr-BvKE8jSF.js → tr-BGbF9uCs.js} +359 -3
- package/dist/tr-BGbF9uCs.js.map +1 -0
- package/docs/accordion.md +1 -1
- package/docs/actionsheet.md +1 -1
- package/docs/appbar.md +1 -1
- package/docs/appmenu-api.md +1 -1
- package/docs/appmenu-programmatic.md +1 -1
- package/docs/appmenu-search.md +1 -1
- package/docs/appmenu.md +1 -1
- package/docs/avatar.md +1 -1
- package/docs/badge.md +1 -1
- package/docs/bar-gauge-angles.md +1 -1
- package/docs/bar-gauge-data.md +1 -1
- package/docs/bar-gauge-labels.md +1 -1
- package/docs/bar-gauge.md +1 -1
- package/docs/barcode.md +1 -1
- package/docs/bottomnavigation.md +1 -1
- package/docs/bottomsheet.md +1 -1
- package/docs/breadcrumb.md +1 -1
- package/docs/button.md +1 -1
- package/docs/buttongroup.md +1 -1
- package/docs/buttons.md +1 -1
- package/docs/calendar.md +1 -1
- package/docs/card.md +1 -1
- package/docs/chart-bars.md +1 -1
- package/docs/chart-candles.md +1 -1
- package/docs/chart-funnel.md +1 -1
- package/docs/chart-heatmap.md +1 -1
- package/docs/chart-lines.md +1 -1
- package/docs/chart-live.md +1 -1
- package/docs/chart-pie.md +1 -1
- package/docs/chart-radar.md +1 -1
- package/docs/chart-ranges.md +1 -1
- package/docs/chart-references.md +1 -1
- package/docs/chart-scatter.md +1 -1
- package/docs/chart-waterfall.md +1 -1
- package/docs/chart-zoom.md +1 -1
- package/docs/chart.md +1 -1
- package/docs/chat.md +1512 -0
- package/docs/checkbox.md +1 -1
- package/docs/chip.md +2 -2
- package/docs/choice.md +1 -1
- package/docs/colorbox.md +1 -1
- package/docs/combobox.md +1 -1
- package/docs/commands.md +1 -1
- package/docs/control.md +1 -1
- package/docs/data.md +1 -1
- package/docs/datagrid-api.md +3 -3
- package/docs/datagrid-bands.md +1 -1
- package/docs/datagrid-drag-select.md +1 -1
- package/docs/datagrid-drag.md +1 -1
- package/docs/datagrid-editing.md +1 -1
- package/docs/datagrid-filtering.md +2 -2
- package/docs/datagrid-forms.md +1 -1
- package/docs/datagrid-grouping.md +7 -7
- package/docs/datagrid-layout.md +2 -2
- package/docs/datagrid-lookups.md +1 -1
- package/docs/datagrid-master-detail.md +1 -1
- package/docs/datagrid-scrolling.md +1 -1
- package/docs/datagrid-selection.md +1 -1
- package/docs/datagrid.md +1 -1
- package/docs/datebox.md +1 -1
- package/docs/daterangebox.md +1 -1
- package/docs/display.md +1 -1
- package/docs/draggable.md +2 -2
- package/docs/drawer.md +1 -1
- package/docs/dropdown.md +1 -1
- package/docs/editors.md +1 -1
- package/docs/feedback.md +1 -1
- package/docs/fileuploader.md +1 -1
- package/docs/filterbuilder.md +1 -1
- package/docs/formlayout.md +1 -1
- package/docs/foundations.md +1 -1
- package/docs/gallery.md +1 -1
- package/docs/gauge-base.md +1 -1
- package/docs/gauge-circular.md +1 -1
- package/docs/gauge-dashboards.md +1 -1
- package/docs/gauge-linear.md +1 -1
- package/docs/gauge-markers.md +1 -1
- package/docs/gauge-marks.md +1 -1
- package/docs/gauge-ranges.md +1 -1
- package/docs/gauge-scales.md +1 -1
- package/docs/gauge.md +1 -1
- package/docs/home.md +1 -1
- package/docs/keyboard.md +1 -1
- package/docs/language.md +1 -1
- package/docs/layout.md +1 -1
- package/docs/listbox.md +1 -1
- package/docs/loadpanel.md +1 -1
- package/docs/lookup.md +1 -1
- package/docs/markdown.md +343 -0
- package/docs/menus-api.md +3 -1
- package/docs/menus-context.md +2 -1
- package/docs/menus-customization.md +5 -1
- package/docs/menus-merging.md +1 -1
- package/docs/menus-programmatic.md +1 -1
- package/docs/menus.md +1 -1
- package/docs/multiview.md +1 -1
- package/docs/navigation.md +1 -1
- package/docs/numberbox.md +1 -1
- package/docs/otpinput.md +1 -1
- package/docs/pagination.md +1 -1
- package/docs/pivotgrid-api.md +180 -0
- package/docs/pivotgrid-chart.md +132 -0
- package/docs/pivotgrid-drilldown.md +142 -0
- package/docs/pivotgrid-export.md +207 -0
- package/docs/pivotgrid-fields.md +245 -0
- package/docs/pivotgrid-keyboard.md +223 -0
- package/docs/pivotgrid-layout.md +663 -0
- package/docs/pivotgrid-panel.md +223 -0
- package/docs/pivotgrid-remote.md +397 -0
- package/docs/pivotgrid-sorting.md +379 -0
- package/docs/pivotgrid-state.md +245 -0
- package/docs/pivotgrid-summaries.md +330 -0
- package/docs/pivotgrid.md +295 -0
- package/docs/popover.md +1 -1
- package/docs/progress.md +1 -1
- package/docs/qrcode.md +1 -1
- package/docs/radiogroup.md +1 -1
- package/docs/rating.md +1 -1
- package/docs/resizable.md +1 -1
- package/docs/ribbonmenu-api.md +2 -1
- package/docs/ribbonmenu-commands.md +1 -1
- package/docs/ribbonmenu-customization.md +3 -2
- package/docs/ribbonmenu-display.md +1 -1
- package/docs/ribbonmenu-layouts.md +1 -1
- package/docs/ribbonmenu-programmatic.md +1 -1
- package/docs/ribbonmenu.md +3 -1
- package/docs/scheduler-agenda.md +1 -1
- package/docs/scheduler-big-data.md +1 -1
- package/docs/scheduler-editing.md +1 -1
- package/docs/scheduler-form.md +1 -1
- package/docs/scheduler-icalendar.md +1 -1
- package/docs/scheduler-mobile.md +1 -1
- package/docs/scheduler-recurrence.md +1 -1
- package/docs/scheduler-resources.md +1 -1
- package/docs/scheduler-timeline.md +1 -1
- package/docs/scheduler.md +1 -1
- package/docs/scrollview.md +1 -1
- package/docs/shortcuteditor.md +1 -1
- package/docs/showcase-home.md +1 -1
- package/docs/showcase-mail.md +39 -0
- package/docs/showcase.md +1 -1
- package/docs/signature.md +1 -1
- package/docs/skeleton.md +1 -1
- package/docs/slider.md +1 -1
- package/docs/sortable.md +3 -6
- package/docs/sparkline.md +1 -1
- package/docs/speeddial.md +1 -1
- package/docs/splitter.md +1 -1
- package/docs/stepper.md +1 -1
- package/docs/switch.md +1 -1
- package/docs/tabdocs-dock.md +1 -1
- package/docs/tabdocs-drag.md +1 -1
- package/docs/tabdocs-menus.md +1 -1
- package/docs/tabdocs-mobile.md +1 -1
- package/docs/tabdocs-tabs.md +1 -1
- package/docs/tabdocs-windows.md +1 -1
- package/docs/tabdocs-workspace.md +1 -1
- package/docs/tabdocs.md +1 -1
- package/docs/tabs.md +1 -1
- package/docs/tagbox.md +1 -1
- package/docs/textarea.md +4 -1
- package/docs/textbox.md +2 -1
- package/docs/tileview.md +1 -1
- package/docs/timeline.md +1 -1
- package/docs/toast.md +1 -1
- package/docs/tokens.md +687 -1
- package/docs/toolbar-api.md +80 -0
- package/docs/toolbar-customization.md +261 -0
- package/docs/toolbar.md +4 -52
- package/docs/tooltip.md +1 -1
- package/docs/treeview.md +1 -1
- package/docs/validationsummary.md +1 -1
- package/docs/window.md +1 -1
- package/docs/wizard.md +1 -1
- package/llms-full.txt +18989 -12344
- package/llms.txt +29 -2
- package/package.json +2 -2
- package/dist/components/datagrid/model/date-type.d.ts +0 -3
- package/dist/components/datagrid/model/option-of.d.ts +0 -6
- package/dist/components/datagrid/model/value-loader.d.ts +0 -8
- package/dist/formula-guard-NYlpoA-t.js.map +0 -1
- package/dist/tr-BvKE8jSF.js.map +0 -1
- /package/dist/{components/datagrid/model → core}/text-ranges.d.ts +0 -0
- /package/dist/{components/datagrid/model → parts/table}/ExtraHeights.d.ts +0 -0
- /package/dist/{components/datagrid/model → parts/table}/ScrollGeometry.d.ts +0 -0
- /package/dist/{components/datagrid/model → parts/table}/cell-list.d.ts +0 -0
- /package/dist/{components/datagrid/model → parts/table}/date-like.d.ts +0 -0
- /package/dist/{components/datagrid/view → parts/table}/editor-value.d.ts +0 -0
- /package/dist/{components/datagrid/model → parts/table}/formula-guard.d.ts +0 -0
- /package/dist/{components/datagrid/model → parts/table}/parse-date-text.d.ts +0 -0
- /package/dist/{components/datagrid/model → parts/table}/same-value.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,385 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.1.0-beta.14] - 2026-11-22
|
|
10
|
+
|
|
11
|
+
Needs `@motifx/core` 1.2.0-rc.31 and `@motifx-community/data` 0.1.0-beta.2.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- `Markdown`: shows markdown given at once or as it arrives from a model (`append`, `end`, or `text` with
|
|
16
|
+
`streaming`). Every character is on screen the moment it is written; a mark not understood yet shows as text at
|
|
17
|
+
the end until it is, then its element is made and the text goes on into it. Nothing drawn is drawn again, and the
|
|
18
|
+
result is the same whatever the pieces the text arrives in. Headings, emphasis, inline and fenced code, nested and
|
|
19
|
+
task lists, quotes, tables with alignment, links and bare addresses, rules, escapes and entities; HTML is shown as
|
|
20
|
+
text, links take only safe addresses, images are off until `images` and `allowImage` allow them. Code blocks show
|
|
21
|
+
their language and a copy button, and any highlighter colours them through `highlighter` (`CodeHighlighter`).
|
|
22
|
+
- The kit glyph `copy`, and the kit strings `markdownCopy`, `markdownCopied`, `markdownTaskDone`, `markdownTaskOpen`.
|
|
23
|
+
- `Chat`: a conversation with a model, its reply written as it streams through `reply()` (`ChatReply`). A reply is a
|
|
24
|
+
line of parts in the order they came: text drawn as markdown, thinking with a note on what it is about, tool calls
|
|
25
|
+
(`tool()` returns a `ChatToolCall`: `progress`, `start`, `output`, `done`, `fail`; drawn as text, a terminal or a
|
|
26
|
+
diff), a sub-agent's work drawn inside its call, the to-do list (`todo`), notices (`retrying` counts down to the next
|
|
27
|
+
try), and the place the conversation was summed up (`compaction`). The line under the conversation says what the
|
|
28
|
+
reply does, for how long, and how to stop it; a message sent meanwhile waits above the box. `signal` is aborted when
|
|
29
|
+
the user stops the reply or the chat goes, and tool calls still open when a reply ends are closed as failed.
|
|
30
|
+
- `Chat` asks the user and waits: `ChatToolCall.permission()` asks whether a tool may run ("Yes", "always", "No" with
|
|
31
|
+
what to do instead), `reply.plan()` asks to approve a plan, and `reply.questions()` asks questions (tabs, one or many
|
|
32
|
+
choices, previews, "Other", free text, "Decide for me"). Each request takes the message box's place until it is
|
|
33
|
+
answered, one at a time, and the flow says which one waits, with "Answer" to go there. Each returns a Promise and is
|
|
34
|
+
answered with the keys too; a reply that ends first answers it as declined. The answers are written into the
|
|
35
|
+
message, and a turn drawn again shows them.
|
|
36
|
+
- `Chat` keeps on the page only the turns in and near the view, and makes a turn again from its message when it comes
|
|
37
|
+
back (`WindowList`). The view stays at the end while it is there, written before the frame is drawn; scrolled away,
|
|
38
|
+
it stays put and a button counts the messages that came. `hasOlder` and `onLoadOlder` load older messages near the
|
|
39
|
+
top or from a button, and `prepend` keeps the messages on screen in place; a failed load offers to try again.
|
|
40
|
+
- `Chat`: a message of the user can be copied, edited in place and sent again (`resend`), or the conversation taken
|
|
41
|
+
back to before it (`rewind`; `onRewind` can keep it); with `onFork` it opens another conversation from there. A
|
|
42
|
+
reply is copied as markdown, and a failed or stopped last reply is tried again with `onRetry`. With a pointer the
|
|
43
|
+
buttons show on hover or focus.
|
|
44
|
+
- `Chat`: Ctrl+F opens a search over every message, the turns off the page too (`openSearch`, `closeSearch`, `find`,
|
|
45
|
+
`findNext`, `findPrevious`). The result nearest the end shows first; going to a result draws its turn and marks the
|
|
46
|
+
block that holds it (`data-found`).
|
|
47
|
+
- `Chat` for keyboards and screen readers: the turns are a feed, each an article named by its question with its place
|
|
48
|
+
in the whole conversation and busy while its reply is written; Page Down and Page Up go from turn to turn, Ctrl+End
|
|
49
|
+
to the box. Screen readers hear when a reply ends, stops, fails or waits.
|
|
50
|
+
- `Chat` on phones: an on-screen keyboard over the chat's end gives it room there, and it keeps clear of the home
|
|
51
|
+
indicator and the notch. On a touch screen Enter starts a new line in the composer and the button sends.
|
|
52
|
+
- `Chat`: `mathRenderer` and `diagramRenderer`, passed to the markdown of its messages.
|
|
53
|
+
- `ChatComposer`: the message box and its tools in one field, used by `Chat` (`composer`) or alone. Files are picked,
|
|
54
|
+
pasted or dropped, shown as chips (images as small pictures) and sent with the message (`attachments`, `accept`);
|
|
55
|
+
context chips turn on and off (`contextItems`, `onContextChanged`); `/` opens the commands (`commands`) and `@` the
|
|
56
|
+
suggestions (`onMention`, at once or by a Promise) while the focus stays in the box; menus choose the mode (`modes`,
|
|
57
|
+
Shift+Tab for the next), the model and thinking; a ring shows how much of the context is used (`usage`); ↑ and ↓ go
|
|
58
|
+
through the messages sent (`history`).
|
|
59
|
+
- `WindowList` (a part): a list of items of any height in a `ScrollView` that has only the parts in and near the view.
|
|
60
|
+
A part is made from its item when the item comes near and disposed when it goes far: only the item and the part's
|
|
61
|
+
measured height are kept. Heights are estimated until measured, and the part on screen stays where it is while
|
|
62
|
+
estimates turn into measures or items are added above. A part holding focus is not disposed.
|
|
63
|
+
- `ScrollView`: `stickToEnd` (with `endOffset`, `isAtEnd`, `onAtEndChanged`, `scrollToEnd()`, `stick()` and
|
|
64
|
+
`stickNow()`), and `holdPosition(part, change)`, which keeps a part where it was on screen while parts are added above
|
|
65
|
+
it.
|
|
66
|
+
- `TextArea`: `submitOnEnter`, where Enter raises `onEnter` and Shift+Enter starts a new line; an input method's Enter
|
|
67
|
+
never raises it. `selectionStart`, `selectionEnd` and `setSelectionRange()`.
|
|
68
|
+
- `TextArea` and `TextBox`: `enterKeyHint` (`EnterKeyHint`), what the Enter key of an on-screen keyboard says.
|
|
69
|
+
- `Markdown`: footnotes. `[^1]` is the note's number, raised, a link to its note (`[^1]: text`, drawn where it is
|
|
70
|
+
written), and the note links back. `mathRenderer` (`MathRenderer`) draws `$…$`, `$$…$$` and `math` blocks, and
|
|
71
|
+
`diagramRenderer` (`DiagramRenderer`) draws fenced blocks in its languages (`mermaid`), at once or by a promise: their
|
|
72
|
+
text shows as it arrives and what the door draws takes its place once it is complete. Without a door, `$` is text.
|
|
73
|
+
`blockAt(index)` gives the block drawn for a character of the text.
|
|
74
|
+
- `WindowList.reveal(item, then?, align?)`: brings an item into view, making its part when it has none.
|
|
75
|
+
- `Chat`: `onRegenerate` asks for another reply in the place of the last one once it ended, and `onFeedback` puts good
|
|
76
|
+
and bad buttons on a reply (toggles, written in `message.feedback`, `ChatFeedbackEventArgs`).
|
|
77
|
+
- `Chat`: `reply.form(message, schema, { source })` asks the user to fill in a form, as an MCP server's elicitation
|
|
78
|
+
does: the `requestedSchema` is drawn as the kit's editors in the message box's place (text, email, address, date
|
|
79
|
+
and time, numbers, a choice of one as round buttons or a drop-down, several as tags, a yes or no), checked as the
|
|
80
|
+
schema says, and the answer is the elicitation's result (`accept` with its content, `decline`, `cancel`). On a tool
|
|
81
|
+
call it is kept inside the call; questions and forms come one at a time.
|
|
82
|
+
- `Chat`: `reply.sources(items)` shows the sources a reply names as numbered chips, a link to each safe address, its
|
|
83
|
+
site, and what the reply took from it as its hint.
|
|
84
|
+
- `Markdown`: `codeLines` folds a code block longer than that many lines to them, with a button that shows them all
|
|
85
|
+
and folds them again; `Chat` passes its own `codeLines` on. A very long text given at once is drawn a piece a frame
|
|
86
|
+
(`isDrawing`), so the page never stops for it, and a chat whose last message is one shows once it is all there.
|
|
87
|
+
- The kit glyphs `thumb-up` and `thumb-down`, and the kit strings `chatRegenerate`, `chatGood`, `chatBad`,
|
|
88
|
+
`chatSources`, `chatForm` … `chatFormCancelled`, `markdownShowLines`, `markdownShowFewer`.
|
|
89
|
+
- The kit glyphs `send` and `stop`, the kit strings of the chat (`chatLabel` … `chatSearchNext`) and
|
|
90
|
+
`markdownFootnote`, `markdownFootnoteBack`.
|
|
91
|
+
- `Toolbar`: with `customizable`, the user arranges the toolbar from the menu of the right button or Shift+F10:
|
|
92
|
+
hides an item, moves it along the bar, puts a separator before it or takes one away, chooses what a button shows
|
|
93
|
+
(`ToolbarItemDisplay`: icon, text or both), shows the hidden items again and undoes every change. An item says
|
|
94
|
+
otherwise with `customizable: false`; JSX children stay as they are and keep the browser's menu. What the user changed
|
|
95
|
+
is one object (`customization`, `onCustomized`, `ToolbarCustomization`); items are named by their new `key`, else
|
|
96
|
+
their position. The controls of the items are kept: a move, a new name or another display writes only what changed.
|
|
97
|
+
`onCustomMenuOpening` lets the app add commands of its own, also on a toolbar the user cannot change.
|
|
98
|
+
- `Toolbar.openCustomizer()` and "Customize…" open the customizer for a flat list: the items with their check boxes,
|
|
99
|
+
separators instead of groups, renaming, what a button shows, the commands to add (`commands`, else the app's commands
|
|
100
|
+
that have a text) and the keyboard page (`customizerKeyboard`). `customizer: false` leaves it out of the menu.
|
|
101
|
+
- An item's `display` says what its button shows; the text of a button showing only its icon names it and is its
|
|
102
|
+
tooltip.
|
|
103
|
+
- Commands sent to a toolbar from a menu: on a `MenuBar` item that names a command, the menu of the right button offers
|
|
104
|
+
to add it to each customizable toolbar of the page that takes commands (`acceptCommands`), or to take it away where
|
|
105
|
+
it is shown. Adding shows the toolbar's own item of that command again, else adds it as an item of the user's; the
|
|
106
|
+
saved object keeps only the command's key. `MenuBar.toolbarTargets: false` leaves these lines out; they are there
|
|
107
|
+
also on a bar that is not `customizable`.
|
|
108
|
+
- `RibbonMenu` and `ContextMenu` send commands to toolbars the same way: a right-click (or the Menu key, Shift+F10) on
|
|
109
|
+
a ribbon command, or on an item of an open context menu or of its submenu, that names a command of the app offers
|
|
110
|
+
the same lines. On the ribbon they follow the command's own lines, alone when the menu is not `customizable`; its
|
|
111
|
+
quick commands stay its own. In a context menu they open as a small menu of their own, and elsewhere in the menu a
|
|
112
|
+
right-click still opens nothing, not even the browser's menu. `toolbarTargets: false` leaves them out on both. The
|
|
113
|
+
three menus build the lines with the same code (`toolbar-targets.ts`).
|
|
114
|
+
- `CustomizerSource` says what its owner offers: groups (`groups`, `true` by default), separators (`separators`) and
|
|
115
|
+
what an item shows (`display`); the window shows only those buttons, and a flat list adds a command with "Add" after
|
|
116
|
+
the selected item.
|
|
117
|
+
- The kit strings `customizerAdd`, `customizerNewSeparator`, `customizerSeparator`, `customizerDisplay` …
|
|
118
|
+
`customizerDisplayBoth`, `toolbarHide` … `toolbarUnnamed`, `menuBarAddToToolbar`, `menuBarRemoveFromToolbar`.
|
|
119
|
+
- `DataGrid` summaries count the different values of a column that are not empty (`summaryType: 'countDistinct'`),
|
|
120
|
+
compared the way filters compare them, in the browser or by an adapter that computes summaries. The value shows as
|
|
121
|
+
a plain number under any column. Needs `@motifx-community/data` with `countDistinct`.
|
|
122
|
+
- The kit strings `gridSummaryCountDistinct` and `gridSummaryCountDistinctOtherColumn`, and the summary texts
|
|
123
|
+
`countDistinct` and `countDistinctOtherColumn`.
|
|
124
|
+
- `PivotGrid` (its first part): the rows of `data` or a `dataSource` summed up by row fields down the side and column
|
|
125
|
+
fields across the top, a value of every data field where they cross, the totals of open members and the grand
|
|
126
|
+
totals. A field (`PivotGridField`) has an `area` (`row`, `column`, `data`, `filter`), groups dates by their parts and
|
|
127
|
+
numbers by ranges (`groupInterval`; a list makes a hierarchy), orders its members by value, by text or by a data
|
|
128
|
+
field's total, keeps the members of `filterValues` (in every area, by intervals and computed values too), and sums up
|
|
129
|
+
with a summary type or `calculateCustomSummary`. Row headers make a tree or a table (`rowHeaderLayout`), several data
|
|
130
|
+
fields run across or down (`dataFieldArea`), totals come after or before their members (`showTotalsPrior`) and turn
|
|
131
|
+
off per axis or per field. The data layer computes the pivot: in the browser for rows in memory, where a member opens
|
|
132
|
+
without a new load, or on the server where the adapter can, where a member's children load when it opens. Only the
|
|
133
|
+
rows and columns in view are drawn, the headers kept at the top and the start. `cellTemplate`, `cellClass`,
|
|
134
|
+
`onCellClick`, `onExpanding` and `onExpanded`, `onContentReady`, and `onDataErrorOccurred` with a Retry button.
|
|
135
|
+
A header opens its member wherever it is pressed. The table is an ARIA grid once it has rows, `aria-busy` while it
|
|
136
|
+
loads, with one Tab stop: the arrows (over
|
|
137
|
+
cells that span several), Home and End, Ctrl+Home and Ctrl+End, Page Up and Page Down move the active cell, which
|
|
138
|
+
stays drawn and scrolls into view; Enter and Space open a member; a cell is read as its row, its column, its data
|
|
139
|
+
field and its value, and a cell no row falls in as having no value, whatever `emptyText` shows. Right to left, the
|
|
140
|
+
arrows follow the page.
|
|
141
|
+
- The kit strings `pivotGrandTotal`, `pivotTotal`, `pivotEmpty`, `pivotQuarter`, `pivotRange`, `pivotCellLabel`,
|
|
142
|
+
`pivotNoValue`, and the `pivotgrid` token schema with the values of the five design languages.
|
|
143
|
+
- `PivotGrid` keeps what the user arranges over `fields` (`arrangedFields`; a new `fields` list starts again):
|
|
144
|
+
`fieldOption(field, name?, value?)` reads and writes a field, named by its place, `name`, `field` or `title`, and
|
|
145
|
+
`onFieldsChanged` tells every change, the user's or the code's. Options that only lay the result out do it without
|
|
146
|
+
a load, and an axis keeps its open members on the levels it keeps. The field panel (`fieldPanel`) over the table has
|
|
147
|
+
an area of chips for the filter, data, column and row fields, each named: a chip is dragged to another area or along
|
|
148
|
+
its own, and a row or column field's chip turns the order of its members around. The chips are one Tab stop, the
|
|
149
|
+
arrows go from chip to chip, Shift and an arrow move one, Delete takes it out, and Alt and Down, Shift and F10 or the
|
|
150
|
+
menu key open its menu; moves are announced. `allowFieldDragging`, and a field's `allowDragging` and `allowSorting`.
|
|
151
|
+
The kit strings `pivotFieldPanel` … `pivotFieldRemoved`, and the field panel's units in the five design languages.
|
|
152
|
+
- `PivotGrid` header filter: the funnel in a chip, or "Filter values" in its menu, opens the window `DataGrid` has (a
|
|
153
|
+
list with a search box, "Select all" and the rows of each value; a tree for a field grouped in levels) over every
|
|
154
|
+
value of the field in the source, from the data layer: in the browser, or from the server where the adapter computes
|
|
155
|
+
pivots. The choice becomes the field's `filterValues` and `filterType`, and a filtered chip shows it. A field's
|
|
156
|
+
`allowFiltering`; the kit strings `pivotFieldFiltered` and `pivotFilterValues`.
|
|
157
|
+
- `PivotGrid` field chooser (`fieldChooser`, `openFieldChooser()`, `closeFieldChooser()`, and a button at the end of
|
|
158
|
+
the field panel): a window with every field in a list that searches, checked while it is in an area, beside the four
|
|
159
|
+
areas or over them (`layout`). A field checked in takes the area it was given, else the data fields when it sums up
|
|
160
|
+
its rows, else the row fields; its chips move and filter as in the panel. Changes apply at once or with OK
|
|
161
|
+
(`applyChangesMode`). The pivot's token scope covers its header filter, menus and chooser wherever they open. The kit
|
|
162
|
+
strings `pivotFieldChooser` and `pivotAllFields`, and the chooser's units and places in the five design languages.
|
|
163
|
+
- `PivotGrid` context menu: a right click, a long press, the Menu key or Shift+F10 on a header, a title of the corner
|
|
164
|
+
or a data cell opens the kit's `ContextMenu`. It opens or closes the member, every member of its level, sorts each
|
|
165
|
+
field of the other axis by the header's row or column (a submenu of the data fields where there are several), hides
|
|
166
|
+
the field, and opens the field chooser. `onContextMenuPreparing` changes the items or cancels. A field's
|
|
167
|
+
`sortBySummaryPath` orders its members by their values in one member of the other axis; `sortBySummaryField` also
|
|
168
|
+
finds a data field by its `name`. `expandAll(area, level)` and `collapseAll(area, level)` take one level. The kit
|
|
169
|
+
strings `pivotHeaderMenu`, `pivotCellMenu`, `pivotExpand`, `pivotCollapse`, `pivotExpandAll`, `pivotCollapseAll`,
|
|
170
|
+
`pivotSortByColumn`, `pivotSortByRow` and `pivotHideField`.
|
|
171
|
+
- `PivotGrid` state: `state` reads what the user arranged (the fields' areas, places, order and filters changed over
|
|
172
|
+
`fields`, and the members opened or closed one by one, a level whole or all at once) and takes it back, starting
|
|
173
|
+
again from `fields`; the `state` prop gives one at first. `layoutKey` keeps it in `localStorage` (`layoutStorage`:
|
|
174
|
+
another store) on every change and a pivot made again with the name takes it back; dates stay dates, and full or
|
|
175
|
+
blocked storage keeps nothing and fails nothing. `resetState()` goes back to `fields` and forgets what was kept.
|
|
176
|
+
- `PivotGrid` cell selection (`cellSelection: 'single' | 'multiple'`): a press, Shift and a press, a drag (the table
|
|
177
|
+
scrolling at its edges), Ctrl and a press for another range, Shift with the arrows, Home, End, Page Up and Page Down,
|
|
178
|
+
Ctrl+A and Escape. Ranges stay on their cells through a new layout. `cellRanges`, `selectCells()`,
|
|
179
|
+
`clearCellSelection()`, `selectedCells` and `onCellSelectionChanged`. Ctrl+C and `copy()` put the ranges on the
|
|
180
|
+
clipboard under their columns' names and beside their rows' as tab-separated text and an HTML table, or the active
|
|
181
|
+
cell's text; `onCopying` changes or cancels it, and each copy is announced. The range tokens in the five design
|
|
182
|
+
languages, as `DataGrid` has them; the kit strings `pivotCopiedCell` and `pivotCopiedCells`. Keys and presses inside a
|
|
183
|
+
cell template's content stay its own. Docs: a "State and selection" page.
|
|
184
|
+
- `PivotGrid` sorting and filtering: a field's `compare` orders its members by their keys with a function of the app's
|
|
185
|
+
(in memory and over a server's members; `sortOrder` turns it around, empty members stay last), and its header filter
|
|
186
|
+
lists them in that order. A filter expression among `filterValues` keeps the rows it passes with the values, or
|
|
187
|
+
leaves them out with them, on a field grouped by an interval too (`keep` with a `filter`, from `motifjs-data`).
|
|
188
|
+
`headerFilterItems` gives a field's header filter entries of its own (members or filter expressions, or a function
|
|
189
|
+
that starts from the members). Docs: a "Sorting and filtering" page, which takes the order and filters of members
|
|
190
|
+
from "Fields and areas" and the header filter from "Field panel and chooser", and its own browser check
|
|
191
|
+
(`e2e/checks/123-pivotgrid-sorting.mjs`).
|
|
192
|
+
- `PivotGrid` reads a pivot in parts where its source computes them (`capabilities.pivotWindow` of `motifjs-data`):
|
|
193
|
+
only the members and values the view reaches, never the whole result. The first view takes three requests (the
|
|
194
|
+
first part of each axis, which tells how many members it has, then their values; a level open by default adds one).
|
|
195
|
+
Members and values are read a part at a time (`partSize`, 100 rows and 40 columns by default), the next half a part
|
|
196
|
+
before the view reaches it; a long move waits until the scroll stops and lets go of the requests still on their way.
|
|
197
|
+
A member not read yet is an empty line that reads as loading (`data-kind="loading"`, cells with `data-loading`).
|
|
198
|
+
Cell ranges and the active cell keep their members through the parts; Ctrl+C and `copy()`, which resolves to the
|
|
199
|
+
text, read the cells of the ranges first, up to 100,000. `result` and `layout` are `null` then, and `onContentReady`
|
|
200
|
+
gives no result. Columns are drawn as rows are, only those in view, and past ten million pixels the scroll across is
|
|
201
|
+
scaled, so 100,000 columns scroll as a hundred do. Docs: a "Remote data" page with a million orders on a server in a
|
|
202
|
+
worker, and its own browser check (`e2e/checks/124-pivotgrid-remote.mjs`).
|
|
203
|
+
- `PivotGrid` display calculations: a data field's `summaryDisplayMode` shows its value as a share of its row's, its
|
|
204
|
+
column's or the grand total, or of its parent member's value on the rows or the columns (`percentOfRowTotal`,
|
|
205
|
+
`percentOfColumnTotal`, `percentOfGrandTotal`, `percentOfRowParent`, `percentOfColumnParent`), or how far it moved
|
|
206
|
+
from the member before it (`absoluteVariation`, `percentVariation`, along `displayAlong`). `runningTotal` adds the
|
|
207
|
+
values up along the columns or the rows among the members of one parent, and the display mode works on the sums.
|
|
208
|
+
`calculateSummaryValue` works out what a cell shows from the cell and the cells around it (`PivotGridSummaryCell`).
|
|
209
|
+
Shares show as percentages unless the field has a format. A cell's text, its name, what Ctrl+C copies and the
|
|
210
|
+
`value` of its context are what it shows. Read in parts, the values a calculation needs are read with those in view,
|
|
211
|
+
and running totals come from the data layer (`running` of `loadPivotCells`). Docs: a "Summaries and display" page,
|
|
212
|
+
which takes the summaries from "Fields and areas", and its own browser check (`e2e/checks/125-pivotgrid-summaries.mjs`).
|
|
213
|
+
- `PivotGrid` drill-down: `drillDown(cell, options)` resolves to the rows a data cell sums up, as a filter (its members
|
|
214
|
+
on every level, through their intervals, the fields' filters and the members they keep) and as a data source. Where
|
|
215
|
+
the backend applies the filter the data source reads from the pivot's source and query, a part at a time; a field
|
|
216
|
+
read with `value`, or a condition the backend cannot write, has the rows read and filtered in the browser.
|
|
217
|
+
`onCellDblClick` occurs on a double click on a data cell and on Enter there. Docs: a "Drill-down" page with the rows
|
|
218
|
+
of a cell in a window, and its own browser check (`e2e/checks/126-pivotgrid-drilldown.mjs`).
|
|
219
|
+
- `PivotGrid` chart: `chartData(options)` gives the kit's `Chart` its `data`, `xField` and `series` from the pivot: the
|
|
220
|
+
lines of one axis (`argumentAxis`, the rows by default) along the chart's axis, the other axis's lines as series (one
|
|
221
|
+
per data field where there are several), the values and texts the cells show; `totals`, `grandTotals`, `dataFields`,
|
|
222
|
+
`level` (every member of a level, wherever the table stands) and `type`. `data` and `series` are tracked: the chart
|
|
223
|
+
follows the pivot as it loads, opens a member, scrolls or is arranged anew. Read in parts, it draws the lines in view
|
|
224
|
+
and reads a `level` whole. Docs: a "Chart" page, and its own browser check (`e2e/checks/127-pivotgrid-chart.mjs`).
|
|
225
|
+
- `PivotGrid` export: the `export` prop (`formats`, `fileName`, `enabled`) puts an export button at the end of the field
|
|
226
|
+
panel and "Export" in the table's menu. The pivot writes CSV itself (`exportCsv`); `exportTo(format)` raises
|
|
227
|
+
`onExporting` for any other format, and `onExported` follows. `exportSheet(options, write)` gives a writer the pivot
|
|
228
|
+
as rows of cells: the rows of column headers and the corner, a row per line with its row headers, every open member's,
|
|
229
|
+
headers merged over the lines and levels they cover, numbers with the format their cells show them with, totals bold.
|
|
230
|
+
A pivot read in parts is read whole first, a run of rows at a time (as many as 20,000 cells across every column, the
|
|
231
|
+
next run read while one is written), with the load panel's progress and stop button (`loadPanel`, `onProgress`,
|
|
232
|
+
`signal`, `cancelExport()`); a member opened meanwhile stops it. The million orders of the Remote data example export
|
|
233
|
+
their 100,017 rows to CSV in about nine seconds, most of them the example's server. `exportPivotGrid` of
|
|
234
|
+
`@motifx-community/ui/excel` writes it to an ExcelJS worksheet, the headers kept in view and, in the tree layout,
|
|
235
|
+
members indented and their rows folding; a table larger than a worksheet goes on in worksheets added after it, the
|
|
236
|
+
headers in each. `exportPivotGrid` of `@motifx-community/ui/pdf` draws it on a jsPDF document; columns that do not
|
|
237
|
+
fit go on to the next pages after the row headers again (`splitColumns`). The strings `pivotExport`, `pivotExportTo`,
|
|
238
|
+
`pivotExporting`, `pivotExported`, `pivotExportFailed`, `pivotExportCanceled`, `pivotExportProgress`,
|
|
239
|
+
`pivotExportCancel`, and the place `pivotgrid.export-button`. Docs: an "Export" page, and its own browser check
|
|
240
|
+
(`e2e/checks/128-pivotgrid-export.mjs`).
|
|
241
|
+
- `PivotGrid` column widths: the end of a column header drags its column wider or narrower, and the end of a title of
|
|
242
|
+
the corner a column of row headers; "Width" in a header's menu resizes with the arrow keys (Shift a pixel, Enter or
|
|
243
|
+
Tab keeps it, Escape takes it back, each step announced). A data column takes its data field's width, so every column
|
|
244
|
+
of the data field follows. The widths are kept in the `state` (a field's `width` in its entry, those of the tree's
|
|
245
|
+
column, the data field titles and the data columns of several data fields in `widths`) over the fields' `width`;
|
|
246
|
+
`onColumnResized`, `columnWidth(column)`, `resizeColumn(column, width)`, `columnResizing` (`enabled`, `minWidth`,
|
|
247
|
+
`step`, `fineStep`) and a field's `allowResizing`. The strings `pivotResizeColumn`, `pivotResizingHint`,
|
|
248
|
+
`pivotWidthIs`, the unit `pivotgrid.resize` and the token `pivotgrid.resize-hit-width`. Docs: "Column widths" on the
|
|
249
|
+
"Totals and layout" page, and its own browser check (`e2e/checks/129-pivotgrid-resize.mjs`).
|
|
250
|
+
- A `PivotGrid` field's `allowExpanding: false` keeps the user from opening and closing its members: their headers have
|
|
251
|
+
no arrow and no `aria-expanded`, Enter and Space do nothing on them, and the menu has no such items, nor its level's
|
|
252
|
+
on a title of the corner. `expanded`, `expandAll`, `collapseAll` and the state open them all the same. Changing it, or
|
|
253
|
+
`allowResizing`, lays the pivot out again without loading it.
|
|
254
|
+
- `PivotGrid` `wrapColumnHeaders`: the text of the column headers and of the corner's titles wraps onto more lines, and
|
|
255
|
+
the rows of column headers grow to hold it (`data-wrap-headers` on the pivot); row headers and cells keep one line.
|
|
256
|
+
- `PivotGrid` `showEmptyRows` and `showEmptyColumns`: `false` leaves out the rows and columns whose data fields are all
|
|
257
|
+
empty at the other axis's grand total, with their children and totals; a member whose children are all left out
|
|
258
|
+
stands as one that does not open. Read in parts, the members are asked with `nonEmpty` of `motifjs-data`, so those
|
|
259
|
+
left out are not read. Docs: "Empty rows and columns" on the "Totals and layout" page, and its own browser check
|
|
260
|
+
(`e2e/checks/130-pivotgrid-empty.mjs`).
|
|
261
|
+
- A `TableSheet` may keep columns of row headers in view (`headerColumns`) and give a cell number and date formats of
|
|
262
|
+
its own and a bold total (`numberFormat`, `dateFormat`, `strong`); the Excel and PDF writers follow them.
|
|
263
|
+
|
|
264
|
+
### Fixed
|
|
265
|
+
|
|
266
|
+
- A `PivotGrid` read in parts lets go of the values it keeps past its limit many at once. One at a time, each one let go
|
|
267
|
+
of went past all those before it, and reading slowed down the longer the pivot was scrolled.
|
|
268
|
+
- A `DataGrid` column's `headerFilterItems` with every entry chosen keeps the rows of those entries. The header filter
|
|
269
|
+
took every entry chosen for every value and dropped the filter, though entries of a column's own need not cover every
|
|
270
|
+
row.
|
|
271
|
+
- An open `ContextMenu` that follows the element it opened on through a scroll places itself again as a read the
|
|
272
|
+
measure layer allows. It read the layout in the middle of a write, which development reported and which laid the page
|
|
273
|
+
out once more.
|
|
274
|
+
- A dragged copy (a `DataGrid` header or chip, a tab, a `Sortable`, `Draggable` or `TileView` item) is as large as what
|
|
275
|
+
it copies, to the fraction of a pixel. Its size was rounded, and a copy rounded down could cut its text short.
|
|
276
|
+
- A `Toolbar` given its room back hides its "more" button once every item is in the bar again. When only its room
|
|
277
|
+
changed, the toolbar fitted its items from the sizes it knew, put them all back and left the empty button showing.
|
|
278
|
+
- `MenuBar.customization` given `null`, or a saved object, after the user changed the bar forgets or restores the
|
|
279
|
+
changes each time. The bar kept the user's changes inside only, so a value given a second time looked unchanged and
|
|
280
|
+
was not taken.
|
|
281
|
+
- The right-click menu of an item in an open `MenuBar` menu stays open while the pointer moves to it. The menu under
|
|
282
|
+
it took focus for the item under the pointer at its first move, and the right-click menu, losing focus, closed. A
|
|
283
|
+
menu list now leaves focus where it is while a popup in front of it that is not one of its own submenus holds it.
|
|
284
|
+
- A component put inside one of its kind keeps its own look, as the `DataGrid` does since 0.1.0-beta.13. A rule
|
|
285
|
+
going down from a state of a part that holds content reached the same parts of the component inside it: a
|
|
286
|
+
horizontal `Splitter` in a vertical one took its cursor; a `Timeline` in an event took the orientation of the one
|
|
287
|
+
around it; a `MultiView` in one without animation lost its slide; a vertical `Sortable` in a horizontal one drew its
|
|
288
|
+
drop line two pixels wide and no higher; a `ScrollView` took the pull state of the one around it; a `ListBox` in an
|
|
289
|
+
item of a list box with check boxes showed its checks ticked, and one in a list of several choices lost the bar of
|
|
290
|
+
its chosen item; a `TabDocumentManager` in a document took the wrapping, the row and the size of pinned tabs, the
|
|
291
|
+
splitters, the tablet and phone layout and the window's bar of the one around it. Each rule now goes the component's
|
|
292
|
+
own way down (`>`), or the root declares a value that each root declares again. Each group of a `TabDocumentManager`
|
|
293
|
+
carries `data-pinned-size`, `data-pinned-row` and `data-wrap` as the root does, for its own rules. A component on
|
|
294
|
+
its own looks as it did.
|
|
295
|
+
- A button takes the colors of an accent `AppBar` only where it stands on the bar: the bar's own, one in its content
|
|
296
|
+
(in a stack or a button group too) and the buttons of its actions. A button inside another component in the bar (a
|
|
297
|
+
`Signature`'s buttons, a field's, one in a popover, a popup or a dialog) keeps that component's colors; it took the
|
|
298
|
+
bar's light text and could not be read. Likewise a `ListBox` draws no frame of its own only where it stands on a
|
|
299
|
+
`Drawer`, a `Popup` or a `BottomSheet`: inside a card or another component there it is a field again.
|
|
300
|
+
- A `ScrollView` stuck to its end stays there when its content grows by much in a frame. The scroll it made to the end
|
|
301
|
+
was heard after the content had grown again, and read as the user leaving the end; a notice of the content's size,
|
|
302
|
+
which comes a frame or two late, took the view back up to an end it had passed. A view at the end that went down now
|
|
303
|
+
stays at the end, and a notice of an end above the view is not followed.
|
|
304
|
+
- The button back to the latest message of a `Chat` stands in the middle, on a surface of its own: the button's own
|
|
305
|
+
margins put it at the start, and its outline let the text under it show through.
|
|
306
|
+
- A `Form` maximized by a double click on its title bar goes back to its own size on Restore. Each press on the bar
|
|
307
|
+
was taken as the start of a move, and its geometry was measured a frame after the release: by then the double click
|
|
308
|
+
had maximized the form, and the page's size was kept as its `width` and `height`. A press that moves nothing now
|
|
309
|
+
keeps nothing, and the geometry is kept only in the normal state.
|
|
310
|
+
- A `Chart` measures each text in the font it is drawn in: the axis labels in theirs, the labels on the marks and of
|
|
311
|
+
the references in their own. The texts were measured in the chart's font, larger than the labels', so in a chart of
|
|
312
|
+
twelve months with room for each name every other month was left out. The probes take the units of the texts
|
|
313
|
+
(`.mx-chart__probe`, `.mx-chart__label-probe`, `.mx-chart__reference-probe`).
|
|
314
|
+
- A `Chart` turns with the reading direction when `dir` changes on the page or on a part of it, as the docs' RTL
|
|
315
|
+
switch does. A change of `dir` is a change of the look now, as a theme's is: what was drawn for one direction is
|
|
316
|
+
drawn again.
|
|
317
|
+
- `RibbonMenu` key hints take the keys typed before their letters are laid out: Alt and a letter in one go, or the
|
|
318
|
+
letter of a command typed right after the tab's. Those keys were swallowed while the letters waited for the next
|
|
319
|
+
measuring round; they now wait with them and are typed once the letters are drawn.
|
|
320
|
+
- A tab chosen right after another stays in sight in a `Tabs` strip that scrolls (Home or End just after a click).
|
|
321
|
+
Each choice asked the strip to show its tab, and both were read in the same round: the first tab, out of sight by
|
|
322
|
+
then, took the strip back to the start. A reveal asked for along the same axis of the same scroller now takes the
|
|
323
|
+
place of one not run yet (`reveal` in the measuring layer), for every component that shows its chosen item.
|
|
324
|
+
- A `Draggable` is drawn where the pointer let it go. When the drawing was behind the pointer, the last move landed
|
|
325
|
+
with the release and glided there as a move by the keys does, so `onDragEnded` came while it was still on its way.
|
|
326
|
+
It carries `data-landing` until that place is drawn; a move by the keys or the model still glides.
|
|
327
|
+
- A `Chip` that is a button or an option itself holds no button inside. Its remove mark is for the pointer only
|
|
328
|
+
(`aria-hidden`); Delete and Backspace remove it, and the chip names them (`aria-keyshortcuts`). A chip that is only
|
|
329
|
+
removable keeps its remove button.
|
|
330
|
+
- What is dragged stays under the pointer when the page, or a scroller around it, scrolls during the drag (a wheel,
|
|
331
|
+
the keys, a smooth scroll), the pointer at rest too: a `Draggable`, a `Resizable`'s edges, the handles of `Splitter`
|
|
332
|
+
and `SplitContainer`, the splitters of `TabDocumentManager` and its strip's thin scrollbar, and a `DataGrid` column's
|
|
333
|
+
edge. Each moved by the pointer's way on the screen from the press, so the scrolled distance came off: a page
|
|
334
|
+
scrolled 60 px in the middle of a drag left the box 60 px from the pointer. The way is counted now from what the
|
|
335
|
+
drag does not move and a scroll does (the place a draggable or a positioned box starts from, the splitter's box,
|
|
336
|
+
the row a column starts in), read in the measuring round of each move and of each scroll.
|
|
337
|
+
- A `DataGrid` column dragged alone (`resizeMode: 'widget'`) grows and shrinks at the edge dragged in a grid its columns
|
|
338
|
+
fill. A flexing column before it gave it the room, so it grew toward the start and its edge stayed where it was. From
|
|
339
|
+
the first move the flexing columns before it keep the widths they show and stop flexing, as a column resized itself
|
|
340
|
+
does; the following ones move on, a flexing one among them taking up the difference first.
|
|
341
|
+
- A `DataGrid` column pinned to the end is resized at its start edge. Its handle was at its end edge, which the grid's
|
|
342
|
+
end edge holds in place: dragged, the column grew toward the start and the edge dragged stayed where it was. The
|
|
343
|
+
handle and its line are at the start edge now (`data-edge="start"`) and the drag is turned round: toward the start
|
|
344
|
+
the column grows, a flexing column before it taking up the difference; with `resizeMode: 'nextColumn'` it trades
|
|
345
|
+
with the column before it in its zone. The arrow keys of “Width” in the column menu move the same edge.
|
|
346
|
+
- `RibbonMenu`: the right-click menu of a command that takes its text from the app's command it names reads “Hide
|
|
347
|
+
“Bold””; it read “Hide “””, from the command's own text. `onCustomMenuOpening` gives one of the app's quick commands
|
|
348
|
+
as `item` (with no `path`); it gave `null`, as if the pointer were on nothing.
|
|
349
|
+
|
|
350
|
+
### Changed
|
|
351
|
+
|
|
352
|
+
- `DataGrid`: the columns pinned to the end stand at the grid's end edge also when the columns leave room, the room
|
|
353
|
+
coming before them (a track of its own while no other column flexes). They stood right after the other columns, the
|
|
354
|
+
room after them. Their cells, a band's header and the empty pieces over them, and the group summary items under them
|
|
355
|
+
are placed on grid lines counted from the end.
|
|
356
|
+
- The clipboard writing of `DataGrid` is shared (`core/clipboard.ts`): the Clipboard API where the page may use it,
|
|
357
|
+
else the copy command. Its hidden text area is `.mx-copy-area`.
|
|
358
|
+
- The parts of `DataGrid` another table will use are shared (`parts/table/`): the cell formatter, the value
|
|
359
|
+
intervals, the scroll geometry of a long body, the header filter window (it asks its component through
|
|
360
|
+
`HeaderFilterHost` and names its parts after it, so the grid's stay `mx-data-grid__values…`) and the export sheet
|
|
361
|
+
(`TableSheet`), which the Excel and PDF writers now take. The grid's types keep their names and fields.
|
|
362
|
+
- `LayoutAddedItem.parent` may be left out: an item added to a flat list stands at the top.
|
|
363
|
+
- Token schema: a place may be a context (`context`: the component that gives it, `selector`: the part's root), and
|
|
364
|
+
a component names its roots that only lay out their children (`$layout`). `src/generated/places.css` gives a
|
|
365
|
+
context on its component, has the part read it before its own tokens and stops it at every other component's root.
|
|
366
|
+
A unit that turns may turn with its parent only (`turn.where` ending in `>`).
|
|
367
|
+
- Docs: `Toolbar` has a group of its own (Overview, Customization, API reference).
|
|
368
|
+
- Docs: `PivotGrid` has a group of its own (Overview, Fields and areas, Totals and layout, Keyboard and accessibility,
|
|
369
|
+
API reference), in English and Turkish, with a pivot a server computes among its examples, and a browser check of
|
|
370
|
+
its own (`e2e/checks/118-pivotgrid.mjs`).
|
|
371
|
+
- Docs: the `DataGrid` summary table says that `recalculateWhileEditing: true` makes the values follow unsaved edits;
|
|
372
|
+
it said this of `false`.
|
|
373
|
+
- Docs: the `Sortable` handle example builds its grip as a component; the `Draggable` page names `data-landing`.
|
|
374
|
+
`e2e/docs-smoke.mjs` reads the docs in English whatever the machine's language and starts each check in the same
|
|
375
|
+
window size, and the browser checks follow the kit's parts that are out of the page while hidden, the clipboard
|
|
376
|
+
written through the Clipboard API, the print mark on the app's root, boxes read in one frame and what a drag draws
|
|
377
|
+
with the next frame. A check scrolls the page into place at once (`behavior: 'instant'`), whatever `scroll-behavior`
|
|
378
|
+
the page has: a smooth one moved what it then pressed.
|
|
379
|
+
- Docs: the browser checks switch the theme and the design language with `e2e/theme.mjs` (`useTheme`,
|
|
380
|
+
`coloursSettled`) and read colours, or run axe, once the colour transitions the switch started have ended; a fixed
|
|
381
|
+
wait read them on their way on a busy machine (a tab's title at 2.14:1 in the dark theme). The TextArea check waits
|
|
382
|
+
for the height the measuring round writes, the Tabs check for the scroll buttons that round takes away, the TabDocs
|
|
383
|
+
drag check presses a tab once its strip has stopped scrolling after the fonts came in, and the DataGrid actions check
|
|
384
|
+
says which menu did not open, and what the page held then.
|
|
385
|
+
- Docs: the DataGrid check waits for the rows of the virtual list, which a server sends after 300 ms, before it
|
|
386
|
+
measures a cell of them after the page is opened again; a quick run read the first row before it came.
|
|
387
|
+
|
|
9
388
|
## [0.1.0-beta.13] - 2026-11-17
|
|
10
389
|
|
|
11
390
|
Needs `@motifx/core` 1.2.0-rc.31.
|
package/README.md
CHANGED
|
@@ -45,6 +45,8 @@ component (`npm run dev`).
|
|
|
45
45
|
| Charts | `Chart` (lines, areas, bars, dots, bubbles, pie, donut, funnel, radar, heat map, ranges, candles, waterfall; zoom, live data, references, selection; keyboard, table view, images), `Sparkline` |
|
|
46
46
|
| Gauges | `Gauge` (arc, circle, half, quarter, bar across or upright; ticks, ranges, needles and markers, marks), `BarGauge` |
|
|
47
47
|
| Display | `QRCode`, `Barcode` (Code 128, Code 39, EAN, UPC, Interleaved 2 of 5), `Badge`, `Avatar`, `AvatarGroup`, `Chip`, `ChipGroup`, `Card`, `Skeleton`, `Gallery` (slides, dots, slideshow), `TileView` (selectable, reorderable tiles on a grid), `Timeline` (vertical, or horizontal along a line of dates) |
|
|
48
|
+
| Parts | `WindowList` (items of any height, only those near the view on the page) |
|
|
49
|
+
| AI chat | `Chat` (streamed replies with thinking, tool calls and sub-agents; permission, plan and question requests; MCP elicitation forms; sources; edit, rewind, fork, retry, regenerate, good and bad; search over every message; a feed for screen readers; long conversations on the page by window; stays at the end, older messages without a jump), `ChatComposer` (files, context, `/` commands, `@` suggestions, mode and model menus, context meter), `Markdown` (drawn as it streams, never drawn again; very long texts a piece a frame; code blocks with a highlighter door, a copy button and folding; footnotes; math and diagram doors) |
|
|
48
50
|
| Navigation | `AppBar`, `BottomNavigation`, `Tabs`, `Accordion`, `Breadcrumb`, `Pagination`, `Stepper`, `Wizard`, `MultiView` (swipeable pages), `TabDocumentManager` |
|
|
49
51
|
| More editors | `OtpInput` (one-time codes), `Signature` (strokes, image export), `Rating`, `ColorBox`, `ColorPicker` |
|
|
50
52
|
| Scheduling | `Scheduler` (day, week, month, timeline, agenda; recurrence, resources, iCalendar) |
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Emitter, type Bind, type Component, type ComponentBase, type Event as MotifEvent, type IBaseProp, type IDisposable } from "@motifx/core";
|
|
2
2
|
import type { data } from "@motifx-community/data";
|
|
3
3
|
import { Control } from "../../core/control";
|
|
4
|
-
import { DrawnTexts } from "../../parts/chart/chart-text";
|
|
5
4
|
import { Button } from "../button/Button";
|
|
6
5
|
import type { ChartAxis } from "./chart-axis";
|
|
7
6
|
import type { ChartDataErrorEventArgs } from "./chart-data-error-event-args";
|
|
@@ -29,7 +28,7 @@ import { ChartTable } from "./ChartTable";
|
|
|
29
28
|
import { ChartTooltip } from "./ChartTooltip";
|
|
30
29
|
import type { LegendEntry } from "./legend-entry";
|
|
31
30
|
import type { PlotRoom } from "./plot-room";
|
|
32
|
-
import type { PlotView } from "./plot-view";
|
|
31
|
+
import type { PlotTexts, PlotView } from "./plot-view";
|
|
33
32
|
/**
|
|
34
33
|
* A chart of lines, areas, bars, dots and bubbles. Each series says how it draws, and they share one axis of values.
|
|
35
34
|
* Series keep their color when others are hidden. Every value is reachable without a pointer: the arrow keys walk the
|
|
@@ -84,8 +83,11 @@ export declare class Chart<T = any> extends Control<HTMLDivElement, ChartProps<T
|
|
|
84
83
|
tablePart: ChartTable;
|
|
85
84
|
model: ChartModel | null;
|
|
86
85
|
look: ChartLook | null;
|
|
87
|
-
/**
|
|
88
|
-
|
|
86
|
+
/**
|
|
87
|
+
* The plot's texts, each measured in the font it is drawn in: the probe classes take the same units as the texts
|
|
88
|
+
* (chart tokens). One that comes out another size than estimated draws again.
|
|
89
|
+
*/
|
|
90
|
+
readonly texts: PlotTexts;
|
|
89
91
|
hidden: Set<number>;
|
|
90
92
|
activeSlot: ModelSlot | null;
|
|
91
93
|
activePoint: ModelPoint | null;
|
|
@@ -61,12 +61,13 @@ export declare class ChartPlot implements PlotView {
|
|
|
61
61
|
brush: Component<SVGPathElement>;
|
|
62
62
|
/** The model of the last drawing: where a change moves its values from. The chart may hand over the next one early, for its texts. */
|
|
63
63
|
drawn: ChartModel | null;
|
|
64
|
+
/** The scales of the last drawing, and the width of a label on the marks: what a move of the values draws with. */
|
|
64
65
|
scales: {
|
|
65
66
|
position: ChartScale & {
|
|
66
67
|
size?: number;
|
|
67
68
|
};
|
|
68
69
|
value: ChartScale;
|
|
69
|
-
|
|
70
|
+
labelWidth: (text: string) => number;
|
|
70
71
|
} | null;
|
|
71
72
|
/** Stops the move of the values under way, if one is. */
|
|
72
73
|
stopMove: (() => void) | null;
|
|
@@ -4,6 +4,15 @@ import type { ChartAxis } from './chart-axis';
|
|
|
4
4
|
import type { ChartLook } from './chart-look';
|
|
5
5
|
import type { ChartModel, ModelPoint, ModelSlot } from './chart-model';
|
|
6
6
|
import type { ChartReference } from './chart-reference';
|
|
7
|
+
/** The texts a plot lays out, each measured in the font it is drawn in: estimates until measured, then drawn again. */
|
|
8
|
+
export interface PlotTexts {
|
|
9
|
+
/** The labels of the axes (`.mx-chart__ticks`). */
|
|
10
|
+
ticks: DrawnTexts;
|
|
11
|
+
/** The labels on the marks (`.mx-chart__labels`). */
|
|
12
|
+
labels: DrawnTexts;
|
|
13
|
+
/** The labels of the reference lines and bands (`.mx-chart__reference-label`). */
|
|
14
|
+
references: DrawnTexts;
|
|
15
|
+
}
|
|
7
16
|
/** What a plot is drawn from. */
|
|
8
17
|
export interface PlotInput {
|
|
9
18
|
model: ChartModel;
|
|
@@ -14,8 +23,7 @@ export interface PlotInput {
|
|
|
14
23
|
width: number;
|
|
15
24
|
height: number;
|
|
16
25
|
look: ChartLook;
|
|
17
|
-
|
|
18
|
-
texts: DrawnTexts;
|
|
26
|
+
texts: PlotTexts;
|
|
19
27
|
locale: string;
|
|
20
28
|
/** The part of the positions in view, once zoomed or following live data; null for all of them. */
|
|
21
29
|
window?: {
|