lwc 2.6.1 → 2.7.2
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 +590 -394
- package/dist/engine-dom/iife/es2017/engine-dom.js +590 -394
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -9
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +564 -370
- package/dist/engine-dom/iife/es5/engine-dom.js +648 -351
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -9
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +616 -327
- package/dist/engine-dom/umd/es2017/engine-dom.js +590 -394
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -9
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +564 -370
- package/dist/engine-dom/umd/es5/engine-dom.js +648 -351
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -9
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +616 -327
- package/dist/engine-server/commonjs/es2017/engine-server.js +670 -472
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -9
- package/dist/engine-server/esm/es2017/engine-server.js +670 -472
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +74 -9
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +74 -9
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +74 -9
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +85 -12
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +85 -12
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +74 -9
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +74 -9
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +85 -12
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +85 -12
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +11 -11
- package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +11 -11
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +11 -11
- package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +11 -11
- package/package.json +8 -8
|
@@ -7,9 +7,13 @@
|
|
|
7
7
|
|
|
8
8
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9
9
|
|
|
10
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
11
|
+
|
|
12
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13
|
+
|
|
10
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11
15
|
|
|
12
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
16
|
+
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); }
|
|
13
17
|
/*
|
|
14
18
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
15
19
|
* All rights reserved.
|
|
@@ -119,7 +123,7 @@
|
|
|
119
123
|
var KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
120
124
|
var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
121
125
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
122
|
-
/** version: 2.
|
|
126
|
+
/** version: 2.7.2 */
|
|
123
127
|
|
|
124
128
|
/*
|
|
125
129
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -218,6 +222,9 @@
|
|
|
218
222
|
var shadowRootGetter = hasOwnProperty.call(Element.prototype, 'shadowRoot') ? getOwnPropertyDescriptor(Element.prototype, 'shadowRoot').get : function () {
|
|
219
223
|
return null;
|
|
220
224
|
};
|
|
225
|
+
var assignedSlotGetter$1 = hasOwnProperty.call(Element.prototype, 'assignedSlot') ? getOwnPropertyDescriptor(Element.prototype, 'assignedSlot').get : function () {
|
|
226
|
+
return null;
|
|
227
|
+
};
|
|
221
228
|
/*
|
|
222
229
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
223
230
|
* All rights reserved.
|
|
@@ -350,9 +357,9 @@
|
|
|
350
357
|
function apply$4() {
|
|
351
358
|
// IE11 does not have this element definition
|
|
352
359
|
// we don't care much about the construction phase, just the prototype
|
|
353
|
-
var HTMLSlotElement = function HTMLSlotElement() {
|
|
360
|
+
var HTMLSlotElement = /*#__PURE__*/_createClass(function HTMLSlotElement() {
|
|
354
361
|
_classCallCheck(this, HTMLSlotElement);
|
|
355
|
-
}; // prototype inheritance dance
|
|
362
|
+
}); // prototype inheritance dance
|
|
356
363
|
|
|
357
364
|
|
|
358
365
|
setPrototypeOf(HTMLSlotElement, HTMLElement.constructor);
|
|
@@ -1413,7 +1420,7 @@
|
|
|
1413
1420
|
}
|
|
1414
1421
|
|
|
1415
1422
|
var runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
1416
|
-
/** version: 2.
|
|
1423
|
+
/** version: 2.7.2 */
|
|
1417
1424
|
|
|
1418
1425
|
/*
|
|
1419
1426
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -1507,7 +1514,9 @@
|
|
|
1507
1514
|
}
|
|
1508
1515
|
|
|
1509
1516
|
function compareDocumentPositionPatched(otherNode) {
|
|
1510
|
-
if (this
|
|
1517
|
+
if (this === otherNode) {
|
|
1518
|
+
return 0;
|
|
1519
|
+
} else if (this.getRootNode() === otherNode) {
|
|
1511
1520
|
// "this" is in a shadow tree where the shadow root is the "otherNode".
|
|
1512
1521
|
return 10; // Node.DOCUMENT_POSITION_CONTAINS | Node.DOCUMENT_POSITION_PRECEDING
|
|
1513
1522
|
} else if (getNodeOwnerKey(this) !== getNodeOwnerKey(otherNode)) {
|
|
@@ -1848,7 +1857,22 @@
|
|
|
1848
1857
|
}
|
|
1849
1858
|
|
|
1850
1859
|
return rootNodes;
|
|
1851
|
-
}
|
|
1860
|
+
} // Keep searching up the host tree until we find an element that is within the immediate shadow root
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
var findAncestorHostInImmediateShadowRoot = function findAncestorHostInImmediateShadowRoot(rootNode, targetRootNode) {
|
|
1864
|
+
var host;
|
|
1865
|
+
|
|
1866
|
+
while (!isUndefined(host = rootNode.host)) {
|
|
1867
|
+
var thisRootNode = host.getRootNode();
|
|
1868
|
+
|
|
1869
|
+
if (thisRootNode === targetRootNode) {
|
|
1870
|
+
return host;
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
rootNode = thisRootNode;
|
|
1874
|
+
}
|
|
1875
|
+
};
|
|
1852
1876
|
|
|
1853
1877
|
function fauxElementsFromPoint(context, doc, left, top) {
|
|
1854
1878
|
var elements = elementsFromPoint.call(doc, left, top);
|
|
@@ -1862,8 +1886,28 @@
|
|
|
1862
1886
|
for (var i = 0; i < elements.length; i++) {
|
|
1863
1887
|
var element = elements[i];
|
|
1864
1888
|
|
|
1865
|
-
if (
|
|
1866
|
-
|
|
1889
|
+
if (isSyntheticSlotElement(element)) {
|
|
1890
|
+
continue;
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
var elementRootNode = element.getRootNode();
|
|
1894
|
+
|
|
1895
|
+
if (ArrayIndexOf.call(rootNodes, elementRootNode) !== -1) {
|
|
1896
|
+
ArrayPush.call(result, element);
|
|
1897
|
+
continue;
|
|
1898
|
+
} // In cases where the host element is not visible but its shadow descendants are, then
|
|
1899
|
+
// we may get the shadow descendant instead of the host element here. (The
|
|
1900
|
+
// browser doesn't know the difference in synthetic shadow DOM.)
|
|
1901
|
+
// In native shadow DOM, however, elementsFromPoint would return the host but not
|
|
1902
|
+
// the child. So we need to detect if this shadow element's host is accessible from
|
|
1903
|
+
// the context's shadow root. Note we also need to be careful not to add the host
|
|
1904
|
+
// multiple times.
|
|
1905
|
+
|
|
1906
|
+
|
|
1907
|
+
var ancestorHost = findAncestorHostInImmediateShadowRoot(elementRootNode, rootNodes[0]);
|
|
1908
|
+
|
|
1909
|
+
if (!isUndefined(ancestorHost) && ArrayIndexOf.call(elements, ancestorHost) === -1 && ArrayIndexOf.call(result, ancestorHost) === -1) {
|
|
1910
|
+
ArrayPush.call(result, ancestorHost);
|
|
1867
1911
|
}
|
|
1868
1912
|
}
|
|
1869
1913
|
}
|
|
@@ -1991,6 +2035,12 @@
|
|
|
1991
2035
|
value: function value() {
|
|
1992
2036
|
return "[object ShadowRoot]";
|
|
1993
2037
|
}
|
|
2038
|
+
},
|
|
2039
|
+
synthetic: {
|
|
2040
|
+
writable: false,
|
|
2041
|
+
enumerable: false,
|
|
2042
|
+
configurable: false,
|
|
2043
|
+
value: true
|
|
1994
2044
|
}
|
|
1995
2045
|
};
|
|
1996
2046
|
var ShadowRootDescriptors = {
|
|
@@ -3683,6 +3733,16 @@
|
|
|
3683
3733
|
*/
|
|
3684
3734
|
|
|
3685
3735
|
retargetRelatedTarget(MouseEvent);
|
|
3736
|
+
/*
|
|
3737
|
+
* Copyright (c) 2021, salesforce.com, inc.
|
|
3738
|
+
* All rights reserved.
|
|
3739
|
+
* SPDX-License-Identifier: MIT
|
|
3740
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
3741
|
+
*/
|
|
3742
|
+
|
|
3743
|
+
var assignedSlotGetter = hasOwnProperty.call(Text.prototype, 'assignedSlot') ? getOwnPropertyDescriptor(Text.prototype, 'assignedSlot').get : function () {
|
|
3744
|
+
return null;
|
|
3745
|
+
};
|
|
3686
3746
|
/*
|
|
3687
3747
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
3688
3748
|
* All rights reserved.
|
|
@@ -3731,10 +3791,22 @@
|
|
|
3731
3791
|
}
|
|
3732
3792
|
|
|
3733
3793
|
function assignedSlotGetterPatched() {
|
|
3734
|
-
var parentNode = parentNodeGetter.call(this);
|
|
3794
|
+
var parentNode = parentNodeGetter.call(this); // use original assignedSlot if parent has a native shdow root
|
|
3795
|
+
|
|
3796
|
+
if (parentNode instanceof Element) {
|
|
3797
|
+
var sr = shadowRootGetter.call(parentNode);
|
|
3798
|
+
|
|
3799
|
+
if (isInstanceOfNativeShadowRoot(sr)) {
|
|
3800
|
+
if (this instanceof Text) {
|
|
3801
|
+
return assignedSlotGetter.call(this);
|
|
3802
|
+
}
|
|
3803
|
+
|
|
3804
|
+
return assignedSlotGetter$1.call(this);
|
|
3805
|
+
}
|
|
3806
|
+
}
|
|
3735
3807
|
/**
|
|
3736
3808
|
* The node is assigned to a slot if:
|
|
3737
|
-
* - it has a parent and
|
|
3809
|
+
* - it has a parent and its parent is a slot element
|
|
3738
3810
|
* - and if the slot owner key is different than the node owner key.
|
|
3739
3811
|
*
|
|
3740
3812
|
* When the slot and the slotted node are 2 different shadow trees, the owner keys will be
|
|
@@ -3743,6 +3815,7 @@
|
|
|
3743
3815
|
* different than the node owner key (always `undefined`).
|
|
3744
3816
|
*/
|
|
3745
3817
|
|
|
3818
|
+
|
|
3746
3819
|
if (!isNull(parentNode) && isSlotElement(parentNode) && getNodeOwnerKey(parentNode) !== getNodeOwnerKey(this)) {
|
|
3747
3820
|
return parentNode;
|
|
3748
3821
|
}
|
|
@@ -5336,6 +5409,6 @@
|
|
|
5336
5409
|
},
|
|
5337
5410
|
configurable: true
|
|
5338
5411
|
});
|
|
5339
|
-
/** version: 2.
|
|
5412
|
+
/** version: 2.7.2 */
|
|
5340
5413
|
|
|
5341
5414
|
}));
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
function isUndefined(obj) {
|
|
9
9
|
return obj === undefined;
|
|
10
10
|
}
|
|
11
|
-
/** version: 2.
|
|
11
|
+
/** version: 2.7.2 */
|
|
12
12
|
|
|
13
13
|
/*
|
|
14
14
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -227,6 +227,6 @@ class LegacyWireAdapterBridge {
|
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
}
|
|
230
|
-
/** version: 2.
|
|
230
|
+
/** version: 2.7.2 */
|
|
231
231
|
|
|
232
232
|
export { ValueChangedEvent, register, registerWireService };
|
|
@@ -11,7 +11,7 @@ var WireService = (function (exports) {
|
|
|
11
11
|
function isUndefined(obj) {
|
|
12
12
|
return obj === undefined;
|
|
13
13
|
}
|
|
14
|
-
/** version: 2.
|
|
14
|
+
/** version: 2.7.2 */
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
17
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -230,7 +230,7 @@ var WireService = (function (exports) {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
}
|
|
233
|
-
/** version: 2.
|
|
233
|
+
/** version: 2.7.2 */
|
|
234
234
|
|
|
235
235
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
236
236
|
exports.register = register;
|
|
@@ -11,7 +11,7 @@ var WireService = (function (exports) {
|
|
|
11
11
|
function isUndefined(obj) {
|
|
12
12
|
return obj === undefined;
|
|
13
13
|
}
|
|
14
|
-
/** version: 2.
|
|
14
|
+
/** version: 2.7.2 */
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
17
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -230,7 +230,7 @@ var WireService = (function (exports) {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
}
|
|
233
|
-
/** version: 2.
|
|
233
|
+
/** version: 2.7.2 */
|
|
234
234
|
|
|
235
235
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
236
236
|
exports.register = register;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
var WireService = (function (exports) {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
4
|
+
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); }
|
|
5
5
|
|
|
6
|
-
function
|
|
7
|
-
|
|
8
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
9
|
-
|
|
10
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
6
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
11
7
|
|
|
12
8
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
13
9
|
|
|
@@ -21,6 +17,10 @@ var WireService = (function (exports) {
|
|
|
21
17
|
|
|
22
18
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
23
19
|
|
|
20
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
21
|
+
|
|
22
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
23
|
+
|
|
24
24
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
25
25
|
|
|
26
26
|
/**
|
|
@@ -33,7 +33,7 @@ var WireService = (function (exports) {
|
|
|
33
33
|
function isUndefined(obj) {
|
|
34
34
|
return obj === undefined;
|
|
35
35
|
}
|
|
36
|
-
/** version: 2.
|
|
36
|
+
/** version: 2.7.2 */
|
|
37
37
|
|
|
38
38
|
/*
|
|
39
39
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -48,12 +48,12 @@ var WireService = (function (exports) {
|
|
|
48
48
|
* Event fired by wire adapters to emit a new value.
|
|
49
49
|
*/
|
|
50
50
|
|
|
51
|
-
var ValueChangedEvent = function ValueChangedEvent(value) {
|
|
51
|
+
var ValueChangedEvent = /*#__PURE__*/_createClass(function ValueChangedEvent(value) {
|
|
52
52
|
_classCallCheck(this, ValueChangedEvent);
|
|
53
53
|
|
|
54
54
|
this.type = ValueChangedEventType;
|
|
55
55
|
this.value = value;
|
|
56
|
-
};
|
|
56
|
+
});
|
|
57
57
|
/*
|
|
58
58
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
59
59
|
* All rights reserved.
|
|
@@ -101,7 +101,7 @@ var WireService = (function (exports) {
|
|
|
101
101
|
return _this;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
return AdapterClass;
|
|
104
|
+
return _createClass(AdapterClass);
|
|
105
105
|
}(LegacyWireAdapterBridge);
|
|
106
106
|
|
|
107
107
|
freeze(AdapterClass);
|
|
@@ -280,7 +280,7 @@ var WireService = (function (exports) {
|
|
|
280
280
|
|
|
281
281
|
return LegacyWireAdapterBridge;
|
|
282
282
|
}();
|
|
283
|
-
/** version: 2.
|
|
283
|
+
/** version: 2.7.2 */
|
|
284
284
|
|
|
285
285
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
286
286
|
exports.register = register;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var WireService=function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t){
|
|
1
|
+
var WireService=function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t){return n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(e,t)}function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=i(e);if(t){var c=i(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return o(this,n)}}function o(e,n){if(n&&("object"===t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e){return void 0===e}var s=a((function e(t){u(this,e),this.type="ValueChangedEvent",this.value=t})),l=Object.freeze,p=Object.defineProperty,y=Object.isExtensible;var d=Array.prototype,h=d.forEach,v=d.splice,b=d.indexOf,g="connect",m="disconnect",w="config";function E(e,t){var n=b.call(e,t);n>-1&&v.call(e,n,1)}var O=function(){function e(t){var n=this;u(this,e),this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=t,this.wiredElementHost=t.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=t.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:function(e,t){switch(e){case g:n.connecting.push(t);break;case m:n.disconnecting.push(t);break;case w:n.configuring.push(t),void 0!==n.currentConfig&&t.call(void 0,n.currentConfig);break;default:throw new Error("Invalid event type ".concat(e,"."))}},removeEventListener:function(e,t){switch(e){case g:E(n.connecting,t);break;case m:E(n.disconnecting,t);break;case w:E(n.configuring,t);break;default:throw new Error("Invalid event type ".concat(e,"."))}},dispatchEvent:function(e){if(!(e instanceof s)){if("wirecontextevent"===e.type)return n.wiredElementHost.dispatchEvent(e);throw new Error("Invalid event type ".concat(e.type,"."))}var t=e.value;return n.callback(t),!1}}}return a(e,[{key:"update",value:function(e){var t,n;(!this.isFirstUpdate||(this.isFirstUpdate=!1,function(e){return 0===Object.keys(e).length}(e)||function(e,t){return 0===t.length||t.some((function(t){return!f(e[t])}))}(e,this.dynamicParamsNames)))&&((f(this.currentConfig)||(t=e,n=this.currentConfig,this.dynamicParamsNames.some((function(e){return t[e]!==n[e]}))))&&(this.currentConfig=e,h.call(this.configuring,(function(t){t.call(void 0,e)}))))}},{key:"connect",value:function(){h.call(this.connecting,(function(e){return e.call(void 0)}))}},{key:"disconnect",value:function(){h.call(this.disconnecting,(function(e){return e.call(void 0)}))}}]),e}();return e.ValueChangedEvent=s,e.register=function(e,t){if(null==e||!y(e))throw new TypeError("adapter id must be extensible");if("function"!=typeof t)throw new TypeError("adapter factory must be a callable");if("adapter"in e)throw new TypeError("adapter id is already associated to an adapter factory");var o=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(i,e);var o=r(i);function i(e){var n;return u(this,i),n=o.call(this,e),t(n.eventTarget),n}return a(i)}(O);l(o),l(o.prototype),p(e,"adapter",{writable:!1,configurable:!1,value:o})},e.registerWireService=function(){},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
var WireService = (function (exports) {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
4
|
+
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); }
|
|
5
5
|
|
|
6
|
-
function
|
|
7
|
-
|
|
8
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
9
|
-
|
|
10
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
6
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
11
7
|
|
|
12
8
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
13
9
|
|
|
@@ -21,6 +17,10 @@ var WireService = (function (exports) {
|
|
|
21
17
|
|
|
22
18
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
23
19
|
|
|
20
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
21
|
+
|
|
22
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
23
|
+
|
|
24
24
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
25
25
|
|
|
26
26
|
/**
|
|
@@ -33,7 +33,7 @@ var WireService = (function (exports) {
|
|
|
33
33
|
function isUndefined(obj) {
|
|
34
34
|
return obj === undefined;
|
|
35
35
|
}
|
|
36
|
-
/** version: 2.
|
|
36
|
+
/** version: 2.7.2 */
|
|
37
37
|
|
|
38
38
|
/*
|
|
39
39
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -48,12 +48,12 @@ var WireService = (function (exports) {
|
|
|
48
48
|
* Event fired by wire adapters to emit a new value.
|
|
49
49
|
*/
|
|
50
50
|
|
|
51
|
-
var ValueChangedEvent = function ValueChangedEvent(value) {
|
|
51
|
+
var ValueChangedEvent = /*#__PURE__*/_createClass(function ValueChangedEvent(value) {
|
|
52
52
|
_classCallCheck(this, ValueChangedEvent);
|
|
53
53
|
|
|
54
54
|
this.type = ValueChangedEventType;
|
|
55
55
|
this.value = value;
|
|
56
|
-
};
|
|
56
|
+
});
|
|
57
57
|
/*
|
|
58
58
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
59
59
|
* All rights reserved.
|
|
@@ -101,7 +101,7 @@ var WireService = (function (exports) {
|
|
|
101
101
|
return _this;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
return AdapterClass;
|
|
104
|
+
return _createClass(AdapterClass);
|
|
105
105
|
}(LegacyWireAdapterBridge);
|
|
106
106
|
|
|
107
107
|
freeze(AdapterClass);
|
|
@@ -280,7 +280,7 @@ var WireService = (function (exports) {
|
|
|
280
280
|
|
|
281
281
|
return LegacyWireAdapterBridge;
|
|
282
282
|
}();
|
|
283
|
-
/** version: 2.
|
|
283
|
+
/** version: 2.7.2 */
|
|
284
284
|
|
|
285
285
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
286
286
|
exports.register = register;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
function isUndefined(obj) {
|
|
15
15
|
return obj === undefined;
|
|
16
16
|
}
|
|
17
|
-
/** version: 2.
|
|
17
|
+
/** version: 2.7.2 */
|
|
18
18
|
|
|
19
19
|
/*
|
|
20
20
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
}
|
|
236
|
-
/** version: 2.
|
|
236
|
+
/** version: 2.7.2 */
|
|
237
237
|
|
|
238
238
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
239
239
|
exports.register = register;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
function isUndefined(obj) {
|
|
15
15
|
return obj === undefined;
|
|
16
16
|
}
|
|
17
|
-
/** version: 2.
|
|
17
|
+
/** version: 2.7.2 */
|
|
18
18
|
|
|
19
19
|
/*
|
|
20
20
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
}
|
|
236
|
-
/** version: 2.
|
|
236
|
+
/** version: 2.7.2 */
|
|
237
237
|
|
|
238
238
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
239
239
|
exports.register = register;
|
|
@@ -4,13 +4,9 @@
|
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.WireService = {}));
|
|
5
5
|
})(this, (function (exports) { 'use strict';
|
|
6
6
|
|
|
7
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
7
|
+
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); }
|
|
8
8
|
|
|
9
|
-
function
|
|
10
|
-
|
|
11
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
12
|
-
|
|
13
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
9
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
14
10
|
|
|
15
11
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
16
12
|
|
|
@@ -24,6 +20,10 @@
|
|
|
24
20
|
|
|
25
21
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
26
22
|
|
|
23
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
24
|
+
|
|
25
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
26
|
+
|
|
27
27
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
function isUndefined(obj) {
|
|
37
37
|
return obj === undefined;
|
|
38
38
|
}
|
|
39
|
-
/** version: 2.
|
|
39
|
+
/** version: 2.7.2 */
|
|
40
40
|
|
|
41
41
|
/*
|
|
42
42
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
* Event fired by wire adapters to emit a new value.
|
|
52
52
|
*/
|
|
53
53
|
|
|
54
|
-
var ValueChangedEvent = function ValueChangedEvent(value) {
|
|
54
|
+
var ValueChangedEvent = /*#__PURE__*/_createClass(function ValueChangedEvent(value) {
|
|
55
55
|
_classCallCheck(this, ValueChangedEvent);
|
|
56
56
|
|
|
57
57
|
this.type = ValueChangedEventType;
|
|
58
58
|
this.value = value;
|
|
59
|
-
};
|
|
59
|
+
});
|
|
60
60
|
/*
|
|
61
61
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
62
62
|
* All rights reserved.
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
return _this;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
return AdapterClass;
|
|
107
|
+
return _createClass(AdapterClass);
|
|
108
108
|
}(LegacyWireAdapterBridge);
|
|
109
109
|
|
|
110
110
|
freeze(AdapterClass);
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
|
|
284
284
|
return LegacyWireAdapterBridge;
|
|
285
285
|
}();
|
|
286
|
-
/** version: 2.
|
|
286
|
+
/** version: 2.7.2 */
|
|
287
287
|
|
|
288
288
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
289
289
|
exports.register = register;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).WireService={})}(this,(function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t){
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).WireService={})}(this,(function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t){return n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(e,t)}function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=i(e);if(t){var c=i(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return o(this,n)}}function o(e,n){if(n&&("object"===t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e){return void 0===e}var s=a((function e(t){u(this,e),this.type="ValueChangedEvent",this.value=t})),l=Object.freeze,p=Object.defineProperty,d=Object.isExtensible;var y=Array.prototype,h=y.forEach,v=y.splice,b=y.indexOf,g="connect",m="disconnect",w="config";function E(e,t){var n=b.call(e,t);n>-1&&v.call(e,n,1)}var O=function(){function e(t){var n=this;u(this,e),this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=t,this.wiredElementHost=t.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=t.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:function(e,t){switch(e){case g:n.connecting.push(t);break;case m:n.disconnecting.push(t);break;case w:n.configuring.push(t),void 0!==n.currentConfig&&t.call(void 0,n.currentConfig);break;default:throw new Error("Invalid event type ".concat(e,"."))}},removeEventListener:function(e,t){switch(e){case g:E(n.connecting,t);break;case m:E(n.disconnecting,t);break;case w:E(n.configuring,t);break;default:throw new Error("Invalid event type ".concat(e,"."))}},dispatchEvent:function(e){if(!(e instanceof s)){if("wirecontextevent"===e.type)return n.wiredElementHost.dispatchEvent(e);throw new Error("Invalid event type ".concat(e.type,"."))}var t=e.value;return n.callback(t),!1}}}return a(e,[{key:"update",value:function(e){var t,n;(!this.isFirstUpdate||(this.isFirstUpdate=!1,function(e){return 0===Object.keys(e).length}(e)||function(e,t){return 0===t.length||t.some((function(t){return!f(e[t])}))}(e,this.dynamicParamsNames)))&&((f(this.currentConfig)||(t=e,n=this.currentConfig,this.dynamicParamsNames.some((function(e){return t[e]!==n[e]}))))&&(this.currentConfig=e,h.call(this.configuring,(function(t){t.call(void 0,e)}))))}},{key:"connect",value:function(){h.call(this.connecting,(function(e){return e.call(void 0)}))}},{key:"disconnect",value:function(){h.call(this.disconnecting,(function(e){return e.call(void 0)}))}}]),e}();e.ValueChangedEvent=s,e.register=function(e,t){if(null==e||!d(e))throw new TypeError("adapter id must be extensible");if("function"!=typeof t)throw new TypeError("adapter factory must be a callable");if("adapter"in e)throw new TypeError("adapter id is already associated to an adapter factory");var o=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(i,e);var o=r(i);function i(e){var n;return u(this,i),n=o.call(this,e),t(n.eventTarget),n}return a(i)}(O);l(o),l(o.prototype),p(e,"adapter",{writable:!1,configurable:!1,value:o})},e.registerWireService=function(){},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
@@ -4,13 +4,9 @@
|
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.WireService = {}));
|
|
5
5
|
})(this, (function (exports) { 'use strict';
|
|
6
6
|
|
|
7
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
7
|
+
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); }
|
|
8
8
|
|
|
9
|
-
function
|
|
10
|
-
|
|
11
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
12
|
-
|
|
13
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
9
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
14
10
|
|
|
15
11
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
16
12
|
|
|
@@ -24,6 +20,10 @@
|
|
|
24
20
|
|
|
25
21
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
26
22
|
|
|
23
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
24
|
+
|
|
25
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
26
|
+
|
|
27
27
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
function isUndefined(obj) {
|
|
37
37
|
return obj === undefined;
|
|
38
38
|
}
|
|
39
|
-
/** version: 2.
|
|
39
|
+
/** version: 2.7.2 */
|
|
40
40
|
|
|
41
41
|
/*
|
|
42
42
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
* Event fired by wire adapters to emit a new value.
|
|
52
52
|
*/
|
|
53
53
|
|
|
54
|
-
var ValueChangedEvent = function ValueChangedEvent(value) {
|
|
54
|
+
var ValueChangedEvent = /*#__PURE__*/_createClass(function ValueChangedEvent(value) {
|
|
55
55
|
_classCallCheck(this, ValueChangedEvent);
|
|
56
56
|
|
|
57
57
|
this.type = ValueChangedEventType;
|
|
58
58
|
this.value = value;
|
|
59
|
-
};
|
|
59
|
+
});
|
|
60
60
|
/*
|
|
61
61
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
62
62
|
* All rights reserved.
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
return _this;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
return AdapterClass;
|
|
107
|
+
return _createClass(AdapterClass);
|
|
108
108
|
}(LegacyWireAdapterBridge);
|
|
109
109
|
|
|
110
110
|
freeze(AdapterClass);
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
|
|
284
284
|
return LegacyWireAdapterBridge;
|
|
285
285
|
}();
|
|
286
|
-
/** version: 2.
|
|
286
|
+
/** version: 2.7.2 */
|
|
287
287
|
|
|
288
288
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
289
289
|
exports.register = register;
|