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