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
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/* proxy-compat-disable */
|
|
2
2
|
/**
|
|
3
|
-
* Copyright (C)
|
|
3
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
4
|
+
*/
|
|
5
|
+
/* proxy-compat-disable */
|
|
6
|
+
/**
|
|
7
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
4
8
|
*/
|
|
5
9
|
/*
|
|
6
10
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -120,16 +124,17 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
|
120
124
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
121
125
|
// we can't use typeof since it will fail when transpiling.
|
|
122
126
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
123
|
-
/** version: 2.45.
|
|
127
|
+
/** version: 2.45.4 */
|
|
124
128
|
|
|
129
|
+
/* proxy-compat-disable */
|
|
125
130
|
/**
|
|
126
|
-
* Copyright (C)
|
|
131
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
127
132
|
*/
|
|
128
133
|
// eslint-disable-next-line no-restricted-properties
|
|
129
134
|
if (!_globalThis.lwcRuntimeFlags) {
|
|
130
135
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
131
136
|
}
|
|
132
|
-
/** version: 2.45.
|
|
137
|
+
/** version: 2.45.4 */
|
|
133
138
|
|
|
134
139
|
/*
|
|
135
140
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -513,9 +518,18 @@ function foldSlotElement(slot) {
|
|
|
513
518
|
}
|
|
514
519
|
function isNodeSlotted(host, node) {
|
|
515
520
|
if (process.env.NODE_ENV !== 'production') {
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
521
|
+
if (!(host instanceof HTMLElement)) {
|
|
522
|
+
// eslint-disable-next-line no-console
|
|
523
|
+
console.error(`isNodeSlotted() should be called with a host as the first argument`);
|
|
524
|
+
}
|
|
525
|
+
if (!(node instanceof _Node)) {
|
|
526
|
+
// eslint-disable-next-line no-console
|
|
527
|
+
console.error(`isNodeSlotted() should be called with a node as the second argument`);
|
|
528
|
+
}
|
|
529
|
+
if (!(compareDocumentPosition.call(node, host) & DOCUMENT_POSITION_CONTAINS)) {
|
|
530
|
+
// eslint-disable-next-line no-console
|
|
531
|
+
console.error(`isNodeSlotted() should never be called with a node that is not a child node of the given host`);
|
|
532
|
+
}
|
|
519
533
|
}
|
|
520
534
|
const hostKey = getNodeKey(host);
|
|
521
535
|
// this routine assumes that the node is coming from a different shadow (it is not owned by the host)
|
|
@@ -601,9 +615,18 @@ function isSlotElement(node) {
|
|
|
601
615
|
}
|
|
602
616
|
function isNodeOwnedBy(owner, node) {
|
|
603
617
|
if (process.env.NODE_ENV !== 'production') {
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
618
|
+
if (!(owner instanceof HTMLElement)) {
|
|
619
|
+
// eslint-disable-next-line no-console
|
|
620
|
+
console.error(`isNodeOwnedBy() should be called with an element as the first argument`);
|
|
621
|
+
}
|
|
622
|
+
if (!(node instanceof _Node)) {
|
|
623
|
+
// eslint-disable-next-line no-console
|
|
624
|
+
console.error(`isNodeOwnedBy() should be called with a node as the second argument`);
|
|
625
|
+
}
|
|
626
|
+
if (!(compareDocumentPosition.call(node, owner) & DOCUMENT_POSITION_CONTAINS)) {
|
|
627
|
+
// eslint-disable-next-line no-console
|
|
628
|
+
console.error(`isNodeOwnedBy() should never be called with a node that is not a child node of of the given owner`);
|
|
629
|
+
}
|
|
607
630
|
}
|
|
608
631
|
const ownerKey = getNodeNearestOwnerKey(node);
|
|
609
632
|
if (isUndefined(ownerKey)) {
|
|
@@ -713,6 +736,16 @@ function getFilteredSlotAssignedNodes(slot) {
|
|
|
713
736
|
* SPDX-License-Identifier: MIT
|
|
714
737
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
715
738
|
*/
|
|
739
|
+
/**
|
|
740
|
+
@license
|
|
741
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
742
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
743
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
744
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
745
|
+
Code distributed by Google as part of the polymer project is also
|
|
746
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
747
|
+
*/
|
|
748
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
716
749
|
function getInnerHTML(node) {
|
|
717
750
|
let s = '';
|
|
718
751
|
const childNodes = getFilteredChildNodes(node);
|
|
@@ -728,6 +761,16 @@ function getInnerHTML(node) {
|
|
|
728
761
|
* SPDX-License-Identifier: MIT
|
|
729
762
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
730
763
|
*/
|
|
764
|
+
/**
|
|
765
|
+
@license
|
|
766
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
767
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
768
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
769
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
770
|
+
Code distributed by Google as part of the polymer project is also
|
|
771
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
772
|
+
*/
|
|
773
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
731
774
|
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#escapingString
|
|
732
775
|
const escapeAttrRegExp = /[&\u00A0"]/g;
|
|
733
776
|
const escapeDataRegExp = /[&\u00A0<>]/g;
|
|
@@ -830,6 +873,16 @@ function getOuterHTML(node) {
|
|
|
830
873
|
* SPDX-License-Identifier: MIT
|
|
831
874
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
832
875
|
*/
|
|
876
|
+
/**
|
|
877
|
+
@license
|
|
878
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
879
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
880
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
881
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
882
|
+
Code distributed by Google as part of the polymer project is also
|
|
883
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
884
|
+
*/
|
|
885
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
833
886
|
function getTextContent(node) {
|
|
834
887
|
switch (node.nodeType) {
|
|
835
888
|
case ELEMENT_NODE: {
|
|
@@ -2337,6 +2390,15 @@ function getIE11FakeShadowRootPlaceholder(host) {
|
|
|
2337
2390
|
* SPDX-License-Identifier: MIT
|
|
2338
2391
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2339
2392
|
*/
|
|
2393
|
+
/**
|
|
2394
|
+
@license
|
|
2395
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
2396
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
2397
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
2398
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
2399
|
+
Code distributed by Google as part of the polymer project is also
|
|
2400
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2401
|
+
*/
|
|
2340
2402
|
function pathComposer(startNode, composed) {
|
|
2341
2403
|
const composedPath = [];
|
|
2342
2404
|
let startRoot;
|
|
@@ -4691,5 +4753,5 @@ defineProperty(Element.prototype, '$domManual$', {
|
|
|
4691
4753
|
},
|
|
4692
4754
|
configurable: true,
|
|
4693
4755
|
});
|
|
4694
|
-
/** version: 2.45.
|
|
4756
|
+
/** version: 2.45.4 */
|
|
4695
4757
|
//# sourceMappingURL=synthetic-shadow.js.map
|