lwc 2.4.0 → 2.5.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 +117 -64
- package/dist/engine-dom/iife/es2017/engine-dom.js +117 -64
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -2
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +116 -63
- package/dist/engine-dom/iife/es5/engine-dom.js +133 -86
- package/dist/engine-dom/iife/es5/engine-dom.min.js +2 -2
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +130 -83
- package/dist/engine-dom/umd/es2017/engine-dom.js +117 -64
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -2
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +116 -63
- package/dist/engine-dom/umd/es5/engine-dom.js +133 -86
- package/dist/engine-dom/umd/es5/engine-dom.min.js +2 -2
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +130 -83
- package/dist/engine-server/commonjs/es2017/engine-server.js +117 -64
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +2 -2
- package/dist/engine-server/esm/es2017/engine-server.js +117 -64
- 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 +8 -8
|
@@ -245,6 +245,7 @@ const _globalThis = /*@__PURE__*/function () {
|
|
|
245
245
|
|
|
246
246
|
const KEY__SHADOW_RESOLVER = '$shadowResolver$';
|
|
247
247
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
248
|
+
const KEY__SCOPED_CSS = '$scoped$';
|
|
248
249
|
/*
|
|
249
250
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
250
251
|
* All rights reserved.
|
|
@@ -334,7 +335,7 @@ function htmlPropertyToAttribute(propName) {
|
|
|
334
335
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
335
336
|
return attributeName;
|
|
336
337
|
}
|
|
337
|
-
/** version: 2.
|
|
338
|
+
/** version: 2.5.0 */
|
|
338
339
|
|
|
339
340
|
/*
|
|
340
341
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -454,7 +455,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
454
455
|
setFeatureFlag(name, value);
|
|
455
456
|
}
|
|
456
457
|
}
|
|
457
|
-
/** version: 2.
|
|
458
|
+
/** version: 2.5.0 */
|
|
458
459
|
|
|
459
460
|
/* proxy-compat-disable */
|
|
460
461
|
|
|
@@ -4342,6 +4343,19 @@ function observeElementChildNodes(elm) {
|
|
|
4342
4343
|
|
|
4343
4344
|
function setElementShadowToken(elm, token) {
|
|
4344
4345
|
elm.$shadowToken$ = token;
|
|
4346
|
+
} // Set the scope token class for *.scoped.css styles
|
|
4347
|
+
|
|
4348
|
+
|
|
4349
|
+
function setScopeTokenClassIfNecessary(elm, owner) {
|
|
4350
|
+
const {
|
|
4351
|
+
cmpTemplate,
|
|
4352
|
+
context
|
|
4353
|
+
} = owner;
|
|
4354
|
+
const token = cmpTemplate === null || cmpTemplate === void 0 ? void 0 : cmpTemplate.stylesheetToken;
|
|
4355
|
+
|
|
4356
|
+
if (!isUndefined$1(token) && context.hasScopedStyles) {
|
|
4357
|
+
owner.renderer.getClassList(elm).add(token);
|
|
4358
|
+
}
|
|
4345
4359
|
}
|
|
4346
4360
|
|
|
4347
4361
|
function updateNodeHook(oldVnode, vnode) {
|
|
@@ -4415,6 +4429,7 @@ function fallbackElmHook(elm, vnode) {
|
|
|
4415
4429
|
const {
|
|
4416
4430
|
owner
|
|
4417
4431
|
} = vnode;
|
|
4432
|
+
setScopeTokenClassIfNecessary(elm, owner);
|
|
4418
4433
|
|
|
4419
4434
|
if (owner.shadowMode === 1
|
|
4420
4435
|
/* Synthetic */
|
|
@@ -4425,7 +4440,7 @@ function fallbackElmHook(elm, vnode) {
|
|
|
4425
4440
|
}
|
|
4426
4441
|
} = vnode;
|
|
4427
4442
|
const {
|
|
4428
|
-
|
|
4443
|
+
stylesheetToken
|
|
4429
4444
|
} = owner.context;
|
|
4430
4445
|
|
|
4431
4446
|
if (!isUndefined$1(context) && !isUndefined$1(context.lwc) && context.lwc.dom === "manual"
|
|
@@ -4437,7 +4452,7 @@ function fallbackElmHook(elm, vnode) {
|
|
|
4437
4452
|
// into each element from the template, so they can be styled accordingly.
|
|
4438
4453
|
|
|
4439
4454
|
|
|
4440
|
-
setElementShadowToken(elm,
|
|
4455
|
+
setElementShadowToken(elm, stylesheetToken);
|
|
4441
4456
|
}
|
|
4442
4457
|
|
|
4443
4458
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -4526,16 +4541,17 @@ function createViewModelHook(elm, vnode) {
|
|
|
4526
4541
|
ctor,
|
|
4527
4542
|
owner
|
|
4528
4543
|
} = vnode;
|
|
4544
|
+
setScopeTokenClassIfNecessary(elm, owner);
|
|
4529
4545
|
|
|
4530
4546
|
if (owner.shadowMode === 1
|
|
4531
4547
|
/* Synthetic */
|
|
4532
4548
|
) {
|
|
4533
4549
|
const {
|
|
4534
|
-
|
|
4550
|
+
stylesheetToken
|
|
4535
4551
|
} = owner.context; // when running in synthetic shadow mode, we need to set the shadowToken value
|
|
4536
4552
|
// into each element from the template, so they can be styled accordingly.
|
|
4537
4553
|
|
|
4538
|
-
setElementShadowToken(elm,
|
|
4554
|
+
setElementShadowToken(elm, stylesheetToken);
|
|
4539
4555
|
}
|
|
4540
4556
|
|
|
4541
4557
|
const def = getComponentInternalDef(ctor);
|
|
@@ -5331,6 +5347,10 @@ var api = /*#__PURE__*/Object.freeze({
|
|
|
5331
5347
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
5332
5348
|
*/
|
|
5333
5349
|
|
|
5350
|
+
function makeHostToken(token) {
|
|
5351
|
+
return `${token}-host`;
|
|
5352
|
+
}
|
|
5353
|
+
|
|
5334
5354
|
function createInlineStyleVNode(content) {
|
|
5335
5355
|
return h('style', {
|
|
5336
5356
|
key: 'style',
|
|
@@ -5340,59 +5360,100 @@ function createInlineStyleVNode(content) {
|
|
|
5340
5360
|
}, [t(content)]);
|
|
5341
5361
|
}
|
|
5342
5362
|
|
|
5343
|
-
function
|
|
5363
|
+
function updateStylesheetToken(vm, template) {
|
|
5344
5364
|
const {
|
|
5345
5365
|
elm,
|
|
5346
5366
|
context,
|
|
5347
5367
|
renderer,
|
|
5348
|
-
renderMode
|
|
5368
|
+
renderMode,
|
|
5369
|
+
shadowMode
|
|
5349
5370
|
} = vm;
|
|
5350
5371
|
const {
|
|
5351
5372
|
stylesheets: newStylesheets,
|
|
5352
|
-
|
|
5373
|
+
stylesheetToken: newStylesheetToken
|
|
5353
5374
|
} = template;
|
|
5354
|
-
|
|
5375
|
+
const isSyntheticShadow = renderMode === 1
|
|
5376
|
+
/* Shadow */
|
|
5377
|
+
&& shadowMode === 1
|
|
5378
|
+
/* Synthetic */
|
|
5379
|
+
;
|
|
5380
|
+
const {
|
|
5381
|
+
hasScopedStyles
|
|
5382
|
+
} = context;
|
|
5383
|
+
let newToken;
|
|
5384
|
+
let newHasTokenInClass;
|
|
5385
|
+
let newHasTokenInAttribute; // Reset the styling token applied to the host element.
|
|
5355
5386
|
|
|
5356
|
-
const
|
|
5387
|
+
const {
|
|
5388
|
+
stylesheetToken: oldToken,
|
|
5389
|
+
hasTokenInClass: oldHasTokenInClass,
|
|
5390
|
+
hasTokenInAttribute: oldHasTokenInAttribute
|
|
5391
|
+
} = context;
|
|
5357
5392
|
|
|
5358
|
-
if (
|
|
5359
|
-
renderer.
|
|
5393
|
+
if (oldHasTokenInClass) {
|
|
5394
|
+
renderer.getClassList(elm).remove(makeHostToken(oldToken));
|
|
5395
|
+
}
|
|
5396
|
+
|
|
5397
|
+
if (oldHasTokenInAttribute) {
|
|
5398
|
+
renderer.removeAttribute(elm, makeHostToken(oldToken));
|
|
5360
5399
|
} // Apply the new template styling token to the host element, if the new template has any
|
|
5361
|
-
// associated stylesheets.
|
|
5400
|
+
// associated stylesheets. In the case of light DOM, also ensure there is at least one scoped stylesheet.
|
|
5362
5401
|
|
|
5363
5402
|
|
|
5364
|
-
if (!isUndefined$1(newStylesheets) && newStylesheets.length !== 0
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5403
|
+
if (!isUndefined$1(newStylesheets) && newStylesheets.length !== 0) {
|
|
5404
|
+
newToken = newStylesheetToken;
|
|
5405
|
+
} // Set the new styling token on the host element
|
|
5406
|
+
|
|
5407
|
+
|
|
5408
|
+
if (!isUndefined$1(newToken)) {
|
|
5409
|
+
if (hasScopedStyles) {
|
|
5410
|
+
renderer.getClassList(elm).add(makeHostToken(newToken));
|
|
5411
|
+
newHasTokenInClass = true;
|
|
5412
|
+
}
|
|
5369
5413
|
|
|
5370
|
-
|
|
5371
|
-
|
|
5414
|
+
if (isSyntheticShadow) {
|
|
5415
|
+
renderer.setAttribute(elm, makeHostToken(newToken), '');
|
|
5416
|
+
newHasTokenInAttribute = true;
|
|
5417
|
+
}
|
|
5372
5418
|
} // Update the styling tokens present on the context object.
|
|
5373
5419
|
|
|
5374
5420
|
|
|
5375
|
-
context.
|
|
5376
|
-
context.
|
|
5421
|
+
context.stylesheetToken = newToken;
|
|
5422
|
+
context.hasTokenInClass = newHasTokenInClass;
|
|
5423
|
+
context.hasTokenInAttribute = newHasTokenInAttribute;
|
|
5377
5424
|
}
|
|
5378
5425
|
|
|
5379
|
-
function evaluateStylesheetsContent(stylesheets,
|
|
5426
|
+
function evaluateStylesheetsContent(stylesheets, stylesheetToken, vm) {
|
|
5380
5427
|
const content = [];
|
|
5381
5428
|
|
|
5382
5429
|
for (let i = 0; i < stylesheets.length; i++) {
|
|
5383
5430
|
let stylesheet = stylesheets[i];
|
|
5384
5431
|
|
|
5385
5432
|
if (isArray$1(stylesheet)) {
|
|
5386
|
-
ArrayPush$1.apply(content, evaluateStylesheetsContent(stylesheet,
|
|
5433
|
+
ArrayPush$1.apply(content, evaluateStylesheetsContent(stylesheet, stylesheetToken, vm));
|
|
5387
5434
|
} else {
|
|
5388
5435
|
if (process.env.NODE_ENV !== 'production') {
|
|
5389
5436
|
// in dev-mode, we support hot swapping of stylesheet, which means that
|
|
5390
5437
|
// the component instance might be attempting to use an old version of
|
|
5391
5438
|
// the stylesheet, while internally, we have a replacement for it.
|
|
5392
5439
|
stylesheet = getStyleOrSwappedStyle(stylesheet);
|
|
5393
|
-
}
|
|
5440
|
+
} // Use the actual `:host` selector if we're rendering global CSS for light DOM, or if we're rendering
|
|
5441
|
+
// native shadow DOM. Synthetic shadow DOM never uses `:host`.
|
|
5442
|
+
|
|
5443
|
+
|
|
5444
|
+
const isScopedCss = stylesheet[KEY__SCOPED_CSS];
|
|
5445
|
+
const useActualHostSelector = vm.renderMode === 0
|
|
5446
|
+
/* Light */
|
|
5447
|
+
? !isScopedCss : vm.shadowMode === 0
|
|
5448
|
+
/* Native */
|
|
5449
|
+
; // Apply the scope token only if the stylesheet itself is scoped, or if we're rendering synthetic shadow.
|
|
5394
5450
|
|
|
5395
|
-
|
|
5451
|
+
const scopeToken = isScopedCss || vm.shadowMode === 1
|
|
5452
|
+
/* Synthetic */
|
|
5453
|
+
&& vm.renderMode === 1
|
|
5454
|
+
/* Shadow */
|
|
5455
|
+
? stylesheetToken : undefined;
|
|
5456
|
+
ArrayPush$1.call(content, stylesheet(useActualHostSelector, scopeToken));
|
|
5396
5457
|
}
|
|
5397
5458
|
}
|
|
5398
5459
|
|
|
@@ -5402,34 +5463,12 @@ function evaluateStylesheetsContent(stylesheets, hostSelector, shadowSelector, n
|
|
|
5402
5463
|
function getStylesheetsContent(vm, template) {
|
|
5403
5464
|
const {
|
|
5404
5465
|
stylesheets,
|
|
5405
|
-
|
|
5466
|
+
stylesheetToken
|
|
5406
5467
|
} = template;
|
|
5407
|
-
const {
|
|
5408
|
-
renderMode,
|
|
5409
|
-
shadowMode
|
|
5410
|
-
} = vm;
|
|
5411
5468
|
let content = [];
|
|
5412
5469
|
|
|
5413
5470
|
if (!isUndefined$1(stylesheets) && stylesheets.length !== 0) {
|
|
5414
|
-
|
|
5415
|
-
let shadowSelector; // Scoping with the tokens is only necessary for synthetic shadow. For both
|
|
5416
|
-
// light DOM elements and native shadow, we just render the CSS as-is.
|
|
5417
|
-
|
|
5418
|
-
if (renderMode === 1
|
|
5419
|
-
/* Shadow */
|
|
5420
|
-
&& shadowMode === 1
|
|
5421
|
-
/* Synthetic */
|
|
5422
|
-
&& !isUndefined$1(stylesheetTokens)) {
|
|
5423
|
-
hostSelector = `[${stylesheetTokens.hostAttribute}]`;
|
|
5424
|
-
shadowSelector = `[${stylesheetTokens.shadowAttribute}]`;
|
|
5425
|
-
} else {
|
|
5426
|
-
hostSelector = '';
|
|
5427
|
-
shadowSelector = '';
|
|
5428
|
-
}
|
|
5429
|
-
|
|
5430
|
-
content = evaluateStylesheetsContent(stylesheets, hostSelector, shadowSelector, shadowMode === 0
|
|
5431
|
-
/* Native */
|
|
5432
|
-
);
|
|
5471
|
+
content = evaluateStylesheetsContent(stylesheets, stylesheetToken, vm);
|
|
5433
5472
|
}
|
|
5434
5473
|
|
|
5435
5474
|
return content;
|
|
@@ -5644,8 +5683,7 @@ function evaluateTemplate(vm, html) {
|
|
|
5644
5683
|
context,
|
|
5645
5684
|
cmpSlots,
|
|
5646
5685
|
cmpTemplate,
|
|
5647
|
-
tro
|
|
5648
|
-
shadowMode
|
|
5686
|
+
tro
|
|
5649
5687
|
} = vm;
|
|
5650
5688
|
tro.observe(() => {
|
|
5651
5689
|
// Reset the cache memoizer for template when needed.
|
|
@@ -5670,15 +5708,12 @@ function evaluateTemplate(vm, html) {
|
|
|
5670
5708
|
|
|
5671
5709
|
vm.cmpTemplate = html; // Create a brand new template cache for the swapped templated.
|
|
5672
5710
|
|
|
5673
|
-
context.tplCache = create(null); //
|
|
5711
|
+
context.tplCache = create(null); // Set the computeHasScopedStyles property in the context, to avoid recomputing it repeatedly.
|
|
5674
5712
|
|
|
5675
|
-
|
|
5676
|
-
/* Synthetic */
|
|
5677
|
-
) {
|
|
5678
|
-
updateSyntheticShadowAttributes(vm, html);
|
|
5679
|
-
} // Evaluate, create stylesheet and cache the produced VNode for future
|
|
5680
|
-
// re-rendering.
|
|
5713
|
+
context.hasScopedStyles = computeHasScopedStyles(html); // Update the scoping token on the host element.
|
|
5681
5714
|
|
|
5715
|
+
updateStylesheetToken(vm, html); // Evaluate, create stylesheet and cache the produced VNode for future
|
|
5716
|
+
// re-rendering.
|
|
5682
5717
|
|
|
5683
5718
|
const stylesheetsContent = getStylesheetsContent(vm, html);
|
|
5684
5719
|
context.styleVNode = stylesheetsContent.length === 0 ? null : createStylesheet(vm, stylesheetsContent);
|
|
@@ -5720,6 +5755,22 @@ function evaluateTemplate(vm, html) {
|
|
|
5720
5755
|
|
|
5721
5756
|
return vnodes;
|
|
5722
5757
|
}
|
|
5758
|
+
|
|
5759
|
+
function computeHasScopedStyles(template) {
|
|
5760
|
+
const {
|
|
5761
|
+
stylesheets
|
|
5762
|
+
} = template;
|
|
5763
|
+
|
|
5764
|
+
if (!isUndefined$1(stylesheets)) {
|
|
5765
|
+
for (let i = 0; i < stylesheets.length; i++) {
|
|
5766
|
+
if (isTrue(stylesheets[i][KEY__SCOPED_CSS])) {
|
|
5767
|
+
return true;
|
|
5768
|
+
}
|
|
5769
|
+
}
|
|
5770
|
+
}
|
|
5771
|
+
|
|
5772
|
+
return false;
|
|
5773
|
+
}
|
|
5723
5774
|
/*
|
|
5724
5775
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
5725
5776
|
* All rights reserved.
|
|
@@ -6130,8 +6181,10 @@ function createVM(elm, def, options) {
|
|
|
6130
6181
|
renderMode: def.renderMode,
|
|
6131
6182
|
shadowMode: null,
|
|
6132
6183
|
context: {
|
|
6133
|
-
|
|
6134
|
-
|
|
6184
|
+
stylesheetToken: undefined,
|
|
6185
|
+
hasTokenInClass: undefined,
|
|
6186
|
+
hasTokenInAttribute: undefined,
|
|
6187
|
+
hasScopedStyles: undefined,
|
|
6135
6188
|
styleVNode: null,
|
|
6136
6189
|
tplCache: EmptyObject,
|
|
6137
6190
|
wiredConnecting: EmptyArray,
|
|
@@ -7062,7 +7115,7 @@ function readonly(obj) {
|
|
|
7062
7115
|
|
|
7063
7116
|
return reactiveMembrane.getReadOnlyProxy(obj);
|
|
7064
7117
|
}
|
|
7065
|
-
/* version: 2.
|
|
7118
|
+
/* version: 2.5.0 */
|
|
7066
7119
|
|
|
7067
7120
|
/*
|
|
7068
7121
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -7533,6 +7586,6 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
7533
7586
|
|
|
7534
7587
|
freeze(LightningElement);
|
|
7535
7588
|
seal(LightningElement.prototype);
|
|
7536
|
-
/* version: 2.
|
|
7589
|
+
/* version: 2.5.0 */
|
|
7537
7590
|
|
|
7538
7591
|
export { LightningElement, api$1 as api, createContextProvider, getComponentDef, isComponentConstructor, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, track, unwrap, wire };
|
|
@@ -194,7 +194,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
|
194
194
|
// we can't use typeof since it will fail when transpiling.
|
|
195
195
|
|
|
196
196
|
const hasNativeSymbolSupport = /*@__PURE__*/(() => Symbol('x').toString() === 'Symbol(x)')();
|
|
197
|
-
/** version: 2.
|
|
197
|
+
/** version: 2.5.0 */
|
|
198
198
|
|
|
199
199
|
/*
|
|
200
200
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -533,7 +533,7 @@ if (!_globalThis.lwcRuntimeFlags) {
|
|
|
533
533
|
}
|
|
534
534
|
|
|
535
535
|
const runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
536
|
-
/** version: 2.
|
|
536
|
+
/** version: 2.5.0 */
|
|
537
537
|
|
|
538
538
|
/*
|
|
539
539
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5823,4 +5823,4 @@ defineProperty(Element.prototype, '$domManual$', {
|
|
|
5823
5823
|
|
|
5824
5824
|
configurable: true
|
|
5825
5825
|
});
|
|
5826
|
-
/** version: 2.
|
|
5826
|
+
/** version: 2.5.0 */
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
// we can't use typeof since it will fail when transpiling.
|
|
198
198
|
|
|
199
199
|
const hasNativeSymbolSupport = /*@__PURE__*/(() => Symbol('x').toString() === 'Symbol(x)')();
|
|
200
|
-
/** version: 2.
|
|
200
|
+
/** version: 2.5.0 */
|
|
201
201
|
|
|
202
202
|
/*
|
|
203
203
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
}
|
|
537
537
|
|
|
538
538
|
const runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
539
|
-
/** version: 2.
|
|
539
|
+
/** version: 2.5.0 */
|
|
540
540
|
|
|
541
541
|
/*
|
|
542
542
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5826,6 +5826,6 @@
|
|
|
5826
5826
|
|
|
5827
5827
|
configurable: true
|
|
5828
5828
|
});
|
|
5829
|
-
/** version: 2.
|
|
5829
|
+
/** version: 2.5.0 */
|
|
5830
5830
|
|
|
5831
5831
|
}());
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
const KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
126
126
|
const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
127
127
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
128
|
-
/** version: 2.
|
|
128
|
+
/** version: 2.5.0 */
|
|
129
129
|
|
|
130
130
|
/*
|
|
131
131
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
const runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
467
|
-
/** version: 2.
|
|
467
|
+
/** version: 2.5.0 */
|
|
468
468
|
|
|
469
469
|
/*
|
|
470
470
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5634,6 +5634,6 @@
|
|
|
5634
5634
|
|
|
5635
5635
|
configurable: true
|
|
5636
5636
|
});
|
|
5637
|
-
/** version: 2.
|
|
5637
|
+
/** version: 2.5.0 */
|
|
5638
5638
|
|
|
5639
5639
|
}());
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
194
194
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
195
195
|
}();
|
|
196
|
-
/** version: 2.
|
|
196
|
+
/** version: 2.5.0 */
|
|
197
197
|
|
|
198
198
|
/*
|
|
199
199
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -526,7 +526,7 @@
|
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
var runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
529
|
-
/** version: 2.
|
|
529
|
+
/** version: 2.5.0 */
|
|
530
530
|
|
|
531
531
|
/*
|
|
532
532
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5625,6 +5625,6 @@
|
|
|
5625
5625
|
},
|
|
5626
5626
|
configurable: true
|
|
5627
5627
|
});
|
|
5628
|
-
/** version: 2.
|
|
5628
|
+
/** version: 2.5.0 */
|
|
5629
5629
|
|
|
5630
5630
|
}());
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
var KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
118
118
|
var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
119
119
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
120
|
-
/** version: 2.
|
|
120
|
+
/** version: 2.5.0 */
|
|
121
121
|
|
|
122
122
|
/*
|
|
123
123
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
var runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
451
|
-
/** version: 2.
|
|
451
|
+
/** version: 2.5.0 */
|
|
452
452
|
|
|
453
453
|
/*
|
|
454
454
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5429,6 +5429,6 @@
|
|
|
5429
5429
|
},
|
|
5430
5430
|
configurable: true
|
|
5431
5431
|
});
|
|
5432
|
-
/** version: 2.
|
|
5432
|
+
/** version: 2.5.0 */
|
|
5433
5433
|
|
|
5434
5434
|
}());
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
// we can't use typeof since it will fail when transpiling.
|
|
200
200
|
|
|
201
201
|
const hasNativeSymbolSupport = /*@__PURE__*/(() => Symbol('x').toString() === 'Symbol(x)')();
|
|
202
|
-
/** version: 2.
|
|
202
|
+
/** version: 2.5.0 */
|
|
203
203
|
|
|
204
204
|
/*
|
|
205
205
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -538,7 +538,7 @@
|
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
const runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
541
|
-
/** version: 2.
|
|
541
|
+
/** version: 2.5.0 */
|
|
542
542
|
|
|
543
543
|
/*
|
|
544
544
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5828,6 +5828,6 @@
|
|
|
5828
5828
|
|
|
5829
5829
|
configurable: true
|
|
5830
5830
|
});
|
|
5831
|
-
/** version: 2.
|
|
5831
|
+
/** version: 2.5.0 */
|
|
5832
5832
|
|
|
5833
5833
|
})));
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
const KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
128
128
|
const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
129
129
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
130
|
-
/** version: 2.
|
|
130
|
+
/** version: 2.5.0 */
|
|
131
131
|
|
|
132
132
|
/*
|
|
133
133
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
const runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
469
|
-
/** version: 2.
|
|
469
|
+
/** version: 2.5.0 */
|
|
470
470
|
|
|
471
471
|
/*
|
|
472
472
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5636,6 +5636,6 @@
|
|
|
5636
5636
|
|
|
5637
5637
|
configurable: true
|
|
5638
5638
|
});
|
|
5639
|
-
/** version: 2.
|
|
5639
|
+
/** version: 2.5.0 */
|
|
5640
5640
|
|
|
5641
5641
|
})));
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
196
196
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
197
197
|
}();
|
|
198
|
-
/** version: 2.
|
|
198
|
+
/** version: 2.5.0 */
|
|
199
199
|
|
|
200
200
|
/*
|
|
201
201
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
}
|
|
529
529
|
|
|
530
530
|
var runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
531
|
-
/** version: 2.
|
|
531
|
+
/** version: 2.5.0 */
|
|
532
532
|
|
|
533
533
|
/*
|
|
534
534
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5627,6 +5627,6 @@
|
|
|
5627
5627
|
},
|
|
5628
5628
|
configurable: true
|
|
5629
5629
|
});
|
|
5630
|
-
/** version: 2.
|
|
5630
|
+
/** version: 2.5.0 */
|
|
5631
5631
|
|
|
5632
5632
|
})));
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
var KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
120
120
|
var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
121
121
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
122
|
-
/** version: 2.
|
|
122
|
+
/** version: 2.5.0 */
|
|
123
123
|
|
|
124
124
|
/*
|
|
125
125
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
}
|
|
451
451
|
|
|
452
452
|
var runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
453
|
-
/** version: 2.
|
|
453
|
+
/** version: 2.5.0 */
|
|
454
454
|
|
|
455
455
|
/*
|
|
456
456
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5431,6 +5431,6 @@
|
|
|
5431
5431
|
},
|
|
5432
5432
|
configurable: true
|
|
5433
5433
|
});
|
|
5434
|
-
/** version: 2.
|
|
5434
|
+
/** version: 2.5.0 */
|
|
5435
5435
|
|
|
5436
5436
|
})));
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
function isUndefined(obj) {
|
|
9
9
|
return obj === undefined;
|
|
10
10
|
}
|
|
11
|
-
/** version: 2.
|
|
11
|
+
/** version: 2.5.0 */
|
|
12
12
|
|
|
13
13
|
/*
|
|
14
14
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -227,6 +227,6 @@ class LegacyWireAdapterBridge {
|
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
}
|
|
230
|
-
/** version: 2.
|
|
230
|
+
/** version: 2.5.0 */
|
|
231
231
|
|
|
232
232
|
export { ValueChangedEvent, register, registerWireService };
|
|
@@ -11,7 +11,7 @@ var WireService = (function (exports) {
|
|
|
11
11
|
function isUndefined(obj) {
|
|
12
12
|
return obj === undefined;
|
|
13
13
|
}
|
|
14
|
-
/** version: 2.
|
|
14
|
+
/** version: 2.5.0 */
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
17
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -230,7 +230,7 @@ var WireService = (function (exports) {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
}
|
|
233
|
-
/** version: 2.
|
|
233
|
+
/** version: 2.5.0 */
|
|
234
234
|
|
|
235
235
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
236
236
|
exports.register = register;
|
|
@@ -11,7 +11,7 @@ var WireService = (function (exports) {
|
|
|
11
11
|
function isUndefined(obj) {
|
|
12
12
|
return obj === undefined;
|
|
13
13
|
}
|
|
14
|
-
/** version: 2.
|
|
14
|
+
/** version: 2.5.0 */
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
17
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -230,7 +230,7 @@ var WireService = (function (exports) {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
}
|
|
233
|
-
/** version: 2.
|
|
233
|
+
/** version: 2.5.0 */
|
|
234
234
|
|
|
235
235
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
236
236
|
exports.register = register;
|
|
@@ -33,7 +33,7 @@ var WireService = (function (exports) {
|
|
|
33
33
|
function isUndefined(obj) {
|
|
34
34
|
return obj === undefined;
|
|
35
35
|
}
|
|
36
|
-
/** version: 2.
|
|
36
|
+
/** version: 2.5.0 */
|
|
37
37
|
|
|
38
38
|
/*
|
|
39
39
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -280,7 +280,7 @@ var WireService = (function (exports) {
|
|
|
280
280
|
|
|
281
281
|
return LegacyWireAdapterBridge;
|
|
282
282
|
}();
|
|
283
|
-
/** version: 2.
|
|
283
|
+
/** version: 2.5.0 */
|
|
284
284
|
|
|
285
285
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
286
286
|
exports.register = register;
|
|
@@ -33,7 +33,7 @@ var WireService = (function (exports) {
|
|
|
33
33
|
function isUndefined(obj) {
|
|
34
34
|
return obj === undefined;
|
|
35
35
|
}
|
|
36
|
-
/** version: 2.
|
|
36
|
+
/** version: 2.5.0 */
|
|
37
37
|
|
|
38
38
|
/*
|
|
39
39
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -280,7 +280,7 @@ var WireService = (function (exports) {
|
|
|
280
280
|
|
|
281
281
|
return LegacyWireAdapterBridge;
|
|
282
282
|
}();
|
|
283
|
-
/** version: 2.
|
|
283
|
+
/** version: 2.5.0 */
|
|
284
284
|
|
|
285
285
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
286
286
|
exports.register = register;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
function isUndefined(obj) {
|
|
15
15
|
return obj === undefined;
|
|
16
16
|
}
|
|
17
|
-
/** version: 2.
|
|
17
|
+
/** version: 2.5.0 */
|
|
18
18
|
|
|
19
19
|
/*
|
|
20
20
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
}
|
|
236
|
-
/** version: 2.
|
|
236
|
+
/** version: 2.5.0 */
|
|
237
237
|
|
|
238
238
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
239
239
|
exports.register = register;
|