lwc 2.41.2 → 2.41.4

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 (68) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +13 -9
  2. package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
  3. package/dist/engine-dom/iife/es2017/engine-dom.js +13 -9
  4. package/dist/engine-dom/iife/es2017/engine-dom.js.map +1 -1
  5. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  6. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +11 -7
  7. package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
  8. package/dist/engine-dom/iife/es5/engine-dom.js +27 -19
  9. package/dist/engine-dom/iife/es5/engine-dom.js.map +1 -1
  10. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  11. package/dist/engine-dom/iife/es5/engine-dom_debug.js +25 -17
  12. package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
  13. package/dist/engine-dom/umd/es2017/engine-dom.js +13 -9
  14. package/dist/engine-dom/umd/es2017/engine-dom.js.map +1 -1
  15. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  16. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +11 -7
  17. package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
  18. package/dist/engine-dom/umd/es5/engine-dom.js +27 -19
  19. package/dist/engine-dom/umd/es5/engine-dom.js.map +1 -1
  20. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  21. package/dist/engine-dom/umd/es5/engine-dom_debug.js +25 -17
  22. package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
  23. package/dist/engine-server/commonjs/es2017/engine-server.js +12 -8
  24. package/dist/engine-server/commonjs/es2017/engine-server.js.map +1 -1
  25. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  26. package/dist/engine-server/esm/es2017/engine-server.js +12 -8
  27. package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
  28. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +8 -12
  29. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
  30. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +8 -12
  31. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +1 -1
  32. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  33. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +8 -12
  34. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
  35. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +8 -10
  36. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +1 -1
  37. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  38. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +8 -10
  39. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
  40. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +8 -12
  41. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +1 -1
  42. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  43. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +8 -12
  44. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
  45. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +8 -10
  46. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +1 -1
  47. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  48. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +8 -10
  49. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
  50. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  51. package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
  52. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  53. package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
  54. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  55. package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
  56. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  57. package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
  58. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  59. package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
  60. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  61. package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
  62. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  63. package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
  64. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  65. package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
  66. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  67. package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
  68. package/package.json +7 -7
@@ -351,9 +351,9 @@
351
351
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
352
352
  */
353
353
  // Increment whenever the LWC template compiler changes
354
- var LWC_VERSION = "2.41.2";
354
+ var LWC_VERSION = "2.41.4";
355
355
  var LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
356
- /** version: 2.41.2 */
356
+ /** version: 2.41.4 */
357
357
 
358
358
  /**
359
359
  * Copyright (C) 2018 salesforce.com, inc.
@@ -371,7 +371,6 @@
371
371
  ENABLE_MIXED_SHADOW_MODE: null,
372
372
  ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE: null,
373
373
  ENABLE_WIRE_SYNC_EMIT: null,
374
- ENABLE_LIGHT_GET_ROOT_NODE_PATCH: null,
375
374
  DISABLE_LIGHT_DOM_UNSCOPED_CSS: null,
376
375
  ENABLE_FROZEN_TEMPLATE: null,
377
376
  DISABLE_ARIA_REFLECTION_POLYFILL: null
@@ -434,7 +433,7 @@
434
433
  setFeatureFlag(name, value);
435
434
  }
436
435
  }
437
- /** version: 2.41.2 */
436
+ /** version: 2.41.4 */
438
437
 
439
438
  /**
440
439
  * Copyright (C) 2018 salesforce.com, inc.
@@ -498,7 +497,7 @@
498
497
  }
499
498
  }
500
499
  }
501
- /** version: 2.41.2 */
500
+ /** version: 2.41.4 */
502
501
 
503
502
  /*
504
503
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5364,7 +5363,7 @@
5364
5363
  if (!isUndefined$1(slotset) && !isUndefined$1(slotset.slotAssignments) && !isUndefined$1(slotset.slotAssignments[slotName]) && slotset.slotAssignments[slotName].length !== 0) {
5365
5364
  var newChildren = [];
5366
5365
  var slotAssignments = slotset.slotAssignments[slotName];
5367
- for (var _i25 = 0; _i25 < slotAssignments.length; _i25++) {
5366
+ var _loop3 = function _loop3() {
5368
5367
  var vnode = slotAssignments[_i25];
5369
5368
  if (!isNull(vnode)) {
5370
5369
  var assignedNodeIsScopedSlot = isVScopedSlotFragment(vnode);
@@ -5376,7 +5375,7 @@
5376
5375
  logError("Mismatched slot types for ".concat(slotName === '' ? '(default)' : slotName, " slot. Both parent and child component must use standard type or scoped type for a given slot."), slotset.owner);
5377
5376
  }
5378
5377
  // Ignore slot content from parent
5379
- continue;
5378
+ return "continue";
5380
5379
  }
5381
5380
  // If the passed slot content is factory, evaluate it and add the produced vnodes
5382
5381
  if (assignedNodeIsScopedSlot) {
@@ -5386,7 +5385,12 @@
5386
5385
  // undefined is for root components, but root components cannot accept slotted content
5387
5386
  setVMBeingRendered(slotset.owner);
5388
5387
  try {
5389
- ArrayPush$1.call(newChildren, vnode.factory(data.slotData, data.key));
5388
+ // The factory function is a template snippet from the slot set owner's template,
5389
+ // hence switch over to the slot set owner's template reactive observer
5390
+ var tro = slotset.owner.tro;
5391
+ tro.observe(function () {
5392
+ ArrayPush$1.call(newChildren, vnode.factory(data.slotData, data.key));
5393
+ });
5390
5394
  } finally {
5391
5395
  setVMBeingRendered(vmBeingRenderedInception);
5392
5396
  }
@@ -5396,6 +5400,10 @@
5396
5400
  ArrayPush$1.call(newChildren, vnode);
5397
5401
  }
5398
5402
  }
5403
+ };
5404
+ for (var _i25 = 0; _i25 < slotAssignments.length; _i25++) {
5405
+ var _ret = _loop3();
5406
+ if (_ret === "continue") continue;
5399
5407
  }
5400
5408
  children = newChildren;
5401
5409
  }
@@ -7032,7 +7040,7 @@
7032
7040
  var _iterator12 = _createForOfIteratorHelper(NON_STANDARD_ARIA_PROPS),
7033
7041
  _step12;
7034
7042
  try {
7035
- var _loop3 = function _loop3() {
7043
+ var _loop4 = function _loop4() {
7036
7044
  var prop = _step12.value;
7037
7045
  var descriptor = getOwnPropertyDescriptor$1(prototype, prop);
7038
7046
  // The descriptor should exist because the @lwc/aria-reflection polyfill has run by now.
@@ -7061,7 +7069,7 @@
7061
7069
  });
7062
7070
  };
7063
7071
  for (_iterator12.s(); !(_step12 = _iterator12.n()).done;) {
7064
- _loop3();
7072
+ _loop4();
7065
7073
  }
7066
7074
  } catch (err) {
7067
7075
  _iterator12.e(err);
@@ -7611,7 +7619,7 @@
7611
7619
  var _iterator13 = _createForOfIteratorHelper(ARRAY_MUTATION_METHODS),
7612
7620
  _step13;
7613
7621
  try {
7614
- var _loop4 = function _loop4() {
7622
+ var _loop5 = function _loop5() {
7615
7623
  var prop = _step13.value;
7616
7624
  var originalArrayMethod = getOriginalArrayMethod(prop);
7617
7625
  stylesheets[prop] = function arrayMutationWarningWrapper() {
@@ -7621,7 +7629,7 @@
7621
7629
  };
7622
7630
  };
7623
7631
  for (_iterator13.s(); !(_step13 = _iterator13.n()).done;) {
7624
- _loop4();
7632
+ _loop5();
7625
7633
  }
7626
7634
  } catch (err) {
7627
7635
  _iterator13.e(err);
@@ -7635,7 +7643,7 @@
7635
7643
  var _iterator14 = _createForOfIteratorHelper(STYLESHEET_PROPS),
7636
7644
  _step14;
7637
7645
  try {
7638
- var _loop5 = function _loop5() {
7646
+ var _loop6 = function _loop6() {
7639
7647
  var prop = _step14.value;
7640
7648
  var value = stylesheet[prop];
7641
7649
  defineProperty(stylesheet, prop, {
@@ -7651,7 +7659,7 @@
7651
7659
  });
7652
7660
  };
7653
7661
  for (_iterator14.s(); !(_step14 = _iterator14.n()).done;) {
7654
- _loop5();
7662
+ _loop6();
7655
7663
  }
7656
7664
  } catch (err) {
7657
7665
  _iterator14.e(err);
@@ -7694,7 +7702,7 @@
7694
7702
  var _iterator15 = _createForOfIteratorHelper(TEMPLATE_PROPS),
7695
7703
  _step15;
7696
7704
  try {
7697
- var _loop6 = function _loop6() {
7705
+ var _loop7 = function _loop7() {
7698
7706
  var prop = _step15.value;
7699
7707
  var value = tmpl[prop];
7700
7708
  defineProperty(tmpl, prop, {
@@ -7712,7 +7720,7 @@
7712
7720
  });
7713
7721
  };
7714
7722
  for (_iterator15.s(); !(_step15 = _iterator15.n()).done;) {
7715
- _loop6();
7723
+ _loop7();
7716
7724
  }
7717
7725
  } catch (err) {
7718
7726
  _iterator15.e(err);
@@ -7826,7 +7834,7 @@
7826
7834
  }
7827
7835
  return getReadOnlyProxy(obj);
7828
7836
  }
7829
- /* version: 2.41.2 */
7837
+ /* version: 2.41.4 */
7830
7838
 
7831
7839
  /*
7832
7840
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8252,7 +8260,7 @@
8252
8260
  function isNull(obj) {
8253
8261
  return obj === null;
8254
8262
  }
8255
- /** version: 2.41.2 */
8263
+ /** version: 2.41.4 */
8256
8264
 
8257
8265
  /*
8258
8266
  * Copyright (c) 2023, salesforce.com, inc.
@@ -8894,7 +8902,7 @@
8894
8902
  });
8895
8903
  });
8896
8904
  }
8897
- /* version: 2.41.2 */
8905
+ /* version: 2.41.4 */
8898
8906
 
8899
8907
  exports.LightningElement = LightningElement;
8900
8908
  exports.__unstable__ProfilerControl = profilerControl;