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