lwc 2.33.0 → 2.34.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.
Files changed (35) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +166 -42
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +166 -42
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +170 -39
  5. package/dist/engine-dom/iife/es5/engine-dom.js +204 -91
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +217 -88
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +166 -42
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +170 -39
  11. package/dist/engine-dom/umd/es5/engine-dom.js +204 -91
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +217 -88
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +158 -39
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +158 -39
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  26. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  28. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  35. package/package.json +7 -7
@@ -470,9 +470,9 @@ function htmlEscape(str, attrMode = false) {
470
470
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
471
471
  */
472
472
  // Increment whenever the LWC template compiler changes
473
- const LWC_VERSION = "2.33.0";
473
+ const LWC_VERSION = "2.34.0";
474
474
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
475
- /** version: 2.33.0 */
475
+ /** version: 2.34.0 */
476
476
 
477
477
  /*
478
478
  * Copyright (c) 2020, salesforce.com, inc.
@@ -527,6 +527,7 @@ const features = {
527
527
  ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY: null,
528
528
  ENABLE_FROZEN_TEMPLATE: null,
529
529
  DISABLE_ARIA_REFLECTION_POLYFILL: null,
530
+ ENABLE_PROGRAMMATIC_STYLESHEETS: null,
530
531
  };
531
532
  if (!_globalThis.lwcRuntimeFlags) {
532
533
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
@@ -580,7 +581,7 @@ function setFeatureFlagForTest(name, value) {
580
581
  setFeatureFlag(name, value);
581
582
  }
582
583
  }
583
- /** version: 2.33.0 */
584
+ /** version: 2.34.0 */
584
585
 
585
586
  /**
586
587
  * Copyright (C) 2018 salesforce.com, inc.
@@ -644,7 +645,7 @@ function applyAriaReflection(prototype = Element.prototype) {
644
645
  }
645
646
  }
646
647
  }
647
- /** version: 2.33.0 */
648
+ /** version: 2.34.0 */
648
649
 
649
650
  /* proxy-compat-disable */
650
651
 
@@ -810,6 +811,7 @@ function log(method, message, vm) {
810
811
  if (!isUndefined$1(vm)) {
811
812
  msg = `${msg}\n${getComponentStack(vm)}`;
812
813
  }
814
+ // In Jest tests, reduce the warning and error verbosity by not printing the callstack
813
815
  if (process.env.NODE_ENV === 'test') {
814
816
  /* eslint-disable-next-line no-console */
815
817
  console[method](msg);
@@ -876,6 +878,9 @@ function offsetPropertyErrorMessage(name) {
876
878
  // Global HTML Attributes & Properties
877
879
  // https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes
878
880
  // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
881
+ //
882
+ // If you update this list, check for test files that recapitulate the same list. Searching the codebase
883
+ // for e.g. "dropzone" should suffice.
879
884
  const globalHTMLProperties = assign(create(null), {
880
885
  accessKey: {
881
886
  attribute: 'accesskey',
@@ -3344,6 +3349,9 @@ function updateStylesheetToken(vm, template) {
3344
3349
  stylesheets: newStylesheets,
3345
3350
  stylesheetToken: newStylesheetToken
3346
3351
  } = template;
3352
+ const {
3353
+ stylesheets: newVmStylesheets
3354
+ } = vm;
3347
3355
  const isSyntheticShadow = renderMode === 1 /* RenderMode.Shadow */ && shadowMode === 1 /* ShadowMode.Synthetic */;
3348
3356
  const {
3349
3357
  hasScopedStyles
@@ -3367,7 +3375,9 @@ function updateStylesheetToken(vm, template) {
3367
3375
  }
3368
3376
  // Apply the new template styling token to the host element, if the new template has any
3369
3377
  // associated stylesheets. In the case of light DOM, also ensure there is at least one scoped stylesheet.
3370
- if (!isUndefined$1(newStylesheets) && newStylesheets.length !== 0) {
3378
+ const hasNewStylesheets = hasStyles(newStylesheets);
3379
+ const hasNewVmStylesheets = hasStyles(newVmStylesheets);
3380
+ if (hasNewStylesheets || hasNewVmStylesheets) {
3371
3381
  newToken = newStylesheetToken;
3372
3382
  }
3373
3383
  // Set the new styling token on the host element
@@ -3439,10 +3449,17 @@ function getStylesheetsContent(vm, template) {
3439
3449
  stylesheets,
3440
3450
  stylesheetToken
3441
3451
  } = template;
3452
+ const {
3453
+ stylesheets: vmStylesheets
3454
+ } = vm;
3442
3455
  let content = [];
3443
- if (!isUndefined$1(stylesheets) && stylesheets.length !== 0) {
3456
+ if (hasStyles(stylesheets)) {
3444
3457
  content = evaluateStylesheetsContent(stylesheets, stylesheetToken, vm);
3445
3458
  }
3459
+ // VM (component) stylesheets apply after template stylesheets
3460
+ if (hasStyles(vmStylesheets)) {
3461
+ ArrayPush$1.apply(content, evaluateStylesheetsContent(vmStylesheets, stylesheetToken, vm));
3462
+ }
3446
3463
  return content;
3447
3464
  }
3448
3465
  // It might be worth caching this to avoid doing the lookup repeatedly, but
@@ -4048,6 +4065,28 @@ function patchCustomElement(n1, n2, parent, renderer) {
4048
4065
  // in fallback mode, the allocation will always set children to
4049
4066
  // empty and delegate the real allocation to the slot elements
4050
4067
  allocateChildren(n2, vm);
4068
+ // Solves an edge case with slotted VFragments in native shadow mode.
4069
+ //
4070
+ // During allocation, in native shadow, slotted VFragment nodes are flattened and their text delimiters are removed
4071
+ // to avoid interfering with native slot behavior. When this happens, if any of the fragments
4072
+ // were not stable, the children must go through the dynamic diffing algo.
4073
+ //
4074
+ // If the new children (n2.children) contain no VFragments, but the previous children (n1.children) were dynamic,
4075
+ // the new nodes must be marked dynamic so that all nodes are properly updated. The only indicator that the new
4076
+ // nodes need to be dynamic comes from the previous children, so we check that to determine whether we need to
4077
+ // mark the new children dynamic.
4078
+ //
4079
+ // Example:
4080
+ // n1.children: [div, VFragment('', div, null, ''), div] => [div, div, null, div]; // marked dynamic
4081
+ // n2.children: [div, null, div] => [div, null, div] // marked ???
4082
+ const {
4083
+ shadowMode,
4084
+ renderMode
4085
+ } = vm;
4086
+ if (shadowMode == 0 /* ShadowMode.Native */ && renderMode !== 0 /* RenderMode.Light */ && hasDynamicChildren(n1.children)) {
4087
+ // No-op if children has already been marked dynamic by 'allocateChildren()'.
4088
+ markAsDynamicChildren(n2.children);
4089
+ }
4051
4090
  }
4052
4091
  // in fallback mode, the children will be always empty, so, nothing
4053
4092
  // will happen, but in native, it does allocate the light dom
@@ -4240,7 +4279,6 @@ function allocateChildren(vnode, vm) {
4240
4279
  //
4241
4280
  // In case #2, we will always get a fresh VCustomElement.
4242
4281
  const children = vnode.aChildren || vnode.children;
4243
- vm.aChildren = children;
4244
4282
  const {
4245
4283
  renderMode,
4246
4284
  shadowMode
@@ -4253,15 +4291,61 @@ function allocateChildren(vnode, vm) {
4253
4291
  logError(`Invalid usage of 'lwc:slot-data' on ${getComponentTag(vm)} tag. Scoped slot content can only be passed to a light dom child.`);
4254
4292
  }
4255
4293
  }
4294
+ // If any of the children being allocated are VFragments, we remove the text delimiters and flatten all immediate
4295
+ // children VFragments to avoid them interfering with default slot behavior.
4296
+ const allocatedChildren = flattenFragmentsInChildren(children);
4297
+ vnode.children = allocatedChildren;
4298
+ vm.aChildren = allocatedChildren;
4256
4299
  if (shadowMode === 1 /* ShadowMode.Synthetic */ || renderMode === 0 /* RenderMode.Light */) {
4257
4300
  // slow path
4258
- allocateInSlot(vm, children, vnode.owner);
4301
+ allocateInSlot(vm, allocatedChildren, vnode.owner);
4259
4302
  // save the allocated children in case this vnode is reused.
4260
- vnode.aChildren = children;
4303
+ vnode.aChildren = allocatedChildren;
4261
4304
  // every child vnode is now allocated, and the host should receive none directly, it receives them via the shadow!
4262
4305
  vnode.children = EmptyArray;
4263
4306
  }
4264
4307
  }
4308
+ /**
4309
+ * Flattens the contents of all VFragments in an array of VNodes, removes the text delimiters on those VFragments, and
4310
+ * marks the resulting children array as dynamic. Uses a stack (array) to iteratively traverse the nested VFragments
4311
+ * and avoid the perf overhead of creating/destroying throwaway arrays/objects in a recursive approach.
4312
+ *
4313
+ * With the delimiters removed, the contents are marked dynamic so they are diffed correctly.
4314
+ *
4315
+ * This function is used for slotted VFragments to avoid the text delimiters interfering with slotting functionality.
4316
+ */
4317
+ function flattenFragmentsInChildren(children) {
4318
+ const flattenedChildren = [];
4319
+ // Initialize our stack with the direct children of the custom component and check whether we have a VFragment.
4320
+ // If no VFragment is found in children, we don't need to traverse anything or mark the children dynamic and can return early.
4321
+ const nodeStack = [];
4322
+ let fragmentFound = false;
4323
+ for (let i = children.length - 1; i > -1; i -= 1) {
4324
+ const child = children[i];
4325
+ ArrayPush$1.call(nodeStack, child);
4326
+ fragmentFound = fragmentFound || !!(child && isVFragment(child));
4327
+ }
4328
+ if (!fragmentFound) {
4329
+ return children;
4330
+ }
4331
+ let currentNode;
4332
+ while (!isUndefined$1(currentNode = ArrayPop.call(nodeStack))) {
4333
+ if (!isNull(currentNode) && isVFragment(currentNode)) {
4334
+ const fChildren = currentNode.children;
4335
+ // Ignore the start and end text node delimiters
4336
+ for (let i = fChildren.length - 2; i > 0; i -= 1) {
4337
+ ArrayPush$1.call(nodeStack, fChildren[i]);
4338
+ }
4339
+ } else {
4340
+ ArrayPush$1.call(flattenedChildren, currentNode);
4341
+ }
4342
+ }
4343
+ // We always mark the children as dynamic because nothing generates stable VFragments yet.
4344
+ // If/when stable VFragments are generated by the compiler, this code should be updated to
4345
+ // not mark dynamic if all flattened VFragments were stable.
4346
+ markAsDynamicChildren(flattenedChildren);
4347
+ return flattenedChildren;
4348
+ }
4265
4349
  function createViewModelHook(elm, vnode, renderer) {
4266
4350
  let vm = getAssociatedVMIfPresent(elm);
4267
4351
  // There is a possibility that a custom element is registered under tagName, in which case, the
@@ -4286,22 +4370,20 @@ function createViewModelHook(elm, vnode, renderer) {
4286
4370
  }
4287
4371
  return vm;
4288
4372
  }
4289
- /**
4290
- * Collects all slots into a SlotSet, traversing through VFragment Nodes
4291
- */
4292
- function collectSlots(vm, children, cmpSlotsMapping) {
4373
+ function allocateInSlot(vm, children, owner) {
4293
4374
  var _a, _b;
4375
+ const {
4376
+ cmpSlots: {
4377
+ slotAssignments: oldSlotsMapping
4378
+ }
4379
+ } = vm;
4380
+ const cmpSlotsMapping = create(null);
4381
+ // Collect all slots into cmpSlotsMapping
4294
4382
  for (let i = 0, len = children.length; i < len; i += 1) {
4295
4383
  const vnode = children[i];
4296
4384
  if (isNull(vnode)) {
4297
4385
  continue;
4298
4386
  }
4299
- // Dive further iff the content is wrapped in a VFragment
4300
- if (isVFragment(vnode)) {
4301
- // Remove the text delimiter nodes to avoid overriding default slot content
4302
- collectSlots(vm, vnode.children.slice(1, -1), cmpSlotsMapping);
4303
- continue;
4304
- }
4305
4387
  let slotName = '';
4306
4388
  if (isVBaseElement(vnode)) {
4307
4389
  slotName = (_b = (_a = vnode.data.attrs) === null || _a === void 0 ? void 0 : _a.slot) !== null && _b !== void 0 ? _b : '';
@@ -4311,15 +4393,6 @@ function collectSlots(vm, children, cmpSlotsMapping) {
4311
4393
  const vnodes = cmpSlotsMapping[slotName] = cmpSlotsMapping[slotName] || [];
4312
4394
  ArrayPush$1.call(vnodes, vnode);
4313
4395
  }
4314
- }
4315
- function allocateInSlot(vm, children, owner) {
4316
- const {
4317
- cmpSlots: {
4318
- slotAssignments: oldSlotsMapping
4319
- }
4320
- } = vm;
4321
- const cmpSlotsMapping = create(null);
4322
- collectSlots(vm, children, cmpSlotsMapping);
4323
4396
  vm.cmpSlots = {
4324
4397
  owner,
4325
4398
  slotAssignments: cmpSlotsMapping
@@ -4350,14 +4423,14 @@ function allocateInSlot(vm, children, owner) {
4350
4423
  }
4351
4424
  }
4352
4425
  // Using a WeakMap instead of a WeakSet because this one works in IE11 :(
4353
- const FromIteration = new WeakMap();
4354
- // dynamic children means it was generated by an iteration
4355
- // in a template, and will require a more complex diffing algo.
4426
+ const DynamicChildren = new WeakMap();
4427
+ // dynamic children means it was either generated by an iteration in a template
4428
+ // or part of an unstable fragment, and will require a more complex diffing algo.
4356
4429
  function markAsDynamicChildren(children) {
4357
- FromIteration.set(children, 1);
4430
+ DynamicChildren.set(children, 1);
4358
4431
  }
4359
4432
  function hasDynamicChildren(children) {
4360
- return FromIteration.has(children);
4433
+ return DynamicChildren.has(children);
4361
4434
  }
4362
4435
  function createKeyToOldIdx(children, beginIdx, endIdx) {
4363
4436
  const map = {};
@@ -5184,7 +5257,7 @@ function evaluateTemplate(vm, html) {
5184
5257
  // Create a brand new template cache for the swapped templated.
5185
5258
  context.tplCache = create(null);
5186
5259
  // Set the computeHasScopedStyles property in the context, to avoid recomputing it repeatedly.
5187
- context.hasScopedStyles = computeHasScopedStyles(html);
5260
+ context.hasScopedStyles = computeHasScopedStyles(html, vm);
5188
5261
  // Update the scoping token on the host element.
5189
5262
  updateStylesheetToken(vm, html);
5190
5263
  // Evaluate, create stylesheet and cache the produced VNode for future
@@ -5227,9 +5300,8 @@ function evaluateTemplate(vm, html) {
5227
5300
  }
5228
5301
  return vnodes;
5229
5302
  }
5230
- function computeHasScopedStyles(template) {
5231
- const { stylesheets } = template;
5232
- if (!isUndefined$1(stylesheets)) {
5303
+ function computeHasScopedStylesInStylesheets(stylesheets) {
5304
+ if (hasStyles(stylesheets)) {
5233
5305
  for (let i = 0; i < stylesheets.length; i++) {
5234
5306
  if (isTrue(stylesheets[i][KEY__SCOPED_CSS])) {
5235
5307
  return true;
@@ -5238,6 +5310,15 @@ function computeHasScopedStyles(template) {
5238
5310
  }
5239
5311
  return false;
5240
5312
  }
5313
+ function computeHasScopedStyles(template, vm) {
5314
+ const { stylesheets } = template;
5315
+ const vmStylesheets = !isUndefined$1(vm) ? vm.stylesheets : null;
5316
+ return (computeHasScopedStylesInStylesheets(stylesheets) ||
5317
+ computeHasScopedStylesInStylesheets(vmStylesheets));
5318
+ }
5319
+ function hasStyles(stylesheets) {
5320
+ return !isUndefined$1(stylesheets) && !isNull(stylesheets) && stylesheets.length > 0;
5321
+ }
5241
5322
 
5242
5323
  /*
5243
5324
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5547,6 +5628,7 @@ function createVM(elm, ctor, renderer, options) {
5547
5628
  // Properties set right after VM creation.
5548
5629
  tro: null,
5549
5630
  shadowMode: null,
5631
+ stylesheets: null,
5550
5632
  // Properties set by the LightningElement constructor.
5551
5633
  component: null,
5552
5634
  shadowRoot: null,
@@ -5559,6 +5641,7 @@ function createVM(elm, ctor, renderer, options) {
5559
5641
  if (process.env.NODE_ENV !== 'production') {
5560
5642
  vm.debugInfo = create(null);
5561
5643
  }
5644
+ vm.stylesheets = computeStylesheets(vm, def.ctor);
5562
5645
  vm.shadowMode = computeShadowMode(vm, renderer);
5563
5646
  vm.tro = getTemplateReactiveObserver();
5564
5647
  if (process.env.NODE_ENV !== 'production') {
@@ -5577,6 +5660,42 @@ function createVM(elm, ctor, renderer, options) {
5577
5660
  }
5578
5661
  return vm;
5579
5662
  }
5663
+ function validateComponentStylesheets(vm, stylesheets) {
5664
+ let valid = true;
5665
+ const validate = arrayOrStylesheet => {
5666
+ if (isArray$1(arrayOrStylesheet)) {
5667
+ for (let i = 0; i < arrayOrStylesheet.length; i++) {
5668
+ validate(arrayOrStylesheet[i]);
5669
+ }
5670
+ } else if (!isFunction$1(arrayOrStylesheet)) {
5671
+ // function assumed to be a stylesheet factory
5672
+ valid = false;
5673
+ }
5674
+ };
5675
+ if (!isArray$1(stylesheets)) {
5676
+ valid = false;
5677
+ } else {
5678
+ validate(stylesheets);
5679
+ }
5680
+ return valid;
5681
+ }
5682
+ // Validate and flatten any stylesheets defined as `static stylesheets`
5683
+ function computeStylesheets(vm, ctor) {
5684
+ if (lwcRuntimeFlags.ENABLE_PROGRAMMATIC_STYLESHEETS) {
5685
+ const {
5686
+ stylesheets
5687
+ } = ctor;
5688
+ if (!isUndefined$1(stylesheets)) {
5689
+ const valid = validateComponentStylesheets(vm, stylesheets);
5690
+ if (valid) {
5691
+ return flattenStylesheets(stylesheets);
5692
+ } else if (process.env.NODE_ENV !== 'production') {
5693
+ logError(`static stylesheets must be an array of CSS stylesheets. Found invalid stylesheets on <${vm.tagName}>`, vm);
5694
+ }
5695
+ }
5696
+ }
5697
+ return null;
5698
+ }
5580
5699
  function computeShadowMode(vm, renderer) {
5581
5700
  const {
5582
5701
  def
@@ -6377,7 +6496,7 @@ function freezeTemplate(tmpl) {
6377
6496
  }
6378
6497
  }
6379
6498
  }
6380
- /* version: 2.33.0 */
6499
+ /* version: 2.34.0 */
6381
6500
 
6382
6501
  /*
6383
6502
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6848,6 +6967,6 @@ function renderComponent(tagName, Ctor, props = {}) {
6848
6967
  */
6849
6968
  freeze(LightningElement);
6850
6969
  seal(LightningElement.prototype);
6851
- /* version: 2.33.0 */
6970
+ /* version: 2.34.0 */
6852
6971
 
6853
6972
  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.33.0 */
151
+ /** version: 2.34.0 */
152
152
 
153
153
  /*
154
154
  * Copyright (c) 2018, salesforce.com, inc.
@@ -463,7 +463,7 @@ if (!_globalThis.lwcRuntimeFlags) {
463
463
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
464
464
  }
465
465
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
466
- /** version: 2.33.0 */
466
+ /** version: 2.34.0 */
467
467
 
468
468
  /*
469
469
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4716,4 +4716,4 @@ if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
4716
4716
  }));
4717
4717
  });
4718
4718
  }
4719
- /** version: 2.33.0 */
4719
+ /** version: 2.34.0 */
@@ -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.33.0 */
154
+ /** version: 2.34.0 */
155
155
 
156
156
  /*
157
157
  * Copyright (c) 2018, salesforce.com, inc.
@@ -466,7 +466,7 @@
466
466
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
467
467
  }
468
468
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
469
- /** version: 2.33.0 */
469
+ /** version: 2.34.0 */
470
470
 
471
471
  /*
472
472
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4719,6 +4719,6 @@
4719
4719
  }));
4720
4720
  });
4721
4721
  }
4722
- /** version: 2.33.0 */
4722
+ /** version: 2.34.0 */
4723
4723
 
4724
4724
  })();
@@ -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.33.0 */
90
+ /** version: 2.34.0 */
91
91
 
92
92
  /*
93
93
  * Copyright (c) 2018, salesforce.com, inc.
@@ -402,7 +402,7 @@
402
402
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
403
403
  }
404
404
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
405
- /** version: 2.33.0 */
405
+ /** version: 2.34.0 */
406
406
 
407
407
  /*
408
408
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4518,6 +4518,6 @@
4518
4518
  },
4519
4519
  configurable: true,
4520
4520
  });
4521
- /** version: 2.33.0 */
4521
+ /** version: 2.34.0 */
4522
4522
 
4523
4523
  })();
@@ -176,7 +176,7 @@
176
176
  var hasNativeSymbolSupport = /*@__PURE__*/function () {
177
177
  return Symbol('x').toString() === 'Symbol(x)';
178
178
  }();
179
- /** version: 2.33.0 */
179
+ /** version: 2.34.0 */
180
180
 
181
181
  /*
182
182
  * Copyright (c) 2018, salesforce.com, inc.
@@ -492,7 +492,7 @@
492
492
  });
493
493
  }
494
494
  var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
495
- /** version: 2.33.0 */
495
+ /** version: 2.34.0 */
496
496
 
497
497
  /*
498
498
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4690,6 +4690,6 @@
4690
4690
  }));
4691
4691
  });
4692
4692
  }
4693
- /** version: 2.33.0 */
4693
+ /** version: 2.34.0 */
4694
4694
 
4695
4695
  })();
@@ -110,7 +110,7 @@
110
110
  var KEY__SHADOW_TOKEN = '$shadowToken$';
111
111
  var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
112
112
  var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
113
- /** version: 2.33.0 */
113
+ /** version: 2.34.0 */
114
114
 
115
115
  /*
116
116
  * Copyright (c) 2018, salesforce.com, inc.
@@ -424,7 +424,7 @@
424
424
  });
425
425
  }
426
426
  var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
427
- /** version: 2.33.0 */
427
+ /** version: 2.34.0 */
428
428
 
429
429
  /*
430
430
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4490,6 +4490,6 @@
4490
4490
  },
4491
4491
  configurable: true
4492
4492
  });
4493
- /** version: 2.33.0 */
4493
+ /** version: 2.34.0 */
4494
4494
 
4495
4495
  })();
@@ -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.33.0 */
156
+ /** version: 2.34.0 */
157
157
 
158
158
  /*
159
159
  * Copyright (c) 2018, salesforce.com, inc.
@@ -468,7 +468,7 @@
468
468
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
469
469
  }
470
470
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
471
- /** version: 2.33.0 */
471
+ /** version: 2.34.0 */
472
472
 
473
473
  /*
474
474
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4721,6 +4721,6 @@
4721
4721
  }));
4722
4722
  });
4723
4723
  }
4724
- /** version: 2.33.0 */
4724
+ /** version: 2.34.0 */
4725
4725
 
4726
4726
  }));
@@ -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.33.0 */
92
+ /** version: 2.34.0 */
93
93
 
94
94
  /*
95
95
  * Copyright (c) 2018, salesforce.com, inc.
@@ -404,7 +404,7 @@
404
404
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
405
405
  }
406
406
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
407
- /** version: 2.33.0 */
407
+ /** version: 2.34.0 */
408
408
 
409
409
  /*
410
410
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4520,6 +4520,6 @@
4520
4520
  },
4521
4521
  configurable: true,
4522
4522
  });
4523
- /** version: 2.33.0 */
4523
+ /** version: 2.34.0 */
4524
4524
 
4525
4525
  }));
@@ -178,7 +178,7 @@
178
178
  var hasNativeSymbolSupport = /*@__PURE__*/function () {
179
179
  return Symbol('x').toString() === 'Symbol(x)';
180
180
  }();
181
- /** version: 2.33.0 */
181
+ /** version: 2.34.0 */
182
182
 
183
183
  /*
184
184
  * Copyright (c) 2018, salesforce.com, inc.
@@ -494,7 +494,7 @@
494
494
  });
495
495
  }
496
496
  var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
497
- /** version: 2.33.0 */
497
+ /** version: 2.34.0 */
498
498
 
499
499
  /*
500
500
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4692,6 +4692,6 @@
4692
4692
  }));
4693
4693
  });
4694
4694
  }
4695
- /** version: 2.33.0 */
4695
+ /** version: 2.34.0 */
4696
4696
 
4697
4697
  }));
@@ -112,7 +112,7 @@
112
112
  var KEY__SHADOW_TOKEN = '$shadowToken$';
113
113
  var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
114
114
  var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
115
- /** version: 2.33.0 */
115
+ /** version: 2.34.0 */
116
116
 
117
117
  /*
118
118
  * Copyright (c) 2018, salesforce.com, inc.
@@ -426,7 +426,7 @@
426
426
  });
427
427
  }
428
428
  var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
429
- /** version: 2.33.0 */
429
+ /** version: 2.34.0 */
430
430
 
431
431
  /*
432
432
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4492,6 +4492,6 @@
4492
4492
  },
4493
4493
  configurable: true
4494
4494
  });
4495
- /** version: 2.33.0 */
4495
+ /** version: 2.34.0 */
4496
4496
 
4497
4497
  }));
@@ -7,7 +7,7 @@
7
7
  function isUndefined(obj) {
8
8
  return obj === undefined;
9
9
  }
10
- /** version: 2.33.0 */
10
+ /** version: 2.34.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.33.0 */
184
+ /** version: 2.34.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.33.0 */
13
+ /** version: 2.34.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.33.0 */
187
+ /** version: 2.34.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.33.0 */
13
+ /** version: 2.34.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.33.0 */
187
+ /** version: 2.34.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.33.0 */
26
+ /** version: 2.34.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.33.0 */
230
+ /** version: 2.34.0 */
231
231
 
232
232
  exports.ValueChangedEvent = ValueChangedEvent;
233
233
  exports.register = register;