lwc 2.45.2 → 2.45.3
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.
- package/dist/engine-dom/esm/es2017/engine-dom.js +45 -52
- package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.js +45 -52
- package/dist/engine-dom/iife/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +51 -50
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.js +51 -56
- package/dist/engine-dom/iife/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +57 -54
- package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.js +45 -52
- package/dist/engine-dom/umd/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +51 -50
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.js +51 -56
- package/dist/engine-dom/umd/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +57 -54
- package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.js +7795 -91
- package/dist/engine-server/commonjs/es2017/engine-server.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +7794 -71
- package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +71 -12
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +71 -12
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +39 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +55 -5
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +71 -12
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +39 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +43 -4
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +71 -12
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +39 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +55 -5
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +71 -12
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +39 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +43 -4
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/wire-service/esm/es2017/wire-service.js +10 -4
- package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service.js +10 -4
- package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +10 -4
- package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service.js +10 -4
- package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +10 -4
- package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service.js +10 -4
- package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +10 -4
- package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service.js +10 -4
- package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +10 -4
- package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
/* proxy-compat-disable */
|
|
2
1
|
/**
|
|
3
|
-
* Copyright (C)
|
|
2
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
4
6
|
*/
|
|
5
7
|
/*
|
|
6
8
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -120,16 +122,16 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
|
120
122
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
121
123
|
// we can't use typeof since it will fail when transpiling.
|
|
122
124
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
123
|
-
/** version: 2.45.
|
|
125
|
+
/** version: 2.45.3 */
|
|
124
126
|
|
|
125
127
|
/**
|
|
126
|
-
* Copyright (C)
|
|
128
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
127
129
|
*/
|
|
128
130
|
// eslint-disable-next-line no-restricted-properties
|
|
129
131
|
if (!_globalThis.lwcRuntimeFlags) {
|
|
130
132
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
131
133
|
}
|
|
132
|
-
/** version: 2.45.
|
|
134
|
+
/** version: 2.45.3 */
|
|
133
135
|
|
|
134
136
|
/*
|
|
135
137
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -513,9 +515,18 @@ function foldSlotElement(slot) {
|
|
|
513
515
|
}
|
|
514
516
|
function isNodeSlotted(host, node) {
|
|
515
517
|
if (process.env.NODE_ENV !== 'production') {
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
518
|
+
if (!(host instanceof HTMLElement)) {
|
|
519
|
+
// eslint-disable-next-line no-console
|
|
520
|
+
console.error(`isNodeSlotted() should be called with a host as the first argument`);
|
|
521
|
+
}
|
|
522
|
+
if (!(node instanceof _Node)) {
|
|
523
|
+
// eslint-disable-next-line no-console
|
|
524
|
+
console.error(`isNodeSlotted() should be called with a node as the second argument`);
|
|
525
|
+
}
|
|
526
|
+
if (!(compareDocumentPosition.call(node, host) & DOCUMENT_POSITION_CONTAINS)) {
|
|
527
|
+
// eslint-disable-next-line no-console
|
|
528
|
+
console.error(`isNodeSlotted() should never be called with a node that is not a child node of the given host`);
|
|
529
|
+
}
|
|
519
530
|
}
|
|
520
531
|
const hostKey = getNodeKey(host);
|
|
521
532
|
// this routine assumes that the node is coming from a different shadow (it is not owned by the host)
|
|
@@ -601,9 +612,18 @@ function isSlotElement(node) {
|
|
|
601
612
|
}
|
|
602
613
|
function isNodeOwnedBy(owner, node) {
|
|
603
614
|
if (process.env.NODE_ENV !== 'production') {
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
615
|
+
if (!(owner instanceof HTMLElement)) {
|
|
616
|
+
// eslint-disable-next-line no-console
|
|
617
|
+
console.error(`isNodeOwnedBy() should be called with an element as the first argument`);
|
|
618
|
+
}
|
|
619
|
+
if (!(node instanceof _Node)) {
|
|
620
|
+
// eslint-disable-next-line no-console
|
|
621
|
+
console.error(`isNodeOwnedBy() should be called with a node as the second argument`);
|
|
622
|
+
}
|
|
623
|
+
if (!(compareDocumentPosition.call(node, owner) & DOCUMENT_POSITION_CONTAINS)) {
|
|
624
|
+
// eslint-disable-next-line no-console
|
|
625
|
+
console.error(`isNodeOwnedBy() should never be called with a node that is not a child node of of the given owner`);
|
|
626
|
+
}
|
|
607
627
|
}
|
|
608
628
|
const ownerKey = getNodeNearestOwnerKey(node);
|
|
609
629
|
if (isUndefined(ownerKey)) {
|
|
@@ -713,6 +733,16 @@ function getFilteredSlotAssignedNodes(slot) {
|
|
|
713
733
|
* SPDX-License-Identifier: MIT
|
|
714
734
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
715
735
|
*/
|
|
736
|
+
/**
|
|
737
|
+
@license
|
|
738
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
739
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
740
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
741
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
742
|
+
Code distributed by Google as part of the polymer project is also
|
|
743
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
744
|
+
*/
|
|
745
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
716
746
|
function getInnerHTML(node) {
|
|
717
747
|
let s = '';
|
|
718
748
|
const childNodes = getFilteredChildNodes(node);
|
|
@@ -728,6 +758,16 @@ function getInnerHTML(node) {
|
|
|
728
758
|
* SPDX-License-Identifier: MIT
|
|
729
759
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
730
760
|
*/
|
|
761
|
+
/**
|
|
762
|
+
@license
|
|
763
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
764
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
765
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
766
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
767
|
+
Code distributed by Google as part of the polymer project is also
|
|
768
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
769
|
+
*/
|
|
770
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
731
771
|
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#escapingString
|
|
732
772
|
const escapeAttrRegExp = /[&\u00A0"]/g;
|
|
733
773
|
const escapeDataRegExp = /[&\u00A0<>]/g;
|
|
@@ -830,6 +870,16 @@ function getOuterHTML(node) {
|
|
|
830
870
|
* SPDX-License-Identifier: MIT
|
|
831
871
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
832
872
|
*/
|
|
873
|
+
/**
|
|
874
|
+
@license
|
|
875
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
876
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
877
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
878
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
879
|
+
Code distributed by Google as part of the polymer project is also
|
|
880
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
881
|
+
*/
|
|
882
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
833
883
|
function getTextContent(node) {
|
|
834
884
|
switch (node.nodeType) {
|
|
835
885
|
case ELEMENT_NODE: {
|
|
@@ -2337,6 +2387,15 @@ function getIE11FakeShadowRootPlaceholder(host) {
|
|
|
2337
2387
|
* SPDX-License-Identifier: MIT
|
|
2338
2388
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2339
2389
|
*/
|
|
2390
|
+
/**
|
|
2391
|
+
@license
|
|
2392
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
2393
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
2394
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
2395
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
2396
|
+
Code distributed by Google as part of the polymer project is also
|
|
2397
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2398
|
+
*/
|
|
2340
2399
|
function pathComposer(startNode, composed) {
|
|
2341
2400
|
const composedPath = [];
|
|
2342
2401
|
let startRoot;
|
|
@@ -4691,5 +4750,5 @@ defineProperty(Element.prototype, '$domManual$', {
|
|
|
4691
4750
|
},
|
|
4692
4751
|
configurable: true,
|
|
4693
4752
|
});
|
|
4694
|
-
/** version: 2.45.
|
|
4753
|
+
/** version: 2.45.3 */
|
|
4695
4754
|
//# sourceMappingURL=synthetic-shadow.js.map
|