@xh/hoist 90.0.0 → 90.1.0
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 +136 -54
- package/admin/columns/Tracking.ts +9 -3
- package/admin/tabs/activity/tracking/ActivityTrackingModel.ts +155 -47
- package/admin/tabs/activity/tracking/ActivityTrackingPanel.ts +25 -4
- package/admin/tabs/activity/tracking/chart/AggChartModel.ts +2 -3
- package/appcontainer/ImpersonationBarModel.ts +8 -5
- package/build/types/admin/tabs/activity/tracking/ActivityTrackingModel.d.ts +25 -5
- package/build/types/cmp/cubegrid/CubeGrid.d.ts +26 -0
- package/build/types/cmp/cubegrid/CubeGridModel.d.ts +103 -0
- package/build/types/cmp/cubegrid/CubeGridPivotModel.d.ts +181 -0
- package/build/types/cmp/cubegrid/Types.d.ts +85 -0
- package/build/types/cmp/cubegrid/index.d.ts +4 -0
- package/build/types/cmp/dataview/DataViewModel.d.ts +6 -10
- package/build/types/cmp/grid/GridModel.d.ts +8 -33
- package/build/types/cmp/grid/Types.d.ts +51 -1
- package/build/types/cmp/grid/columns/Column.d.ts +2 -1
- package/build/types/cmp/grid/columns/ColumnGroup.d.ts +6 -0
- package/build/types/cmp/grid/helpers/GridCountLabel.d.ts +6 -3
- package/build/types/cmp/grid/impl/ColumnWidthCalculator.d.ts +6 -0
- package/build/types/cmp/grid/impl/GridLikeModel.d.ts +3 -0
- package/build/types/cmp/grid/impl/MenuSupport.d.ts +13 -0
- package/build/types/cmp/pdfviewer/PdfViewer.d.ts +14 -0
- package/build/types/cmp/pdfviewer/PdfViewerModel.d.ts +150 -0
- package/build/types/cmp/pdfviewer/Types.d.ts +55 -0
- package/build/types/cmp/pdfviewer/impl/PdfFindInputModel.d.ts +14 -0
- package/build/types/cmp/pdfviewer/impl/PdfViewerToolbarModel.d.ts +34 -0
- package/build/types/cmp/pdfviewer/impl/ZoomOptions.d.ts +10 -0
- package/build/types/cmp/pdfviewer/index.d.ts +3 -0
- package/build/types/cmp/statcard/StatCard.d.ts +90 -0
- package/build/types/cmp/statcard/index.d.ts +1 -0
- package/build/types/cmp/store/StoreFilterField.d.ts +8 -9
- package/build/types/cmp/store/impl/StoreFilterFieldImplModel.d.ts +4 -4
- package/build/types/cmp/zoneGrid/ZoneGridModel.d.ts +6 -10
- package/build/types/core/types/Types.d.ts +6 -0
- package/build/types/data/Field.d.ts +8 -1
- package/build/types/data/Store.d.ts +12 -0
- package/build/types/data/cube/Cube.d.ts +2 -0
- package/build/types/data/cube/CubeField.d.ts +3 -2
- package/build/types/data/cube/Query.d.ts +66 -4
- package/build/types/data/cube/View.d.ts +82 -4
- package/build/types/data/cube/ViewRowData.d.ts +13 -0
- package/build/types/data/cube/aggregate/MedianAggregator.d.ts +19 -0
- package/build/types/data/cube/aggregate/SumIfSameAggregator.d.ts +30 -0
- package/build/types/data/cube/impl/RowCache.d.ts +5 -0
- package/build/types/data/cube/impl/RowDataGenerator.d.ts +26 -0
- package/build/types/data/cube/impl/ViewDiagnostics.d.ts +27 -0
- package/build/types/data/cube/pivot/PivotCellRow.d.ts +27 -0
- package/build/types/data/cube/pivot/PivotPath.d.ts +45 -0
- package/build/types/data/cube/pivot/impl/PivotCells.d.ts +111 -0
- package/build/types/data/cube/pivot/impl/PivotReference.d.ts +39 -0
- package/build/types/data/cube/pivot/impl/PivotStructure.d.ts +105 -0
- package/build/types/data/cube/row/BaseRow.d.ts +12 -0
- package/build/types/data/cube/row/LeafRow.d.ts +4 -4
- package/build/types/data/cube/row/ParentRow.d.ts +20 -4
- package/build/types/data/cube/row/RowUpdate.d.ts +2 -0
- package/build/types/data/index.d.ts +3 -0
- package/build/types/desktop/cmp/button/grid/ColAutosizeButton.d.ts +6 -3
- package/build/types/desktop/cmp/button/grid/ColChooserButton.d.ts +7 -3
- package/build/types/desktop/cmp/button/grid/ExpandToLevelButton.d.ts +6 -3
- package/build/types/desktop/cmp/button/grid/ExportButton.d.ts +6 -3
- package/build/types/desktop/cmp/grid/find/GridFindField.d.ts +8 -9
- package/build/types/desktop/cmp/grid/find/impl/GridFindFieldImplModel.d.ts +3 -4
- package/build/types/desktop/cmp/pdfviewer/impl/PdfViewerToolbar.d.ts +12 -0
- package/build/types/desktop/cmp/statcard/impl/StatCardInfoImpl.d.ts +12 -0
- package/build/types/dynamics/desktop.d.ts +2 -0
- package/build/types/dynamics/mobile.d.ts +1 -0
- package/build/types/icon/Icon.d.ts +12 -0
- package/build/types/kit/pdfjs/index.d.ts +23 -0
- package/build/types/kit/pdfjs/styles.d.ts +2 -0
- package/build/types/kit/swiper/index.d.ts +7 -7
- package/build/types/mobile/cmp/button/grid/ColAutosizeButton.d.ts +6 -3
- package/build/types/mobile/cmp/button/grid/ColChooserButton.d.ts +6 -3
- package/build/types/mobile/cmp/button/grid/ExpandCollapseButton.d.ts +4 -4
- package/build/types/mobile/cmp/button/grid/ExpandToLevelButton.d.ts +4 -4
- package/build/types/mobile/cmp/pdfviewer/impl/PdfViewerToolbar.d.ts +12 -0
- package/cmp/README.md +3 -0
- package/cmp/ag-grid/AgGrid.ts +25 -3
- package/cmp/cubegrid/CubeGrid.ts +60 -0
- package/cmp/cubegrid/CubeGridModel.ts +365 -0
- package/cmp/cubegrid/CubeGridPivotModel.ts +943 -0
- package/cmp/cubegrid/README.md +343 -0
- package/cmp/cubegrid/Types.ts +105 -0
- package/cmp/cubegrid/index.ts +10 -0
- package/cmp/dataview/DataViewModel.ts +13 -8
- package/cmp/grid/Grid.scss +21 -5
- package/cmp/grid/GridModel.ts +41 -47
- package/cmp/grid/Types.ts +58 -1
- package/cmp/grid/columns/Column.ts +3 -1
- package/cmp/grid/columns/ColumnGroup.ts +10 -0
- package/cmp/grid/helpers/GridCountLabel.ts +12 -5
- package/cmp/grid/impl/ColumnGroupHeader.ts +18 -4
- package/cmp/grid/impl/ColumnWidthCalculator.ts +24 -0
- package/cmp/grid/impl/GridLikeModel.ts +17 -0
- package/cmp/grid/impl/MenuSupport.ts +36 -20
- package/cmp/pdfviewer/PdfViewer.scss +48 -0
- package/cmp/pdfviewer/PdfViewer.ts +102 -0
- package/cmp/pdfviewer/PdfViewerModel.ts +641 -0
- package/cmp/pdfviewer/README.md +224 -0
- package/cmp/pdfviewer/Types.ts +72 -0
- package/cmp/pdfviewer/impl/PdfFindInputModel.ts +44 -0
- package/cmp/pdfviewer/impl/PdfViewerToolbarModel.ts +45 -0
- package/cmp/pdfviewer/impl/ZoomOptions.ts +36 -0
- package/cmp/pdfviewer/index.ts +9 -0
- package/cmp/statcard/StatCard.scss +181 -0
- package/cmp/statcard/StatCard.ts +320 -0
- package/cmp/statcard/index.ts +1 -0
- package/cmp/store/StoreFilterField.ts +8 -9
- package/cmp/store/impl/StoreFilterFieldImplModel.ts +14 -14
- package/cmp/zoneGrid/ZoneGridModel.ts +13 -8
- package/core/types/Types.ts +7 -0
- package/data/Field.ts +10 -0
- package/data/Store.ts +25 -2
- package/data/cube/Cube.ts +5 -0
- package/data/cube/CubeField.ts +5 -0
- package/data/cube/Query.ts +170 -17
- package/data/cube/README.md +77 -2
- package/data/cube/View.ts +211 -32
- package/data/cube/ViewRowData.ts +22 -0
- package/data/cube/aggregate/MedianAggregator.ts +88 -0
- package/data/cube/aggregate/SumIfSameAggregator.ts +128 -0
- package/data/cube/impl/RowCache.ts +32 -11
- package/data/cube/impl/RowDataGenerator.ts +96 -4
- package/data/cube/impl/ViewDiagnostics.ts +47 -0
- package/data/cube/pivot/PivotCellRow.ts +73 -0
- package/data/cube/pivot/PivotPath.ts +67 -0
- package/data/cube/pivot/impl/PivotCells.ts +538 -0
- package/data/cube/pivot/impl/PivotReference.ts +125 -0
- package/data/cube/pivot/impl/PivotStructure.ts +500 -0
- package/data/cube/row/BaseRow.ts +26 -0
- package/data/cube/row/LeafRow.ts +9 -8
- package/data/cube/row/ParentRow.ts +58 -25
- package/data/cube/row/RowUpdate.ts +8 -0
- package/data/index.ts +3 -0
- package/desktop/appcontainer/AppContainer.ts +5 -1
- package/desktop/cmp/button/grid/ColAutosizeButton.ts +21 -5
- package/desktop/cmp/button/grid/ColChooserButton.ts +11 -5
- package/desktop/cmp/button/grid/ExpandToLevelButton.ts +20 -5
- package/desktop/cmp/button/grid/ExportButton.ts +19 -7
- package/desktop/cmp/dash/canvas/DashCanvas.ts +26 -2
- package/desktop/cmp/grid/find/GridFindField.ts +8 -9
- package/desktop/cmp/grid/find/impl/GridFindFieldImplModel.ts +15 -16
- package/desktop/cmp/grid/impl/colchooser/ColChooserBucketModel.ts +1 -1
- package/desktop/cmp/pdfviewer/impl/PdfViewerToolbar.ts +190 -0
- package/desktop/cmp/statcard/impl/StatCardInfoImpl.ts +27 -0
- package/docs/README.md +6 -2
- package/docs/doc-registry.json +21 -5
- package/docs/upgrade-notes/v90-upgrade-notes.md +130 -0
- package/docs/version-compatibility.md +2 -1
- package/dynamics/desktop.ts +4 -0
- package/dynamics/mobile.ts +2 -0
- package/format/FormatNumber.ts +6 -2
- package/icon/Icon.ts +18 -0
- package/icon/index.ts +32 -0
- package/kit/README.md +2 -0
- package/kit/pdfjs/PdfJs.scss +25 -0
- package/kit/pdfjs/index.ts +103 -0
- package/kit/pdfjs/pdf_viewer.css +6481 -0
- package/kit/pdfjs/styles.ts +12 -0
- package/mcp/README.md +13 -0
- package/mcp/data/import-paths.ts +4 -8
- package/mcp/data/index-cache.ts +2 -1
- package/mcp/data/ts-registry.ts +8 -29
- package/mcp/util/paths.ts +26 -0
- package/mobile/appcontainer/AppContainer.ts +3 -1
- package/mobile/cmp/button/grid/ColAutosizeButton.ts +20 -5
- package/mobile/cmp/button/grid/ColChooserButton.ts +12 -5
- package/mobile/cmp/button/grid/ExpandCollapseButton.ts +10 -6
- package/mobile/cmp/button/grid/ExpandToLevelButton.ts +10 -6
- package/mobile/cmp/pdfviewer/impl/PdfViewerToolbar.ts +137 -0
- package/package.json +14 -8
- package/public/msal-redirect-bridge.min.js +1 -1
- package/styles/vars.scss +59 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file belongs to Hoist, an application development toolkit
|
|
3
|
+
* developed by Extremely Heavy Industries (www.xh.io | info@xh.io)
|
|
4
|
+
*
|
|
5
|
+
* Copyright © 2026 Extremely Heavy Industries Inc.
|
|
6
|
+
*/
|
|
7
|
+
import {filler, fragment, span} from '@xh/hoist/cmp/layout';
|
|
8
|
+
import {PdfFindInputModel} from '@xh/hoist/cmp/pdfviewer/impl/PdfFindInputModel';
|
|
9
|
+
import {getZoomOptions} from '@xh/hoist/cmp/pdfviewer/impl/ZoomOptions';
|
|
10
|
+
import type {PdfViewerToolbarModel} from '@xh/hoist/cmp/pdfviewer/impl/PdfViewerToolbarModel';
|
|
11
|
+
import type {PdfViewerToolbarItem} from '@xh/hoist/cmp/pdfviewer/Types';
|
|
12
|
+
import type {HoistModel} from '@xh/hoist/core';
|
|
13
|
+
import {hoistCmp, useLocalModel, uses} from '@xh/hoist/core';
|
|
14
|
+
import {button} from '@xh/hoist/desktop/cmp/button';
|
|
15
|
+
import {numberInput, select, textInput} from '@xh/hoist/desktop/cmp/input';
|
|
16
|
+
import {toolbar, toolbarSep} from '@xh/hoist/desktop/cmp/toolbar';
|
|
17
|
+
import '@xh/hoist/desktop/register';
|
|
18
|
+
import {Icon} from '@xh/hoist/icon';
|
|
19
|
+
import {isString} from 'lodash';
|
|
20
|
+
import type {ReactNode} from 'react';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Desktop implementation of the PdfViewer toolbar.
|
|
24
|
+
*
|
|
25
|
+
* Note that this module is installed by the desktop AppContainer and must not import
|
|
26
|
+
* PdfViewerModel, even as a type. A runtime import would bring pdf.js into every app's build, and a
|
|
27
|
+
* type import would break `tsc` in apps without `pdfjs-dist`. See {@link PdfViewerToolbarModel}.
|
|
28
|
+
*
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export const pdfViewerToolbarImpl = hoistCmp.factory<PdfViewerToolbarModel>({
|
|
32
|
+
model: uses((m: HoistModel) => m['isPdfViewerModel']),
|
|
33
|
+
|
|
34
|
+
render({model}) {
|
|
35
|
+
return toolbar({
|
|
36
|
+
className: 'xh-pdf-viewer__toolbar',
|
|
37
|
+
compact: true,
|
|
38
|
+
items: model.toolbar.map((item, idx) => renderItem(item, idx, model))
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
function renderItem(
|
|
44
|
+
item: PdfViewerToolbarItem,
|
|
45
|
+
key: number,
|
|
46
|
+
model: PdfViewerToolbarModel
|
|
47
|
+
): ReactNode {
|
|
48
|
+
if (!isString(item)) return item;
|
|
49
|
+
switch (item) {
|
|
50
|
+
case 'pageNav':
|
|
51
|
+
return pageNav({key, model});
|
|
52
|
+
case 'zoom':
|
|
53
|
+
return zoom({key, model});
|
|
54
|
+
case 'find':
|
|
55
|
+
return find({key, model});
|
|
56
|
+
case 'rotate':
|
|
57
|
+
return rotate({key, model});
|
|
58
|
+
case 'download':
|
|
59
|
+
return download({key, model});
|
|
60
|
+
case '-':
|
|
61
|
+
return toolbarSep({key});
|
|
62
|
+
case 'filler':
|
|
63
|
+
return filler({key});
|
|
64
|
+
default:
|
|
65
|
+
return item;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const pageNav = hoistCmp.factory<PdfViewerToolbarModel>(({model}) => {
|
|
70
|
+
const {pageNumber, pageCount, hasDocument} = model;
|
|
71
|
+
return fragment(
|
|
72
|
+
button({
|
|
73
|
+
icon: Icon.chevronLeft(),
|
|
74
|
+
title: 'Previous page',
|
|
75
|
+
disabled: !model.canGoPrevious,
|
|
76
|
+
onClick: () => model.previousPage()
|
|
77
|
+
}),
|
|
78
|
+
numberInput({
|
|
79
|
+
className: 'xh-pdf-viewer__page-input',
|
|
80
|
+
width: 50,
|
|
81
|
+
value: hasDocument ? pageNumber : null,
|
|
82
|
+
disabled: !hasDocument,
|
|
83
|
+
selectOnFocus: true,
|
|
84
|
+
onCommit: v => model.goToPage(v)
|
|
85
|
+
}),
|
|
86
|
+
span({className: 'xh-pdf-viewer__page-count', item: `/ ${pageCount}`}),
|
|
87
|
+
button({
|
|
88
|
+
icon: Icon.chevronRight(),
|
|
89
|
+
title: 'Next page',
|
|
90
|
+
disabled: !model.canGoNext,
|
|
91
|
+
onClick: () => model.nextPage()
|
|
92
|
+
})
|
|
93
|
+
);
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
const zoom = hoistCmp.factory<PdfViewerToolbarModel>(({model}) => {
|
|
97
|
+
const disabled = !model.hasDocument;
|
|
98
|
+
return fragment(
|
|
99
|
+
button({
|
|
100
|
+
icon: Icon.zoomOut(),
|
|
101
|
+
title: 'Zoom out',
|
|
102
|
+
disabled,
|
|
103
|
+
onClick: () => model.zoomOut()
|
|
104
|
+
}),
|
|
105
|
+
select({
|
|
106
|
+
width: 115,
|
|
107
|
+
value: model.scale,
|
|
108
|
+
options: getZoomOptions(model),
|
|
109
|
+
enableFilter: false,
|
|
110
|
+
hideSelectedOptionCheck: true,
|
|
111
|
+
disabled,
|
|
112
|
+
onChange: v => model.setScale(v)
|
|
113
|
+
}),
|
|
114
|
+
button({
|
|
115
|
+
icon: Icon.zoomIn(),
|
|
116
|
+
title: 'Zoom in',
|
|
117
|
+
disabled,
|
|
118
|
+
onClick: () => model.zoomIn()
|
|
119
|
+
})
|
|
120
|
+
);
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
const find = hoistCmp.factory<PdfViewerToolbarModel>(({model}) => {
|
|
124
|
+
const impl = useLocalModel(() => new PdfFindInputModel(model)),
|
|
125
|
+
{findQuery, findMatchCount, findMatchNumber, isFinding, hasDocument} = model;
|
|
126
|
+
return fragment(
|
|
127
|
+
textInput({
|
|
128
|
+
model: impl,
|
|
129
|
+
bind: 'query',
|
|
130
|
+
width: 180,
|
|
131
|
+
placeholder: 'Find...',
|
|
132
|
+
leftIcon: Icon.search(),
|
|
133
|
+
enableClear: true,
|
|
134
|
+
commitOnChange: true,
|
|
135
|
+
disabled: !hasDocument,
|
|
136
|
+
onKeyDown: e => {
|
|
137
|
+
if (e.key !== 'Enter') return;
|
|
138
|
+
if (impl.query !== findQuery) {
|
|
139
|
+
// Search now for text still waiting on the typing pause.
|
|
140
|
+
model.findAsync(impl.query);
|
|
141
|
+
} else if (e.shiftKey) {
|
|
142
|
+
model.findPrevious();
|
|
143
|
+
} else {
|
|
144
|
+
model.findNext();
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}),
|
|
148
|
+
span({
|
|
149
|
+
className: 'xh-pdf-viewer__find-count',
|
|
150
|
+
item: findMatchCount
|
|
151
|
+
? `${findMatchNumber} / ${findMatchCount}`
|
|
152
|
+
: isFinding
|
|
153
|
+
? null
|
|
154
|
+
: span({className: 'xh-text-color-muted', item: 'No results'}),
|
|
155
|
+
omit: !findQuery
|
|
156
|
+
}),
|
|
157
|
+
button({
|
|
158
|
+
icon: Icon.arrowUp(),
|
|
159
|
+
title: 'Find previous (shift+enter)',
|
|
160
|
+
disabled: !findMatchCount,
|
|
161
|
+
onClick: () => model.findPrevious(),
|
|
162
|
+
omit: !findQuery
|
|
163
|
+
}),
|
|
164
|
+
button({
|
|
165
|
+
icon: Icon.arrowDown(),
|
|
166
|
+
title: 'Find next (enter)',
|
|
167
|
+
disabled: !findMatchCount,
|
|
168
|
+
onClick: () => model.findNext(),
|
|
169
|
+
omit: !findQuery
|
|
170
|
+
})
|
|
171
|
+
);
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
const rotate = hoistCmp.factory<PdfViewerToolbarModel>(({model}) =>
|
|
175
|
+
button({
|
|
176
|
+
icon: Icon.rotateRight(),
|
|
177
|
+
title: 'Rotate clockwise',
|
|
178
|
+
disabled: !model.hasDocument,
|
|
179
|
+
onClick: () => model.rotate()
|
|
180
|
+
})
|
|
181
|
+
);
|
|
182
|
+
|
|
183
|
+
const download = hoistCmp.factory<PdfViewerToolbarModel>(({model}) =>
|
|
184
|
+
button({
|
|
185
|
+
icon: Icon.download(),
|
|
186
|
+
title: 'Download',
|
|
187
|
+
disabled: !model.hasDocument,
|
|
188
|
+
onClick: () => model.downloadAsync().catchDefault()
|
|
189
|
+
})
|
|
190
|
+
);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file belongs to Hoist, an application development toolkit
|
|
3
|
+
* developed by Extremely Heavy Industries (www.xh.io | info@xh.io)
|
|
4
|
+
*
|
|
5
|
+
* Copyright © 2026 Extremely Heavy Industries Inc.
|
|
6
|
+
*/
|
|
7
|
+
import type {HoistProps} from '@xh/hoist/core';
|
|
8
|
+
import {hoistCmp} from '@xh/hoist/core';
|
|
9
|
+
import {tooltip as bpTooltip} from '@xh/hoist/kit/blueprint';
|
|
10
|
+
import type {ReactElement} from 'react';
|
|
11
|
+
|
|
12
|
+
interface StatCardInfoImplProps extends HoistProps {
|
|
13
|
+
icon: ReactElement;
|
|
14
|
+
content: ReactElement | string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Desktop implementation of a StatCard's info icon, showing its tooltip in a Blueprint tooltip.
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
export const statCardInfoImpl = hoistCmp.factory<StatCardInfoImplProps>({
|
|
22
|
+
model: false,
|
|
23
|
+
|
|
24
|
+
render({icon, content}) {
|
|
25
|
+
return bpTooltip({className: 'xh-stat-card__info', item: icon, content});
|
|
26
|
+
}
|
|
27
|
+
});
|
package/docs/README.md
CHANGED
|
@@ -26,6 +26,7 @@ See [`docs-roadmap.md`](./planning/docs-roadmap.md) for documentation coverage t
|
|
|
26
26
|
| Understand the component/model/service pattern | [`/core/`](../core/README.md) |
|
|
27
27
|
| Work with `XH` singleton API | [`/core/`](../core/README.md) |
|
|
28
28
|
| Build or configure a data grid | [`/cmp/grid/`](../cmp/grid/README.md) |
|
|
29
|
+
| Render a Cube view as a grid, with or without pivoting | [`/cmp/cubegrid/`](../cmp/cubegrid/README.md) |
|
|
29
30
|
| Build a form with validation | [`/cmp/form/`](../cmp/form/README.md) |
|
|
30
31
|
| Understand input change/commit lifecycle | [`/cmp/input/`](../cmp/input/README.md) |
|
|
31
32
|
| Create a tabbed interface | [`/cmp/tab/`](../cmp/tab/README.md) |
|
|
@@ -36,6 +37,7 @@ See [`docs-roadmap.md`](./planning/docs-roadmap.md) for documentation coverage t
|
|
|
36
37
|
| Build a mobile app | [`/mobile/`](../mobile/README.md) |
|
|
37
38
|
| Save and restore named view configurations | [`/cmp/viewmanager/`](../cmp/viewmanager/README.md) |
|
|
38
39
|
| Select a period or date range (presets, lookbacks, months, custom) | [`/cmp/daterange/`](../cmp/daterange/README.md) |
|
|
40
|
+
| Display a PDF document (page nav, zoom, find, download) | [`/cmp/pdfviewer/`](../cmp/pdfviewer/README.md) |
|
|
39
41
|
| Use layout containers (Box, HBox, VBox, Frame) | [`/cmp/layout/`](../cmp/layout/README.md) |
|
|
40
42
|
| Work with Stores, Records, Fields, or Filters | [`/data/`](../data/README.md) |
|
|
41
43
|
| Set up Cube aggregation with Views and Queries | [`/data/cube/`](../data/cube/README.md) |
|
|
@@ -78,7 +80,7 @@ See [`docs-roadmap.md`](./planning/docs-roadmap.md) for documentation coverage t
|
|
|
78
80
|
|---------|-------------|------------|
|
|
79
81
|
| [`/core/`](../core/README.md) | Foundation classes defining Hoist's component, model, and service architecture | HoistBase, HoistModel, HoistService, hoistCmp, XH, element factories, decorators, lifecycle |
|
|
80
82
|
| [`/data/`](../data/README.md) | Observable data layer with Store, Field, filtering, validation, tree data, and memory tuning | Store, StoreRecord, Field, Filter, tree data, loadData, loadDataAsync, updateData, digestSpec, projectionOnly, diagnostics |
|
|
81
|
-
| [`/data/cube/`](../data/cube/README.md) | Client-side OLAP-style aggregation with dimensions, measures, and
|
|
83
|
+
| [`/data/cube/`](../data/cube/README.md) | Client-side OLAP-style aggregation with dimensions, measures, Views, and pivoting | Cube, CubeField, View, Query, aggregator, dimension, includeRoot, includeLeaves, pivot |
|
|
82
84
|
| [`/svc/`](../svc/README.md) | Built-in singleton services for data access and app-wide operations | FetchService, ConfigService, PrefService, IdentityService, TrackService, TraceService, WebSocketService |
|
|
83
85
|
|
|
84
86
|
### Components
|
|
@@ -87,12 +89,14 @@ See [`docs-roadmap.md`](./planning/docs-roadmap.md) for documentation coverage t
|
|
|
87
89
|
|---------|-------------|------------|
|
|
88
90
|
| [`/cmp/`](../cmp/README.md) | Cross-platform component overview and catalog | Component categories, factory pattern, platform-specific vs shared |
|
|
89
91
|
| [`/cmp/grid/`](../cmp/grid/README.md) | Primary data grid built on AG Grid | GridModel, Column, ColumnGroup, sorting, grouping, filtering, selection, inline editing, export |
|
|
92
|
+
| [`/cmp/cubegrid/`](../cmp/cubegrid/README.md) | Cube View rendered as a tree grid with the app's columns, plus pivot paths as nested column groups and docked summaries | CubeGridModel, CubeGrid, CubeGridPivotModel, cube, pivot, PivotSpec, measures, cellFields, pivotConfig, PivotDimensionSpec, PivotMeasureSpec, measuresOutermost |
|
|
90
93
|
| [`/cmp/form/`](../cmp/form/README.md) | Form infrastructure for data entry with validation | FormModel, FieldModel, SubformsFieldModel, validation rules, data binding |
|
|
91
94
|
| [`/cmp/input/`](../cmp/input/README.md) | Base classes and interfaces for input components | HoistInputModel, change/commit lifecycle, value binding, focus management |
|
|
92
95
|
| [`/cmp/layout/`](../cmp/layout/README.md) | Flexbox-based layout containers | Box, VBox, HBox, Frame, Viewport, LayoutProps, pixel conversion |
|
|
93
96
|
| [`/cmp/tab/`](../cmp/tab/README.md) | Tabbed interface system | TabContainerModel, routing integration, render modes, refresh strategies |
|
|
94
97
|
| [`/cmp/viewmanager/`](../cmp/viewmanager/README.md) | Save/load named bundles of component state | ViewManagerModel, views, sharing, pinning, auto-save, JsonBlob persistence |
|
|
95
98
|
| [`/cmp/daterange/`](../cmp/daterange/README.md) | Period selection as presets, relative lookbacks, months/years, or custom ranges, resolved to dates and filters | DateRangePickerModel, DateRangePicker, DateRangeSelection, presets, anchorDate, LocalDateRange, currentRangeFilter, priorRange |
|
|
99
|
+
| [`/cmp/pdfviewer/`](../cmp/pdfviewer/README.md) | PDF document viewer built on pdf.js, with a configurable toolbar and observable model API | PdfViewerModel, PdfViewer, PdfSource, toolbar tokens, find, zoom presets, pdfjs-dist |
|
|
96
100
|
| [`/desktop/`](../desktop/README.md) | Desktop-specific components and app container | Desktop components, Blueprint wrappers, desktop navigation |
|
|
97
101
|
| [`/desktop/cmp/dash/`](../desktop/cmp/dash/README.md) | Configurable dashboard system with draggable, resizable widgets | DashContainerModel, DashCanvasModel, DashViewSpec, DashViewModel, widget persistence, ViewManager integration |
|
|
98
102
|
| [`/desktop/cmp/panel/`](../desktop/cmp/panel/README.md) | Desktop panel container with toolbars, banners, masks, and collapsible behavior | Panel, PanelModel, Toolbar, Banner, mask, collapse/resize, persistence, modal support |
|
|
@@ -174,7 +178,7 @@ breaking changes, before/after code examples, and verification checklists.
|
|
|
174
178
|
|
|
175
179
|
| Version | Released | Difficulty | Key Changes |
|
|
176
180
|
|---------|----------|------------|-------------|
|
|
177
|
-
| [v90](./upgrade-notes/v90-upgrade-notes.md) | 2026-11-02 | 🟢 LOW | numbro removed (`formatConfig`), desktop `DateInput` on react-day-picker 10, Onsen UI removed from mobile, `Column.textRenderer` on built-in column specs, panel splitter redesign |
|
|
181
|
+
| [v90](./upgrade-notes/v90-upgrade-notes.md) | 2026-11-02 | 🟢 LOW | numbro removed (`formatConfig`), desktop `DateInput` on react-day-picker 10, Onsen UI removed from mobile, `Column.textRenderer` on built-in column specs, panel splitter redesign, renderer import paths, removed libraries |
|
|
178
182
|
| [v89](./upgrade-notes/v89-upgrade-notes.md) | 2026-10-13 | 🟢 LOW | TypeScript 7 (strongly recommended), `GridFilterModelConfig.fieldSpecs` no longer an allow-list |
|
|
179
183
|
| [v88](./upgrade-notes/v88-upgrade-notes.md) | 2026-09-28 | 🔴 HIGH | TC39 decorators (`accessor`, no `makeObservable`) + dev-utils 16 / Rsbuild, MobX 7 named exports, AG Grid 36 + Theming API, React 19.3, v86 scheduled removals |
|
|
180
184
|
| [v87](./upgrade-notes/v87-upgrade-notes.md) | TBD | 🟠 MEDIUM | React 19 + Floating UI popovers, data-layer perf overhaul (`leafMap`, `getCubeLeaves`, `StoreRecord.data` access), new column chooser + `RowDragModule`, hoist-core >= 40.5.0 |
|
package/docs/doc-registry.json
CHANGED
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"title": "Cube Aggregation",
|
|
59
59
|
"mcpCategory": "package",
|
|
60
60
|
"viewerCategory": "core",
|
|
61
|
-
"description": "Client-side OLAP-style aggregation with dimensions, measures, Views, and
|
|
62
|
-
"keywords": ["Cube", "CubeField", "View", "Query", "QueryConfig", "aggregator", "dimension", "measure", "SUM", "AVG", "includeRoot", "includeLeaves", "createView"]
|
|
61
|
+
"description": "Client-side OLAP-style aggregation with dimensions, measures, Views, Queries, and pivoting.",
|
|
62
|
+
"keywords": ["Cube", "CubeField", "View", "Query", "QueryConfig", "aggregator", "dimension", "measure", "SUM", "AVG", "includeRoot", "includeLeaves", "createView", "pivot", "PivotSpec", "cubeLabelValue"]
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"id": "svc/README.md",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"mcpCategory": "package",
|
|
77
77
|
"viewerCategory": "components",
|
|
78
78
|
"description": "Cross-platform component overview and catalog.",
|
|
79
|
-
"keywords": ["component categories", "factory pattern", "DataView", "DataViewModel", "Treemap", "ZoneGrid", "Badge", "Spinner", "LoadingIndicator", "RelativeTimestamp", "Markdown"],
|
|
79
|
+
"keywords": ["component categories", "factory pattern", "DataView", "DataViewModel", "Treemap", "ZoneGrid", "Badge", "Spinner", "LoadingIndicator", "RelativeTimestamp", "Markdown", "StatCard", "StatCardStrip"],
|
|
80
80
|
"aliases": ["components"]
|
|
81
81
|
},
|
|
82
82
|
{
|
|
@@ -87,6 +87,14 @@
|
|
|
87
87
|
"description": "Primary data grid built on ag-Grid.",
|
|
88
88
|
"keywords": ["GridModel", "Column", "ColumnGroup", "sorting", "grouping", "filtering", "selection", "inline editing", "export", "tree grid", "GridFilterModel", "ag-Grid", "column chooser", "context menu"]
|
|
89
89
|
},
|
|
90
|
+
{
|
|
91
|
+
"id": "cmp/cubegrid/README.md",
|
|
92
|
+
"title": "CubeGrid Package",
|
|
93
|
+
"mcpCategory": "package",
|
|
94
|
+
"viewerCategory": "components",
|
|
95
|
+
"description": "Cube View rendered as a tree grid with the app's columns, plus pivot paths as nested column groups, docked summaries, and per-measure column config when the query pivots.",
|
|
96
|
+
"keywords": ["CubeGridModel", "CubeGrid", "CubeGridConfig", "CubeGridPivotModel", "CubeGridPivotConfig", "pivotConfig", "cube grid", "pivot", "PivotSpec", "measures", "cellFields", "PivotPath", "PivotDimensionSpec", "PivotMeasureSpec", "measuresOutermost", "summaryLabel", "valueRenderer", "emptyLabel", "valueClass", "summaryClass", "showSummary"]
|
|
97
|
+
},
|
|
90
98
|
{
|
|
91
99
|
"id": "cmp/form/README.md",
|
|
92
100
|
"title": "Form Infrastructure",
|
|
@@ -135,6 +143,14 @@
|
|
|
135
143
|
"description": "Period selection as presets, relative lookbacks, months/years, or custom ranges, resolved to dates and filters.",
|
|
136
144
|
"keywords": ["DateRangePickerModel", "DateRangePicker", "DateRangeSelection", "dateRangePresets", "DateRangePreset", "LocalDateRange", "anchorDate", "currentRangeFilter", "priorRange", "business days"]
|
|
137
145
|
},
|
|
146
|
+
{
|
|
147
|
+
"id": "cmp/pdfviewer/README.md",
|
|
148
|
+
"title": "PDF Viewer Package",
|
|
149
|
+
"mcpCategory": "package",
|
|
150
|
+
"viewerCategory": "components",
|
|
151
|
+
"description": "PDF document viewer built on pdf.js, with a configurable toolbar and an observable model API for paging, zoom, find, and download.",
|
|
152
|
+
"keywords": ["PdfViewerModel", "PdfViewer", "PdfSource", "PdfScale", "PdfViewerToolbarToken", "pdfjs-dist", "pdf.js", "PDF", "document preview"]
|
|
153
|
+
},
|
|
138
154
|
{
|
|
139
155
|
"id": "desktop/cmp/dash/README.md",
|
|
140
156
|
"title": "Dashboard System",
|
|
@@ -556,8 +572,8 @@
|
|
|
556
572
|
"title": "v90 Upgrade Notes",
|
|
557
573
|
"mcpCategory": "devops",
|
|
558
574
|
"viewerCategory": "upgrade",
|
|
559
|
-
"description": "Upgrade guide from v89.x to v90.0.0. Low difficulty. Covers the removal of numbro and formatConfig, DateInput on react-day-picker 10, the removal of Onsen UI from mobile, textRenderer on the built-in column specs
|
|
560
|
-
"keywords": ["upgrade", "migration", "breaking changes", "v90", "v89", "numbro", "formatConfig", "timePickerProps", "onsen", "modifier", "WindowedSelect", "react-windowed-select", "xh-resizable-splitter", "store2"]
|
|
575
|
+
"description": "Upgrade guide from v89.x to v90.0.0. Low difficulty. Covers the removal of numbro and formatConfig, DateInput on react-day-picker 10, the removal of Onsen UI from mobile, textRenderer on the built-in column specs, the panel splitter redesign, the move of the renderer factories out of FormatNumber and FormatDate, and the libraries Hoist no longer installs.",
|
|
576
|
+
"keywords": ["upgrade", "migration", "breaking changes", "v90", "v89", "numbro", "formatConfig", "timePickerProps", "onsen", "modifier", "WindowedSelect", "react-windowed-select", "xh-resizable-splitter", "store2", "semver", "ua-parser-js", "short-unique-id", "lodash-inflection", "http-status-codes", "date-fns", "@blueprintjs/datetime", "datePicker"]
|
|
561
577
|
}
|
|
562
578
|
]
|
|
563
579
|
}
|
|
@@ -25,6 +25,24 @@ affected APIs.
|
|
|
25
25
|
- **Panel splitter CSS (required if an app styled splitters)** - desktop panel splitters are now
|
|
26
26
|
a 1px line with their own `--xh-panel-splitter-*` variables. App overrides of
|
|
27
27
|
`--xh-resizable-*` variables no longer reach them - see Step 6.
|
|
28
|
+
- **Renderer import paths (required if used)** - the `*Renderer` factories moved out of
|
|
29
|
+
`@xh/hoist/format/FormatNumber` and `@xh/hoist/format/FormatDate`. Import them from
|
|
30
|
+
`@xh/hoist/format` - see Step 7.
|
|
31
|
+
- **Removed libraries (required if an app imports them)** - Hoist no longer depends on several
|
|
32
|
+
libraries, such as `semver` and `store2`. An app that imports one must declare it in its own
|
|
33
|
+
`package.json` - see Step 8.
|
|
34
|
+
- **router5 8 (required if an app declares router5)** - Hoist moves to router5 8. An app that
|
|
35
|
+
declares its own `router5` must match that version, or drop the dependency and type its routes
|
|
36
|
+
with `HoistRoute` - see Step 9.
|
|
37
|
+
|
|
38
|
+
## Prerequisites
|
|
39
|
+
|
|
40
|
+
Before starting, ensure:
|
|
41
|
+
|
|
42
|
+
- [ ] Running hoist-react v89.x.
|
|
43
|
+
- [ ] **hoist-core** at >= 40.5.0 (unchanged floor). **hoist-core 44.0 is recommended.** The new
|
|
44
|
+
Purge Connections buttons in the Admin Console Connection Pool Monitor call an endpoint that
|
|
45
|
+
older cores lack, so they fail there. See [Version Compatibility](../version-compatibility.md).
|
|
28
46
|
|
|
29
47
|
## Upgrade Steps
|
|
30
48
|
|
|
@@ -373,6 +391,112 @@ import {PanelModel} from '@xh/hoist/desktop/cmp/panel';
|
|
|
373
391
|
PanelModel.defaults.showHeaderCollapseButton = true;
|
|
374
392
|
```
|
|
375
393
|
|
|
394
|
+
### 7. Import Renderer Factories from `@xh/hoist/format`
|
|
395
|
+
|
|
396
|
+
The number and date renderer factories now live in their own files, next to the new text renderer
|
|
397
|
+
factories. The `@xh/hoist/format` package still exports all of them, so apps that import from it
|
|
398
|
+
need no change. An import of a renderer from `@xh/hoist/format/FormatNumber` or
|
|
399
|
+
`@xh/hoist/format/FormatDate` fails to compile. The `fmt*` functions and option types such as
|
|
400
|
+
`NumberFormatOptions` still import from those paths.
|
|
401
|
+
|
|
402
|
+
The moved factories:
|
|
403
|
+
|
|
404
|
+
| Old file | Factories |
|
|
405
|
+
|---|---|
|
|
406
|
+
| `FormatNumber` | `numberRenderer`, `thousandsRenderer`, `millionsRenderer`, `billionsRenderer`, `quantityRenderer`, `priceRenderer`, `percentRenderer` |
|
|
407
|
+
| `FormatDate` | `dateRenderer`, `dateTimeRenderer`, `dateTimeSecRenderer`, `timeRenderer`, `compactDateRenderer` |
|
|
408
|
+
|
|
409
|
+
**Find affected code:**
|
|
410
|
+
|
|
411
|
+
```bash
|
|
412
|
+
grep -rnE "@xh/hoist/format/Format(Number|Date)['\"]" client-app/src/
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
Check each match for a name that ends in `Renderer`.
|
|
416
|
+
|
|
417
|
+
Before:
|
|
418
|
+
|
|
419
|
+
```typescript
|
|
420
|
+
import {fmtNumber, numberRenderer} from '@xh/hoist/format/FormatNumber';
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
After:
|
|
424
|
+
|
|
425
|
+
```typescript
|
|
426
|
+
import {fmtNumber, numberRenderer} from '@xh/hoist/format';
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
### 8. Declare Removed Libraries Your App Imports
|
|
430
|
+
|
|
431
|
+
Hoist v90 drops the libraries below from its dependencies. An app could import any of them
|
|
432
|
+
without declaring it, because Hoist installed them. Those imports now fail to resolve. For each
|
|
433
|
+
library that an app imports, either add it to the app's `package.json` or switch to the Hoist API
|
|
434
|
+
in the table.
|
|
435
|
+
|
|
436
|
+
| Library | Hoist alternative |
|
|
437
|
+
|---|---|
|
|
438
|
+
| `numbro` | `fmtNumber` and its options - see Step 1 |
|
|
439
|
+
| `date-fns`, `@blueprintjs/datetime` | `dayPicker` from `@xh/hoist/kit/react-day-picker` - see Step 2 |
|
|
440
|
+
| `onsenui`, `react-onsenui` | Hoist's mobile components - see Step 3 |
|
|
441
|
+
| `react-windowed-select` | `select({enableWindowed: true})` - see Step 4 |
|
|
442
|
+
| `semver` | `checkVersion`, `checkMinVersion` and `checkMaxVersion` from `@xh/hoist/utils/js` |
|
|
443
|
+
| `ua-parser-js` | `XH.isPhone`, `XH.isTablet` and `XH.isDesktop` |
|
|
444
|
+
| `store2` | `XH.localStorageService` and `XH.sessionStorageService` |
|
|
445
|
+
| `short-unique-id` | `genRandomId()` from `@xh/hoist/utils/js`, or `XH.genId()` |
|
|
446
|
+
| `lodash-inflection` | `pluralize`, `singularize` and `ordinalize` from `@xh/hoist/utils/js` |
|
|
447
|
+
| `http-status-codes` | None |
|
|
448
|
+
|
|
449
|
+
**Find affected code:**
|
|
450
|
+
|
|
451
|
+
```bash
|
|
452
|
+
grep -rnE "from '(numbro|date-fns|@blueprintjs/datetime|onsenui|react-onsenui|react-windowed-select|semver|ua-parser-js|store2|short-unique-id|lodash-inflection|http-status-codes)['/]" client-app/src/
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
Skip any match for a library that the app's `package.json` already declares.
|
|
456
|
+
|
|
457
|
+
### 9. Align Your App's router5 Dependency
|
|
458
|
+
|
|
459
|
+
Hoist v90 updates router5 and router5-plugin-browser from 7.0 to 8.0. An app that declares its own
|
|
460
|
+
`router5` at 7.x installs a second copy of the library beside Hoist's.
|
|
461
|
+
|
|
462
|
+
Most apps declare router5 only to import its `Route` type for `getRoutes()`. Import `HoistRoute`
|
|
463
|
+
from `@xh/hoist/core` instead. It is router5's `Route` plus Hoist's `omit` key, and it is the type
|
|
464
|
+
that `HoistAppModel.getRoutes()` returns. Then remove `router5` from the app's `package.json`.
|
|
465
|
+
|
|
466
|
+
Before:
|
|
467
|
+
|
|
468
|
+
```typescript
|
|
469
|
+
import type {Route} from 'router5';
|
|
470
|
+
|
|
471
|
+
override getRoutes(): Route[] {
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
After:
|
|
475
|
+
|
|
476
|
+
```typescript
|
|
477
|
+
import type {HoistRoute} from '@xh/hoist/core';
|
|
478
|
+
|
|
479
|
+
override getRoutes(): HoistRoute[] {
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
If the app still imports from router5 for anything else, update its own dependency to `~8.0.1`.
|
|
483
|
+
router5 8 moved its type files from `types/` to `dist/`, so an import from `router5/types/...` no
|
|
484
|
+
longer resolves. Import those types from `router5` itself.
|
|
485
|
+
|
|
486
|
+
**Find affected code:**
|
|
487
|
+
|
|
488
|
+
```bash
|
|
489
|
+
grep -n '"router5' client-app/package.json
|
|
490
|
+
grep -rnE "from 'router5(-plugin-browser)?['/]" client-app/src/
|
|
491
|
+
```
|
|
492
|
+
|
|
493
|
+
**Review deep links with `@`, `=` or `|` in a path parameter.** router5 8 percent-encodes path
|
|
494
|
+
parameter values. Values that contain `/`, `&`, `?` or `#` now work, where router5 7 threw an error.
|
|
495
|
+
But router5 8 does not match a URL from router5 7 whose path parameter holds a bare `@` or `=`, or
|
|
496
|
+
an encoded `|`. A bookmark to `/app/users/jane@example.com`, for example, no longer finds its route.
|
|
497
|
+
This applies to path parameters only. See [Route Parameters](../routing.md#route-parameters)
|
|
498
|
+
for a server limit on `/` in path parameters.
|
|
499
|
+
|
|
376
500
|
## Verification Checklist
|
|
377
501
|
|
|
378
502
|
After completing all steps:
|
|
@@ -393,6 +517,12 @@ After completing all steps:
|
|
|
393
517
|
- [ ] Styles on `xh-units-label` or on sign color classes inside grid cells still apply.
|
|
394
518
|
- [ ] No app SCSS styles panel splitters with `--xh-resizable-*` variables or
|
|
395
519
|
`.xh-resizable-splitter`.
|
|
520
|
+
- [ ] Nothing imports a `*Renderer` factory from `@xh/hoist/format/FormatNumber` or
|
|
521
|
+
`@xh/hoist/format/FormatDate`.
|
|
522
|
+
- [ ] The app's `package.json` declares every library that the app imports.
|
|
523
|
+
- [ ] The app's `package.json` declares no `router5` dependency, or declares `~8.0.1`, and
|
|
524
|
+
`getRoutes()` returns `HoistRoute[]`.
|
|
525
|
+
- [ ] Deep links that carry `@`, `=` or `|` in a path parameter still open the right route.
|
|
396
526
|
|
|
397
527
|
## Reference
|
|
398
528
|
|
|
@@ -61,7 +61,7 @@ Verified against both hoist-react and hoist-core changelogs.
|
|
|
61
61
|
|
|
62
62
|
| hoist-react | Min Core Required | Recommended Core | Max Core Tested | Notes | Upgrade |
|
|
63
63
|
|---|---|---|---|---|---|
|
|
64
|
-
| 90.0 | -- |
|
|
64
|
+
| 90.0 | -- | 44.0 | 44.0 | Admin Console Connection Pool Monitor purge buttons call a core 44 endpoint and fail on older cores | [Notes](./upgrade-notes/v90-upgrade-notes.md) |
|
|
65
65
|
| 89.0 | -- | 42.0 | 43.0 | No new server-side pairing requirements | [Notes](./upgrade-notes/v89-upgrade-notes.md) |
|
|
66
66
|
| 88.1 | -- | 42.0 | 42.0 | Use 88.1.2 or later - earlier 88 releases drop `MsalClient` defaults. `ViewManagerModel.manageGlobal` derived from server `globalWriteRoles` (42, degrades gracefully). TC39 decorators are client-only - requires hoist-dev-utils 16 | [Notes](./upgrade-notes/v88-upgrade-notes.md) |
|
|
67
67
|
| 87.0 | 40.5.0 | 41.0 | 41.0 | `ViewManager` group rename + bulk edit (40.5); directory group names/search, tabbed config editor (41, degrade gracefully) | [Notes](./upgrade-notes/v87-upgrade-notes.md) |
|
|
@@ -122,6 +122,7 @@ to find the minimum hoist-react version for a given core release.
|
|
|
122
122
|
|
|
123
123
|
| hoist-core | Min hoist-react | Notes |
|
|
124
124
|
|---|---|---|
|
|
125
|
+
| 44.0 | 90.0 recommended | Connection pool purge endpoint, called by the Purge Connections buttons in v90's Admin Console. Older hoist-react does not call it. No hard hoist-react bump. |
|
|
125
126
|
| 43.0 | -- | Grails 8 / Spring Boot 4 / Java 21 server upgrade. No client-facing changes and no hoist-react bump. |
|
|
126
127
|
| 42.0 | 88.0 recommended | `JsonBlobService` limits global blob writes to `xhJsonBlobConfig.globalWriteRoles` and reports `manageGlobal` on `xhView/allData`, consumed by v88's `ViewManagerModel`. Older hoist-react keeps its client-side `manageGlobal`, which the server now also enforces. No hard hoist-react bump. |
|
|
127
128
|
| 41.0 | 87.0 recommended | Tabbed/typed config editor, directory group names + search endpoints - consumed by v87's Admin Console, which degrades gracefully without them. No hard hoist-react bump. |
|
package/dynamics/desktop.ts
CHANGED
|
@@ -34,6 +34,8 @@ export let errorMessageImpl = null;
|
|
|
34
34
|
export let maskImpl = null;
|
|
35
35
|
export let DynamicTabSwitcherModel = null;
|
|
36
36
|
export let cardHeaderImpl = null;
|
|
37
|
+
export let statCardInfoImpl = null;
|
|
38
|
+
export let pdfViewerToolbarImpl = null;
|
|
37
39
|
/**
|
|
38
40
|
* Provide implementations of functions and classes exported in this file.
|
|
39
41
|
*
|
|
@@ -59,4 +61,6 @@ export function installDesktopImpls(impls) {
|
|
|
59
61
|
maskImpl = impls.maskImpl;
|
|
60
62
|
DynamicTabSwitcherModel = impls.DynamicTabSwitcherModel;
|
|
61
63
|
cardHeaderImpl = impls.cardHeaderImpl;
|
|
64
|
+
statCardInfoImpl = impls.statCardInfoImpl;
|
|
65
|
+
pdfViewerToolbarImpl = impls.pdfViewerToolbarImpl;
|
|
62
66
|
}
|
package/dynamics/mobile.ts
CHANGED
|
@@ -24,6 +24,7 @@ export let tabContainerImpl = null;
|
|
|
24
24
|
export let errorMessageImpl = null;
|
|
25
25
|
export let maskImpl = null;
|
|
26
26
|
export let cardHeaderImpl = null;
|
|
27
|
+
export let pdfViewerToolbarImpl = null;
|
|
27
28
|
|
|
28
29
|
/**
|
|
29
30
|
* Provide implementations of functions and classes exported in this file.
|
|
@@ -40,4 +41,5 @@ export function installMobileImpls(impls) {
|
|
|
40
41
|
errorMessageImpl = impls.errorMessageImpl;
|
|
41
42
|
maskImpl = impls.maskImpl;
|
|
42
43
|
cardHeaderImpl = impls.cardHeaderImpl;
|
|
44
|
+
pdfViewerToolbarImpl = impls.pdfViewerToolbarImpl;
|
|
43
45
|
}
|
package/format/FormatNumber.ts
CHANGED
|
@@ -34,8 +34,12 @@ const THOUSAND = 1000,
|
|
|
34
34
|
// A formatted value (sign removed) that shows only zero digits - see `strictZero`.
|
|
35
35
|
const UP_TICK = '▴',
|
|
36
36
|
DOWN_TICK = '▾',
|
|
37
|
-
LEDGER_ALIGN_PLACEHOLDER = '<span style="visibility:hidden">)</span>',
|
|
38
|
-
LEDGER_ALIGN_PLACEHOLDER_EL = span({
|
|
37
|
+
LEDGER_ALIGN_PLACEHOLDER = '<span class="xh-ledger-align" style="visibility:hidden">)</span>',
|
|
38
|
+
LEDGER_ALIGN_PLACEHOLDER_EL = span({
|
|
39
|
+
className: 'xh-ledger-align',
|
|
40
|
+
style: {visibility: 'hidden'},
|
|
41
|
+
item: ')'
|
|
42
|
+
});
|
|
39
43
|
|
|
40
44
|
export type NumericPrecision = IntRange<0, 13>;
|
|
41
45
|
export type Precision = NumericPrecision | 'auto';
|
package/icon/Icon.ts
CHANGED
|
@@ -548,6 +548,9 @@ export const iconFactories = {
|
|
|
548
548
|
gridPanel(p?: IconProps) {
|
|
549
549
|
return Icon.icon({...p, faName: 'table'});
|
|
550
550
|
},
|
|
551
|
+
gridPivot(p?: IconProps) {
|
|
552
|
+
return Icon.icon({...p, iconName: 'table-pivot'});
|
|
553
|
+
},
|
|
551
554
|
grip(p?: IconProps) {
|
|
552
555
|
return Icon.icon({...p, faName: 'grip-horizontal'});
|
|
553
556
|
},
|
|
@@ -623,6 +626,12 @@ export const iconFactories = {
|
|
|
623
626
|
magnifyingGlass(p?: IconProps) {
|
|
624
627
|
return Icon.icon({...p, faName: 'magnifying-glass'});
|
|
625
628
|
},
|
|
629
|
+
magnifyingGlassMinus(p?: IconProps) {
|
|
630
|
+
return Icon.icon({...p, faName: 'magnifying-glass-minus'});
|
|
631
|
+
},
|
|
632
|
+
magnifyingGlassPlus(p?: IconProps) {
|
|
633
|
+
return Icon.icon({...p, faName: 'magnifying-glass-plus'});
|
|
634
|
+
},
|
|
626
635
|
mail(p?: IconProps) {
|
|
627
636
|
return Icon.icon({...p, faName: 'envelope'});
|
|
628
637
|
},
|
|
@@ -731,6 +740,9 @@ export const iconFactories = {
|
|
|
731
740
|
roles(p?: IconProps) {
|
|
732
741
|
return Icon.icon({...p, faName: 'user-shield'});
|
|
733
742
|
},
|
|
743
|
+
rotateRight(p?: IconProps) {
|
|
744
|
+
return Icon.icon({...p, faName: 'rotate-right'});
|
|
745
|
+
},
|
|
734
746
|
server(p?: IconProps) {
|
|
735
747
|
return Icon.icon({...p, faName: 'server'});
|
|
736
748
|
},
|
|
@@ -1012,6 +1024,12 @@ export const aliasFactories = {
|
|
|
1012
1024
|
},
|
|
1013
1025
|
upload(p?: IconProps) {
|
|
1014
1026
|
return Icon.arrowUpFromBracket(p);
|
|
1027
|
+
},
|
|
1028
|
+
zoomIn(p?: IconProps) {
|
|
1029
|
+
return Icon.magnifyingGlassPlus(p);
|
|
1030
|
+
},
|
|
1031
|
+
zoomOut(p?: IconProps) {
|
|
1032
|
+
return Icon.magnifyingGlassMinus(p);
|
|
1015
1033
|
}
|
|
1016
1034
|
};
|
|
1017
1035
|
|