@genesislcap/blank-app-seed 5.25.0 → 5.26.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/.genx/package.json +1 -1
- package/.genx/templates/angular/component/component.gridOptions.hbs +2 -2
- package/.genx/templates/angular/component/component.hbs +4 -4
- package/.genx/templates/react/component/component.hbs +5 -1
- package/.genx/templates/react/grid.hbs +3 -3
- package/.genx/templates/react/route.hbs +3 -1
- package/.genx/tests/fixtures/routes-full.json +7 -0
- package/.genx/versions.json +1 -1
- package/.github/workflows/build.yml +9 -0
- package/CHANGELOG.md +14 -0
- package/client-tmp/react/package.json +0 -1
- package/client-tmp/react/src/main.tsx +0 -4
- package/package.json +1 -1
package/.genx/package.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { GridOptions } from '@ag-grid-community/core';
|
|
1
2
|
{{#ifContains tile.config.gridOptions 'getDateFormatter'}}
|
|
2
3
|
{{#ifContains tile.config.gridOptions 'getNumberFormatter'}}
|
|
3
4
|
import { getDateFormatter, getNumberFormatter } from '@genesislcap/foundation-utils';
|
|
@@ -9,7 +10,6 @@ import { getDateFormatter } from '@genesislcap/foundation-utils';
|
|
|
9
10
|
import { getNumberFormatter } from '@genesislcap/foundation-utils';
|
|
10
11
|
{{/ifContains}}
|
|
11
12
|
{{/ifContains}}
|
|
12
|
-
import { GridOptionsConfig } from '@genesislcap/rapid-grid-pro';
|
|
13
13
|
{{#if route.FDC3EventHandlersEnabled}}
|
|
14
14
|
{{#ifContains tile.config.gridOptions 'sendEventOnChannel'}}
|
|
15
15
|
import { sendEventOnChannel } from '../../../utils';
|
|
@@ -17,5 +17,5 @@ import { sendEventOnChannel } from '../../../utils';
|
|
|
17
17
|
{{/if}}
|
|
18
18
|
|
|
19
19
|
{{#if tile.config.gridOptions}}
|
|
20
|
-
export const gridOptions:
|
|
20
|
+
export const gridOptions: GridOptions = {{{ tile.config.gridOptions }}};
|
|
21
21
|
{{/if}}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
{{#if tile.config.gridOptions}}
|
|
2
|
+
import type { GridOptions } from '@ag-grid-community/core';
|
|
3
|
+
{{/if}}
|
|
1
4
|
import { CommonModule } from '@angular/common';
|
|
2
5
|
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
3
6
|
import { getUser } from '@genesislcap/foundation-user';
|
|
4
|
-
{{#if tile.config.gridOptions}}
|
|
5
|
-
import { GridOptionsConfig } from '@genesislcap/rapid-grid-pro';
|
|
6
|
-
{{/if}}
|
|
7
7
|
{{#if tile.config.eventing.listener}}
|
|
8
8
|
import { injectSelector } from '@reduxjs/angular-redux';
|
|
9
9
|
{{/if}}
|
|
@@ -74,7 +74,7 @@ export class {{pascalCase tile.componentName}} {
|
|
|
74
74
|
filterFormSchema = filterFormSchema;
|
|
75
75
|
{{/if}}
|
|
76
76
|
{{#if tile.config.gridOptions}}
|
|
77
|
-
gridOptions = gridOptions as
|
|
77
|
+
gridOptions = gridOptions as GridOptions;
|
|
78
78
|
{{/if}}
|
|
79
79
|
{{#if tile.config.columns}}
|
|
80
80
|
columnDefs = [...columnDefs];
|
|
@@ -24,7 +24,11 @@ import { G2PlotChart, ChartDatasource } from '@genesislcap/g2plot-chart/react';
|
|
|
24
24
|
{{#ifEquals tile.type 'grid-pro'}}
|
|
25
25
|
import { GridProCaseType } from '@genesislcap/grid-pro';
|
|
26
26
|
import { GridProGenesisDatasource{{#if tile.config.gridOptions}}, GridProColumn{{/if}} } from '@genesislcap/grid-pro/react';
|
|
27
|
-
|
|
27
|
+
{{! foundation-ui#2499 renames GridProBeta to GridPro (and today's GridPro to
|
|
28
|
+
GridProLegacy), so this becomes RapidGridPro again when that lands — along with
|
|
29
|
+
rapidGridProBeta() in genesis-components.ts, which rapidGridComponents then
|
|
30
|
+
registers under <rapid-grid-pro> on its own. Not shipped as of 15.32.1. }}
|
|
31
|
+
import { RapidGridProBeta } from '@genesislcap/rapid-grid-pro/react';
|
|
28
32
|
{{/ifEquals}}
|
|
29
33
|
{{#if tile.config.eventing.listener}}
|
|
30
34
|
import { useSelector } from 'react-redux';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{#if config.useOnlyTemplateCols}}
|
|
2
|
-
<
|
|
2
|
+
<RapidGridProBeta
|
|
3
3
|
className="{{kebabCase componentName}}"
|
|
4
4
|
headerCaseType={GridProCaseType.capitalCase}
|
|
5
5
|
onlyTemplateColDefs
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
enableColumnSelection
|
|
9
9
|
>
|
|
10
10
|
{{else}}
|
|
11
|
-
<
|
|
11
|
+
<RapidGridProBeta
|
|
12
12
|
className="{{kebabCase componentName}}"
|
|
13
13
|
headerCaseType={GridProCaseType.capitalCase}
|
|
14
14
|
enableRowFlashing
|
|
@@ -43,4 +43,4 @@
|
|
|
43
43
|
<GridProColumn key={index} definition={columnDef} />
|
|
44
44
|
))}
|
|
45
45
|
{{/if}}
|
|
46
|
-
</
|
|
46
|
+
</RapidGridProBeta>
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
{{#if route.tiles}}
|
|
2
|
-
|
|
2
|
+
// flexlayout-react and its Rapid theme both arrive with this platform entry point, so the app
|
|
3
|
+
// neither declares the dependency nor installs a stylesheet for it.
|
|
4
|
+
import { Layout, Model, TabNode } from '@genesislcap/foundation-react-utils/flexlayout';
|
|
3
5
|
import React, { useState } from 'react';
|
|
4
6
|
import { TileErrorBoundary } from '../../components/error-boundary/ErrorBoundary';
|
|
5
7
|
import { getFlexLayoutStorageKey } from '../../utils/layout';
|
package/.genx/versions.json
CHANGED
|
@@ -14,12 +14,21 @@ jobs:
|
|
|
14
14
|
# the defaults app. This job keeps every framework's generator honest: for each one it
|
|
15
15
|
# generates the defaults app, the full-routes fixture app and an FDC3-channels app,
|
|
16
16
|
# and runs the ox lint gates over all three.
|
|
17
|
+
#
|
|
18
|
+
# BUILD=1 adds `tsc --noEmit` and the production build per app, which is what makes a
|
|
19
|
+
# broken generated tile fail here. Lint alone does not type-check, and the app the
|
|
20
|
+
# `build` job below compiles is the defaults one, which generates no tiles at all, so
|
|
21
|
+
# before this nothing compiled a generated tile: a grid tile passed a prop the React
|
|
22
|
+
# wrapper's types did not declare and CI stayed green while `npm run build` failed for
|
|
23
|
+
# anyone scaffolding with routes.
|
|
17
24
|
generated-apps:
|
|
18
25
|
strategy:
|
|
19
26
|
fail-fast: false
|
|
20
27
|
matrix:
|
|
21
28
|
framework: [react, webcomponents, angular]
|
|
22
29
|
runs-on: ubuntu-latest
|
|
30
|
+
env:
|
|
31
|
+
BUILD: 1
|
|
23
32
|
steps:
|
|
24
33
|
- uses: actions/checkout@v4
|
|
25
34
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.26.0](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.25.0...v5.26.0) (2026-09-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* consume flexlayout-react via the platform export [FUI-2626](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/2626) d5f63d1
|
|
9
|
+
* consume flexlayout-react via the platform export [FUI-2626](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/2626) (#625) 15312e0
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* type angular tile gridOptions concretely so ng build passes [FUI-2626](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/2626) 528b116
|
|
15
|
+
* use the RapidGridProBeta react wrapper for grid-pro tiles [FUI-2626](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/2626) 95cbfb9
|
|
16
|
+
|
|
3
17
|
## [5.25.0](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.24.0...v5.25.0) (2026-09-10)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -88,7 +88,6 @@
|
|
|
88
88
|
"@genesislcap/pbc-notify-ui": "{{versions.UI}}",
|
|
89
89
|
"@genesislcap/pbc-reconciliation-ui": "{{versions.UI}}",
|
|
90
90
|
"@genesislcap/pbc-reporting-ui": "{{versions.UI}}",
|
|
91
|
-
"flexlayout-react": "^0.10.8",
|
|
92
91
|
"change-case": "^4.1.2",
|
|
93
92
|
"tabulator-tables": "6.3.1",
|
|
94
93
|
"history": "^5.3.0",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createLogger } from '@genesislcap/foundation-logger';
|
|
2
|
-
import { installRapidFlexLayoutReactStyles } from '@genesislcap/rapid-design-system';
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import ReactDOM from 'react-dom/client';
|
|
5
4
|
import App from './App.tsx';
|
|
@@ -9,9 +8,6 @@ import { registerPBCs } from './pbc/utils';
|
|
|
9
8
|
|
|
10
9
|
import './styles/styles.css';
|
|
11
10
|
|
|
12
|
-
// Single source of truth for the flexlayout-react theme lives in the platform (@genesislcap/rapid-design-system).
|
|
13
|
-
installRapidFlexLayoutReactStyles();
|
|
14
|
-
|
|
15
11
|
const logger = createLogger('main');
|
|
16
12
|
|
|
17
13
|
function bootstrapApp() {
|