@genesislcap/blank-app-seed 5.10.1 → 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.1",
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." />
@@ -8,10 +8,11 @@ import { GridProGenesisDatasource{{#if tile.config.gridOptions}}, GridProColumn{
8
8
  import { GridProCaseType } from '@genesislcap/grid-pro';
9
9
  {{/ifEquals}}
10
10
  {{#ifEquals tile.type 'smart-form'}}
11
- import { FoundationForm } from '@genesislcap/foundation-forms/react';
11
+ import { Form } from '@genesislcap/foundation-forms/react';
12
12
  {{/ifEquals}}
13
13
  {{#ifEquals tile.type 'chart'}}
14
- import { RapidG2PlotChart, ChartDatasource } from '@genesislcap/g2plot-chart/react';
14
+ import { G2PlotChart, ChartDatasource } from '@genesislcap/g2plot-chart/react';
15
+ import { ChartConfig } from '@genesislcap/g2plot-chart';
15
16
  {{/ifEquals}}
16
17
  {{#if tile.config.permissions.viewRight~}}
17
18
  import { getUser } from '@genesislcap/foundation-user';
@@ -154,16 +155,7 @@ export const {{pascalCase tile.componentName}}: React.FC = () => {
154
155
  {{/if}}
155
156
 
156
157
  {{#if tile.config.type}}
157
- const chartConfig: {
158
- {{#ifEquals tile.config.type 'pie'}}
159
- radius: number;
160
- angleField: string;
161
- colorField: string;
162
- {{else~}}
163
- xField: string;
164
- yField: string;
165
- {{/ifEquals}}
166
- } = {
158
+ const chartConfig: ChartConfig = {
167
159
  {{#ifEquals tile.config.type 'pie'}}
168
160
  radius: 0.75,
169
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}}
@@ -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,14 @@
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
+
3
12
  ## [5.10.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.10.0...v5.10.1) (2026-04-15)
4
13
 
5
14
 
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.1",
4
+ "version": "5.10.2",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "release": "semantic-release"