@lwrjs/everywhere 0.12.0-alpha.24 → 0.12.0-alpha.26
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/e8edc5e82988a8a2a3817f3d9e2dcd47/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_12_0-alpha_26/s/8bce578258518655194bd71d1d72aad5/@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_3_1/s/62e57444bb0d15355b145ddacc9d7286 → 6_3_2/s/23bea0d197119b82d9452baf31b2d156}/lwc.js +36 -25
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/everywhereAmd/v/{0_12_0-alpha_24 → 0_12_0-alpha_26}/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_12_0-alpha_24 → 0_12_0-alpha_26}/s/f30361ad8ff7af505bf4d465c8499181/lwr_init.js +21 -21
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/loader/v/0_12_0-alpha_26/s/fe7f7b705c87c74c9c57e9328c1eb832/lwr_loader.js +1396 -0
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/metrics/v/{0_12_0-alpha_24 → 0_12_0-alpha_26}/s/274c8343f810353bbad085a79709395f/lwr_metrics.js +1 -1
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/preInit/v/{0_12_0-alpha_24 → 0_12_0-alpha_26}/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_12_0-alpha_26/s/a152b8d35f12ca1b5147c5cd1ee155fb/lwr_profiler.js +99 -0
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/vault/v/{0_12_0-alpha_24 → 0_12_0-alpha_26}/s/c92abd8c1fec2d7eff62e4b097abbe14/lwr_vault.js +1 -1
- package/build/__generated_site_amd_modules__/1/resource/amd/lwr-error-shim.js/v/{0_12_0-alpha_24 → 0_12_0-alpha_26}/lwr-error-shim.js +1 -1
- package/build/__generated_site_amd_modules__/1/resource/amd/lwr-loader-shim.bundle.js/v/{0_12_0-alpha_24 → 0_12_0-alpha_26}/lwr-loader-shim.bundle.js +6 -6
- package/build/assets/amd/lwr-everywhere-debug.js +8 -8
- package/build/assets/amd/lwr-everywhere-min.js +2 -2
- package/build/assets/amd/lwr-everywhere.js +8 -8
- package/build/assets/core/lwr-everywhere-debug.js +4 -4
- package/build/assets/core/lwr-everywhere.js +4 -4
- 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 +7 -7
- package/build/__generated_site_amd_modules__/1/application/amd/l/en-US/ai/amd-bootstrap/configuration/ci/-/-/s/7c3f260b17cfe185b1f9c047326a6923/config.js +0 -7
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/@lwrjs/app-service/amd-bootstrap/module/amd/v/0_12_0-alpha_24/s/8bce578258518655194bd71d1d72aad5/@lwrjs_app-service_amd-bootstrap_module_amd.js +0 -14
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/profiler/v/0_12_0-alpha_24/s/a152b8d35f12ca1b5147c5cd1ee155fb/lwr_profiler.js +0 -89
|
@@ -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_12_0-alpha_26","autoBoot":true,"imports":{"/1/module/amd/1/l/en-US/mi/%40lwrjs%2Fapp-service%2Famd-bootstrap%2Fmodule%2Famd%2Fv%2F0_12_0-alpha_26/s/8bce578258518655194bd71d1d72aad5/@lwrjs_app-service_amd-bootstrap_module_amd.js":["@lwrjs/app-service/amd-bootstrap/module/amd/v/0_12_0-alpha_26"],"/1/module/amd/1/l/en-US/mi/lwr%2FpreInit%2Fv%2F0_12_0-alpha_26/s/ec0fad0e38a96bb0b88c9f4553460347/lwr_preInit.js":["lwr/preInit/v/0_12_0-alpha_26"],"/1/module/amd/1/l/en-US/mi/lwr%2Finit%2Fv%2F0_12_0-alpha_26/s/f30361ad8ff7af505bf4d465c8499181/lwr_init.js":["lwr/init/v/0_12_0-alpha_26"],"/1/module/amd/1/l/en-US/mi/lwr%2Fmetrics%2Fv%2F0_12_0-alpha_26/s/274c8343f810353bbad085a79709395f/lwr_metrics.js":["lwr/metrics/v/0_12_0-alpha_26"],"/1/module/amd/1/l/en-US/mi/lwr%2Fprofiler%2Fv%2F0_12_0-alpha_26/s/a152b8d35f12ca1b5147c5cd1ee155fb/lwr_profiler.js":["lwr/profiler/v/0_12_0-alpha_26"],"/1/module/amd/1/l/en-US/mi/lwc%2Fv%2F6_3_2/s/23bea0d197119b82d9452baf31b2d156/lwc.js":["lwc/v/6_3_2"],"/1/module/amd/1/l/en-US/mi/lwr%2FeverywhereAmd%2Fv%2F0_12_0-alpha_26/s/cb931ebef2b89dcf8ab51456e3a68864/lwr_everywhereAmd.js":["lwr/everywhereAmd/v/0_12_0-alpha_26"],"/1/module/amd/1/l/en-US/mi/lwr%2Fvault%2Fv%2F0_12_0-alpha_26/s/c92abd8c1fec2d7eff62e4b097abbe14/lwr_vault.js":["lwr/vault/v/0_12_0-alpha_26"]},"index":{"@lwrjs/app-service/amd-bootstrap/module/amd/v/0_12_0-alpha_26":"/1/module/amd/1/l/en-US/mi/%40lwrjs%2Fapp-service%2Famd-bootstrap%2Fmodule%2Famd%2Fv%2F0_12_0-alpha_26/s/8bce578258518655194bd71d1d72aad5/@lwrjs_app-service_amd-bootstrap_module_amd.js","lwr/preInit/v/0_12_0-alpha_26":"/1/module/amd/1/l/en-US/mi/lwr%2FpreInit%2Fv%2F0_12_0-alpha_26/s/ec0fad0e38a96bb0b88c9f4553460347/lwr_preInit.js","lwr/init/v/0_12_0-alpha_26":"/1/module/amd/1/l/en-US/mi/lwr%2Finit%2Fv%2F0_12_0-alpha_26/s/f30361ad8ff7af505bf4d465c8499181/lwr_init.js","lwr/metrics/v/0_12_0-alpha_26":"/1/module/amd/1/l/en-US/mi/lwr%2Fmetrics%2Fv%2F0_12_0-alpha_26/s/274c8343f810353bbad085a79709395f/lwr_metrics.js","lwr/profiler/v/0_12_0-alpha_26":"/1/module/amd/1/l/en-US/mi/lwr%2Fprofiler%2Fv%2F0_12_0-alpha_26/s/a152b8d35f12ca1b5147c5cd1ee155fb/lwr_profiler.js","lwc/v/6_3_2":"/1/module/amd/1/l/en-US/mi/lwc%2Fv%2F6_3_2/s/23bea0d197119b82d9452baf31b2d156/lwc.js","lwr/everywhereAmd/v/0_12_0-alpha_26":"/1/module/amd/1/l/en-US/mi/lwr%2FeverywhereAmd%2Fv%2F0_12_0-alpha_26/s/cb931ebef2b89dcf8ab51456e3a68864/lwr_everywhereAmd.js","lwr/vault/v/0_12_0-alpha_26":"/1/module/amd/1/l/en-US/mi/lwr%2Fvault%2Fv%2F0_12_0-alpha_26/s/c92abd8c1fec2d7eff62e4b097abbe14/lwr_vault.js"},"rootComponents":["lwr/everywhereAmd/v/0_12_0-alpha_26"],"serverData":{},"requiredModules":["@lwrjs/app-service/amd-bootstrap/module/amd/v/0_12_0-alpha_26"],"preloadModules":["lwr/preInit/v/0_12_0-alpha_26","lwr/init/v/0_12_0-alpha_26","lwr/metrics/v/0_12_0-alpha_26","lwc/v/6_3_2","lwr/everywhereAmd/v/0_12_0-alpha_26"],"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%2Floader%2Fv%2F0_12_0-alpha_26/s/fe7f7b705c87c74c9c57e9328c1eb832/lwr_loader.js":["lwr/loader/v/0_12_0-alpha_26"]})
|
|
11
|
+
if (!globalThis.LWR.index) { globalThis.LWR.index = {}; }
|
|
12
|
+
Object.assign(globalThis.LWR.index, {"lwr/loader/v/0_12_0-alpha_26":"/1/module/amd/1/l/en-US/mi/lwr%2Floader%2Fv%2F0_12_0-alpha_26/s/fe7f7b705c87c74c9c57e9328c1eb832/lwr_loader.js"})
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
LWR.define('@lwrjs/app-service/amd-bootstrap/module/amd/v/0_12_0-alpha_26', ['lwr/loader/v/0_12_0-alpha_26', 'lwr/preInit/v/0_12_0-alpha_26', 'lwr/init/v/0_12_0-alpha_26'], (function (_0_12_0Alpha_26$2, _0_12_0Alpha_26, _0_12_0Alpha_26$1) { 'use strict';
|
|
2
|
+
|
|
3
|
+
const clientBootstrapConfig = _0_12_0Alpha_26.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_12_0Alpha_26$1.toKebabCase(rootSpecifier);
|
|
9
|
+
return _0_12_0Alpha_26$2.load(rootSpecifier, '@lwrjs/app-service/amd-bootstrap/module/amd/v/0_12_0-alpha_26').then(({default: Ctor}) => {
|
|
10
|
+
_0_12_0Alpha_26$1.init([[element, Ctor]], serverData);
|
|
11
|
+
});
|
|
12
|
+
}));
|
|
13
|
+
|
|
14
|
+
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
LWR.define('lwc/v/
|
|
1
|
+
LWR.define('lwc/v/6_3_2', ['exports'], (function (exports) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Copyright (c) 2024 Salesforce, Inc.
|
|
@@ -302,14 +302,14 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
302
302
|
case 0 /* APIFeature.LOWERCASE_SCOPE_TOKENS */:
|
|
303
303
|
case 1 /* APIFeature.TREAT_ALL_PARSE5_ERRORS_AS_ERRORS */:
|
|
304
304
|
return apiVersion >= 59 /* APIVersion.V59_246_WINTER_24 */;
|
|
305
|
-
case 2 /* APIFeature.USE_FRAGMENTS_FOR_LIGHT_DOM_SLOTS */:
|
|
306
305
|
case 3 /* APIFeature.DISABLE_OBJECT_REST_SPREAD_TRANSFORMATION */:
|
|
307
306
|
case 4 /* APIFeature.SKIP_UNNECESSARY_REGISTER_DECORATORS */:
|
|
308
307
|
case 5 /* APIFeature.USE_COMMENTS_FOR_FRAGMENT_BOOKENDS */:
|
|
308
|
+
case 2 /* APIFeature.USE_FRAGMENTS_FOR_LIGHT_DOM_SLOTS */:
|
|
309
309
|
return apiVersion >= 60 /* APIVersion.V60_248_SPRING_24 */;
|
|
310
|
-
case
|
|
310
|
+
case 8 /* APIFeature.ENABLE_ELEMENT_INTERNALS_AND_FACE */:
|
|
311
311
|
case 7 /* APIFeature.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE */:
|
|
312
|
-
case
|
|
312
|
+
case 6 /* APIFeature.USE_LIGHT_DOM_SLOT_FORWARDING */:
|
|
313
313
|
return apiVersion >= 61 /* APIVersion.V61_250_SUMMER_24 */;
|
|
314
314
|
}
|
|
315
315
|
}
|
|
@@ -440,9 +440,9 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
440
440
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
441
441
|
*/
|
|
442
442
|
// Increment whenever the LWC template compiler changes
|
|
443
|
-
const LWC_VERSION = "6.3.
|
|
443
|
+
const LWC_VERSION = "6.3.2";
|
|
444
444
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
445
|
-
/** version: 6.3.
|
|
445
|
+
/** version: 6.3.2 */
|
|
446
446
|
|
|
447
447
|
/**
|
|
448
448
|
* Copyright (c) 2024 Salesforce, Inc.
|
|
@@ -530,7 +530,7 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
530
530
|
setFeatureFlag(name, value);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
|
-
/** version: 6.3.
|
|
533
|
+
/** version: 6.3.2 */
|
|
534
534
|
|
|
535
535
|
/**
|
|
536
536
|
* Copyright (c) 2024 Salesforce, Inc.
|
|
@@ -1032,6 +1032,16 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
1032
1032
|
}
|
|
1033
1033
|
return data;
|
|
1034
1034
|
}
|
|
1035
|
+
function shouldBeFormAssociated(Ctor) {
|
|
1036
|
+
const ctorFormAssociated = Boolean(Ctor.formAssociated);
|
|
1037
|
+
const apiVersion = getComponentAPIVersion(Ctor);
|
|
1038
|
+
const apiFeatureEnabled = isAPIFeatureEnabled(8 /* APIFeature.ENABLE_ELEMENT_INTERNALS_AND_FACE */, apiVersion);
|
|
1039
|
+
if (process.env.NODE_ENV !== 'production' && ctorFormAssociated && !apiFeatureEnabled) {
|
|
1040
|
+
const tagName = getComponentRegisteredName(Ctor);
|
|
1041
|
+
logWarnOnce(`Component <${tagName}> set static formAssociated to true, but form ` + `association is not enabled because the API version is ${apiVersion}. To enable form association, ` + `update the LWC component API version to 61 or above. https://lwc.dev/guide/versioning`);
|
|
1042
|
+
}
|
|
1043
|
+
return ctorFormAssociated && apiFeatureEnabled;
|
|
1044
|
+
}
|
|
1035
1045
|
|
|
1036
1046
|
/*
|
|
1037
1047
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -1738,7 +1748,7 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
1738
1748
|
valueMutated(originalTarget, key);
|
|
1739
1749
|
return true;
|
|
1740
1750
|
}
|
|
1741
|
-
/*LWC compiler v6.3.
|
|
1751
|
+
/*LWC compiler v6.3.2*/
|
|
1742
1752
|
}
|
|
1743
1753
|
const getterMap = new WeakMap();
|
|
1744
1754
|
const setterMap = new WeakMap();
|
|
@@ -1831,7 +1841,7 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
1831
1841
|
/* istanbul ignore next */
|
|
1832
1842
|
return false;
|
|
1833
1843
|
}
|
|
1834
|
-
/*LWC compiler v6.3.
|
|
1844
|
+
/*LWC compiler v6.3.2*/
|
|
1835
1845
|
}
|
|
1836
1846
|
function extract(objectOrArray) {
|
|
1837
1847
|
if (isArray(objectOrArray)) {
|
|
@@ -2433,8 +2443,8 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
2433
2443
|
attachInternals
|
|
2434
2444
|
}
|
|
2435
2445
|
} = vm;
|
|
2436
|
-
if (!isAPIFeatureEnabled(8 /* APIFeature.
|
|
2437
|
-
throw new Error(`The attachInternals API is only supported in API version 61 and above. To use this API
|
|
2446
|
+
if (!isAPIFeatureEnabled(8 /* APIFeature.ENABLE_ELEMENT_INTERNALS_AND_FACE */, apiVersion)) {
|
|
2447
|
+
throw new Error(`The attachInternals API is only supported in API version 61 and above. ` + `The current version is ${apiVersion}. ` + `To use this API, update the LWC component API version. https://lwc.dev/guide/versioning`);
|
|
2438
2448
|
}
|
|
2439
2449
|
if (vm.shadowMode === 1 /* ShadowMode.Synthetic */) {
|
|
2440
2450
|
throw new Error('attachInternals API is not supported in synthetic shadow.');
|
|
@@ -2681,11 +2691,10 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
2681
2691
|
*/
|
|
2682
2692
|
const AdapterToTokenMap = new Map();
|
|
2683
2693
|
function createContextProviderWithRegister(adapter, registerContextProvider) {
|
|
2684
|
-
|
|
2685
|
-
if (!isUndefined$1(adapterContextToken)) {
|
|
2694
|
+
if (AdapterToTokenMap.has(adapter)) {
|
|
2686
2695
|
throw new Error(`Adapter already has a context provider.`);
|
|
2687
2696
|
}
|
|
2688
|
-
adapterContextToken = guid();
|
|
2697
|
+
const adapterContextToken = guid();
|
|
2689
2698
|
AdapterToTokenMap.set(adapter, adapterContextToken);
|
|
2690
2699
|
const providers = new WeakSet();
|
|
2691
2700
|
return (elmOrComponent, options) => {
|
|
@@ -3539,7 +3548,7 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
3539
3548
|
}
|
|
3540
3549
|
function HTMLBridgeElementFactory(SuperClass, publicProperties, methods, observedFields, proto, hasCustomSuperClass) {
|
|
3541
3550
|
const HTMLBridgeElement = class extends SuperClass {
|
|
3542
|
-
/*LWC compiler v6.3.
|
|
3551
|
+
/*LWC compiler v6.3.2*/
|
|
3543
3552
|
};
|
|
3544
3553
|
// generating the hash table for attributes to avoid duplicate fields and facilitate validation
|
|
3545
3554
|
// and false positives in case of inheritance.
|
|
@@ -5102,7 +5111,7 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
5102
5111
|
// compatibility, we lower case the tagname here.
|
|
5103
5112
|
const normalizedTagname = sel.toLowerCase();
|
|
5104
5113
|
const useNativeLifecycle = shouldUseNativeCustomElementLifecycle(ctor);
|
|
5105
|
-
const isFormAssociated =
|
|
5114
|
+
const isFormAssociated = shouldBeFormAssociated(ctor);
|
|
5106
5115
|
const elm = createCustomElement(normalizedTagname, upgradeCallback, useNativeLifecycle, isFormAssociated);
|
|
5107
5116
|
vnode.elm = elm;
|
|
5108
5117
|
vnode.vm = vm;
|
|
@@ -7949,7 +7958,8 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
7949
7958
|
defineCustomElement,
|
|
7950
7959
|
getTagName
|
|
7951
7960
|
} = renderer;
|
|
7952
|
-
|
|
7961
|
+
const isFormAssociated = shouldBeFormAssociated(ctor);
|
|
7962
|
+
defineCustomElement(StringToLowerCase.call(getTagName(elm)), isFormAssociated);
|
|
7953
7963
|
const vm = createVM(elm, ctor, renderer, {
|
|
7954
7964
|
mode,
|
|
7955
7965
|
owner,
|
|
@@ -8547,7 +8557,7 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
8547
8557
|
}
|
|
8548
8558
|
return getReadOnlyProxy(obj);
|
|
8549
8559
|
}
|
|
8550
|
-
/** version: 6.3.
|
|
8560
|
+
/** version: 6.3.2 */
|
|
8551
8561
|
|
|
8552
8562
|
/*
|
|
8553
8563
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -8795,7 +8805,7 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
8795
8805
|
// TODO [#2970]: LWC elements cannot be upgraded via new Ctor()
|
|
8796
8806
|
// Do we want to support this? Throw an error? Currently for backwards compat it's a no-op.
|
|
8797
8807
|
}
|
|
8798
|
-
/*LWC compiler v6.3.
|
|
8808
|
+
/*LWC compiler v6.3.2*/
|
|
8799
8809
|
}
|
|
8800
8810
|
UpgradableConstructor.formAssociated = isFormAssociated;
|
|
8801
8811
|
for (const [propName, callback] of entries(LIFECYCLE_CALLBACKS)) {
|
|
@@ -8923,7 +8933,7 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
8923
8933
|
function isNull(obj) {
|
|
8924
8934
|
return obj === null;
|
|
8925
8935
|
}
|
|
8926
|
-
/** version: 6.3.
|
|
8936
|
+
/** version: 6.3.2 */
|
|
8927
8937
|
|
|
8928
8938
|
/*
|
|
8929
8939
|
* Copyright (c) 2023, salesforce.com, inc.
|
|
@@ -8943,7 +8953,7 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
8943
8953
|
this.setNewContext = setNewContext;
|
|
8944
8954
|
this.setDisconnectedCallback = setDisconnectedCallback;
|
|
8945
8955
|
}
|
|
8946
|
-
/*LWC compiler v6.3.
|
|
8956
|
+
/*LWC compiler v6.3.2*/
|
|
8947
8957
|
}
|
|
8948
8958
|
function registerContextConsumer(elm, adapterContextToken, subscriptionPayload) {
|
|
8949
8959
|
dispatchEvent(elm, new WireContextSubscriptionEvent(adapterContextToken, subscriptionPayload));
|
|
@@ -9234,7 +9244,8 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
9234
9244
|
defineCustomElement,
|
|
9235
9245
|
getTagName
|
|
9236
9246
|
} = renderer;
|
|
9237
|
-
|
|
9247
|
+
const isFormAssociated = shouldBeFormAssociated(Ctor);
|
|
9248
|
+
defineCustomElement(StringToLowerCase.call(getTagName(element)), isFormAssociated);
|
|
9238
9249
|
const vm = createVMWithProps(element, Ctor, props);
|
|
9239
9250
|
hydrateRoot(vm);
|
|
9240
9251
|
} catch (e) {
|
|
@@ -9352,7 +9363,7 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
9352
9363
|
formStateRestoreCallback() {
|
|
9353
9364
|
runFormStateRestoreCallback(this);
|
|
9354
9365
|
}
|
|
9355
|
-
/*LWC compiler v6.3.
|
|
9366
|
+
/*LWC compiler v6.3.2*/
|
|
9356
9367
|
}, _a.observedAttributes = observedAttributes,
|
|
9357
9368
|
// Note CustomElementConstructor is not upgraded by LWC and inherits directly from HTMLElement which means it calls the native
|
|
9358
9369
|
// attachInternals API.
|
|
@@ -9453,7 +9464,7 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
9453
9464
|
const useNativeCustomElementLifecycle =
|
|
9454
9465
|
// temporary "kill switch"
|
|
9455
9466
|
!lwcRuntimeFlags.DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE && isAPIFeatureEnabled(7 /* APIFeature.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE */, apiVersion);
|
|
9456
|
-
const isFormAssociated =
|
|
9467
|
+
const isFormAssociated = shouldBeFormAssociated(Ctor);
|
|
9457
9468
|
// the custom element from the registry is expecting an upgrade callback
|
|
9458
9469
|
/*
|
|
9459
9470
|
* Note: if the upgradable constructor does not expect, or throw when we new it
|
|
@@ -9585,7 +9596,7 @@ LWR.define('lwc/v/6_3_1', ['exports'], (function (exports) { 'use strict';
|
|
|
9585
9596
|
});
|
|
9586
9597
|
});
|
|
9587
9598
|
}
|
|
9588
|
-
/** version: 6.3.
|
|
9599
|
+
/** version: 6.3.2 */
|
|
9589
9600
|
|
|
9590
9601
|
exports.LightningElement = LightningElement;
|
|
9591
9602
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
LWR.define('lwr/everywhereAmd/v/0_12_0-
|
|
1
|
+
LWR.define('lwr/everywhereAmd/v/0_12_0-alpha_26', ['exports', 'lwr/vault/v/0_12_0-alpha_26'], (function (exports, _0_12_0Alpha_26) { '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_12_0Alpha_26.getAuthInfo();
|
|
8
8
|
if (authInfo) {
|
|
9
9
|
return fetch(url, {
|
|
10
10
|
headers: {
|
|
@@ -53,7 +53,7 @@ LWR.define('lwr/everywhereAmd/v/0_12_0-alpha_24', ['exports', 'lwr/vault/v/0_12_
|
|
|
53
53
|
function authenticate(authInfo) {
|
|
54
54
|
// Put OAuth info into the vault
|
|
55
55
|
if (authInfo) {
|
|
56
|
-
|
|
56
|
+
_0_12_0Alpha_26.setAuthInfo(authInfo);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
LWR.define('lwr/init/v/0_12_0-
|
|
1
|
+
LWR.define('lwr/init/v/0_12_0-alpha_26', ['exports', 'lwr/metrics/v/0_12_0-alpha_26', 'lwr/profiler/v/0_12_0-alpha_26', 'lwc/v/6_3_2'], (function (exports, _0_12_0Alpha_26$1, _0_12_0Alpha_26, _6_3_2) { 'use strict';
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
4
4
|
|
|
5
5
|
// <hydrateComponentProxy> - This code is removed in core
|
|
6
6
|
|
|
7
7
|
function hydrateComponentProxy(customElement, Ctor, props) {
|
|
8
|
-
|
|
8
|
+
_6_3_2.hydrateComponent(customElement, Ctor, props);
|
|
9
9
|
}
|
|
10
10
|
// </hydrateComponentProxy>
|
|
11
11
|
|
|
12
12
|
function initializeWebComponent(elementName, Ctor) {
|
|
13
|
-
return
|
|
13
|
+
return _6_3_2.createElement(elementName, {
|
|
14
14
|
is: Ctor
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -47,13 +47,13 @@ LWR.define('lwr/init/v/0_12_0-alpha_24', ['exports', 'lwr/metrics/v/0_12_0-alpha
|
|
|
47
47
|
*/
|
|
48
48
|
function init(rootModules, serverData = {}) {
|
|
49
49
|
if (typeof customElements === 'undefined' || typeof document === 'undefined') {
|
|
50
|
-
|
|
51
|
-
id:
|
|
50
|
+
_0_12_0Alpha_26.logOperationStart({
|
|
51
|
+
id: _0_12_0Alpha_26$1.BOOTSTRAP_END
|
|
52
52
|
});
|
|
53
53
|
return;
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
id:
|
|
55
|
+
_0_12_0Alpha_26.logOperationStart({
|
|
56
|
+
id: _0_12_0Alpha_26$1.INIT
|
|
57
57
|
});
|
|
58
58
|
let index = 0;
|
|
59
59
|
for (const [specifier, ctor] of rootModules) {
|
|
@@ -61,8 +61,8 @@ LWR.define('lwr/init/v/0_12_0-alpha_24', ['exports', 'lwr/metrics/v/0_12_0-alpha
|
|
|
61
61
|
|
|
62
62
|
// initialize and inject the root module into the LWR Root or DOM if it is missing
|
|
63
63
|
if (!document.body.querySelector(elementName)) {
|
|
64
|
-
|
|
65
|
-
id:
|
|
64
|
+
_0_12_0Alpha_26.logOperationStart({
|
|
65
|
+
id: _0_12_0Alpha_26$1.INIT_MODULE,
|
|
66
66
|
specifier,
|
|
67
67
|
specifierIndex: ++index
|
|
68
68
|
});
|
|
@@ -71,8 +71,8 @@ LWR.define('lwr/init/v/0_12_0-alpha_24', ['exports', 'lwr/metrics/v/0_12_0-alpha
|
|
|
71
71
|
const component = initializeWebComponent(elementName, ctor);
|
|
72
72
|
const container = document.querySelector('[lwr-root]');
|
|
73
73
|
container ? container.appendChild(component) : document.body.appendChild(component);
|
|
74
|
-
|
|
75
|
-
id:
|
|
74
|
+
_0_12_0Alpha_26.logOperationEnd({
|
|
75
|
+
id: _0_12_0Alpha_26$1.INIT_MODULE,
|
|
76
76
|
specifier,
|
|
77
77
|
specifierIndex: index,
|
|
78
78
|
metadata: {
|
|
@@ -85,8 +85,8 @@ LWR.define('lwr/init/v/0_12_0-alpha_24', ['exports', 'lwr/metrics/v/0_12_0-alpha
|
|
|
85
85
|
// the page has been rendered or SSR'd, and each component needs to initialized(or hydrated)
|
|
86
86
|
const elements = document.querySelectorAll(elementName);
|
|
87
87
|
for (const element of elements) {
|
|
88
|
-
|
|
89
|
-
id:
|
|
88
|
+
_0_12_0Alpha_26.logOperationStart({
|
|
89
|
+
id: _0_12_0Alpha_26$1.INIT_MODULE,
|
|
90
90
|
specifier,
|
|
91
91
|
specifierIndex: ++index
|
|
92
92
|
});
|
|
@@ -97,8 +97,8 @@ LWR.define('lwr/init/v/0_12_0-alpha_24', ['exports', 'lwr/metrics/v/0_12_0-alpha
|
|
|
97
97
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
98
98
|
// @ts-ignore
|
|
99
99
|
hydrateComponentProxy(element, ctor, serverData[propsId] || {});
|
|
100
|
-
|
|
101
|
-
id:
|
|
100
|
+
_0_12_0Alpha_26.logOperationEnd({
|
|
101
|
+
id: _0_12_0Alpha_26$1.INIT_MODULE,
|
|
102
102
|
specifier,
|
|
103
103
|
specifierIndex: index,
|
|
104
104
|
metadata: {
|
|
@@ -136,8 +136,8 @@ LWR.define('lwr/init/v/0_12_0-alpha_24', ['exports', 'lwr/metrics/v/0_12_0-alpha
|
|
|
136
136
|
if (parent) {
|
|
137
137
|
parent.replaceChild(component, element);
|
|
138
138
|
}
|
|
139
|
-
|
|
140
|
-
id:
|
|
139
|
+
_0_12_0Alpha_26.logOperationEnd({
|
|
140
|
+
id: _0_12_0Alpha_26$1.INIT_MODULE,
|
|
141
141
|
specifier,
|
|
142
142
|
specifierIndex: index,
|
|
143
143
|
metadata: {
|
|
@@ -146,11 +146,11 @@ LWR.define('lwr/init/v/0_12_0-alpha_24', ['exports', 'lwr/metrics/v/0_12_0-alpha
|
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
|
|
150
|
-
id:
|
|
149
|
+
_0_12_0Alpha_26.logOperationEnd({
|
|
150
|
+
id: _0_12_0Alpha_26$1.INIT
|
|
151
151
|
});
|
|
152
|
-
|
|
153
|
-
id:
|
|
152
|
+
_0_12_0Alpha_26.logOperationStart({
|
|
153
|
+
id: _0_12_0Alpha_26$1.BOOTSTRAP_END
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
156
|
|