@genesislcap/foundation-progress-overlay 14.70.3 → 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.
@@ -1,4 +1,3 @@
1
- import { __awaiter } from "tslib";
2
1
  import { fastProgress, provideFASTDesignSystem } from '@microsoft/fast-components';
3
2
  import { logger } from '../utils';
4
3
  provideFASTDesignSystem().register(fastProgress());
@@ -18,29 +17,25 @@ function loadZeroFallback() {
18
17
  /**
19
18
  * Granular
20
19
  */
21
- function loadZeroDesignSystem() {
22
- return __awaiter(this, void 0, void 0, function* () {
23
- let type = ResourceType.REMOTE;
24
- try {
25
- // @ts-ignore
26
- return yield import('foundationZero/ZeroDesignSystem');
27
- }
28
- catch (e) {
29
- type = ResourceType.LOCAL;
30
- return yield loadZeroFallback();
31
- }
32
- finally {
33
- logger.debug(`Using '${type}' version of foundationZero/ZeroDesignSystem`);
34
- }
35
- });
20
+ async function loadZeroDesignSystem() {
21
+ let type = ResourceType.REMOTE;
22
+ try {
23
+ // @ts-ignore
24
+ return await import('foundationZero/ZeroDesignSystem');
25
+ }
26
+ catch (e) {
27
+ type = ResourceType.LOCAL;
28
+ return await loadZeroFallback();
29
+ }
30
+ finally {
31
+ logger.debug(`Using '${type}' version of foundationZero/ZeroDesignSystem`);
32
+ }
36
33
  }
37
- function loadRemotes(options) {
38
- return __awaiter(this, void 0, void 0, function* () {
39
- const { registerZeroDesignSystem } = yield loadZeroDesignSystem();
40
- return {
41
- ZeroDesignSystem: registerZeroDesignSystem(),
42
- };
43
- });
34
+ async function loadRemotes(options) {
35
+ const { registerZeroDesignSystem } = await loadZeroDesignSystem();
36
+ return {
37
+ ZeroDesignSystem: registerZeroDesignSystem(),
38
+ };
44
39
  }
45
40
  /**
46
41
  * Ensure tree shaking doesn't remove these
@@ -1,4 +1,4 @@
1
- import { __awaiter, __decorate } from "tslib";
1
+ import { __decorate } from "tslib";
2
2
  import { PendingState } from '@genesislcap/foundation-utils';
3
3
  import { FASTElement, customElement, observable } from '@microsoft/fast-element';
4
4
  import * as Components from '../components';
@@ -12,10 +12,8 @@ let MainApplication = class MainApplication extends PendingState(FASTElement) {
12
12
  logger.debug(`${name} is now connected to the DOM`);
13
13
  this.loadRemotes();
14
14
  }
15
- loadRemotes() {
16
- return __awaiter(this, void 0, void 0, function* () {
17
- const remoteComponents = yield Components.loadRemotes({});
18
- });
15
+ async loadRemotes() {
16
+ const remoteComponents = await Components.loadRemotes({});
19
17
  }
20
18
  providerChanged() {
21
19
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-progress-overlay",
3
3
  "description": "Genesis Foundation Progress Overlay",
4
- "version": "14.70.3",
4
+ "version": "14.70.4-es2021.1",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/tbd.js",
7
7
  "config": {
@@ -30,12 +30,12 @@
30
30
  "serve": "genx serve"
31
31
  },
32
32
  "devDependencies": {
33
- "@genesislcap/genx": "14.70.3",
33
+ "@genesislcap/genx": "14.70.4-es2021.1",
34
34
  "rimraf": "^3.0.2"
35
35
  },
36
36
  "dependencies": {
37
- "@genesislcap/foundation-utils": "14.70.3",
38
- "@genesislcap/foundation-zero": "14.70.3",
37
+ "@genesislcap/foundation-utils": "14.70.4-es2021.1",
38
+ "@genesislcap/foundation-zero": "14.70.4-es2021.1",
39
39
  "@microsoft/fast-components": "^2.21.3",
40
40
  "@microsoft/fast-element": "^1.7.0",
41
41
  "tslib": "^2.3.1"
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "2bd15e0c3928fa0fbfa60ccb7e4f89e956afda73"
51
+ "gitHead": "5d0d8ee36cfd068cfc6211033b326d0a978cfc05"
52
52
  }