@genesislcap/foundation-events 14.70.2 → 14.70.4-es2021.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.
package/dist/esm/types.js CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * @public
3
3
  */
4
- const isEmitOptions = (candidate) => (candidate === null || candidate === void 0 ? void 0 : candidate.hasOwnProperty('bubbles')) ||
5
- (candidate === null || candidate === void 0 ? void 0 : candidate.hasOwnProperty('cancelable')) ||
6
- (candidate === null || candidate === void 0 ? void 0 : candidate.hasOwnProperty('composed'));
4
+ const isEmitOptions = (candidate) => candidate?.hasOwnProperty('bubbles') ||
5
+ candidate?.hasOwnProperty('cancelable') ||
6
+ candidate?.hasOwnProperty('composed');
7
7
  /**
8
8
  * @public
9
9
  */
@@ -30,7 +30,7 @@ export const targetValue = (ctx) => ctx.event.target.value;
30
30
  /**
31
31
  * @public
32
32
  */
33
- export const targetFirstSelectedValue = (ctx) => { var _a, _b; return (_b = (_a = ctx.event.target) === null || _a === void 0 ? void 0 : _a.firstSelectedOption) === null || _b === void 0 ? void 0 : _b.value; };
33
+ export const targetFirstSelectedValue = (ctx) => ctx.event.target?.firstSelectedOption?.value;
34
34
  /**
35
35
  * @internal
36
36
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-events",
3
3
  "description": "Genesis Foundation Events",
4
- "version": "14.70.2",
4
+ "version": "14.70.4-es2021.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -40,12 +40,12 @@
40
40
  "test:debug": "genx test --debug"
41
41
  },
42
42
  "devDependencies": {
43
- "@genesislcap/foundation-testing": "14.70.2",
44
- "@genesislcap/genx": "14.70.2",
43
+ "@genesislcap/foundation-testing": "14.70.4-es2021.1",
44
+ "@genesislcap/genx": "14.70.4-es2021.1",
45
45
  "rimraf": "^3.0.2"
46
46
  },
47
47
  "dependencies": {
48
- "@genesislcap/foundation-utils": "14.70.2",
48
+ "@genesislcap/foundation-utils": "14.70.4-es2021.1",
49
49
  "@microsoft/fast-element": "^1.7.0",
50
50
  "@microsoft/fast-foundation": "^2.33.2",
51
51
  "tslib": "^2.3.1"
@@ -58,5 +58,5 @@
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
- "gitHead": "efc54c4f5968451219d8ab6da8a0c73cb054c2b7"
61
+ "gitHead": "5d0d8ee36cfd068cfc6211033b326d0a978cfc05"
62
62
  }