@lwrjs/everywhere 0.13.0-alpha.2 → 0.13.0-alpha.21
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/build/__generated_site_amd_modules__/1/application/amd/l/en-US/ai/amd-bootstrap/configuration/ci/-/-/s/7cab5b5abf0ca3e4441d73f126db9867/config.js +12 -0
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/@lwrjs/app-service/amd-bootstrap/module/amd/v/0_13_0-alpha_21/s/272183c0b6e02561b7c96a1b23473837/@lwrjs_app-service_amd-bootstrap_module_amd.js +14 -0
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwc/v/{6_6_1/s/eeee3bb1f188f86a6a28e9d5c983706c → 7_0_0/s/ed008935d51f911e7bc67e4820765193}/lwc.js +193 -72
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/everywhereAmd/v/{0_13_0-alpha_2 → 0_13_0-alpha_21}/s/cb931ebef2b89dcf8ab51456e3a68864/lwr_everywhereAmd.js +3 -3
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/init/v/{0_13_0-alpha_2/s/f30361ad8ff7af505bf4d465c8499181 → 0_13_0-alpha_21/s/d7186d4fbbc58762dab0d51cc1f0afb8}/lwr_init.js +21 -25
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/loader/v/{0_13_0-alpha_2/s/e307ee0231427b79178dc8789d2591fc → 0_13_0-alpha_21/s/12dfed2ad9e2186068113cd7fbc9c605}/lwr_loader.js +17 -10
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/metrics/v/{0_13_0-alpha_2/s/274c8343f810353bbad085a79709395f → 0_13_0-alpha_21/s/fb8c5dd340c69fdf7ded52d3eba633b9}/lwr_metrics.js +2 -2
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/preInit/v/{0_13_0-alpha_2 → 0_13_0-alpha_21}/s/ec0fad0e38a96bb0b88c9f4553460347/lwr_preInit.js +1 -1
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/profiler/v/{0_13_0-alpha_2 → 0_13_0-alpha_21}/s/a152b8d35f12ca1b5147c5cd1ee155fb/lwr_profiler.js +1 -1
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/vault/v/{0_13_0-alpha_2 → 0_13_0-alpha_21}/s/c92abd8c1fec2d7eff62e4b097abbe14/lwr_vault.js +1 -1
- package/build/__generated_site_amd_modules__/1/resource/amd/lwr-error-shim.js/v/0_13_0-alpha_21/lwr-error-shim.js +8 -0
- package/build/__generated_site_amd_modules__/1/resource/amd/lwr-loader-shim.bundle.js/v/{0_13_0-alpha_2 → 0_13_0-alpha_21}/lwr-loader-shim.bundle.js +45 -23
- package/build/amd-client.js +1 -1
- package/build/assets/amd/lwr-everywhere-debug.js +25 -18
- package/build/assets/amd/lwr-everywhere-min.js +2 -2
- package/build/assets/amd/lwr-everywhere.js +25 -18
- package/build/assets/core/lwr-everywhere-debug.js +21 -14
- package/build/assets/core/lwr-everywhere-min.js +2 -2
- package/build/assets/core/lwr-everywhere.js +21 -14
- package/build/assets/esm/lwr-everywhere-debug.js +1 -1
- package/build/assets/esm/lwr-everywhere-min.js +1 -1
- package/build/assets/esm/lwr-everywhere.js +1 -1
- package/build/esm-client.js +1 -1
- package/build/generate.d.ts +1 -1
- package/build/modules/lwr/everywhere/everywhere.js +1 -1
- package/build/modules/lwr/host/host.js +1 -1
- package/build/modules/lwr/setupLDS/setupLDS.js +1 -1
- package/package.json +10 -10
- package/src/amd-client.ts +2 -2
- package/src/esm-client.ts +2 -2
- package/src/generate.ts +1 -1
- package/build/__generated_site_amd_modules__/1/application/amd/l/en-US/ai/amd-bootstrap/configuration/ci/-/-/s/86e5b35c91b01b4b7df42aded40a3e5d/config.js +0 -12
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/@lwrjs/app-service/amd-bootstrap/module/amd/v/0_13_0-alpha_2/s/8bce578258518655194bd71d1d72aad5/@lwrjs_app-service_amd-bootstrap_module_amd.js +0 -14
- package/build/__generated_site_amd_modules__/1/resource/amd/lwr-error-shim.js/v/0_13_0-alpha_2/lwr-error-shim.js +0 -8
|
@@ -52,7 +52,7 @@ function getConfiguration(options) {
|
|
|
52
52
|
* SPDX-License-Identifier: MIT
|
|
53
53
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
54
54
|
*/
|
|
55
|
-
/* LWR Module Loader v0.13.0-alpha.
|
|
55
|
+
/* LWR Module Loader v0.13.0-alpha.21 */
|
|
56
56
|
const templateRegex = /\{([0-9]+)\}/g;
|
|
57
57
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
58
58
|
function templateString(template, args) {
|
|
@@ -181,6 +181,11 @@ const EXPORTER_ERROR = Object.freeze({
|
|
|
181
181
|
level: 0,
|
|
182
182
|
message: 'Error evaluating module "{0}", error was "{1}"',
|
|
183
183
|
});
|
|
184
|
+
const UNRESOLVEABLE_MAPPING_ERROR = Object.freeze({
|
|
185
|
+
code: 3022,
|
|
186
|
+
level: 0,
|
|
187
|
+
message: 'Unexpected undefined URI resolving mapping for "{0}"',
|
|
188
|
+
});
|
|
184
189
|
|
|
185
190
|
/* importMap errors */
|
|
186
191
|
Object.freeze({
|
|
@@ -377,7 +382,7 @@ if (hasDocument) {
|
|
|
377
382
|
// Loader: modules
|
|
378
383
|
const LOADER_PREFIX = 'lwr.loader.';
|
|
379
384
|
const MODULE_DEFINE = `${LOADER_PREFIX}module.define`;
|
|
380
|
-
const MODULE_DYNAMIC_LOAD = `${LOADER_PREFIX}
|
|
385
|
+
const MODULE_DYNAMIC_LOAD = `${LOADER_PREFIX}module.dynamicLoad`;
|
|
381
386
|
const MODULE_FETCH = `${LOADER_PREFIX}module.fetch`;
|
|
382
387
|
const MODULE_ERROR = `${LOADER_PREFIX}module.error`;
|
|
383
388
|
|
|
@@ -431,7 +436,7 @@ class ImportMetadataResolver {
|
|
|
431
436
|
}
|
|
432
437
|
|
|
433
438
|
getBaseUrl() {
|
|
434
|
-
return this.config.baseUrl;
|
|
439
|
+
return this.config.baseUrl || '';
|
|
435
440
|
}
|
|
436
441
|
|
|
437
442
|
registerImportMappings(newImportMetadata, rootSpecifiers) {
|
|
@@ -472,8 +477,8 @@ class ImportMetadataResolver {
|
|
|
472
477
|
|
|
473
478
|
// Get URL from the local cache or return undefiend
|
|
474
479
|
getURI(specifier) {
|
|
475
|
-
return this.importURICache.has(specifier)
|
|
476
|
-
? resolveUrl(this.importURICache.get(specifier).uri, this.getBaseUrl())
|
|
480
|
+
return this.importURICache && this.importURICache.has(specifier)
|
|
481
|
+
? resolveUrl((this.importURICache.get(specifier) ).uri, this.getBaseUrl())
|
|
477
482
|
: undefined;
|
|
478
483
|
}
|
|
479
484
|
|
|
@@ -574,6 +579,9 @@ class ImportMetadataResolver {
|
|
|
574
579
|
// TODO For module invalidation with bundles it is recommended we have to send back all loaded root specified
|
|
575
580
|
// to ensure we detect all conflicts.
|
|
576
581
|
const uri = resolveUrl(this.buildMappingUrl(specifier), this.getBaseUrl());
|
|
582
|
+
if (!uri) {
|
|
583
|
+
throw new LoaderError(UNRESOLVEABLE_MAPPING_ERROR, [specifier]);
|
|
584
|
+
}
|
|
577
585
|
return globalThis.fetch(uri).then((res) => {
|
|
578
586
|
if (!res.ok) {
|
|
579
587
|
this.config.profiler.logOperationStart({ id: MAPPINGS_ERROR, specifier });
|
|
@@ -694,7 +702,7 @@ try {
|
|
|
694
702
|
// swallow
|
|
695
703
|
}
|
|
696
704
|
const trusted = createPolicy('trusted', policyOptions);
|
|
697
|
-
/*! version: 0.22.
|
|
705
|
+
/*! version: 0.22.3 */
|
|
698
706
|
|
|
699
707
|
/* global console,process */
|
|
700
708
|
|
|
@@ -896,7 +904,7 @@ class ModuleRegistry {
|
|
|
896
904
|
// eslint-disable-next-line no-await-in-loop
|
|
897
905
|
result = isResponseAPromise(response) ? await response : response;
|
|
898
906
|
}
|
|
899
|
-
if (!this.isValidResolveResponse(result)) {
|
|
907
|
+
if (!this.isValidResolveResponse(result )) {
|
|
900
908
|
throw new LoaderError(INVALID_LOADER_SERVICE_RESPONSE);
|
|
901
909
|
}
|
|
902
910
|
|
|
@@ -1027,7 +1035,7 @@ class ModuleRegistry {
|
|
|
1027
1035
|
// eslint-disable-next-line lwr/no-unguarded-apis, no-undef
|
|
1028
1036
|
timer = setTimeout(() => {
|
|
1029
1037
|
reject(new LoaderError(MODULE_LOAD_TIMEOUT, [id]));
|
|
1030
|
-
}, MODULE_LOAD_TIMEOUT_TIMER);
|
|
1038
|
+
}, MODULE_LOAD_TIMEOUT_TIMER) ;
|
|
1031
1039
|
}).finally(() => {
|
|
1032
1040
|
// eslint-disable-next-line lwr/no-unguarded-apis, no-undef
|
|
1033
1041
|
clearTimeout(timer);
|
|
@@ -1465,7 +1473,7 @@ class Loader {
|
|
|
1465
1473
|
const mappingEndpoint = config.endpoints ? config.endpoints.uris.mapping : undefined;
|
|
1466
1474
|
let profiler = config.profiler;
|
|
1467
1475
|
|
|
1468
|
-
if (!mappingEndpoint) {
|
|
1476
|
+
if (!mappingEndpoint || !config.endpoints) {
|
|
1469
1477
|
throw new LoaderError(NO_MAPPING_URL);
|
|
1470
1478
|
}
|
|
1471
1479
|
|
|
@@ -1510,8 +1518,7 @@ class Loader {
|
|
|
1510
1518
|
this.services = Object.freeze({
|
|
1511
1519
|
addLoaderPlugin: this.registry.addLoaderPlugin.bind(this.registry),
|
|
1512
1520
|
handleStaleModule: this.registry.registerHandleStaleModuleHook.bind(this.registry),
|
|
1513
|
-
appMetadata: config.appMetadata,
|
|
1514
|
-
serverData: config.serverData || {},
|
|
1521
|
+
appMetadata: config.appMetadata ,
|
|
1515
1522
|
});
|
|
1516
1523
|
}
|
|
1517
1524
|
|
|
@@ -1608,12 +1615,12 @@ await loader.registerImportMappings({ imports, index }, [bootstrapModule]);
|
|
|
1608
1615
|
(globalThis ).LWR = Object.freeze({ define: loader.define.bind(loader) });
|
|
1609
1616
|
|
|
1610
1617
|
// Define preload modules (ie: ABS, vault, etc) BEFORE loading them
|
|
1611
|
-
LWR.define('lwr/everywhereAmd/v/0_0_1', ['exports', 'lwr/vault/v/0_0_1'], (function (exports,
|
|
1618
|
+
LWR.define('lwr/everywhereAmd/v/0_0_1', ['exports', 'lwr/vault/v/0_0_1'], (function (exports, _0_13_0Alpha_21) {
|
|
1612
1619
|
// IMPORTANT: Do not add any static imports to this file that are not bundled with the amd-client
|
|
1613
1620
|
|
|
1614
1621
|
// Do an OAuthed fetch
|
|
1615
1622
|
async function authFetch(url, accept = 'javascript') {
|
|
1616
|
-
const authInfo =
|
|
1623
|
+
const authInfo = _0_13_0Alpha_21.getAuthInfo();
|
|
1617
1624
|
if (authInfo) {
|
|
1618
1625
|
return fetch(url, {
|
|
1619
1626
|
headers: {
|
|
@@ -1662,7 +1669,7 @@ LWR.define('lwr/everywhereAmd/v/0_0_1', ['exports', 'lwr/vault/v/0_0_1'], (funct
|
|
|
1662
1669
|
function authenticate(authInfo) {
|
|
1663
1670
|
// Put OAuth info into the vault
|
|
1664
1671
|
if (authInfo) {
|
|
1665
|
-
|
|
1672
|
+
_0_13_0Alpha_21.setAuthInfo(authInfo);
|
|
1666
1673
|
}
|
|
1667
1674
|
}
|
|
1668
1675
|
|
|
@@ -20,7 +20,7 @@ function getConfiguration(options) {
|
|
|
20
20
|
: `${ORIGIN}${PREFIX}/module/${format}/${POSTFIX}/mi/`;
|
|
21
21
|
|
|
22
22
|
// Component specifiers and URIs
|
|
23
|
-
const BOOT_MODULE = `lwr/everywhere${format === 'esm' ? 'Esm' : 'Amd'}/v/0_13_0-
|
|
23
|
+
const BOOT_MODULE = `lwr/everywhere${format === 'esm' ? 'Esm' : 'Amd'}/v/0_13_0-alpha_21`;
|
|
24
24
|
const BOOT_URI = `${ENDPOINT}${encodeURIComponent(BOOT_MODULE)}/latest${debug ? '?debug' : ''}`;
|
|
25
25
|
|
|
26
26
|
// Client Bootstrap Config
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.process={env:{NODE_ENV:"production"}};const e=function(e){const{format:o,server:i,apiVersion:n,apiPrefix:t,locale:p,bundle:r,debug:s}=e,a=new URL(import.meta.url),m=i||a.origin||"",d=`${t}/${n}`,$="0"+(p?`/l/${p}`:""),u="/bi/3_A,B,O,S,EG,JLMT,C,D,F,H,I,K,N,P,Q,R",l=r?`${m}${d}/bundle/${o}/${$}${u}-0/module/mi/`:`${m}${d}/module/${o}/${$}/mi/`,b=`lwr/everywhere${"esm"===o?"Esm":"Amd"}/v/0_13_0-
|
|
1
|
+
globalThis.process={env:{NODE_ENV:"production"}};const e=function(e){const{format:o,server:i,apiVersion:n,apiPrefix:t,locale:p,bundle:r,debug:s}=e,a=new URL(import.meta.url),m=i||a.origin||"",d=`${t}/${n}`,$="0"+(p?`/l/${p}`:""),u="/bi/3_A,B,O,S,EG,JLMT,C,D,F,H,I,K,N,P,Q,R",l=r?`${m}${d}/bundle/${o}/${$}${u}-0/module/mi/`:`${m}${d}/module/${o}/${$}/mi/`,b=`lwr/everywhere${"esm"===o?"Esm":"Amd"}/v/0_13_0-alpha_21`,g=`${l}${encodeURIComponent(b)}/latest${s?"?debug":""}`,c={appId:"lwre",autoBoot:!0,bootstrapModule:b,baseUrl:m,imports:{[g]:[b]},index:{[b]:g},endpoints:{uris:{module:l,mapping:`${m}${d}/mapping/${o}/${$}${r?u:""}/mp/`}}};return s&&c.endpoints&&(c.endpoints.modifiers={debug:"true"}),c}({format:"esm",apiVersion:"1",apiPrefix:"",bundle:!0,debug:!1}),{bootstrapModule:o,imports:i,index:n={},importMappings:t,endpoints:p}=e,{initEsm:r,authenticate:s,createComponent:a}=await import(n[o]);r({imports:i,index:n,importMappings:t,endpoints:p});export{s as authenticate,a as createComponent};
|
|
@@ -20,7 +20,7 @@ function getConfiguration(options) {
|
|
|
20
20
|
: `${ORIGIN}${PREFIX}/module/${format}/${POSTFIX}/mi/`;
|
|
21
21
|
|
|
22
22
|
// Component specifiers and URIs
|
|
23
|
-
const BOOT_MODULE = `lwr/everywhere${format === 'esm' ? 'Esm' : 'Amd'}/v/0_13_0-
|
|
23
|
+
const BOOT_MODULE = `lwr/everywhere${format === 'esm' ? 'Esm' : 'Amd'}/v/0_13_0-alpha_21`;
|
|
24
24
|
const BOOT_URI = `${ENDPOINT}${encodeURIComponent(BOOT_MODULE)}/latest${debug ? '?debug' : ''}`;
|
|
25
25
|
|
|
26
26
|
// Client Bootstrap Config
|
package/build/esm-client.js
CHANGED
package/build/generate.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export default class LwrHost extends LightningElement {
|
|
|
59
59
|
|
|
60
60
|
// Update public (@api) properties on the embedded content
|
|
61
61
|
setProperties(properties) {
|
|
62
|
-
const dynamicContent = this.template
|
|
62
|
+
const dynamicContent = this.template?.querySelector('.lwr-dynamic');
|
|
63
63
|
if (dynamicContent) {
|
|
64
64
|
Object.entries(properties).forEach(([key, value]) => {
|
|
65
65
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
2
2
|
import { Luvio, Environment, InMemoryStore } from '@luvio/engine'; // @ts-ignore: Use LWC module resolution
|
|
3
3
|
import { setDefaultLuvio } from 'force/ldsEngine';
|
|
4
|
-
import { networkAdapter } from './network';
|
|
4
|
+
import { networkAdapter } from './network.js';
|
|
5
5
|
|
|
6
6
|
// Set the default Luvio instance for LWR Everywhere
|
|
7
7
|
// It uses a fetch-based "web" network adapter with OAuth headers
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lwrjs/everywhere",
|
|
3
3
|
"description": "LWR Everywhere",
|
|
4
|
-
"version": "0.13.0-alpha.
|
|
4
|
+
"version": "0.13.0-alpha.21",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
"build": "tsc -b && node ../../../bin/pack-lwc --dir src/modules build/modules && yarn build:amd && yarn build:scripts"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@luvio/engine": "0.
|
|
47
|
-
"@rollup/plugin-replace": "^
|
|
46
|
+
"@luvio/engine": "0.156.0",
|
|
47
|
+
"@rollup/plugin-replace": "^5.0.7",
|
|
48
48
|
"@rollup/plugin-sucrase": "^5.0.2",
|
|
49
49
|
"@rollup/plugin-terser": "^0.4.4",
|
|
50
|
-
"@salesforce/lds-default-luvio": "1.
|
|
50
|
+
"@salesforce/lds-default-luvio": "1.299.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@locker/trusted-types": "0.22.
|
|
54
|
-
"@lwrjs/loader": "0.13.0-alpha.
|
|
55
|
-
"@lwrjs/router": "0.13.0-alpha.
|
|
56
|
-
"@lwrjs/types": "0.13.0-alpha.
|
|
57
|
-
"lwr": "0.13.0-alpha.
|
|
53
|
+
"@locker/trusted-types": "0.22.3",
|
|
54
|
+
"@lwrjs/loader": "0.13.0-alpha.21",
|
|
55
|
+
"@lwrjs/router": "0.13.0-alpha.21",
|
|
56
|
+
"@lwrjs/types": "0.13.0-alpha.21",
|
|
57
|
+
"lwr": "0.13.0-alpha.21"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"@lwc/module-resolver": ">= 2.x"
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": ">=18.0.0"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "d272dcd07881fa469ee73bd28d2f30f99957e122"
|
|
85
85
|
}
|
package/src/amd-client.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import type { EverywhereClientBootstrapOptions, GlobalThis } from './utils';
|
|
3
|
-
import { getConfiguration } from './utils';
|
|
2
|
+
import type { EverywhereClientBootstrapOptions, GlobalThis } from './utils.js';
|
|
3
|
+
import { getConfiguration } from './utils.js';
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
5
5
|
// @ts-ignore: Use LWC module resolver
|
|
6
6
|
import { Loader } from 'lwr/loader';
|
package/src/esm-client.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { EverywhereClientBootstrapOptions } from './utils';
|
|
2
|
-
import { getConfiguration } from './utils';
|
|
1
|
+
import type { EverywhereClientBootstrapOptions } from './utils.js';
|
|
2
|
+
import { getConfiguration } from './utils.js';
|
|
3
3
|
|
|
4
4
|
/** LWR Everywhere module for ESM **/
|
|
5
5
|
|
package/src/generate.ts
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/* This script is generated */
|
|
2
|
-
/* Client Bootstrap configuration */
|
|
3
|
-
globalThis.LWR = globalThis.LWR || {};
|
|
4
|
-
Object.assign(globalThis.LWR, {"appId":"amd-bootstrap","bootstrapModule":"@lwrjs/app-service/amd-bootstrap/module/amd/v/0_13_0-alpha_2","autoBoot":true,"imports":{"/1/module/amd/1/l/en-US/mi/%40lwrjs%2Fapp-service%2Famd-bootstrap%2Fmodule%2Famd%2Fv%2F0_13_0-alpha_2/s/8bce578258518655194bd71d1d72aad5/@lwrjs_app-service_amd-bootstrap_module_amd.js":["@lwrjs/app-service/amd-bootstrap/module/amd/v/0_13_0-alpha_2"],"/1/module/amd/1/l/en-US/mi/lwr%2FpreInit%2Fv%2F0_13_0-alpha_2/s/ec0fad0e38a96bb0b88c9f4553460347/lwr_preInit.js":["lwr/preInit/v/0_13_0-alpha_2"],"/1/module/amd/1/l/en-US/mi/lwr%2Finit%2Fv%2F0_13_0-alpha_2/s/f30361ad8ff7af505bf4d465c8499181/lwr_init.js":["lwr/init/v/0_13_0-alpha_2"],"/1/module/amd/1/l/en-US/mi/lwr%2Fmetrics%2Fv%2F0_13_0-alpha_2/s/274c8343f810353bbad085a79709395f/lwr_metrics.js":["lwr/metrics/v/0_13_0-alpha_2"],"/1/module/amd/1/l/en-US/mi/lwc%2Fv%2F6_6_1/s/eeee3bb1f188f86a6a28e9d5c983706c/lwc.js":["lwc/v/6_6_1"],"/1/module/amd/1/l/en-US/mi/lwr%2FeverywhereAmd%2Fv%2F0_13_0-alpha_2/s/cb931ebef2b89dcf8ab51456e3a68864/lwr_everywhereAmd.js":["lwr/everywhereAmd/v/0_13_0-alpha_2"],"/1/module/amd/1/l/en-US/mi/lwr%2Fvault%2Fv%2F0_13_0-alpha_2/s/c92abd8c1fec2d7eff62e4b097abbe14/lwr_vault.js":["lwr/vault/v/0_13_0-alpha_2"]},"index":{"@lwrjs/app-service/amd-bootstrap/module/amd/v/0_13_0-alpha_2":"/1/module/amd/1/l/en-US/mi/%40lwrjs%2Fapp-service%2Famd-bootstrap%2Fmodule%2Famd%2Fv%2F0_13_0-alpha_2/s/8bce578258518655194bd71d1d72aad5/@lwrjs_app-service_amd-bootstrap_module_amd.js","lwr/preInit/v/0_13_0-alpha_2":"/1/module/amd/1/l/en-US/mi/lwr%2FpreInit%2Fv%2F0_13_0-alpha_2/s/ec0fad0e38a96bb0b88c9f4553460347/lwr_preInit.js","lwr/init/v/0_13_0-alpha_2":"/1/module/amd/1/l/en-US/mi/lwr%2Finit%2Fv%2F0_13_0-alpha_2/s/f30361ad8ff7af505bf4d465c8499181/lwr_init.js","lwr/metrics/v/0_13_0-alpha_2":"/1/module/amd/1/l/en-US/mi/lwr%2Fmetrics%2Fv%2F0_13_0-alpha_2/s/274c8343f810353bbad085a79709395f/lwr_metrics.js","lwc/v/6_6_1":"/1/module/amd/1/l/en-US/mi/lwc%2Fv%2F6_6_1/s/eeee3bb1f188f86a6a28e9d5c983706c/lwc.js","lwr/everywhereAmd/v/0_13_0-alpha_2":"/1/module/amd/1/l/en-US/mi/lwr%2FeverywhereAmd%2Fv%2F0_13_0-alpha_2/s/cb931ebef2b89dcf8ab51456e3a68864/lwr_everywhereAmd.js","lwr/vault/v/0_13_0-alpha_2":"/1/module/amd/1/l/en-US/mi/lwr%2Fvault%2Fv%2F0_13_0-alpha_2/s/c92abd8c1fec2d7eff62e4b097abbe14/lwr_vault.js"},"rootComponents":["lwr/everywhereAmd/v/0_13_0-alpha_2"],"serverData":{},"requiredModules":["@lwrjs/app-service/amd-bootstrap/module/amd/v/0_13_0-alpha_2"],"preloadModules":["lwr/preInit/v/0_13_0-alpha_2","lwr/init/v/0_13_0-alpha_2","lwr/metrics/v/0_13_0-alpha_2","lwc/v/6_6_1","lwr/everywhereAmd/v/0_13_0-alpha_2"],"endpoints":{"uris":{"mapping":"/1/mapping/amd/1/l/en-US/mp/"}}});
|
|
5
|
-
globalThis.LWR = {...globalThis.LWR, env: {"SSR":false,"basePath":"","locale":"en-US","assetBasePath":"","uiBasePath":""}};
|
|
6
|
-
globalThis.process={...globalThis.process,env:{...globalThis.process?.env,...{"NODE_ENV":"compat"}}};
|
|
7
|
-
globalThis.lwcRuntimeFlags = { ENABLE_MIXED_SHADOW_MODE: false };
|
|
8
|
-
// Appended by Static Site Generator
|
|
9
|
-
if (!globalThis.LWR.imports) { globalThis.LWR.imports = {}; }
|
|
10
|
-
Object.assign(globalThis.LWR.imports, {"/1/module/amd/1/l/en-US/mi/lwr%2Fprofiler%2Fv%2F0_13_0-alpha_2/s/a152b8d35f12ca1b5147c5cd1ee155fb/lwr_profiler.js":["lwr/profiler/v/0_13_0-alpha_2"],"/1/module/amd/1/l/en-US/mi/lwr%2Floader%2Fv%2F0_13_0-alpha_2/s/e307ee0231427b79178dc8789d2591fc/lwr_loader.js":["lwr/loader/v/0_13_0-alpha_2"]})
|
|
11
|
-
if (!globalThis.LWR.index) { globalThis.LWR.index = {}; }
|
|
12
|
-
Object.assign(globalThis.LWR.index, {"lwr/profiler/v/0_13_0-alpha_2":"/1/module/amd/1/l/en-US/mi/lwr%2Fprofiler%2Fv%2F0_13_0-alpha_2/s/a152b8d35f12ca1b5147c5cd1ee155fb/lwr_profiler.js","lwr/loader/v/0_13_0-alpha_2":"/1/module/amd/1/l/en-US/mi/lwr%2Floader%2Fv%2F0_13_0-alpha_2/s/e307ee0231427b79178dc8789d2591fc/lwr_loader.js"})
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
LWR.define('@lwrjs/app-service/amd-bootstrap/module/amd/v/0_13_0-alpha_2', ['lwr/loader/v/0_13_0-alpha_2', 'lwr/preInit/v/0_13_0-alpha_2', 'lwr/init/v/0_13_0-alpha_2'], (function (_0_13_0Alpha_2$2, _0_13_0Alpha_2, _0_13_0Alpha_2$1) { 'use strict';
|
|
2
|
-
|
|
3
|
-
const clientBootstrapConfig = _0_13_0Alpha_2.getClientBootstrapConfig();
|
|
4
|
-
|
|
5
|
-
// initialize additional non-configured root components
|
|
6
|
-
const { rootComponents, serverData } = clientBootstrapConfig;
|
|
7
|
-
Promise.all(rootComponents.map(async (rootSpecifier) => {
|
|
8
|
-
const element = _0_13_0Alpha_2$1.toKebabCase(rootSpecifier);
|
|
9
|
-
return _0_13_0Alpha_2$2.load(rootSpecifier, '@lwrjs/app-service/amd-bootstrap/module/amd/v/0_13_0-alpha_2').then(({default: Ctor}) => {
|
|
10
|
-
_0_13_0Alpha_2$1.init([[element, Ctor]], serverData);
|
|
11
|
-
});
|
|
12
|
-
}));
|
|
13
|
-
|
|
14
|
-
}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2021, salesforce.com, inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
6
|
-
*/
|
|
7
|
-
/* LWR Error Shim v0.13.0-alpha.2 */
|
|
8
|
-
!function(){"use strict";if(!(globalThis.LWR&&globalThis.LWR.define)){const o=new Error("The LWR application failed to bootstrap");if(!globalThis.LWR||!globalThis.LWR.onError)throw o;globalThis.LWR.onError(o)}}();
|