@genesislcap/blank-app-seed 5.23.1 → 5.23.3
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 +2 -2
- package/.genx/templates/react/component/component.hbs +0 -8
- package/.genx/templates/react/component/component.styles.hbs +2 -1
- package/.genx/templates/react/entityManager.hbs +1 -0
- package/.genx/templates/react/form.hbs +8 -1
- package/.genx/templates/react/grid.hbs +7 -1
- package/.genx/versions.json +1 -1
- package/CHANGELOG.md +22 -0
- package/client-tmp/angular/src/app/share/foundation-auth.ts +7 -1
- package/client-tmp/react/src/share/foundation-login.ts +7 -1
- package/package.json +1 -1
package/.genx/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{{#if config.type}}
|
|
2
|
-
<G2PlotChart type="{{ config.type }}" config={chartConfig}>
|
|
2
|
+
<G2PlotChart className="{{kebabCase componentName}}" type="{{ config.type }}" config={chartConfig}>
|
|
3
3
|
{{else}}
|
|
4
4
|
{{! `type` is optional: G2PlotChart falls back to its own default when it is absent, and type="" is not a ChartTypes. }}
|
|
5
|
-
<G2PlotChart config={chartConfig}>
|
|
5
|
+
<G2PlotChart className="{{kebabCase componentName}}" config={chartConfig}>
|
|
6
6
|
{{/if}}
|
|
7
7
|
<ChartDatasource resourceName="{{ config.resourceName }}" serverFields="{{ config.xField }} {{ config.yField }}" />
|
|
8
8
|
</G2PlotChart>
|
|
@@ -176,21 +176,13 @@ export const {{pascalCase tile.componentName}}: React.FC = () => {
|
|
|
176
176
|
{{/ifEquals}}
|
|
177
177
|
{{#if tile.config.wholeTileRight}}
|
|
178
178
|
return hasUserPermission('{{tile.config.wholeTileRight}}') ? (
|
|
179
|
-
{{#ifEquals tile.type 'smart-form'}}
|
|
180
|
-
{{! smart-form renders as a single line; keep the partial inline so its trailing newline survives }}{{> (lookup tile 'type') tile}}
|
|
181
|
-
{{else}}
|
|
182
179
|
{{> (lookup tile 'type') tile}}
|
|
183
|
-
{{/ifEquals}}
|
|
184
180
|
) : (
|
|
185
181
|
<ErrorMessage elementType="h3" message="You do not have access to view this component." />
|
|
186
182
|
);
|
|
187
|
-
{{else}}
|
|
188
|
-
{{#ifEquals tile.type 'smart-form'}}
|
|
189
|
-
return {{> (lookup tile 'type') tile}};
|
|
190
183
|
{{else}}
|
|
191
184
|
return (
|
|
192
185
|
{{> (lookup tile 'type') tile}}
|
|
193
186
|
);
|
|
194
|
-
{{/ifEquals}}
|
|
195
187
|
{{/if}}
|
|
196
188
|
};
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
<Form
|
|
1
|
+
<Form
|
|
2
|
+
className="{{kebabCase componentName}}"
|
|
3
|
+
prefix="rapid"
|
|
4
|
+
resourceName="{{config.resourceName}}"
|
|
5
|
+
{{#if config.uischema}}
|
|
6
|
+
uischema={uischema}
|
|
7
|
+
{{/if}}
|
|
8
|
+
/>
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
{{#if config.useOnlyTemplateCols}}
|
|
2
2
|
<RapidGridPro
|
|
3
|
+
className="{{kebabCase componentName}}"
|
|
3
4
|
headerCaseType={GridProCaseType.capitalCase}
|
|
4
5
|
onlyTemplateColDefs
|
|
5
6
|
enableRowFlashing
|
|
6
7
|
enableCellFlashing
|
|
7
8
|
>
|
|
8
9
|
{{else}}
|
|
9
|
-
<RapidGridPro
|
|
10
|
+
<RapidGridPro
|
|
11
|
+
className="{{kebabCase componentName}}"
|
|
12
|
+
headerCaseType={GridProCaseType.capitalCase}
|
|
13
|
+
enableRowFlashing
|
|
14
|
+
enableCellFlashing
|
|
15
|
+
>
|
|
10
16
|
{{/if}}
|
|
11
17
|
{{#ifAny config.snapshot config.gridOptions config.eventing.publishEventName config.eventing.listener config.reqrep}}
|
|
12
18
|
{{! prettier-ignore must be bare: attribute widths are user data, keep one attribute per line }}
|
package/.genx/versions.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.23.3](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.23.2...v5.23.3) (2026-09-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* correct the placeholder comment now that nothing sets the class GENC-0 bc08e96
|
|
9
|
+
* drop the React tile className wiring for now GENC-0 386865e
|
|
10
|
+
* make the React tile style placeholder target a real selector GENC-0 17f00ac
|
|
11
|
+
* make the React tile style placeholder target a real selector GENC-0 (#620) 70b82a6
|
|
12
|
+
* make the smart-form tile always render multi-line to satisfy oxfmt GENC-0 24622f7
|
|
13
|
+
* set the tile's className so the style placeholder selector matches GENC-0 656b18b
|
|
14
|
+
|
|
15
|
+
## [5.23.2](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.23.1...v5.23.2) (2026-08-28)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* drop the post-login watcher superseded by the foundation-auth fallback fix [PTC-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 2c142f0
|
|
21
|
+
* give the auth hostPath a leading slash when no base path is set [PTC-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 450a2fe
|
|
22
|
+
* give the auth hostPath a leading slash when no base path is set [PTC-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#619) 1b4fd2c
|
|
23
|
+
* re-assert the post-login destination while the auth router tears down [PTC-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 2c175e7
|
|
24
|
+
|
|
3
25
|
## [5.23.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.23.0...v5.23.1) (2026-08-25)
|
|
4
26
|
|
|
5
27
|
|
|
@@ -16,6 +16,12 @@ export const configureFoundationAuth = ({
|
|
|
16
16
|
}) => {
|
|
17
17
|
const baseElement = document.querySelector('base');
|
|
18
18
|
const basePath = baseElement?.getAttribute('href') || '';
|
|
19
|
+
// The base href is '' outside a container deployment, and a bare '' + 'login' is a
|
|
20
|
+
// RELATIVE host path — the auth flow's navigations then compound onto whatever path the
|
|
21
|
+
// app is on (e.g. '/login/not-found'), and a reload booted at that URL falls through to
|
|
22
|
+
// the router's not-found page. Join with a normalised leading slash so the host path is
|
|
23
|
+
// absolute with and without a base.
|
|
24
|
+
const hostPath = `${basePath}/${AUTH_PATH}`.replace(/\/{2,}/g, '/');
|
|
19
25
|
|
|
20
26
|
configure({
|
|
21
27
|
name: 'client-app-login',
|
|
@@ -26,7 +32,7 @@ export const configureFoundationAuth = ({
|
|
|
26
32
|
...defaultAuthConfig.fields.username,
|
|
27
33
|
},
|
|
28
34
|
},
|
|
29
|
-
hostPath
|
|
35
|
+
hostPath,
|
|
30
36
|
postLoginRedirect: async () => {
|
|
31
37
|
const url = API_HOST;
|
|
32
38
|
await connectService.connect(url);
|
|
@@ -21,6 +21,12 @@ export const configureFoundationLogin = ({
|
|
|
21
21
|
const baseElement = document.querySelector('base');
|
|
22
22
|
const basePath = baseElement?.getAttribute('href') || '';
|
|
23
23
|
const connect = DI.getOrCreateDOMContainer().get(Connect);
|
|
24
|
+
// The base href is '' outside a container deployment, and a bare '' + 'login' is a
|
|
25
|
+
// RELATIVE host path — the auth flow's navigations then compound onto whatever path the
|
|
26
|
+
// app is on (e.g. '/login/not-found'), and a reload booted at that URL falls through to
|
|
27
|
+
// the router's not-found page. Join with a normalised leading slash so the host path is
|
|
28
|
+
// absolute with and without a base.
|
|
29
|
+
const hostPath = `${basePath}/${AUTH_PATH}`.replace(/\/{2,}/g, '/');
|
|
24
30
|
|
|
25
31
|
configure({
|
|
26
32
|
name: 'client-app-login',
|
|
@@ -31,7 +37,7 @@ export const configureFoundationLogin = ({
|
|
|
31
37
|
...defaultAuthConfig.fields.username,
|
|
32
38
|
},
|
|
33
39
|
},
|
|
34
|
-
hostPath
|
|
40
|
+
hostPath,
|
|
35
41
|
postLoginRedirect: async () => {
|
|
36
42
|
await connect.connect();
|
|
37
43
|
// Preserve the full original location (query string + hash) so deep-link
|