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