lwc 2.37.0 → 2.37.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.
Files changed (41) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +2228 -2519
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +8217 -8508
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +6603 -6857
  5. package/dist/engine-dom/iife/es5/engine-dom.js +8142 -8179
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +6730 -6721
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +8218 -8509
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +6604 -6858
  11. package/dist/engine-dom/umd/es5/engine-dom.js +8143 -8180
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +6731 -6722
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +1966 -2235
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +1966 -2235
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +211 -233
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +4598 -4620
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +9 -9
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +4422 -4423
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +4328 -4352
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +9 -9
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +4170 -4172
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +4599 -4621
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +9 -9
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +4423 -4424
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +4329 -4353
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +9 -9
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +4171 -4173
  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 +2 -2
  34. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  35. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  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 +2 -2
  39. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  40. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  41. package/package.json +7 -7
@@ -7,7 +7,7 @@
7
7
  function isUndefined(obj) {
8
8
  return obj === undefined;
9
9
  }
10
- /** version: 2.37.0 */
10
+ /** version: 2.37.2 */
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.37.0 */
184
+ /** version: 2.37.2 */
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.37.0 */
13
+ /** version: 2.37.2 */
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.37.0 */
187
+ /** version: 2.37.2 */
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.37.0 */
13
+ /** version: 2.37.2 */
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.37.0 */
187
+ /** version: 2.37.2 */
188
188
 
189
189
  exports.ValueChangedEvent = ValueChangedEvent;
190
190
  exports.register = register;
@@ -23,7 +23,7 @@ var WireService = (function (exports) {
23
23
  function isUndefined(obj) {
24
24
  return obj === undefined;
25
25
  }
26
- /** version: 2.37.0 */
26
+ /** version: 2.37.2 */
27
27
 
28
28
  /*
29
29
  * Copyright (c) 2018, salesforce.com, inc.
@@ -227,7 +227,7 @@ var WireService = (function (exports) {
227
227
  }]);
228
228
  return LegacyWireAdapterBridge;
229
229
  }();
230
- /** version: 2.37.0 */
230
+ /** version: 2.37.2 */
231
231
 
232
232
  exports.ValueChangedEvent = ValueChangedEvent;
233
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=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}({});
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 n=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 r,o=i(t);if(n){var c=i(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return function(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)}(this,r)}}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function o(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 c(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t){return void 0===t}var f=c((function t(e){a(this,t),this.type="ValueChangedEvent",this.value=e})),s=Object.freeze,l=Object.defineProperty,p=Object.isExtensible,y="$$DeprecatedWiredElementHostKey$$",d="$$DeprecatedWiredParamsMetaKey$$";var v=Array.prototype,h=v.forEach,b=v.splice,g=v.indexOf,m="connect",w="disconnect",E="config";function O(t,e){var n=g.call(t,e);n>-1&&b.call(t,n,1)}var j=function(){function t(e){var n=this;a(this,t),this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=e,this.wiredElementHost=e[y],this.dynamicParamsNames=e[d],this.eventTarget={addEventListener:function(t,e){switch(t){case m:n.connecting.push(e);break;case w:n.disconnecting.push(e);break;case E: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 m:O(n.connecting,e);break;case w:O(n.disconnecting,e);break;case E:O(n.configuring,e);break;default:throw new Error("Invalid event type ".concat(t,"."))}},dispatchEvent:function(t){if(!(t instanceof f)){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 c(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!u(t[e])}))}(t,this.dynamicParamsNames)))&&((u(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=f,t.register=function(t,e){if(null==t||!p(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 a(this,o),n=i.call(this,t),e(n.eventTarget),n}return c(o)}(j);s(i),s(i.prototype),l(t,"adapter",{writable:!1,configurable:!1,value:i})},t.registerWireService=function(){},t}({});
@@ -23,7 +23,7 @@ var WireService = (function (exports) {
23
23
  function isUndefined(obj) {
24
24
  return obj === undefined;
25
25
  }
26
- /** version: 2.37.0 */
26
+ /** version: 2.37.2 */
27
27
 
28
28
  /*
29
29
  * Copyright (c) 2018, salesforce.com, inc.
@@ -227,7 +227,7 @@ var WireService = (function (exports) {
227
227
  }]);
228
228
  return LegacyWireAdapterBridge;
229
229
  }();
230
- /** version: 2.37.0 */
230
+ /** version: 2.37.2 */
231
231
 
232
232
  exports.ValueChangedEvent = ValueChangedEvent;
233
233
  exports.register = register;
@@ -13,7 +13,7 @@
13
13
  function isUndefined(obj) {
14
14
  return obj === undefined;
15
15
  }
16
- /** version: 2.37.0 */
16
+ /** version: 2.37.2 */
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.37.0 */
190
+ /** version: 2.37.2 */
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.37.0 */
16
+ /** version: 2.37.2 */
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.37.0 */
190
+ /** version: 2.37.2 */
191
191
 
192
192
  exports.ValueChangedEvent = ValueChangedEvent;
193
193
  exports.register = register;
@@ -26,7 +26,7 @@
26
26
  function isUndefined(obj) {
27
27
  return obj === undefined;
28
28
  }
29
- /** version: 2.37.0 */
29
+ /** version: 2.37.2 */
30
30
 
31
31
  /*
32
32
  * Copyright (c) 2018, salesforce.com, inc.
@@ -230,7 +230,7 @@
230
230
  }]);
231
231
  return LegacyWireAdapterBridge;
232
232
  }();
233
- /** version: 2.37.0 */
233
+ /** version: 2.37.2 */
234
234
 
235
235
  exports.ValueChangedEvent = ValueChangedEvent;
236
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=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(){}}));
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 n=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 r,o=i(e);if(n){var c=i(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return function(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)}(this,r)}}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function o(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 c(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e){return void 0===e}var f=c((function e(t){a(this,e),this.type="ValueChangedEvent",this.value=t})),s=Object.freeze,l=Object.defineProperty,p=Object.isExtensible,d="$$DeprecatedWiredElementHostKey$$",y="$$DeprecatedWiredParamsMetaKey$$";var h=Array.prototype,v=h.forEach,b=h.splice,g=h.indexOf,m="connect",w="disconnect",E="config";function O(e,t){var n=g.call(e,t);n>-1&&b.call(e,n,1)}var j=function(){function e(t){var n=this;a(this,e),this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=t,this.wiredElementHost=t[d],this.dynamicParamsNames=t[y],this.eventTarget={addEventListener:function(e,t){switch(e){case m:n.connecting.push(t);break;case w:n.disconnecting.push(t);break;case E: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 m:O(n.connecting,t);break;case w:O(n.disconnecting,t);break;case E:O(n.configuring,t);break;default:throw new Error("Invalid event type ".concat(e,"."))}},dispatchEvent:function(e){if(!(e instanceof f)){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 c(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!u(e[t])}))}(e,this.dynamicParamsNames)))&&((u(this.currentConfig)||(t=e,n=this.currentConfig,this.dynamicParamsNames.some((function(e){return t[e]!==n[e]}))))&&(this.currentConfig=e,v.call(this.configuring,(function(t){t.call(void 0,e)}))))}},{key:"connect",value:function(){v.call(this.connecting,(function(e){return e.call(void 0)}))}},{key:"disconnect",value:function(){v.call(this.disconnecting,(function(e){return e.call(void 0)}))}}]),e}();e.ValueChangedEvent=f,e.register=function(e,t){if(null==e||!p(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 a(this,o),n=i.call(this,e),t(n.eventTarget),n}return c(o)}(j);s(i),s(i.prototype),l(e,"adapter",{writable:!1,configurable:!1,value:i})},e.registerWireService=function(){}}));
@@ -26,7 +26,7 @@
26
26
  function isUndefined(obj) {
27
27
  return obj === undefined;
28
28
  }
29
- /** version: 2.37.0 */
29
+ /** version: 2.37.2 */
30
30
 
31
31
  /*
32
32
  * Copyright (c) 2018, salesforce.com, inc.
@@ -230,7 +230,7 @@
230
230
  }]);
231
231
  return LegacyWireAdapterBridge;
232
232
  }();
233
- /** version: 2.37.0 */
233
+ /** version: 2.37.2 */
234
234
 
235
235
  exports.ValueChangedEvent = ValueChangedEvent;
236
236
  exports.register = register;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lwc",
3
- "version": "2.37.0",
3
+ "version": "2.37.2",
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.37.0",
45
- "@lwc/engine-dom": "2.37.0",
46
- "@lwc/engine-server": "2.37.0",
47
- "@lwc/features": "2.37.0",
48
- "@lwc/synthetic-shadow": "2.37.0",
49
- "@lwc/wire-service": "2.37.0"
44
+ "@lwc/compiler": "2.37.2",
45
+ "@lwc/engine-dom": "2.37.2",
46
+ "@lwc/engine-server": "2.37.2",
47
+ "@lwc/features": "2.37.2",
48
+ "@lwc/synthetic-shadow": "2.37.2",
49
+ "@lwc/wire-service": "2.37.2"
50
50
  },
51
51
  "nx": {
52
52
  "targets": {