lwc 2.13.0 → 2.13.3

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 (43) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +155 -145
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +155 -145
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -2
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +143 -133
  5. package/dist/engine-dom/iife/es5/engine-dom.js +162 -142
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +144 -124
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +155 -145
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -2
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +143 -133
  11. package/dist/engine-dom/umd/es5/engine-dom.js +162 -142
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +144 -124
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +132 -124
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +132 -124
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +693 -693
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +693 -693
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +681 -681
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +686 -686
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +1 -1
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +697 -697
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +693 -693
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +681 -681
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +686 -686
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +1 -1
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +697 -697
  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.min.js +1 -1
  33. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  34. package/dist/wire-service/iife/es5/wire-service.js +5 -5
  35. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  36. package/dist/wire-service/iife/es5/wire-service_debug.js +5 -5
  37. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  38. package/dist/wire-service/umd/es2017/wire-service.min.js +1 -1
  39. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  40. package/dist/wire-service/umd/es5/wire-service.js +5 -5
  41. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  42. package/dist/wire-service/umd/es5/wire-service_debug.js +5 -5
  43. package/package.json +7 -7
@@ -7,7 +7,7 @@
7
7
  function isUndefined(obj) {
8
8
  return obj === undefined;
9
9
  }
10
- /** version: 2.13.0 */
10
+ /** version: 2.13.3 */
11
11
 
12
12
  /*
13
13
  * Copyright (c) 2018, salesforce.com, inc.
@@ -181,6 +181,6 @@ class LegacyWireAdapterBridge {
181
181
  forEach.call(this.disconnecting, (listener) => listener.call(undefined));
182
182
  }
183
183
  }
184
- /** version: 2.13.0 */
184
+ /** version: 2.13.3 */
185
185
 
186
186
  export { ValueChangedEvent, register, registerWireService };
@@ -10,7 +10,7 @@ var WireService = (function (exports) {
10
10
  function isUndefined(obj) {
11
11
  return obj === undefined;
12
12
  }
13
- /** version: 2.13.0 */
13
+ /** version: 2.13.3 */
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.13.0 */
187
+ /** version: 2.13.3 */
188
188
 
189
189
  exports.ValueChangedEvent = ValueChangedEvent;
190
190
  exports.register = register;
@@ -1 +1 @@
1
- var WireService=function(a){"use strict";function c(a){return void 0===a}class b{constructor(a){this.type="ValueChangedEvent",this.value=a}}const{freeze:d,defineProperty:e,isExtensible:f}=Object,{forEach:g,splice:h,indexOf:i}=Array.prototype,j="connect",k="disconnect",l="config";function m(a,c){const b=i.call(a,c);b> -1&&h.call(a,b,1)}class n{constructor(a){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=a,this.wiredElementHost=a.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=a.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:(b,a)=>{switch(b){case j:this.connecting.push(a);break;case k:this.disconnecting.push(a);break;case l:this.configuring.push(a),void 0!==this.currentConfig&&a.call(void 0,this.currentConfig);break;default:throw new Error(`Invalid event type ${b}.`)}},removeEventListener:(b,a)=>{switch(b){case j:m(this.connecting,a);break;case k:m(this.disconnecting,a);break;case l:m(this.configuring,a);break;default:throw new Error(`Invalid event type ${b}.`)}},dispatchEvent:a=>{if(a instanceof b){const c=a.value;this.callback(c)}else if("wirecontextevent"===a.type)return this.wiredElementHost.dispatchEvent(a);else throw new Error(`Invalid event type ${a.type}.`);return!1}}}update(a){var b,e,d,f,h;(!this.isFirstUpdate||(this.isFirstUpdate=!1,b=a,0===Object.keys(b).length||(e=a,0===(d=this.dynamicParamsNames).length||d.some(a=>!c(e[a])))))&&(c(this.currentConfig)||(f=a,h=this.currentConfig,(0,this.dynamicParamsNames).some(a=>f[a]!==h[a])))&&(this.currentConfig=a,g.call(this.configuring,b=>{b.call(void 0,a)}))}connect(){g.call(this.connecting,a=>a.call(void 0))}disconnect(){g.call(this.disconnecting,a=>a.call(void 0))}}return a.ValueChangedEvent=b,a.register=function(a,c){if(null==a||!f(a))throw new TypeError("adapter id must be extensible");if("function"!=typeof c)throw new TypeError("adapter factory must be a callable");if("adapter"in a)throw new TypeError("adapter id is already associated to an adapter factory");const b=class extends n{constructor(a){super(a),c(this.eventTarget)}};d(b),d(b.prototype),e(a,"adapter",{writable:!1,configurable:!1,value:b})},a.registerWireService=function(){},Object.defineProperty(a,"__esModule",{value:!0}),a}({})
1
+ var WireService=function(a){"use strict";function c(a){return void 0===a}class b{constructor(a){this.type="ValueChangedEvent",this.value=a}}let{freeze:d,defineProperty:e,isExtensible:f}=Object,{forEach:g,splice:h,indexOf:i}=Array.prototype,j="connect",k="disconnect",l="config";function m(a,c){let b=i.call(a,c);b> -1&&h.call(a,b,1)}class n{constructor(a){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=a,this.wiredElementHost=a.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=a.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:(b,a)=>{switch(b){case j:this.connecting.push(a);break;case k:this.disconnecting.push(a);break;case l:this.configuring.push(a),void 0!==this.currentConfig&&a.call(void 0,this.currentConfig);break;default:throw new Error(`Invalid event type ${b}.`)}},removeEventListener:(b,a)=>{switch(b){case j:m(this.connecting,a);break;case k:m(this.disconnecting,a);break;case l:m(this.configuring,a);break;default:throw new Error(`Invalid event type ${b}.`)}},dispatchEvent:a=>{if(a instanceof b){let c=a.value;this.callback(c)}else if("wirecontextevent"===a.type)return this.wiredElementHost.dispatchEvent(a);else throw new Error(`Invalid event type ${a.type}.`);return!1}}}update(a){var b,e,d,f,h,i;(!this.isFirstUpdate||(this.isFirstUpdate=!1,b=a,0===Object.keys(b).length||(e=a,0===(d=this.dynamicParamsNames).length||d.some(a=>!c(e[a])))))&&(c(this.currentConfig)||(f=a,h=this.currentConfig,(0,this.dynamicParamsNames).some(a=>f[a]!==h[a])))&&(this.currentConfig=a,g.call(this.configuring,b=>{b.call(void 0,a)}))}connect(){g.call(this.connecting,a=>a.call(void 0))}disconnect(){g.call(this.disconnecting,a=>a.call(void 0))}}return a.ValueChangedEvent=b,a.register=function(a,c){if(null==a||!f(a))throw new TypeError("adapter id must be extensible");if("function"!=typeof c)throw new TypeError("adapter factory must be a callable");if("adapter"in a)throw new TypeError("adapter id is already associated to an adapter factory");let b=class extends n{constructor(a){super(a),c(this.eventTarget)}};d(b),d(b.prototype),e(a,"adapter",{writable:!1,configurable:!1,value:b})},a.registerWireService=function(){},Object.defineProperty(a,"__esModule",{value:!0}),a}({})
@@ -10,7 +10,7 @@ var WireService = (function (exports) {
10
10
  function isUndefined(obj) {
11
11
  return obj === undefined;
12
12
  }
13
- /** version: 2.13.0 */
13
+ /** version: 2.13.3 */
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.13.0 */
187
+ /** version: 2.13.3 */
188
188
 
189
189
  exports.ValueChangedEvent = ValueChangedEvent;
190
190
  exports.register = register;
@@ -26,11 +26,11 @@ var WireService = (function (exports) {
26
26
  if (staticProps) _defineProperties(Constructor, staticProps);
27
27
  return Constructor;
28
28
  }
29
- function _getPrototypeOf(o) {
29
+ function _getPrototypeOf(o1) {
30
30
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
31
31
  return o.__proto__ || Object.getPrototypeOf(o);
32
32
  };
33
- return _getPrototypeOf(o);
33
+ return _getPrototypeOf(o1);
34
34
  }
35
35
  function _inherits(subClass, superClass) {
36
36
  if (typeof superClass !== "function" && superClass !== null) {
@@ -58,12 +58,12 @@ var WireService = (function (exports) {
58
58
  }
59
59
  return _assertThisInitialized(self);
60
60
  }
61
- function _setPrototypeOf(o, p) {
61
+ function _setPrototypeOf(o2, p1) {
62
62
  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
63
63
  o.__proto__ = p;
64
64
  return o;
65
65
  };
66
- return _setPrototypeOf(o, p);
66
+ return _setPrototypeOf(o2, p1);
67
67
  }
68
68
  var _typeof = function(obj) {
69
69
  "@swc/helpers - typeof";
@@ -100,7 +100,7 @@ var WireService = (function (exports) {
100
100
  */ function isUndefined(obj) {
101
101
  return obj === undefined;
102
102
  }
103
- /** version: 2.13.0 */ /*
103
+ /** version: 2.13.3 */ /*
104
104
  * Copyright (c) 2018, salesforce.com, inc.
105
105
  * All rights reserved.
106
106
  * SPDX-License-Identifier: MIT
@@ -1 +1 @@
1
- var WireService=function(a){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(d,c){for(var b=0;b<c.length;b++){var a=c[b];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(d,a.key,a)}}function f(a){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)})(a)}function g(a,b){return(g=Object.setPrototypeOf||function(a,b){return a.__proto__=b,a})(a,b)}function h(a){return void 0===a}var c=function a(b){d(this,a),this.type="ValueChangedEvent",this.value=b},i=Object.freeze,j=Object.defineProperty,k=Object.isExtensible,b=Array.prototype,l=b.forEach,m=b.splice,n=b.indexOf,o="connect",p="disconnect",q="config";function r(a,c){var b=n.call(a,c);b> -1&&m.call(a,b,1)}var s=function(){var a,b,f;function g(a){var b=this;d(this,g),this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=a,this.wiredElementHost=a.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=a.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:function(c,a){switch(c){case o:b.connecting.push(a);break;case p:b.disconnecting.push(a);break;case q:b.configuring.push(a),void 0!==b.currentConfig&&a.call(void 0,b.currentConfig);break;default:throw new Error("Invalid event type ".concat(c,"."))}},removeEventListener:function(c,a){switch(c){case o:r(b.connecting,a);break;case p:r(b.disconnecting,a);break;case q:r(b.configuring,a);break;default:throw new Error("Invalid event type ".concat(c,"."))}},dispatchEvent:function(a){var e,d;if(e=a,null!=(d=c)&&"undefined"!=typeof Symbol&&d[Symbol.hasInstance]?!!d[Symbol.hasInstance](e):e instanceof d){var f=a.value;b.callback(f)}else if("wirecontextevent"===a.type)return b.wiredElementHost.dispatchEvent(a);else throw new Error("Invalid event type ".concat(a.type,"."));return!1}}}return a=g,b=[{key:"update",value:function(a){var b,d,c,e,f;(!this.isFirstUpdate||(this.isFirstUpdate=!1,b=a,0===Object.keys(b).length||(d=a,0===(c=this.dynamicParamsNames).length||c.some(function(a){return!h(d[a])}))))&&(h(this.currentConfig)||(e=a,f=this.currentConfig,(0,this.dynamicParamsNames).some(function(a){return e[a]!==f[a]})))&&(this.currentConfig=a,l.call(this.configuring,function(b){b.call(void 0,a)}))}},{key:"connect",value:function(){l.call(this.connecting,function(a){return a.call(void 0)})}},{key:"disconnect",value:function(){l.call(this.disconnecting,function(a){return a.call(void 0)})}}],e(a.prototype,b),f&&e(a,f),g}();return a.ValueChangedEvent=c,a.register=function(a,c){if(null==a||!k(a))throw new TypeError("adapter id must be extensible");if("function"!=typeof c)throw new TypeError("adapter factory must be a callable");if("adapter"in a)throw new TypeError("adapter id is already associated to an adapter factory");var b=function(a){!function(b,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(a&&a.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),a&&g(b,a)}(h,a);var b,e,i=(b=h,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(a){return!1}}(),function(){var c,g,a,d,h=f(b);if(e){var i=f(this).constructor;d=Reflect.construct(h,arguments,i)}else d=h.apply(this,arguments);return g=this,(a=d)&&("object"==((c=a)&&"undefined"!=typeof Symbol&&c.constructor===Symbol?"symbol":typeof c)||"function"==typeof a)?a:function(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}(g)});function h(b){var a;return d(this,h),c((a=i.call(this,b)).eventTarget),a}return h}(s);i(b),i(b.prototype),j(a,"adapter",{writable:!1,configurable:!1,value:b})},a.registerWireService=function(){},Object.defineProperty(a,"__esModule",{value:!0}),a}({})
1
+ var WireService=function(a){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(d,c){for(var b=0;b<c.length;b++){var a=c[b];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(d,a.key,a)}}function f(a){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)})(a)}function g(a,b){return(g=Object.setPrototypeOf||function(a,b){return a.__proto__=b,a})(a,b)}function h(a){return void 0===a}var c=function a(b){d(this,a),this.type="ValueChangedEvent",this.value=b},i=Object.freeze,j=Object.defineProperty,k=Object.isExtensible,b=Array.prototype,l=b.forEach,m=b.splice,n=b.indexOf,o="connect",p="disconnect",q="config";function r(a,c){var b=n.call(a,c);b> -1&&m.call(a,b,1)}var s=function(){var a,b,f;function g(a){var b=this;d(this,g),this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=a,this.wiredElementHost=a.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=a.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:function(c,a){switch(c){case o:b.connecting.push(a);break;case p:b.disconnecting.push(a);break;case q:b.configuring.push(a),void 0!==b.currentConfig&&a.call(void 0,b.currentConfig);break;default:throw new Error("Invalid event type ".concat(c,"."))}},removeEventListener:function(c,a){switch(c){case o:r(b.connecting,a);break;case p:r(b.disconnecting,a);break;case q:r(b.configuring,a);break;default:throw new Error("Invalid event type ".concat(c,"."))}},dispatchEvent:function(a){var e,d;if(e=a,null!=(d=c)&&"undefined"!=typeof Symbol&&d[Symbol.hasInstance]?!!d[Symbol.hasInstance](e):e instanceof d){var f=a.value;b.callback(f)}else if("wirecontextevent"===a.type)return b.wiredElementHost.dispatchEvent(a);else throw new Error("Invalid event type ".concat(a.type,"."));return!1}}}return a=g,b=[{key:"update",value:function(a){var b,d,c,e,f,g;(!this.isFirstUpdate||(this.isFirstUpdate=!1,b=a,0===Object.keys(b).length||(d=a,0===(c=this.dynamicParamsNames).length||c.some(function(a){return!h(d[a])}))))&&(h(this.currentConfig)||(e=a,f=this.currentConfig,(0,this.dynamicParamsNames).some(function(a){return e[a]!==f[a]})))&&(this.currentConfig=a,l.call(this.configuring,function(b){b.call(void 0,a)}))}},{key:"connect",value:function(){l.call(this.connecting,function(a){return a.call(void 0)})}},{key:"disconnect",value:function(){l.call(this.disconnecting,function(a){return a.call(void 0)})}}],e(a.prototype,b),f&&e(a,f),g}();return a.ValueChangedEvent=c,a.register=function(a,c){if(null==a||!k(a))throw new TypeError("adapter id must be extensible");if("function"!=typeof c)throw new TypeError("adapter factory must be a callable");if("adapter"in a)throw new TypeError("adapter id is already associated to an adapter factory");var b=function(a){!function(b,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(a&&a.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),a&&g(b,a)}(h,a);var b,e,i=(b=h,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(a){return!1}}(),function(){var c,g,a,d,h=f(b);if(e){var i=f(this).constructor;d=Reflect.construct(h,arguments,i)}else d=h.apply(this,arguments);return g=this,(a=d)&&("object"==((c=a)&&"undefined"!=typeof Symbol&&c.constructor===Symbol?"symbol":typeof c)||"function"==typeof a)?a:function(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}(g)});function h(b){var a;return d(this,h),c((a=i.call(this,b)).eventTarget),a}return h}(s);i(b),i(b.prototype),j(a,"adapter",{writable:!1,configurable:!1,value:b})},a.registerWireService=function(){},Object.defineProperty(a,"__esModule",{value:!0}),a}({})
@@ -26,11 +26,11 @@ var WireService = (function (exports) {
26
26
  if (staticProps) _defineProperties(Constructor, staticProps);
27
27
  return Constructor;
28
28
  }
29
- function _getPrototypeOf(o) {
29
+ function _getPrototypeOf(o1) {
30
30
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
31
31
  return o.__proto__ || Object.getPrototypeOf(o);
32
32
  };
33
- return _getPrototypeOf(o);
33
+ return _getPrototypeOf(o1);
34
34
  }
35
35
  function _inherits(subClass, superClass) {
36
36
  if (typeof superClass !== "function" && superClass !== null) {
@@ -58,12 +58,12 @@ var WireService = (function (exports) {
58
58
  }
59
59
  return _assertThisInitialized(self);
60
60
  }
61
- function _setPrototypeOf(o, p) {
61
+ function _setPrototypeOf(o2, p1) {
62
62
  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
63
63
  o.__proto__ = p;
64
64
  return o;
65
65
  };
66
- return _setPrototypeOf(o, p);
66
+ return _setPrototypeOf(o2, p1);
67
67
  }
68
68
  var _typeof = function(obj) {
69
69
  "@swc/helpers - typeof";
@@ -100,7 +100,7 @@ var WireService = (function (exports) {
100
100
  */ function isUndefined(obj) {
101
101
  return obj === undefined;
102
102
  }
103
- /** version: 2.13.0 */ /*
103
+ /** version: 2.13.3 */ /*
104
104
  * Copyright (c) 2018, salesforce.com, inc.
105
105
  * All rights reserved.
106
106
  * SPDX-License-Identifier: MIT
@@ -13,7 +13,7 @@
13
13
  function isUndefined(obj) {
14
14
  return obj === undefined;
15
15
  }
16
- /** version: 2.13.0 */
16
+ /** version: 2.13.3 */
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.13.0 */
190
+ /** version: 2.13.3 */
191
191
 
192
192
  exports.ValueChangedEvent = ValueChangedEvent;
193
193
  exports.register = register;
@@ -1 +1 @@
1
- !function(b,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports):"function"==typeof define&&define.amd?define(["exports"],a):a((b="undefined"!=typeof globalThis?globalThis:b||self).WireService={})}(this,function(a){"use strict";function c(a){return void 0===a}class b{constructor(a){this.type="ValueChangedEvent",this.value=a}}const{freeze:d,defineProperty:e,isExtensible:f}=Object,{forEach:g,splice:h,indexOf:i}=Array.prototype,j="connect",k="disconnect",l="config";function m(a,c){const b=i.call(a,c);b> -1&&h.call(a,b,1)}class n{constructor(a){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=a,this.wiredElementHost=a.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=a.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:(b,a)=>{switch(b){case j:this.connecting.push(a);break;case k:this.disconnecting.push(a);break;case l:this.configuring.push(a),void 0!==this.currentConfig&&a.call(void 0,this.currentConfig);break;default:throw new Error(`Invalid event type ${b}.`)}},removeEventListener:(b,a)=>{switch(b){case j:m(this.connecting,a);break;case k:m(this.disconnecting,a);break;case l:m(this.configuring,a);break;default:throw new Error(`Invalid event type ${b}.`)}},dispatchEvent:a=>{if(a instanceof b){const c=a.value;this.callback(c)}else if("wirecontextevent"===a.type)return this.wiredElementHost.dispatchEvent(a);else throw new Error(`Invalid event type ${a.type}.`);return!1}}}update(a){var b,e,d,f,h;(!this.isFirstUpdate||(this.isFirstUpdate=!1,b=a,0===Object.keys(b).length||(e=a,0===(d=this.dynamicParamsNames).length||d.some(a=>!c(e[a])))))&&(c(this.currentConfig)||(f=a,h=this.currentConfig,(0,this.dynamicParamsNames).some(a=>f[a]!==h[a])))&&(this.currentConfig=a,g.call(this.configuring,b=>{b.call(void 0,a)}))}connect(){g.call(this.connecting,a=>a.call(void 0))}disconnect(){g.call(this.disconnecting,a=>a.call(void 0))}}a.ValueChangedEvent=b,a.register=function(a,c){if(null==a||!f(a))throw new TypeError("adapter id must be extensible");if("function"!=typeof c)throw new TypeError("adapter factory must be a callable");if("adapter"in a)throw new TypeError("adapter id is already associated to an adapter factory");const b=class extends n{constructor(a){super(a),c(this.eventTarget)}};d(b),d(b.prototype),e(a,"adapter",{writable:!1,configurable:!1,value:b})},a.registerWireService=function(){},Object.defineProperty(a,"__esModule",{value:!0})})
1
+ !function(b,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports):"function"==typeof define&&define.amd?define(["exports"],a):a((b="undefined"!=typeof globalThis?globalThis:b||self).WireService={})}(this,function(a){"use strict";function c(a){return void 0===a}class b{constructor(a){this.type="ValueChangedEvent",this.value=a}}let{freeze:d,defineProperty:e,isExtensible:f}=Object,{forEach:g,splice:h,indexOf:i}=Array.prototype,j="connect",k="disconnect",l="config";function m(a,c){let b=i.call(a,c);b> -1&&h.call(a,b,1)}class n{constructor(a){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=a,this.wiredElementHost=a.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=a.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:(b,a)=>{switch(b){case j:this.connecting.push(a);break;case k:this.disconnecting.push(a);break;case l:this.configuring.push(a),void 0!==this.currentConfig&&a.call(void 0,this.currentConfig);break;default:throw new Error(`Invalid event type ${b}.`)}},removeEventListener:(b,a)=>{switch(b){case j:m(this.connecting,a);break;case k:m(this.disconnecting,a);break;case l:m(this.configuring,a);break;default:throw new Error(`Invalid event type ${b}.`)}},dispatchEvent:a=>{if(a instanceof b){let c=a.value;this.callback(c)}else if("wirecontextevent"===a.type)return this.wiredElementHost.dispatchEvent(a);else throw new Error(`Invalid event type ${a.type}.`);return!1}}}update(a){var b,e,d,f,h,i;(!this.isFirstUpdate||(this.isFirstUpdate=!1,b=a,0===Object.keys(b).length||(e=a,0===(d=this.dynamicParamsNames).length||d.some(a=>!c(e[a])))))&&(c(this.currentConfig)||(f=a,h=this.currentConfig,(0,this.dynamicParamsNames).some(a=>f[a]!==h[a])))&&(this.currentConfig=a,g.call(this.configuring,b=>{b.call(void 0,a)}))}connect(){g.call(this.connecting,a=>a.call(void 0))}disconnect(){g.call(this.disconnecting,a=>a.call(void 0))}}a.ValueChangedEvent=b,a.register=function(a,c){if(null==a||!f(a))throw new TypeError("adapter id must be extensible");if("function"!=typeof c)throw new TypeError("adapter factory must be a callable");if("adapter"in a)throw new TypeError("adapter id is already associated to an adapter factory");let b=class extends n{constructor(a){super(a),c(this.eventTarget)}};d(b),d(b.prototype),e(a,"adapter",{writable:!1,configurable:!1,value:b})},a.registerWireService=function(){},Object.defineProperty(a,"__esModule",{value:!0})})
@@ -13,7 +13,7 @@
13
13
  function isUndefined(obj) {
14
14
  return obj === undefined;
15
15
  }
16
- /** version: 2.13.0 */
16
+ /** version: 2.13.3 */
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.13.0 */
190
+ /** version: 2.13.3 */
191
191
 
192
192
  exports.ValueChangedEvent = ValueChangedEvent;
193
193
  exports.register = register;
@@ -29,11 +29,11 @@
29
29
  if (staticProps) _defineProperties(Constructor, staticProps);
30
30
  return Constructor;
31
31
  }
32
- function _getPrototypeOf(o) {
32
+ function _getPrototypeOf(o1) {
33
33
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
34
34
  return o.__proto__ || Object.getPrototypeOf(o);
35
35
  };
36
- return _getPrototypeOf(o);
36
+ return _getPrototypeOf(o1);
37
37
  }
38
38
  function _inherits(subClass, superClass) {
39
39
  if (typeof superClass !== "function" && superClass !== null) {
@@ -61,12 +61,12 @@
61
61
  }
62
62
  return _assertThisInitialized(self);
63
63
  }
64
- function _setPrototypeOf(o, p) {
64
+ function _setPrototypeOf(o2, p1) {
65
65
  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
66
66
  o.__proto__ = p;
67
67
  return o;
68
68
  };
69
- return _setPrototypeOf(o, p);
69
+ return _setPrototypeOf(o2, p1);
70
70
  }
71
71
  var _typeof = function(obj) {
72
72
  "@swc/helpers - typeof";
@@ -103,7 +103,7 @@
103
103
  */ function isUndefined(obj) {
104
104
  return obj === undefined;
105
105
  }
106
- /** version: 2.13.0 */ /*
106
+ /** version: 2.13.3 */ /*
107
107
  * Copyright (c) 2018, salesforce.com, inc.
108
108
  * All rights reserved.
109
109
  * SPDX-License-Identifier: MIT
@@ -1 +1 @@
1
- !function(b,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports):"function"==typeof define&&define.amd?define(["exports"],a):a((b="undefined"!=typeof globalThis?globalThis:b||self).WireService={})}(this,function(a){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(d,c){for(var b=0;b<c.length;b++){var a=c[b];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(d,a.key,a)}}function f(a){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)})(a)}function g(a,b){return(g=Object.setPrototypeOf||function(a,b){return a.__proto__=b,a})(a,b)}function h(a){return void 0===a}var c=function a(b){d(this,a),this.type="ValueChangedEvent",this.value=b},i=Object.freeze,j=Object.defineProperty,k=Object.isExtensible,b=Array.prototype,l=b.forEach,m=b.splice,n=b.indexOf,o="connect",p="disconnect",q="config";function r(a,c){var b=n.call(a,c);b> -1&&m.call(a,b,1)}var s=function(){var a,b,f;function g(a){var b=this;d(this,g),this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=a,this.wiredElementHost=a.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=a.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:function(c,a){switch(c){case o:b.connecting.push(a);break;case p:b.disconnecting.push(a);break;case q:b.configuring.push(a),void 0!==b.currentConfig&&a.call(void 0,b.currentConfig);break;default:throw new Error("Invalid event type ".concat(c,"."))}},removeEventListener:function(c,a){switch(c){case o:r(b.connecting,a);break;case p:r(b.disconnecting,a);break;case q:r(b.configuring,a);break;default:throw new Error("Invalid event type ".concat(c,"."))}},dispatchEvent:function(a){var e,d;if(e=a,null!=(d=c)&&"undefined"!=typeof Symbol&&d[Symbol.hasInstance]?!!d[Symbol.hasInstance](e):e instanceof d){var f=a.value;b.callback(f)}else if("wirecontextevent"===a.type)return b.wiredElementHost.dispatchEvent(a);else throw new Error("Invalid event type ".concat(a.type,"."));return!1}}}return a=g,b=[{key:"update",value:function(a){var b,d,c,e,f;(!this.isFirstUpdate||(this.isFirstUpdate=!1,b=a,0===Object.keys(b).length||(d=a,0===(c=this.dynamicParamsNames).length||c.some(function(a){return!h(d[a])}))))&&(h(this.currentConfig)||(e=a,f=this.currentConfig,(0,this.dynamicParamsNames).some(function(a){return e[a]!==f[a]})))&&(this.currentConfig=a,l.call(this.configuring,function(b){b.call(void 0,a)}))}},{key:"connect",value:function(){l.call(this.connecting,function(a){return a.call(void 0)})}},{key:"disconnect",value:function(){l.call(this.disconnecting,function(a){return a.call(void 0)})}}],e(a.prototype,b),f&&e(a,f),g}();a.ValueChangedEvent=c,a.register=function(a,c){if(null==a||!k(a))throw new TypeError("adapter id must be extensible");if("function"!=typeof c)throw new TypeError("adapter factory must be a callable");if("adapter"in a)throw new TypeError("adapter id is already associated to an adapter factory");var b=function(a){!function(b,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(a&&a.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),a&&g(b,a)}(h,a);var b,e,i=(b=h,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(a){return!1}}(),function(){var c,g,a,d,h=f(b);if(e){var i=f(this).constructor;d=Reflect.construct(h,arguments,i)}else d=h.apply(this,arguments);return g=this,(a=d)&&("object"==((c=a)&&"undefined"!=typeof Symbol&&c.constructor===Symbol?"symbol":typeof c)||"function"==typeof a)?a:function(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}(g)});function h(b){var a;return d(this,h),c((a=i.call(this,b)).eventTarget),a}return h}(s);i(b),i(b.prototype),j(a,"adapter",{writable:!1,configurable:!1,value:b})},a.registerWireService=function(){},Object.defineProperty(a,"__esModule",{value:!0})})
1
+ !function(b,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports):"function"==typeof define&&define.amd?define(["exports"],a):a((b="undefined"!=typeof globalThis?globalThis:b||self).WireService={})}(this,function(a){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(d,c){for(var b=0;b<c.length;b++){var a=c[b];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(d,a.key,a)}}function f(a){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)})(a)}function g(a,b){return(g=Object.setPrototypeOf||function(a,b){return a.__proto__=b,a})(a,b)}function h(a){return void 0===a}var c=function a(b){d(this,a),this.type="ValueChangedEvent",this.value=b},i=Object.freeze,j=Object.defineProperty,k=Object.isExtensible,b=Array.prototype,l=b.forEach,m=b.splice,n=b.indexOf,o="connect",p="disconnect",q="config";function r(a,c){var b=n.call(a,c);b> -1&&m.call(a,b,1)}var s=function(){var a,b,f;function g(a){var b=this;d(this,g),this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=a,this.wiredElementHost=a.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=a.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:function(c,a){switch(c){case o:b.connecting.push(a);break;case p:b.disconnecting.push(a);break;case q:b.configuring.push(a),void 0!==b.currentConfig&&a.call(void 0,b.currentConfig);break;default:throw new Error("Invalid event type ".concat(c,"."))}},removeEventListener:function(c,a){switch(c){case o:r(b.connecting,a);break;case p:r(b.disconnecting,a);break;case q:r(b.configuring,a);break;default:throw new Error("Invalid event type ".concat(c,"."))}},dispatchEvent:function(a){var e,d;if(e=a,null!=(d=c)&&"undefined"!=typeof Symbol&&d[Symbol.hasInstance]?!!d[Symbol.hasInstance](e):e instanceof d){var f=a.value;b.callback(f)}else if("wirecontextevent"===a.type)return b.wiredElementHost.dispatchEvent(a);else throw new Error("Invalid event type ".concat(a.type,"."));return!1}}}return a=g,b=[{key:"update",value:function(a){var b,d,c,e,f,g;(!this.isFirstUpdate||(this.isFirstUpdate=!1,b=a,0===Object.keys(b).length||(d=a,0===(c=this.dynamicParamsNames).length||c.some(function(a){return!h(d[a])}))))&&(h(this.currentConfig)||(e=a,f=this.currentConfig,(0,this.dynamicParamsNames).some(function(a){return e[a]!==f[a]})))&&(this.currentConfig=a,l.call(this.configuring,function(b){b.call(void 0,a)}))}},{key:"connect",value:function(){l.call(this.connecting,function(a){return a.call(void 0)})}},{key:"disconnect",value:function(){l.call(this.disconnecting,function(a){return a.call(void 0)})}}],e(a.prototype,b),f&&e(a,f),g}();a.ValueChangedEvent=c,a.register=function(a,c){if(null==a||!k(a))throw new TypeError("adapter id must be extensible");if("function"!=typeof c)throw new TypeError("adapter factory must be a callable");if("adapter"in a)throw new TypeError("adapter id is already associated to an adapter factory");var b=function(a){!function(b,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(a&&a.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),a&&g(b,a)}(h,a);var b,e,i=(b=h,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(a){return!1}}(),function(){var c,g,a,d,h=f(b);if(e){var i=f(this).constructor;d=Reflect.construct(h,arguments,i)}else d=h.apply(this,arguments);return g=this,(a=d)&&("object"==((c=a)&&"undefined"!=typeof Symbol&&c.constructor===Symbol?"symbol":typeof c)||"function"==typeof a)?a:function(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}(g)});function h(b){var a;return d(this,h),c((a=i.call(this,b)).eventTarget),a}return h}(s);i(b),i(b.prototype),j(a,"adapter",{writable:!1,configurable:!1,value:b})},a.registerWireService=function(){},Object.defineProperty(a,"__esModule",{value:!0})})
@@ -29,11 +29,11 @@
29
29
  if (staticProps) _defineProperties(Constructor, staticProps);
30
30
  return Constructor;
31
31
  }
32
- function _getPrototypeOf(o) {
32
+ function _getPrototypeOf(o1) {
33
33
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
34
34
  return o.__proto__ || Object.getPrototypeOf(o);
35
35
  };
36
- return _getPrototypeOf(o);
36
+ return _getPrototypeOf(o1);
37
37
  }
38
38
  function _inherits(subClass, superClass) {
39
39
  if (typeof superClass !== "function" && superClass !== null) {
@@ -61,12 +61,12 @@
61
61
  }
62
62
  return _assertThisInitialized(self);
63
63
  }
64
- function _setPrototypeOf(o, p) {
64
+ function _setPrototypeOf(o2, p1) {
65
65
  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
66
66
  o.__proto__ = p;
67
67
  return o;
68
68
  };
69
- return _setPrototypeOf(o, p);
69
+ return _setPrototypeOf(o2, p1);
70
70
  }
71
71
  var _typeof = function(obj) {
72
72
  "@swc/helpers - typeof";
@@ -103,7 +103,7 @@
103
103
  */ function isUndefined(obj) {
104
104
  return obj === undefined;
105
105
  }
106
- /** version: 2.13.0 */ /*
106
+ /** version: 2.13.3 */ /*
107
107
  * Copyright (c) 2018, salesforce.com, inc.
108
108
  * All rights reserved.
109
109
  * SPDX-License-Identifier: MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lwc",
3
- "version": "2.13.0",
3
+ "version": "2.13.3",
4
4
  "description": "Lightning Web Components (LWC)",
5
5
  "homepage": "https://lwc.dev/",
6
6
  "repository": {
@@ -42,11 +42,11 @@
42
42
  ]
43
43
  },
44
44
  "dependencies": {
45
- "@lwc/compiler": "2.13.0",
46
- "@lwc/engine-dom": "2.13.0",
47
- "@lwc/engine-server": "2.13.0",
48
- "@lwc/features": "2.13.0",
49
- "@lwc/synthetic-shadow": "2.13.0",
50
- "@lwc/wire-service": "2.13.0"
45
+ "@lwc/compiler": "2.13.3",
46
+ "@lwc/engine-dom": "2.13.3",
47
+ "@lwc/engine-server": "2.13.3",
48
+ "@lwc/features": "2.13.3",
49
+ "@lwc/synthetic-shadow": "2.13.3",
50
+ "@lwc/wire-service": "2.13.3"
51
51
  }
52
52
  }