lwc 2.45.2 → 2.45.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.
- package/dist/engine-dom/esm/es2017/engine-dom.js +49 -50
- package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.js +49 -50
- 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 +55 -48
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.js +55 -54
- 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 +61 -52
- package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.js +49 -50
- 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 +55 -48
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.js +55 -54
- 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 +61 -52
- package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.js +7798 -89
- 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 +7797 -69
- package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +73 -11
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +73 -11
- 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 +57 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +73 -11
- 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 +44 -4
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +73 -11
- 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 +57 -4
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +73 -11
- 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 +44 -4
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/wire-service/esm/es2017/wire-service.js +12 -4
- package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service.js +12 -4
- package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +12 -4
- package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service.js +12 -4
- package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +12 -4
- package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service.js +12 -4
- package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +12 -4
- package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service.js +12 -4
- package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +12 -4
- package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
- package/package.json +7 -7
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
12
12
|
/* proxy-compat-disable */
|
|
13
13
|
/**
|
|
14
|
-
* Copyright (C)
|
|
14
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
15
|
+
*/
|
|
16
|
+
/* proxy-compat-disable */
|
|
17
|
+
/**
|
|
18
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
15
19
|
*/
|
|
16
20
|
/*
|
|
17
21
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -151,10 +155,11 @@
|
|
|
151
155
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
152
156
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
153
157
|
}();
|
|
154
|
-
/** version: 2.45.
|
|
158
|
+
/** version: 2.45.4 */
|
|
155
159
|
|
|
160
|
+
/* proxy-compat-disable */
|
|
156
161
|
/**
|
|
157
|
-
* Copyright (C)
|
|
162
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
158
163
|
*/
|
|
159
164
|
// eslint-disable-next-line no-restricted-properties
|
|
160
165
|
if (!_globalThis.lwcRuntimeFlags) {
|
|
@@ -162,7 +167,7 @@
|
|
|
162
167
|
value: create(null)
|
|
163
168
|
});
|
|
164
169
|
}
|
|
165
|
-
/** version: 2.45.
|
|
170
|
+
/** version: 2.45.4 */
|
|
166
171
|
|
|
167
172
|
/*
|
|
168
173
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -549,9 +554,18 @@
|
|
|
549
554
|
}
|
|
550
555
|
function isNodeSlotted(host, node) {
|
|
551
556
|
if (process.env.NODE_ENV !== 'production') {
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
557
|
+
if (!(host instanceof HTMLElement)) {
|
|
558
|
+
// eslint-disable-next-line no-console
|
|
559
|
+
console.error("isNodeSlotted() should be called with a host as the first argument");
|
|
560
|
+
}
|
|
561
|
+
if (!(node instanceof _Node)) {
|
|
562
|
+
// eslint-disable-next-line no-console
|
|
563
|
+
console.error("isNodeSlotted() should be called with a node as the second argument");
|
|
564
|
+
}
|
|
565
|
+
if (!(compareDocumentPosition.call(node, host) & DOCUMENT_POSITION_CONTAINS)) {
|
|
566
|
+
// eslint-disable-next-line no-console
|
|
567
|
+
console.error("isNodeSlotted() should never be called with a node that is not a child node of the given host");
|
|
568
|
+
}
|
|
555
569
|
}
|
|
556
570
|
var hostKey = getNodeKey(host);
|
|
557
571
|
// this routine assumes that the node is coming from a different shadow (it is not owned by the host)
|
|
@@ -632,9 +646,18 @@
|
|
|
632
646
|
}
|
|
633
647
|
function isNodeOwnedBy(owner, node) {
|
|
634
648
|
if (process.env.NODE_ENV !== 'production') {
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
649
|
+
if (!(owner instanceof HTMLElement)) {
|
|
650
|
+
// eslint-disable-next-line no-console
|
|
651
|
+
console.error("isNodeOwnedBy() should be called with an element as the first argument");
|
|
652
|
+
}
|
|
653
|
+
if (!(node instanceof _Node)) {
|
|
654
|
+
// eslint-disable-next-line no-console
|
|
655
|
+
console.error("isNodeOwnedBy() should be called with a node as the second argument");
|
|
656
|
+
}
|
|
657
|
+
if (!(compareDocumentPosition.call(node, owner) & DOCUMENT_POSITION_CONTAINS)) {
|
|
658
|
+
// eslint-disable-next-line no-console
|
|
659
|
+
console.error("isNodeOwnedBy() should never be called with a node that is not a child node of of the given owner");
|
|
660
|
+
}
|
|
638
661
|
}
|
|
639
662
|
var ownerKey = getNodeNearestOwnerKey(node);
|
|
640
663
|
if (isUndefined(ownerKey)) {
|
|
@@ -747,6 +770,16 @@
|
|
|
747
770
|
* SPDX-License-Identifier: MIT
|
|
748
771
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
749
772
|
*/
|
|
773
|
+
/**
|
|
774
|
+
@license
|
|
775
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
776
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
777
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
778
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
779
|
+
Code distributed by Google as part of the polymer project is also
|
|
780
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
781
|
+
*/
|
|
782
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
750
783
|
function getInnerHTML(node) {
|
|
751
784
|
var s = '';
|
|
752
785
|
var childNodes = getFilteredChildNodes(node);
|
|
@@ -762,6 +795,16 @@
|
|
|
762
795
|
* SPDX-License-Identifier: MIT
|
|
763
796
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
764
797
|
*/
|
|
798
|
+
/**
|
|
799
|
+
@license
|
|
800
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
801
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
802
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
803
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
804
|
+
Code distributed by Google as part of the polymer project is also
|
|
805
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
806
|
+
*/
|
|
807
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
765
808
|
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#escapingString
|
|
766
809
|
var escapeAttrRegExp = /[&\u00A0"]/g;
|
|
767
810
|
var escapeDataRegExp = /[&\u00A0<>]/g;
|
|
@@ -846,6 +889,16 @@
|
|
|
846
889
|
* SPDX-License-Identifier: MIT
|
|
847
890
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
848
891
|
*/
|
|
892
|
+
/**
|
|
893
|
+
@license
|
|
894
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
895
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
896
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
897
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
898
|
+
Code distributed by Google as part of the polymer project is also
|
|
899
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
900
|
+
*/
|
|
901
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
849
902
|
function getTextContent(node) {
|
|
850
903
|
switch (node.nodeType) {
|
|
851
904
|
case ELEMENT_NODE:
|
|
@@ -2331,6 +2384,15 @@
|
|
|
2331
2384
|
* SPDX-License-Identifier: MIT
|
|
2332
2385
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2333
2386
|
*/
|
|
2387
|
+
/**
|
|
2388
|
+
@license
|
|
2389
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
2390
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
2391
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
2392
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
2393
|
+
Code distributed by Google as part of the polymer project is also
|
|
2394
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2395
|
+
*/
|
|
2334
2396
|
function pathComposer(startNode, composed) {
|
|
2335
2397
|
var composedPath = [];
|
|
2336
2398
|
var startRoot;
|
|
@@ -4669,7 +4731,7 @@
|
|
|
4669
4731
|
},
|
|
4670
4732
|
configurable: true
|
|
4671
4733
|
});
|
|
4672
|
-
/** version: 2.45.
|
|
4734
|
+
/** version: 2.45.4 */
|
|
4673
4735
|
|
|
4674
4736
|
})();
|
|
4675
4737
|
//# sourceMappingURL=synthetic-shadow.js.map
|