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
@@ -348,9 +348,9 @@ var LWC = (function (exports) {
348
348
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
349
349
  */
350
350
  // Increment whenever the LWC template compiler changes
351
- var LWC_VERSION = "2.41.2";
351
+ var LWC_VERSION = "2.41.4";
352
352
  var LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
353
- /** version: 2.41.2 */
353
+ /** version: 2.41.4 */
354
354
 
355
355
  /**
356
356
  * Copyright (C) 2018 salesforce.com, inc.
@@ -368,7 +368,6 @@ var LWC = (function (exports) {
368
368
  ENABLE_MIXED_SHADOW_MODE: null,
369
369
  ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE: null,
370
370
  ENABLE_WIRE_SYNC_EMIT: null,
371
- ENABLE_LIGHT_GET_ROOT_NODE_PATCH: null,
372
371
  DISABLE_LIGHT_DOM_UNSCOPED_CSS: null,
373
372
  ENABLE_FROZEN_TEMPLATE: null,
374
373
  DISABLE_ARIA_REFLECTION_POLYFILL: null
@@ -431,7 +430,7 @@ var LWC = (function (exports) {
431
430
  setFeatureFlag(name, value);
432
431
  }
433
432
  }
434
- /** version: 2.41.2 */
433
+ /** version: 2.41.4 */
435
434
 
436
435
  /**
437
436
  * Copyright (C) 2018 salesforce.com, inc.
@@ -495,7 +494,7 @@ var LWC = (function (exports) {
495
494
  }
496
495
  }
497
496
  }
498
- /** version: 2.41.2 */
497
+ /** version: 2.41.4 */
499
498
 
500
499
  /*
501
500
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5361,7 +5360,7 @@ var LWC = (function (exports) {
5361
5360
  if (!isUndefined$1(slotset) && !isUndefined$1(slotset.slotAssignments) && !isUndefined$1(slotset.slotAssignments[slotName]) && slotset.slotAssignments[slotName].length !== 0) {
5362
5361
  var newChildren = [];
5363
5362
  var slotAssignments = slotset.slotAssignments[slotName];
5364
- for (var _i25 = 0; _i25 < slotAssignments.length; _i25++) {
5363
+ var _loop3 = function _loop3() {
5365
5364
  var vnode = slotAssignments[_i25];
5366
5365
  if (!isNull(vnode)) {
5367
5366
  var assignedNodeIsScopedSlot = isVScopedSlotFragment(vnode);
@@ -5373,7 +5372,7 @@ var LWC = (function (exports) {
5373
5372
  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);
5374
5373
  }
5375
5374
  // Ignore slot content from parent
5376
- continue;
5375
+ return "continue";
5377
5376
  }
5378
5377
  // If the passed slot content is factory, evaluate it and add the produced vnodes
5379
5378
  if (assignedNodeIsScopedSlot) {
@@ -5383,7 +5382,12 @@ var LWC = (function (exports) {
5383
5382
  // undefined is for root components, but root components cannot accept slotted content
5384
5383
  setVMBeingRendered(slotset.owner);
5385
5384
  try {
5386
- ArrayPush$1.call(newChildren, vnode.factory(data.slotData, data.key));
5385
+ // The factory function is a template snippet from the slot set owner's template,
5386
+ // hence switch over to the slot set owner's template reactive observer
5387
+ var tro = slotset.owner.tro;
5388
+ tro.observe(function () {
5389
+ ArrayPush$1.call(newChildren, vnode.factory(data.slotData, data.key));
5390
+ });
5387
5391
  } finally {
5388
5392
  setVMBeingRendered(vmBeingRenderedInception);
5389
5393
  }
@@ -5393,6 +5397,10 @@ var LWC = (function (exports) {
5393
5397
  ArrayPush$1.call(newChildren, vnode);
5394
5398
  }
5395
5399
  }
5400
+ };
5401
+ for (var _i25 = 0; _i25 < slotAssignments.length; _i25++) {
5402
+ var _ret = _loop3();
5403
+ if (_ret === "continue") continue;
5396
5404
  }
5397
5405
  children = newChildren;
5398
5406
  }
@@ -7029,7 +7037,7 @@ var LWC = (function (exports) {
7029
7037
  var _iterator12 = _createForOfIteratorHelper(NON_STANDARD_ARIA_PROPS),
7030
7038
  _step12;
7031
7039
  try {
7032
- var _loop3 = function _loop3() {
7040
+ var _loop4 = function _loop4() {
7033
7041
  var prop = _step12.value;
7034
7042
  var descriptor = getOwnPropertyDescriptor$1(prototype, prop);
7035
7043
  // The descriptor should exist because the @lwc/aria-reflection polyfill has run by now.
@@ -7058,7 +7066,7 @@ var LWC = (function (exports) {
7058
7066
  });
7059
7067
  };
7060
7068
  for (_iterator12.s(); !(_step12 = _iterator12.n()).done;) {
7061
- _loop3();
7069
+ _loop4();
7062
7070
  }
7063
7071
  } catch (err) {
7064
7072
  _iterator12.e(err);
@@ -7608,7 +7616,7 @@ var LWC = (function (exports) {
7608
7616
  var _iterator13 = _createForOfIteratorHelper(ARRAY_MUTATION_METHODS),
7609
7617
  _step13;
7610
7618
  try {
7611
- var _loop4 = function _loop4() {
7619
+ var _loop5 = function _loop5() {
7612
7620
  var prop = _step13.value;
7613
7621
  var originalArrayMethod = getOriginalArrayMethod(prop);
7614
7622
  stylesheets[prop] = function arrayMutationWarningWrapper() {
@@ -7618,7 +7626,7 @@ var LWC = (function (exports) {
7618
7626
  };
7619
7627
  };
7620
7628
  for (_iterator13.s(); !(_step13 = _iterator13.n()).done;) {
7621
- _loop4();
7629
+ _loop5();
7622
7630
  }
7623
7631
  } catch (err) {
7624
7632
  _iterator13.e(err);
@@ -7632,7 +7640,7 @@ var LWC = (function (exports) {
7632
7640
  var _iterator14 = _createForOfIteratorHelper(STYLESHEET_PROPS),
7633
7641
  _step14;
7634
7642
  try {
7635
- var _loop5 = function _loop5() {
7643
+ var _loop6 = function _loop6() {
7636
7644
  var prop = _step14.value;
7637
7645
  var value = stylesheet[prop];
7638
7646
  defineProperty(stylesheet, prop, {
@@ -7648,7 +7656,7 @@ var LWC = (function (exports) {
7648
7656
  });
7649
7657
  };
7650
7658
  for (_iterator14.s(); !(_step14 = _iterator14.n()).done;) {
7651
- _loop5();
7659
+ _loop6();
7652
7660
  }
7653
7661
  } catch (err) {
7654
7662
  _iterator14.e(err);
@@ -7691,7 +7699,7 @@ var LWC = (function (exports) {
7691
7699
  var _iterator15 = _createForOfIteratorHelper(TEMPLATE_PROPS),
7692
7700
  _step15;
7693
7701
  try {
7694
- var _loop6 = function _loop6() {
7702
+ var _loop7 = function _loop7() {
7695
7703
  var prop = _step15.value;
7696
7704
  var value = tmpl[prop];
7697
7705
  defineProperty(tmpl, prop, {
@@ -7709,7 +7717,7 @@ var LWC = (function (exports) {
7709
7717
  });
7710
7718
  };
7711
7719
  for (_iterator15.s(); !(_step15 = _iterator15.n()).done;) {
7712
- _loop6();
7720
+ _loop7();
7713
7721
  }
7714
7722
  } catch (err) {
7715
7723
  _iterator15.e(err);
@@ -7823,7 +7831,7 @@ var LWC = (function (exports) {
7823
7831
  }
7824
7832
  return getReadOnlyProxy(obj);
7825
7833
  }
7826
- /* version: 2.41.2 */
7834
+ /* version: 2.41.4 */
7827
7835
 
7828
7836
  /*
7829
7837
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8249,7 +8257,7 @@ var LWC = (function (exports) {
8249
8257
  function isNull(obj) {
8250
8258
  return obj === null;
8251
8259
  }
8252
- /** version: 2.41.2 */
8260
+ /** version: 2.41.4 */
8253
8261
 
8254
8262
  /*
8255
8263
  * Copyright (c) 2023, salesforce.com, inc.
@@ -8891,7 +8899,7 @@ var LWC = (function (exports) {
8891
8899
  });
8892
8900
  });
8893
8901
  }
8894
- /* version: 2.41.2 */
8902
+ /* version: 2.41.4 */
8895
8903
 
8896
8904
  exports.LightningElement = LightningElement;
8897
8905
  exports.__unstable__ProfilerControl = profilerControl;