@genesislcap/blank-app-seed 3.28.1 → 3.28.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed-config",
3
3
  "description": "Genesis Blank App Seed Configuration",
4
- "version": "3.28.1",
4
+ "version": "3.28.3",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "lint": "eslint .",
@@ -1,16 +1,16 @@
1
1
  <rapid-g2plot-chart
2
2
  type="{{ config.type }}"
3
- [config]="chartConfig"
4
- [ngStyle]="hasUserPermission('{{config.permissions.viewRight}}') ? { width: '100%', height: '100%' } : { display: 'none' }"
3
+ [config]="chartConfig"{{#if config.permissions.viewRight}}
4
+ [ngStyle]="hasUserPermission('{{config.permissions.viewRight}}') ? { width: '100%', height: '100%' } : { display: 'none' }"{{/if}}
5
5
  >
6
6
  <chart-datasource
7
7
  resourceName="{{ config.resourceName }}"
8
8
  server-fields="{{ config.xField }} {{ config.yField }}"
9
9
  ></chart-datasource>
10
- </rapid-g2plot-chart>
10
+ </rapid-g2plot-chart>{{#if config.permissions.viewRight}}
11
11
 
12
12
  <app-error-message
13
13
  [ngStyle]="!hasUserPermission('{{config.permissions.viewRight}}') ? { width: '100%', height: '100%', display: 'flex', 'justify-content': 'center', 'align-items': 'center' } : { display: 'none' }"
14
14
  elementType="h3"
15
15
  message="You do not have access to view this component.">
16
- </app-error-message>
16
+ </app-error-message>{{/if}}
@@ -1,6 +1,7 @@
1
1
  import { Component, Input, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import { getUser } from '@genesislcap/foundation-user';
4
+ import { ErrorMessageComponent } from '../../../components/error-message/error-message.component';
4
5
  import { getViewUpdateRightComponent } from '../../../utils';
5
6
  {{#if tile.config.gridOptions}}
6
7
  import { GridOptionsConfig } from "@genesislcap/rapid-grid-pro";
@@ -27,6 +28,7 @@ import { gridOptions } from './{{kebabCase tile.title}}.gridOptions';
27
28
  styleUrl: './{{kebabCase tile.title}}.component.css',
28
29
  standalone: true,
29
30
  imports: [
31
+ ErrorMessageComponent,
30
32
  CommonModule,
31
33
  ],
32
34
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
@@ -1,5 +1,5 @@
1
1
  <section style="height: 100%; width: 100%;">
2
- <ng-container *ngIf="hasUserPermission('{{config.permissions.viewRight}}'); else notPermitted{{ config.index }}">
2
+ <ng-container {{#if config.permissions.viewRight}}*ngIf="hasUserPermission('{{config.permissions.viewRight}}'); else notPermitted{{ config.index }}"{{/if}}>
3
3
  <entity-management
4
4
  design-system-prefix="rapid"
5
5
  header-case-type="capitalCase"
@@ -46,7 +46,7 @@
46
46
  enable-search-bar
47
47
  {{/if}}
48
48
  ></entity-management>
49
- </ng-container>
49
+ </ng-container>{{#if config.permissions.viewRight}}
50
50
 
51
51
  <ng-template #notPermitted{{ config.index }}>
52
52
  <app-error-message
@@ -54,5 +54,5 @@
54
54
  elementType="h3"
55
55
  message="You do not have access to view this component.">
56
56
  </app-error-message>
57
- </ng-template>
57
+ </ng-template>{{/if}}
58
58
  </section>
@@ -1,5 +1,5 @@
1
1
  <section style="height: 100%; width: 100%;">
2
- <ng-container *ngIf="hasUserPermission('{{config.permissions.updateRight}}'); else notPermitted{{ config.index }}">
2
+ <ng-container {{#if config.permissions.updateRight}}*ngIf="hasUserPermission('{{config.permissions.updateRight}}'); else notPermitted{{ config.index }}"{{/if}}>
3
3
  <foundation-form
4
4
  design-system-prefix="rapid"
5
5
  resourceName="{{config.resourceName}}"
@@ -9,13 +9,13 @@
9
9
  >
10
10
  </foundation-form>
11
11
  </ng-container>
12
-
12
+ {{#if config.permissions.updateRight}}
13
13
  <ng-template #notPermitted{{ config.index }}>
14
14
  <app-error-message
15
15
  style="width: 100%; height: 100%; display: flex; justify-content: center; align-items: center;"
16
16
  elementType="h3"
17
17
  message="You do not have access to view this component.">
18
18
  </app-error-message>
19
- </ng-template>
19
+ </ng-template>{{/if}}
20
20
  </section>
21
21
 
@@ -1,9 +1,9 @@
1
1
  <rapid-grid-pro
2
- header-case-type="capitalCase"
3
- only-template-col-defs
2
+ header-case-type="capitalCase"{{#if config.useOnlyTemplateCols}}
3
+ only-template-col-defs{{/if}}
4
4
  enable-row-flashing
5
- enable-cell-flashing
6
- [ngStyle]="{ display: hasUserPermission('{{config.permissions.viewRight}}') ? 'block' : 'none' }"
5
+ enable-cell-flashing{{#if config.permissions.viewRight}}
6
+ [ngStyle]="{ display: hasUserPermission('{{config.permissions.viewRight}}') ? 'block' : 'none' }"{{/if}}
7
7
  >
8
8
  <grid-pro-genesis-datasource
9
9
  resource-name="{{config.resourceName}}"
@@ -20,7 +20,7 @@
20
20
  {{#if config.gridOptions}}
21
21
  <grid-pro-column *ngFor="let columnDef of gridOptions?.columnDefs" [definition]="columnDef"></grid-pro-column>
22
22
  {{/if}}
23
- </rapid-grid-pro>
23
+ </rapid-grid-pro>{{#if config.permissions.viewRight}}
24
24
  <section
25
25
  [ngStyle]="{
26
26
  height: '100%',
@@ -33,4 +33,4 @@
33
33
  elementType="h3"
34
34
  message="You do not have access to view this component.">
35
35
  </app-error-message>
36
- </section>
36
+ </section>{{/if}}
@@ -1,6 +1,5 @@
1
1
  import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import { ErrorMessageComponent } from '../../components/error-message/error-message.component';
4
3
  {{#each route.tiles}}
5
4
  import { {{pascalCase this.componentName}} } from './{{kebabCase this.title}}-{{this.componentType}}';
6
5
  {{/each}}
@@ -11,7 +10,6 @@ import { environment } from '../../../environments/environment';
11
10
  selector: 'app-{{kebabCase route.name}}',
12
11
  standalone: true,
13
12
  imports: [
14
- ErrorMessageComponent,
15
13
  {{#each route.tiles}}
16
14
  {{pascalCase this.componentName}},
17
15
  {{/each}}
@@ -2,8 +2,8 @@ ${whenElse(
2
2
  (x) => getViewUpdateRightComponent(x.user, '{{config.permissions.viewRight}}'),
3
3
  html`
4
4
  <rapid-grid-pro
5
- header-case-type="capitalCase"
6
- only-template-col-defs
5
+ header-case-type="capitalCase"{{#if config.useOnlyTemplateCols}}
6
+ only-template-col-defs{{/if}}
7
7
  enable-row-flashing
8
8
  enable-cell-flashing
9
9
  >
@@ -37,6 +37,7 @@ const formatRouteData = (framework, route) => {
37
37
  ...config,
38
38
  index,
39
39
  gridOptions: gridOptionsSerializer(gridOptions),
40
+ useOnlyTemplateCols: !!gridOptions?.columnDefs,
40
41
  createFormUiSchema: formatJSONValue(createFormUiSchema),
41
42
  updateFormUiSchema: formatJSONValue(updateFormUiSchema),
42
43
  uischema: formatJSONValue(uischema),
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "UI": "14.199.1",
3
- "GSF": "8.1.5",
4
- "Auth": "8.1.1"
3
+ "GSF": "8.2.0",
4
+ "Auth": "8.2.0"
5
5
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.28.3](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.28.2...v3.28.3) (2024-08-01)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * automated dependency version update [skip-ci] [PSD-9](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/9) (#301) 51c6226
9
+
10
+ ## [3.28.2](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.28.1...v3.28.2) (2024-08-01)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * rename {{appName}}-data-pipeline.kts to {{appName}}-data-pipelines.kts (#300) 4643a82
16
+
3
17
  ## [3.28.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.28.0...v3.28.1) (2024-07-29)
4
18
 
5
19
 
@@ -88,6 +88,7 @@
88
88
  "@genesislcap/foundation-layout": "{{versions.UI}}",
89
89
  "@genesislcap/foundation-logger": "{{versions.UI}}",
90
90
  "@genesislcap/foundation-login": "{{versions.UI}}",
91
+ "@genesislcap/foundation-notifications": "{{versions.UI}}",
91
92
  "@genesislcap/foundation-shell": "{{versions.UI}}",
92
93
  "@genesislcap/foundation-store": "{{versions.UI}}",
93
94
  "@genesislcap/foundation-ui": "{{versions.UI}}",
@@ -9,3 +9,4 @@ declare module "*.svg" {
9
9
  declare module '@genesislcap/pbc-auth-ui';
10
10
  declare module '@genesislcap/pbc-documents-ui';
11
11
  declare module '@genesislcap/pbc-reconciliation-ui';
12
+ declare module '@genesislcap/pbc-reporting-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": "3.28.1",
4
+ "version": "3.28.3",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "release": "semantic-release"