wacom 20.2.2 → 20.2.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.
@@ -18,7 +18,17 @@ const ALERT_TYPES = ['info', 'error', 'success', 'warning', 'question'];
18
18
  /**
19
19
  * Possible screen positions where alerts can be placed.
20
20
  */
21
- const ALERT_POSITIONS = ['topLeft', 'top', 'topRight', 'left', 'center', 'right', 'bottomLeft', 'bottom', 'bottomRight'];
21
+ const ALERT_POSITIONS = [
22
+ 'topLeft',
23
+ 'top',
24
+ 'topRight',
25
+ 'left',
26
+ 'center',
27
+ 'right',
28
+ 'bottomLeft',
29
+ 'bottom',
30
+ 'bottomRight',
31
+ ];
22
32
  /**
23
33
  * Default values applied when an alert is shown without specific options.
24
34
  */
@@ -2033,7 +2043,9 @@ class HttpService {
2033
2043
  this.store.get('http_url', (url) => {
2034
2044
  this.url = url || this._config.url || '';
2035
2045
  });
2036
- this.store.getJson('http_headers').then((headers) => {
2046
+ this.store
2047
+ .getJson('http_headers')
2048
+ .then((headers) => {
2037
2049
  headers ||= {};
2038
2050
  for (const header in headers) {
2039
2051
  this._headers[header] = headers[header];
@@ -2142,7 +2154,8 @@ class HttpService {
2142
2154
  }))
2143
2155
  .subscribe({
2144
2156
  next: (resp) => {
2145
- if (opts.acceptance && typeof opts.acceptance === 'function') {
2157
+ if (opts.acceptance &&
2158
+ typeof opts.acceptance === 'function') {
2146
2159
  if (!opts.acceptance(resp)) {
2147
2160
  const error = new HttpErrorResponse({
2148
2161
  error: 'Acceptance failed',