@genesislcap/foundation-comms 14.259.1-alpha-7046515.0 → 14.259.1

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.
@@ -15,7 +15,6 @@
15
15
  * foo == 'bar' &&
16
16
  * asd == 'zxc' &&
17
17
  * Expr.containsIgnoreCase(FIELD, 'abc') &&
18
- * Expr.dateIsEqual(DATE, '20231110') &&
19
18
  * Expr.dateIsToday(DATE) &&
20
19
  * Expr.dateTimeIsGreaterEqual(DATETIME, '20231110-03:23') &&
21
20
  * Expr.dateTimeIsLessEqual(DATETIME, '20231115-03:23') &&
@@ -29,7 +28,6 @@
29
28
  * {
30
29
  * foo: 'bar',
31
30
  * asd: 'zxc',
32
- * DATE: '20231110',
33
31
  * FIELD: '*abc*',
34
32
  * DATE_FROM: '20231110-00:00',
35
33
  * DATE_TO: '20231111-00:00',
@@ -1 +1 @@
1
- {"version":3,"file":"criteriaFiltersToFields.d.ts","sourceRoot":"","sources":["../../../src/datasource/criteriaFiltersToFields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAyE/E"}
1
+ {"version":3,"file":"criteriaFiltersToFields.d.ts","sourceRoot":"","sources":["../../../src/datasource/criteriaFiltersToFields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAkE/E"}
@@ -133,8 +133,8 @@ let DefaultMessageBuilder = class DefaultMessageBuilder {
133
133
  return {
134
134
  SOURCE_REF: this.uuid.createId(),
135
135
  MESSAGE_TYPE: EventMessageType.EVENT_LOGOUT,
136
- SESSION_AUTH_TOKEN: (_a = loginResult === null || loginResult === void 0 ? void 0 : loginResult.authToken) !== null && _a !== void 0 ? _a : this.session.getSessionStorageItem('authToken'),
137
- SESSION_ID: (_b = loginResult === null || loginResult === void 0 ? void 0 : loginResult.sessionId) !== null && _b !== void 0 ? _b : this.session.getSessionStorageItem('sessionId'),
136
+ SESSION_AUTH_TOKEN: (_a = loginResult.authToken) !== null && _a !== void 0 ? _a : this.session.getSessionStorageItem('authToken'),
137
+ SESSION_ID: (_b = loginResult.sessionId) !== null && _b !== void 0 ? _b : this.session.getSessionStorageItem('sessionId'),
138
138
  };
139
139
  }
140
140
  createDataLogonMessage(resourceName, params) {
@@ -15,7 +15,6 @@
15
15
  * foo == 'bar' &&
16
16
  * asd == 'zxc' &&
17
17
  * Expr.containsIgnoreCase(FIELD, 'abc') &&
18
- * Expr.dateIsEqual(DATE, '20231110') &&
19
18
  * Expr.dateIsToday(DATE) &&
20
19
  * Expr.dateTimeIsGreaterEqual(DATETIME, '20231110-03:23') &&
21
20
  * Expr.dateTimeIsLessEqual(DATETIME, '20231115-03:23') &&
@@ -29,7 +28,6 @@
29
28
  * {
30
29
  * foo: 'bar',
31
30
  * asd: 'zxc',
32
- * DATE: '20231110',
33
31
  * FIELD: '*abc*',
34
32
  * DATE_FROM: '20231110-00:00',
35
33
  * DATE_TO: '20231111-00:00',
@@ -70,13 +68,6 @@ export function criteriaFiltersToFields(filters) {
70
68
  reqFields[`${fieldName}_TO`] = value;
71
69
  }
72
70
  break;
73
- case 'dateIsEqual':
74
- {
75
- const fieldNameValueMatcher = /Expr\.dateIsEqual\((\w+), ?['"](.+)['"]\)/;
76
- const [, fieldName, value] = c.match(fieldNameValueMatcher);
77
- reqFields[`${fieldName}`] = value;
78
- }
79
- break;
80
71
  case 'dateIsGreaterEqual':
81
72
  {
82
73
  const fieldNameValueMatcher = /Expr\.dateIsGreaterEqual\((\w+), ?['"](.+)['"]\)/;
@@ -4335,7 +4335,7 @@
4335
4335
  {
4336
4336
  "kind": "Function",
4337
4337
  "canonicalReference": "@genesislcap/foundation-comms!criteriaFiltersToFields:function(1)",
4338
- "docComment": "/**\n * Criteria filters to fields.\n *\n * @remarks\n *\n * For filtering REQUEST_SERVER resources. Maps concatenated criteria filters from a grid to a request fields object. Date/datetime groovy expressions will append `_FROM` and `_TO` onto field names appropriately\n *\n * eg: converts\n * ```\n * foo == 'bar' &&\n * asd == 'zxc' &&\n * Expr.containsIgnoreCase(FIELD, 'abc') &&\n * Expr.dateIsEqual(DATE, '20231110') &&\n * Expr.dateIsToday(DATE) &&\n * Expr.dateTimeIsGreaterEqual(DATETIME, '20231110-03:23') &&\n * Expr.dateTimeIsLessEqual(DATETIME, '20231115-03:23') &&\n * Expr.dateIsGreaterEqual(DATEONLY, '20231110') &&\n * Expr.dateIsLessEqual(DATEONLY, '20231115')\n * ```\n *\n * into\n * ```\n * {\n * foo: 'bar',\n * asd: 'zxc',\n * DATE: '20231110',\n * FIELD: '*abc*',\n * DATE_FROM: '20231110-00:00',\n * DATE_TO: '20231111-00:00',\n * DATETIME_FROM: '20231110-03:23',\n * DATETIME_TO: '20231115-03:23',\n * DATEONLY_FROM: '20231110',\n * DATEONLY_TO: '20231115',\n * }\n * ```\n *\n * @param filters - Concatenated criteria filters.\n *\n * @public\n */\n",
4338
+ "docComment": "/**\n * Criteria filters to fields.\n *\n * @remarks\n *\n * For filtering REQUEST_SERVER resources. Maps concatenated criteria filters from a grid to a request fields object. Date/datetime groovy expressions will append `_FROM` and `_TO` onto field names appropriately\n *\n * eg: converts\n * ```\n * foo == 'bar' &&\n * asd == 'zxc' &&\n * Expr.containsIgnoreCase(FIELD, 'abc') &&\n * Expr.dateIsToday(DATE) &&\n * Expr.dateTimeIsGreaterEqual(DATETIME, '20231110-03:23') &&\n * Expr.dateTimeIsLessEqual(DATETIME, '20231115-03:23') &&\n * Expr.dateIsGreaterEqual(DATEONLY, '20231110') &&\n * Expr.dateIsLessEqual(DATEONLY, '20231115')\n * ```\n *\n * into\n * ```\n * {\n * foo: 'bar',\n * asd: 'zxc',\n * FIELD: '*abc*',\n * DATE_FROM: '20231110-00:00',\n * DATE_TO: '20231111-00:00',\n * DATETIME_FROM: '20231110-03:23',\n * DATETIME_TO: '20231115-03:23',\n * DATEONLY_FROM: '20231110',\n * DATEONLY_TO: '20231115',\n * }\n * ```\n *\n * @param filters - Concatenated criteria filters.\n *\n * @public\n */\n",
4339
4339
  "excerptTokens": [
4340
4340
  {
4341
4341
  "kind": "Content",
@@ -768,7 +768,6 @@ export declare const credentialSeparator = ":";
768
768
  * foo == 'bar' &&
769
769
  * asd == 'zxc' &&
770
770
  * Expr.containsIgnoreCase(FIELD, 'abc') &&
771
- * Expr.dateIsEqual(DATE, '20231110') &&
772
771
  * Expr.dateIsToday(DATE) &&
773
772
  * Expr.dateTimeIsGreaterEqual(DATETIME, '20231110-03:23') &&
774
773
  * Expr.dateTimeIsLessEqual(DATETIME, '20231115-03:23') &&
@@ -782,7 +781,6 @@ export declare const credentialSeparator = ":";
782
781
  * {
783
782
  * foo: 'bar',
784
783
  * asd: 'zxc',
785
- * DATE: '20231110',
786
784
  * FIELD: '*abc*',
787
785
  * DATE_FROM: '20231110-00:00',
788
786
  * DATE_TO: '20231111-00:00',
@@ -32,7 +32,6 @@ eg: converts
32
32
  foo == 'bar' &&
33
33
  asd == 'zxc' &&
34
34
  Expr.containsIgnoreCase(FIELD, 'abc') &&
35
- Expr.dateIsEqual(DATE, '20231110') &&
36
35
  Expr.dateIsToday(DATE) &&
37
36
  Expr.dateTimeIsGreaterEqual(DATETIME, '20231110-03:23') &&
38
37
  Expr.dateTimeIsLessEqual(DATETIME, '20231115-03:23') &&
@@ -45,7 +44,6 @@ into
45
44
  {
46
45
  foo: 'bar',
47
46
  asd: 'zxc',
48
- DATE: '20231110',
49
47
  FIELD: '*abc*',
50
48
  DATE_FROM: '20231110-00:00',
51
49
  DATE_TO: '20231111-00:00',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-comms",
3
3
  "description": "Genesis Foundation UI Comms",
4
- "version": "14.259.1-alpha-7046515.0",
4
+ "version": "14.259.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -75,23 +75,23 @@
75
75
  }
76
76
  },
77
77
  "devDependencies": {
78
- "@genesislcap/foundation-testing": "14.259.1-alpha-7046515.0",
79
- "@genesislcap/genx": "14.259.1-alpha-7046515.0",
80
- "@genesislcap/rollup-builder": "14.259.1-alpha-7046515.0",
81
- "@genesislcap/ts-builder": "14.259.1-alpha-7046515.0",
82
- "@genesislcap/uvu-playwright-builder": "14.259.1-alpha-7046515.0",
83
- "@genesislcap/vite-builder": "14.259.1-alpha-7046515.0",
84
- "@genesislcap/webpack-builder": "14.259.1-alpha-7046515.0",
78
+ "@genesislcap/foundation-testing": "14.259.1",
79
+ "@genesislcap/genx": "14.259.1",
80
+ "@genesislcap/rollup-builder": "14.259.1",
81
+ "@genesislcap/ts-builder": "14.259.1",
82
+ "@genesislcap/uvu-playwright-builder": "14.259.1",
83
+ "@genesislcap/vite-builder": "14.259.1",
84
+ "@genesislcap/webpack-builder": "14.259.1",
85
85
  "@types/js-cookie": "^3.0.2",
86
86
  "@types/json-schema": "^7.0.11",
87
87
  "@types/webappsec-credential-management": "^0.6.2",
88
88
  "rimraf": "^5.0.0"
89
89
  },
90
90
  "dependencies": {
91
- "@genesislcap/foundation-broadcast-channel": "14.259.1-alpha-7046515.0",
92
- "@genesislcap/foundation-logger": "14.259.1-alpha-7046515.0",
93
- "@genesislcap/foundation-user": "14.259.1-alpha-7046515.0",
94
- "@genesislcap/foundation-utils": "14.259.1-alpha-7046515.0",
91
+ "@genesislcap/foundation-broadcast-channel": "14.259.1",
92
+ "@genesislcap/foundation-logger": "14.259.1",
93
+ "@genesislcap/foundation-user": "14.259.1",
94
+ "@genesislcap/foundation-utils": "14.259.1",
95
95
  "@microsoft/fast-element": "1.14.0",
96
96
  "@microsoft/fast-foundation": "2.49.6",
97
97
  "analytics": "^0.8.0",
@@ -111,5 +111,5 @@
111
111
  "publishConfig": {
112
112
  "access": "public"
113
113
  },
114
- "gitHead": "97ec6659c386f65924855db3e63c382095e1def0"
114
+ "gitHead": "1812b4f2291e77e2d13d68afed776f4aeae59879"
115
115
  }