@genesislcap/blank-app-seed 3.18.2 → 3.19.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.
@@ -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.18.2",
4
+ "version": "3.19.0",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "lint": "eslint .",
@@ -1,6 +1,5 @@
1
- const gridOptionsSerializer = require('./gridOptionsSerializer');
1
+ const {gridOptionsSerializer, gridColumnsSerializer } = require('./gridSerializers');
2
2
  const formatJSONValue = require('./formatJSONValue');
3
- const gridColumnsSerializer = require('./gridColumnsSerializer');
4
3
  const getLayoutType = require('./getLayoutType');
5
4
 
6
5
  const formatRouteData = (route) => {
@@ -1,10 +1,27 @@
1
1
  const formatJSONValue = require('./formatJSONValue');
2
- const gridColumnsSerializer = require('./gridColumnsSerializer');
3
2
 
4
- const gridOptionsSerializer = (options, pad = ' ') => {
3
+ function gridColumnsSerializer(columns, pad = ' ') {
4
+ if (!columns) {
5
+ return undefined;
6
+ }
7
+
8
+ try {
9
+ const columnsSerialized = columns.map((column) => {
10
+ return gridOptionsSerializer(column)
11
+ }
12
+ );
13
+ return `[\n${pad}${columnsSerialized}]`;
14
+ } catch (e) {
15
+ throw e
16
+ }
17
+ };
18
+
19
+
20
+ function gridOptionsSerializer(options, pad = ' ') {
5
21
  if (!options) {
6
22
  return undefined;
7
23
  }
24
+
8
25
  try {
9
26
  let output = `{\n`;
10
27
  Object.keys(options).forEach((key) => {
@@ -25,9 +42,9 @@ const gridOptionsSerializer = (options, pad = ' ') => {
25
42
  });
26
43
  output += `${pad}}\n`;
27
44
  return output;
28
- } catch {
29
- return undefined;
45
+ } catch (e) {
46
+ throw e;
30
47
  }
31
48
  };
32
49
 
33
- module.exports = gridOptionsSerializer;
50
+ module.exports = {gridColumnsSerializer, gridOptionsSerializer} ;
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.19.0](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.18.3...v3.19.0) (2024-06-28)
4
+
5
+
6
+ ### Features
7
+
8
+ * upgrade angular client to v18 - [FUI-2054](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/2054) (#264) d5c2480
9
+
10
+ ## [3.18.3](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.18.2...v3.18.3) (2024-06-28)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * move serializers to single file GENC-0 (#268) 9016d47
16
+
3
17
  ## [3.18.2](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.18.1...v3.18.2) (2024-06-27)
4
18
 
5
19
 
@@ -1,6 +1,6 @@
1
1
  # {{capitalCase appName}}
2
2
 
3
- This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.1.0.
3
+ This project was generated with [Angular CLI](https://github.com/angular/angular-cli) v18 (18.0.4).
4
4
 
5
5
  ## Development server
6
6
 
@@ -11,14 +11,14 @@
11
11
  },
12
12
  "private": true,
13
13
  "dependencies": {
14
- "@angular/animations": "^17.1.0",
15
- "@angular/common": "^17.1.0",
16
- "@angular/compiler": "^17.1.0",
17
- "@angular/core": "^17.1.0",
18
- "@angular/forms": "^17.1.0",
19
- "@angular/platform-browser": "^17.1.0",
20
- "@angular/platform-browser-dynamic": "^17.1.0",
21
- "@angular/router": "^17.1.0",
14
+ "@angular/animations": "^18.0.4",
15
+ "@angular/common": "^18.0.4",
16
+ "@angular/compiler": "^18.0.4",
17
+ "@angular/core": "^18.0.4",
18
+ "@angular/forms": "^18.0.4",
19
+ "@angular/platform-browser": "^18.0.4",
20
+ "@angular/platform-browser-dynamic": "^18.0.4",
21
+ "@angular/router": "^18.0.4",
22
22
  "@genesislcap/foundation-comms": "{{versions.UI}}",
23
23
  "@genesislcap/foundation-login": "{{versions.UI}}",
24
24
  "@genesislcap/foundation-entity-management": "{{versions.UI}}",
@@ -33,10 +33,10 @@
33
33
  "zone.js": "~0.14.3"
34
34
  },
35
35
  "devDependencies": {
36
- "@angular-builders/custom-webpack": "^17.0.0",
37
- "@angular-devkit/build-angular": "^17.1.0",
38
- "@angular/cli": "^17.1.0",
39
- "@angular/compiler-cli": "^17.1.0",
36
+ "@angular-builders/custom-webpack": "^18.0.0",
37
+ "@angular-devkit/build-angular": "^18.0.4",
38
+ "@angular/cli": "^18.0.4",
39
+ "@angular/compiler-cli": "^18.0.4",
40
40
  "@genesislcap/build-kit": "{{versions.UI}}",
41
41
  "@types/jasmine": "~5.1.0",
42
42
  "file-loader": "^6.2.0",
@@ -47,7 +47,7 @@
47
47
  "karma-jasmine": "~5.1.0",
48
48
  "karma-jasmine-html-reporter": "~2.1.0",
49
49
  "svg-url-loader": "^8.0.0",
50
- "typescript": "~5.3.2",
50
+ "typescript": "~5.4.5",
51
51
  "ts-node": "10.9.2"
52
52
  }
53
53
  }
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.18.2",
4
+ "version": "3.19.0",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "release": "semantic-release"
@@ -1,17 +0,0 @@
1
- const gridOptionsSerializer = require('./gridOptionsSerializer');
2
-
3
- const gridColumnsSerializer = (columns, pad = ' ') => {
4
- if (!columns) {
5
- return undefined;
6
- }
7
- try {
8
- const columnsSerialized = columns.map((column) =>
9
- gridOptionsSerializer(column),
10
- );
11
- return `[\n${pad}${columnsSerialized}]`;
12
- } catch {
13
- return undefined;
14
- }
15
- };
16
-
17
- module.exports = gridColumnsSerializer;