lwc 2.5.10-alpha1 → 2.7.0
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 +168 -134
- package/dist/engine-dom/iife/es2017/engine-dom.js +169 -135
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -2
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +154 -133
- package/dist/engine-dom/iife/es5/engine-dom.js +185 -145
- package/dist/engine-dom/iife/es5/engine-dom.min.js +2 -2
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +172 -145
- package/dist/engine-dom/umd/es2017/engine-dom.js +170 -136
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -2
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +155 -134
- package/dist/engine-dom/umd/es5/engine-dom.js +186 -146
- package/dist/engine-dom/umd/es5/engine-dom.min.js +2 -2
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +173 -146
- package/dist/engine-server/commonjs/es2017/engine-server.js +179 -142
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +2 -2
- package/dist/engine-server/esm/es2017/engine-server.js +179 -142
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +29 -130
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +30 -131
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +30 -131
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +37 -128
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +37 -128
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +31 -132
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +31 -132
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +38 -129
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +38 -129
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +3 -3
- package/dist/wire-service/iife/es2017/wire-service_debug.js +3 -3
- package/dist/wire-service/iife/es5/wire-service.js +12 -12
- package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +12 -12
- package/dist/wire-service/umd/es2017/wire-service.js +4 -4
- package/dist/wire-service/umd/es2017/wire-service_debug.js +4 -4
- package/dist/wire-service/umd/es5/wire-service.js +13 -13
- package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +13 -13
- package/package.json +8 -8
- package/dist/engine/esm/es2017/engine.js +0 -7981
- package/dist/engine/iife/es2017/engine.js +0 -8013
- package/dist/engine/iife/es2017/engine.min.js +0 -9
- package/dist/engine/iife/es2017/engine_debug.js +0 -6541
- package/dist/engine/iife/es5/engine.js +0 -6060
- package/dist/engine/iife/es5/engine.min.js +0 -23
- package/dist/engine/iife/es5/engine_debug.js +0 -4856
- package/dist/engine/umd/es2017/engine.js +0 -8014
- package/dist/engine/umd/es2017/engine.min.js +0 -9
- package/dist/engine/umd/es2017/engine_debug.js +0 -6542
- package/dist/engine/umd/es5/engine.js +0 -6061
- package/dist/engine/umd/es5/engine.min.js +0 -23
- package/dist/engine/umd/es5/engine_debug.js +0 -4857
|
@@ -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
|
|
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");Object.defineProperty(e,"prototype",{value:Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),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})}));
|
|
@@ -2,15 +2,11 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.WireService = {}));
|
|
5
|
-
}(this, (function (exports) { 'use strict';
|
|
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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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.0 */
|
|
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.0 */
|
|
287
287
|
|
|
288
288
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
289
289
|
exports.register = register;
|
|
@@ -291,4 +291,4 @@
|
|
|
291
291
|
|
|
292
292
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
293
293
|
|
|
294
|
-
}))
|
|
294
|
+
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lwc",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Lightning Web Components (LWC)",
|
|
5
5
|
"homepage": "https://lwc.dev/",
|
|
6
6
|
"repository": {
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@lwc/compiler": "2.
|
|
45
|
-
"@lwc/engine-dom": "2.
|
|
46
|
-
"@lwc/engine-server": "2.
|
|
47
|
-
"@lwc/features": "2.
|
|
48
|
-
"@lwc/synthetic-shadow": "2.
|
|
49
|
-
"@lwc/wire-service": "2.
|
|
44
|
+
"@lwc/compiler": "2.7.0",
|
|
45
|
+
"@lwc/engine-dom": "2.7.0",
|
|
46
|
+
"@lwc/engine-server": "2.7.0",
|
|
47
|
+
"@lwc/features": "2.7.0",
|
|
48
|
+
"@lwc/synthetic-shadow": "2.7.0",
|
|
49
|
+
"@lwc/wire-service": "2.7.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "656663a9f95f90bd648c6fc2200201afc0156393"
|
|
52
52
|
}
|