lwc 2.24.0 → 2.25.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 +256 -141
- package/dist/engine-dom/iife/es2017/engine-dom.js +256 -141
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +243 -128
- package/dist/engine-dom/iife/es5/engine-dom.js +44 -12
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +42 -10
- package/dist/engine-dom/umd/es2017/engine-dom.js +256 -141
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +243 -128
- package/dist/engine-dom/umd/es5/engine-dom.js +44 -12
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +42 -10
- package/dist/engine-server/commonjs/es2017/engine-server.js +208 -122
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +208 -122
- 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
|
@@ -432,9 +432,9 @@ function htmlEscape(str, attrMode = false) {
|
|
|
432
432
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
433
433
|
*/
|
|
434
434
|
// Increment whenever the LWC template compiler changes
|
|
435
|
-
const LWC_VERSION = "2.
|
|
435
|
+
const LWC_VERSION = "2.25.1";
|
|
436
436
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
437
|
-
/** version: 2.
|
|
437
|
+
/** version: 2.25.1 */
|
|
438
438
|
|
|
439
439
|
/*
|
|
440
440
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -492,6 +492,7 @@ const features = {
|
|
|
492
492
|
ENABLE_REACTIVE_SETTER: null,
|
|
493
493
|
ENABLE_WIRE_SYNC_EMIT: null,
|
|
494
494
|
ENABLE_LIGHT_GET_ROOT_NODE_PATCH: null,
|
|
495
|
+
DISABLE_LIGHT_DOM_UNSCOPED_CSS: null,
|
|
495
496
|
};
|
|
496
497
|
if (!_globalThis.lwcRuntimeFlags) {
|
|
497
498
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
@@ -545,7 +546,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
545
546
|
setFeatureFlag(name, value);
|
|
546
547
|
}
|
|
547
548
|
}
|
|
548
|
-
/** version: 2.
|
|
549
|
+
/** version: 2.25.1 */
|
|
549
550
|
|
|
550
551
|
/* proxy-compat-disable */
|
|
551
552
|
|
|
@@ -3228,149 +3229,234 @@ function getComponentDef(Ctor) {
|
|
|
3228
3229
|
* SPDX-License-Identifier: MIT
|
|
3229
3230
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
3230
3231
|
*/
|
|
3232
|
+
|
|
3231
3233
|
function makeHostToken(token) {
|
|
3232
|
-
|
|
3234
|
+
return `${token}-host`;
|
|
3233
3235
|
}
|
|
3236
|
+
|
|
3234
3237
|
function createInlineStyleVNode(content) {
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3238
|
+
return api.h('style', {
|
|
3239
|
+
key: 'style',
|
|
3240
|
+
attrs: {
|
|
3241
|
+
type: 'text/css'
|
|
3242
|
+
}
|
|
3243
|
+
}, [api.t(content)]);
|
|
3241
3244
|
}
|
|
3245
|
+
|
|
3242
3246
|
function updateStylesheetToken(vm, template) {
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3247
|
+
const {
|
|
3248
|
+
elm,
|
|
3249
|
+
context,
|
|
3250
|
+
renderMode,
|
|
3251
|
+
shadowMode,
|
|
3252
|
+
renderer: {
|
|
3253
|
+
getClassList,
|
|
3254
|
+
removeAttribute,
|
|
3255
|
+
setAttribute
|
|
3256
|
+
}
|
|
3257
|
+
} = vm;
|
|
3258
|
+
const {
|
|
3259
|
+
stylesheets: newStylesheets,
|
|
3260
|
+
stylesheetToken: newStylesheetToken
|
|
3261
|
+
} = template;
|
|
3262
|
+
const isSyntheticShadow = renderMode === 1
|
|
3263
|
+
/* RenderMode.Shadow */
|
|
3264
|
+
&& shadowMode === 1
|
|
3265
|
+
/* ShadowMode.Synthetic */
|
|
3266
|
+
;
|
|
3267
|
+
const {
|
|
3268
|
+
hasScopedStyles
|
|
3269
|
+
} = context;
|
|
3270
|
+
let newToken;
|
|
3271
|
+
let newHasTokenInClass;
|
|
3272
|
+
let newHasTokenInAttribute; // Reset the styling token applied to the host element.
|
|
3273
|
+
|
|
3274
|
+
const {
|
|
3275
|
+
stylesheetToken: oldToken,
|
|
3276
|
+
hasTokenInClass: oldHasTokenInClass,
|
|
3277
|
+
hasTokenInAttribute: oldHasTokenInAttribute
|
|
3278
|
+
} = context;
|
|
3279
|
+
|
|
3280
|
+
if (!isUndefined$1(oldToken)) {
|
|
3281
|
+
if (oldHasTokenInClass) {
|
|
3282
|
+
getClassList(elm).remove(makeHostToken(oldToken));
|
|
3283
|
+
}
|
|
3284
|
+
|
|
3285
|
+
if (oldHasTokenInAttribute) {
|
|
3286
|
+
removeAttribute(elm, makeHostToken(oldToken));
|
|
3287
|
+
}
|
|
3288
|
+
} // Apply the new template styling token to the host element, if the new template has any
|
|
3289
|
+
// associated stylesheets. In the case of light DOM, also ensure there is at least one scoped stylesheet.
|
|
3290
|
+
|
|
3291
|
+
|
|
3292
|
+
if (!isUndefined$1(newStylesheets) && newStylesheets.length !== 0) {
|
|
3293
|
+
newToken = newStylesheetToken;
|
|
3294
|
+
} // Set the new styling token on the host element
|
|
3295
|
+
|
|
3296
|
+
|
|
3297
|
+
if (!isUndefined$1(newToken)) {
|
|
3298
|
+
if (hasScopedStyles) {
|
|
3299
|
+
getClassList(elm).add(makeHostToken(newToken));
|
|
3300
|
+
newHasTokenInClass = true;
|
|
3301
|
+
}
|
|
3302
|
+
|
|
3303
|
+
if (isSyntheticShadow) {
|
|
3304
|
+
setAttribute(elm, makeHostToken(newToken), '');
|
|
3305
|
+
newHasTokenInAttribute = true;
|
|
3306
|
+
}
|
|
3307
|
+
} // Update the styling tokens present on the context object.
|
|
3308
|
+
|
|
3309
|
+
|
|
3310
|
+
context.stylesheetToken = newToken;
|
|
3311
|
+
context.hasTokenInClass = newHasTokenInClass;
|
|
3312
|
+
context.hasTokenInAttribute = newHasTokenInAttribute;
|
|
3280
3313
|
}
|
|
3314
|
+
|
|
3281
3315
|
function evaluateStylesheetsContent(stylesheets, stylesheetToken, vm) {
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3316
|
+
const content = [];
|
|
3317
|
+
let root;
|
|
3318
|
+
|
|
3319
|
+
for (let i = 0; i < stylesheets.length; i++) {
|
|
3320
|
+
let stylesheet = stylesheets[i];
|
|
3321
|
+
|
|
3322
|
+
if (isArray$1(stylesheet)) {
|
|
3323
|
+
ArrayPush$1.apply(content, evaluateStylesheetsContent(stylesheet, stylesheetToken, vm));
|
|
3324
|
+
} else {
|
|
3325
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
3326
|
+
// Check for compiler version mismatch in dev mode only
|
|
3327
|
+
checkVersionMismatch(stylesheet, 'stylesheet'); // in dev-mode, we support hot swapping of stylesheet, which means that
|
|
3328
|
+
// the component instance might be attempting to use an old version of
|
|
3329
|
+
// the stylesheet, while internally, we have a replacement for it.
|
|
3330
|
+
|
|
3331
|
+
stylesheet = getStyleOrSwappedStyle(stylesheet);
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
const isScopedCss = stylesheet[KEY__SCOPED_CSS];
|
|
3335
|
+
|
|
3336
|
+
if (lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS) {
|
|
3337
|
+
if (!isScopedCss && vm.renderMode === 0
|
|
3338
|
+
/* RenderMode.Light */
|
|
3339
|
+
) {
|
|
3340
|
+
logError('Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).');
|
|
3341
|
+
continue;
|
|
3288
3342
|
}
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
root = getNearestShadowComponent(vm);
|
|
3321
|
-
}
|
|
3322
|
-
useNativeDirPseudoclass = isNull(root) || root.shadowMode === 0 /* ShadowMode.Native */;
|
|
3323
|
-
}
|
|
3324
|
-
ArrayPush$1.call(content, stylesheet(scopeToken, useActualHostSelector, useNativeDirPseudoclass));
|
|
3343
|
+
} // Apply the scope token only if the stylesheet itself is scoped, or if we're rendering synthetic shadow.
|
|
3344
|
+
|
|
3345
|
+
|
|
3346
|
+
const scopeToken = isScopedCss || vm.shadowMode === 1
|
|
3347
|
+
/* ShadowMode.Synthetic */
|
|
3348
|
+
&& vm.renderMode === 1
|
|
3349
|
+
/* RenderMode.Shadow */
|
|
3350
|
+
? stylesheetToken : undefined; // Use the actual `:host` selector if we're rendering global CSS for light DOM, or if we're rendering
|
|
3351
|
+
// native shadow DOM. Synthetic shadow DOM never uses `:host`.
|
|
3352
|
+
|
|
3353
|
+
const useActualHostSelector = vm.renderMode === 0
|
|
3354
|
+
/* RenderMode.Light */
|
|
3355
|
+
? !isScopedCss : vm.shadowMode === 0
|
|
3356
|
+
/* ShadowMode.Native */
|
|
3357
|
+
; // Use the native :dir() pseudoclass only in native shadow DOM. Otherwise, in synthetic shadow,
|
|
3358
|
+
// we use an attribute selector on the host to simulate :dir().
|
|
3359
|
+
|
|
3360
|
+
let useNativeDirPseudoclass;
|
|
3361
|
+
|
|
3362
|
+
if (vm.renderMode === 1
|
|
3363
|
+
/* RenderMode.Shadow */
|
|
3364
|
+
) {
|
|
3365
|
+
useNativeDirPseudoclass = vm.shadowMode === 0
|
|
3366
|
+
/* ShadowMode.Native */
|
|
3367
|
+
;
|
|
3368
|
+
} else {
|
|
3369
|
+
// Light DOM components should only render `[dir]` if they're inside of a synthetic shadow root.
|
|
3370
|
+
// At the top level (root is null) or inside of a native shadow root, they should use `:dir()`.
|
|
3371
|
+
if (isUndefined$1(root)) {
|
|
3372
|
+
// Only calculate the root once as necessary
|
|
3373
|
+
root = getNearestShadowComponent(vm);
|
|
3325
3374
|
}
|
|
3375
|
+
|
|
3376
|
+
useNativeDirPseudoclass = isNull(root) || root.shadowMode === 0
|
|
3377
|
+
/* ShadowMode.Native */
|
|
3378
|
+
;
|
|
3379
|
+
}
|
|
3380
|
+
|
|
3381
|
+
ArrayPush$1.call(content, stylesheet(scopeToken, useActualHostSelector, useNativeDirPseudoclass));
|
|
3326
3382
|
}
|
|
3327
|
-
|
|
3383
|
+
}
|
|
3384
|
+
|
|
3385
|
+
return content;
|
|
3328
3386
|
}
|
|
3387
|
+
|
|
3329
3388
|
function getStylesheetsContent(vm, template) {
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3389
|
+
const {
|
|
3390
|
+
stylesheets,
|
|
3391
|
+
stylesheetToken
|
|
3392
|
+
} = template;
|
|
3393
|
+
let content = [];
|
|
3394
|
+
|
|
3395
|
+
if (!isUndefined$1(stylesheets) && stylesheets.length !== 0) {
|
|
3396
|
+
content = evaluateStylesheetsContent(stylesheets, stylesheetToken, vm);
|
|
3397
|
+
}
|
|
3398
|
+
|
|
3399
|
+
return content;
|
|
3400
|
+
} // It might be worth caching this to avoid doing the lookup repeatedly, but
|
|
3338
3401
|
// perf testing has not shown it to be a huge improvement yet:
|
|
3339
3402
|
// https://github.com/salesforce/lwc/pull/2460#discussion_r691208892
|
|
3403
|
+
|
|
3340
3404
|
function getNearestShadowComponent(vm) {
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3405
|
+
let owner = vm;
|
|
3406
|
+
|
|
3407
|
+
while (!isNull(owner)) {
|
|
3408
|
+
if (owner.renderMode === 1
|
|
3409
|
+
/* RenderMode.Shadow */
|
|
3410
|
+
) {
|
|
3411
|
+
return owner;
|
|
3347
3412
|
}
|
|
3348
|
-
|
|
3413
|
+
|
|
3414
|
+
owner = owner.owner;
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
return owner;
|
|
3349
3418
|
}
|
|
3350
3419
|
/**
|
|
3351
3420
|
* If the component that is currently being rendered uses scoped styles,
|
|
3352
3421
|
* this returns the unique token for that scoped stylesheet. Otherwise
|
|
3353
3422
|
* it returns null.
|
|
3354
3423
|
*/
|
|
3424
|
+
|
|
3425
|
+
|
|
3355
3426
|
function getScopeTokenClass(owner) {
|
|
3356
|
-
|
|
3357
|
-
|
|
3427
|
+
const {
|
|
3428
|
+
cmpTemplate,
|
|
3429
|
+
context
|
|
3430
|
+
} = owner;
|
|
3431
|
+
return context.hasScopedStyles && (cmpTemplate === null || cmpTemplate === void 0 ? void 0 : cmpTemplate.stylesheetToken) || null;
|
|
3358
3432
|
}
|
|
3433
|
+
|
|
3359
3434
|
function createStylesheet(vm, stylesheets) {
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3435
|
+
const {
|
|
3436
|
+
renderMode,
|
|
3437
|
+
shadowMode,
|
|
3438
|
+
renderer: {
|
|
3439
|
+
insertStylesheet
|
|
3365
3440
|
}
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3441
|
+
} = vm;
|
|
3442
|
+
|
|
3443
|
+
if (renderMode === 1
|
|
3444
|
+
/* RenderMode.Shadow */
|
|
3445
|
+
&& shadowMode === 1
|
|
3446
|
+
/* ShadowMode.Synthetic */
|
|
3447
|
+
) {
|
|
3448
|
+
for (let i = 0; i < stylesheets.length; i++) {
|
|
3449
|
+
insertStylesheet(stylesheets[i]);
|
|
3372
3450
|
}
|
|
3373
|
-
|
|
3451
|
+
} else {
|
|
3452
|
+
// Note: We need to ensure that during hydration, the stylesheets method is the same as those in ssr.
|
|
3453
|
+
// This works in the client, because the stylesheets are created, and cached in the VM
|
|
3454
|
+
// the first time the VM renders.
|
|
3455
|
+
// native shadow or light DOM, SSR
|
|
3456
|
+
return ArrayMap.call(stylesheets, createInlineStyleVNode);
|
|
3457
|
+
}
|
|
3458
|
+
|
|
3459
|
+
return null;
|
|
3374
3460
|
}
|
|
3375
3461
|
|
|
3376
3462
|
/*
|
|
@@ -6407,7 +6493,7 @@ function freezeTemplate(tmpl) {
|
|
|
6407
6493
|
});
|
|
6408
6494
|
}
|
|
6409
6495
|
}
|
|
6410
|
-
/* version: 2.
|
|
6496
|
+
/* version: 2.25.1 */
|
|
6411
6497
|
|
|
6412
6498
|
/*
|
|
6413
6499
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6777,7 +6863,7 @@ const renderer = {
|
|
|
6777
6863
|
*/
|
|
6778
6864
|
function serializeAttributes(attributes) {
|
|
6779
6865
|
return attributes
|
|
6780
|
-
.map((attr) => attr.value.length ? `${attr.name}
|
|
6866
|
+
.map((attr) => attr.value.length ? `${attr.name}="${htmlEscape(attr.value, true)}"` : attr.name)
|
|
6781
6867
|
.join(' ');
|
|
6782
6868
|
}
|
|
6783
6869
|
function serializeChildNodes(children) {
|
|
@@ -6877,6 +6963,6 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
6877
6963
|
*/
|
|
6878
6964
|
freeze(LightningElement);
|
|
6879
6965
|
seal(LightningElement.prototype);
|
|
6880
|
-
/* version: 2.
|
|
6966
|
+
/* version: 2.25.1 */
|
|
6881
6967
|
|
|
6882
6968
|
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 };
|
|
@@ -148,7 +148,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
|
148
148
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
149
149
|
// we can't use typeof since it will fail when transpiling.
|
|
150
150
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
151
|
-
/** version: 2.
|
|
151
|
+
/** version: 2.25.1 */
|
|
152
152
|
|
|
153
153
|
/*
|
|
154
154
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -462,7 +462,7 @@ if (!_globalThis.lwcRuntimeFlags) {
|
|
|
462
462
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
463
463
|
}
|
|
464
464
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
465
|
-
/** version: 2.
|
|
465
|
+
/** version: 2.25.1 */
|
|
466
466
|
|
|
467
467
|
/*
|
|
468
468
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5170,4 +5170,4 @@ if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
|
|
5170
5170
|
}));
|
|
5171
5171
|
});
|
|
5172
5172
|
}
|
|
5173
|
-
/** version: 2.
|
|
5173
|
+
/** version: 2.25.1 */
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
152
152
|
// we can't use typeof since it will fail when transpiling.
|
|
153
153
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
154
|
-
/** version: 2.
|
|
154
|
+
/** version: 2.25.1 */
|
|
155
155
|
|
|
156
156
|
/*
|
|
157
157
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
466
466
|
}
|
|
467
467
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
468
|
-
/** version: 2.
|
|
468
|
+
/** version: 2.25.1 */
|
|
469
469
|
|
|
470
470
|
/*
|
|
471
471
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5173,6 +5173,6 @@
|
|
|
5173
5173
|
}));
|
|
5174
5174
|
});
|
|
5175
5175
|
}
|
|
5176
|
-
/** version: 2.
|
|
5176
|
+
/** version: 2.25.1 */
|
|
5177
5177
|
|
|
5178
5178
|
})();
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
const KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
88
88
|
const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
89
89
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
90
|
-
/** version: 2.
|
|
90
|
+
/** version: 2.25.1 */
|
|
91
91
|
|
|
92
92
|
/*
|
|
93
93
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
402
402
|
}
|
|
403
403
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
404
|
-
/** version: 2.
|
|
404
|
+
/** version: 2.25.1 */
|
|
405
405
|
|
|
406
406
|
/*
|
|
407
407
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4971,6 +4971,6 @@
|
|
|
4971
4971
|
},
|
|
4972
4972
|
configurable: true,
|
|
4973
4973
|
});
|
|
4974
|
-
/** version: 2.
|
|
4974
|
+
/** version: 2.25.1 */
|
|
4975
4975
|
|
|
4976
4976
|
})();
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
200
200
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
201
201
|
}();
|
|
202
|
-
/** version: 2.
|
|
202
|
+
/** version: 2.25.1 */
|
|
203
203
|
|
|
204
204
|
/*
|
|
205
205
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
551
|
-
/** version: 2.
|
|
551
|
+
/** version: 2.25.1 */
|
|
552
552
|
|
|
553
553
|
/*
|
|
554
554
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5682,6 +5682,6 @@
|
|
|
5682
5682
|
}));
|
|
5683
5683
|
});
|
|
5684
5684
|
}
|
|
5685
|
-
/** version: 2.
|
|
5685
|
+
/** version: 2.25.1 */
|
|
5686
5686
|
|
|
5687
5687
|
})();
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
var KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
124
124
|
var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
125
125
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
126
|
-
/** version: 2.
|
|
126
|
+
/** version: 2.25.1 */
|
|
127
127
|
|
|
128
128
|
/*
|
|
129
129
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
473
|
-
/** version: 2.
|
|
473
|
+
/** version: 2.25.1 */
|
|
474
474
|
|
|
475
475
|
/*
|
|
476
476
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5462,6 +5462,6 @@
|
|
|
5462
5462
|
},
|
|
5463
5463
|
configurable: true
|
|
5464
5464
|
});
|
|
5465
|
-
/** version: 2.
|
|
5465
|
+
/** version: 2.25.1 */
|
|
5466
5466
|
|
|
5467
5467
|
})();
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
154
154
|
// we can't use typeof since it will fail when transpiling.
|
|
155
155
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
156
|
-
/** version: 2.
|
|
156
|
+
/** version: 2.25.1 */
|
|
157
157
|
|
|
158
158
|
/*
|
|
159
159
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
468
468
|
}
|
|
469
469
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
470
|
-
/** version: 2.
|
|
470
|
+
/** version: 2.25.1 */
|
|
471
471
|
|
|
472
472
|
/*
|
|
473
473
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5175,6 +5175,6 @@
|
|
|
5175
5175
|
}));
|
|
5176
5176
|
});
|
|
5177
5177
|
}
|
|
5178
|
-
/** version: 2.
|
|
5178
|
+
/** version: 2.25.1 */
|
|
5179
5179
|
|
|
5180
5180
|
}));
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
const KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
90
90
|
const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
91
91
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
92
|
-
/** version: 2.
|
|
92
|
+
/** version: 2.25.1 */
|
|
93
93
|
|
|
94
94
|
/*
|
|
95
95
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
404
404
|
}
|
|
405
405
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
406
|
-
/** version: 2.
|
|
406
|
+
/** version: 2.25.1 */
|
|
407
407
|
|
|
408
408
|
/*
|
|
409
409
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4973,6 +4973,6 @@
|
|
|
4973
4973
|
},
|
|
4974
4974
|
configurable: true,
|
|
4975
4975
|
});
|
|
4976
|
-
/** version: 2.
|
|
4976
|
+
/** version: 2.25.1 */
|
|
4977
4977
|
|
|
4978
4978
|
}));
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
202
202
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
203
203
|
}();
|
|
204
|
-
/** version: 2.
|
|
204
|
+
/** version: 2.25.1 */
|
|
205
205
|
|
|
206
206
|
/*
|
|
207
207
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -550,7 +550,7 @@
|
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
553
|
-
/** version: 2.
|
|
553
|
+
/** version: 2.25.1 */
|
|
554
554
|
|
|
555
555
|
/*
|
|
556
556
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5684,6 +5684,6 @@
|
|
|
5684
5684
|
}));
|
|
5685
5685
|
});
|
|
5686
5686
|
}
|
|
5687
|
-
/** version: 2.
|
|
5687
|
+
/** version: 2.25.1 */
|
|
5688
5688
|
|
|
5689
5689
|
}));
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
var KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
126
126
|
var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
127
127
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
128
|
-
/** version: 2.
|
|
128
|
+
/** version: 2.25.1 */
|
|
129
129
|
|
|
130
130
|
/*
|
|
131
131
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
475
|
-
/** version: 2.
|
|
475
|
+
/** version: 2.25.1 */
|
|
476
476
|
|
|
477
477
|
/*
|
|
478
478
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5464,6 +5464,6 @@
|
|
|
5464
5464
|
},
|
|
5465
5465
|
configurable: true
|
|
5466
5466
|
});
|
|
5467
|
-
/** version: 2.
|
|
5467
|
+
/** version: 2.25.1 */
|
|
5468
5468
|
|
|
5469
5469
|
}));
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
function isUndefined(obj) {
|
|
8
8
|
return obj === undefined;
|
|
9
9
|
}
|
|
10
|
-
/** version: 2.
|
|
10
|
+
/** version: 2.25.1 */
|
|
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.25.1 */
|
|
185
185
|
|
|
186
186
|
export { ValueChangedEvent, register, registerWireService };
|