@motifx-community/ui 0.1.0-beta.14 → 0.1.0-beta.16
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 +113 -0
- package/README.md +2 -2
- package/dist/components/diagram/Diagram.d.ts +607 -0
- package/dist/components/diagram/DiagramAutoPan.d.ts +17 -0
- package/dist/components/diagram/DiagramBends.d.ts +70 -0
- package/dist/components/diagram/DiagramDragging.d.ts +66 -0
- package/dist/components/diagram/DiagramEdgeView.d.ts +78 -0
- package/dist/components/diagram/DiagramGrid.d.ts +13 -0
- package/dist/components/diagram/DiagramHistory.d.ts +16 -0
- package/dist/components/diagram/DiagramLinks.d.ts +177 -0
- package/dist/components/diagram/DiagramMap.d.ts +62 -0
- package/dist/components/diagram/DiagramNodeView.d.ts +143 -0
- package/dist/components/diagram/DiagramOverview.d.ts +20 -0
- package/dist/components/diagram/DiagramPanning.d.ts +34 -0
- package/dist/components/diagram/diagram-alignment.d.ts +2 -0
- package/dist/components/diagram/diagram-auto-pan-host.d.ts +8 -0
- package/dist/components/diagram/diagram-background.d.ts +2 -0
- package/dist/components/diagram/diagram-bends-host.d.ts +17 -0
- package/dist/components/diagram/diagram-card-kind.d.ts +42 -0
- package/dist/components/diagram/diagram-card-node.d.ts +11 -0
- package/dist/components/diagram/diagram-center-options.d.ts +6 -0
- package/dist/components/diagram/diagram-change.d.ts +11 -0
- package/dist/components/diagram/diagram-class-member.d.ts +13 -0
- package/dist/components/diagram/diagram-class-node.d.ts +12 -0
- package/dist/components/diagram/diagram-column-checked-event-args.d.ts +9 -0
- package/dist/components/diagram/diagram-connected-event-args.d.ts +6 -0
- package/dist/components/diagram/diagram-connecting-event-args.d.ts +9 -0
- package/dist/components/diagram/diagram-connection.d.ts +7 -0
- package/dist/components/diagram/diagram-data.d.ts +12 -0
- package/dist/components/diagram/diagram-deleted-event-args.d.ts +8 -0
- package/dist/components/diagram/diagram-deleting-event-args.d.ts +9 -0
- package/dist/components/diagram/diagram-dragging-host.d.ts +47 -0
- package/dist/components/diagram/diagram-drawn-node.d.ts +10 -0
- package/dist/components/diagram/diagram-edge-end.d.ts +2 -0
- package/dist/components/diagram/diagram-edge-path.d.ts +5 -0
- package/dist/components/diagram/diagram-edge-reshaped-event-args.d.ts +8 -0
- package/dist/components/diagram/diagram-edge-reshaping-event-args.d.ts +6 -0
- package/dist/components/diagram/diagram-edge.d.ts +49 -0
- package/dist/components/diagram/diagram-edit.d.ts +10 -0
- package/dist/components/diagram/diagram-export-options.d.ts +14 -0
- package/dist/components/diagram/diagram-export.d.ts +28 -0
- package/dist/components/diagram/diagram-fit-options.d.ts +12 -0
- package/dist/components/diagram/diagram-history-changed-event-args.d.ts +14 -0
- package/dist/components/diagram/diagram-history-step.d.ts +9 -0
- package/dist/components/diagram/diagram-kinds.d.ts +9 -0
- package/dist/components/diagram/diagram-layered.d.ts +39 -0
- package/dist/components/diagram/diagram-layout-direction.d.ts +2 -0
- package/dist/components/diagram/diagram-layout-options.d.ts +24 -0
- package/dist/components/diagram/diagram-layout-type.d.ts +5 -0
- package/dist/components/diagram/diagram-layout.d.ts +33 -0
- package/dist/components/diagram/diagram-line-look.d.ts +6 -0
- package/dist/components/diagram/diagram-line.d.ts +11 -0
- package/dist/components/diagram/diagram-links-host.d.ts +45 -0
- package/dist/components/diagram/diagram-links-options.d.ts +7 -0
- package/dist/components/diagram/diagram-map-props.d.ts +10 -0
- package/dist/components/diagram/diagram-map-target.d.ts +27 -0
- package/dist/components/diagram/diagram-marker.d.ts +6 -0
- package/dist/components/diagram/diagram-mini-map-options.d.ts +13 -0
- package/dist/components/diagram/diagram-mini-map-position.d.ts +2 -0
- package/dist/components/diagram/diagram-node-context.d.ts +26 -0
- package/dist/components/diagram/diagram-node-host.d.ts +23 -0
- package/dist/components/diagram/diagram-node-kind.d.ts +43 -0
- package/dist/components/diagram/diagram-node-move.d.ts +11 -0
- package/dist/components/diagram/diagram-node-resized-event-args.d.ts +8 -0
- package/dist/components/diagram/diagram-node-resizing-event-args.d.ts +6 -0
- package/dist/components/diagram/diagram-node-size.d.ts +8 -0
- package/dist/components/diagram/diagram-node-status.d.ts +2 -0
- package/dist/components/diagram/diagram-node-toggled-event-args.d.ts +7 -0
- package/dist/components/diagram/diagram-node.d.ts +56 -0
- package/dist/components/diagram/diagram-nodes-moved-event-args.d.ts +6 -0
- package/dist/components/diagram/diagram-nodes-moving-event-args.d.ts +6 -0
- package/dist/components/diagram/diagram-panning-host.d.ts +19 -0
- package/dist/components/diagram/diagram-pasted-event-args.d.ts +7 -0
- package/dist/components/diagram/diagram-pasting-event-args.d.ts +11 -0
- package/dist/components/diagram/diagram-path-ends.d.ts +11 -0
- package/dist/components/diagram/diagram-path-result.d.ts +6 -0
- package/dist/components/diagram/diagram-paths.d.ts +35 -0
- package/dist/components/diagram/diagram-point.d.ts +5 -0
- package/dist/components/diagram/diagram-port-place.d.ts +9 -0
- package/dist/components/diagram/diagram-port.d.ts +27 -0
- package/dist/components/diagram/diagram-props.d.ts +159 -0
- package/dist/components/diagram/diagram-reconnected-event-args.d.ts +10 -0
- package/dist/components/diagram/diagram-reconnecting-event-args.d.ts +11 -0
- package/dist/components/diagram/diagram-rect.d.ts +7 -0
- package/dist/components/diagram/diagram-resize-side.d.ts +2 -0
- package/dist/components/diagram/diagram-route.d.ts +10 -0
- package/dist/components/diagram/diagram-selection-changed-event-args.d.ts +9 -0
- package/dist/components/diagram/diagram-selection.d.ts +5 -0
- package/dist/components/diagram/diagram-side.d.ts +2 -0
- package/dist/components/diagram/diagram-table-column.d.ts +13 -0
- package/dist/components/diagram/diagram-table-node.d.ts +12 -0
- package/dist/components/diagram/diagram-tree.d.ts +14 -0
- package/dist/components/diagram/diagram-viewport-changed-event-args.d.ts +8 -0
- package/dist/components/diagram/diagram-viewport-options.d.ts +5 -0
- package/dist/components/diagram/diagram-viewport.d.ts +6 -0
- package/dist/components/diagram/index.d.ts +65 -0
- package/dist/components/diagram/swallow-next-click.d.ts +5 -0
- package/dist/components/expressioneditor/ExpressionEditor.d.ts +111 -0
- package/dist/components/expressioneditor/expression-editor-props.d.ts +24 -0
- package/dist/components/expressioneditor/index.d.ts +2 -0
- package/dist/components/formlayout/FormLayout.d.ts +10 -3
- package/dist/components/formlayout/form-editor-type.d.ts +1 -1
- package/dist/components/formlayout/form-item.d.ts +4 -1
- package/dist/components/formlayout/form-layout-props.d.ts +1 -1
- package/dist/components/formlayout/index.d.ts +1 -0
- package/dist/components/formlayout/schema-items.d.ts +26 -0
- package/dist/components/pivotgrid/model/PivotAxisWindow.d.ts +53 -1
- package/dist/components/pivotgrid/model/PivotCellWindow.d.ts +2 -0
- package/dist/components/pivotgrid/model/PivotWindows.d.ts +3 -6
- package/dist/components/toolbar/Toolbar.d.ts +5 -3
- package/dist/core/control.d.ts +2 -0
- package/dist/core/keyboard.d.ts +5 -0
- package/dist/core/measure/index.d.ts +2 -0
- package/dist/core/measure/picture.d.ts +27 -0
- package/dist/core/shortcut-options.d.ts +5 -2
- package/dist/core/ui-strings.d.ts +191 -0
- package/dist/generated/tokens.d.ts +1615 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +11501 -705
- package/dist/index.js.map +1 -1
- package/dist/locales/en.json +180 -1
- package/dist/locales/tr.json +180 -1
- package/dist/styles.css +2262 -3
- package/dist/tokens/index.d.ts +1615 -0
- package/dist/tokens/index.js +1615 -0
- package/dist/tokens/index.js.map +1 -1
- package/dist/{tr-BGbF9uCs.js → tr-4GNbFdQh.js} +361 -3
- package/dist/{tr-BGbF9uCs.js.map → tr-4GNbFdQh.js.map} +1 -1
- 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 +1 -1
- package/docs/checkbox.md +1 -1
- package/docs/chip.md +1 -1
- 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 +2 -2
- package/docs/datagrid-api.md +1 -1
- 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 +1 -1
- package/docs/datagrid-forms.md +1 -1
- package/docs/datagrid-grouping.md +1 -1
- package/docs/datagrid-layout.md +1 -1
- 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/datalayer-api.md +491 -0
- package/docs/datalayer-changes.md +501 -0
- package/docs/datalayer-odata.md +998 -0
- package/docs/datalayer-pivot.md +850 -0
- package/docs/datalayer-queries.md +516 -0
- package/docs/datalayer-rest.md +529 -0
- package/docs/datalayer-soap.md +576 -0
- package/docs/datalayer-source.md +464 -0
- package/docs/datalayer.md +264 -0
- package/docs/datebox.md +1 -1
- package/docs/daterangebox.md +1 -1
- package/docs/diagram-api.md +200 -0
- package/docs/diagram-commands.md +79 -0
- package/docs/diagram-connections.md +157 -0
- package/docs/diagram-custom-nodes.md +325 -0
- package/docs/diagram-designer.md +816 -0
- package/docs/diagram-editing.md +62 -0
- package/docs/diagram-flow.md +157 -0
- package/docs/diagram-keyboard.md +58 -0
- package/docs/diagram-layout.md +354 -0
- package/docs/diagram-nodes.md +206 -0
- package/docs/diagram-tables.md +212 -0
- package/docs/diagram.md +217 -0
- package/docs/display.md +1 -1
- package/docs/draggable.md +1 -1
- package/docs/drawer.md +1 -1
- package/docs/dropdown.md +1 -1
- package/docs/editors.md +1 -1
- package/docs/expressioneditor.md +469 -0
- package/docs/expressions.md +431 -0
- package/docs/feedback.md +1 -1
- package/docs/fileuploader.md +1 -1
- package/docs/filterbuilder.md +1 -1
- package/docs/formlayout-schema.md +143 -0
- package/docs/formlayout.md +16 -4
- 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 +2 -2
- 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 +1 -1
- package/docs/menus-api.md +1 -1
- package/docs/menus-context.md +1 -1
- package/docs/menus-customization.md +1 -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 +1 -1
- package/docs/pivotgrid-chart.md +1 -1
- package/docs/pivotgrid-drilldown.md +1 -1
- package/docs/pivotgrid-export.md +1 -1
- package/docs/pivotgrid-fields.md +1 -1
- package/docs/pivotgrid-keyboard.md +1 -1
- package/docs/pivotgrid-layout.md +1 -1
- package/docs/pivotgrid-panel.md +1 -1
- package/docs/pivotgrid-remote.md +122 -44
- package/docs/pivotgrid-sorting.md +3 -3
- package/docs/pivotgrid-state.md +1 -1
- package/docs/pivotgrid-summaries.md +1 -1
- package/docs/pivotgrid.md +1 -1
- 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 +1 -1
- package/docs/ribbonmenu-commands.md +1 -1
- package/docs/ribbonmenu-customization.md +1 -1
- 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 +1 -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-flowstudio.md +61 -0
- package/docs/showcase-home.md +1 -1
- package/docs/showcase-mail.md +1 -1
- 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 +1 -1
- 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 +1 -1
- package/docs/textbox.md +1 -1
- package/docs/tileview.md +1 -1
- package/docs/timeline.md +1 -1
- package/docs/toast.md +1 -1
- package/docs/tokens.md +324 -1
- package/docs/toolbar-api.md +1 -1
- package/docs/toolbar-customization.md +1 -1
- package/docs/toolbar.md +1 -1
- 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 +10142 -462
- package/llms.txt +32 -1
- package/package.json +2 -2
|
@@ -26,10 +26,15 @@ export interface PivotWindowLevel<T = unknown> {
|
|
|
26
26
|
export interface PivotAxisSource<T = unknown> {
|
|
27
27
|
members(levels: readonly data.PivotLevel<T>[], slices: readonly data.PivotSlice[], more: {
|
|
28
28
|
childCounts?: boolean;
|
|
29
|
+
descendants?: number;
|
|
29
30
|
find?: readonly (readonly unknown[])[];
|
|
30
31
|
sortBySummary?: data.PivotSummarySort<T>;
|
|
31
32
|
}, signal: AbortSignal): Promise<data.PivotMembersResult>;
|
|
32
33
|
counts(levels: readonly data.PivotLevel<T>[], paths: readonly (readonly unknown[])[], signal: AbortSignal): Promise<data.PivotCountsResult>;
|
|
34
|
+
/** How many members stand below the children of members open by default, a part of children at a time (`loadPivotBlocks`). */
|
|
35
|
+
blocks(levels: readonly data.PivotLevel<T>[], parents: readonly (readonly unknown[])[], size: number, depth: number, more: {
|
|
36
|
+
sortBySummary?: data.PivotSummarySort<T>;
|
|
37
|
+
}, signal: AbortSignal): Promise<data.PivotBlocksResult>;
|
|
33
38
|
}
|
|
34
39
|
/** How an axis loaded in parts lays out its lines, as `PivotLayout` lays out a whole axis. */
|
|
35
40
|
export interface PivotAxisWindowOptions<T = unknown> {
|
|
@@ -44,13 +49,23 @@ export interface PivotAxisWindowOptions<T = unknown> {
|
|
|
44
49
|
readonly grand: boolean;
|
|
45
50
|
/** The members a part loads at once. */
|
|
46
51
|
readonly block: number;
|
|
47
|
-
/** The parts kept:
|
|
52
|
+
/** The parts kept, in members: as many as this number of parts of `block` hold. Those used longest ago go first. */
|
|
48
53
|
readonly cacheBlocks: number;
|
|
49
54
|
/** The members opened or closed one by one, by their paths. */
|
|
50
55
|
readonly explicit: readonly {
|
|
51
56
|
readonly path: readonly unknown[];
|
|
52
57
|
readonly open: boolean;
|
|
53
58
|
}[];
|
|
59
|
+
/**
|
|
60
|
+
* A member may have every child left out (`nonEmpty` with a custom summary, which only memory computes): it stands
|
|
61
|
+
* closed, which counts cannot tell, so a level open by default has its members read whole.
|
|
62
|
+
*/
|
|
63
|
+
readonly emptyParents?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* The source counts the parts of members open by default (`blocks`, and `descendants` of `members`): they are placed
|
|
66
|
+
* by counts. Without it a level open by default has its members read whole.
|
|
67
|
+
*/
|
|
68
|
+
readonly counts?: boolean;
|
|
54
69
|
}
|
|
55
70
|
/**
|
|
56
71
|
* An axis of a pivot loaded in parts, for a view that shows a part of a large result: the members open and the number of
|
|
@@ -77,6 +92,8 @@ export declare class PivotAxisWindow<T = unknown> {
|
|
|
77
92
|
/** What stops the parts on their way: a new one after each `drop`. */
|
|
78
93
|
private parts;
|
|
79
94
|
private used;
|
|
95
|
+
/** `used` as the last `want` began: the parts used since are those it asks for, and stay. */
|
|
96
|
+
private since;
|
|
80
97
|
/** The copies and exports keeping every part read now. */
|
|
81
98
|
private holds;
|
|
82
99
|
/** Members opened whose children are all left out (`nonEmpty`), by path: they stand as ones that do not open. */
|
|
@@ -99,6 +116,12 @@ export declare class PivotAxisWindow<T = unknown> {
|
|
|
99
116
|
* already on its way is read by the call that asked for it).
|
|
100
117
|
*/
|
|
101
118
|
want(first: number, end: number): Promise<boolean>;
|
|
119
|
+
/** One round of `want`: whether it read any, and whether what it read may bring parts the lines wait for. */
|
|
120
|
+
private wantOnce;
|
|
121
|
+
/** Reads the counts of the parts of members open by default, one request per level; whether it read any. */
|
|
122
|
+
private readCounts;
|
|
123
|
+
/** Reads what stands below each part of the children of members open by default, all on one level. */
|
|
124
|
+
private countBlocks;
|
|
102
125
|
/**
|
|
103
126
|
* Reads the parts that hold the siblings just before and after these members, where they are not known: what a
|
|
104
127
|
* variation or a calculation of a data field reads. Resolves to whether it read any.
|
|
@@ -141,23 +164,52 @@ export declare class PivotAxisWindow<T = unknown> {
|
|
|
141
164
|
/** The data layer's levels down to `n`. */
|
|
142
165
|
private dataLevels;
|
|
143
166
|
private isOpen;
|
|
167
|
+
/** Whether the members of a level (0 the top one) are open by default and have a level below: their parent is placed by counts. */
|
|
168
|
+
private denseAt;
|
|
169
|
+
/** The levels below the members of a level open by default that counts reach: those open by default after it, and the closed one after them. */
|
|
170
|
+
private run;
|
|
171
|
+
/** The lines and places an open member of a level shows itself, before and after its children (see `before`, `after`). */
|
|
172
|
+
private own;
|
|
173
|
+
/**
|
|
174
|
+
* The lines and places of members counted level by level from a level open by default (`counts`, as `loadPivotBlocks`
|
|
175
|
+
* gives them): those of the open levels show themselves, those of the last level stand closed.
|
|
176
|
+
*/
|
|
177
|
+
private counted;
|
|
178
|
+
/** Whether members opened or closed one by one stand below a member. */
|
|
179
|
+
private explicitBelow;
|
|
180
|
+
/** The open members below one that the next round of `prepare` and `setOpen` reads further. */
|
|
181
|
+
private frontier;
|
|
144
182
|
/**
|
|
145
183
|
* The number of children and the open children of members of one depth: their children come whole where their level
|
|
146
184
|
* opens whole or is ordered here, else they are counted and the children opened one by one are found by their paths.
|
|
147
185
|
*/
|
|
148
186
|
private expand;
|
|
187
|
+
/**
|
|
188
|
+
* Members whose children are open by default: what stands below each part of their children is counted, and the
|
|
189
|
+
* children above members opened or closed one by one are found, their parts read and kept.
|
|
190
|
+
*/
|
|
191
|
+
private expandDense;
|
|
149
192
|
/** The children of a member opened one by one, on the parent's own keys. */
|
|
150
193
|
private openedBelow;
|
|
151
194
|
/** Takes the members of a slice read from `skip`: whole, they are every child, in the order the level gives here. */
|
|
152
195
|
private fill;
|
|
153
196
|
/** Lets go of the parts used longest ago, past `cacheBlocks`: their closed members are read again when wanted. */
|
|
154
197
|
private forget;
|
|
198
|
+
/** Whether a member or one below it is kept through `cacheBlocks` (see `pin`). */
|
|
199
|
+
private holdsPinned;
|
|
200
|
+
/** Forgets a member and every member known below it. */
|
|
201
|
+
private unknow;
|
|
155
202
|
/** A member known by its path. */
|
|
156
203
|
private nodeAt;
|
|
157
204
|
/** Takes a member as known under its parent, at its place. */
|
|
158
205
|
private know;
|
|
159
206
|
/** The lines and places of a member and of what it shows below it, its open children measured first. */
|
|
160
207
|
private measure;
|
|
208
|
+
/**
|
|
209
|
+
* The lines of the children of a member open by default: a part read adds up its children, a part not read is worked
|
|
210
|
+
* out from its counts; without counts yet, from the member's own (`descendants`).
|
|
211
|
+
*/
|
|
212
|
+
private measureDense;
|
|
161
213
|
/** The lines a member shows before its children: the grand total first, an open member's heading line or total. */
|
|
162
214
|
private before;
|
|
163
215
|
/** The lines a member shows after its children: its total, the grand total last. */
|
|
@@ -36,6 +36,8 @@ export declare class PivotCellWindow {
|
|
|
36
36
|
* whether this call read any (`false` at once when none is missing, or when they were let go of).
|
|
37
37
|
*/
|
|
38
38
|
want(rowPaths: readonly (readonly unknown[])[], columnPaths: readonly (readonly unknown[])[], running?: readonly PivotCellRunning[]): Promise<boolean>;
|
|
39
|
+
/** Reads one rectangle of crossings; whether it read them (`false` when they were let go of). */
|
|
40
|
+
private read;
|
|
39
41
|
/** Resolves once the reads on their way now have ended: `want` passes over the crossings they read. */
|
|
40
42
|
idle(): Promise<void>;
|
|
41
43
|
/** Lets go of the values on their way: the view moved far from them. */
|
|
@@ -4,7 +4,6 @@ import type { PivotExpansion } from './PivotExpansion';
|
|
|
4
4
|
import type { PivotFields } from './PivotFields';
|
|
5
5
|
import type { PivotLayoutOptions } from './PivotLayout';
|
|
6
6
|
import { PivotWindowTable } from './PivotTable';
|
|
7
|
-
import type { PivotTexts } from './PivotTexts';
|
|
8
7
|
type Axis = 'row' | 'column';
|
|
9
8
|
type Range = {
|
|
10
9
|
first: number;
|
|
@@ -27,8 +26,6 @@ export declare class PivotWindows<T> {
|
|
|
27
26
|
private readonly fields;
|
|
28
27
|
private readonly expansion;
|
|
29
28
|
private readonly layout;
|
|
30
|
-
private readonly texts;
|
|
31
|
-
private readonly collator;
|
|
32
29
|
private readonly options;
|
|
33
30
|
readonly cells: PivotCellWindow;
|
|
34
31
|
private rows;
|
|
@@ -49,7 +46,7 @@ export declare class PivotWindows<T> {
|
|
|
49
46
|
private readonly displays;
|
|
50
47
|
/** What display calculations read beside a member on each axis: the siblings next to it, its parent. */
|
|
51
48
|
private readonly beside;
|
|
52
|
-
constructor(source: data.DataSource<T, any>, fields: PivotFields<T>, expansion: PivotExpansion, layout: PivotLayoutOptions,
|
|
49
|
+
constructor(source: data.DataSource<T, any>, fields: PivotFields<T>, expansion: PivotExpansion, layout: PivotLayoutOptions, options: PivotWindowsOptions, cells?: PivotCellWindow);
|
|
53
50
|
/** Reads where the open members stand on both axes. */
|
|
54
51
|
prepare(): Promise<void>;
|
|
55
52
|
/** The table as it stands now. */
|
|
@@ -111,8 +108,8 @@ export declare class PivotWindows<T> {
|
|
|
111
108
|
private nonEmpty;
|
|
112
109
|
private axis;
|
|
113
110
|
/**
|
|
114
|
-
* A level as its axis window reads it: ordered
|
|
115
|
-
*
|
|
111
|
+
* A level as its axis window reads it: ordered on the data layer, by a data field or by its values; with totals where
|
|
112
|
+
* the field shows them; open as the expansion opens its members.
|
|
116
113
|
*/
|
|
117
114
|
private level;
|
|
118
115
|
private dataLevels;
|
|
@@ -124,6 +124,8 @@ export declare class Toolbar extends Control<HTMLDivElement, ToolbarProps> {
|
|
|
124
124
|
/** A control added to the bar or taken away: the arrows and the room follow. The "more" button is no part of the bar. */
|
|
125
125
|
private childChanged;
|
|
126
126
|
protected childEnabledChanged(): void;
|
|
127
|
+
/** An item shown or hidden: the items are placed again, as when one is added or taken away. */
|
|
128
|
+
protected childVisibleChanged(child: Control): void;
|
|
127
129
|
private queueRestyle;
|
|
128
130
|
private restyle;
|
|
129
131
|
private renderRoving;
|
|
@@ -150,9 +152,9 @@ export declare class Toolbar extends Control<HTMLDivElement, ToolbarProps> {
|
|
|
150
152
|
private readonly fit;
|
|
151
153
|
/**
|
|
152
154
|
* Keeps the room of the parts put in the "more" menu in the bar's own size, so it still asks what holds it for the
|
|
153
|
-
* room of every part: a hidden part as long as they are, which takes no room
|
|
154
|
-
* the room to spare). A bar sized by its parts then grows when what
|
|
155
|
-
* back; without it, the bar would stay as small as the parts left on it.
|
|
155
|
+
* room of every part: a hidden part as long as they are, which takes no room from the others (in a row it grows by a
|
|
156
|
+
* millionth of the room to spare, in a column it shrinks to that room). A bar sized by its parts then grows when what
|
|
157
|
+
* holds it does, and its size notice puts them back; without it, the bar would stay as small as the parts left on it.
|
|
156
158
|
*/
|
|
157
159
|
private keepRoom;
|
|
158
160
|
private makeReserve;
|
package/dist/core/control.d.ts
CHANGED
|
@@ -182,4 +182,6 @@ export declare class Control<TElement extends HTMLElement = HTMLElement, TProps
|
|
|
182
182
|
/** Takes the focus part out of the Tab order while `tabStop` is false; waits while a disabled control's cover holds its tabindex. */
|
|
183
183
|
private renderTabStop;
|
|
184
184
|
private applyVisible;
|
|
185
|
+
/** Called on the nearest parent control when a child control is shown or hidden (`visible`). */
|
|
186
|
+
protected childVisibleChanged(_child: Control): void;
|
|
185
187
|
}
|
package/dist/core/keyboard.d.ts
CHANGED
|
@@ -47,3 +47,8 @@ export declare function addShortcut(keys: string | readonly string[], handler: S
|
|
|
47
47
|
export declare function isChord(chords: readonly string[], e: KeyboardEvent): boolean;
|
|
48
48
|
/** @internal Installs the document listener (once). Access keys call it when they first appear. */
|
|
49
49
|
export declare function installKeyboard(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Whether a shortcut of the page answers `e` where it is pressed: a key a command was given, which a part that gives
|
|
52
|
+
* the same key a meaning of its own (a menu's F10) leaves to it. A command that is off keeps its key too.
|
|
53
|
+
*/
|
|
54
|
+
export declare function claimsShortcut(e: KeyboardEvent): boolean;
|
|
@@ -4,6 +4,7 @@ export type { HitOptions } from './hit-options';
|
|
|
4
4
|
export type { LayoutChange } from './layout-change';
|
|
5
5
|
export type { LayoutOptions } from './layout-options';
|
|
6
6
|
export type { Page } from './page';
|
|
7
|
+
export type { Picture, TextLine } from './picture';
|
|
7
8
|
export type { Point } from './point';
|
|
8
9
|
export type { Rect } from './rect';
|
|
9
10
|
export type { RevealOptions } from './reveal-options';
|
|
@@ -21,6 +22,7 @@ export { onLookChange } from './look';
|
|
|
21
22
|
export { mediaOf, onMedia } from './media';
|
|
22
23
|
export { afterStyle, hasMotion, transitionTime } from './motion';
|
|
23
24
|
export { onLayout } from './on-layout';
|
|
25
|
+
export { pictureOf } from './picture';
|
|
24
26
|
export { boxOf, canMeasure, holderOf, isInPage, isRendered, isRtl, pageBackgroundOf, pageOf, rectOf, sameWindow, scrollOf, styleOf } from './read';
|
|
25
27
|
export { isMeasurePending, measure, measureNow, readAgain, whenMeasured } from './rounds';
|
|
26
28
|
export { keepScroll, reveal, scrollBy, scrollerOf, scrollerUnder, scrollIntoView, scrollTo } from './scroll';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ComponentBase } from '@motifx/core';
|
|
2
|
+
import type { Rect } from './rect';
|
|
3
|
+
/** A line of text as the window laid it out: what it says, and where it stands on the screen. */
|
|
4
|
+
export interface TextLine {
|
|
5
|
+
readonly text: string;
|
|
6
|
+
readonly rect: Rect;
|
|
7
|
+
}
|
|
8
|
+
/** What an image of a component draws of its element. */
|
|
9
|
+
export interface Picture {
|
|
10
|
+
/** The element's name, in lower case: `div`, `span`, `path`. */
|
|
11
|
+
readonly tag: string;
|
|
12
|
+
/** Whether it is an SVG element, which draws itself by its attributes. */
|
|
13
|
+
readonly svg: boolean;
|
|
14
|
+
/** Where it stands on the screen. */
|
|
15
|
+
readonly rect: Rect;
|
|
16
|
+
/**
|
|
17
|
+
* The text written straight in it (its own, and the texts among its children, a list's or a branch's too), in the
|
|
18
|
+
* lines the window broke it into, spaces run together as the page shows them; an SVG element's in one line.
|
|
19
|
+
*/
|
|
20
|
+
readonly lines: readonly TextLine[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* What an image of `component` draws of it, read now: for an image a component writes as SVG itself, such as a
|
|
24
|
+
* diagram's. `null` for a component without an element of its own (a fragment, a text: the texts are in the lines of
|
|
25
|
+
* the element that holds them), and where the window lays nothing out.
|
|
26
|
+
*/
|
|
27
|
+
export declare function pictureOf(component: ComponentBase): Picture | null;
|
|
@@ -14,8 +14,11 @@ export interface ShortcutOptions {
|
|
|
14
14
|
within?: Bind<ComponentBase | readonly ComponentBase[]>;
|
|
15
15
|
/**
|
|
16
16
|
* Also enables the shortcut in text fields. By default, a chord without Ctrl, Alt
|
|
17
|
-
* or Meta (Delete, a letter, Escape…) does not fire in text fields
|
|
18
|
-
*
|
|
17
|
+
* or Meta (Delete, a letter, Escape…) does not fire in text fields, nor does one
|
|
18
|
+
* the field answers itself: Ctrl (Cmd on an Apple platform) with Z, Y, A, C, X or
|
|
19
|
+
* V, or with an arrow, Home, End, Backspace or Delete (also Option with those on an
|
|
20
|
+
* Apple platform), with or without Shift. Function keys and other chords with
|
|
21
|
+
* modifiers always work.
|
|
19
22
|
*/
|
|
20
23
|
inEditable?: boolean;
|
|
21
24
|
/**
|
|
@@ -995,4 +995,195 @@ export interface UiStrings {
|
|
|
995
995
|
pivotResizeColumn: string;
|
|
996
996
|
pivotResizingHint: string;
|
|
997
997
|
pivotWidthIs: string;
|
|
998
|
+
/** Diagram: its name, what a screen reader hears it is, and its keys. */
|
|
999
|
+
diagramName: string;
|
|
1000
|
+
diagramRole: string;
|
|
1001
|
+
diagramHelp: string;
|
|
1002
|
+
/** What a screen reader hears a node is, and what it hears as the user works. */
|
|
1003
|
+
diagramNode: string;
|
|
1004
|
+
diagramNodeIs: string;
|
|
1005
|
+
diagramConnectFrom: string;
|
|
1006
|
+
diagramConnectTo: string;
|
|
1007
|
+
diagramConnectRefused: string;
|
|
1008
|
+
diagramConnected: string;
|
|
1009
|
+
diagramEdgeIs: string;
|
|
1010
|
+
diagramEdgeLabelIs: string;
|
|
1011
|
+
diagramMoveEnd: string;
|
|
1012
|
+
diagramEndsFixed: string;
|
|
1013
|
+
diagramReconnected: string;
|
|
1014
|
+
diagramPointIs: string;
|
|
1015
|
+
diagramSegmentIs: string;
|
|
1016
|
+
diagramNoPoints: string;
|
|
1017
|
+
diagramPointAdded: string;
|
|
1018
|
+
diagramPointRemoved: string;
|
|
1019
|
+
diagramMoved: string;
|
|
1020
|
+
diagramDeleted: string;
|
|
1021
|
+
diagramPasted: string;
|
|
1022
|
+
diagramUndone: string;
|
|
1023
|
+
diagramRedone: string;
|
|
1024
|
+
/** The diagram's commands, and the heading they are listed under. */
|
|
1025
|
+
diagramCommands: string;
|
|
1026
|
+
diagramUndo: string;
|
|
1027
|
+
diagramRedo: string;
|
|
1028
|
+
diagramCut: string;
|
|
1029
|
+
diagramCopy: string;
|
|
1030
|
+
diagramPaste: string;
|
|
1031
|
+
diagramDuplicate: string;
|
|
1032
|
+
diagramDelete: string;
|
|
1033
|
+
diagramSelectAll: string;
|
|
1034
|
+
diagramZoomIn: string;
|
|
1035
|
+
diagramZoomOut: string;
|
|
1036
|
+
diagramFit: string;
|
|
1037
|
+
diagramAlignLeft: string;
|
|
1038
|
+
diagramAlignCenter: string;
|
|
1039
|
+
diagramAlignRight: string;
|
|
1040
|
+
diagramAlignTop: string;
|
|
1041
|
+
diagramAlignMiddle: string;
|
|
1042
|
+
diagramAlignBottom: string;
|
|
1043
|
+
/** The button of a group that collapses and opens it. */
|
|
1044
|
+
diagramCollapse: string;
|
|
1045
|
+
diagramExpand: string;
|
|
1046
|
+
/** The box before a column of a table that shows one ({name}: the column). */
|
|
1047
|
+
diagramColumnCheck: string;
|
|
1048
|
+
diagramResized: string;
|
|
1049
|
+
diagramReshaped: string;
|
|
1050
|
+
/** The command that places the nodes, and what a screen reader hears after it. */
|
|
1051
|
+
diagramLayout: string;
|
|
1052
|
+
diagramLaidOut: string;
|
|
1053
|
+
/** A diagram's map: its name, what it is to a screen reader, and how it is used. */
|
|
1054
|
+
diagramMapName: string;
|
|
1055
|
+
diagramMapRole: string;
|
|
1056
|
+
diagramMapHelp: string;
|
|
1057
|
+
/** A node's status: in its mark's tip, and said with its name (`{name}`, `{status}`: the status and its text). */
|
|
1058
|
+
diagramStatusRunning: string;
|
|
1059
|
+
diagramStatusDone: string;
|
|
1060
|
+
diagramStatusError: string;
|
|
1061
|
+
diagramStatusWaiting: string;
|
|
1062
|
+
diagramStatusSkipped: string;
|
|
1063
|
+
diagramStatusSaid: string;
|
|
1064
|
+
/** ExpressionEditor: the name of its list of words for the caret. */
|
|
1065
|
+
expressionEditorSuggestions: string;
|
|
1066
|
+
/** ExpressionEditor: the problems of an expression, by their code (`{name}`, `{expected}` … are filled in). */
|
|
1067
|
+
expressionProblemUnexpectedEnd: string;
|
|
1068
|
+
expressionProblemUnexpectedToken: string;
|
|
1069
|
+
expressionProblemUnclosedText: string;
|
|
1070
|
+
expressionProblemBadEscape: string;
|
|
1071
|
+
expressionProblemBadNumber: string;
|
|
1072
|
+
expressionProblemBadDate: string;
|
|
1073
|
+
expressionProblemUseSingleEquals: string;
|
|
1074
|
+
expressionProblemLambdaOutsideCall: string;
|
|
1075
|
+
expressionProblemUnclosedTemplate: string;
|
|
1076
|
+
expressionProblemUnknownName: string;
|
|
1077
|
+
expressionProblemUnknownField: string;
|
|
1078
|
+
expressionProblemUnknownFunction: string;
|
|
1079
|
+
expressionProblemArgumentCount: string;
|
|
1080
|
+
expressionProblemArgumentType: string;
|
|
1081
|
+
expressionProblemOperandType: string;
|
|
1082
|
+
expressionProblemNotAList: string;
|
|
1083
|
+
expressionProblemNotAnObject: string;
|
|
1084
|
+
expressionProblemMayBeNull: string;
|
|
1085
|
+
expressionProblemResultType: string;
|
|
1086
|
+
expressionProblemNullPath: string;
|
|
1087
|
+
expressionProblemDivideByZero: string;
|
|
1088
|
+
expressionProblemTypeMismatch: string;
|
|
1089
|
+
expressionProblemBadArgument: string;
|
|
1090
|
+
expressionProblemStepLimit: string;
|
|
1091
|
+
expressionProblemListLimit: string;
|
|
1092
|
+
expressionProblemTextLimit: string;
|
|
1093
|
+
expressionProblemDepthLimit: string;
|
|
1094
|
+
/** ExpressionEditor: the words the problems name, and how they join (`{count}`, `{low}`, `{high}` are filled in). */
|
|
1095
|
+
expressionWordValue: string;
|
|
1096
|
+
expressionWordName: string;
|
|
1097
|
+
expressionWordOperator: string;
|
|
1098
|
+
expressionWordOperatorOrEnd: string;
|
|
1099
|
+
expressionWordTemporal: string;
|
|
1100
|
+
expressionWordLambda: string;
|
|
1101
|
+
expressionWordOr: string;
|
|
1102
|
+
expressionWordOrMore: string;
|
|
1103
|
+
expressionWordBetween: string;
|
|
1104
|
+
/** ExpressionEditor: what each function of the library does. */
|
|
1105
|
+
expressionFunctionLen: string;
|
|
1106
|
+
expressionFunctionUpper: string;
|
|
1107
|
+
expressionFunctionLower: string;
|
|
1108
|
+
expressionFunctionTrim: string;
|
|
1109
|
+
expressionFunctionTrimStart: string;
|
|
1110
|
+
expressionFunctionTrimEnd: string;
|
|
1111
|
+
expressionFunctionContains: string;
|
|
1112
|
+
expressionFunctionStartsWith: string;
|
|
1113
|
+
expressionFunctionEndsWith: string;
|
|
1114
|
+
expressionFunctionIndexOf: string;
|
|
1115
|
+
expressionFunctionSubstring: string;
|
|
1116
|
+
expressionFunctionReplace: string;
|
|
1117
|
+
expressionFunctionSplit: string;
|
|
1118
|
+
expressionFunctionJoin: string;
|
|
1119
|
+
expressionFunctionPadStart: string;
|
|
1120
|
+
expressionFunctionPadEnd: string;
|
|
1121
|
+
expressionFunctionRepeat: string;
|
|
1122
|
+
expressionFunctionLeft: string;
|
|
1123
|
+
expressionFunctionRight: string;
|
|
1124
|
+
expressionFunctionText: string;
|
|
1125
|
+
expressionFunctionRound: string;
|
|
1126
|
+
expressionFunctionFloor: string;
|
|
1127
|
+
expressionFunctionCeil: string;
|
|
1128
|
+
expressionFunctionAbs: string;
|
|
1129
|
+
expressionFunctionMin: string;
|
|
1130
|
+
expressionFunctionMax: string;
|
|
1131
|
+
expressionFunctionClamp: string;
|
|
1132
|
+
expressionFunctionPow: string;
|
|
1133
|
+
expressionFunctionSqrt: string;
|
|
1134
|
+
expressionFunctionSign: string;
|
|
1135
|
+
expressionFunctionNumber: string;
|
|
1136
|
+
expressionFunctionCount: string;
|
|
1137
|
+
expressionFunctionIsEmpty: string;
|
|
1138
|
+
expressionFunctionFirst: string;
|
|
1139
|
+
expressionFunctionLast: string;
|
|
1140
|
+
expressionFunctionAt: string;
|
|
1141
|
+
expressionFunctionSum: string;
|
|
1142
|
+
expressionFunctionAvg: string;
|
|
1143
|
+
expressionFunctionMinOf: string;
|
|
1144
|
+
expressionFunctionMaxOf: string;
|
|
1145
|
+
expressionFunctionFilter: string;
|
|
1146
|
+
expressionFunctionMap: string;
|
|
1147
|
+
expressionFunctionFind: string;
|
|
1148
|
+
expressionFunctionAny: string;
|
|
1149
|
+
expressionFunctionAll: string;
|
|
1150
|
+
expressionFunctionSortBy: string;
|
|
1151
|
+
expressionFunctionDistinct: string;
|
|
1152
|
+
expressionFunctionTake: string;
|
|
1153
|
+
expressionFunctionSkip: string;
|
|
1154
|
+
expressionFunctionGroupBy: string;
|
|
1155
|
+
expressionFunctionFlatten: string;
|
|
1156
|
+
expressionFunctionConcat: string;
|
|
1157
|
+
expressionFunctionRange: string;
|
|
1158
|
+
expressionFunctionKeys: string;
|
|
1159
|
+
expressionFunctionValues: string;
|
|
1160
|
+
expressionFunctionGet: string;
|
|
1161
|
+
expressionFunctionHas: string;
|
|
1162
|
+
expressionFunctionIf: string;
|
|
1163
|
+
expressionFunctionCoalesce: string;
|
|
1164
|
+
expressionFunctionBool: string;
|
|
1165
|
+
expressionFunctionTypeOf: string;
|
|
1166
|
+
expressionFunctionParseJson: string;
|
|
1167
|
+
expressionFunctionToJson: string;
|
|
1168
|
+
expressionFunctionIsNull: string;
|
|
1169
|
+
expressionFunctionNow: string;
|
|
1170
|
+
expressionFunctionToday: string;
|
|
1171
|
+
expressionFunctionDate: string;
|
|
1172
|
+
expressionFunctionDatetime: string;
|
|
1173
|
+
expressionFunctionYear: string;
|
|
1174
|
+
expressionFunctionMonth: string;
|
|
1175
|
+
expressionFunctionDay: string;
|
|
1176
|
+
expressionFunctionHour: string;
|
|
1177
|
+
expressionFunctionMinute: string;
|
|
1178
|
+
expressionFunctionWeekday: string;
|
|
1179
|
+
expressionFunctionAddDays: string;
|
|
1180
|
+
expressionFunctionAddMonths: string;
|
|
1181
|
+
expressionFunctionAddHours: string;
|
|
1182
|
+
expressionFunctionAddMinutes: string;
|
|
1183
|
+
expressionFunctionDiffDays: string;
|
|
1184
|
+
expressionFunctionDiffMinutes: string;
|
|
1185
|
+
expressionFunctionStartOfMonth: string;
|
|
1186
|
+
expressionFunctionEndOfMonth: string;
|
|
1187
|
+
expressionFunctionFormatDate: string;
|
|
1188
|
+
expressionFunctionFormat: string;
|
|
998
1189
|
}
|