lwc 2.35.2 → 2.37.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 +260 -654
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +260 -654
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +286 -608
  5. package/dist/engine-dom/iife/es5/engine-dom.js +406 -852
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +450 -778
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +260 -654
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +286 -608
  11. package/dist/engine-dom/umd/es5/engine-dom.js +406 -852
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +450 -778
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +153 -92
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +153 -93
  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
@@ -440,9 +440,9 @@ function htmlEscape(str, attrMode = false) {
440
440
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
441
441
  */
442
442
  // Increment whenever the LWC template compiler changes
443
- const LWC_VERSION = "2.35.2";
443
+ const LWC_VERSION = "2.37.0";
444
444
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
445
- /** version: 2.35.2 */
445
+ /** version: 2.37.0 */
446
446
 
447
447
  /*
448
448
  * Copyright (c) 2020, salesforce.com, inc.
@@ -494,10 +494,8 @@ const features = {
494
494
  ENABLE_WIRE_SYNC_EMIT: null,
495
495
  ENABLE_LIGHT_GET_ROOT_NODE_PATCH: null,
496
496
  DISABLE_LIGHT_DOM_UNSCOPED_CSS: null,
497
- ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY: null,
498
497
  ENABLE_FROZEN_TEMPLATE: null,
499
498
  DISABLE_ARIA_REFLECTION_POLYFILL: null,
500
- ENABLE_PROGRAMMATIC_STYLESHEETS: null,
501
499
  };
502
500
  if (!_globalThis.lwcRuntimeFlags) {
503
501
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
@@ -553,7 +551,7 @@ function setFeatureFlagForTest(name, value) {
553
551
  setFeatureFlag(name, value);
554
552
  }
555
553
  }
556
- /** version: 2.35.2 */
554
+ /** version: 2.37.0 */
557
555
 
558
556
  /**
559
557
  * Copyright (C) 2018 salesforce.com, inc.
@@ -617,7 +615,7 @@ function applyAriaReflection(prototype = Element.prototype) {
617
615
  }
618
616
  }
619
617
  }
620
- /** version: 2.35.2 */
618
+ /** version: 2.37.0 */
621
619
 
622
620
  /* proxy-compat-disable */
623
621
 
@@ -732,6 +730,9 @@ function log(method, message, vm, once) {
732
730
  function logError(message, vm) {
733
731
  log('error', message, vm, false);
734
732
  }
733
+ function logWarnOnce(message, vm) {
734
+ log('warn', message, vm, true);
735
+ }
735
736
 
736
737
  /*
737
738
  * Copyright (c) 2019, salesforce.com, inc.
@@ -790,7 +791,7 @@ function guid() {
790
791
  function flattenStylesheets(stylesheets) {
791
792
  const list = [];
792
793
  for (const stylesheet of stylesheets) {
793
- if (!Array.isArray(stylesheet)) {
794
+ if (!isArray$1(stylesheet)) {
794
795
  list.push(stylesheet);
795
796
  }
796
797
  else {
@@ -4614,7 +4615,12 @@ function allocateInSlot(vm, children, owner) {
4614
4615
  } else if (isVScopedSlotFragment(vnode)) {
4615
4616
  slotName = vnode.slotName;
4616
4617
  }
4617
- const vnodes = cmpSlotsMapping[slotName] = cmpSlotsMapping[slotName] || [];
4618
+ // Can't use toString here because Symbol(1).toString() is 'Symbol(1)'
4619
+ // but elm.setAttribute('slot', Symbol(1)) is an error.
4620
+ // the following line also throws same error for symbols
4621
+ // Similar for Object.create(null)
4622
+ const normalizedSlotName = '' + slotName;
4623
+ const vnodes = cmpSlotsMapping[normalizedSlotName] = cmpSlotsMapping[normalizedSlotName] || [];
4618
4624
  ArrayPush$1.call(vnodes, vnode);
4619
4625
  }
4620
4626
  vm.cmpSlots = {
@@ -5641,6 +5647,8 @@ function registerComponent(
5641
5647
  Ctor, { tmpl }) {
5642
5648
  if (isFunction$1(Ctor)) {
5643
5649
  if (process.env.NODE_ENV !== 'production') {
5650
+ // There is no point in running this in production, because the version mismatch check relies
5651
+ // on code comments which are stripped out in production by minifiers
5644
5652
  checkVersionMismatch(Ctor, 'component');
5645
5653
  }
5646
5654
  signedTemplateMap.set(Ctor, tmpl);
@@ -5899,20 +5907,37 @@ function validateComponentStylesheets(vm, stylesheets) {
5899
5907
  }
5900
5908
  // Validate and flatten any stylesheets defined as `static stylesheets`
5901
5909
  function computeStylesheets(vm, ctor) {
5902
- if (lwcRuntimeFlags.ENABLE_PROGRAMMATIC_STYLESHEETS) {
5903
- const {
5910
+ warnOnStylesheetsMutation(ctor);
5911
+ const {
5912
+ stylesheets
5913
+ } = ctor;
5914
+ if (!isUndefined$1(stylesheets)) {
5915
+ const valid = validateComponentStylesheets(vm, stylesheets);
5916
+ if (valid) {
5917
+ return flattenStylesheets(stylesheets);
5918
+ } else if (process.env.NODE_ENV !== 'production') {
5919
+ logError(`static stylesheets must be an array of CSS stylesheets. Found invalid stylesheets on <${vm.tagName}>`, vm);
5920
+ }
5921
+ }
5922
+ return null;
5923
+ }
5924
+ function warnOnStylesheetsMutation(ctor) {
5925
+ if (process.env.NODE_ENV !== 'production') {
5926
+ let {
5904
5927
  stylesheets
5905
5928
  } = ctor;
5906
- if (!isUndefined$1(stylesheets)) {
5907
- const valid = validateComponentStylesheets(vm, stylesheets);
5908
- if (valid) {
5909
- return flattenStylesheets(stylesheets);
5910
- } else if (process.env.NODE_ENV !== 'production') {
5911
- logError(`static stylesheets must be an array of CSS stylesheets. Found invalid stylesheets on <${vm.tagName}>`, vm);
5929
+ defineProperty(ctor, 'stylesheets', {
5930
+ enumerable: true,
5931
+ configurable: true,
5932
+ get() {
5933
+ return stylesheets;
5934
+ },
5935
+ set(newValue) {
5936
+ logWarnOnce(`Dynamically setting the "stylesheets" static property on ${ctor.name} ` + 'will not affect the stylesheets injected.');
5937
+ stylesheets = newValue;
5912
5938
  }
5913
- }
5939
+ });
5914
5940
  }
5915
- return null;
5916
5941
  }
5917
5942
  function computeShadowMode(vm, renderer) {
5918
5943
  const {
@@ -6277,12 +6302,13 @@ function setHooks(hooks) {
6277
6302
  */
6278
6303
  // See @lwc/engine-core/src/framework/template.ts
6279
6304
  const TEMPLATE_PROPS = ['slots', 'stylesheetToken', 'stylesheets', 'renderMode'];
6280
- // Via https://www.npmjs.com/package/object-observer
6281
- const ARRAY_MUTATION_METHODS = ['pop', 'push', 'shift', 'unshift', 'reverse', 'sort', 'fill', 'splice', 'copyWithin'];
6282
6305
  // Expandos that may be placed on a stylesheet factory function, and which are meaningful to LWC at runtime
6283
- const STYLESHEET_FUNCTION_EXPANDOS = [
6306
+ const STYLESHEET_PROPS = [
6284
6307
  // SEE `KEY__SCOPED_CSS` in @lwc/style-compiler
6285
6308
  '$scoped$'];
6309
+ // Via https://www.npmjs.com/package/object-observer
6310
+ const ARRAY_MUTATION_METHODS = ['pop', 'push', 'shift', 'unshift', 'reverse', 'sort', 'fill', 'splice', 'copyWithin'];
6311
+ let mutationTrackingDisabled = false;
6286
6312
  function getOriginalArrayMethod(prop) {
6287
6313
  switch (prop) {
6288
6314
  case 'pop':
@@ -6305,7 +6331,17 @@ function getOriginalArrayMethod(prop) {
6305
6331
  return ArrayCopyWithin;
6306
6332
  }
6307
6333
  }
6308
- let mutationWarningsSilenced = false;
6334
+ function reportViolation(type, eventId, prop) {
6335
+ if (process.env.NODE_ENV !== 'production') {
6336
+ logWarnOnce(`Mutating the "${prop}" property on a ${type} ` + `is deprecated and will be removed in a future version of LWC. ` + `See: https://sfdc.co/template-mutation`);
6337
+ }
6338
+ }
6339
+ function reportTemplateViolation(prop) {
6340
+ reportViolation('template', 3 /* ReportingEventId.TemplateMutation */, prop);
6341
+ }
6342
+ function reportStylesheetViolation(prop) {
6343
+ reportViolation('stylesheet', 4 /* ReportingEventId.StylesheetMutation */, prop);
6344
+ }
6309
6345
  // Warn if the user tries to mutate a stylesheets array, e.g.:
6310
6346
  // `tmpl.stylesheets.push(someStylesheetFunction)`
6311
6347
  function warnOnArrayMutation(stylesheets) {
@@ -6314,7 +6350,7 @@ function warnOnArrayMutation(stylesheets) {
6314
6350
  for (const prop of ARRAY_MUTATION_METHODS) {
6315
6351
  const originalArrayMethod = getOriginalArrayMethod(prop);
6316
6352
  stylesheets[prop] = function arrayMutationWarningWrapper() {
6317
- logError(`Mutating the "stylesheets" array on a template function ` + `is deprecated and may be removed in a future version of LWC.`);
6353
+ reportTemplateViolation('stylesheets');
6318
6354
  // @ts-ignore
6319
6355
  return originalArrayMethod.apply(this, arguments);
6320
6356
  };
@@ -6323,8 +6359,7 @@ function warnOnArrayMutation(stylesheets) {
6323
6359
  // Warn if the user tries to mutate a stylesheet factory function, e.g.:
6324
6360
  // `stylesheet.$scoped$ = true`
6325
6361
  function warnOnStylesheetFunctionMutation(stylesheet) {
6326
- // We could warn on other properties, but in practice only certain expandos are meaningful to LWC at runtime
6327
- for (const prop of STYLESHEET_FUNCTION_EXPANDOS) {
6362
+ for (const prop of STYLESHEET_PROPS) {
6328
6363
  let value = stylesheet[prop];
6329
6364
  defineProperty(stylesheet, prop, {
6330
6365
  enumerable: true,
@@ -6333,14 +6368,14 @@ function warnOnStylesheetFunctionMutation(stylesheet) {
6333
6368
  return value;
6334
6369
  },
6335
6370
  set(newValue) {
6336
- logError(`Dynamically setting the "${prop}" property on a stylesheet function ` + `is deprecated and may be removed in a future version of LWC.`);
6371
+ reportStylesheetViolation(prop);
6337
6372
  value = newValue;
6338
6373
  }
6339
6374
  });
6340
6375
  }
6341
6376
  }
6342
6377
  // Warn on either array or stylesheet (function) mutation, in a deeply-nested array
6343
- function warnOnStylesheetsMutation(stylesheets) {
6378
+ function trackStylesheetsMutation(stylesheets) {
6344
6379
  traverseStylesheets(stylesheets, subStylesheets => {
6345
6380
  if (isArray$1(subStylesheets)) {
6346
6381
  warnOnArrayMutation(subStylesheets);
@@ -6367,7 +6402,70 @@ function traverseStylesheets(stylesheets, callback) {
6367
6402
  }
6368
6403
  }
6369
6404
  }
6405
+ function trackMutations(tmpl) {
6406
+ if (!isUndefined$1(tmpl.stylesheets)) {
6407
+ trackStylesheetsMutation(tmpl.stylesheets);
6408
+ }
6409
+ for (const prop of TEMPLATE_PROPS) {
6410
+ let value = tmpl[prop];
6411
+ defineProperty(tmpl, prop, {
6412
+ enumerable: true,
6413
+ configurable: true,
6414
+ get() {
6415
+ return value;
6416
+ },
6417
+ set(newValue) {
6418
+ if (!mutationTrackingDisabled) {
6419
+ reportTemplateViolation(prop);
6420
+ }
6421
+ value = newValue;
6422
+ }
6423
+ });
6424
+ }
6425
+ const originalDescriptor = getOwnPropertyDescriptor$1(tmpl, 'stylesheetTokens');
6426
+ defineProperty(tmpl, 'stylesheetTokens', {
6427
+ enumerable: true,
6428
+ configurable: true,
6429
+ get: originalDescriptor.get,
6430
+ set(value) {
6431
+ reportTemplateViolation('stylesheetTokens');
6432
+ // Avoid logging/reporting twice (for both stylesheetToken and stylesheetTokens)
6433
+ mutationTrackingDisabled = true;
6434
+ originalDescriptor.set.call(this, value);
6435
+ mutationTrackingDisabled = false;
6436
+ }
6437
+ });
6438
+ }
6439
+ function addLegacyStylesheetTokensShim(tmpl) {
6440
+ // When ENABLE_FROZEN_TEMPLATE is false, then we shim stylesheetTokens on top of stylesheetToken for anyone who
6441
+ // is accessing the old internal API (backwards compat). Details: https://salesforce.quip.com/v1rmAFu2cKAr
6442
+ defineProperty(tmpl, 'stylesheetTokens', {
6443
+ enumerable: true,
6444
+ configurable: true,
6445
+ get() {
6446
+ const {
6447
+ stylesheetToken
6448
+ } = this;
6449
+ if (isUndefined$1(stylesheetToken)) {
6450
+ return stylesheetToken;
6451
+ }
6452
+ // Shim for the old `stylesheetTokens` property
6453
+ // See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
6454
+ return {
6455
+ hostAttribute: `${stylesheetToken}-host`,
6456
+ shadowAttribute: stylesheetToken
6457
+ };
6458
+ },
6459
+ set(value) {
6460
+ // If the value is null or some other exotic object, you would be broken anyway in the past
6461
+ // because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
6462
+ // However it may be undefined in newer versions of LWC, so we need to guard against that case.
6463
+ this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
6464
+ }
6465
+ });
6466
+ }
6370
6467
  function freezeTemplate(tmpl) {
6468
+ // TODO [#2782]: remove this flag and delete the legacy behavior
6371
6469
  if (lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE) {
6372
6470
  // Deep freeze the template
6373
6471
  freeze(tmpl);
@@ -6375,71 +6473,16 @@ function freezeTemplate(tmpl) {
6375
6473
  deepFreeze(tmpl.stylesheets);
6376
6474
  }
6377
6475
  } else {
6378
- // TODO [#2782]: remove this flag and delete the legacy behavior
6379
- // When ENABLE_FROZEN_TEMPLATE is false, then we shim stylesheetTokens on top of stylesheetToken for anyone who
6380
- // is accessing the old internal API (backwards compat). Details: https://salesforce.quip.com/v1rmAFu2cKAr
6381
- defineProperty(tmpl, 'stylesheetTokens', {
6382
- enumerable: true,
6383
- configurable: true,
6384
- get() {
6385
- const {
6386
- stylesheetToken
6387
- } = this;
6388
- if (isUndefined$1(stylesheetToken)) {
6389
- return stylesheetToken;
6390
- }
6391
- // Shim for the old `stylesheetTokens` property
6392
- // See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
6393
- return {
6394
- hostAttribute: `${stylesheetToken}-host`,
6395
- shadowAttribute: stylesheetToken
6396
- };
6397
- },
6398
- set(value) {
6399
- // If the value is null or some other exotic object, you would be broken anyway in the past
6400
- // because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
6401
- // However it may be undefined in newer versions of LWC, so we need to guard against that case.
6402
- this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
6403
- }
6404
- });
6405
- // When ENABLE_FROZEN_TEMPLATE is false, warn in dev mode whenever someone is mutating the template
6476
+ // template is not frozen - shim, report, and warn
6477
+ // this shim should be applied in both dev and prod
6478
+ addLegacyStylesheetTokensShim(tmpl);
6479
+ // When ENABLE_FROZEN_TEMPLATE is false, we want to warn in dev mode whenever someone is mutating the template
6406
6480
  if (process.env.NODE_ENV !== 'production') {
6407
- if (!isUndefined$1(tmpl.stylesheets)) {
6408
- warnOnStylesheetsMutation(tmpl.stylesheets);
6409
- }
6410
- for (const prop of TEMPLATE_PROPS) {
6411
- let value = tmpl[prop];
6412
- defineProperty(tmpl, prop, {
6413
- enumerable: true,
6414
- configurable: true,
6415
- get() {
6416
- return value;
6417
- },
6418
- set(newValue) {
6419
- if (!mutationWarningsSilenced) {
6420
- logError(`Dynamically setting the "${prop}" property on a template function ` + `is deprecated and may be removed in a future version of LWC.`);
6421
- }
6422
- value = newValue;
6423
- }
6424
- });
6425
- }
6426
- const originalDescriptor = getOwnPropertyDescriptor$1(tmpl, 'stylesheetTokens');
6427
- defineProperty(tmpl, 'stylesheetTokens', {
6428
- enumerable: true,
6429
- configurable: true,
6430
- get: originalDescriptor.get,
6431
- set(value) {
6432
- logError(`Dynamically setting the "stylesheetTokens" property on a template function ` + `is deprecated and may be removed in a future version of LWC.`);
6433
- // Avoid logging twice (for both stylesheetToken and stylesheetTokens)
6434
- mutationWarningsSilenced = true;
6435
- originalDescriptor.set.call(this, value);
6436
- mutationWarningsSilenced = false;
6437
- }
6438
- });
6481
+ trackMutations(tmpl);
6439
6482
  }
6440
6483
  }
6441
6484
  }
6442
- /* version: 2.35.2 */
6485
+ /* version: 2.37.0 */
6443
6486
 
6444
6487
  /*
6445
6488
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6491,7 +6534,7 @@ function unsupportedMethod(name) {
6491
6534
  throw new TypeError(`"${name}" is not supported in this environment`);
6492
6535
  };
6493
6536
  }
6494
- function createElement(tagName, namespace) {
6537
+ function createElement$1(tagName, namespace) {
6495
6538
  return {
6496
6539
  [HostTypeKey]: HostNodeType.Element,
6497
6540
  tagName,
@@ -6742,7 +6785,7 @@ const assertInstanceOfHTMLElement = noop;
6742
6785
  const localRegistryRecord = new Map();
6743
6786
  function createUpgradableElementConstructor(tagName) {
6744
6787
  return function Ctor(upgradeCallback) {
6745
- const elm = createElement(tagName);
6788
+ const elm = createElement$1(tagName);
6746
6789
  if (isFunction$1(upgradeCallback)) {
6747
6790
  upgradeCallback(elm); // nothing to do with the result for now
6748
6791
  }
@@ -6769,7 +6812,7 @@ const renderer = {
6769
6812
  remove,
6770
6813
  cloneNode,
6771
6814
  createFragment,
6772
- createElement,
6815
+ createElement: createElement$1,
6773
6816
  createText,
6774
6817
  createComment,
6775
6818
  createCustomElement,
@@ -6910,6 +6953,23 @@ function renderComponent(tagName, Ctor, props = {}) {
6910
6953
  */
6911
6954
  freeze(LightningElement);
6912
6955
  seal(LightningElement.prototype);
6913
- /* version: 2.35.2 */
6914
6956
 
6915
- 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 };
6957
+ /*
6958
+ * Copyright (c) 2018, salesforce.com, inc.
6959
+ * All rights reserved.
6960
+ * SPDX-License-Identifier: MIT
6961
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6962
+ */
6963
+ /**
6964
+ * This API is equivalent to the createElement function exposed by @lwc/engine-dom. It doesn't do anything on
6965
+ * the server side, however, you may import it.
6966
+ *
6967
+ * The whole point of defining this and exporting it is so that you can import it in isomorphic code without
6968
+ * an error being thrown by the import itself.
6969
+ */
6970
+ function createElement() {
6971
+ throw new Error('createElement is not supported in @lwc/engine-server, only @lwc/engine-dom.');
6972
+ }
6973
+ /* version: 2.37.0 */
6974
+
6975
+ export { LightningElement, api$1 as api, createContextProvider, createElement, freezeTemplate, getComponentDef, isComponentConstructor, parseFragment, parseFragment as parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
@@ -120,7 +120,7 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
120
120
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
121
121
  // we can't use typeof since it will fail when transpiling.
122
122
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
123
- /** version: 2.35.2 */
123
+ /** version: 2.37.0 */
124
124
 
125
125
  /*
126
126
  * Copyright (c) 2018, salesforce.com, inc.
@@ -435,7 +435,7 @@ if (!_globalThis.lwcRuntimeFlags) {
435
435
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
436
436
  }
437
437
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
438
- /** version: 2.35.2 */
438
+ /** version: 2.37.0 */
439
439
 
440
440
  /*
441
441
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4696,4 +4696,4 @@ if (process.env.NODE_ENV === 'test-karma-lwc') {
4696
4696
  }));
4697
4697
  });
4698
4698
  }
4699
- /** version: 2.35.2 */
4699
+ /** version: 2.37.0 */
@@ -123,7 +123,7 @@
123
123
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
124
124
  // we can't use typeof since it will fail when transpiling.
125
125
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
126
- /** version: 2.35.2 */
126
+ /** version: 2.37.0 */
127
127
 
128
128
  /*
129
129
  * Copyright (c) 2018, salesforce.com, inc.
@@ -438,7 +438,7 @@
438
438
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
439
439
  }
440
440
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
441
- /** version: 2.35.2 */
441
+ /** version: 2.37.0 */
442
442
 
443
443
  /*
444
444
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4699,6 +4699,6 @@
4699
4699
  }));
4700
4700
  });
4701
4701
  }
4702
- /** version: 2.35.2 */
4702
+ /** version: 2.37.0 */
4703
4703
 
4704
4704
  })();
@@ -59,7 +59,7 @@
59
59
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
60
60
  const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
61
61
  const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
62
- /** version: 2.35.2 */
62
+ /** version: 2.37.0 */
63
63
 
64
64
  /*
65
65
  * Copyright (c) 2018, salesforce.com, inc.
@@ -374,7 +374,7 @@
374
374
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
375
375
  }
376
376
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
377
- /** version: 2.35.2 */
377
+ /** version: 2.37.0 */
378
378
 
379
379
  /*
380
380
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4499,6 +4499,6 @@
4499
4499
  },
4500
4500
  configurable: true,
4501
4501
  });
4502
- /** version: 2.35.2 */
4502
+ /** version: 2.37.0 */
4503
4503
 
4504
4504
  })();
@@ -150,7 +150,7 @@
150
150
  var hasNativeSymbolSupport = /*@__PURE__*/function () {
151
151
  return Symbol('x').toString() === 'Symbol(x)';
152
152
  }();
153
- /** version: 2.35.2 */
153
+ /** version: 2.37.0 */
154
154
 
155
155
  /*
156
156
  * Copyright (c) 2018, salesforce.com, inc.
@@ -466,7 +466,7 @@
466
466
  });
467
467
  }
468
468
  var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
469
- /** version: 2.35.2 */
469
+ /** version: 2.37.0 */
470
470
 
471
471
  /*
472
472
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4676,6 +4676,6 @@
4676
4676
  }));
4677
4677
  });
4678
4678
  }
4679
- /** version: 2.35.2 */
4679
+ /** version: 2.37.0 */
4680
4680
 
4681
4681
  })();
@@ -84,7 +84,7 @@
84
84
  var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
85
85
  var KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
86
86
  var KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
87
- /** version: 2.35.2 */
87
+ /** version: 2.37.0 */
88
88
 
89
89
  /*
90
90
  * Copyright (c) 2018, salesforce.com, inc.
@@ -398,7 +398,7 @@
398
398
  });
399
399
  }
400
400
  var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
401
- /** version: 2.35.2 */
401
+ /** version: 2.37.0 */
402
402
 
403
403
  /*
404
404
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4477,6 +4477,6 @@
4477
4477
  },
4478
4478
  configurable: true
4479
4479
  });
4480
- /** version: 2.35.2 */
4480
+ /** version: 2.37.0 */
4481
4481
 
4482
4482
  })();
@@ -125,7 +125,7 @@
125
125
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
126
126
  // we can't use typeof since it will fail when transpiling.
127
127
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
128
- /** version: 2.35.2 */
128
+ /** version: 2.37.0 */
129
129
 
130
130
  /*
131
131
  * Copyright (c) 2018, salesforce.com, inc.
@@ -440,7 +440,7 @@
440
440
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
441
441
  }
442
442
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
443
- /** version: 2.35.2 */
443
+ /** version: 2.37.0 */
444
444
 
445
445
  /*
446
446
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4701,6 +4701,6 @@
4701
4701
  }));
4702
4702
  });
4703
4703
  }
4704
- /** version: 2.35.2 */
4704
+ /** version: 2.37.0 */
4705
4705
 
4706
4706
  }));
@@ -61,7 +61,7 @@
61
61
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
62
62
  const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
63
63
  const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
64
- /** version: 2.35.2 */
64
+ /** version: 2.37.0 */
65
65
 
66
66
  /*
67
67
  * Copyright (c) 2018, salesforce.com, inc.
@@ -376,7 +376,7 @@
376
376
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
377
377
  }
378
378
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
379
- /** version: 2.35.2 */
379
+ /** version: 2.37.0 */
380
380
 
381
381
  /*
382
382
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4501,6 +4501,6 @@
4501
4501
  },
4502
4502
  configurable: true,
4503
4503
  });
4504
- /** version: 2.35.2 */
4504
+ /** version: 2.37.0 */
4505
4505
 
4506
4506
  }));
@@ -152,7 +152,7 @@
152
152
  var hasNativeSymbolSupport = /*@__PURE__*/function () {
153
153
  return Symbol('x').toString() === 'Symbol(x)';
154
154
  }();
155
- /** version: 2.35.2 */
155
+ /** version: 2.37.0 */
156
156
 
157
157
  /*
158
158
  * Copyright (c) 2018, salesforce.com, inc.
@@ -468,7 +468,7 @@
468
468
  });
469
469
  }
470
470
  var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
471
- /** version: 2.35.2 */
471
+ /** version: 2.37.0 */
472
472
 
473
473
  /*
474
474
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4678,6 +4678,6 @@
4678
4678
  }));
4679
4679
  });
4680
4680
  }
4681
- /** version: 2.35.2 */
4681
+ /** version: 2.37.0 */
4682
4682
 
4683
4683
  }));
@@ -86,7 +86,7 @@
86
86
  var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
87
87
  var KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
88
88
  var KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
89
- /** version: 2.35.2 */
89
+ /** version: 2.37.0 */
90
90
 
91
91
  /*
92
92
  * Copyright (c) 2018, salesforce.com, inc.
@@ -400,7 +400,7 @@
400
400
  });
401
401
  }
402
402
  var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
403
- /** version: 2.35.2 */
403
+ /** version: 2.37.0 */
404
404
 
405
405
  /*
406
406
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4479,6 +4479,6 @@
4479
4479
  },
4480
4480
  configurable: true
4481
4481
  });
4482
- /** version: 2.35.2 */
4482
+ /** version: 2.37.0 */
4483
4483
 
4484
4484
  }));
@@ -7,7 +7,7 @@
7
7
  function isUndefined(obj) {
8
8
  return obj === undefined;
9
9
  }
10
- /** version: 2.35.2 */
10
+ /** version: 2.37.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.35.2 */
184
+ /** version: 2.37.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.35.2 */
13
+ /** version: 2.37.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.35.2 */
187
+ /** version: 2.37.0 */
188
188
 
189
189
  exports.ValueChangedEvent = ValueChangedEvent;
190
190
  exports.register = register;