@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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
package/dist/esm/main/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
38
|
-
"@genesislcap/foundation-zero": "14.70.
|
|
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": "
|
|
51
|
+
"gitHead": "5d0d8ee36cfd068cfc6211033b326d0a978cfc05"
|
|
52
52
|
}
|