lwc 2.32.1 → 2.34.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.
Files changed (41) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +842 -595
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +842 -595
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +758 -501
  5. package/dist/engine-dom/iife/es5/engine-dom.js +316 -177
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +329 -173
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +842 -595
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +758 -501
  11. package/dist/engine-dom/umd/es5/engine-dom.js +316 -177
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +329 -173
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +807 -507
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +807 -507
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +7 -5
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +7 -5
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +7 -5
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +7 -5
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/iife/es5/wire-service.js +5 -3
  34. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  35. package/dist/wire-service/iife/es5/wire-service_debug.js +5 -3
  36. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  37. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  38. package/dist/wire-service/umd/es5/wire-service.js +5 -3
  39. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  40. package/dist/wire-service/umd/es5/wire-service_debug.js +5 -3
  41. package/package.json +7 -7
@@ -10,7 +10,7 @@ var WireService = (function (exports) {
10
10
  function isUndefined(obj) {
11
11
  return obj === undefined;
12
12
  }
13
- /** version: 2.32.1 */
13
+ /** version: 2.34.0 */
14
14
 
15
15
  /*
16
16
  * Copyright (c) 2018, salesforce.com, inc.
@@ -184,7 +184,7 @@ var WireService = (function (exports) {
184
184
  forEach.call(this.disconnecting, (listener) => listener.call(undefined));
185
185
  }
186
186
  }
187
- /** version: 2.32.1 */
187
+ /** version: 2.34.0 */
188
188
 
189
189
  exports.ValueChangedEvent = ValueChangedEvent;
190
190
  exports.register = register;
@@ -10,7 +10,7 @@ var WireService = (function (exports) {
10
10
  function isUndefined(obj) {
11
11
  return obj === undefined;
12
12
  }
13
- /** version: 2.32.1 */
13
+ /** version: 2.34.0 */
14
14
 
15
15
  /*
16
16
  * Copyright (c) 2018, salesforce.com, inc.
@@ -184,7 +184,7 @@ var WireService = (function (exports) {
184
184
  forEach.call(this.disconnecting, (listener) => listener.call(undefined));
185
185
  }
186
186
  }
187
- /** version: 2.32.1 */
187
+ /** version: 2.34.0 */
188
188
 
189
189
  exports.ValueChangedEvent = ValueChangedEvent;
190
190
  exports.register = register;
@@ -9,8 +9,10 @@ var WireService = (function (exports) {
9
9
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10
10
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
11
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
- 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); } }
12
+ 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, _toPropertyKey(descriptor.key), descriptor); } }
13
13
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
14
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
14
16
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
17
  /**
16
18
  * Copyright (C) 2018 salesforce.com, inc.
@@ -21,7 +23,7 @@ var WireService = (function (exports) {
21
23
  function isUndefined(obj) {
22
24
  return obj === undefined;
23
25
  }
24
- /** version: 2.32.1 */
26
+ /** version: 2.34.0 */
25
27
 
26
28
  /*
27
29
  * Copyright (c) 2018, salesforce.com, inc.
@@ -225,7 +227,7 @@ var WireService = (function (exports) {
225
227
  }]);
226
228
  return LegacyWireAdapterBridge;
227
229
  }();
228
- /** version: 2.32.1 */
230
+ /** version: 2.34.0 */
229
231
 
230
232
  exports.ValueChangedEvent = ValueChangedEvent;
231
233
  exports.register = register;
@@ -1 +1 @@
1
- var WireService=function(t){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},n(t,e)}function r(t){var e=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(t){return!1}}();return function(){var n,r=i(t);if(e){var c=i(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return o(this,n)}}function o(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t){return void 0===t}var s=a((function t(e){u(this,t),this.type="ValueChangedEvent",this.value=e})),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(t,e){var n=b.call(t,e);n>-1&&v.call(t,n,1)}var O=function(){function t(e){var n=this;u(this,t),this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=e,this.wiredElementHost=e.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=e.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:function(t,e){switch(t){case g:n.connecting.push(e);break;case m:n.disconnecting.push(e);break;case w:n.configuring.push(e),void 0!==n.currentConfig&&e.call(void 0,n.currentConfig);break;default:throw new Error("Invalid event type ".concat(t,"."))}},removeEventListener:function(t,e){switch(t){case g:E(n.connecting,e);break;case m:E(n.disconnecting,e);break;case w:E(n.configuring,e);break;default:throw new Error("Invalid event type ".concat(t,"."))}},dispatchEvent:function(t){if(!(t instanceof s)){if("wirecontextevent"===t.type)return n.wiredElementHost.dispatchEvent(t);throw new Error("Invalid event type ".concat(t.type,"."))}var e=t.value;return n.callback(e),!1}}}return a(t,[{key:"update",value:function(t){var e,n;(!this.isFirstUpdate||(this.isFirstUpdate=!1,function(t){return 0===Object.keys(t).length}(t)||function(t,e){return 0===e.length||e.some((function(e){return!f(t[e])}))}(t,this.dynamicParamsNames)))&&((f(this.currentConfig)||(e=t,n=this.currentConfig,this.dynamicParamsNames.some((function(t){return e[t]!==n[t]}))))&&(this.currentConfig=t,h.call(this.configuring,(function(e){e.call(void 0,t)}))))}},{key:"connect",value:function(){h.call(this.connecting,(function(t){return t.call(void 0)}))}},{key:"disconnect",value:function(){h.call(this.disconnecting,(function(t){return t.call(void 0)}))}}]),t}();return t.ValueChangedEvent=s,t.register=function(t,e){if(null==t||!y(t))throw new TypeError("adapter id must be extensible");if("function"!=typeof e)throw new TypeError("adapter factory must be a callable");if("adapter"in t)throw new TypeError("adapter id is already associated to an adapter factory");var o=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)}(i,t);var o=r(i);function i(t){var n;return u(this,i),n=o.call(this,t),e(n.eventTarget),n}return a(i)}(O);l(o),l(o.prototype),p(t,"adapter",{writable:!1,configurable:!1,value:o})},t.registerWireService=function(){},t}({});
1
+ var WireService=function(t){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},n(t,e)}function r(t){var e=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(t){return!1}}();return function(){var n,r=o(t);if(e){var c=o(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return i(this,n)}}function i(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}function c(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(o=i.key,c=void 0,c=function(t,n){if("object"!==e(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,n||"default");if("object"!==e(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(o,"string"),"symbol"===e(c)?c:String(c)),i)}var o,c}function a(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t){return void 0===t}var s=a((function t(e){u(this,t),this.type="ValueChangedEvent",this.value=e})),l=Object.freeze,p=Object.defineProperty,y=Object.isExtensible;var d=Array.prototype,v=d.forEach,h=d.splice,b=d.indexOf,g="connect",m="disconnect",w="config";function E(t,e){var n=b.call(t,e);n>-1&&h.call(t,n,1)}var O=function(){function t(e){var n=this;u(this,t),this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=e,this.wiredElementHost=e.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=e.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:function(t,e){switch(t){case g:n.connecting.push(e);break;case m:n.disconnecting.push(e);break;case w:n.configuring.push(e),void 0!==n.currentConfig&&e.call(void 0,n.currentConfig);break;default:throw new Error("Invalid event type ".concat(t,"."))}},removeEventListener:function(t,e){switch(t){case g:E(n.connecting,e);break;case m:E(n.disconnecting,e);break;case w:E(n.configuring,e);break;default:throw new Error("Invalid event type ".concat(t,"."))}},dispatchEvent:function(t){if(!(t instanceof s)){if("wirecontextevent"===t.type)return n.wiredElementHost.dispatchEvent(t);throw new Error("Invalid event type ".concat(t.type,"."))}var e=t.value;return n.callback(e),!1}}}return a(t,[{key:"update",value:function(t){var e,n;(!this.isFirstUpdate||(this.isFirstUpdate=!1,function(t){return 0===Object.keys(t).length}(t)||function(t,e){return 0===e.length||e.some((function(e){return!f(t[e])}))}(t,this.dynamicParamsNames)))&&((f(this.currentConfig)||(e=t,n=this.currentConfig,this.dynamicParamsNames.some((function(t){return e[t]!==n[t]}))))&&(this.currentConfig=t,v.call(this.configuring,(function(e){e.call(void 0,t)}))))}},{key:"connect",value:function(){v.call(this.connecting,(function(t){return t.call(void 0)}))}},{key:"disconnect",value:function(){v.call(this.disconnecting,(function(t){return t.call(void 0)}))}}]),t}();return t.ValueChangedEvent=s,t.register=function(t,e){if(null==t||!y(t))throw new TypeError("adapter id must be extensible");if("function"!=typeof e)throw new TypeError("adapter factory must be a callable");if("adapter"in t)throw new TypeError("adapter id is already associated to an adapter factory");var i=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)}(o,t);var i=r(o);function o(t){var n;return u(this,o),n=i.call(this,t),e(n.eventTarget),n}return a(o)}(O);l(i),l(i.prototype),p(t,"adapter",{writable:!1,configurable:!1,value:i})},t.registerWireService=function(){},t}({});
@@ -9,8 +9,10 @@ var WireService = (function (exports) {
9
9
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10
10
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
11
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
- 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); } }
12
+ 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, _toPropertyKey(descriptor.key), descriptor); } }
13
13
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
14
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
14
16
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
17
  /**
16
18
  * Copyright (C) 2018 salesforce.com, inc.
@@ -21,7 +23,7 @@ var WireService = (function (exports) {
21
23
  function isUndefined(obj) {
22
24
  return obj === undefined;
23
25
  }
24
- /** version: 2.32.1 */
26
+ /** version: 2.34.0 */
25
27
 
26
28
  /*
27
29
  * Copyright (c) 2018, salesforce.com, inc.
@@ -225,7 +227,7 @@ var WireService = (function (exports) {
225
227
  }]);
226
228
  return LegacyWireAdapterBridge;
227
229
  }();
228
- /** version: 2.32.1 */
230
+ /** version: 2.34.0 */
229
231
 
230
232
  exports.ValueChangedEvent = ValueChangedEvent;
231
233
  exports.register = register;
@@ -13,7 +13,7 @@
13
13
  function isUndefined(obj) {
14
14
  return obj === undefined;
15
15
  }
16
- /** version: 2.32.1 */
16
+ /** version: 2.34.0 */
17
17
 
18
18
  /*
19
19
  * Copyright (c) 2018, salesforce.com, inc.
@@ -187,7 +187,7 @@
187
187
  forEach.call(this.disconnecting, (listener) => listener.call(undefined));
188
188
  }
189
189
  }
190
- /** version: 2.32.1 */
190
+ /** version: 2.34.0 */
191
191
 
192
192
  exports.ValueChangedEvent = ValueChangedEvent;
193
193
  exports.register = register;
@@ -13,7 +13,7 @@
13
13
  function isUndefined(obj) {
14
14
  return obj === undefined;
15
15
  }
16
- /** version: 2.32.1 */
16
+ /** version: 2.34.0 */
17
17
 
18
18
  /*
19
19
  * Copyright (c) 2018, salesforce.com, inc.
@@ -187,7 +187,7 @@
187
187
  forEach.call(this.disconnecting, (listener) => listener.call(undefined));
188
188
  }
189
189
  }
190
- /** version: 2.32.1 */
190
+ /** version: 2.34.0 */
191
191
 
192
192
  exports.ValueChangedEvent = ValueChangedEvent;
193
193
  exports.register = register;
@@ -12,8 +12,10 @@
12
12
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
13
13
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
14
14
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
15
- 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); } }
15
+ 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, _toPropertyKey(descriptor.key), descriptor); } }
16
16
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
19
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18
20
  /**
19
21
  * Copyright (C) 2018 salesforce.com, inc.
@@ -24,7 +26,7 @@
24
26
  function isUndefined(obj) {
25
27
  return obj === undefined;
26
28
  }
27
- /** version: 2.32.1 */
29
+ /** version: 2.34.0 */
28
30
 
29
31
  /*
30
32
  * Copyright (c) 2018, salesforce.com, inc.
@@ -228,7 +230,7 @@
228
230
  }]);
229
231
  return LegacyWireAdapterBridge;
230
232
  }();
231
- /** version: 2.32.1 */
233
+ /** version: 2.34.0 */
232
234
 
233
235
  exports.ValueChangedEvent = ValueChangedEvent;
234
236
  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){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():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.bind():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,b=y.splice,v=y.indexOf,g="connect",m="disconnect",w="config";function E(e,t){var n=v.call(e,t);n>-1&&b.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(){}}));
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?Object.setPrototypeOf.bind():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=o(e);if(t){var c=o(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return i(this,n)}}function i(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 o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function c(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,c=void 0,c=function(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,n||"default");if("object"!==t(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(o,"string"),"symbol"===t(c)?c:String(c)),i)}var o,c}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 i=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)}(o,e);var i=r(o);function o(e){var n;return u(this,o),n=i.call(this,e),t(n.eventTarget),n}return a(o)}(O);l(i),l(i.prototype),p(e,"adapter",{writable:!1,configurable:!1,value:i})},e.registerWireService=function(){}}));
@@ -12,8 +12,10 @@
12
12
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
13
13
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
14
14
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
15
- 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); } }
15
+ 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, _toPropertyKey(descriptor.key), descriptor); } }
16
16
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
19
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18
20
  /**
19
21
  * Copyright (C) 2018 salesforce.com, inc.
@@ -24,7 +26,7 @@
24
26
  function isUndefined(obj) {
25
27
  return obj === undefined;
26
28
  }
27
- /** version: 2.32.1 */
29
+ /** version: 2.34.0 */
28
30
 
29
31
  /*
30
32
  * Copyright (c) 2018, salesforce.com, inc.
@@ -228,7 +230,7 @@
228
230
  }]);
229
231
  return LegacyWireAdapterBridge;
230
232
  }();
231
- /** version: 2.32.1 */
233
+ /** version: 2.34.0 */
232
234
 
233
235
  exports.ValueChangedEvent = ValueChangedEvent;
234
236
  exports.register = register;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lwc",
3
- "version": "2.32.1",
3
+ "version": "2.34.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.32.1",
45
- "@lwc/engine-dom": "2.32.1",
46
- "@lwc/engine-server": "2.32.1",
47
- "@lwc/features": "2.32.1",
48
- "@lwc/synthetic-shadow": "2.32.1",
49
- "@lwc/wire-service": "2.32.1"
44
+ "@lwc/compiler": "2.34.0",
45
+ "@lwc/engine-dom": "2.34.0",
46
+ "@lwc/engine-server": "2.34.0",
47
+ "@lwc/features": "2.34.0",
48
+ "@lwc/synthetic-shadow": "2.34.0",
49
+ "@lwc/wire-service": "2.34.0"
50
50
  },
51
51
  "nx": {
52
52
  "targets": {