@acorex/core 18.4.3 → 18.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. package/date-time/index.d.ts +2 -2
  2. package/esm2022/config/lib/configs.mjs +1 -1
  3. package/esm2022/date-time/index.mjs +3 -3
  4. package/esm2022/date-time/lib/dateTime.config.mjs +1 -1
  5. package/esm2022/date-time/lib/datetime.pipe.mjs +1 -1
  6. package/esm2022/date-time/lib/formatters/datetime-formatter.mjs +1 -1
  7. package/esm2022/date-time/lib/georgian.calendar.mjs +4 -9
  8. package/esm2022/date-time/lib/holidays.loader.mjs +1 -1
  9. package/esm2022/date-time/lib/jalali.calendar.mjs +10 -33
  10. package/esm2022/file/index.mjs +3 -3
  11. package/esm2022/file/lib/file-download-ref.class.mjs +1 -1
  12. package/esm2022/file/lib/file-upload-ref.class.mjs +1 -1
  13. package/esm2022/format/index.mjs +2 -2
  14. package/esm2022/format/lib/format.module.mjs +2 -2
  15. package/esm2022/format/lib/format.pipe.mjs +4 -8
  16. package/esm2022/image/lib/image.service.mjs +1 -1
  17. package/esm2022/pipes/lib/safe/safe.pipe.mjs +2 -2
  18. package/esm2022/platform/lib/platform.service.mjs +11 -3
  19. package/esm2022/storage/cookie-storage.service.mjs +5 -11
  20. package/esm2022/translation/index.mjs +3 -3
  21. package/esm2022/translation/lib/translation-scope.resolver.mjs +2 -2
  22. package/esm2022/translation/lib/translation.config.mjs +1 -1
  23. package/esm2022/translation/lib/translation.loader.mjs +1 -1
  24. package/esm2022/translation/lib/translation.module.mjs +4 -4
  25. package/esm2022/translation/lib/translator.directive.mjs +2 -2
  26. package/esm2022/translation/lib/translator.pipe.mjs +2 -2
  27. package/esm2022/utils/lib/auto-unsubscribe.mjs +1 -1
  28. package/esm2022/utils/lib/color-util.mjs +2 -4
  29. package/esm2022/utils/lib/drawing-util.mjs +4 -10
  30. package/esm2022/utils/lib/html-util.mjs +7 -3
  31. package/esm2022/utils/lib/string-util.mjs +1 -1
  32. package/esm2022/validation/lib/rules/between-rule.mjs +2 -2
  33. package/esm2022/validation/lib/rules/equal-rule.mjs +2 -2
  34. package/esm2022/validation/lib/rules/greater-than.mjs +3 -7
  35. package/esm2022/validation/lib/rules/length-rule.mjs +2 -5
  36. package/esm2022/validation/lib/rules/less-than-rule.mjs +3 -7
  37. package/esm2022/validation/lib/rules/maxlength-rule.mjs +3 -6
  38. package/esm2022/validation/lib/rules/minlength-rule.mjs +3 -6
  39. package/esm2022/validation/lib/rules/regex-rule.mjs +5 -8
  40. package/esm2022/validation/lib/rules/required-rule.mjs +6 -4
  41. package/esm2022/validation/lib/validation.config.mjs +1 -1
  42. package/esm2022/validation/lib/validation.module.mjs +10 -10
  43. package/esm2022/validation/lib/validation.service.mjs +3 -3
  44. package/esm2022/validation/lib/validation.types.mjs +1 -1
  45. package/fesm2022/acorex-core-config.mjs.map +1 -1
  46. package/fesm2022/acorex-core-date-time.mjs +87 -115
  47. package/fesm2022/acorex-core-date-time.mjs.map +1 -1
  48. package/fesm2022/acorex-core-file.mjs +42 -42
  49. package/fesm2022/acorex-core-file.mjs.map +1 -1
  50. package/fesm2022/acorex-core-format.mjs +2 -6
  51. package/fesm2022/acorex-core-format.mjs.map +1 -1
  52. package/fesm2022/acorex-core-image.mjs.map +1 -1
  53. package/fesm2022/acorex-core-pipes.mjs.map +1 -1
  54. package/fesm2022/acorex-core-platform.mjs +10 -2
  55. package/fesm2022/acorex-core-platform.mjs.map +1 -1
  56. package/fesm2022/acorex-core-storage.mjs +4 -10
  57. package/fesm2022/acorex-core-storage.mjs.map +1 -1
  58. package/fesm2022/acorex-core-translation.mjs +27 -27
  59. package/fesm2022/acorex-core-translation.mjs.map +1 -1
  60. package/fesm2022/acorex-core-utils.mjs +10 -14
  61. package/fesm2022/acorex-core-utils.mjs.map +1 -1
  62. package/fesm2022/acorex-core-validation.mjs +11 -29
  63. package/fesm2022/acorex-core-validation.mjs.map +1 -1
  64. package/file/index.d.ts +2 -2
  65. package/format/index.d.ts +1 -1
  66. package/format/lib/format.pipe.d.ts +1 -1
  67. package/package.json +13 -13
  68. package/platform/lib/platform.service.d.ts +5 -1
  69. package/translation/index.d.ts +2 -2
  70. package/translation/lib/translation.loader.d.ts +1 -1
  71. package/translation/lib/translator.pipe.d.ts +1 -1
  72. package/validation/lib/validation.service.d.ts +2 -2
@@ -1,7 +1,7 @@
1
1
  import { Inject, NgModule } from '@angular/core';
2
2
  import { AXFormatPipe } from './format.pipe';
3
- import { AXNumberFormatter } from './formatters/number-formatter';
4
3
  import { AXFormatterRegistryService } from './format.service';
4
+ import { AXNumberFormatter } from './formatters/number-formatter';
5
5
  import { AXStringFormatter } from './formatters/string-formatter';
6
6
  import * as i0 from "@angular/core";
7
7
  const BUILT_IN_RULES = [AXNumberFormatter, AXStringFormatter];
@@ -61,4 +61,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
61
61
  type: Inject,
62
62
  args: ['AXFormatModuleFactory']
63
63
  }] }] });
64
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29yZS9mb3JtYXQvc3JjL2xpYi9mb3JtYXQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQXVCLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN0RSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzdDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBRTlELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLCtCQUErQixDQUFDOztBQUVsRS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pblJlZ2lzdHJ5OiBBWEZvcm1hdHRlclJlZ2lzdHJ5U2VydmljZSkgPT4gKCkgPT4ge1xuICAgICAgICAgICAgcGx1Z2luUmVnaXN0cnkucmVnaXN0ZXIoLi4uWy4uLkJVSUxUX0lOX1JVTEVTLCAuLi4oY29uZmlncz8uZm9ybWF0dGVycyB8fCBbXSldKTtcbiAgICAgICAgICB9LFxuICAgICAgICAgIGRlcHM6IFtBWEZvcm1hdHRlclJlZ2lzdHJ5U2VydmljZV0sXG4gICAgICAgICAgbXVsdGk6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICBdLFxuICAgIH07XG4gIH1cblxuICAvKipcbiAgICogQGlnbm9yZVxuICAgKi9cbiAgY29uc3RydWN0b3IoQEluamVjdCgnQVhGb3JtYXRNb2R1bGVGYWN0b3J5JykgaW5zdGFuY2VzOiBhbnlbXSkge1xuICAgIGluc3RhbmNlcy5mb3JFYWNoKChmKSA9PiB7XG4gICAgICBmKCk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,17 +1,13 @@
1
+ import { AXEventService } from '@acorex/core/events';
1
2
  import { Pipe, inject } from '@angular/core';
2
- import { AXFormatService } from './format.service';
3
3
  import { filter, of, startWith, switchMap } from 'rxjs';
4
- import { AXEventService } from '@acorex/core/events';
4
+ import { AXFormatService } from './format.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export class AXFormatPipe {
7
7
  constructor() {
8
8
  this.formatService = inject(AXFormatService);
9
9
  this.eventService = inject(AXEventService);
10
- this.triggers = [
11
- 'AX_CALENDAR_CHANGED',
12
- 'AX_LANGUAGE_CHANGED',
13
- 'AX_LANGUAGE_LOADED',
14
- ];
10
+ this.triggers = ['AX_CALENDAR_CHANGED', 'AX_LANGUAGE_CHANGED', 'AX_LANGUAGE_LOADED'];
15
11
  }
16
12
  transform(value, name, options) {
17
13
  // Initial formatted value
@@ -34,4 +30,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2",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4gICAgLy8gUmVhY3QgdG8gbGFuZ3VhZ2UgY2hhbmdlcyBhbmQgcmUtZm9ybWF0IHRoZSB2YWx1ZVxuICAgIHJldHVybiB0aGlzLmV2ZW50U2VydmljZS5vbkV2ZW50LnBpcGUoXG4gICAgICBmaWx0ZXIoKGV2ZW50OiBBWEV2ZW50RGF0YSkgPT4gdGhpcy50cmlnZ2Vycy5pbmNsdWRlcyhldmVudC50eXBlKSksXG4gICAgICBzdGFydFdpdGgoaW5pdGlhbEZvcm1hdHRlZFZhbHVlKSwgLy8gRW1pdCB0aGUgaW5pdGlhbCBmb3JtYXR0ZWQgdmFsdWUgaW1tZWRpYXRlbHlcbiAgICAgIHN3aXRjaE1hcCgoZXZlbnQpID0+IHtcbiAgICAgICAgLy8gUmUtY2FsbCBmb3JtYXQgbWV0aG9kIG9uIGV2ZXJ5IGxhbmd1YWdlIGNoYW5nZVxuICAgICAgICBjb25zdCBmb3JtYXR0ZWRWYWx1ZSA9IHRoaXMuZm9ybWF0U2VydmljZS5mb3JtYXQodmFsdWUsIG5hbWUgYXMgYW55LCBvcHRpb25zKTtcbiAgICAgICAgcmV0dXJuIG9mKGZvcm1hdHRlZFZhbHVlKTtcbiAgICAgIH0pLFxuICAgICk7XG4gIH1cbn1cbiJdfQ==
@@ -40,4 +40,4 @@ export class AXImageService {
40
40
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXImageService, decorators: [{
41
41
  type: Injectable
42
42
  }] });
43
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2Uuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29yZS9pbWFnZS9zcmMvbGliL2ltYWdlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUF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IGhlaWdodCk7XG4gICAgcmV0dXJuIG5ldyBQcm9taXNlKChyZXNvbHZlKSA9PiBjYW52YXMudG9CbG9iKHJlc29sdmUsIG9wdGlvbnMudHlwZSwgb3B0aW9ucy5xdWFsaXR5KSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,5 +1,5 @@
1
1
  import { Pipe } from '@angular/core';
2
- import { DomSanitizer, } from '@angular/platform-browser';
2
+ import { DomSanitizer } from '@angular/platform-browser';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@angular/platform-browser";
5
5
  export class AXSafePipe {
@@ -35,4 +35,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
35
35
  standalone: true,
36
36
  }]
37
37
  }], ctorParameters: () => [{ type: i1.DomSanitizer }] });
38
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2FmZS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL3BpcGVzL3NyYy9saWIvc2FmZS9zYWZlLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFDcEQsT0FBTyxFQUNMLFlBQVksR0FNYixNQUFNLDJCQUEyQixDQUFDOzs7QUFPbkMsTUFBTSxPQUFPLFVBQVU7SUFDckIsWUFBc0IsU0FBdUI7UUFBdkIsY0FBUyxHQUFULFNBQVMsQ0FBYztJQUFHLENBQUM7SUFFMUMsU0FBUyxDQUNkLEtBQVUsRUFDVixJQUFZO1FBRVosSUFBSSxLQUFLLElBQUksSUFBSSxJQUFJLEtBQUssSUFBSSxTQUFTLElBQUksS0FBSyxJQUFJLEVBQUU7WUFBRSxPQUFPLEVBQUUsQ0FBQztRQUNsRSxRQUFRLElBQUksRUFBRSxDQUFDO1lBQ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BzdHJpbmcpOiBTYWZlSHRtbCB8IFNhZmVTdHlsZSB8IFNhZmVTY3JpcHQgfCBTYWZlVXJsIHwgU2FmZVJlc291cmNlVXJsIHtcbiAgICBpZiAodmFsdWUgPT0gbnVsbCB8fCB2YWx1ZSA9PSB1bmRlZmluZWQgfHwgdmFsdWUgPT0gJycpIHJldHVybiAnJztcbiAgICBzd2l0Y2ggKHR5cGUpIHtcbiAgICAgIGNhc2UgJ2h0bWwnOlxuICAgICAgICByZXR1cm4gdGhpcy5zYW5pdGl6ZXIuYnlwYXNzU2VjdXJpdHlUcnVzdEh0bWwodmFsdWUpO1xuICAgICAgY2FzZSAnc3R5bGUnOlxuICAgICAgICByZXR1cm4gdGhpcy5zYW5pdGl6ZXIuYnlwYXNzU2VjdXJpdHlUcnVzdFN0eWxlKHZhbHVlKTtcbiAgICAgIGNhc2UgJ3NjcmlwdCc6XG4gICAgICAgIHJldHVybiB0aGlzLnNhbml0aXplci5ieXBhc3NTZWN1cml0eVRydXN0U2NyaXB0KHZhbHVlKTtcbiAgICAgIGNhc2UgJ3VybCc6XG4gICAgICAgIHJldHVybiB0aGlzLnNhbml0aXplci5ieXBhc3NTZWN1cml0eVRydXN0VXJsKHZhbHVlKTtcbiAgICAgIGNhc2UgJ3Jlc291cmNlVXJsJzpcbiAgICAgICAgcmV0dXJuIHRoaXMuc2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RSZXNvdXJjZVVybCh2YWx1ZSk7XG4gICAgICBkZWZhdWx0OlxuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoYEludmFsaWQgc2FmZSB0eXBlIHNwZWNpZmllZDogJHt0eXBlfWApO1xuICAgIH1cbiAgfVxufVxuIl19
@@ -1,4 +1,4 @@
1
- import { Injectable } from '@angular/core';
1
+ import { Injectable, signal } from '@angular/core';
2
2
  import { BehaviorSubject, Subject, fromEvent } from 'rxjs';
3
3
  import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
4
4
  import * as i0 from "@angular/core";
@@ -114,6 +114,7 @@ export class AXPlatform {
114
114
  _html.classList.remove('ax-dark');
115
115
  localStorage.setItem('AX_THEME_MODE', 'light');
116
116
  this.themeMode$.next('light');
117
+ this.themeMode.set('light');
117
118
  return 'light';
118
119
  }
119
120
  switchDarkMode() {
@@ -121,6 +122,8 @@ export class AXPlatform {
121
122
  _html.classList.add('ax-dark');
122
123
  localStorage.setItem('AX_THEME_MODE', 'dark');
123
124
  this.themeMode$.next('dark');
125
+ this.themeMode.set('dark');
126
+ return 'dark';
124
127
  }
125
128
  switchSystemMode() {
126
129
  if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
@@ -133,6 +136,7 @@ export class AXPlatform {
133
136
  }
134
137
  localStorage.setItem('AX_THEME_MODE', 'system');
135
138
  this.themeMode$.next('system');
139
+ this.themeMode.set('system');
136
140
  }
137
141
  autoDetectThemeMode() {
138
142
  const mode = localStorage.getItem('AX_THEME_MODE') || 'system';
@@ -156,7 +160,7 @@ export class AXPlatform {
156
160
  }
157
161
  }
158
162
  autoSystemModeDetection(event) {
159
- if (this.themeMode$.getValue() === 'system') {
163
+ if (this.themeMode() === 'system') {
160
164
  const themeMode = event.matches ? 'dark' : 'light';
161
165
  if (themeMode === 'dark') {
162
166
  const _html = document.getElementsByTagName('html')[0];
@@ -172,7 +176,11 @@ export class AXPlatform {
172
176
  this.resize = new Subject();
173
177
  this.click = new Subject();
174
178
  this.scroll = new Subject();
179
+ /**
180
+ * @deprecated The themeMode property is deprecated, use themeMode
181
+ */
175
182
  this.themeMode$ = new BehaviorSubject('system');
183
+ this.themeMode = signal('system');
176
184
  if (isBrowser()) {
177
185
  fromEvent(window, 'resize')
178
186
  .pipe(debounceTime(100))
@@ -216,4 +224,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
216
224
  providedIn: 'root',
217
225
  }]
218
226
  }], ctorParameters: () => [] });
219
- //# sourceMappingURL=data:application/json;base64,eyJ2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1hdGNoTWVkaWEoJyhwcmVmZXJzLWNvbG9yLXNjaGVtZTogZGFyayknKS5tYXRjaGVzKSB7XG4gICAgICAgIHdpbmRvdz8ubWF0Y2hNZWRpYSgnKHByZWZlcnMtY29sb3Itc2NoZW1lOiBkYXJrKScpPy5hZGRFdmVudExpc3RlbmVyKCdjaGFuZ2UnLCAoZXZlbnQpID0+IHtcbiAgICAgICAgICAvLyBEZXRlY3QgU3lzdGVtIGNvbG9yIG1vZGVcbiAgICAgICAgICB0aGlzLmF1dG9TeXN0ZW1Nb2RlRGV0ZWN0aW9uKGV2ZW50KTtcbiAgICAgICAgfSk7XG4gICAgICB9XG4gICAgICBkb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAnY2xpY2snLFxuICAgICAgICAoZSkgPT4ge1xuICAgICAgICAgIHRoaXMuY2xpY2submV4dCh7XG4gICAgICAgICAgICBuYXRpdmVFdmVudDogZSxcbiAgICAgICAgICAgIHNvdXJjZTogdGhpcyxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSxcbiAgICAgICAgdHJ1ZSxcbiAgICAgICk7XG5cbiAgICAgIGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICdzY3JvbGwnLFxuICAgICAgICAoZSkgPT4ge1xuICAgICAgICAgIHRoaXMuc2Nyb2xsLm5leHQoe1xuICAgICAgICAgICAgbmF0aXZlRXZlbnQ6IGUsXG4gICAgICAgICAgICBzb3VyY2U6IHRoaXMsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0sXG4gICAgICAgIHRydWUsXG4gICAgICApO1xuXG4gICAgICAvLyBpbml0IGZ1bmN0aW9uc1xuICAgICAgdGhpcy5fc2V0RnVsbEhlaWdodFJhdGlvKCk7XG4gICAgfVxuICB9XG59XG4iXX0=
227
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxhdGZvcm0uc2VydmljZS5qcyIsInNvdXJjZVJvb3Qi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ICAgICAgICBuYXRpdmVFdmVudDogZSxcbiAgICAgICAgICAgIHNvdXJjZTogdGhpcyxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSxcbiAgICAgICAgdHJ1ZSxcbiAgICAgICk7XG5cbiAgICAgIGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICdzY3JvbGwnLFxuICAgICAgICAoZSkgPT4ge1xuICAgICAgICAgIHRoaXMuc2Nyb2xsLm5leHQoe1xuICAgICAgICAgICAgbmF0aXZlRXZlbnQ6IGUsXG4gICAgICAgICAgICBzb3VyY2U6IHRoaXMsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0sXG4gICAgICAgIHRydWUsXG4gICAgICApO1xuXG4gICAgICAvLyBpbml0IGZ1bmN0aW9uc1xuICAgICAgdGhpcy5fc2V0RnVsbEhlaWdodFJhdGlvKCk7XG4gICAgfVxuICB9XG59XG4iXX0=
@@ -64,9 +64,7 @@ export class AXCookieStorageService {
64
64
  name = encodeURIComponent(name);
65
65
  const regExp = AXCookieStorageService.getCookieRegExp(name);
66
66
  const result = regExp.exec(this.document.cookie);
67
- return result[1]
68
- ? AXCookieStorageService.safeDecodeURIComponent(result[1])
69
- : '';
67
+ return result[1] ? AXCookieStorageService.safeDecodeURIComponent(result[1]) : '';
70
68
  }
71
69
  else {
72
70
  return '';
@@ -87,7 +85,8 @@ export class AXCookieStorageService {
87
85
  if (document.cookie && document.cookie !== '') {
88
86
  document.cookie.split(';').forEach((currentCookie) => {
89
87
  const [cookieName, cookieValue] = currentCookie.split('=');
90
- cookies[AXCookieStorageService.safeDecodeURIComponent(cookieName.replace(/^ /, ''))] = AXCookieStorageService.safeDecodeURIComponent(cookieValue);
88
+ cookies[AXCookieStorageService.safeDecodeURIComponent(cookieName.replace(/^ /, ''))] =
89
+ AXCookieStorageService.safeDecodeURIComponent(cookieValue);
91
90
  });
92
91
  }
93
92
  return cookies;
@@ -96,12 +95,7 @@ export class AXCookieStorageService {
96
95
  if (!this.documentIsAccessible) {
97
96
  return;
98
97
  }
99
- if (typeof expiresOrOptions === 'number' ||
100
- expiresOrOptions instanceof Date ||
101
- path ||
102
- domain ||
103
- secure ||
104
- sameSite) {
98
+ if (typeof expiresOrOptions === 'number' || expiresOrOptions instanceof Date || path || domain || secure || sameSite) {
105
99
  const optionsBody = {
106
100
  expires: expiresOrOptions,
107
101
  path,
@@ -199,4 +193,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
199
193
  type: Inject,
200
194
  args: [PLATFORM_ID]
201
195
  }] }] });
202
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29va2llLXN0b3JhZ2Uuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvY29yZS9zdG9yYWdlL3NyYy9jb29raWUtc3RvcmFnZS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSWhFLE1BQU0sT0FBTyxzQkFBc0I7SUFHakMsWUFDNEIsUUFBa0I7SUFDNUMsK0RBQStEO0lBQ2xDLFVBQVU7UUFGYixhQUFRLEdBQVIsUUFBUSxDQUFVO1FBRWYsZUFBVSxHQUFWLFVBQVUsQ0FBQTtRQUV2QyxJQUFJLENBQUMsb0JBQW9CLEdBQUcsaUJBQWlCLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxDQUFDO0lBQ2pFLENBQUM7SUFFRDs7Ozs7O09BTUc7SUFDSyxNQUFNLENBQUMsZUFBZSxDQUFDLElBQVk7UUFDekMsTUFBTSxXQUFX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gJiYgZG9jdW1lbnQuY29va2llICE9PSAnJykge1xuICAgICAgZG9jdW1lbnQuY29va2llLnNwbGl0KCc7JykuZm9yRWFjaCgoY3VycmVudENvb2tpZSkgPT4ge1xuICAgICAgICBjb25zdCBbY29va2llTmFtZSwgY29va2llVmFsdWVdID0gY3VycmVudENvb2tpZS5zcGxpdCgnPScpO1xuICAgICAgICBjb29raWVzW1xuICAgICAgICAgIEFYQ29va2llU3RvcmFnZVNlcnZpY2Uuc2FmZURlY29kZVVSSUNvbXBvbmVudChcbiAgICAgICAgICAgIGNvb2tpZU5hbWUucmVwbGFjZSgvXiAvLCAnJylcbiAgICAgICAgICApXG4gICAgICAgIF0gPSBBWENvb2tpZVN0b3JhZ2VTZXJ2aWNlLnNhZmVEZWNvZGVVUklDb21wb25lbnQoY29va2llVmFsdWUpO1xuICAgICAgfSk7XG4gICAgfVxuXG4gICAgcmV0dXJuIGNvb2tpZXM7XG4gIH1cblxuICAvKipcbiAgICogU2V0IGNvb2tpZSBiYXNlZCBvbiBwcm92aWRlZCBpbmZvcm1hdGlvblxuICAgKlxuICAgKiBAcGFyYW0gbmFtZSAgICAgQ29va2llIG5hbWVcbiAgICogQHBhcmFtIHZhbHVlICAgIENvb2tpZSB2YWx1ZVxuICAgKiBAcGFyYW0gZXhwaXJlcyAgTnVtYmVyIG9mIGRheXMgdW50aWwgdGhlIGNvb2tpZXMgZXhwaXJlcyBvciBhbiBhY3R1YWwgYERhdGVgXG4gICAqIEBwYXJhbSBwYXRoICAgICBDb29raWUgcGF0aFxuICAgKiBAcGFyYW0gZG9tYWluICAgQ29va2llIGRvbWFpblxuICAgKiBAcGFyYW0gc2VjdXJlICAgU2VjdXJlIGZsYWdcbiAgICogQHBhcmFtIHNhbWVTaXRlIE9XQVNQIHNhbWVzaXRlIHRva2VuIGBMYXhgLCBgTm9uZWAsIG9yIGBTdHJpY3RgLiBEZWZhdWx0cyB0byBgTGF4YFxuICAgKlxuICAgKi9cbiAgc2V0KFxuICAgIG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9jdW1lbnQuY29va2llLnNwbGl0KCc7JykuZm9yRWFjaCgoY3VycmVudENvb2tpZSkgPT4ge1xuICAgICAgICBjb25zdCBbY29va2llTmFtZSwgY29va2llVmFsdWVdID0gY3VycmVudENvb2tpZS5zcGxpdCgnPScpO1xuICAgICAgICBjb29raWVzW0FYQ29va2llU3RvcmFnZVNlcnZpY2Uuc2FmZURlY29kZVVSSUNvbXBvbmVudChjb29raWVOYW1lLnJlcGxhY2UoL14gLywgJycpKV0gPVxuICAgICAgICAgIEFYQ29va2llU3RvcmFnZVNlcnZpY2Uuc2FmZURlY29kZVVSSUNvbXBvbmVudChjb29raWVWYWx1ZSk7XG4gICAgICB9KTtcbiAgICB9XG5cbiAgICByZXR1cm4gY29va2llcztcbiAgfVxuXG4gIC8qKlxuICAgKiBTZXQgY29va2llIGJhc2VkIG9uIHByb3ZpZGVkIGluZm9ybWF0aW9uXG4gICAqXG4gICAqIEBwYXJhbSBuYW1lICAgICBDb29raWUgbmFtZVxuICAgKiBAcGFyYW0gdmFsdWUgICAgQ29va2llIHZhbHVlXG4gICAqIEBwYXJhbSBleHBpcmVzICBOdW1iZXIgb2YgZGF5cyB1bnRpbCB0aGUgY29va2llcyBleHBpcmVzIG9yIGFuIGFjdHVhbCBgRGF0ZWBcbiAgICogQHBhcmFtIHBhdGggICAgIENvb2tpZSBwYXRoXG4gICAqIEBwYXJhbSBkb21haW4gICBDb29raWUgZG9tYWluXG4gICAqIEBwYXJhbSBzZWN1cmUgICBTZWN1cmUgZmxhZ1xuICAgKiBAcGFyYW0gc2FtZVNpdGUgT1dBU1Agc2FtZXNpdGUgdG9rZW4gYExheGAsIGBOb25lYCwgb3IgYFN0cmljdGAuIERlZmF1bHRzIHRvIGBMYXhgXG4gICAqXG4gICAqL1xuICBzZXQoXG4gICAgbmFtZTogc3RyaW5nLFxuICAgIHZhbHVlOiBzdHJpbmcsXG4gICAgZXhwaXJlcz86IEFYQ29va2llT3B0aW9uc1snZXhwaXJlcyddLFxuIC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gICAgY29uc3QgZXhwaXJlc0RhdGUgPSBuZXcgRGF0ZSgnVGh1LCAwMSBKYW4gMTk3MCAwMDowMDowMSBHTVQnKTtcbiAgICB0aGlzLnNldChuYW1lLCAnJywge1xuICAgICAgZXhwaXJlczogZXhwaXJlc0RhdGUsXG4gICAgICBwYXRoLFxuICAgICAgZG9tYWluLFxuICAgICAgc2VjdXJlLFxuICAgICAgc2FtZVNpdGUsXG4gICAgfSk7XG4gIH1cblxuICAvKipcbiAgICogRGVsZXRlIGFsbCBjb29raWVzXG4gICAqXG4gICAqIEBwYXJhbSBwYXRoICAgQ29va2llIHBhdGhcbiAgICogQHBhcmFtIGRvbWFpbiBDb29raWUgZG9tYWluXG4gICAqIEBwYXJhbSBzZWN1cmUgSXMgdGhlIENvb2tpZSBzZWN1cmVcbiAgICogQHBhcmFtIHNhbWVTaXRlIElzIHRoZSBjb29raWUgc2FtZSBzaXRlXG4gICAqXG4gICAqL1xuICBkZWxldGVBbGwoXG4gICAgcGF0aD86IEFYQ29va2llT3B0aW9uc1sncGF0aCddLFxuICAgIGRvbWFpbj86IEFYQ29va2llT3B0aW9uc1snZG9tYWluJ10sXG4gICAgc2VjdXJlPzogQVhDb29raWVPcHRpb25zWydzZWN1cmUnXSxcbiAgICBzYW1lU2l0ZTogQVhTYW1lU2l0ZSA9ICdMYXgnLFxuICApOiB2b2lkIHtcbiAgICBpZiAoIXRoaXMuZG9jdW1lbnRJc0FjY2Vzc2libGUpIHtcbiAgICAgIHJldHVybjtcbiAgICB9XG5cbiAgICBjb25zdCBjb29raWVzID0gdGhpcy5nZXRBbGwoKTtcblxuICAgIGZvciAoY29uc3QgY29va2llTmFtZSBpbiBjb29raWVzKSB7XG4gICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tcHJvdG90eXBlLWJ1aWx0aW5zXG4gICAgICBpZiAoY29va2llcy5oYXNPd25Qcm9wZXJ0eShjb29raWVOYW1lKSkge1xuICAgICAgICB0aGlzLmRlbGV0ZShjb29raWVOYW1lLCBwYXRoLCBkb21haW4sIHNlY3VyZSwgc2FtZVNpdGUpO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19
@@ -1,9 +1,9 @@
1
+ export * from './lib/translation-scope.resolver';
1
2
  export * from './lib/translation.config';
2
3
  export * from './lib/translation.loader';
3
4
  export * from './lib/translation.module';
4
- export * from './lib/translation.types';
5
- export * from './lib/translation-scope.resolver';
6
5
  export * from './lib/translation.service';
6
+ export * from './lib/translation.types';
7
7
  export * from './lib/translator.directive';
8
8
  export * from './lib/translator.pipe';
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvcmUvdHJhbnNsYXRpb24vc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYyx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL3RyYW5zbGF0aW9uLmNvbmZpZyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi90cmFuc2xhdGlvbi5sb2FkZXInO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvdHJhbnNsYXRpb24ubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3RyYW5zbGF0aW9uLnR5cGVzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3RyYW5zbGF0aW9uLXNjb3BlLnJlc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uZXhwb3J0ICogZnJvbSAnLi9saWIvdHJhbnNsYXRvci5waXBlJztcbiJdfQ==
@@ -1,6 +1,6 @@
1
1
  import { inject } from '@angular/core';
2
- import { AXTranslationService } from './translation.service';
3
2
  import { AX_TRANSLATION_CONFIG } from './translation.config';
3
+ import { AXTranslationService } from './translation.service';
4
4
  export const loadTranslationScope = (route, state) => {
5
5
  const translatorService = inject(AXTranslationService);
6
6
  const config = inject(AX_TRANSLATION_CONFIG);
@@ -8,4 +8,4 @@ export const loadTranslationScope = (route, state) => {
8
8
  const scopes = Array.isArray(scopeValue) ? scopeValue : [scopeValue];
9
9
  return translatorService.loadLanguagesAndScopes([translatorService.getActiveLang()], scopes);
10
10
  };
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNsYXRpb24tc2NvcGUucmVzb2x2ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvcmUvdHJhbnNsYXRpb24vc3JjL2xpYi90cmFuc2xhdGlvbi1zY29wZS5yZXNvbHZlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBRTdELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBRTdELE1BQU0sQ0FBQyxNQUFNLG9CQUFvQixHQUF1QixDQUFDLEtBQUssRUFBRSxLQUFLLEVBQUUsRUFBRTtJQUN2RSxNQUFNLGlCQUFpQixHQUFHLE1BQU0sQ0FBQyxvQkFBb0IsQ0FBQyxDQUFDO0lBQ3ZELE1BQU0sTUFBTSxHQUFHLE1BQU0sQ0FBQyxxQkFBcUIsQ0FBQyxDQUFDO0lBQzdDLE1BQU0sV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GlhbFRyYW5zbGF0aW9uQ29uZmlnID0ge30pOiBBWFRyYW5zbGF0aW9uQ29uZmlnIHtcbiAgY29uc3QgcmVzdWx0ID0ge1xuICAgIC4uLkFYVHJhbnNsYXRpb25EZWZhdWx0Q29uZmlnLFxuICAgIC4uLmNvbmZpZyxcbiAgfTtcbiAgcmV0dXJuIHJlc3VsdDtcbn1cbiJdfQ==
@@ -11,4 +11,4 @@ export const AX_TRANSLATION_LOADER = new InjectionToken('AX_TRANSLATION_LOADER',
11
11
  return new AXTranslationLoaderDefault();
12
12
  },
13
13
  });
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNsYXRpb24ubG9hZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL3RyYW5zbGF0aW9uL3NyYy9saWIvdHJhbnNsYXRpb24ubG9hZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFNL0MsT0FBTyxFQUFjLEVBQUUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQWF0QyxNQUFNLE9BQU8sMEJBQTBCO0lBQ3JDLGNBQWMsQ0FDWixPQUFtQztRQUVuQyxPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQztJQUNoQixDQUFDO0NBQ0Y7QUFFRCxNQUFNLENBQUMsTUFBTSxxQkFBcUIsR0FBRyxJQUFJLGNBQWMsQ0FDckQsdUJBQXVCLEVBQ3ZCO0lBQ0UsVUFBVSxFQUFFLE1BQU07SUFDbEIsT0FBTyxFQUFFLEdBQUcsRUFBRTtRQUNaLE9BQU8sSUFBSSwwQkFBMEIsRUFBRSxDQUFDO0lBQzFDLENBQUM7Q0FDRixDQUNGLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQg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HBvcnQgaW50ZXJmYWNlIEFYVHJhbnNsYXRpb25Mb2FkZXJPcHRpb25zIHtcbiAgbGFuZzogQVhUcmFuc2xhdGVMYW5nO1xuICBzY29wZT86IEFYVHJhbnNsYXRlU2NvcGU7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgQVhUcmFuc2xhdGlvbkxvYWRlciB7XG4gIGdldFRyYW5zbGF0aW9uKG9wdGlvbnM6IEFYVHJhbnNsYXRpb25Mb2FkZXJPcHRpb25zKTogT2JzZXJ2YWJsZTxBWFRyYW5zbGF0aW9uPjtcbn1cblxuZXhwb3J0IGNsYXNzIEFYVHJhbnNsYXRpb25Mb2FkZXJEZWZhdWx0IGltcGxlbWVudHMgQVhUcmFuc2xhdGlvbkxvYWRlciB7XG4gIGdldFRyYW5zbGF0aW9uKG9wdGlvbnM6IEFYVHJhbnNsYXRpb25Mb2FkZXJPcHRpb25zKTogT2JzZXJ2YWJsZTxBWFRyYW5zbGF0aW9uPiB7XG4gICAgcmV0dXJuIG9mKHt9KTtcbiAgfVxufVxuXG5leHBvcnQgY29uc3QgQVhfVFJBTlNMQVRJT05fTE9BREVSID0gbmV3IEluamVjdGlvblRva2VuPEFYVHJhbnNsYXRpb25Mb2FkZXI+KCdBWF9UUkFOU0xBVElPTl9MT0FERVInLCB7XG4gIHByb3ZpZGVkSW46ICdyb290JyxcbiAgZmFjdG9yeTogKCkgPT4ge1xuICAgIHJldHVybiBuZXcgQVhUcmFuc2xhdGlvbkxvYWRlckRlZmF1bHQoKTtcbiAgfSxcbn0pO1xuIl19
@@ -1,8 +1,8 @@
1
1
  import { APP_INITIALIZER, NgModule } from '@angular/core';
2
- import { AXTranslatorPipe } from './translator.pipe';
3
- import { AXTranslatorDirective } from './translator.directive';
2
+ import { AX_TRANSLATION_CONFIG } from './translation.config';
4
3
  import { AXTranslationService } from './translation.service';
5
- import { AX_TRANSLATION_CONFIG, } from './translation.config';
4
+ import { AXTranslatorDirective } from './translator.directive';
5
+ import { AXTranslatorPipe } from './translator.pipe';
6
6
  import * as i0 from "@angular/core";
7
7
  function initializeApp(translatorService, config) {
8
8
  return () => {
@@ -37,4 +37,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
37
37
  ],
38
38
  }]
39
39
  }] });
40
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNsYXRpb24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL3RyYW5zbGF0aW9uL3NyYy9saWIvdHJhbnNsYXRpb24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQy9ELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBRTdELE9BQU8sRUFFTCxxQkFBcUIsR0FDdEIsTUFBTSxzQkFBc0IsQ0FBQzs7QUFFOUIsU0FBUyxhQUFhLENBQ3BCLGlCQUF1QyxFQUN2QyxNQUEyQjtJQUUzQixPQUFPLEdBQW9CLEVBQUU7UUFDM0IsT0FBTyxpQkFBaUIsQ0FBQyxzQkFBc0IsQ0FDN0MsTUFBTSxDQUFDLFlBQVksSUFBSSxDQUFDLE1BQU0sQ0FBQyxXQUFXLENBQUMsRUFDM0MsTUFBTSxDQUFDLGFBQWEsSUFBSSxDQUFDLE1BQU0sQ0FBQyxZQUFZLENBQUMsQ0FDOUMsQ0FBQztJQUNKLENBQUMsQ0FBQztBQUNKLENBQUM7QUFlRCxNQUFNLE9BQU8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W5zbGF0b3IucGlwZSc7XG5cbmZ1bmN0aW9uIGluaXRpYWxpemVBcHAodHJhbnNsYXRvclNlcnZpY2U6IEFYVHJhbnNsYXRpb25TZXJ2aWNlLCBjb25maWc6IEFYVHJhbnNsYXRpb25Db25maWcpIHtcbiAgcmV0dXJuICgpOiBPYnNlcnZhYmxlPGFueT4gPT4ge1xuICAgIHJldHVybiB0cmFuc2xhdG9yU2VydmljZS5sb2FkTGFuZ3VhZ2VzQW5kU2NvcGVzKFxuICAgICAgY29uZmlnLnByZWxvYWRMYW5ncyA/PyBbY29uZmlnLmRlZmF1bHRMYW5nXSxcbiAgICAgIGNvbmZpZy5wcmVsb2FkU2NvcGVzID8/IFtjb25maWcuZGVmYXVsdFNjb3BlXSxcbiAgICApO1xuICB9O1xufVxuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXSxcbiAgZXhwb3J0czogW0FYVHJhbnNsYXRvclBpcGUsIEFYVHJhbnNsYXRvckRpcmVjdGl2ZV0sXG4gIGRlY2xhcmF0aW9uczogW0FYVHJhbnNsYXRvclBpcGUsIEFYVHJhbnNsYXRvckRpcmVjdGl2ZV0sXG4gIHByb3ZpZGVyczogW1xuICAgIHtcbiAgICAgIHByb3ZpZGU6IEFQUF9JTklUSUFMSVpFUixcbiAgICAgIHVzZUZhY3Rvcnk6IGluaXRpYWxpemVBcHAsXG4gICAgICBkZXBzOiBbQVhUcmFuc2xhdGlvblNlcnZpY2UsIEFYX1RSQU5TTEFUSU9OX0NPTkZJR10sXG4gICAgICBtdWx0aTogdHJ1ZSxcbiAgICB9LFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBBWFRyYW5zbGF0aW9uTW9kdWxlIHt9XG4iXX0=
@@ -1,4 +1,4 @@
1
- import { Directive, TemplateRef, ViewContainerRef, } from '@angular/core';
1
+ import { Directive, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { AXTranslationService } from './translation.service';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "./translation.service";
@@ -25,4 +25,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
25
25
  selector: '[translate]',
26
26
  }]
27
27
  }], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i1.AXTranslationService }] });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNsYXRvci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvcmUvdHJhbnNsYXRpb24vc3JjL2xpYi90cmFuc2xhdG9yLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUVULFdBQVcsRUFDWCxnQkFBZ0IsR0FDakIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7OztBQU03RCxNQUFNLE9BQU8scUJBQXFCO0lBQ2hDLFlBQ1UsV0FBNkIsRUFDN0IsYUFBK0IsRUFDL0Isa0JBQXdDO1FBRnhDLGdCQUFXLEdBQVgsV0FBVyxDQUFrQjtRQUM3QixrQkFBYSxHQUFiLGFBQWEsQ0FBa0I7UUFDL0IsdUJBQWtCLEdBQWxCLGtCQUFrQixDQUFzQjtJQUMvQyxDQUFDO0lBRUosUUFBUTtRQUNOLElBQUksQ0FBQyxhQUFhLENBQUMsS0FBSyxFQUFFLENBQUM7UUFDM0IsSUFBSSxDQUFDLGFBQWEsQ0FBQyxrQkFBa0IsQ0FBQyxJQUFJLENBQUMsV0FBVyxFQUFFO1lBQ3RELFNBQVMsRUFBRSxDQUFDLEdBQVcsRUFBRSxPQUE0QixFQUFFLEVBQUU7Z0JBQ3ZELE9BQU8sSUFBSSxDQUFDLGtCQUFrQixDQUFDLFNBQVMsQ0FB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/OiBBWFRyYW5zbGF0ZU9wdGlvbnMpID0+IHtcbiAgICAgICAgcmV0dXJuIHRoaXMudHJhbnNsYXRpb25TZXJ2aWNlLnRyYW5zbGF0ZShrZXksIG9wdGlvbnMpO1xuICAgICAgfSxcbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -1,6 +1,6 @@
1
1
  import { Pipe } from '@angular/core';
2
- import { AXTranslationService } from './translation.service';
3
2
  import { of } from 'rxjs';
3
+ import { AXTranslationService } from './translation.service';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "./translation.service";
6
6
  export class AXTranslatorPipe {
@@ -20,4 +20,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
20
20
  type: Pipe,
21
21
  args: [{ name: 'translate', pure: true }]
22
22
  }], ctorParameters: () => [{ type: i1.AXTranslationService }] });
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNsYXRvci5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL3RyYW5zbGF0aW9uL3NyYy9saWIvdHJhbnNsYXRvci5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBQ3BELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzdELE9BQU8sRUFBYyxFQUFFLEVBQUUsTUFBTSxNQUFNLENBQUM7OztBQUl0QyxNQUFNLE9BQU8sZ0JBQWdCO0lBQzNCLFlBQW9CLE9BQTZCO1FBQTdCLFlBQU8sR0FBUCxPQUFPLENBQXNCO0lBQUcsQ0FBQztJQUVyRCxTQUFTLENBQUMsR0FBVyxFQUFFLE9BQTRCO1FBQ2pELElBQUksQ0FBQyxHQUFHLEVBQUUs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UFBRSxJQUFJLEVBQUUsSUFBSSxFQUFFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgT2JzZXJ2YWJsZSwgb2YgfSBmcm9tICdyeGpzJztcbmltcG9ydCB7IEFYVHJhbnNsYXRpb25TZXJ2aWNlIH0gZnJvbSAnLi90cmFuc2xhdGlvbi5zZXJ2aWNlJztcbmltcG9ydCB7IEFYVHJhbnNsYXRlT3B0aW9ucyB9IGZyb20gJy4vdHJhbnNsYXRpb24udHlwZXMnO1xuXG5AUGlwZSh7IG5hbWU6ICd0cmFuc2xhdGUnLCBwdXJlOiB0cnVlIH0pIC8vIFRoZSBwaXBlIGNhbiBub3cgYmUgcHVyZVxuZXhwb3J0IGNsYXNzIEFYVHJhbnNsYXRvclBpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBzZXJ2aWNlOiBBWFRyYW5zbGF0aW9uU2VydmljZSkge31cblxuICB0cmFuc2Zvcm0oa2V5OiBzdHJpbmcsIG9wdGlvbnM/OiBBWFRyYW5zbGF0ZU9wdGlvbnMpOiBPYnNlcnZhYmxlPHN0cmluZz4ge1xuICAgIGlmICgha2V5KSB7XG4gICAgICByZXR1cm4gb2YoJycpOyAvLyBSZXR1cm4gYW4gZW1wdHkgb2JzZXJ2YWJsZSBpZiB0aGUga2V5IGlzIG5vdCBwcm92aWRlZFxuICAgIH1cbiAgICByZXR1cm4gdGhpcy5zZXJ2aWNlLnRyYW5zbGF0ZShrZXksIG9wdGlvbnMpO1xuICB9XG59XG4iXX0=
@@ -33,4 +33,4 @@ export class AXUnsubscriber {
33
33
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUnsubscriber, decorators: [{
34
34
  type: Injectable
35
35
  }] });
36
- //# sour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