lwc 2.23.0 → 2.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +29 -24
- package/dist/engine-dom/iife/es2017/engine-dom.js +29 -24
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +18 -13
- package/dist/engine-dom/iife/es5/engine-dom.js +30 -24
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +19 -13
- package/dist/engine-dom/umd/es2017/engine-dom.js +29 -24
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +18 -13
- package/dist/engine-dom/umd/es5/engine-dom.js +30 -24
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +19 -13
- package/dist/engine-server/commonjs/es2017/engine-server.js +19 -19
- package/dist/engine-server/esm/es2017/engine-server.js +19 -19
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +20 -20
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +20 -20
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +19 -19
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +20 -20
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +19 -19
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +20 -20
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +19 -19
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +20 -20
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +19 -19
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -299,9 +299,13 @@ function htmlPropertyToAttribute(propName) {
|
|
|
299
299
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
300
300
|
*/
|
|
301
301
|
// Increment whenever the LWC template compiler changes
|
|
302
|
-
const LWC_VERSION = "2.23.
|
|
302
|
+
const LWC_VERSION = "2.23.1";
|
|
303
303
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
304
|
-
/** version: 2.23.
|
|
304
|
+
/** version: 2.23.1 */
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Copyright (C) 2018 salesforce.com, inc.
|
|
308
|
+
*/
|
|
305
309
|
|
|
306
310
|
/*
|
|
307
311
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -310,7 +314,7 @@ const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
|
310
314
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
311
315
|
*/
|
|
312
316
|
function detect(propName) {
|
|
313
|
-
return
|
|
317
|
+
return getOwnPropertyDescriptor$1(Element.prototype, propName) === undefined;
|
|
314
318
|
}
|
|
315
319
|
|
|
316
320
|
/*
|
|
@@ -379,6 +383,7 @@ for (let i = 0, len = ElementPrototypeAriaPropertyNames.length; i < len; i += 1)
|
|
|
379
383
|
patch$1(propName);
|
|
380
384
|
}
|
|
381
385
|
}
|
|
386
|
+
/** version: 2.23.1 */
|
|
382
387
|
|
|
383
388
|
/**
|
|
384
389
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -406,7 +411,7 @@ const features = {
|
|
|
406
411
|
if (!_globalThis.lwcRuntimeFlags) {
|
|
407
412
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
408
413
|
}
|
|
409
|
-
const
|
|
414
|
+
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
410
415
|
/**
|
|
411
416
|
* Set the value at runtime of a given feature flag. This method only be invoked once per feature
|
|
412
417
|
* flag. It is meant to be used during the app initialization.
|
|
@@ -433,17 +438,17 @@ function setFeatureFlag(name, value) {
|
|
|
433
438
|
}
|
|
434
439
|
if (process.env.NODE_ENV !== 'production') {
|
|
435
440
|
// Allow the same flag to be set more than once outside of production to enable testing
|
|
436
|
-
|
|
441
|
+
lwcRuntimeFlags[name] = value;
|
|
437
442
|
}
|
|
438
443
|
else {
|
|
439
444
|
// Disallow the same flag to be set more than once in production
|
|
440
|
-
const runtimeValue =
|
|
445
|
+
const runtimeValue = lwcRuntimeFlags[name];
|
|
441
446
|
if (!isUndefined$1(runtimeValue)) {
|
|
442
447
|
// eslint-disable-next-line no-console
|
|
443
448
|
console.error(`Failed to set the value "${value}" for the runtime feature flag "${name}". "${name}" has already been set with the value "${runtimeValue}".`);
|
|
444
449
|
return;
|
|
445
450
|
}
|
|
446
|
-
defineProperty(
|
|
451
|
+
defineProperty(lwcRuntimeFlags, name, { value });
|
|
447
452
|
}
|
|
448
453
|
}
|
|
449
454
|
/**
|
|
@@ -455,7 +460,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
455
460
|
setFeatureFlag(name, value);
|
|
456
461
|
}
|
|
457
462
|
}
|
|
458
|
-
/** version: 2.23.
|
|
463
|
+
/** version: 2.23.1 */
|
|
459
464
|
|
|
460
465
|
/*
|
|
461
466
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -469,7 +474,7 @@ if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
|
|
469
474
|
window.addEventListener('test-dummy-flag', () => {
|
|
470
475
|
let hasFlag = false;
|
|
471
476
|
|
|
472
|
-
if (
|
|
477
|
+
if (lwcRuntimeFlags.DUMMY_TEST_FLAG) {
|
|
473
478
|
hasFlag = true;
|
|
474
479
|
}
|
|
475
480
|
|
|
@@ -496,7 +501,7 @@ if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
|
|
496
501
|
window.addEventListener('test-dummy-flag', () => {
|
|
497
502
|
let hasFlag = false;
|
|
498
503
|
|
|
499
|
-
if (
|
|
504
|
+
if (lwcRuntimeFlags.DUMMY_TEST_FLAG) {
|
|
500
505
|
hasFlag = true;
|
|
501
506
|
}
|
|
502
507
|
|
|
@@ -2324,7 +2329,7 @@ function createPublicAccessorDescriptor(key, descriptor) {
|
|
|
2324
2329
|
}
|
|
2325
2330
|
|
|
2326
2331
|
if (set) {
|
|
2327
|
-
if (
|
|
2332
|
+
if (lwcRuntimeFlags.ENABLE_REACTIVE_SETTER) {
|
|
2328
2333
|
let ro = vm.oar[key];
|
|
2329
2334
|
|
|
2330
2335
|
if (isUndefined$1(ro)) {
|
|
@@ -2976,7 +2981,7 @@ function getTemplateOrSwappedTemplate(tpl) {
|
|
|
2976
2981
|
throw new ReferenceError();
|
|
2977
2982
|
}
|
|
2978
2983
|
|
|
2979
|
-
if (
|
|
2984
|
+
if (lwcRuntimeFlags.ENABLE_HMR) {
|
|
2980
2985
|
const visited = new Set();
|
|
2981
2986
|
|
|
2982
2987
|
while (swappedTemplateMap.has(tpl) && !visited.has(tpl)) {
|
|
@@ -2993,7 +2998,7 @@ function getComponentOrSwappedComponent(Ctor) {
|
|
|
2993
2998
|
throw new ReferenceError();
|
|
2994
2999
|
}
|
|
2995
3000
|
|
|
2996
|
-
if (
|
|
3001
|
+
if (lwcRuntimeFlags.ENABLE_HMR) {
|
|
2997
3002
|
const visited = new Set();
|
|
2998
3003
|
|
|
2999
3004
|
while (swappedComponentMap.has(Ctor) && !visited.has(Ctor)) {
|
|
@@ -3010,7 +3015,7 @@ function getStyleOrSwappedStyle(style) {
|
|
|
3010
3015
|
throw new ReferenceError();
|
|
3011
3016
|
}
|
|
3012
3017
|
|
|
3013
|
-
if (
|
|
3018
|
+
if (lwcRuntimeFlags.ENABLE_HMR) {
|
|
3014
3019
|
const visited = new Set();
|
|
3015
3020
|
|
|
3016
3021
|
while (swappedStyleMap.has(style) && !visited.has(style)) {
|
|
@@ -3027,7 +3032,7 @@ function setActiveVM(vm) {
|
|
|
3027
3032
|
throw new ReferenceError();
|
|
3028
3033
|
}
|
|
3029
3034
|
|
|
3030
|
-
if (
|
|
3035
|
+
if (lwcRuntimeFlags.ENABLE_HMR) {
|
|
3031
3036
|
// tracking active component
|
|
3032
3037
|
const Ctor = vm.def.ctor;
|
|
3033
3038
|
let componentVMs = activeComponents.get(Ctor);
|
|
@@ -3084,7 +3089,7 @@ function removeActiveVM(vm) {
|
|
|
3084
3089
|
throw new ReferenceError();
|
|
3085
3090
|
}
|
|
3086
3091
|
|
|
3087
|
-
if (
|
|
3092
|
+
if (lwcRuntimeFlags.ENABLE_HMR) {
|
|
3088
3093
|
// tracking inactive component
|
|
3089
3094
|
const Ctor = vm.def.ctor;
|
|
3090
3095
|
let list = activeComponents.get(Ctor);
|
|
@@ -3131,7 +3136,7 @@ function swapTemplate(oldTpl, newTpl) {
|
|
|
3131
3136
|
}
|
|
3132
3137
|
}
|
|
3133
3138
|
|
|
3134
|
-
if (!
|
|
3139
|
+
if (!lwcRuntimeFlags.ENABLE_HMR) {
|
|
3135
3140
|
throw new Error('HMR is not enabled');
|
|
3136
3141
|
}
|
|
3137
3142
|
|
|
@@ -3147,7 +3152,7 @@ function swapComponent(oldComponent, newComponent) {
|
|
|
3147
3152
|
}
|
|
3148
3153
|
}
|
|
3149
3154
|
|
|
3150
|
-
if (!
|
|
3155
|
+
if (!lwcRuntimeFlags.ENABLE_HMR) {
|
|
3151
3156
|
throw new Error('HMR is not enabled');
|
|
3152
3157
|
}
|
|
3153
3158
|
|
|
@@ -3161,7 +3166,7 @@ function swapStyle(oldStyle, newStyle) {
|
|
|
3161
3166
|
return rehydrateHotStyle(oldStyle);
|
|
3162
3167
|
}
|
|
3163
3168
|
|
|
3164
|
-
if (!
|
|
3169
|
+
if (!lwcRuntimeFlags.ENABLE_HMR) {
|
|
3165
3170
|
throw new Error('HMR is not enabled');
|
|
3166
3171
|
}
|
|
3167
3172
|
|
|
@@ -5445,7 +5450,7 @@ function createVM(elm, ctor, renderer, options) {
|
|
|
5445
5450
|
return `[object:vm ${def.name} (${vm.idx})]`;
|
|
5446
5451
|
};
|
|
5447
5452
|
|
|
5448
|
-
if (
|
|
5453
|
+
if (lwcRuntimeFlags.ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST) {
|
|
5449
5454
|
vm.shadowMode = 0
|
|
5450
5455
|
/* ShadowMode.Native */
|
|
5451
5456
|
;
|
|
@@ -5484,7 +5489,7 @@ function computeShadowMode(vm, renderer) {
|
|
|
5484
5489
|
} else if (isNativeShadowDefined) {
|
|
5485
5490
|
// Not combined with above condition because @lwc/features only supports identifiers in
|
|
5486
5491
|
// the if-condition.
|
|
5487
|
-
if (
|
|
5492
|
+
if (lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE) {
|
|
5488
5493
|
if (def.shadowSupportMode === "any"
|
|
5489
5494
|
/* ShadowSupportMode.Any */
|
|
5490
5495
|
) {
|
|
@@ -6191,7 +6196,7 @@ function installWireAdapters(vm) {
|
|
|
6191
6196
|
ArrayPush$1.call(wiredConnecting, () => {
|
|
6192
6197
|
connector.connect();
|
|
6193
6198
|
|
|
6194
|
-
if (!
|
|
6199
|
+
if (!lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT) {
|
|
6195
6200
|
if (hasDynamicParams) {
|
|
6196
6201
|
Promise.resolve().then(computeConfigAndUpdate);
|
|
6197
6202
|
return;
|
|
@@ -6797,7 +6802,7 @@ function getComponentConstructor(elm) {
|
|
|
6797
6802
|
}
|
|
6798
6803
|
return ctor;
|
|
6799
6804
|
}
|
|
6800
|
-
/* version: 2.23.
|
|
6805
|
+
/* version: 2.23.1 */
|
|
6801
6806
|
|
|
6802
6807
|
/*
|
|
6803
6808
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7521,6 +7526,6 @@ defineProperty(LightningElement, 'CustomElementConstructor', {
|
|
|
7521
7526
|
});
|
|
7522
7527
|
freeze(LightningElement);
|
|
7523
7528
|
seal(LightningElement.prototype);
|
|
7524
|
-
/* version: 2.23.
|
|
7529
|
+
/* version: 2.23.1 */
|
|
7525
7530
|
|
|
7526
7531
|
export { LightningElement, profilerControl as __unstable__ProfilerControl, api$1 as api, deprecatedBuildCustomElementConstructor as buildCustomElementConstructor, createContextProvider, createElement, freezeTemplate, getComponentConstructor, getComponentDef, hydrateComponent, isComponentConstructor, isNodeShadowed as isNodeFromTemplate, parseFragment, parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
@@ -302,9 +302,13 @@ var LWC = (function (exports) {
|
|
|
302
302
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
303
303
|
*/
|
|
304
304
|
// Increment whenever the LWC template compiler changes
|
|
305
|
-
const LWC_VERSION = "2.23.
|
|
305
|
+
const LWC_VERSION = "2.23.1";
|
|
306
306
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
307
|
-
/** version: 2.23.
|
|
307
|
+
/** version: 2.23.1 */
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Copyright (C) 2018 salesforce.com, inc.
|
|
311
|
+
*/
|
|
308
312
|
|
|
309
313
|
/*
|
|
310
314
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -313,7 +317,7 @@ var LWC = (function (exports) {
|
|
|
313
317
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
314
318
|
*/
|
|
315
319
|
function detect(propName) {
|
|
316
|
-
return
|
|
320
|
+
return getOwnPropertyDescriptor$1(Element.prototype, propName) === undefined;
|
|
317
321
|
}
|
|
318
322
|
|
|
319
323
|
/*
|
|
@@ -382,6 +386,7 @@ var LWC = (function (exports) {
|
|
|
382
386
|
patch$1(propName);
|
|
383
387
|
}
|
|
384
388
|
}
|
|
389
|
+
/** version: 2.23.1 */
|
|
385
390
|
|
|
386
391
|
/**
|
|
387
392
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -409,7 +414,7 @@ var LWC = (function (exports) {
|
|
|
409
414
|
if (!_globalThis.lwcRuntimeFlags) {
|
|
410
415
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
411
416
|
}
|
|
412
|
-
const
|
|
417
|
+
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
413
418
|
/**
|
|
414
419
|
* Set the value at runtime of a given feature flag. This method only be invoked once per feature
|
|
415
420
|
* flag. It is meant to be used during the app initialization.
|
|
@@ -436,17 +441,17 @@ var LWC = (function (exports) {
|
|
|
436
441
|
}
|
|
437
442
|
if (process.env.NODE_ENV !== 'production') {
|
|
438
443
|
// Allow the same flag to be set more than once outside of production to enable testing
|
|
439
|
-
|
|
444
|
+
lwcRuntimeFlags[name] = value;
|
|
440
445
|
}
|
|
441
446
|
else {
|
|
442
447
|
// Disallow the same flag to be set more than once in production
|
|
443
|
-
const runtimeValue =
|
|
448
|
+
const runtimeValue = lwcRuntimeFlags[name];
|
|
444
449
|
if (!isUndefined$1(runtimeValue)) {
|
|
445
450
|
// eslint-disable-next-line no-console
|
|
446
451
|
console.error(`Failed to set the value "${value}" for the runtime feature flag "${name}". "${name}" has already been set with the value "${runtimeValue}".`);
|
|
447
452
|
return;
|
|
448
453
|
}
|
|
449
|
-
defineProperty(
|
|
454
|
+
defineProperty(lwcRuntimeFlags, name, { value });
|
|
450
455
|
}
|
|
451
456
|
}
|
|
452
457
|
/**
|
|
@@ -458,7 +463,7 @@ var LWC = (function (exports) {
|
|
|
458
463
|
setFeatureFlag(name, value);
|
|
459
464
|
}
|
|
460
465
|
}
|
|
461
|
-
/** version: 2.23.
|
|
466
|
+
/** version: 2.23.1 */
|
|
462
467
|
|
|
463
468
|
/*
|
|
464
469
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -472,7 +477,7 @@ var LWC = (function (exports) {
|
|
|
472
477
|
window.addEventListener('test-dummy-flag', () => {
|
|
473
478
|
let hasFlag = false;
|
|
474
479
|
|
|
475
|
-
if (
|
|
480
|
+
if (lwcRuntimeFlags.DUMMY_TEST_FLAG) {
|
|
476
481
|
hasFlag = true;
|
|
477
482
|
}
|
|
478
483
|
|
|
@@ -499,7 +504,7 @@ var LWC = (function (exports) {
|
|
|
499
504
|
window.addEventListener('test-dummy-flag', () => {
|
|
500
505
|
let hasFlag = false;
|
|
501
506
|
|
|
502
|
-
if (
|
|
507
|
+
if (lwcRuntimeFlags.DUMMY_TEST_FLAG) {
|
|
503
508
|
hasFlag = true;
|
|
504
509
|
}
|
|
505
510
|
|
|
@@ -2327,7 +2332,7 @@ var LWC = (function (exports) {
|
|
|
2327
2332
|
}
|
|
2328
2333
|
|
|
2329
2334
|
if (set) {
|
|
2330
|
-
if (
|
|
2335
|
+
if (lwcRuntimeFlags.ENABLE_REACTIVE_SETTER) {
|
|
2331
2336
|
let ro = vm.oar[key];
|
|
2332
2337
|
|
|
2333
2338
|
if (isUndefined$1(ro)) {
|
|
@@ -2979,7 +2984,7 @@ var LWC = (function (exports) {
|
|
|
2979
2984
|
throw new ReferenceError();
|
|
2980
2985
|
}
|
|
2981
2986
|
|
|
2982
|
-
if (
|
|
2987
|
+
if (lwcRuntimeFlags.ENABLE_HMR) {
|
|
2983
2988
|
const visited = new Set();
|
|
2984
2989
|
|
|
2985
2990
|
while (swappedTemplateMap.has(tpl) && !visited.has(tpl)) {
|
|
@@ -2996,7 +3001,7 @@ var LWC = (function (exports) {
|
|
|
2996
3001
|
throw new ReferenceError();
|
|
2997
3002
|
}
|
|
2998
3003
|
|
|
2999
|
-
if (
|
|
3004
|
+
if (lwcRuntimeFlags.ENABLE_HMR) {
|
|
3000
3005
|
const visited = new Set();
|
|
3001
3006
|
|
|
3002
3007
|
while (swappedComponentMap.has(Ctor) && !visited.has(Ctor)) {
|
|
@@ -3013,7 +3018,7 @@ var LWC = (function (exports) {
|
|
|
3013
3018
|
throw new ReferenceError();
|
|
3014
3019
|
}
|
|
3015
3020
|
|
|
3016
|
-
if (
|
|
3021
|
+
if (lwcRuntimeFlags.ENABLE_HMR) {
|
|
3017
3022
|
const visited = new Set();
|
|
3018
3023
|
|
|
3019
3024
|
while (swappedStyleMap.has(style) && !visited.has(style)) {
|
|
@@ -3030,7 +3035,7 @@ var LWC = (function (exports) {
|
|
|
3030
3035
|
throw new ReferenceError();
|
|
3031
3036
|
}
|
|
3032
3037
|
|
|
3033
|
-
if (
|
|
3038
|
+
if (lwcRuntimeFlags.ENABLE_HMR) {
|
|
3034
3039
|
// tracking active component
|
|
3035
3040
|
const Ctor = vm.def.ctor;
|
|
3036
3041
|
let componentVMs = activeComponents.get(Ctor);
|
|
@@ -3087,7 +3092,7 @@ var LWC = (function (exports) {
|
|
|
3087
3092
|
throw new ReferenceError();
|
|
3088
3093
|
}
|
|
3089
3094
|
|
|
3090
|
-
if (
|
|
3095
|
+
if (lwcRuntimeFlags.ENABLE_HMR) {
|
|
3091
3096
|
// tracking inactive component
|
|
3092
3097
|
const Ctor = vm.def.ctor;
|
|
3093
3098
|
let list = activeComponents.get(Ctor);
|
|
@@ -3134,7 +3139,7 @@ var LWC = (function (exports) {
|
|
|
3134
3139
|
}
|
|
3135
3140
|
}
|
|
3136
3141
|
|
|
3137
|
-
if (!
|
|
3142
|
+
if (!lwcRuntimeFlags.ENABLE_HMR) {
|
|
3138
3143
|
throw new Error('HMR is not enabled');
|
|
3139
3144
|
}
|
|
3140
3145
|
|
|
@@ -3150,7 +3155,7 @@ var LWC = (function (exports) {
|
|
|
3150
3155
|
}
|
|
3151
3156
|
}
|
|
3152
3157
|
|
|
3153
|
-
if (!
|
|
3158
|
+
if (!lwcRuntimeFlags.ENABLE_HMR) {
|
|
3154
3159
|
throw new Error('HMR is not enabled');
|
|
3155
3160
|
}
|
|
3156
3161
|
|
|
@@ -3164,7 +3169,7 @@ var LWC = (function (exports) {
|
|
|
3164
3169
|
return rehydrateHotStyle(oldStyle);
|
|
3165
3170
|
}
|
|
3166
3171
|
|
|
3167
|
-
if (!
|
|
3172
|
+
if (!lwcRuntimeFlags.ENABLE_HMR) {
|
|
3168
3173
|
throw new Error('HMR is not enabled');
|
|
3169
3174
|
}
|
|
3170
3175
|
|
|
@@ -5448,7 +5453,7 @@ var LWC = (function (exports) {
|
|
|
5448
5453
|
return `[object:vm ${def.name} (${vm.idx})]`;
|
|
5449
5454
|
};
|
|
5450
5455
|
|
|
5451
|
-
if (
|
|
5456
|
+
if (lwcRuntimeFlags.ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST) {
|
|
5452
5457
|
vm.shadowMode = 0
|
|
5453
5458
|
/* ShadowMode.Native */
|
|
5454
5459
|
;
|
|
@@ -5487,7 +5492,7 @@ var LWC = (function (exports) {
|
|
|
5487
5492
|
} else if (isNativeShadowDefined) {
|
|
5488
5493
|
// Not combined with above condition because @lwc/features only supports identifiers in
|
|
5489
5494
|
// the if-condition.
|
|
5490
|
-
if (
|
|
5495
|
+
if (lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE) {
|
|
5491
5496
|
if (def.shadowSupportMode === "any"
|
|
5492
5497
|
/* ShadowSupportMode.Any */
|
|
5493
5498
|
) {
|
|
@@ -6194,7 +6199,7 @@ var LWC = (function (exports) {
|
|
|
6194
6199
|
ArrayPush$1.call(wiredConnecting, () => {
|
|
6195
6200
|
connector.connect();
|
|
6196
6201
|
|
|
6197
|
-
if (!
|
|
6202
|
+
if (!lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT) {
|
|
6198
6203
|
if (hasDynamicParams) {
|
|
6199
6204
|
Promise.resolve().then(computeConfigAndUpdate);
|
|
6200
6205
|
return;
|
|
@@ -6800,7 +6805,7 @@ var LWC = (function (exports) {
|
|
|
6800
6805
|
}
|
|
6801
6806
|
return ctor;
|
|
6802
6807
|
}
|
|
6803
|
-
/* version: 2.23.
|
|
6808
|
+
/* version: 2.23.1 */
|
|
6804
6809
|
|
|
6805
6810
|
/*
|
|
6806
6811
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7524,7 +7529,7 @@ var LWC = (function (exports) {
|
|
|
7524
7529
|
});
|
|
7525
7530
|
freeze(LightningElement);
|
|
7526
7531
|
seal(LightningElement.prototype);
|
|
7527
|
-
/* version: 2.23.
|
|
7532
|
+
/* version: 2.23.1 */
|
|
7528
7533
|
|
|
7529
7534
|
exports.LightningElement = LightningElement;
|
|
7530
7535
|
exports.__unstable__ProfilerControl = profilerControl;
|