@lwrjs/everywhere 0.23.11 → 0.23.13
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/d6125dbf752a1d4b94cd016d63d0d3f9/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_23_11 → 0_23_13}/s/d4022ae1b3a47f5bb62c600fd6b8f139/@lwrjs_app-service_amd-bootstrap_module_amd.js +5 -5
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwc/v/{9_1_2/s/0ab8cd8f94e09eb7da6a47fe0f3b6391 → 9_3_4/s/fe255f5502f02488383a53b2e3c9711e}/lwc.js +62 -110
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/everywhereAmd/v/{0_23_11 → 0_23_13}/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_23_11 → 0_23_13}/s/c5c8bdc0e87baf3d6b68b0603d670664/lwr_init.js +22 -22
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/loader/v/{0_23_11/s/04dc4ee002a14cec8afcbf3c3e48b0f7 → 0_23_13/s/3554ce807a36d1518250eb522d2aefce}/lwr_loader.js +4 -35
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/metrics/v/{0_23_11 → 0_23_13}/s/fb8c5dd340c69fdf7ded52d3eba633b9/lwr_metrics.js +1 -1
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/preInit/v/{0_23_11 → 0_23_13}/s/9120455810adf1ca6b429479490a4b0d/lwr_preInit.js +1 -1
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/profiler/v/{0_23_11 → 0_23_13}/s/9f74c8370534ce02c6e7637abdcffedf/lwr_profiler.js +1 -1
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/scheduler/v/{0_23_11 → 0_23_13}/s/fd3fe53248b540ca046ead92862ca496/lwr_scheduler.js +1 -1
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/vault/v/{0_23_11 → 0_23_13}/s/c92abd8c1fec2d7eff62e4b097abbe14/lwr_vault.js +1 -1
- package/build/__generated_site_amd_modules__/1/resource/amd/lwr-error-shim.js/v/{0_23_11 → 0_23_13}/lwr-error-shim.js +1 -1
- package/build/__generated_site_amd_modules__/1/resource/amd/lwr-loader-shim.bundle.js/v/{0_23_11 → 0_23_13}/lwr-loader-shim.bundle.js +19 -42
- package/build/assets/amd/lwr-everywhere-debug.js +9 -40
- package/build/assets/amd/lwr-everywhere-min.js +2 -2
- package/build/assets/amd/lwr-everywhere.js +9 -40
- package/build/assets/core/lwr-everywhere-debug.js +5 -36
- package/build/assets/core/lwr-everywhere-min.js +2 -2
- package/build/assets/core/lwr-everywhere.js +5 -36
- 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/package.json +6 -6
- package/build/__generated_site_amd_modules__/1/application/amd/l/en-US/ai/amd-bootstrap/configuration/ci/-/-/s/b23849fbf7d28749c7e7c35fd563b8e8/config.js +0 -12
|
@@ -0,0 +1,12 @@
|
|
|
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_23_13","autoBoot":true,"imports":{"/1/module/amd/1/l/en-US/mi/%40lwrjs%2Fapp-service%2Famd-bootstrap%2Fmodule%2Famd%2Fv%2F0_23_13/s/d4022ae1b3a47f5bb62c600fd6b8f139/@lwrjs_app-service_amd-bootstrap_module_amd.js":["@lwrjs/app-service/amd-bootstrap/module/amd/v/0_23_13"],"/1/module/amd/1/l/en-US/mi/lwr%2FpreInit%2Fv%2F0_23_13/s/9120455810adf1ca6b429479490a4b0d/lwr_preInit.js":["lwr/preInit/v/0_23_13"],"/1/module/amd/1/l/en-US/mi/lwr%2Finit%2Fv%2F0_23_13/s/c5c8bdc0e87baf3d6b68b0603d670664/lwr_init.js":["lwr/init/v/0_23_13"],"/1/module/amd/1/l/en-US/mi/lwr%2Fmetrics%2Fv%2F0_23_13/s/fb8c5dd340c69fdf7ded52d3eba633b9/lwr_metrics.js":["lwr/metrics/v/0_23_13"],"/1/module/amd/1/l/en-US/mi/lwr%2Fscheduler%2Fv%2F0_23_13/s/fd3fe53248b540ca046ead92862ca496/lwr_scheduler.js":["lwr/scheduler/v/0_23_13"],"/1/module/amd/1/l/en-US/mi/lwc%2Fv%2F9_3_4/s/fe255f5502f02488383a53b2e3c9711e/lwc.js":["lwc/v/9_3_4"],"/1/module/amd/1/l/en-US/mi/lwr%2FeverywhereAmd%2Fv%2F0_23_13/s/cb931ebef2b89dcf8ab51456e3a68864/lwr_everywhereAmd.js":["lwr/everywhereAmd/v/0_23_13"],"/1/module/amd/1/l/en-US/mi/lwr%2Fvault%2Fv%2F0_23_13/s/c92abd8c1fec2d7eff62e4b097abbe14/lwr_vault.js":["lwr/vault/v/0_23_13"]},"index":{"@lwrjs/app-service/amd-bootstrap/module/amd/v/0_23_13":"/1/module/amd/1/l/en-US/mi/%40lwrjs%2Fapp-service%2Famd-bootstrap%2Fmodule%2Famd%2Fv%2F0_23_13/s/d4022ae1b3a47f5bb62c600fd6b8f139/@lwrjs_app-service_amd-bootstrap_module_amd.js","lwr/preInit/v/0_23_13":"/1/module/amd/1/l/en-US/mi/lwr%2FpreInit%2Fv%2F0_23_13/s/9120455810adf1ca6b429479490a4b0d/lwr_preInit.js","lwr/init/v/0_23_13":"/1/module/amd/1/l/en-US/mi/lwr%2Finit%2Fv%2F0_23_13/s/c5c8bdc0e87baf3d6b68b0603d670664/lwr_init.js","lwr/metrics/v/0_23_13":"/1/module/amd/1/l/en-US/mi/lwr%2Fmetrics%2Fv%2F0_23_13/s/fb8c5dd340c69fdf7ded52d3eba633b9/lwr_metrics.js","lwr/scheduler/v/0_23_13":"/1/module/amd/1/l/en-US/mi/lwr%2Fscheduler%2Fv%2F0_23_13/s/fd3fe53248b540ca046ead92862ca496/lwr_scheduler.js","lwc/v/9_3_4":"/1/module/amd/1/l/en-US/mi/lwc%2Fv%2F9_3_4/s/fe255f5502f02488383a53b2e3c9711e/lwc.js","lwr/everywhereAmd/v/0_23_13":"/1/module/amd/1/l/en-US/mi/lwr%2FeverywhereAmd%2Fv%2F0_23_13/s/cb931ebef2b89dcf8ab51456e3a68864/lwr_everywhereAmd.js","lwr/vault/v/0_23_13":"/1/module/amd/1/l/en-US/mi/lwr%2Fvault%2Fv%2F0_23_13/s/c92abd8c1fec2d7eff62e4b097abbe14/lwr_vault.js"},"rootComponents":["lwr/everywhereAmd/v/0_23_13"],"serverData":{},"requiredModules":["@lwrjs/app-service/amd-bootstrap/module/amd/v/0_23_13"],"preloadModules":["lwr/preInit/v/0_23_13","lwr/init/v/0_23_13","lwr/metrics/v/0_23_13","lwr/scheduler/v/0_23_13","lwc/v/9_3_4","lwr/everywhereAmd/v/0_23_13"],"endpoints":{"uris":{"mapping":"/1/mapping/amd/1/l/en-US/mp/"}}});
|
|
5
|
+
globalThis.LWR = {...globalThis.LWR, env: {"SSR":false,"SSREnabled":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, ENABLE_WIRE_SYNC_EMIT: 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_23_13/s/9f74c8370534ce02c6e7637abdcffedf/lwr_profiler.js":["lwr/profiler/v/0_23_13"],"/1/module/amd/1/l/en-US/mi/lwr%2Floader%2Fv%2F0_23_13/s/3554ce807a36d1518250eb522d2aefce/lwr_loader.js":["lwr/loader/v/0_23_13"]})
|
|
11
|
+
if (!globalThis.LWR.index) { globalThis.LWR.index = {}; }
|
|
12
|
+
Object.assign(globalThis.LWR.index, {"lwr/profiler/v/0_23_13":"/1/module/amd/1/l/en-US/mi/lwr%2Fprofiler%2Fv%2F0_23_13/s/9f74c8370534ce02c6e7637abdcffedf/lwr_profiler.js","lwr/loader/v/0_23_13":"/1/module/amd/1/l/en-US/mi/lwr%2Floader%2Fv%2F0_23_13/s/3554ce807a36d1518250eb522d2aefce/lwr_loader.js"})
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
LWR.define('@lwrjs/app-service/amd-bootstrap/module/amd/v/
|
|
1
|
+
LWR.define('@lwrjs/app-service/amd-bootstrap/module/amd/v/0_23_13', ['lwr/loader/v/0_23_13', 'lwr/preInit/v/0_23_13', 'lwr/init/v/0_23_13'], (function (_0_23_13$2, _0_23_13, _0_23_13$1) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const clientBootstrapConfig =
|
|
3
|
+
const clientBootstrapConfig = _0_23_13.getClientBootstrapConfig();
|
|
4
4
|
const { serverData, rootComponents } = clientBootstrapConfig;
|
|
5
5
|
|
|
6
6
|
// initialize additional non-configured root components
|
|
7
7
|
Promise.all(rootComponents.map(async (rootSpecifier) => {
|
|
8
|
-
const element =
|
|
9
|
-
const { default: Ctor } = await
|
|
8
|
+
const element = _0_23_13$1.toKebabCase(rootSpecifier);
|
|
9
|
+
const { default: Ctor } = await _0_23_13$2.load(rootSpecifier, '@lwrjs/app-service/amd-bootstrap/module/amd/v/0_23_13');
|
|
10
10
|
return [element, Ctor];
|
|
11
11
|
})).then((rootModules) => {
|
|
12
|
-
return
|
|
12
|
+
return _0_23_13$1.init(rootModules, serverData);
|
|
13
13
|
}).then(() => {
|
|
14
14
|
// Defer clearing so SSR'd components read ENABLE_WIRE_SYNC_EMIT: true in connectedCallback (timing varies by env)
|
|
15
15
|
const clearSyncEmit = () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
LWR.define('lwc/v/
|
|
1
|
+
LWR.define('lwc/v/9_3_4', ['exports'], (function (exports) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Copyright (c) 2026 Salesforce, Inc.
|
|
@@ -564,7 +564,7 @@ LWR.define('lwc/v/9_1_2', ['exports'], (function (exports) { 'use strict';
|
|
|
564
564
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
565
565
|
*/
|
|
566
566
|
// Increment whenever the LWC template compiler changes
|
|
567
|
-
const LWC_VERSION = "9.
|
|
567
|
+
const LWC_VERSION = "9.3.4";
|
|
568
568
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
569
569
|
|
|
570
570
|
/*
|
|
@@ -685,30 +685,13 @@ LWR.define('lwc/v/9_1_2', ['exports'], (function (exports) { 'use strict';
|
|
|
685
685
|
globalThis.__lwcResetTrustedSignals = () => (trustedSignals = undefined);
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
|
-
/**
|
|
689
|
-
* The legacy validation behavior was that this check should only
|
|
690
|
-
* be performed for runtimes that have provided a trustedSignals set.
|
|
691
|
-
* However, this resulted in a bug as all object values were
|
|
692
|
-
* being considered signals in environments where the trustedSignals
|
|
693
|
-
* set had not been defined. The runtime flag has been added as a killswitch
|
|
694
|
-
* in case the fix needs to be reverted.
|
|
695
|
-
*/
|
|
696
|
-
function legacyIsTrustedSignal(target) {
|
|
697
|
-
if (!trustedSignals) {
|
|
698
|
-
// The runtime didn't set a trustedSignals set
|
|
699
|
-
// this check should only be performed for runtimes that care about filtering signals to track
|
|
700
|
-
// our default behavior should be to track all signals
|
|
701
|
-
return true;
|
|
702
|
-
}
|
|
703
|
-
return trustedSignals.has(target);
|
|
704
|
-
}
|
|
705
688
|
function isTrustedSignal(target) {
|
|
706
689
|
if (!trustedSignals) {
|
|
707
690
|
return false;
|
|
708
691
|
}
|
|
709
692
|
return trustedSignals.has(target);
|
|
710
693
|
}
|
|
711
|
-
/** version: 9.
|
|
694
|
+
/** version: 9.3.4 */
|
|
712
695
|
|
|
713
696
|
/**
|
|
714
697
|
* Copyright (c) 2026 Salesforce, Inc.
|
|
@@ -732,12 +715,11 @@ LWR.define('lwc/v/9_1_2', ['exports'], (function (exports) { 'use strict';
|
|
|
732
715
|
ENABLE_LEGACY_SCOPE_TOKENS: null,
|
|
733
716
|
ENABLE_FORCE_SHADOW_MIGRATE_MODE: null,
|
|
734
717
|
ENABLE_EXPERIMENTAL_SIGNALS: null,
|
|
735
|
-
ENABLE_LEGACY_SIGNAL_CONTEXT_VALIDATION: null,
|
|
736
718
|
DISABLE_SYNTHETIC_SHADOW: null,
|
|
719
|
+
DISABLE_HOST_ATTACH_SHADOW_GUARD: null,
|
|
737
720
|
DISABLE_SCOPE_TOKEN_VALIDATION: null,
|
|
738
721
|
DISABLE_STRICT_VALIDATION: null,
|
|
739
722
|
DISABLE_DETACHED_REHYDRATION: null,
|
|
740
|
-
ENABLE_LEGACY_CONTEXT_CONNECTION: null,
|
|
741
723
|
};
|
|
742
724
|
if (!globalThis.lwcRuntimeFlags) {
|
|
743
725
|
Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
@@ -798,7 +780,7 @@ LWR.define('lwc/v/9_1_2', ['exports'], (function (exports) { 'use strict';
|
|
|
798
780
|
setFeatureFlag(name, value);
|
|
799
781
|
}
|
|
800
782
|
}
|
|
801
|
-
/** version: 9.
|
|
783
|
+
/** version: 9.3.4 */
|
|
802
784
|
|
|
803
785
|
/**
|
|
804
786
|
* Copyright (c) 2026 Salesforce, Inc.
|
|
@@ -822,7 +804,7 @@ LWR.define('lwc/v/9_1_2', ['exports'], (function (exports) { 'use strict';
|
|
|
822
804
|
* @param value
|
|
823
805
|
* @param msg
|
|
824
806
|
*/
|
|
825
|
-
/** version: 9.
|
|
807
|
+
/** version: 9.3.4 */
|
|
826
808
|
|
|
827
809
|
/*
|
|
828
810
|
* Copyright (c) 2023, salesforce.com, inc.
|
|
@@ -846,7 +828,7 @@ LWR.define('lwc/v/9_1_2', ['exports'], (function (exports) { 'use strict';
|
|
|
846
828
|
}
|
|
847
829
|
}
|
|
848
830
|
}
|
|
849
|
-
/** version: 9.
|
|
831
|
+
/** version: 9.3.4 */
|
|
850
832
|
|
|
851
833
|
/**
|
|
852
834
|
* Copyright (c) 2026 Salesforce, Inc.
|
|
@@ -1455,17 +1437,7 @@ LWR.define('lwc/v/9_1_2', ['exports'], (function (exports) { 'use strict';
|
|
|
1455
1437
|
true &&
|
|
1456
1438
|
// Only subscribe if a template is being rendered by the engine
|
|
1457
1439
|
tro.isObserving()) {
|
|
1458
|
-
|
|
1459
|
-
* The legacy validation behavior was that this check should only
|
|
1460
|
-
* be performed for runtimes that have provided a trustedSignals set.
|
|
1461
|
-
* However, this resulted in a bug as all object values were
|
|
1462
|
-
* being considered signals in environments where the trustedSignals
|
|
1463
|
-
* set had not been defined. The runtime flag has been added as a killswitch
|
|
1464
|
-
* in case the fix needs to be reverted.
|
|
1465
|
-
*/
|
|
1466
|
-
if (lwcRuntimeFlags.ENABLE_LEGACY_SIGNAL_CONTEXT_VALIDATION
|
|
1467
|
-
? legacyIsTrustedSignal(target)
|
|
1468
|
-
: isTrustedSignal(target)) {
|
|
1440
|
+
if (isTrustedSignal(target)) {
|
|
1469
1441
|
// Subscribe the template reactive observer's notify method, which will mark the vm as dirty and schedule hydration.
|
|
1470
1442
|
subscribeToSignal(component, target, tro.notify.bind(tro));
|
|
1471
1443
|
}
|
|
@@ -7437,36 +7409,16 @@ LWR.define('lwc/v/9_1_2', ['exports'], (function (exports) { 'use strict';
|
|
|
7437
7409
|
}
|
|
7438
7410
|
_ContextBinding_renderer = new WeakMap(), _ContextBinding_providedContextVarieties = new WeakMap(), _ContextBinding_elm = new WeakMap();
|
|
7439
7411
|
function connectContext(vm) {
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
|
|
7444
|
-
*/
|
|
7445
|
-
if (lwcRuntimeFlags.ENABLE_LEGACY_CONTEXT_CONNECTION) {
|
|
7446
|
-
connect(vm, keys(getPrototypeOf$1(vm.component)), vm.component);
|
|
7447
|
-
}
|
|
7448
|
-
else {
|
|
7449
|
-
// Non-decorated objects
|
|
7450
|
-
connect(vm, keys(vm.cmpFields), vm.cmpFields);
|
|
7451
|
-
// Decorated objects like @api context
|
|
7452
|
-
connect(vm, keys(vm.cmpProps), vm.cmpProps);
|
|
7453
|
-
}
|
|
7412
|
+
// Non-decorated objects
|
|
7413
|
+
connect(vm, keys(vm.cmpFields), vm.cmpFields);
|
|
7414
|
+
// Decorated objects like @api context
|
|
7415
|
+
connect(vm, keys(vm.cmpProps), vm.cmpProps);
|
|
7454
7416
|
}
|
|
7455
7417
|
function disconnectContext(vm) {
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
|
|
7460
|
-
*/
|
|
7461
|
-
if (lwcRuntimeFlags.ENABLE_LEGACY_CONTEXT_CONNECTION) {
|
|
7462
|
-
connect(vm, keys(getPrototypeOf$1(vm.component)), vm.component);
|
|
7463
|
-
}
|
|
7464
|
-
else {
|
|
7465
|
-
// Non-decorated objects
|
|
7466
|
-
disconnect(vm, keys(vm.cmpFields), vm.cmpFields);
|
|
7467
|
-
// Decorated objects like @api context
|
|
7468
|
-
disconnect(vm, keys(vm.cmpProps), vm.cmpProps);
|
|
7469
|
-
}
|
|
7418
|
+
// Non-decorated objects
|
|
7419
|
+
disconnect(vm, keys(vm.cmpFields), vm.cmpFields);
|
|
7420
|
+
// Decorated objects like @api context
|
|
7421
|
+
disconnect(vm, keys(vm.cmpProps), vm.cmpProps);
|
|
7470
7422
|
}
|
|
7471
7423
|
function connect(vm, enumerableKeys, contextContainer) {
|
|
7472
7424
|
const contextKeys = getContextKeys();
|
|
@@ -9311,7 +9263,7 @@ LWR.define('lwc/v/9_1_2', ['exports'], (function (exports) { 'use strict';
|
|
|
9311
9263
|
}
|
|
9312
9264
|
return getReadOnlyProxy(obj);
|
|
9313
9265
|
}
|
|
9314
|
-
/** version: 9.
|
|
9266
|
+
/** version: 9.3.4 */
|
|
9315
9267
|
|
|
9316
9268
|
/*
|
|
9317
9269
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -9670,7 +9622,7 @@ LWR.define('lwc/v/9_1_2', ['exports'], (function (exports) { 'use strict';
|
|
|
9670
9622
|
function rendererFactory(baseRenderer) {
|
|
9671
9623
|
// Type assertion because this is replaced by rollup with an object, not a string.
|
|
9672
9624
|
// See `injectInlineRenderer` in /scripts/rollup/rollup.config.js
|
|
9673
|
-
const renderer = (function (exports
|
|
9625
|
+
const renderer = (function (exports) {
|
|
9674
9626
|
|
|
9675
9627
|
/**
|
|
9676
9628
|
* Copyright (c) 2026 Salesforce, Inc.
|
|
@@ -9752,7 +9704,7 @@ LWR.define('lwc/v/9_1_2', ['exports'], (function (exports) { 'use strict';
|
|
|
9752
9704
|
function isNull(obj) {
|
|
9753
9705
|
return obj === null;
|
|
9754
9706
|
}
|
|
9755
|
-
/** version: 9.
|
|
9707
|
+
/** version: 9.3.4 */
|
|
9756
9708
|
|
|
9757
9709
|
/*
|
|
9758
9710
|
* Copyright (c) 2024, Salesforce, Inc.
|
|
@@ -9954,49 +9906,49 @@ LWR.define('lwc/v/9_1_2', ['exports'], (function (exports) { 'use strict';
|
|
|
9954
9906
|
throw new Error('attachInternals API is not supported in this browser environment.');
|
|
9955
9907
|
};
|
|
9956
9908
|
|
|
9957
|
-
exports
|
|
9958
|
-
exports
|
|
9959
|
-
exports
|
|
9960
|
-
exports
|
|
9961
|
-
exports
|
|
9962
|
-
exports
|
|
9963
|
-
exports
|
|
9964
|
-
exports
|
|
9965
|
-
exports
|
|
9966
|
-
exports
|
|
9967
|
-
exports
|
|
9968
|
-
exports
|
|
9969
|
-
exports
|
|
9970
|
-
exports
|
|
9971
|
-
exports
|
|
9972
|
-
exports
|
|
9973
|
-
exports
|
|
9974
|
-
exports
|
|
9975
|
-
exports
|
|
9976
|
-
exports
|
|
9977
|
-
exports
|
|
9978
|
-
exports
|
|
9979
|
-
exports
|
|
9980
|
-
exports
|
|
9981
|
-
exports
|
|
9982
|
-
exports
|
|
9983
|
-
exports
|
|
9984
|
-
exports
|
|
9985
|
-
exports
|
|
9986
|
-
exports
|
|
9987
|
-
exports
|
|
9988
|
-
exports
|
|
9989
|
-
exports
|
|
9990
|
-
exports
|
|
9991
|
-
exports
|
|
9992
|
-
exports
|
|
9993
|
-
exports
|
|
9994
|
-
exports
|
|
9995
|
-
exports
|
|
9996
|
-
exports
|
|
9997
|
-
exports
|
|
9909
|
+
exports.addEventListener = addEventListener;
|
|
9910
|
+
exports.assertInstanceOfHTMLElement = assertInstanceOfHTMLElement;
|
|
9911
|
+
exports.attachInternals = attachInternals;
|
|
9912
|
+
exports.attachShadow = attachShadow;
|
|
9913
|
+
exports.cloneNode = cloneNode;
|
|
9914
|
+
exports.createComment = createComment;
|
|
9915
|
+
exports.createElement = createElement;
|
|
9916
|
+
exports.createFragment = createFragment;
|
|
9917
|
+
exports.createText = createText;
|
|
9918
|
+
exports.dispatchEvent = dispatchEvent;
|
|
9919
|
+
exports.getAttribute = getAttribute;
|
|
9920
|
+
exports.getBoundingClientRect = getBoundingClientRect;
|
|
9921
|
+
exports.getChildNodes = getChildNodes;
|
|
9922
|
+
exports.getChildren = getChildren;
|
|
9923
|
+
exports.getClassList = getClassList;
|
|
9924
|
+
exports.getElementsByClassName = getElementsByClassName;
|
|
9925
|
+
exports.getElementsByTagName = getElementsByTagName;
|
|
9926
|
+
exports.getFirstChild = getFirstChild;
|
|
9927
|
+
exports.getFirstElementChild = getFirstElementChild;
|
|
9928
|
+
exports.getLastChild = getLastChild;
|
|
9929
|
+
exports.getLastElementChild = getLastElementChild;
|
|
9930
|
+
exports.getParentNode = getParentNode;
|
|
9931
|
+
exports.getProperty = getProperty;
|
|
9932
|
+
exports.getStyle = getStyle;
|
|
9933
|
+
exports.getTagName = getTagName;
|
|
9934
|
+
exports.insert = insert;
|
|
9935
|
+
exports.isConnected = isConnected;
|
|
9936
|
+
exports.nextSibling = nextSibling;
|
|
9937
|
+
exports.ownerDocument = ownerDocument;
|
|
9938
|
+
exports.previousSibling = previousSibling;
|
|
9939
|
+
exports.querySelector = querySelector;
|
|
9940
|
+
exports.querySelectorAll = querySelectorAll;
|
|
9941
|
+
exports.registerContextConsumer = registerContextConsumer;
|
|
9942
|
+
exports.registerContextProvider = registerContextProvider;
|
|
9943
|
+
exports.remove = remove;
|
|
9944
|
+
exports.removeAttribute = removeAttribute;
|
|
9945
|
+
exports.removeEventListener = removeEventListener;
|
|
9946
|
+
exports.setAttribute = setAttribute;
|
|
9947
|
+
exports.setCSSStyleProperty = setCSSStyleProperty;
|
|
9948
|
+
exports.setProperty = setProperty;
|
|
9949
|
+
exports.setText = setText;
|
|
9998
9950
|
|
|
9999
|
-
return exports
|
|
9951
|
+
return exports;
|
|
10000
9952
|
|
|
10001
9953
|
})({});
|
|
10002
9954
|
// Meant to inherit any properties passed via the base renderer as the argument to the factory.
|
|
@@ -10462,7 +10414,7 @@ LWR.define('lwc/v/9_1_2', ['exports'], (function (exports) { 'use strict';
|
|
|
10462
10414
|
}
|
|
10463
10415
|
}));
|
|
10464
10416
|
}
|
|
10465
|
-
/** version: 9.
|
|
10417
|
+
/** version: 9.3.4 */
|
|
10466
10418
|
|
|
10467
10419
|
exports.LightningElement = LightningElement;
|
|
10468
10420
|
exports.SignalBaseClass = SignalBaseClass;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
LWR.define('lwr/everywhereAmd/v/
|
|
1
|
+
LWR.define('lwr/everywhereAmd/v/0_23_13', ['exports', 'lwr/vault/v/0_23_13'], (function (exports, _0_23_13) { 'use strict';
|
|
2
2
|
|
|
3
3
|
// IMPORTANT: Do not add any static imports to this file that are not bundled with the amd-client
|
|
4
4
|
|
|
5
5
|
// Do an OAuthed fetch
|
|
6
6
|
async function authFetch(url, accept = 'javascript') {
|
|
7
|
-
const authInfo =
|
|
7
|
+
const authInfo = _0_23_13.getAuthInfo();
|
|
8
8
|
if (authInfo) {
|
|
9
9
|
return fetch(url, {
|
|
10
10
|
headers: {
|
|
@@ -53,7 +53,7 @@ LWR.define('lwr/everywhereAmd/v/0_23_11', ['exports', 'lwr/vault/v/0_23_11'], (f
|
|
|
53
53
|
function authenticate(authInfo) {
|
|
54
54
|
// Put OAuth info into the vault
|
|
55
55
|
if (authInfo) {
|
|
56
|
-
|
|
56
|
+
_0_23_13.setAuthInfo(authInfo);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
LWR.define('lwr/init/v/
|
|
1
|
+
LWR.define('lwr/init/v/0_23_13', ['exports', 'lwr/metrics/v/0_23_13', 'lwr/profiler/v/0_23_13', 'lwr/scheduler/v/0_23_13', 'lwc/v/9_3_4'], (function (exports, _0_23_13$1, _0_23_13, _0_23_13$2, _9_3_4) { 'use strict';
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line lwr/only-allowed-type-imports
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ LWR.define('lwr/init/v/0_23_11', ['exports', 'lwr/metrics/v/0_23_11', 'lwr/profi
|
|
|
7
7
|
const HYDRATE_DIRECTIVE = 'lwr:hydrate';
|
|
8
8
|
const HYDRATE_VISIBLE_VALUE = 'visible';
|
|
9
9
|
function hydrateComponentProxy(customElement, Ctor, props) {
|
|
10
|
-
|
|
10
|
+
_9_3_4.hydrateComponent(customElement, Ctor, props);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -85,7 +85,7 @@ LWR.define('lwr/init/v/0_23_11', ['exports', 'lwr/metrics/v/0_23_11', 'lwr/profi
|
|
|
85
85
|
return visibilityObserver;
|
|
86
86
|
}
|
|
87
87
|
function initializeWebComponent(elementName, Ctor) {
|
|
88
|
-
return
|
|
88
|
+
return _9_3_4.createElement(elementName, {
|
|
89
89
|
is: Ctor
|
|
90
90
|
});
|
|
91
91
|
}
|
|
@@ -123,13 +123,13 @@ LWR.define('lwr/init/v/0_23_11', ['exports', 'lwr/metrics/v/0_23_11', 'lwr/profi
|
|
|
123
123
|
function init(rootModules, serverData = {}) {
|
|
124
124
|
// eslint-disable-next-line lwr/no-unguarded-apis
|
|
125
125
|
if (typeof globalThis.customElements === 'undefined' || typeof globalThis.document === 'undefined') {
|
|
126
|
-
|
|
127
|
-
id:
|
|
126
|
+
_0_23_13.logOperationStart({
|
|
127
|
+
id: _0_23_13$1.BOOTSTRAP_END
|
|
128
128
|
});
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
id:
|
|
131
|
+
_0_23_13.logOperationStart({
|
|
132
|
+
id: _0_23_13$1.INIT
|
|
133
133
|
});
|
|
134
134
|
(async () => {
|
|
135
135
|
let index = 0;
|
|
@@ -138,15 +138,15 @@ LWR.define('lwr/init/v/0_23_11', ['exports', 'lwr/metrics/v/0_23_11', 'lwr/profi
|
|
|
138
138
|
for (const [specifier, ctor] of rootModules) {
|
|
139
139
|
// Yield to the main thread during long hydration tasks
|
|
140
140
|
// eslint-disable-next-line no-await-in-loop
|
|
141
|
-
await
|
|
141
|
+
await _0_23_13$2.yieldIfNecessary();
|
|
142
142
|
const specifierIndex = ++index;
|
|
143
143
|
const elementName = toKebabCase(specifier);
|
|
144
144
|
|
|
145
145
|
// initialize and inject the root module into the LWR Root or DOM if it is missing
|
|
146
146
|
// eslint-disable-next-line lwr/no-unguarded-apis
|
|
147
147
|
if (!document.body.querySelector(elementName)) {
|
|
148
|
-
|
|
149
|
-
id:
|
|
148
|
+
_0_23_13.logOperationStart({
|
|
149
|
+
id: _0_23_13$1.INIT_MODULE,
|
|
150
150
|
specifier,
|
|
151
151
|
specifierIndex
|
|
152
152
|
});
|
|
@@ -157,8 +157,8 @@ LWR.define('lwr/init/v/0_23_11', ['exports', 'lwr/metrics/v/0_23_11', 'lwr/profi
|
|
|
157
157
|
const container = document.querySelector('[lwr-root]');
|
|
158
158
|
// eslint-disable-next-line lwr/no-unguarded-apis
|
|
159
159
|
container ? container.appendChild(component) : document.body.appendChild(component);
|
|
160
|
-
|
|
161
|
-
id:
|
|
160
|
+
_0_23_13.logOperationEnd({
|
|
161
|
+
id: _0_23_13$1.INIT_MODULE,
|
|
162
162
|
specifier,
|
|
163
163
|
specifierIndex,
|
|
164
164
|
metadata: {
|
|
@@ -172,8 +172,8 @@ LWR.define('lwr/init/v/0_23_11', ['exports', 'lwr/metrics/v/0_23_11', 'lwr/profi
|
|
|
172
172
|
// eslint-disable-next-line lwr/no-unguarded-apis
|
|
173
173
|
const elements = document.querySelectorAll(elementName);
|
|
174
174
|
for (const element of elements) {
|
|
175
|
-
|
|
176
|
-
id:
|
|
175
|
+
_0_23_13.logOperationStart({
|
|
176
|
+
id: _0_23_13$1.INIT_MODULE,
|
|
177
177
|
specifier,
|
|
178
178
|
specifierIndex
|
|
179
179
|
});
|
|
@@ -189,8 +189,8 @@ LWR.define('lwr/init/v/0_23_11', ['exports', 'lwr/metrics/v/0_23_11', 'lwr/profi
|
|
|
189
189
|
// hydrate the island immediately
|
|
190
190
|
hydrateComponentProxy(element, ctor, serverData[propsId] || {});
|
|
191
191
|
}
|
|
192
|
-
|
|
193
|
-
id:
|
|
192
|
+
_0_23_13.logOperationEnd({
|
|
193
|
+
id: _0_23_13$1.INIT_MODULE,
|
|
194
194
|
specifier,
|
|
195
195
|
specifierIndex,
|
|
196
196
|
metadata: {
|
|
@@ -228,8 +228,8 @@ LWR.define('lwr/init/v/0_23_11', ['exports', 'lwr/metrics/v/0_23_11', 'lwr/profi
|
|
|
228
228
|
if (parent) {
|
|
229
229
|
parent.replaceChild(component, element);
|
|
230
230
|
}
|
|
231
|
-
|
|
232
|
-
id:
|
|
231
|
+
_0_23_13.logOperationEnd({
|
|
232
|
+
id: _0_23_13$1.INIT_MODULE,
|
|
233
233
|
specifier,
|
|
234
234
|
specifierIndex,
|
|
235
235
|
metadata: {
|
|
@@ -239,11 +239,11 @@ LWR.define('lwr/init/v/0_23_11', ['exports', 'lwr/metrics/v/0_23_11', 'lwr/profi
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
})();
|
|
242
|
-
|
|
243
|
-
id:
|
|
242
|
+
_0_23_13.logOperationEnd({
|
|
243
|
+
id: _0_23_13$1.INIT
|
|
244
244
|
});
|
|
245
|
-
|
|
246
|
-
id:
|
|
245
|
+
_0_23_13.logOperationStart({
|
|
246
|
+
id: _0_23_13$1.BOOTSTRAP_END
|
|
247
247
|
});
|
|
248
248
|
}
|
|
249
249
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
LWR.define('lwr/loader/v/
|
|
1
|
+
LWR.define('lwr/loader/v/0_23_13', ['exports'], (function (exports) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Copyright (c) 2021, salesforce.com, inc.
|
|
@@ -6,7 +6,7 @@ LWR.define('lwr/loader/v/0_23_11', ['exports'], (function (exports) { 'use stric
|
|
|
6
6
|
* SPDX-License-Identifier: MIT
|
|
7
7
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
8
8
|
*/
|
|
9
|
-
/* LWR Module Loader v0.23.
|
|
9
|
+
/* LWR Module Loader v0.23.13 */
|
|
10
10
|
const templateRegex = /\{([0-9]+)\}/g;
|
|
11
11
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
12
12
|
function templateString(template, args) {
|
|
@@ -25,7 +25,7 @@ LWR.define('lwr/loader/v/0_23_11', ['exports'], (function (exports) { 'use stric
|
|
|
25
25
|
super();
|
|
26
26
|
this.message = generateErrorMessage(errorInfo, errorArgs);
|
|
27
27
|
}
|
|
28
|
-
/*LWC compiler v9.
|
|
28
|
+
/*LWC compiler v9.3.4*/
|
|
29
29
|
}
|
|
30
30
|
function invariant(condition, errorInfo) {
|
|
31
31
|
if (!condition) {
|
|
@@ -377,19 +377,10 @@ LWR.define('lwr/loader/v/0_23_11', ['exports'], (function (exports) { 'use stric
|
|
|
377
377
|
__init3() {
|
|
378
378
|
this.loadMappingHooks = [];
|
|
379
379
|
}
|
|
380
|
-
|
|
381
|
-
// mapping request batching
|
|
382
|
-
__init4() {
|
|
383
|
-
this.batchSpecifiers = [];
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
// eslint-disable-next-line lwr/no-unguarded-apis
|
|
387
|
-
|
|
388
380
|
constructor(config, invalidationCallback) {
|
|
389
381
|
ImportMetadataResolver.prototype.__init.call(this);
|
|
390
382
|
ImportMetadataResolver.prototype.__init2.call(this);
|
|
391
383
|
ImportMetadataResolver.prototype.__init3.call(this);
|
|
392
|
-
ImportMetadataResolver.prototype.__init4.call(this);
|
|
393
384
|
this.config = config;
|
|
394
385
|
this.invalidationCallback = invalidationCallback;
|
|
395
386
|
}
|
|
@@ -551,27 +542,6 @@ LWR.define('lwr/loader/v/0_23_11', ['exports'], (function (exports) { 'use stric
|
|
|
551
542
|
return this.fetchNewMappings(specifier);
|
|
552
543
|
}
|
|
553
544
|
async fetchNewMappings(specifier) {
|
|
554
|
-
if (!hasSetTimeout || !_optionalChain([this, 'access', _5 => _5.config, 'optionalAccess', _6 => _6.flags, 'optionalAccess', _7 => _7.batchMappings])) {
|
|
555
|
-
return this.fetchNewMappingsInner(specifier);
|
|
556
|
-
}
|
|
557
|
-
const batch = () => {
|
|
558
|
-
const specifiers = this.batchSpecifiers.join(',');
|
|
559
|
-
this.batchSpecifiers = []; // clear pending mapping requests
|
|
560
|
-
// eslint-disable-next-line lwr/no-unguarded-apis
|
|
561
|
-
clearTimeout(this.batchTimer); // cancel the batch timer
|
|
562
|
-
this.batchTimer = undefined;
|
|
563
|
-
return this.fetchNewMappingsInner(specifiers);
|
|
564
|
-
};
|
|
565
|
-
if (!this.batchPromise || this.batchSpecifiers.length === 0) {
|
|
566
|
-
this.batchPromise = new Promise(resolve => {
|
|
567
|
-
// eslint-disable-next-line lwr/no-unguarded-apis
|
|
568
|
-
this.batchTimer = setTimeout(() => resolve(batch()), 0);
|
|
569
|
-
});
|
|
570
|
-
}
|
|
571
|
-
this.batchSpecifiers.push(specifier);
|
|
572
|
-
return this.batchPromise;
|
|
573
|
-
}
|
|
574
|
-
async fetchNewMappingsInner(specifier) {
|
|
575
545
|
if (typeof globalThis.fetch !== 'function') {
|
|
576
546
|
throw new LoaderError(UNRESOLVED, [specifier]);
|
|
577
547
|
}
|
|
@@ -1640,8 +1610,7 @@ LWR.define('lwr/loader/v/0_23_11', ['exports'], (function (exports) { 'use stric
|
|
|
1640
1610
|
this.registry = new ModuleRegistry(Object.freeze({
|
|
1641
1611
|
endpoints: config.endpoints,
|
|
1642
1612
|
baseUrl,
|
|
1643
|
-
profiler
|
|
1644
|
-
flags: config.flags || {}
|
|
1613
|
+
profiler
|
|
1645
1614
|
}));
|
|
1646
1615
|
|
|
1647
1616
|
// TODO: W-10539691 - temp workaround for LWR-Java -- remove once appId is implemented there
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
LWR.define('lwr/preInit/v/
|
|
1
|
+
LWR.define('lwr/preInit/v/0_23_13', ['exports'], (function (exports) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This module is called in the ABS module (app bootstrap module) to perform neccesary pre initialization steps for an LWR app.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
LWR.define('lwr/vault/v/
|
|
1
|
+
LWR.define('lwr/vault/v/0_23_13', ['exports'], (function (exports) { 'use strict';
|
|
2
2
|
|
|
3
3
|
// Credential vault for storing setters and subscribers for OAuth info
|
|
4
4
|
// This module is a SINGLETON and must be excluded from ESM bundling
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* SPDX-License-Identifier: MIT
|
|
5
5
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
6
6
|
*/
|
|
7
|
-
/* LWR Error Shim v0.23.
|
|
7
|
+
/* LWR Error Shim v0.23.13 */
|
|
8
8
|
!function(){"use strict";const o=globalThis;if(!(o.LWR&&o.LWR.define)){const r=new Error("The LWR application failed to bootstrap");if(!o.LWR||!o.LWR.onError)throw r;o.LWR.onError(r)}}();
|