@genesislcap/blank-app-seed 5.9.1-prerelease.1 → 5.10.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/react/chart.hbs +6 -6
- package/.genx/templates/react/component/component.hbs +12 -0
- package/.genx/templates/react/entityManager.hbs +9 -9
- package/.genx/templates/react/form.hbs +4 -5
- package/.genx/templates/react/grid.hbs +11 -11
- package/.genx/versions.json +1 -1
- package/CHANGELOG.md +38 -0
- package/client-tmp/react/package.json +1 -0
- package/client-tmp/react/src/custom-elements.d.ts +1 -9
- package/client-tmp/react/src/share/foundation-login.ts +1 -3
- package/client-tmp/react/src/share/genesis-components.ts +2 -7
- package/package.json +1 -1
package/.genx/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{{#if config.permissions.viewRight~}}
|
|
2
2
|
hasUserPermission('{{config.permissions.viewRight}}') ? (
|
|
3
3
|
{{/if}}
|
|
4
|
-
<
|
|
4
|
+
<RapidG2PlotChart
|
|
5
5
|
type="{{ config.type }}"
|
|
6
6
|
config={chartConfig}
|
|
7
7
|
>
|
|
8
|
-
<
|
|
8
|
+
<ChartDatasource
|
|
9
9
|
resourceName="{{ config.resourceName }}"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
</
|
|
13
|
-
{{#if config.permissions.viewRight~}}
|
|
10
|
+
serverFields="{{ config.xField }} {{ config.yField }}"
|
|
11
|
+
/>
|
|
12
|
+
</RapidG2PlotChart>
|
|
13
|
+
{{#if config.permissions.viewRight~}}
|
|
14
14
|
) : (
|
|
15
15
|
<ErrorMessage elementType="h3" message="You do not have access to view this component." />
|
|
16
16
|
)
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
|
+
{{#ifEquals tile.type 'entity-manager'}}
|
|
3
|
+
import { EntityManagement } from '@genesislcap/foundation-entity-management/react';
|
|
4
|
+
{{/ifEquals}}
|
|
5
|
+
{{#ifEquals tile.type 'grid-pro'}}
|
|
6
|
+
import { RapidGridPro, GridProGenesisDatasource{{#if tile.config.gridOptions}}, GridProColumn{{/if}} } from '@genesislcap/rapid-grid-pro/react';
|
|
7
|
+
{{/ifEquals}}
|
|
8
|
+
{{#ifEquals tile.type 'smart-form'}}
|
|
9
|
+
import { FoundationForm } from '@genesislcap/foundation-forms/react';
|
|
10
|
+
{{/ifEquals}}
|
|
11
|
+
{{#ifEquals tile.type 'chart'}}
|
|
12
|
+
import { RapidG2PlotChart, ChartDatasource } from '@genesislcap/g2plot-chart/react';
|
|
13
|
+
{{/ifEquals}}
|
|
2
14
|
{{#if tile.config.permissions.viewRight~}}
|
|
3
15
|
import { getUser } from '@genesislcap/foundation-user';
|
|
4
16
|
import { getViewUpdateRightComponent } from '../../../utils';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
hasUserPermission('{{config.permissions.viewRight}}') ? (
|
|
3
3
|
{{/if}}
|
|
4
4
|
<>
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
<EntityManagement
|
|
6
|
+
prefix="rapid"
|
|
7
|
+
enableRowFlashing
|
|
8
|
+
enableCellFlashing
|
|
9
9
|
{{#if config.title~}}
|
|
10
10
|
title="{{ config.title }}"
|
|
11
11
|
{{/if}}
|
|
@@ -47,16 +47,16 @@ hasUserPermission('{{config.permissions.viewRight}}') ? (
|
|
|
47
47
|
entityLabel="{{ config.entityName }}"
|
|
48
48
|
{{/if}}
|
|
49
49
|
{{#if config.modalPosition}}
|
|
50
|
-
|
|
50
|
+
modalPosition="{{ config.modalPosition }}"
|
|
51
51
|
{{/if}}
|
|
52
52
|
{{#if config.sizeColumnsToFit}}
|
|
53
|
-
|
|
53
|
+
sizeColumnsToFit
|
|
54
54
|
{{/if}}
|
|
55
55
|
{{#if config.enableSearchBar}}
|
|
56
|
-
|
|
56
|
+
enableSearchBar
|
|
57
57
|
{{/if}}
|
|
58
58
|
{{#if config.enableFilters}}
|
|
59
|
-
|
|
59
|
+
enableFilters
|
|
60
60
|
{{#if config.filterFormUiSchema}}
|
|
61
61
|
filtersUiSchema={filterFormSchema}
|
|
62
62
|
{{/if}}
|
|
@@ -64,7 +64,7 @@ hasUserPermission('{{config.permissions.viewRight}}') ? (
|
|
|
64
64
|
{{#if config.customEvents}}
|
|
65
65
|
customActions={customActions}
|
|
66
66
|
{{/if}}
|
|
67
|
-
|
|
67
|
+
/>
|
|
68
68
|
</>
|
|
69
69
|
{{#if config.permissions.viewRight~}}
|
|
70
70
|
) : (
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
{{#if config.permissions.updateRight~}}
|
|
2
2
|
hasUserPermission('{{config.permissions.updateRight}}') ? (
|
|
3
3
|
{{/if}}
|
|
4
|
-
<
|
|
5
|
-
|
|
4
|
+
<FoundationForm
|
|
5
|
+
prefix="rapid"
|
|
6
6
|
resourceName="{{config.resourceName}}"
|
|
7
7
|
{{#if config.uischema}}
|
|
8
8
|
uischema={uischema}
|
|
9
9
|
{{/if}}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{{#if config.permissions.updateRight~}}
|
|
10
|
+
/>
|
|
11
|
+
{{#if config.permissions.updateRight~}}
|
|
13
12
|
) : (
|
|
14
13
|
<ErrorMessage elementType="h3" message="You do not have access to view this component." />
|
|
15
14
|
)
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{{#if config.permissions.viewRight~}}
|
|
2
2
|
hasUserPermission('{{config.permissions.viewRight}}') ? (
|
|
3
3
|
{{/if}}
|
|
4
|
-
<
|
|
5
|
-
|
|
4
|
+
<RapidGridPro
|
|
5
|
+
headerCaseType="capitalCase"
|
|
6
6
|
{{#if config.useOnlyTemplateCols}}
|
|
7
|
-
|
|
7
|
+
onlyTemplateColDefs
|
|
8
8
|
{{/if}}
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
enableRowFlashing
|
|
10
|
+
enableCellFlashing
|
|
11
11
|
>
|
|
12
|
-
<
|
|
13
|
-
|
|
12
|
+
<GridProGenesisDatasource
|
|
13
|
+
resourceName="{{config.resourceName}}"
|
|
14
14
|
{{#if config.snapshot}}
|
|
15
15
|
isSnapshot="{{config.snapshot}}"
|
|
16
16
|
{{/if}}
|
|
17
17
|
{{#ifAny config.gridOptions config.eventing.publishEventName}}
|
|
18
18
|
deferredGridOptions={gridOptions}
|
|
19
19
|
{{/ifAny}}
|
|
20
|
-
|
|
20
|
+
/>
|
|
21
21
|
{{#if config.gridOptions}}
|
|
22
22
|
{gridOptionsTile?.columnDefs?.map((columnDef, index) => (
|
|
23
|
-
<
|
|
23
|
+
<GridProColumn key={index} definition={columnDef} />
|
|
24
24
|
))}
|
|
25
25
|
{{/if}}
|
|
26
|
-
</
|
|
27
|
-
{{#if config.permissions.viewRight~}}
|
|
26
|
+
</RapidGridPro>
|
|
27
|
+
{{#if config.permissions.viewRight~}}
|
|
28
28
|
) : (
|
|
29
29
|
<ErrorMessage elementType="h3" message="You do not have access to view this component." />
|
|
30
30
|
)
|
package/.genx/versions.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.10.0](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.9.0...v5.10.0) (2026-04-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* FUI update + react wrappers for components + API_HOST fix [FUI-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#556) 6277e5d
|
|
9
|
+
* update react components and FUI version [FUI-2483](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/2483) 304c654
|
|
10
|
+
* update react components and FUI version [FUI-2483](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/2483) (#555) 12aa503
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* remove hardcoded API_HOST env [FUI-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) d6be00e
|
|
16
|
+
* update version.json [FUI-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 7f6d858
|
|
17
|
+
* updating server version information for Auth [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) a7768e9
|
|
18
|
+
* updating server version information for Auth [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 35ef0e3
|
|
19
|
+
* updating server version information for Auth [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) c209644
|
|
20
|
+
* updating server version information for Auth [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 0ffdb64
|
|
21
|
+
* updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 06349a7
|
|
22
|
+
* updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) ab81158
|
|
23
|
+
* updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 5d23e91
|
|
24
|
+
* updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) c2f38cb
|
|
25
|
+
* updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 968e0a3
|
|
26
|
+
|
|
27
|
+
## [5.10.0-prerelease.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.9.1-prerelease.1...v5.10.0-prerelease.1) (2026-04-15)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* update react components and FUI version [FUI-2483](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/2483) 304c654
|
|
33
|
+
* update react components and FUI version [FUI-2483](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/2483) (#555) 12aa503
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* remove hardcoded API_HOST env [FUI-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) d6be00e
|
|
39
|
+
* update version.json [FUI-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 7f6d858
|
|
40
|
+
|
|
3
41
|
## [5.9.1-prerelease.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.9.0...v5.9.1-prerelease.1) (2026-03-03)
|
|
4
42
|
|
|
5
43
|
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"test:e2e:ui": "genx test --e2e --interactive"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
+
"@microsoft/fast-react-wrapper": ">=0.3.25",
|
|
37
38
|
"@ag-grid-community/client-side-row-model": "29.2.0",
|
|
38
39
|
"@ag-grid-community/core": "29.2.0",
|
|
39
40
|
"@ag-grid-community/csv-export": "29.2.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { DOMAttributes } from 'react';
|
|
2
2
|
|
|
3
3
|
type CustomElement<T = React.HTMLAttributes<HTMLElement>> = Partial<T & DOMAttributes<T> & { [key: string]: any }>;
|
|
4
4
|
|
|
@@ -6,14 +6,6 @@ declare module "react/jsx-runtime" {
|
|
|
6
6
|
namespace JSX {
|
|
7
7
|
interface IntrinsicElements {
|
|
8
8
|
'rapid-design-system-provider': CustomElement;
|
|
9
|
-
'entity-management': CustomElement;
|
|
10
|
-
'foundation-form': CustomElement;
|
|
11
|
-
'smart-form-modal': CustomElement;
|
|
12
|
-
'rapid-grid-pro': CustomElement;
|
|
13
|
-
'grid-pro-genesis-datasource': CustomElement;
|
|
14
|
-
'grid-pro-column': CustomElement;
|
|
15
|
-
'rapid-g2plot-chart': CustomElement;
|
|
16
|
-
'chart-datasource': CustomElement;
|
|
17
9
|
'client-app-login': CustomElement;
|
|
18
10
|
'rapid-modal': CustomElement;
|
|
19
11
|
'rapid-layout': CustomElement;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { configure, defaultAuthConfig } from '@genesislcap/foundation-auth/config';
|
|
2
2
|
import { AUTH_PATH } from '../config';
|
|
3
|
-
import { environment } from '../environments/environment.ts';
|
|
4
3
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
5
4
|
import { DI } from '@genesislcap/web-core';
|
|
6
5
|
import type { NavigateFunction, Location as RouterLocation } from 'react-router-dom';
|
|
@@ -31,8 +30,7 @@ export const configureFoundationLogin = ({navigate, location}: { navigate: Navig
|
|
|
31
30
|
},
|
|
32
31
|
hostPath: basePath + AUTH_PATH,
|
|
33
32
|
postLoginRedirect: async () => {
|
|
34
|
-
|
|
35
|
-
await connect.connect(url);
|
|
33
|
+
await connect.connect();
|
|
36
34
|
const from = location.state?.from?.pathname || '/';
|
|
37
35
|
navigate(from, { replace: true });
|
|
38
36
|
},
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import { EntityManagement, SmartFormModal } from '@genesislcap/foundation-entity-management';
|
|
2
|
-
import { Filters, Form } from '@genesislcap/foundation-forms';
|
|
3
1
|
import { foundationLayoutComponents } from '@genesislcap/foundation-layout';
|
|
4
2
|
import { getApp } from '@genesislcap/foundation-shell/app';
|
|
5
3
|
import { g2plotChartsComponents } from '@genesislcap/g2plot-chart';
|
|
6
4
|
import * as rapidDesignSystem from '@genesislcap/rapid-design-system';
|
|
7
5
|
import { rapidGridComponents, rapidGridPro, rapidGridProStyles } from '@genesislcap/rapid-grid-pro';
|
|
8
6
|
import { FoundationRouter } from '@genesislcap/foundation-ui';
|
|
7
|
+
import { avoidTreeShaking } from '@genesislcap/foundation-utils';
|
|
9
8
|
import { css } from "@genesislcap/web-core";
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* Ensure tree shaking doesn't remove these.
|
|
13
12
|
*/
|
|
14
|
-
FoundationRouter;
|
|
15
|
-
EntityManagement;
|
|
16
|
-
Filters;
|
|
17
|
-
Form;
|
|
18
|
-
SmartFormModal;
|
|
13
|
+
avoidTreeShaking(FoundationRouter);
|
|
19
14
|
|
|
20
15
|
/**
|
|
21
16
|
* registerComponents.
|