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
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
factory();
|
|
4
4
|
})((function () { 'use strict';
|
|
5
5
|
|
|
6
|
-
/* proxy-compat-disable */
|
|
7
6
|
/**
|
|
8
|
-
* Copyright (C)
|
|
7
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
9
11
|
*/
|
|
10
12
|
/*
|
|
11
13
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -125,16 +127,16 @@
|
|
|
125
127
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
126
128
|
// we can't use typeof since it will fail when transpiling.
|
|
127
129
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
128
|
-
/** version: 2.45.
|
|
130
|
+
/** version: 2.45.3 */
|
|
129
131
|
|
|
130
132
|
/**
|
|
131
|
-
* Copyright (C)
|
|
133
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
132
134
|
*/
|
|
133
135
|
// eslint-disable-next-line no-restricted-properties
|
|
134
136
|
if (!_globalThis.lwcRuntimeFlags) {
|
|
135
137
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
136
138
|
}
|
|
137
|
-
/** version: 2.45.
|
|
139
|
+
/** version: 2.45.3 */
|
|
138
140
|
|
|
139
141
|
/*
|
|
140
142
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -518,9 +520,18 @@
|
|
|
518
520
|
}
|
|
519
521
|
function isNodeSlotted(host, node) {
|
|
520
522
|
if (process.env.NODE_ENV !== 'production') {
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
523
|
+
if (!(host instanceof HTMLElement)) {
|
|
524
|
+
// eslint-disable-next-line no-console
|
|
525
|
+
console.error(`isNodeSlotted() should be called with a host as the first argument`);
|
|
526
|
+
}
|
|
527
|
+
if (!(node instanceof _Node)) {
|
|
528
|
+
// eslint-disable-next-line no-console
|
|
529
|
+
console.error(`isNodeSlotted() should be called with a node as the second argument`);
|
|
530
|
+
}
|
|
531
|
+
if (!(compareDocumentPosition.call(node, host) & DOCUMENT_POSITION_CONTAINS)) {
|
|
532
|
+
// eslint-disable-next-line no-console
|
|
533
|
+
console.error(`isNodeSlotted() should never be called with a node that is not a child node of the given host`);
|
|
534
|
+
}
|
|
524
535
|
}
|
|
525
536
|
const hostKey = getNodeKey(host);
|
|
526
537
|
// this routine assumes that the node is coming from a different shadow (it is not owned by the host)
|
|
@@ -606,9 +617,18 @@
|
|
|
606
617
|
}
|
|
607
618
|
function isNodeOwnedBy(owner, node) {
|
|
608
619
|
if (process.env.NODE_ENV !== 'production') {
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
620
|
+
if (!(owner instanceof HTMLElement)) {
|
|
621
|
+
// eslint-disable-next-line no-console
|
|
622
|
+
console.error(`isNodeOwnedBy() should be called with an element as the first argument`);
|
|
623
|
+
}
|
|
624
|
+
if (!(node instanceof _Node)) {
|
|
625
|
+
// eslint-disable-next-line no-console
|
|
626
|
+
console.error(`isNodeOwnedBy() should be called with a node as the second argument`);
|
|
627
|
+
}
|
|
628
|
+
if (!(compareDocumentPosition.call(node, owner) & DOCUMENT_POSITION_CONTAINS)) {
|
|
629
|
+
// eslint-disable-next-line no-console
|
|
630
|
+
console.error(`isNodeOwnedBy() should never be called with a node that is not a child node of of the given owner`);
|
|
631
|
+
}
|
|
612
632
|
}
|
|
613
633
|
const ownerKey = getNodeNearestOwnerKey(node);
|
|
614
634
|
if (isUndefined(ownerKey)) {
|
|
@@ -718,6 +738,16 @@
|
|
|
718
738
|
* SPDX-License-Identifier: MIT
|
|
719
739
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
720
740
|
*/
|
|
741
|
+
/**
|
|
742
|
+
@license
|
|
743
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
744
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
745
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
746
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
747
|
+
Code distributed by Google as part of the polymer project is also
|
|
748
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
749
|
+
*/
|
|
750
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
721
751
|
function getInnerHTML(node) {
|
|
722
752
|
let s = '';
|
|
723
753
|
const childNodes = getFilteredChildNodes(node);
|
|
@@ -733,6 +763,16 @@
|
|
|
733
763
|
* SPDX-License-Identifier: MIT
|
|
734
764
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
735
765
|
*/
|
|
766
|
+
/**
|
|
767
|
+
@license
|
|
768
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
769
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
770
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
771
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
772
|
+
Code distributed by Google as part of the polymer project is also
|
|
773
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
774
|
+
*/
|
|
775
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
736
776
|
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#escapingString
|
|
737
777
|
const escapeAttrRegExp = /[&\u00A0"]/g;
|
|
738
778
|
const escapeDataRegExp = /[&\u00A0<>]/g;
|
|
@@ -835,6 +875,16 @@
|
|
|
835
875
|
* SPDX-License-Identifier: MIT
|
|
836
876
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
837
877
|
*/
|
|
878
|
+
/**
|
|
879
|
+
@license
|
|
880
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
881
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
882
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
883
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
884
|
+
Code distributed by Google as part of the polymer project is also
|
|
885
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
886
|
+
*/
|
|
887
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
838
888
|
function getTextContent(node) {
|
|
839
889
|
switch (node.nodeType) {
|
|
840
890
|
case ELEMENT_NODE: {
|
|
@@ -2342,6 +2392,15 @@
|
|
|
2342
2392
|
* SPDX-License-Identifier: MIT
|
|
2343
2393
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2344
2394
|
*/
|
|
2395
|
+
/**
|
|
2396
|
+
@license
|
|
2397
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
2398
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
2399
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
2400
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
2401
|
+
Code distributed by Google as part of the polymer project is also
|
|
2402
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2403
|
+
*/
|
|
2345
2404
|
function pathComposer(startNode, composed) {
|
|
2346
2405
|
const composedPath = [];
|
|
2347
2406
|
let startRoot;
|
|
@@ -4696,7 +4755,7 @@
|
|
|
4696
4755
|
},
|
|
4697
4756
|
configurable: true,
|
|
4698
4757
|
});
|
|
4699
|
-
/** version: 2.45.
|
|
4758
|
+
/** version: 2.45.3 */
|
|
4700
4759
|
|
|
4701
4760
|
}));
|
|
4702
4761
|
//# sourceMappingURL=synthetic-shadow.js.map
|