@genesislcap/foundation-entity-management 14.219.2-alpha-8e7b8ad.0 → 14.219.2
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.
|
@@ -1423,151 +1423,6 @@
|
|
|
1423
1423
|
}
|
|
1424
1424
|
]
|
|
1425
1425
|
},
|
|
1426
|
-
{
|
|
1427
|
-
"kind": "javascript-module",
|
|
1428
|
-
"path": "src/main/index.ts",
|
|
1429
|
-
"declarations": [],
|
|
1430
|
-
"exports": [
|
|
1431
|
-
{
|
|
1432
|
-
"kind": "js",
|
|
1433
|
-
"name": "*",
|
|
1434
|
-
"declaration": {
|
|
1435
|
-
"name": "*",
|
|
1436
|
-
"package": "./main.template"
|
|
1437
|
-
}
|
|
1438
|
-
},
|
|
1439
|
-
{
|
|
1440
|
-
"kind": "js",
|
|
1441
|
-
"name": "*",
|
|
1442
|
-
"declaration": {
|
|
1443
|
-
"name": "*",
|
|
1444
|
-
"package": "./main"
|
|
1445
|
-
}
|
|
1446
|
-
}
|
|
1447
|
-
]
|
|
1448
|
-
},
|
|
1449
|
-
{
|
|
1450
|
-
"kind": "javascript-module",
|
|
1451
|
-
"path": "src/main/main.styles.ts",
|
|
1452
|
-
"declarations": [
|
|
1453
|
-
{
|
|
1454
|
-
"kind": "variable",
|
|
1455
|
-
"name": "MainStyles",
|
|
1456
|
-
"default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
|
|
1457
|
-
}
|
|
1458
|
-
],
|
|
1459
|
-
"exports": [
|
|
1460
|
-
{
|
|
1461
|
-
"kind": "js",
|
|
1462
|
-
"name": "MainStyles",
|
|
1463
|
-
"declaration": {
|
|
1464
|
-
"name": "MainStyles",
|
|
1465
|
-
"module": "src/main/main.styles.ts"
|
|
1466
|
-
}
|
|
1467
|
-
}
|
|
1468
|
-
]
|
|
1469
|
-
},
|
|
1470
|
-
{
|
|
1471
|
-
"kind": "javascript-module",
|
|
1472
|
-
"path": "src/main/main.template.ts",
|
|
1473
|
-
"declarations": [],
|
|
1474
|
-
"exports": []
|
|
1475
|
-
},
|
|
1476
|
-
{
|
|
1477
|
-
"kind": "javascript-module",
|
|
1478
|
-
"path": "src/main/main.ts",
|
|
1479
|
-
"declarations": [
|
|
1480
|
-
{
|
|
1481
|
-
"kind": "class",
|
|
1482
|
-
"description": "",
|
|
1483
|
-
"name": "MainApplication",
|
|
1484
|
-
"members": [
|
|
1485
|
-
{
|
|
1486
|
-
"kind": "field",
|
|
1487
|
-
"name": "config",
|
|
1488
|
-
"type": {
|
|
1489
|
-
"text": "MainRouterConfig"
|
|
1490
|
-
}
|
|
1491
|
-
},
|
|
1492
|
-
{
|
|
1493
|
-
"kind": "field",
|
|
1494
|
-
"name": "connect",
|
|
1495
|
-
"type": {
|
|
1496
|
-
"text": "Connect"
|
|
1497
|
-
}
|
|
1498
|
-
},
|
|
1499
|
-
{
|
|
1500
|
-
"kind": "field",
|
|
1501
|
-
"name": "session",
|
|
1502
|
-
"type": {
|
|
1503
|
-
"text": "Session"
|
|
1504
|
-
}
|
|
1505
|
-
},
|
|
1506
|
-
{
|
|
1507
|
-
"kind": "field",
|
|
1508
|
-
"name": "container",
|
|
1509
|
-
"type": {
|
|
1510
|
-
"text": "Container"
|
|
1511
|
-
}
|
|
1512
|
-
},
|
|
1513
|
-
{
|
|
1514
|
-
"kind": "field",
|
|
1515
|
-
"name": "provider",
|
|
1516
|
-
"type": {
|
|
1517
|
-
"text": "HTMLElement"
|
|
1518
|
-
}
|
|
1519
|
-
},
|
|
1520
|
-
{
|
|
1521
|
-
"kind": "field",
|
|
1522
|
-
"name": "ready",
|
|
1523
|
-
"type": {
|
|
1524
|
-
"text": "boolean"
|
|
1525
|
-
},
|
|
1526
|
-
"default": "false"
|
|
1527
|
-
},
|
|
1528
|
-
{
|
|
1529
|
-
"kind": "method",
|
|
1530
|
-
"name": "onLuminanceToggle"
|
|
1531
|
-
},
|
|
1532
|
-
{
|
|
1533
|
-
"kind": "method",
|
|
1534
|
-
"name": "loadRemotes"
|
|
1535
|
-
},
|
|
1536
|
-
{
|
|
1537
|
-
"kind": "method",
|
|
1538
|
-
"name": "selectTemplate"
|
|
1539
|
-
},
|
|
1540
|
-
{
|
|
1541
|
-
"kind": "method",
|
|
1542
|
-
"name": "registerDIDependencies",
|
|
1543
|
-
"privacy": "private"
|
|
1544
|
-
}
|
|
1545
|
-
],
|
|
1546
|
-
"superclass": {
|
|
1547
|
-
"name": "FASTElement",
|
|
1548
|
-
"package": "@microsoft/fast-element"
|
|
1549
|
-
},
|
|
1550
|
-
"customElement": true
|
|
1551
|
-
}
|
|
1552
|
-
],
|
|
1553
|
-
"exports": [
|
|
1554
|
-
{
|
|
1555
|
-
"kind": "js",
|
|
1556
|
-
"name": "MainApplication",
|
|
1557
|
-
"declaration": {
|
|
1558
|
-
"name": "MainApplication",
|
|
1559
|
-
"module": "src/main/main.ts"
|
|
1560
|
-
}
|
|
1561
|
-
},
|
|
1562
|
-
{
|
|
1563
|
-
"kind": "custom-element-definition",
|
|
1564
|
-
"declaration": {
|
|
1565
|
-
"name": "MainApplication",
|
|
1566
|
-
"module": "src/main/main.ts"
|
|
1567
|
-
}
|
|
1568
|
-
}
|
|
1569
|
-
]
|
|
1570
|
-
},
|
|
1571
1426
|
{
|
|
1572
1427
|
"kind": "javascript-module",
|
|
1573
1428
|
"path": "src/layouts/default.ts",
|
|
@@ -2581,6 +2436,151 @@
|
|
|
2581
2436
|
}
|
|
2582
2437
|
]
|
|
2583
2438
|
},
|
|
2439
|
+
{
|
|
2440
|
+
"kind": "javascript-module",
|
|
2441
|
+
"path": "src/main/index.ts",
|
|
2442
|
+
"declarations": [],
|
|
2443
|
+
"exports": [
|
|
2444
|
+
{
|
|
2445
|
+
"kind": "js",
|
|
2446
|
+
"name": "*",
|
|
2447
|
+
"declaration": {
|
|
2448
|
+
"name": "*",
|
|
2449
|
+
"package": "./main.template"
|
|
2450
|
+
}
|
|
2451
|
+
},
|
|
2452
|
+
{
|
|
2453
|
+
"kind": "js",
|
|
2454
|
+
"name": "*",
|
|
2455
|
+
"declaration": {
|
|
2456
|
+
"name": "*",
|
|
2457
|
+
"package": "./main"
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
]
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
"kind": "javascript-module",
|
|
2464
|
+
"path": "src/main/main.styles.ts",
|
|
2465
|
+
"declarations": [
|
|
2466
|
+
{
|
|
2467
|
+
"kind": "variable",
|
|
2468
|
+
"name": "MainStyles",
|
|
2469
|
+
"default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
|
|
2470
|
+
}
|
|
2471
|
+
],
|
|
2472
|
+
"exports": [
|
|
2473
|
+
{
|
|
2474
|
+
"kind": "js",
|
|
2475
|
+
"name": "MainStyles",
|
|
2476
|
+
"declaration": {
|
|
2477
|
+
"name": "MainStyles",
|
|
2478
|
+
"module": "src/main/main.styles.ts"
|
|
2479
|
+
}
|
|
2480
|
+
}
|
|
2481
|
+
]
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
"kind": "javascript-module",
|
|
2485
|
+
"path": "src/main/main.template.ts",
|
|
2486
|
+
"declarations": [],
|
|
2487
|
+
"exports": []
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
"kind": "javascript-module",
|
|
2491
|
+
"path": "src/main/main.ts",
|
|
2492
|
+
"declarations": [
|
|
2493
|
+
{
|
|
2494
|
+
"kind": "class",
|
|
2495
|
+
"description": "",
|
|
2496
|
+
"name": "MainApplication",
|
|
2497
|
+
"members": [
|
|
2498
|
+
{
|
|
2499
|
+
"kind": "field",
|
|
2500
|
+
"name": "config",
|
|
2501
|
+
"type": {
|
|
2502
|
+
"text": "MainRouterConfig"
|
|
2503
|
+
}
|
|
2504
|
+
},
|
|
2505
|
+
{
|
|
2506
|
+
"kind": "field",
|
|
2507
|
+
"name": "connect",
|
|
2508
|
+
"type": {
|
|
2509
|
+
"text": "Connect"
|
|
2510
|
+
}
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
"kind": "field",
|
|
2514
|
+
"name": "session",
|
|
2515
|
+
"type": {
|
|
2516
|
+
"text": "Session"
|
|
2517
|
+
}
|
|
2518
|
+
},
|
|
2519
|
+
{
|
|
2520
|
+
"kind": "field",
|
|
2521
|
+
"name": "container",
|
|
2522
|
+
"type": {
|
|
2523
|
+
"text": "Container"
|
|
2524
|
+
}
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
"kind": "field",
|
|
2528
|
+
"name": "provider",
|
|
2529
|
+
"type": {
|
|
2530
|
+
"text": "HTMLElement"
|
|
2531
|
+
}
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
"kind": "field",
|
|
2535
|
+
"name": "ready",
|
|
2536
|
+
"type": {
|
|
2537
|
+
"text": "boolean"
|
|
2538
|
+
},
|
|
2539
|
+
"default": "false"
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
"kind": "method",
|
|
2543
|
+
"name": "onLuminanceToggle"
|
|
2544
|
+
},
|
|
2545
|
+
{
|
|
2546
|
+
"kind": "method",
|
|
2547
|
+
"name": "loadRemotes"
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
"kind": "method",
|
|
2551
|
+
"name": "selectTemplate"
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
"kind": "method",
|
|
2555
|
+
"name": "registerDIDependencies",
|
|
2556
|
+
"privacy": "private"
|
|
2557
|
+
}
|
|
2558
|
+
],
|
|
2559
|
+
"superclass": {
|
|
2560
|
+
"name": "FASTElement",
|
|
2561
|
+
"package": "@microsoft/fast-element"
|
|
2562
|
+
},
|
|
2563
|
+
"customElement": true
|
|
2564
|
+
}
|
|
2565
|
+
],
|
|
2566
|
+
"exports": [
|
|
2567
|
+
{
|
|
2568
|
+
"kind": "js",
|
|
2569
|
+
"name": "MainApplication",
|
|
2570
|
+
"declaration": {
|
|
2571
|
+
"name": "MainApplication",
|
|
2572
|
+
"module": "src/main/main.ts"
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2575
|
+
{
|
|
2576
|
+
"kind": "custom-element-definition",
|
|
2577
|
+
"declaration": {
|
|
2578
|
+
"name": "MainApplication",
|
|
2579
|
+
"module": "src/main/main.ts"
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
]
|
|
2583
|
+
},
|
|
2584
2584
|
{
|
|
2585
2585
|
"kind": "javascript-module",
|
|
2586
2586
|
"path": "src/users/users.template.ts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":"AAwCA,wBAAsB,WAAW;;GAKhC"}
|
|
@@ -2,18 +2,43 @@ import { __awaiter } from "tslib";
|
|
|
2
2
|
import { FoundationRouter } from '@genesislcap/foundation-ui';
|
|
3
3
|
import { zeroGridComponents } from '@genesislcap/foundation-zero-grid-pro';
|
|
4
4
|
import { allComponents, provideFASTDesignSystem } from '@microsoft/fast-components';
|
|
5
|
+
import { logger } from '../utils';
|
|
5
6
|
/**
|
|
6
7
|
* Some of the login templates are still using fast-components directly
|
|
7
8
|
*/
|
|
8
9
|
provideFASTDesignSystem().register(allComponents);
|
|
10
|
+
var ResourceType;
|
|
11
|
+
(function (ResourceType) {
|
|
12
|
+
ResourceType["LOCAL"] = "LOCAL";
|
|
13
|
+
ResourceType["REMOTE"] = "REMOTE";
|
|
14
|
+
})(ResourceType || (ResourceType = {}));
|
|
9
15
|
/**
|
|
10
16
|
* TODO: Think about sharing import functions across micro frontends.
|
|
11
17
|
*/
|
|
12
|
-
function
|
|
18
|
+
function loadZeroFallback() {
|
|
13
19
|
return import(
|
|
14
20
|
/* webpackMode: "lazy" */
|
|
15
21
|
'@genesislcap/foundation-zero');
|
|
16
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Granular
|
|
25
|
+
*/
|
|
26
|
+
function loadZeroDesignSystem() {
|
|
27
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
let type = ResourceType.REMOTE;
|
|
29
|
+
try {
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
return yield import('foundationZero/ZeroDesignSystem');
|
|
32
|
+
}
|
|
33
|
+
catch (e) {
|
|
34
|
+
type = ResourceType.LOCAL;
|
|
35
|
+
return yield loadZeroFallback();
|
|
36
|
+
}
|
|
37
|
+
finally {
|
|
38
|
+
logger.debug(`Using '${type}' version of foundationZero/ZeroDesignSystem`);
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}
|
|
17
42
|
export function loadRemotes() {
|
|
18
43
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19
44
|
const { provideDesignSystem, baseComponents } = yield loadZeroDesignSystem();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-entity-management",
|
|
3
3
|
"description": "Genesis Foundation Entity Management",
|
|
4
|
-
"version": "14.219.2
|
|
4
|
+
"version": "14.219.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -52,29 +52,29 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@genesislcap/foundation-testing": "14.219.2
|
|
56
|
-
"@genesislcap/genx": "14.219.2
|
|
57
|
-
"@genesislcap/rollup-builder": "14.219.2
|
|
58
|
-
"@genesislcap/ts-builder": "14.219.2
|
|
59
|
-
"@genesislcap/uvu-playwright-builder": "14.219.2
|
|
60
|
-
"@genesislcap/vite-builder": "14.219.2
|
|
61
|
-
"@genesislcap/webpack-builder": "14.219.2
|
|
55
|
+
"@genesislcap/foundation-testing": "14.219.2",
|
|
56
|
+
"@genesislcap/genx": "14.219.2",
|
|
57
|
+
"@genesislcap/rollup-builder": "14.219.2",
|
|
58
|
+
"@genesislcap/ts-builder": "14.219.2",
|
|
59
|
+
"@genesislcap/uvu-playwright-builder": "14.219.2",
|
|
60
|
+
"@genesislcap/vite-builder": "14.219.2",
|
|
61
|
+
"@genesislcap/webpack-builder": "14.219.2",
|
|
62
62
|
"rimraf": "^5.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@ag-grid-community/core": "29.2.0",
|
|
66
|
-
"@genesislcap/foundation-comms": "14.219.2
|
|
67
|
-
"@genesislcap/foundation-errors": "14.219.2
|
|
68
|
-
"@genesislcap/foundation-events": "14.219.2
|
|
69
|
-
"@genesislcap/foundation-forms": "14.219.2
|
|
70
|
-
"@genesislcap/foundation-logger": "14.219.2
|
|
71
|
-
"@genesislcap/foundation-login": "14.219.2
|
|
72
|
-
"@genesislcap/foundation-notifications": "14.219.2
|
|
73
|
-
"@genesislcap/foundation-ui": "14.219.2
|
|
74
|
-
"@genesislcap/foundation-utils": "14.219.2
|
|
75
|
-
"@genesislcap/foundation-zero": "14.219.2
|
|
76
|
-
"@genesislcap/foundation-zero-grid-pro": "14.219.2
|
|
77
|
-
"@genesislcap/grid-pro": "14.219.2
|
|
66
|
+
"@genesislcap/foundation-comms": "14.219.2",
|
|
67
|
+
"@genesislcap/foundation-errors": "14.219.2",
|
|
68
|
+
"@genesislcap/foundation-events": "14.219.2",
|
|
69
|
+
"@genesislcap/foundation-forms": "14.219.2",
|
|
70
|
+
"@genesislcap/foundation-logger": "14.219.2",
|
|
71
|
+
"@genesislcap/foundation-login": "14.219.2",
|
|
72
|
+
"@genesislcap/foundation-notifications": "14.219.2",
|
|
73
|
+
"@genesislcap/foundation-ui": "14.219.2",
|
|
74
|
+
"@genesislcap/foundation-utils": "14.219.2",
|
|
75
|
+
"@genesislcap/foundation-zero": "14.219.2",
|
|
76
|
+
"@genesislcap/foundation-zero-grid-pro": "14.219.2",
|
|
77
|
+
"@genesislcap/grid-pro": "14.219.2",
|
|
78
78
|
"@microsoft/fast-components": "^2.30.6",
|
|
79
79
|
"@microsoft/fast-element": "^1.12.0",
|
|
80
80
|
"@microsoft/fast-foundation": "2.49.6",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"access": "public"
|
|
92
92
|
},
|
|
93
93
|
"customElements": "dist/custom-elements.json",
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "91bfe243c47884d0a7bd6df59ae1fea0736b79cb"
|
|
95
95
|
}
|