lwc 2.13.3 → 2.13.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 (43) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +309 -113
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +309 -112
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -2
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +155 -107
  5. package/dist/engine-dom/iife/es5/engine-dom.js +7556 -5772
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +5938 -4597
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +309 -112
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -2
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +155 -107
  11. package/dist/engine-dom/umd/es5/engine-dom.js +7556 -5772
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +5938 -4597
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +146 -36
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +146 -37
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +29 -4
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +29 -4
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +10 -13
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +4 -4
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +4601 -3603
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +10 -1
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +4424 -3481
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +29 -4
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +10 -13
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +4 -4
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +4601 -3603
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +10 -1
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +4424 -3481
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service.min.js +1 -1
  33. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  34. package/dist/wire-service/iife/es5/wire-service.js +243 -258
  35. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  36. package/dist/wire-service/iife/es5/wire-service_debug.js +243 -258
  37. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  38. package/dist/wire-service/umd/es2017/wire-service.min.js +1 -1
  39. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  40. package/dist/wire-service/umd/es5/wire-service.js +243 -258
  41. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  42. package/dist/wire-service/umd/es5/wire-service_debug.js +243 -258
  43. package/package.json +7 -7
@@ -46,7 +46,7 @@ var LWC = (function (exports) {
46
46
  */
47
47
  const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor: getOwnPropertyDescriptor$1, getOwnPropertyNames: getOwnPropertyNames$1, getPrototypeOf: getPrototypeOf$1, hasOwnProperty: hasOwnProperty$1, isFrozen, keys, seal, setPrototypeOf, } = Object;
48
48
  const { isArray: isArray$1 } = Array;
49
- const { filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, slice: ArraySlice, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
49
+ const { copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
50
50
  const { fromCharCode: StringFromCharCode } = String;
51
51
  const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
52
52
  function isUndefined$1(obj) {
@@ -290,7 +290,7 @@ var LWC = (function (exports) {
290
290
  const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
291
291
  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
292
292
  const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
293
- /** version: 2.13.3 */
293
+ /** version: 2.13.4 */
294
294
 
295
295
  /*
296
296
  * Copyright (c) 2018, salesforce.com, inc.
@@ -380,6 +380,7 @@ var LWC = (function (exports) {
380
380
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
381
381
  */
382
382
  const features = {
383
+ DUMMY_TEST_FLAG: null,
383
384
  ENABLE_ELEMENT_PATCH: null,
384
385
  ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST: null,
385
386
  ENABLE_HMR: null,
@@ -433,9 +434,6 @@ var LWC = (function (exports) {
433
434
  */
434
435
  function setFeatureFlagForTest(name, value) {
435
436
  }
436
- /** version: 2.13.3 */
437
-
438
- /* proxy-compat-disable */
439
437
 
440
438
  /*
441
439
  * Copyright (c) 2018, salesforce.com, inc.
@@ -515,10 +513,6 @@ var LWC = (function (exports) {
515
513
  function setHTMLElement(HTMLElementImpl) {
516
514
  HTMLElementExported$1 = HTMLElementImpl;
517
515
  }
518
- let isHydrating$1;
519
- function setIsHydrating$1(isHydratingImpl) {
520
- isHydrating$1 = isHydratingImpl;
521
- }
522
516
  let insert$1;
523
517
  function setInsert(insertImpl) {
524
518
  insert$1 = insertImpl;
@@ -639,10 +633,6 @@ var LWC = (function (exports) {
639
633
  function setIsConnected(isConnectedImpl) {
640
634
  isConnected$1 = isConnectedImpl;
641
635
  }
642
- let insertGlobalStylesheet$1;
643
- function setInsertGlobalStylesheet(insertGlobalStylesheetImpl) {
644
- insertGlobalStylesheet$1 = insertGlobalStylesheetImpl;
645
- }
646
636
  let insertStylesheet$1;
647
637
  function setInsertStylesheet(insertStylesheetImpl) {
648
638
  insertStylesheet$1 = insertStylesheetImpl;
@@ -2076,6 +2066,8 @@ var LWC = (function (exports) {
2076
2066
  // on top of stylesheetToken for anyone who is accessing the old internal API.
2077
2067
  // Details: https://salesforce.quip.com/v1rmAFu2cKAr
2078
2068
  defineProperty(tpl, 'stylesheetTokens', {
2069
+ enumerable: true,
2070
+ configurable: true,
2079
2071
  get() {
2080
2072
  const { stylesheetToken } = this;
2081
2073
  if (isUndefined$1(stylesheetToken)) {
@@ -2868,15 +2860,16 @@ var LWC = (function (exports) {
2868
2860
  }
2869
2861
  }
2870
2862
  function unmount(vnode, parent, doRemove = false) {
2871
- const { type, elm } = vnode;
2863
+ const { type, elm, sel } = vnode;
2872
2864
  // When unmounting a VNode subtree not all the elements have to removed from the DOM. The
2873
2865
  // subtree root, is the only element worth unmounting from the subtree.
2874
2866
  if (doRemove) {
2875
2867
  removeNode(elm, parent);
2876
2868
  }
2869
+ const removeChildren = sel === 'slot'; // slot content is removed to trigger slotchange event when removing slot
2877
2870
  switch (type) {
2878
2871
  case 2 /* Element */:
2879
- unmountVNodes(vnode.children, elm);
2872
+ unmountVNodes(vnode.children, elm, removeChildren);
2880
2873
  break;
2881
2874
  case 3 /* CustomElement */: {
2882
2875
  const { vm } = vnode;
@@ -3644,10 +3637,10 @@ var LWC = (function (exports) {
3644
3637
  const { renderMode, shadowMode } = vm;
3645
3638
  if (renderMode === 1 /* Shadow */ && shadowMode === 1 /* Synthetic */) {
3646
3639
  for (let i = 0; i < stylesheets.length; i++) {
3647
- insertGlobalStylesheet$1(stylesheets[i]);
3640
+ insertStylesheet$1(stylesheets[i]);
3648
3641
  }
3649
3642
  }
3650
- else if (ssr$1 || isHydrating$1()) {
3643
+ else if (ssr$1 || vm.hydrated) {
3651
3644
  // Note: We need to ensure that during hydration, the stylesheets method is the same as those in ssr.
3652
3645
  // This works in the client, because the stylesheets are created, and cached in the VM
3653
3646
  // the first time the VM renders.
@@ -3658,15 +3651,10 @@ var LWC = (function (exports) {
3658
3651
  else {
3659
3652
  // native shadow or light DOM, DOM renderer
3660
3653
  const root = getNearestNativeShadowComponent(vm);
3661
- const isGlobal = isNull(root);
3654
+ // null root means a global style
3655
+ const target = isNull(root) ? undefined : root.shadowRoot;
3662
3656
  for (let i = 0; i < stylesheets.length; i++) {
3663
- if (isGlobal) {
3664
- insertGlobalStylesheet$1(stylesheets[i]);
3665
- }
3666
- else {
3667
- // local level
3668
- insertStylesheet$1(stylesheets[i], root.shadowRoot);
3669
- }
3657
+ insertStylesheet$1(stylesheets[i], target);
3670
3658
  }
3671
3659
  }
3672
3660
  return null;
@@ -4071,7 +4059,8 @@ var LWC = (function (exports) {
4071
4059
  const {
4072
4060
  mode,
4073
4061
  owner,
4074
- tagName
4062
+ tagName,
4063
+ hydrated
4075
4064
  } = options;
4076
4065
  const def = getComponentInternalDef(ctor);
4077
4066
  const vm = {
@@ -4094,6 +4083,7 @@ var LWC = (function (exports) {
4094
4083
  cmpSlots: create(null),
4095
4084
  oar: create(null),
4096
4085
  cmpTemplate: null,
4086
+ hydrated: Boolean(hydrated),
4097
4087
  renderMode: def.renderMode,
4098
4088
  shadowMode: computeShadowMode(def, owner),
4099
4089
  nearestShadowMode: (owner === null || owner === void 0 ? void 0 : owner.shadowRoot) ? owner.shadowMode : (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : null,
@@ -4987,6 +4977,7 @@ var LWC = (function (exports) {
4987
4977
  mode,
4988
4978
  owner,
4989
4979
  tagName: sel,
4980
+ hydrated: true,
4990
4981
  });
4991
4982
  vnode.elm = elm;
4992
4983
  vnode.vm = vm;
@@ -5136,6 +5127,10 @@ var LWC = (function (exports) {
5136
5127
  hooksAreSet = true;
5137
5128
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
5138
5129
  }
5130
+ // TODO [#2782]: eventually freezeTemplate() will _actually_ freeze the tmpl object. Today it
5131
+ // just warns on mutation.
5132
+ function freezeTemplate(tmpl) {
5133
+ }
5139
5134
 
5140
5135
  /*
5141
5136
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5159,7 +5154,7 @@ var LWC = (function (exports) {
5159
5154
  }
5160
5155
  return ctor;
5161
5156
  }
5162
- /* version: 2.13.3 */
5157
+ /* version: 2.13.4 */
5163
5158
 
5164
5159
  /*
5165
5160
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5167,17 +5162,138 @@ var LWC = (function (exports) {
5167
5162
  * SPDX-License-Identifier: MIT
5168
5163
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
5169
5164
  */
5170
- const globalStylesheets = create(null);
5171
- const globalStylesheetsParentElement = document.head || document.body || document;
5172
- // This check for constructable stylesheets is similar to Fast's:
5165
+ //
5166
+ // Feature detection
5167
+ //
5168
+ // This check for constructable style sheets is similar to Fast's:
5173
5169
  // https://github.com/microsoft/fast/blob/d49d1ec/packages/web-components/fast-element/src/dom.ts#L51-L53
5174
5170
  // See also: https://github.com/whatwg/webidl/issues/1027#issuecomment-934510070
5175
- const supportsConstructableStyleSheets = isFunction$1(CSSStyleSheet.prototype.replaceSync) && isArray$1(document.adoptedStyleSheets);
5176
- const supportsMutableAdoptedStyleSheets = supportsConstructableStyleSheets &&
5171
+ const supportsConstructableStylesheets = isFunction$1(CSSStyleSheet.prototype.replaceSync) && isArray$1(document.adoptedStyleSheets);
5172
+ // The original adoptedStylesheet proposal used a frozen array. A follow-up proposal made the array mutable.
5173
+ // Chromium 99+ and Firefox 101+ support mutable arrays. We check if the array is mutable, to ensure backward compat.
5174
+ // (If the length is writable, then the array is mutable.) See: https://chromestatus.com/feature/5638996492288000
5175
+ // TODO [#2828]: Re-evaluate this in the future once we drop support for older browser versions.
5176
+ const supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets &&
5177
5177
  getOwnPropertyDescriptor$1(document.adoptedStyleSheets, 'length').writable;
5178
- const styleElements = create(null);
5179
- const styleSheets = create(null);
5180
- const shadowRootsToStyleSheets = new WeakMap();
5178
+ // Detect IE, via https://stackoverflow.com/a/9851769
5179
+ const isIE11 = !isUndefined$1(document.documentMode);
5180
+ const stylesheetCache = new Map();
5181
+ function isDocument(target) {
5182
+ return !isUndefined$1(target.head);
5183
+ }
5184
+ function createFreshStyleElement(content) {
5185
+ const elm = document.createElement('style');
5186
+ elm.type = 'text/css';
5187
+ elm.textContent = content;
5188
+ return elm;
5189
+ }
5190
+ function createStyleElement(content, cacheData) {
5191
+ const { stylesheet, used } = cacheData;
5192
+ // If the <style> was already used, then we should clone it. We cannot insert
5193
+ // the same <style> in two places in the DOM.
5194
+ if (used) {
5195
+ // For a mysterious reason, IE11 doesn't like the way we clone <style> nodes
5196
+ // and will render the incorrect styles if we do things that way. It's just
5197
+ // a perf optimization, so we can skip it for IE11.
5198
+ if (isIE11) {
5199
+ return createFreshStyleElement(content);
5200
+ }
5201
+ // This `<style>` may be repeated multiple times in the DOM, so cache it. It's a bit
5202
+ // faster to call `cloneNode()` on an existing node than to recreate it every time.
5203
+ return stylesheet.cloneNode(true);
5204
+ }
5205
+ // We don't clone every time, because that would be a perf tax on the first time
5206
+ cacheData.used = true;
5207
+ return stylesheet;
5208
+ }
5209
+ function createConstructableStylesheet(content) {
5210
+ const stylesheet = new CSSStyleSheet();
5211
+ stylesheet.replaceSync(content);
5212
+ return stylesheet;
5213
+ }
5214
+ function insertConstructableStylesheet(content, target, cacheData) {
5215
+ const { adoptedStyleSheets } = target;
5216
+ const { stylesheet } = cacheData;
5217
+ // Mutable adopted stylesheets are only supported in certain browsers.
5218
+ // The reason we use it is for perf: https://github.com/salesforce/lwc/pull/2683
5219
+ if (supportsMutableAdoptedStyleSheets) {
5220
+ adoptedStyleSheets.push(stylesheet);
5221
+ }
5222
+ else {
5223
+ target.adoptedStyleSheets = [...adoptedStyleSheets, stylesheet];
5224
+ }
5225
+ }
5226
+ function insertStyleElement(content, target, cacheData) {
5227
+ const elm = createStyleElement(content, cacheData);
5228
+ const targetAnchorPoint = isDocument(target) ? target.head : target;
5229
+ targetAnchorPoint.appendChild(elm);
5230
+ }
5231
+ function doInsertStylesheet(content, target, cacheData) {
5232
+ // Constructable stylesheets are only supported in certain browsers:
5233
+ // https://caniuse.com/mdn-api_document_adoptedstylesheets
5234
+ // The reason we use it is for perf: https://github.com/salesforce/lwc/pull/2460
5235
+ if (supportsConstructableStylesheets) {
5236
+ insertConstructableStylesheet(content, target, cacheData);
5237
+ }
5238
+ else {
5239
+ // Fall back to <style> element
5240
+ insertStyleElement(content, target, cacheData);
5241
+ }
5242
+ }
5243
+ function getCacheData(content) {
5244
+ let cacheData = stylesheetCache.get(content);
5245
+ if (isUndefined$1(cacheData)) {
5246
+ cacheData = {
5247
+ stylesheet: supportsConstructableStylesheets
5248
+ ? createConstructableStylesheet(content)
5249
+ : createFreshStyleElement(content),
5250
+ roots: undefined,
5251
+ global: false,
5252
+ used: false,
5253
+ };
5254
+ stylesheetCache.set(content, cacheData);
5255
+ }
5256
+ return cacheData;
5257
+ }
5258
+ function insertGlobalStylesheet(content) {
5259
+ const cacheData = getCacheData(content);
5260
+ if (cacheData.global) {
5261
+ // already inserted
5262
+ return;
5263
+ }
5264
+ cacheData.global = true; // mark inserted
5265
+ doInsertStylesheet(content, document, cacheData);
5266
+ }
5267
+ function insertLocalStylesheet(content, target) {
5268
+ const cacheData = getCacheData(content);
5269
+ let { roots } = cacheData;
5270
+ if (isUndefined$1(roots)) {
5271
+ roots = cacheData.roots = new WeakSet(); // lazily initialize (not needed for global styles)
5272
+ }
5273
+ else if (roots.has(target)) {
5274
+ // already inserted
5275
+ return;
5276
+ }
5277
+ roots.add(target); // mark inserted
5278
+ doInsertStylesheet(content, target, cacheData);
5279
+ }
5280
+ function insertStylesheet(content, target) {
5281
+ if (isUndefined$1(target)) {
5282
+ // global
5283
+ insertGlobalStylesheet(content);
5284
+ }
5285
+ else {
5286
+ // local
5287
+ insertLocalStylesheet(content, target);
5288
+ }
5289
+ }
5290
+
5291
+ /*
5292
+ * Copyright (c) 2018, salesforce.com, inc.
5293
+ * All rights reserved.
5294
+ * SPDX-License-Identifier: MIT
5295
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
5296
+ */
5181
5297
  let getCustomElement;
5182
5298
  let defineCustomElement;
5183
5299
  let HTMLElementConstructor;
@@ -5204,52 +5320,6 @@ var LWC = (function (exports) {
5204
5320
  return false;
5205
5321
  }
5206
5322
  }
5207
- function insertConstructableStyleSheet(content, target) {
5208
- // It's important for CSSStyleSheets to be unique based on their content, so that
5209
- // `shadowRoot.adoptedStyleSheets.includes(sheet)` works.
5210
- let styleSheet = styleSheets[content];
5211
- if (isUndefined$1(styleSheet)) {
5212
- styleSheet = new CSSStyleSheet();
5213
- styleSheet.replaceSync(content);
5214
- styleSheets[content] = styleSheet;
5215
- }
5216
- const { adoptedStyleSheets } = target;
5217
- if (!adoptedStyleSheets.includes(styleSheet)) {
5218
- if (supportsMutableAdoptedStyleSheets) {
5219
- // This is only supported in later versions of Chromium:
5220
- // https://chromestatus.com/feature/5638996492288000
5221
- adoptedStyleSheets.push(styleSheet);
5222
- }
5223
- else {
5224
- target.adoptedStyleSheets = [...adoptedStyleSheets, styleSheet];
5225
- }
5226
- }
5227
- }
5228
- function insertStyleElement(content, target) {
5229
- // Avoid inserting duplicate `<style>`s
5230
- let sheets = shadowRootsToStyleSheets.get(target);
5231
- if (isUndefined$1(sheets)) {
5232
- sheets = create(null);
5233
- shadowRootsToStyleSheets.set(target, sheets);
5234
- }
5235
- if (sheets[content]) {
5236
- return;
5237
- }
5238
- sheets[content] = true;
5239
- // This `<style>` may be repeated multiple times in the DOM, so cache it. It's a bit
5240
- // faster to call `cloneNode()` on an existing node than to recreate it every time.
5241
- let elm = styleElements[content];
5242
- if (isUndefined$1(elm)) {
5243
- elm = document.createElement('style');
5244
- elm.type = 'text/css';
5245
- elm.textContent = content;
5246
- styleElements[content] = elm;
5247
- }
5248
- else {
5249
- elm = elm.cloneNode(true);
5250
- }
5251
- target.appendChild(elm);
5252
- }
5253
5323
  if (isCustomElementRegistryAvailable()) {
5254
5324
  getCustomElement = customElements.get.bind(customElements);
5255
5325
  defineCustomElement = customElements.define.bind(customElements);
@@ -5288,9 +5358,6 @@ var LWC = (function (exports) {
5288
5358
  hydrating = value;
5289
5359
  }
5290
5360
  const ssr = false;
5291
- function isHydrating() {
5292
- return hydrating;
5293
- }
5294
5361
  const isNativeShadowDefined = _globalThis[KEY__IS_NATIVE_SHADOW_ROOT_DEFINED];
5295
5362
  const isSyntheticShadowDefined = hasOwnProperty$1.call(Element.prototype, KEY__SHADOW_TOKEN);
5296
5363
  function createElement$1(tagName, namespace) {
@@ -5399,25 +5466,6 @@ var LWC = (function (exports) {
5399
5466
  function isConnected(node) {
5400
5467
  return node.isConnected;
5401
5468
  }
5402
- function insertGlobalStylesheet(content) {
5403
- if (!isUndefined$1(globalStylesheets[content])) {
5404
- return;
5405
- }
5406
- globalStylesheets[content] = true;
5407
- const elm = document.createElement('style');
5408
- elm.type = 'text/css';
5409
- elm.textContent = content;
5410
- globalStylesheetsParentElement.appendChild(elm);
5411
- }
5412
- function insertStylesheet(content, target) {
5413
- if (supportsConstructableStyleSheets) {
5414
- insertConstructableStyleSheet(content, target);
5415
- }
5416
- else {
5417
- // Fall back to <style> element
5418
- insertStyleElement(content, target);
5419
- }
5420
- }
5421
5469
  const HTMLElementExported = HTMLElementConstructor;
5422
5470
  setAttachShadow(attachShadow);
5423
5471
  setCreateComment(createComment);
@@ -5440,10 +5488,7 @@ var LWC = (function (exports) {
5440
5488
  setGetProperty(getProperty);
5441
5489
  setHTMLElement(HTMLElementExported);
5442
5490
  setInsert(insert);
5443
- setInsertGlobalStylesheet(insertGlobalStylesheet);
5444
- setInsertStylesheet(insertStylesheet);
5445
5491
  setIsConnected(isConnected);
5446
- setIsHydrating$1(isHydrating);
5447
5492
  setIsNativeShadowDefined(isNativeShadowDefined);
5448
5493
  setIsSyntheticShadowDefined(isSyntheticShadowDefined);
5449
5494
  setNextSibling(nextSibling);
@@ -5458,6 +5503,7 @@ var LWC = (function (exports) {
5458
5503
  setSetText(setText);
5459
5504
  setSsr(ssr);
5460
5505
  setAddEventListener(addEventListener);
5506
+ setInsertStylesheet(insertStylesheet);
5461
5507
 
5462
5508
  /*
5463
5509
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5483,6 +5529,7 @@ var LWC = (function (exports) {
5483
5529
  mode: 'open',
5484
5530
  owner: null,
5485
5531
  tagName: element.tagName.toLowerCase(),
5532
+ hydrated: true,
5486
5533
  });
5487
5534
  for (const [key, value] of Object.entries(props)) {
5488
5535
  element[key] = value;
@@ -5745,7 +5792,7 @@ var LWC = (function (exports) {
5745
5792
  });
5746
5793
  freeze(LightningElement);
5747
5794
  seal(LightningElement.prototype);
5748
- /* version: 2.13.3 */
5795
+ /* version: 2.13.4 */
5749
5796
 
5750
5797
  exports.LightningElement = LightningElement;
5751
5798
  exports.__unstable__ProfilerControl = profilerControl;
@@ -5753,6 +5800,7 @@ var LWC = (function (exports) {
5753
5800
  exports.buildCustomElementConstructor = deprecatedBuildCustomElementConstructor;
5754
5801
  exports.createContextProvider = createContextProvider;
5755
5802
  exports.createElement = createElement;
5803
+ exports.freezeTemplate = freezeTemplate;
5756
5804
  exports.getComponentConstructor = getComponentConstructor;
5757
5805
  exports.getComponentDef = getComponentDef;
5758
5806
  exports.hydrateComponent = hydrateComponent;