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
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
10
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
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
|
-
/* proxy-compat-disable */
|
|
13
12
|
/**
|
|
14
|
-
* Copyright (C)
|
|
13
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
15
17
|
*/
|
|
16
18
|
/*
|
|
17
19
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -151,10 +153,10 @@
|
|
|
151
153
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
152
154
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
153
155
|
}();
|
|
154
|
-
/** version: 2.45.
|
|
156
|
+
/** version: 2.45.3 */
|
|
155
157
|
|
|
156
158
|
/**
|
|
157
|
-
* Copyright (C)
|
|
159
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
158
160
|
*/
|
|
159
161
|
// eslint-disable-next-line no-restricted-properties
|
|
160
162
|
if (!_globalThis.lwcRuntimeFlags) {
|
|
@@ -162,7 +164,7 @@
|
|
|
162
164
|
value: create(null)
|
|
163
165
|
});
|
|
164
166
|
}
|
|
165
|
-
/** version: 2.45.
|
|
167
|
+
/** version: 2.45.3 */
|
|
166
168
|
|
|
167
169
|
/*
|
|
168
170
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -549,9 +551,18 @@
|
|
|
549
551
|
}
|
|
550
552
|
function isNodeSlotted(host, node) {
|
|
551
553
|
if (process.env.NODE_ENV !== 'production') {
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
554
|
+
if (!(host instanceof HTMLElement)) {
|
|
555
|
+
// eslint-disable-next-line no-console
|
|
556
|
+
console.error("isNodeSlotted() should be called with a host as the first argument");
|
|
557
|
+
}
|
|
558
|
+
if (!(node instanceof _Node)) {
|
|
559
|
+
// eslint-disable-next-line no-console
|
|
560
|
+
console.error("isNodeSlotted() should be called with a node as the second argument");
|
|
561
|
+
}
|
|
562
|
+
if (!(compareDocumentPosition.call(node, host) & DOCUMENT_POSITION_CONTAINS)) {
|
|
563
|
+
// eslint-disable-next-line no-console
|
|
564
|
+
console.error("isNodeSlotted() should never be called with a node that is not a child node of the given host");
|
|
565
|
+
}
|
|
555
566
|
}
|
|
556
567
|
var hostKey = getNodeKey(host);
|
|
557
568
|
// this routine assumes that the node is coming from a different shadow (it is not owned by the host)
|
|
@@ -632,9 +643,18 @@
|
|
|
632
643
|
}
|
|
633
644
|
function isNodeOwnedBy(owner, node) {
|
|
634
645
|
if (process.env.NODE_ENV !== 'production') {
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
646
|
+
if (!(owner instanceof HTMLElement)) {
|
|
647
|
+
// eslint-disable-next-line no-console
|
|
648
|
+
console.error("isNodeOwnedBy() should be called with an element as the first argument");
|
|
649
|
+
}
|
|
650
|
+
if (!(node instanceof _Node)) {
|
|
651
|
+
// eslint-disable-next-line no-console
|
|
652
|
+
console.error("isNodeOwnedBy() should be called with a node as the second argument");
|
|
653
|
+
}
|
|
654
|
+
if (!(compareDocumentPosition.call(node, owner) & DOCUMENT_POSITION_CONTAINS)) {
|
|
655
|
+
// eslint-disable-next-line no-console
|
|
656
|
+
console.error("isNodeOwnedBy() should never be called with a node that is not a child node of of the given owner");
|
|
657
|
+
}
|
|
638
658
|
}
|
|
639
659
|
var ownerKey = getNodeNearestOwnerKey(node);
|
|
640
660
|
if (isUndefined(ownerKey)) {
|
|
@@ -747,6 +767,16 @@
|
|
|
747
767
|
* SPDX-License-Identifier: MIT
|
|
748
768
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
749
769
|
*/
|
|
770
|
+
/**
|
|
771
|
+
@license
|
|
772
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
773
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
774
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
775
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
776
|
+
Code distributed by Google as part of the polymer project is also
|
|
777
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
778
|
+
*/
|
|
779
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
750
780
|
function getInnerHTML(node) {
|
|
751
781
|
var s = '';
|
|
752
782
|
var childNodes = getFilteredChildNodes(node);
|
|
@@ -762,6 +792,16 @@
|
|
|
762
792
|
* SPDX-License-Identifier: MIT
|
|
763
793
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
764
794
|
*/
|
|
795
|
+
/**
|
|
796
|
+
@license
|
|
797
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
798
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
799
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
800
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
801
|
+
Code distributed by Google as part of the polymer project is also
|
|
802
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
803
|
+
*/
|
|
804
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
765
805
|
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#escapingString
|
|
766
806
|
var escapeAttrRegExp = /[&\u00A0"]/g;
|
|
767
807
|
var escapeDataRegExp = /[&\u00A0<>]/g;
|
|
@@ -846,6 +886,16 @@
|
|
|
846
886
|
* SPDX-License-Identifier: MIT
|
|
847
887
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
848
888
|
*/
|
|
889
|
+
/**
|
|
890
|
+
@license
|
|
891
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
892
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
893
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
894
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
895
|
+
Code distributed by Google as part of the polymer project is also
|
|
896
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
897
|
+
*/
|
|
898
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
849
899
|
function getTextContent(node) {
|
|
850
900
|
switch (node.nodeType) {
|
|
851
901
|
case ELEMENT_NODE:
|
|
@@ -2331,6 +2381,15 @@
|
|
|
2331
2381
|
* SPDX-License-Identifier: MIT
|
|
2332
2382
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2333
2383
|
*/
|
|
2384
|
+
/**
|
|
2385
|
+
@license
|
|
2386
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
2387
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
2388
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
2389
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
2390
|
+
Code distributed by Google as part of the polymer project is also
|
|
2391
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2392
|
+
*/
|
|
2334
2393
|
function pathComposer(startNode, composed) {
|
|
2335
2394
|
var composedPath = [];
|
|
2336
2395
|
var startRoot;
|
|
@@ -4669,7 +4728,7 @@
|
|
|
4669
4728
|
},
|
|
4670
4729
|
configurable: true
|
|
4671
4730
|
});
|
|
4672
|
-
/** version: 2.45.
|
|
4731
|
+
/** version: 2.45.3 */
|
|
4673
4732
|
|
|
4674
4733
|
})();
|
|
4675
4734
|
//# sourceMappingURL=synthetic-shadow.js.map
|