@genesislcap/blank-app-seed 5.10.0 → 5.10.2

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed-config",
3
3
  "description": "Genesis Blank App Seed Configuration",
4
- "version": "5.10.0",
4
+ "version": "5.10.2",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "lint": "eslint .",
@@ -1,7 +1,7 @@
1
1
  {{#if config.permissions.viewRight~}}
2
2
  hasUserPermission('{{config.permissions.viewRight}}') ? (
3
3
  {{/if}}
4
- <RapidG2PlotChart
4
+ <G2PlotChart
5
5
  type="{{ config.type }}"
6
6
  config={chartConfig}
7
7
  >
@@ -9,7 +9,7 @@ hasUserPermission('{{config.permissions.viewRight}}') ? (
9
9
  resourceName="{{ config.resourceName }}"
10
10
  serverFields="{{ config.xField }} {{ config.yField }}"
11
11
  />
12
- </RapidG2PlotChart>
12
+ </G2PlotChart>
13
13
  {{#if config.permissions.viewRight~}}
14
14
  ) : (
15
15
  <ErrorMessage elementType="h3" message="You do not have access to view this component." />
@@ -3,13 +3,16 @@ import { useEffect } from 'react';
3
3
  import { EntityManagement } from '@genesislcap/foundation-entity-management/react';
4
4
  {{/ifEquals}}
5
5
  {{#ifEquals tile.type 'grid-pro'}}
6
- import { RapidGridPro, GridProGenesisDatasource{{#if tile.config.gridOptions}}, GridProColumn{{/if}} } from '@genesislcap/rapid-grid-pro/react';
6
+ import { RapidGridPro } from '@genesislcap/rapid-grid-pro/react';
7
+ import { GridProGenesisDatasource{{#if tile.config.gridOptions}}, GridProColumn{{/if}} } from '@genesislcap/grid-pro/react';
8
+ import { GridProCaseType } from '@genesislcap/grid-pro';
7
9
  {{/ifEquals}}
8
10
  {{#ifEquals tile.type 'smart-form'}}
9
- import { FoundationForm } from '@genesislcap/foundation-forms/react';
11
+ import { Form } from '@genesislcap/foundation-forms/react';
10
12
  {{/ifEquals}}
11
13
  {{#ifEquals tile.type 'chart'}}
12
- import { RapidG2PlotChart, ChartDatasource } from '@genesislcap/g2plot-chart/react';
14
+ import { G2PlotChart, ChartDatasource } from '@genesislcap/g2plot-chart/react';
15
+ import { ChartConfig } from '@genesislcap/g2plot-chart';
13
16
  {{/ifEquals}}
14
17
  {{#if tile.config.permissions.viewRight~}}
15
18
  import { getUser } from '@genesislcap/foundation-user';
@@ -98,7 +101,7 @@ export const {{pascalCase tile.componentName}}: React.FC = () => {
98
101
  const columnDefs: typeof columnDefsTile = [...columnDefsTile];
99
102
  {{/if}}
100
103
  {{#ifAny tile.config.gridOptions tile.config.eventing.publishEventName}}
101
- const gridOptions: { {{#if tile.config.gridOptions}}onRowClicked: GridOptionsConfig.onRowClicked, {{/if}}{{#if tile.config.eventing.publishEventName}}onSelectionChanged: any, rowSelection: 'multiple' | 'single'{{/if}} } = {
104
+ const gridOptions: { {{#if tile.config.gridOptions}}onRowClicked: GridOptionsConfig['onRowClicked'], {{/if}}{{#if tile.config.eventing.publishEventName}}onSelectionChanged: any, rowSelection: 'multiple' | 'single'{{/if}} } = {
102
105
  {{#if tile.config.gridOptions}}
103
106
  onRowClicked: gridOptionsTile?.onRowClicked,
104
107
  {{/if}}
@@ -152,16 +155,7 @@ export const {{pascalCase tile.componentName}}: React.FC = () => {
152
155
  {{/if}}
153
156
 
154
157
  {{#if tile.config.type}}
155
- const chartConfig: {
156
- {{#ifEquals tile.config.type 'pie'}}
157
- radius: number;
158
- angleField: string;
159
- colorField: string;
160
- {{else~}}
161
- xField: string;
162
- yField: string;
163
- {{/ifEquals}}
164
- } = {
158
+ const chartConfig: ChartConfig = {
165
159
  {{#ifEquals tile.config.type 'pie'}}
166
160
  radius: 0.75,
167
161
  angleField: 'value',
@@ -1,7 +1,7 @@
1
1
  {{#if config.permissions.updateRight~}}
2
2
  hasUserPermission('{{config.permissions.updateRight}}') ? (
3
3
  {{/if}}
4
- <FoundationForm
4
+ <Form
5
5
  prefix="rapid"
6
6
  resourceName="{{config.resourceName}}"
7
7
  {{#if config.uischema}}
@@ -2,7 +2,7 @@
2
2
  hasUserPermission('{{config.permissions.viewRight}}') ? (
3
3
  {{/if}}
4
4
  <RapidGridPro
5
- headerCaseType="capitalCase"
5
+ headerCaseType={GridProCaseType.capitalCase}
6
6
  {{#if config.useOnlyTemplateCols}}
7
7
  onlyTemplateColDefs
8
8
  {{/if}}
@@ -1,5 +1,5 @@
1
1
  {
2
- "UI": "14.419.2",
2
+ "UI": "14.421.1",
3
3
  "GSF": "8.15.0",
4
4
  "Auth": "8.15.0"
5
5
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.10.2](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.10.1...v5.10.2) (2026-04-16)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * correct import of chart components + strong typings [FUI-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 18d331b
9
+ * correct import of chart components + strong typings [FUI-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#558) 6d19b3e
10
+ * correct import of forms [FUI-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 390bfa4
11
+
12
+ ## [5.10.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.10.0...v5.10.1) (2026-04-15)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * correct import of grid component [FUI-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 38170d1
18
+ * correct import of grid component [FUI-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#557) 527d1fe
19
+
3
20
  ## [5.10.0](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.9.0...v5.10.0) (2026-04-15)
4
21
 
5
22
 
@@ -63,6 +63,7 @@
63
63
  "@genesislcap/rapid-design-system": "{{versions.UI}}",
64
64
  "@genesislcap/rapid-grid-pro": "{{versions.UI}}",
65
65
  "@genesislcap/rapid-grid-tabulator": "{{versions.UI}}",
66
+ "@genesislcap/grid-pro": "{{versions.UI}}",
66
67
  "@genesislcap/grid-tabulator": "{{versions.UI}}",
67
68
  "@genesislcap/web-core": "{{versions.UI}}",
68
69
  "@genesislcap/g2plot-chart": "{{versions.UI}}",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed",
3
3
  "description": "Genesis Blank App Seed",
4
- "version": "5.10.0",
4
+ "version": "5.10.2",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "release": "semantic-release"