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