lwc 2.35.2 → 2.36.0
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 +245 -89
- package/dist/engine-dom/iife/es2017/engine-dom.js +245 -89
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +273 -45
- package/dist/engine-dom/iife/es5/engine-dom.js +402 -232
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +449 -161
- package/dist/engine-dom/umd/es2017/engine-dom.js +245 -89
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +273 -45
- package/dist/engine-dom/umd/es5/engine-dom.js +402 -232
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +449 -161
- package/dist/engine-server/commonjs/es2017/engine-server.js +124 -77
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +124 -77
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- 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
|
@@ -440,9 +440,9 @@ function htmlEscape(str, attrMode = false) {
|
|
|
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 = "2.
|
|
443
|
+
const LWC_VERSION = "2.36.0";
|
|
444
444
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
445
|
-
/** version: 2.
|
|
445
|
+
/** version: 2.36.0 */
|
|
446
446
|
|
|
447
447
|
/*
|
|
448
448
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -553,7 +553,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
553
553
|
setFeatureFlag(name, value);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
/** version: 2.
|
|
556
|
+
/** version: 2.36.0 */
|
|
557
557
|
|
|
558
558
|
/**
|
|
559
559
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -617,7 +617,7 @@ function applyAriaReflection(prototype = Element.prototype) {
|
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
/** version: 2.
|
|
620
|
+
/** version: 2.36.0 */
|
|
621
621
|
|
|
622
622
|
/* proxy-compat-disable */
|
|
623
623
|
|
|
@@ -732,6 +732,9 @@ function log(method, message, vm, once) {
|
|
|
732
732
|
function logError(message, vm) {
|
|
733
733
|
log('error', message, vm, false);
|
|
734
734
|
}
|
|
735
|
+
function logWarnOnce(message, vm) {
|
|
736
|
+
log('warn', message, vm, true);
|
|
737
|
+
}
|
|
735
738
|
|
|
736
739
|
/*
|
|
737
740
|
* Copyright (c) 2019, salesforce.com, inc.
|
|
@@ -790,7 +793,7 @@ function guid() {
|
|
|
790
793
|
function flattenStylesheets(stylesheets) {
|
|
791
794
|
const list = [];
|
|
792
795
|
for (const stylesheet of stylesheets) {
|
|
793
|
-
if (!
|
|
796
|
+
if (!isArray$1(stylesheet)) {
|
|
794
797
|
list.push(stylesheet);
|
|
795
798
|
}
|
|
796
799
|
else {
|
|
@@ -4614,7 +4617,12 @@ function allocateInSlot(vm, children, owner) {
|
|
|
4614
4617
|
} else if (isVScopedSlotFragment(vnode)) {
|
|
4615
4618
|
slotName = vnode.slotName;
|
|
4616
4619
|
}
|
|
4617
|
-
|
|
4620
|
+
// Can't use toString here because Symbol(1).toString() is 'Symbol(1)'
|
|
4621
|
+
// but elm.setAttribute('slot', Symbol(1)) is an error.
|
|
4622
|
+
// the following line also throws same error for symbols
|
|
4623
|
+
// Similar for Object.create(null)
|
|
4624
|
+
const normalizedSlotName = '' + slotName;
|
|
4625
|
+
const vnodes = cmpSlotsMapping[normalizedSlotName] = cmpSlotsMapping[normalizedSlotName] || [];
|
|
4618
4626
|
ArrayPush$1.call(vnodes, vnode);
|
|
4619
4627
|
}
|
|
4620
4628
|
vm.cmpSlots = {
|
|
@@ -5641,6 +5649,8 @@ function registerComponent(
|
|
|
5641
5649
|
Ctor, { tmpl }) {
|
|
5642
5650
|
if (isFunction$1(Ctor)) {
|
|
5643
5651
|
if (process.env.NODE_ENV !== 'production') {
|
|
5652
|
+
// There is no point in running this in production, because the version mismatch check relies
|
|
5653
|
+
// on code comments which are stripped out in production by minifiers
|
|
5644
5654
|
checkVersionMismatch(Ctor, 'component');
|
|
5645
5655
|
}
|
|
5646
5656
|
signedTemplateMap.set(Ctor, tmpl);
|
|
@@ -5900,6 +5910,7 @@ function validateComponentStylesheets(vm, stylesheets) {
|
|
|
5900
5910
|
// Validate and flatten any stylesheets defined as `static stylesheets`
|
|
5901
5911
|
function computeStylesheets(vm, ctor) {
|
|
5902
5912
|
if (lwcRuntimeFlags.ENABLE_PROGRAMMATIC_STYLESHEETS) {
|
|
5913
|
+
warnOnStylesheetsMutation(ctor);
|
|
5903
5914
|
const {
|
|
5904
5915
|
stylesheets
|
|
5905
5916
|
} = ctor;
|
|
@@ -5914,6 +5925,24 @@ function computeStylesheets(vm, ctor) {
|
|
|
5914
5925
|
}
|
|
5915
5926
|
return null;
|
|
5916
5927
|
}
|
|
5928
|
+
function warnOnStylesheetsMutation(ctor) {
|
|
5929
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
5930
|
+
let {
|
|
5931
|
+
stylesheets
|
|
5932
|
+
} = ctor;
|
|
5933
|
+
defineProperty(ctor, 'stylesheets', {
|
|
5934
|
+
enumerable: true,
|
|
5935
|
+
configurable: true,
|
|
5936
|
+
get() {
|
|
5937
|
+
return stylesheets;
|
|
5938
|
+
},
|
|
5939
|
+
set(newValue) {
|
|
5940
|
+
logWarnOnce(`Dynamically setting the "stylesheets" static property on ${ctor.name} ` + 'will not affect the stylesheets injected.');
|
|
5941
|
+
stylesheets = newValue;
|
|
5942
|
+
}
|
|
5943
|
+
});
|
|
5944
|
+
}
|
|
5945
|
+
}
|
|
5917
5946
|
function computeShadowMode(vm, renderer) {
|
|
5918
5947
|
const {
|
|
5919
5948
|
def
|
|
@@ -6277,12 +6306,13 @@ function setHooks(hooks) {
|
|
|
6277
6306
|
*/
|
|
6278
6307
|
// See @lwc/engine-core/src/framework/template.ts
|
|
6279
6308
|
const TEMPLATE_PROPS = ['slots', 'stylesheetToken', 'stylesheets', 'renderMode'];
|
|
6280
|
-
// Via https://www.npmjs.com/package/object-observer
|
|
6281
|
-
const ARRAY_MUTATION_METHODS = ['pop', 'push', 'shift', 'unshift', 'reverse', 'sort', 'fill', 'splice', 'copyWithin'];
|
|
6282
6309
|
// Expandos that may be placed on a stylesheet factory function, and which are meaningful to LWC at runtime
|
|
6283
|
-
const
|
|
6310
|
+
const STYLESHEET_PROPS = [
|
|
6284
6311
|
// SEE `KEY__SCOPED_CSS` in @lwc/style-compiler
|
|
6285
6312
|
'$scoped$'];
|
|
6313
|
+
// Via https://www.npmjs.com/package/object-observer
|
|
6314
|
+
const ARRAY_MUTATION_METHODS = ['pop', 'push', 'shift', 'unshift', 'reverse', 'sort', 'fill', 'splice', 'copyWithin'];
|
|
6315
|
+
let mutationTrackingDisabled = false;
|
|
6286
6316
|
function getOriginalArrayMethod(prop) {
|
|
6287
6317
|
switch (prop) {
|
|
6288
6318
|
case 'pop':
|
|
@@ -6305,7 +6335,17 @@ function getOriginalArrayMethod(prop) {
|
|
|
6305
6335
|
return ArrayCopyWithin;
|
|
6306
6336
|
}
|
|
6307
6337
|
}
|
|
6308
|
-
|
|
6338
|
+
function reportViolation(type, eventId, prop) {
|
|
6339
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
6340
|
+
logWarnOnce(`Mutating the "${prop}" property on a ${type} ` + `is deprecated and will be removed in a future version of LWC. ` + `See: https://lwc.dev/guide/css#deprecated-template-mutation`);
|
|
6341
|
+
}
|
|
6342
|
+
}
|
|
6343
|
+
function reportTemplateViolation(prop) {
|
|
6344
|
+
reportViolation('template', 3 /* ReportingEventId.TemplateMutation */, prop);
|
|
6345
|
+
}
|
|
6346
|
+
function reportStylesheetViolation(prop) {
|
|
6347
|
+
reportViolation('stylesheet', 4 /* ReportingEventId.StylesheetMutation */, prop);
|
|
6348
|
+
}
|
|
6309
6349
|
// Warn if the user tries to mutate a stylesheets array, e.g.:
|
|
6310
6350
|
// `tmpl.stylesheets.push(someStylesheetFunction)`
|
|
6311
6351
|
function warnOnArrayMutation(stylesheets) {
|
|
@@ -6314,7 +6354,7 @@ function warnOnArrayMutation(stylesheets) {
|
|
|
6314
6354
|
for (const prop of ARRAY_MUTATION_METHODS) {
|
|
6315
6355
|
const originalArrayMethod = getOriginalArrayMethod(prop);
|
|
6316
6356
|
stylesheets[prop] = function arrayMutationWarningWrapper() {
|
|
6317
|
-
|
|
6357
|
+
reportTemplateViolation('stylesheets');
|
|
6318
6358
|
// @ts-ignore
|
|
6319
6359
|
return originalArrayMethod.apply(this, arguments);
|
|
6320
6360
|
};
|
|
@@ -6323,8 +6363,7 @@ function warnOnArrayMutation(stylesheets) {
|
|
|
6323
6363
|
// Warn if the user tries to mutate a stylesheet factory function, e.g.:
|
|
6324
6364
|
// `stylesheet.$scoped$ = true`
|
|
6325
6365
|
function warnOnStylesheetFunctionMutation(stylesheet) {
|
|
6326
|
-
|
|
6327
|
-
for (const prop of STYLESHEET_FUNCTION_EXPANDOS) {
|
|
6366
|
+
for (const prop of STYLESHEET_PROPS) {
|
|
6328
6367
|
let value = stylesheet[prop];
|
|
6329
6368
|
defineProperty(stylesheet, prop, {
|
|
6330
6369
|
enumerable: true,
|
|
@@ -6333,14 +6372,14 @@ function warnOnStylesheetFunctionMutation(stylesheet) {
|
|
|
6333
6372
|
return value;
|
|
6334
6373
|
},
|
|
6335
6374
|
set(newValue) {
|
|
6336
|
-
|
|
6375
|
+
reportStylesheetViolation(prop);
|
|
6337
6376
|
value = newValue;
|
|
6338
6377
|
}
|
|
6339
6378
|
});
|
|
6340
6379
|
}
|
|
6341
6380
|
}
|
|
6342
6381
|
// Warn on either array or stylesheet (function) mutation, in a deeply-nested array
|
|
6343
|
-
function
|
|
6382
|
+
function trackStylesheetsMutation(stylesheets) {
|
|
6344
6383
|
traverseStylesheets(stylesheets, subStylesheets => {
|
|
6345
6384
|
if (isArray$1(subStylesheets)) {
|
|
6346
6385
|
warnOnArrayMutation(subStylesheets);
|
|
@@ -6367,7 +6406,70 @@ function traverseStylesheets(stylesheets, callback) {
|
|
|
6367
6406
|
}
|
|
6368
6407
|
}
|
|
6369
6408
|
}
|
|
6409
|
+
function trackMutations(tmpl) {
|
|
6410
|
+
if (!isUndefined$1(tmpl.stylesheets)) {
|
|
6411
|
+
trackStylesheetsMutation(tmpl.stylesheets);
|
|
6412
|
+
}
|
|
6413
|
+
for (const prop of TEMPLATE_PROPS) {
|
|
6414
|
+
let value = tmpl[prop];
|
|
6415
|
+
defineProperty(tmpl, prop, {
|
|
6416
|
+
enumerable: true,
|
|
6417
|
+
configurable: true,
|
|
6418
|
+
get() {
|
|
6419
|
+
return value;
|
|
6420
|
+
},
|
|
6421
|
+
set(newValue) {
|
|
6422
|
+
if (!mutationTrackingDisabled) {
|
|
6423
|
+
reportTemplateViolation(prop);
|
|
6424
|
+
}
|
|
6425
|
+
value = newValue;
|
|
6426
|
+
}
|
|
6427
|
+
});
|
|
6428
|
+
}
|
|
6429
|
+
const originalDescriptor = getOwnPropertyDescriptor$1(tmpl, 'stylesheetTokens');
|
|
6430
|
+
defineProperty(tmpl, 'stylesheetTokens', {
|
|
6431
|
+
enumerable: true,
|
|
6432
|
+
configurable: true,
|
|
6433
|
+
get: originalDescriptor.get,
|
|
6434
|
+
set(value) {
|
|
6435
|
+
reportTemplateViolation('stylesheetTokens');
|
|
6436
|
+
// Avoid logging/reporting twice (for both stylesheetToken and stylesheetTokens)
|
|
6437
|
+
mutationTrackingDisabled = true;
|
|
6438
|
+
originalDescriptor.set.call(this, value);
|
|
6439
|
+
mutationTrackingDisabled = false;
|
|
6440
|
+
}
|
|
6441
|
+
});
|
|
6442
|
+
}
|
|
6443
|
+
function addLegacyStylesheetTokensShim(tmpl) {
|
|
6444
|
+
// When ENABLE_FROZEN_TEMPLATE is false, then we shim stylesheetTokens on top of stylesheetToken for anyone who
|
|
6445
|
+
// is accessing the old internal API (backwards compat). Details: https://salesforce.quip.com/v1rmAFu2cKAr
|
|
6446
|
+
defineProperty(tmpl, 'stylesheetTokens', {
|
|
6447
|
+
enumerable: true,
|
|
6448
|
+
configurable: true,
|
|
6449
|
+
get() {
|
|
6450
|
+
const {
|
|
6451
|
+
stylesheetToken
|
|
6452
|
+
} = this;
|
|
6453
|
+
if (isUndefined$1(stylesheetToken)) {
|
|
6454
|
+
return stylesheetToken;
|
|
6455
|
+
}
|
|
6456
|
+
// Shim for the old `stylesheetTokens` property
|
|
6457
|
+
// See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
|
|
6458
|
+
return {
|
|
6459
|
+
hostAttribute: `${stylesheetToken}-host`,
|
|
6460
|
+
shadowAttribute: stylesheetToken
|
|
6461
|
+
};
|
|
6462
|
+
},
|
|
6463
|
+
set(value) {
|
|
6464
|
+
// If the value is null or some other exotic object, you would be broken anyway in the past
|
|
6465
|
+
// because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
|
|
6466
|
+
// However it may be undefined in newer versions of LWC, so we need to guard against that case.
|
|
6467
|
+
this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
|
|
6468
|
+
}
|
|
6469
|
+
});
|
|
6470
|
+
}
|
|
6370
6471
|
function freezeTemplate(tmpl) {
|
|
6472
|
+
// TODO [#2782]: remove this flag and delete the legacy behavior
|
|
6371
6473
|
if (lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE) {
|
|
6372
6474
|
// Deep freeze the template
|
|
6373
6475
|
freeze(tmpl);
|
|
@@ -6375,71 +6477,16 @@ function freezeTemplate(tmpl) {
|
|
|
6375
6477
|
deepFreeze(tmpl.stylesheets);
|
|
6376
6478
|
}
|
|
6377
6479
|
} else {
|
|
6378
|
-
//
|
|
6379
|
-
//
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
enumerable: true,
|
|
6383
|
-
configurable: true,
|
|
6384
|
-
get() {
|
|
6385
|
-
const {
|
|
6386
|
-
stylesheetToken
|
|
6387
|
-
} = this;
|
|
6388
|
-
if (isUndefined$1(stylesheetToken)) {
|
|
6389
|
-
return stylesheetToken;
|
|
6390
|
-
}
|
|
6391
|
-
// Shim for the old `stylesheetTokens` property
|
|
6392
|
-
// See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
|
|
6393
|
-
return {
|
|
6394
|
-
hostAttribute: `${stylesheetToken}-host`,
|
|
6395
|
-
shadowAttribute: stylesheetToken
|
|
6396
|
-
};
|
|
6397
|
-
},
|
|
6398
|
-
set(value) {
|
|
6399
|
-
// If the value is null or some other exotic object, you would be broken anyway in the past
|
|
6400
|
-
// because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
|
|
6401
|
-
// However it may be undefined in newer versions of LWC, so we need to guard against that case.
|
|
6402
|
-
this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
|
|
6403
|
-
}
|
|
6404
|
-
});
|
|
6405
|
-
// When ENABLE_FROZEN_TEMPLATE is false, warn in dev mode whenever someone is mutating the template
|
|
6480
|
+
// template is not frozen - shim, report, and warn
|
|
6481
|
+
// this shim should be applied in both dev and prod
|
|
6482
|
+
addLegacyStylesheetTokensShim(tmpl);
|
|
6483
|
+
// When ENABLE_FROZEN_TEMPLATE is false, we want to warn in dev mode whenever someone is mutating the template
|
|
6406
6484
|
if (process.env.NODE_ENV !== 'production') {
|
|
6407
|
-
|
|
6408
|
-
warnOnStylesheetsMutation(tmpl.stylesheets);
|
|
6409
|
-
}
|
|
6410
|
-
for (const prop of TEMPLATE_PROPS) {
|
|
6411
|
-
let value = tmpl[prop];
|
|
6412
|
-
defineProperty(tmpl, prop, {
|
|
6413
|
-
enumerable: true,
|
|
6414
|
-
configurable: true,
|
|
6415
|
-
get() {
|
|
6416
|
-
return value;
|
|
6417
|
-
},
|
|
6418
|
-
set(newValue) {
|
|
6419
|
-
if (!mutationWarningsSilenced) {
|
|
6420
|
-
logError(`Dynamically setting the "${prop}" property on a template function ` + `is deprecated and may be removed in a future version of LWC.`);
|
|
6421
|
-
}
|
|
6422
|
-
value = newValue;
|
|
6423
|
-
}
|
|
6424
|
-
});
|
|
6425
|
-
}
|
|
6426
|
-
const originalDescriptor = getOwnPropertyDescriptor$1(tmpl, 'stylesheetTokens');
|
|
6427
|
-
defineProperty(tmpl, 'stylesheetTokens', {
|
|
6428
|
-
enumerable: true,
|
|
6429
|
-
configurable: true,
|
|
6430
|
-
get: originalDescriptor.get,
|
|
6431
|
-
set(value) {
|
|
6432
|
-
logError(`Dynamically setting the "stylesheetTokens" property on a template function ` + `is deprecated and may be removed in a future version of LWC.`);
|
|
6433
|
-
// Avoid logging twice (for both stylesheetToken and stylesheetTokens)
|
|
6434
|
-
mutationWarningsSilenced = true;
|
|
6435
|
-
originalDescriptor.set.call(this, value);
|
|
6436
|
-
mutationWarningsSilenced = false;
|
|
6437
|
-
}
|
|
6438
|
-
});
|
|
6485
|
+
trackMutations(tmpl);
|
|
6439
6486
|
}
|
|
6440
6487
|
}
|
|
6441
6488
|
}
|
|
6442
|
-
/* version: 2.
|
|
6489
|
+
/* version: 2.36.0 */
|
|
6443
6490
|
|
|
6444
6491
|
/*
|
|
6445
6492
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6910,6 +6957,6 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
6910
6957
|
*/
|
|
6911
6958
|
freeze(LightningElement);
|
|
6912
6959
|
seal(LightningElement.prototype);
|
|
6913
|
-
/* version: 2.
|
|
6960
|
+
/* version: 2.36.0 */
|
|
6914
6961
|
|
|
6915
6962
|
export { LightningElement, api$1 as api, createContextProvider, freezeTemplate, getComponentDef, isComponentConstructor, parseFragment, parseFragment as parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
|
|
@@ -120,7 +120,7 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
|
120
120
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
121
121
|
// we can't use typeof since it will fail when transpiling.
|
|
122
122
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
123
|
-
/** version: 2.
|
|
123
|
+
/** version: 2.36.0 */
|
|
124
124
|
|
|
125
125
|
/*
|
|
126
126
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -435,7 +435,7 @@ if (!_globalThis.lwcRuntimeFlags) {
|
|
|
435
435
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
436
436
|
}
|
|
437
437
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
438
|
-
/** version: 2.
|
|
438
|
+
/** version: 2.36.0 */
|
|
439
439
|
|
|
440
440
|
/*
|
|
441
441
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4696,4 +4696,4 @@ if (process.env.NODE_ENV === 'test-karma-lwc') {
|
|
|
4696
4696
|
}));
|
|
4697
4697
|
});
|
|
4698
4698
|
}
|
|
4699
|
-
/** version: 2.
|
|
4699
|
+
/** version: 2.36.0 */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
124
124
|
// we can't use typeof since it will fail when transpiling.
|
|
125
125
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
126
|
-
/** version: 2.
|
|
126
|
+
/** version: 2.36.0 */
|
|
127
127
|
|
|
128
128
|
/*
|
|
129
129
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
439
439
|
}
|
|
440
440
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
441
|
-
/** version: 2.
|
|
441
|
+
/** version: 2.36.0 */
|
|
442
442
|
|
|
443
443
|
/*
|
|
444
444
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4699,6 +4699,6 @@
|
|
|
4699
4699
|
}));
|
|
4700
4700
|
});
|
|
4701
4701
|
}
|
|
4702
|
-
/** version: 2.
|
|
4702
|
+
/** version: 2.36.0 */
|
|
4703
4703
|
|
|
4704
4704
|
})();
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
60
60
|
const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
|
61
61
|
const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
62
|
-
/** version: 2.
|
|
62
|
+
/** version: 2.36.0 */
|
|
63
63
|
|
|
64
64
|
/*
|
|
65
65
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
375
375
|
}
|
|
376
376
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
377
|
-
/** version: 2.
|
|
377
|
+
/** version: 2.36.0 */
|
|
378
378
|
|
|
379
379
|
/*
|
|
380
380
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4499,6 +4499,6 @@
|
|
|
4499
4499
|
},
|
|
4500
4500
|
configurable: true,
|
|
4501
4501
|
});
|
|
4502
|
-
/** version: 2.
|
|
4502
|
+
/** version: 2.36.0 */
|
|
4503
4503
|
|
|
4504
4504
|
})();
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
151
151
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
152
152
|
}();
|
|
153
|
-
/** version: 2.
|
|
153
|
+
/** version: 2.36.0 */
|
|
154
154
|
|
|
155
155
|
/*
|
|
156
156
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
});
|
|
467
467
|
}
|
|
468
468
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
469
|
-
/** version: 2.
|
|
469
|
+
/** version: 2.36.0 */
|
|
470
470
|
|
|
471
471
|
/*
|
|
472
472
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4676,6 +4676,6 @@
|
|
|
4676
4676
|
}));
|
|
4677
4677
|
});
|
|
4678
4678
|
}
|
|
4679
|
-
/** version: 2.
|
|
4679
|
+
/** version: 2.36.0 */
|
|
4680
4680
|
|
|
4681
4681
|
})();
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
85
85
|
var KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
|
86
86
|
var KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
87
|
-
/** version: 2.
|
|
87
|
+
/** version: 2.36.0 */
|
|
88
88
|
|
|
89
89
|
/*
|
|
90
90
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -398,7 +398,7 @@
|
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
401
|
-
/** version: 2.
|
|
401
|
+
/** version: 2.36.0 */
|
|
402
402
|
|
|
403
403
|
/*
|
|
404
404
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4477,6 +4477,6 @@
|
|
|
4477
4477
|
},
|
|
4478
4478
|
configurable: true
|
|
4479
4479
|
});
|
|
4480
|
-
/** version: 2.
|
|
4480
|
+
/** version: 2.36.0 */
|
|
4481
4481
|
|
|
4482
4482
|
})();
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
126
126
|
// we can't use typeof since it will fail when transpiling.
|
|
127
127
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
128
|
-
/** version: 2.
|
|
128
|
+
/** version: 2.36.0 */
|
|
129
129
|
|
|
130
130
|
/*
|
|
131
131
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
441
441
|
}
|
|
442
442
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
443
|
-
/** version: 2.
|
|
443
|
+
/** version: 2.36.0 */
|
|
444
444
|
|
|
445
445
|
/*
|
|
446
446
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4701,6 +4701,6 @@
|
|
|
4701
4701
|
}));
|
|
4702
4702
|
});
|
|
4703
4703
|
}
|
|
4704
|
-
/** version: 2.
|
|
4704
|
+
/** version: 2.36.0 */
|
|
4705
4705
|
|
|
4706
4706
|
}));
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
62
62
|
const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
|
63
63
|
const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
64
|
-
/** version: 2.
|
|
64
|
+
/** version: 2.36.0 */
|
|
65
65
|
|
|
66
66
|
/*
|
|
67
67
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
377
377
|
}
|
|
378
378
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
379
|
-
/** version: 2.
|
|
379
|
+
/** version: 2.36.0 */
|
|
380
380
|
|
|
381
381
|
/*
|
|
382
382
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4501,6 +4501,6 @@
|
|
|
4501
4501
|
},
|
|
4502
4502
|
configurable: true,
|
|
4503
4503
|
});
|
|
4504
|
-
/** version: 2.
|
|
4504
|
+
/** version: 2.36.0 */
|
|
4505
4505
|
|
|
4506
4506
|
}));
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
153
153
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
154
154
|
}();
|
|
155
|
-
/** version: 2.
|
|
155
|
+
/** version: 2.36.0 */
|
|
156
156
|
|
|
157
157
|
/*
|
|
158
158
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
});
|
|
469
469
|
}
|
|
470
470
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
471
|
-
/** version: 2.
|
|
471
|
+
/** version: 2.36.0 */
|
|
472
472
|
|
|
473
473
|
/*
|
|
474
474
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4678,6 +4678,6 @@
|
|
|
4678
4678
|
}));
|
|
4679
4679
|
});
|
|
4680
4680
|
}
|
|
4681
|
-
/** version: 2.
|
|
4681
|
+
/** version: 2.36.0 */
|
|
4682
4682
|
|
|
4683
4683
|
}));
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
87
87
|
var KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
|
88
88
|
var KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
89
|
-
/** version: 2.
|
|
89
|
+
/** version: 2.36.0 */
|
|
90
90
|
|
|
91
91
|
/*
|
|
92
92
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -400,7 +400,7 @@
|
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
403
|
-
/** version: 2.
|
|
403
|
+
/** version: 2.36.0 */
|
|
404
404
|
|
|
405
405
|
/*
|
|
406
406
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4479,6 +4479,6 @@
|
|
|
4479
4479
|
},
|
|
4480
4480
|
configurable: true
|
|
4481
4481
|
});
|
|
4482
|
-
/** version: 2.
|
|
4482
|
+
/** version: 2.36.0 */
|
|
4483
4483
|
|
|
4484
4484
|
}));
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
function isUndefined(obj) {
|
|
8
8
|
return obj === undefined;
|
|
9
9
|
}
|
|
10
|
-
/** version: 2.
|
|
10
|
+
/** version: 2.36.0 */
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
13
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -181,6 +181,6 @@ class LegacyWireAdapterBridge {
|
|
|
181
181
|
forEach.call(this.disconnecting, (listener) => listener.call(undefined));
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
/** version: 2.
|
|
184
|
+
/** version: 2.36.0 */
|
|
185
185
|
|
|
186
186
|
export { ValueChangedEvent, register, registerWireService };
|
|
@@ -10,7 +10,7 @@ var WireService = (function (exports) {
|
|
|
10
10
|
function isUndefined(obj) {
|
|
11
11
|
return obj === undefined;
|
|
12
12
|
}
|
|
13
|
-
/** version: 2.
|
|
13
|
+
/** version: 2.36.0 */
|
|
14
14
|
|
|
15
15
|
/*
|
|
16
16
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -184,7 +184,7 @@ var WireService = (function (exports) {
|
|
|
184
184
|
forEach.call(this.disconnecting, (listener) => listener.call(undefined));
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
/** version: 2.
|
|
187
|
+
/** version: 2.36.0 */
|
|
188
188
|
|
|
189
189
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
190
190
|
exports.register = register;
|
|
@@ -10,7 +10,7 @@ var WireService = (function (exports) {
|
|
|
10
10
|
function isUndefined(obj) {
|
|
11
11
|
return obj === undefined;
|
|
12
12
|
}
|
|
13
|
-
/** version: 2.
|
|
13
|
+
/** version: 2.36.0 */
|
|
14
14
|
|
|
15
15
|
/*
|
|
16
16
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -184,7 +184,7 @@ var WireService = (function (exports) {
|
|
|
184
184
|
forEach.call(this.disconnecting, (listener) => listener.call(undefined));
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
/** version: 2.
|
|
187
|
+
/** version: 2.36.0 */
|
|
188
188
|
|
|
189
189
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
190
190
|
exports.register = register;
|
|
@@ -23,7 +23,7 @@ var WireService = (function (exports) {
|
|
|
23
23
|
function isUndefined(obj) {
|
|
24
24
|
return obj === undefined;
|
|
25
25
|
}
|
|
26
|
-
/** version: 2.
|
|
26
|
+
/** version: 2.36.0 */
|
|
27
27
|
|
|
28
28
|
/*
|
|
29
29
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -227,7 +227,7 @@ var WireService = (function (exports) {
|
|
|
227
227
|
}]);
|
|
228
228
|
return LegacyWireAdapterBridge;
|
|
229
229
|
}();
|
|
230
|
-
/** version: 2.
|
|
230
|
+
/** version: 2.36.0 */
|
|
231
231
|
|
|
232
232
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
233
233
|
exports.register = register;
|
|
@@ -23,7 +23,7 @@ var WireService = (function (exports) {
|
|
|
23
23
|
function isUndefined(obj) {
|
|
24
24
|
return obj === undefined;
|
|
25
25
|
}
|
|
26
|
-
/** version: 2.
|
|
26
|
+
/** version: 2.36.0 */
|
|
27
27
|
|
|
28
28
|
/*
|
|
29
29
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -227,7 +227,7 @@ var WireService = (function (exports) {
|
|
|
227
227
|
}]);
|
|
228
228
|
return LegacyWireAdapterBridge;
|
|
229
229
|
}();
|
|
230
|
-
/** version: 2.
|
|
230
|
+
/** version: 2.36.0 */
|
|
231
231
|
|
|
232
232
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
233
233
|
exports.register = register;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
function isUndefined(obj) {
|
|
14
14
|
return obj === undefined;
|
|
15
15
|
}
|
|
16
|
-
/** version: 2.
|
|
16
|
+
/** version: 2.36.0 */
|
|
17
17
|
|
|
18
18
|
/*
|
|
19
19
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
forEach.call(this.disconnecting, (listener) => listener.call(undefined));
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
/** version: 2.
|
|
190
|
+
/** version: 2.36.0 */
|
|
191
191
|
|
|
192
192
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
193
193
|
exports.register = register;
|