@acorex/core 18.6.0 → 18.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/esm2022/config/lib/configs.service.mjs +3 -3
  2. package/esm2022/date-time/lib/calendar.service.mjs +3 -3
  3. package/esm2022/date-time/lib/datetime.module.mjs +4 -4
  4. package/esm2022/date-time/lib/datetime.pipe.mjs +3 -3
  5. package/esm2022/date-time/lib/formatters/datetime-formatter.mjs +3 -3
  6. package/esm2022/date-time/lib/formatters/time-duration-formatter.mjs +3 -3
  7. package/esm2022/date-time/lib/formatters/timeleft-formatter.mjs +3 -3
  8. package/esm2022/events/lib/event.service.mjs +3 -3
  9. package/esm2022/file/lib/file-size-formatter.mjs +3 -3
  10. package/esm2022/file/lib/file.module.mjs +4 -4
  11. package/esm2022/file/lib/file.service.mjs +3 -3
  12. package/esm2022/format/lib/format.module.mjs +4 -4
  13. package/esm2022/format/lib/format.pipe.mjs +3 -3
  14. package/esm2022/format/lib/format.service.mjs +6 -6
  15. package/esm2022/format/lib/formatters/number-formatter.mjs +3 -3
  16. package/esm2022/image/lib/image.service.mjs +3 -3
  17. package/esm2022/network/lib/network.service.mjs +15 -14
  18. package/esm2022/network/lib/network.types.mjs +1 -1
  19. package/esm2022/network/lib/upload-task.mjs +34 -10
  20. package/esm2022/pipes/lib/safe/safe.pipe.mjs +3 -3
  21. package/esm2022/platform/lib/platform.service.mjs +3 -3
  22. package/esm2022/storage/cookie-storage.service.mjs +3 -3
  23. package/esm2022/storage/local-storage.service.mjs +3 -3
  24. package/esm2022/storage/session-storage.service.mjs +3 -3
  25. package/esm2022/translation/lib/translation.module.mjs +4 -4
  26. package/esm2022/translation/lib/translation.service.mjs +3 -3
  27. package/esm2022/translation/lib/translator.directive.mjs +3 -3
  28. package/esm2022/translation/lib/translator.pipe.mjs +3 -3
  29. package/esm2022/utils/lib/auto-unsubscribe.mjs +3 -3
  30. package/esm2022/validation/lib/rules/between-rule.mjs +3 -3
  31. package/esm2022/validation/lib/rules/callback-rule.mjs +3 -3
  32. package/esm2022/validation/lib/rules/equal-rule.mjs +3 -3
  33. package/esm2022/validation/lib/rules/greater-than.mjs +3 -3
  34. package/esm2022/validation/lib/rules/length-rule.mjs +3 -3
  35. package/esm2022/validation/lib/rules/less-than-rule.mjs +3 -3
  36. package/esm2022/validation/lib/rules/maxlength-rule.mjs +3 -3
  37. package/esm2022/validation/lib/rules/minlength-rule.mjs +3 -3
  38. package/esm2022/validation/lib/rules/regex-rule.mjs +3 -3
  39. package/esm2022/validation/lib/rules/required-rule.mjs +3 -3
  40. package/esm2022/validation/lib/validation.module.mjs +4 -4
  41. package/esm2022/validation/lib/validation.service.mjs +6 -6
  42. package/fesm2022/acorex-core-config.mjs +3 -3
  43. package/fesm2022/acorex-core-date-time.mjs +19 -19
  44. package/fesm2022/acorex-core-events.mjs +3 -3
  45. package/fesm2022/acorex-core-file.mjs +10 -10
  46. package/fesm2022/acorex-core-format.mjs +16 -16
  47. package/fesm2022/acorex-core-image.mjs +3 -3
  48. package/fesm2022/acorex-core-network.mjs +43 -18
  49. package/fesm2022/acorex-core-network.mjs.map +1 -1
  50. package/fesm2022/acorex-core-pipes.mjs +3 -3
  51. package/fesm2022/acorex-core-platform.mjs +3 -3
  52. package/fesm2022/acorex-core-storage.mjs +9 -9
  53. package/fesm2022/acorex-core-translation.mjs +13 -13
  54. package/fesm2022/acorex-core-utils.mjs +3 -3
  55. package/fesm2022/acorex-core-validation.mjs +40 -40
  56. package/i18n/en/common.json +181 -0
  57. package/i18n/fa/common.json +180 -0
  58. package/network/lib/network.types.d.ts +1 -0
  59. package/network/lib/upload-task.d.ts +7 -5
  60. package/package.json +14 -14
@@ -17,10 +17,10 @@ export class AXConfigService {
17
17
  const v2 = this.injector.get(providerToken);
18
18
  return get(v2, parts[parts.length - 1], defaultValue);
19
19
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXConfigService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
21
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXConfigService, providedIn: 'root' }); }
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXConfigService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
21
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXConfigService, providedIn: 'root' }); }
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXConfigService, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXConfigService, decorators: [{
24
24
  type: Injectable,
25
25
  args: [{ providedIn: 'root' }]
26
26
  }], ctorParameters: () => [{ type: i0.Injector }] });
@@ -83,10 +83,10 @@ export class AXCalendarService {
83
83
  const date = value instanceof AXDateTime ? value.date : value;
84
84
  return new AXDateTime(date, calendar);
85
85
  }
86
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
87
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCalendarService, providedIn: 'root' }); }
86
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
87
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCalendarService, providedIn: 'root' }); }
88
88
  }
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCalendarService, decorators: [{
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCalendarService, decorators: [{
90
90
  type: Injectable,
91
91
  args: [{ providedIn: 'root' }]
92
92
  }], ctorParameters: () => [] });
@@ -7,13 +7,13 @@ import { AXTimeLeftFormatter } from './formatters/timeleft-formatter';
7
7
  import * as i0 from "@angular/core";
8
8
  import * as i1 from "@acorex/core/format";
9
9
  export class AXDateTimeModule {
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
11
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXDateTimeModule, declarations: [AXDateTimePipe], imports: [i1.AXFormatModule], exports: [AXDateTimePipe] }); }
12
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXDateTimeModule, imports: [AXFormatModule.forChild({
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
11
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeModule, declarations: [AXDateTimePipe], imports: [i1.AXFormatModule], exports: [AXDateTimePipe] }); }
12
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeModule, imports: [AXFormatModule.forChild({
13
13
  formatters: [AXDateTimeFormatter, AXTimeLeftFormatter, AXTimeDurationFormatter],
14
14
  })] }); }
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXDateTimeModule, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeModule, decorators: [{
17
17
  type: NgModule,
18
18
  args: [{
19
19
  imports: [
@@ -19,10 +19,10 @@ export class AXDateTimePipe {
19
19
  const val = this._calendarService.convert(value, calendar.name());
20
20
  return val.format(format);
21
21
  }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
23
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXDateTimePipe, name: "axDate" }); }
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
23
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimePipe, name: "axDate" }); }
24
24
  }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXDateTimePipe, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimePipe, decorators: [{
26
26
  type: Pipe,
27
27
  args: [{ name: 'axDate' }]
28
28
  }] });
@@ -23,10 +23,10 @@ export class AXDateTimeFormatter {
23
23
  .create(value, effectiveOptions.calendar)
24
24
  .format(effectiveOptions.format, { locale: effectiveOptions.locale });
25
25
  }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXDateTimeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
27
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXDateTimeFormatter }); }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
27
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeFormatter }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXDateTimeFormatter, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeFormatter, decorators: [{
30
30
  type: Injectable
31
31
  }] });
32
32
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXRpbWUtZm9ybWF0dGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL2RhdGUtdGltZS9zcmMvbGliL2Zvcm1hdHRlcnMvZGF0ZXRpbWUtZm9ybWF0dGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHFCQUFxQixDQUFDOztBQWV4RCxNQUFNLE9BQU8sbUJBQW1CO0lBRGhDO1FBRVUsb0JBQWUsR0FBRyxNQUFNLENBQUMsaUJBQWlCLENBQUMsQ0FBQztLQXVCckQ7SUFyQkMsSUFBSSxJQUFJO1FBQ04sT0FBTyxVQUFVLENBQUM7SUFDcEIsQ0FBQztJQUVELE1BQU0sQ0FBQyxLQUFjLEVBQUUsT0FBNkM7UUFDbEUsTUFBTSxnQkFBZ0IsR0FDcEIsT0FBTyxPQUFPLElBQUksUUFBUTtZQUN4QixDQUFDL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ybiB0aGlzLmNhbGVuZGFyU2VydmljZVxuICAgICAgLmNyZWF0ZSh2YWx1ZSBhcyBEYXRlLCBlZmZlY3RpdmVPcHRpb25zLmNhbGVuZGFyIGFzIHN0cmluZylcbiAgICAgIC5mb3JtYXQoZWZmZWN0aXZlT3B0aW9ucy5mb3JtYXQsIHsgbG9jYWxlOiBlZmZlY3RpdmVPcHRpb25zLmxvY2FsZSB9KTtcbiAgfVxufVxuIl19
@@ -43,10 +43,10 @@ export class AXTimeDurationFormatter {
43
43
  // Join the parts according to the format
44
44
  return formattedTime.join(format.includes('ms') || format.includes('MS') ? ':' : ':');
45
45
  }
46
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXTimeDurationFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
47
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXTimeDurationFormatter }); }
46
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeDurationFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
47
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeDurationFormatter }); }
48
48
  }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXTimeDurationFormatter, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeDurationFormatter, decorators: [{
50
50
  type: Injectable
51
51
  }] });
52
52
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS1kdXJhdGlvbi1mb3JtYXR0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi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FydHMgYWNjb3JkaW5nIHRvIHRoZSBmb3JtYXRcbiAgICByZXR1cm4gZm9ybWF0dGVkVGltZS5qb2luKGZvcm1hdC5pbmNsdWRlcygnbXMnKSB8fCBmb3JtYXQuaW5jbHVkZXMoJ01TJykgPyAnOicgOiAnOicpO1xuICB9XG59XG4iXX0=
@@ -82,10 +82,10 @@ export class AXTimeLeftFormatter {
82
82
  return 'Invalid format';
83
83
  }
84
84
  }
85
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXTimeLeftFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
86
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXTimeLeftFormatter }); }
85
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLeftFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
86
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLeftFormatter }); }
87
87
  }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXTimeLeftFormatter, decorators: [{
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLeftFormatter, decorators: [{
89
89
  type: Injectable
90
90
  }] });
91
91
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZWxlZnQtZm9ybWF0dGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL2RhdGUtdGltZS9zcmMvbGliL2Zvcm1hdHRlcnMvdGltZWxlZnQtZm9ybWF0dGVyLnRzIl0sIm5hbWVzIjpbXSwibWFw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aW9uSW5TZWNvbmRzIC8gKDM2MDAgKiAyNCAqIDMwKSkpfSBtb250aHMgbGVmdGA7XG4gICAgICBjYXNlICd5JzpcbiAgICAgIGNhc2UgJ1knOlxuICAgICAgICBpZiAoZHVyYXRpb25JblNlY29uZHMgPCA2MCAqIDYwICogMjQgKiA1NDcpIHJldHVybiAnYSB5ZWFyIGxlZnQnO1xuICAgICAgICByZXR1cm4gYCR7TWF0aC5yb3VuZChkdXJhdGlvbkluU2Vjb25kcyAvICgzNjAwICogMjQgKiAzNjUpKX0geWVhciR7ZHVyYXRpb25JblNlY29uZHMgPj0gNjAgKiA2MCAqIDI0ICogNzMwID8gJ3MnIDogJyd9IGxlZnRgO1xuICAgICAgY2FzZSAneXknOlxuICAgICAgY2FzZSAnWVknOlxuICAgICAgY2FzZSAneXl5eSc6XG4gICAgICBjYXNlICdZWVlZJzpcbiAgICAgICAgaWYgKGR1cmF0aW9uSW5TZWNvbmRzIDwgNjAgKiA2MCAqIDI0ICogNTQ3KSByZXR1cm4gJzAxIHllYXIgbGVmdCc7XG4gICAgICAgIHJldHVybiBgJHtwYWQoTWF0aC5yb3VuZChkdXJhdGlvbkluU2Vjb25kcyAvICgzNjAwICogMjQgKiAzNjUpKSl9IHllYXJzIGxlZnRgO1xuICAgICAgZGVmYXVsdDpcbiAgICAgICAgcmV0dXJuICdJbnZhbGlkIGZvcm1hdCc7XG4gICAgfVxuICB9XG59XG4iXX0=
@@ -33,10 +33,10 @@ export class AXEventService {
33
33
  d.events = [];
34
34
  }
35
35
  }
36
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
37
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXEventService, providedIn: 'root' }); }
36
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
37
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXEventService, providedIn: 'root' }); }
38
38
  }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXEventService, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXEventService, decorators: [{
40
40
  type: Injectable,
41
41
  args: [{ providedIn: 'root' }]
42
42
  }] });
@@ -15,10 +15,10 @@ export class AXFileSizeFormatter {
15
15
  const i = Math.floor(Math.log(size) / Math.log(k));
16
16
  return parseFloat((size / Math.pow(k, i)).toFixed(2)) + ' ' + sizes[i];
17
17
  }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFileSizeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
19
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFileSizeFormatter }); }
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFileSizeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
19
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFileSizeFormatter }); }
20
20
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFileSizeFormatter, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFileSizeFormatter, decorators: [{
22
22
  type: Injectable
23
23
  }] });
24
24
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJm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cycsICdLQicsICdNQicsICdHQicsICdUQicsICdQQicsICdFQicsICdaQicsICdZQiddO1xuICAgIGNvbnN0IGkgPSBNYXRoLmZsb29yKE1hdGgubG9nKHNpemUpIC8gTWF0aC5sb2coaykpO1xuXG4gICAgcmV0dXJuIHBhcnNlRmxvYXQoKHNpemUgLyBNYXRoLnBvdyhrLCBpKSkudG9GaXhlZCgyKSkgKyAnICcgKyBzaXplc1tpXTtcbiAgfVxufVxuIl19
@@ -4,11 +4,11 @@ import { AXFileSizeFormatter } from './file-size-formatter';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@acorex/core/format";
6
6
  export class AXFileModule {
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXFileModule, imports: [i1.AXFormatModule] }); }
9
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFileModule, providers: [AXFileSizeFormatter], imports: [AXFormatModule.forChild({ formatters: [AXFileSizeFormatter] })] }); }
7
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXFileModule, imports: [i1.AXFormatModule] }); }
9
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFileModule, providers: [AXFileSizeFormatter], imports: [AXFormatModule.forChild({ formatters: [AXFileSizeFormatter] })] }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFileModule, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFileModule, decorators: [{
12
12
  type: NgModule,
13
13
  args: [{
14
14
  imports: [AXFormatModule.forChild({ formatters: [AXFileSizeFormatter] })],
@@ -62,10 +62,10 @@ export class AXFileService {
62
62
  getBase64Size(base64) {
63
63
  return atob(base64.substring(base64.indexOf(',') + 1)).length;
64
64
  }
65
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFileService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
66
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFileService, providedIn: 'root' }); }
65
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFileService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
66
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFileService, providedIn: 'root' }); }
67
67
  }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFileService, decorators: [{
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFileService, decorators: [{
69
69
  type: Injectable,
70
70
  args: [{
71
71
  providedIn: 'root',
@@ -46,11 +46,11 @@ export class AXFormatModule {
46
46
  f();
47
47
  });
48
48
  }
49
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFormatModule, deps: [{ token: 'AXFormatModuleFactory' }], target: i0.ɵɵFactoryTarget.NgModule }); }
50
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXFormatModule, declarations: [AXFormatPipe], exports: [AXFormatPipe] }); }
51
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFormatModule }); }
49
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFormatModule, deps: [{ token: 'AXFormatModuleFactory' }], target: i0.ɵɵFactoryTarget.NgModule }); }
50
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXFormatModule, declarations: [AXFormatPipe], exports: [AXFormatPipe] }); }
51
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFormatModule }); }
52
52
  }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFormatModule, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFormatModule, decorators: [{
54
54
  type: NgModule,
55
55
  args: [{
56
56
  imports: [],
@@ -20,10 +20,10 @@ export class AXFormatPipe {
20
20
  return of(formattedValue);
21
21
  }));
22
22
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
24
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXFormatPipe, name: "format" }); }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
24
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXFormatPipe, name: "format" }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFormatPipe, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFormatPipe, decorators: [{
27
27
  type: Pipe,
28
28
  args: [{
29
29
  name: 'format',
@@ -21,10 +21,10 @@ export class AXFormatterRegistryService {
21
21
  get formatters() {
22
22
  return this.plugins;
23
23
  }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFormatterRegistryService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
25
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFormatterRegistryService, providedIn: 'root' }); }
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFormatterRegistryService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
25
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFormatterRegistryService, providedIn: 'root' }); }
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFormatterRegistryService, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFormatterRegistryService, decorators: [{
28
28
  type: Injectable,
29
29
  args: [{
30
30
  providedIn: 'root',
@@ -62,10 +62,10 @@ export class AXFormatService {
62
62
  return new AXFormatFluent(this, value);
63
63
  }
64
64
  }
65
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFormatService, deps: [{ token: AXFormatterRegistryService }], target: i0.ɵɵFactoryTarget.Injectable }); }
66
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFormatService, providedIn: 'root' }); }
65
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFormatService, deps: [{ token: AXFormatterRegistryService }], target: i0.ɵɵFactoryTarget.Injectable }); }
66
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFormatService, providedIn: 'root' }); }
67
67
  }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXFormatService, decorators: [{
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXFormatService, decorators: [{
69
69
  type: Injectable,
70
70
  args: [{ providedIn: 'root' }]
71
71
  }], ctorParameters: () => [{ type: AXFormatterRegistryService }] });
@@ -65,10 +65,10 @@ export class AXNumberFormatter {
65
65
  this.separatorsCache[locale] = { thousandSeparator, decimalSeparator };
66
66
  return this.separatorsCache[locale];
67
67
  }
68
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXNumberFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
69
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXNumberFormatter }); }
68
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXNumberFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
69
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXNumberFormatter }); }
70
70
  }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXNumberFormatter, decorators: [{
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXNumberFormatter, decorators: [{
72
72
  type: Injectable
73
73
  }] });
74
74
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLWZvcm1hdHRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29yZS9mb3JtYXQvc3JjL2xpYi9mb3JtYXR0ZXJzL251bWJlci1mb3JtYXR0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsUUFBUSxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsTUFBTSxXQUFXLENBQUM7O0FBbUIxRCxNQUFNLE9BQU8saUJBQWlCO0lBRDlCO1FBRVUsb0JBQWUsR0FBUSxFQUFFLENBQUM7S0F5RW5DO0lBdkVDLElBQUksSUFBSTtRQUNOLE9BQU8sUUFBUSxDQUFDO0lBQ2xCLENBQUM7SUFFRCxNQUFNLENBQUMsS0FBYSxFQUFFLE9BQWlDO1FBQ3JELE1BQU0sRUFBRSxpQkFBaUIsRUFBRSxnQkFBZ0IsRUFBRSxHQUFHLElBQUksQ0FBQyxtQkFBbUIsQ0FBQyxPQUFPLEVBQUUsTUFBTSxDQUFDLENBQUM7UUFDMUYsMENBQTBDO1FBQzFDLE1BQU0sZ0JBQWdCLEdBQUcsUUFBUSxDQUFDLEVBQUUsRUFBRSxPQUFPLEVBQUU7WUFDN0MsaUJBQWlCO1lBQ2pCLGdCQUFnQjtZQUNoQixhQUFhLEVBQUUsQ0FBQztZQUNoQixNQUFNLEVBQUUsU0FBUyxDQUFDLFFBQVE7U0FDM0IsQ0FBQyxDQUFDO1FBRUgsTUFBTSxJQUFJLEdBQUcsS0FB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0b3IgPSAnJztcblxuICAgIGZvciAoY29uc3QgcGFydCBvZiBwYXJ0cykge1xuICAgICAgaWYgKHBhcnQudHlwZSA9PT0gJ2dyb3VwJykge1xuICAgICAgICB0aG91c2FuZFNlcGFyYXRvciA9IHBhcnQudmFsdWU7XG4gICAgICB9IGVsc2UgaWYgKHBhcnQudHlwZSA9PT0gJ2RlY2ltYWwnKSB7XG4gICAgICAgIGRlY2ltYWxTZXBhcmF0b3IgPSBwYXJ0LnZhbHVlO1xuICAgICAgfVxuICAgIH1cblxuICAgIC8vIENhY2hlIHRoZSByZXN1bHRcbiAgICB0aGlzLnNlcGFyYXRvcnNDYWNoZVtsb2NhbGVdID0geyB0aG91c2FuZFNlcGFyYXRvciwgZGVjaW1hbFNlcGFyYXRvciB9O1xuICAgIHJldHVybiB0aGlzLnNlcGFyYXRvcnNDYWNoZVtsb2NhbGVdO1xuICB9XG59XG4iXX0=
@@ -34,10 +34,10 @@ export class AXImageService {
34
34
  canvas.getContext('2d').drawImage(image, 0, 0, width, height);
35
35
  return new Promise((resolve) => canvas.toBlob(resolve, options.type, options.quality));
36
36
  }
37
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXImageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
38
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXImageService }); }
37
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
38
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageService }); }
39
39
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXImageService, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageService, decorators: [{
41
41
  type: Injectable
42
42
  }] });
43
43
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2Uuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29yZS9pbWFnZS9zcmMvbGliL2ltYWdlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFHM0MsTUFBTSxPQUFPLGNBQWM7SUFDekIsS0FBSyxDQUFDLE1BQU0sQ0FBQyxPQUtaO1FBQ0MsT0FBTyxHQUFHLE1BQU0sQ0FBQyxNQUFNLENBQUMsRUFBRSxJQUFJLEVBQUUsV0FBVyxFQUFFLE9BQU8sRUFBRSxDQUFDLEVBQUUsRUFBRSxPQUFPLENBQUMsQ0FBQztRQUVwRSxJQUFJLEtBQXVCLENBQUM7UUFDNUIsSUFBSSxPQUFPLENBQUMsTUFBTSxZQUFZLElBQUksRUFBRSxDQUFDO1lBQ25DLE1BQU0sQ0FBQyxHQUFHLElBQUksS0FBSyxFQUFFLENBQUM7WUFDdEIsQ0FBQyxDQUFDLEdBQUcsR0FBRyxHQUFHLENBQUMsZUFBZSxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUMsQ0FBQztZQUM1QyxNQUFNLElBQUksT0FBTyxDQUFRLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxNQUFNLEdBQUcsR0FBRyxDQUFDLENBQUMsQ0FBQztZQUNwRCxLQUFLLEdBQUcsQ0FBQyxDQUFDO1FBQ1osQ0FBQzthQUFNLENBQUM7WUFDTixLQUFLLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQztRQUN6QixDQUFDO1FB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lRWxlbWVudCgnY2FudmFzJyk7XG4gICAgbGV0IHdpZHRoID0gaW1hZ2Uud2lkdGg7XG4gICAgbGV0IGhlaWdodCA9IGltYWdlLmhlaWdodDtcbiAgICBpZiAod2lkdGggPiBoZWlnaHQpIHtcbiAgICAgIGlmICh3aWR0aCA+IG9wdGlvbnMubWF4U2l6ZSkge1xuICAgICAgICBoZWlnaHQgKj0gb3B0aW9ucy5tYXhTaXplIC8gd2lkdGg7XG4gICAgICAgIHdpZHRoID0gb3B0aW9ucy5tYXhTaXplO1xuICAgICAgfVxuICAgIH0gZWxzZSB7XG4gICAgICBpZiAoaGVpZ2h0ID4gb3B0aW9ucy5tYXhTaXplKSB7XG4gICAgICAgIHdpZHRoICo9IG9wdGlvbnMubWF4U2l6ZSAvIGhlaWdodDtcbiAgICAgICAgaGVpZ2h0ID0gb3B0aW9ucy5tYXhTaXplO1xuICAgICAgfVxuICAgIH1cbiAgICBjYW52YXMud2lkdGggPSB3aWR0aDtcbiAgICBjYW52YXMuaGVpZ2h0ID0gaGVpZ2h0O1xuICAgIGNhbnZhcy5nZXRDb250ZXh0KCcyZCcpLmRyYXdJbWFnZShpbWFnZSwgMCwgMCwgd2lkdGgsIGhlaWdodCk7XG4gICAgcmV0dXJuIG5ldyBQcm9taXNlKChyZXNvbHZlKSA9PiBjYW52YXMudG9CbG9iKHJlc29sdmUsIG9wdGlvbnMudHlwZSwgb3B0aW9ucy5xdWFsaXR5KSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,9 +1,9 @@
1
- import { HttpRequest, HttpClient } from '@angular/common/http';
2
- import { inject, Injectable, signal } from '@angular/core';
1
+ import { isBrowser } from '@acorex/core/platform';
2
+ import { HttpClient, HttpRequest } from '@angular/common/http';
3
+ import { Injectable, inject, signal } from '@angular/core';
4
+ import { fromEvent, map, merge, startWith } from 'rxjs';
3
5
  import { AXDownloadTask } from './download-task';
4
6
  import { AXUploadTask } from './upload-task';
5
- import { fromEvent, map, merge, startWith } from 'rxjs';
6
- import { isBrowser } from '@acorex/core/platform';
7
7
  import * as i0 from "@angular/core";
8
8
  export class AXNetworkService {
9
9
  constructor() {
@@ -14,7 +14,9 @@ export class AXNetworkService {
14
14
  // Only subscribe to these events if on the browser platform
15
15
  const onlineEvent = fromEvent(window, 'online').pipe(map(() => true));
16
16
  const offlineEvent = fromEvent(window, 'offline').pipe(map(() => false));
17
- merge(onlineEvent, offlineEvent).pipe(startWith(navigator.onLine)).subscribe(c => {
17
+ merge(onlineEvent, offlineEvent)
18
+ .pipe(startWith(navigator.onLine))
19
+ .subscribe((c) => {
18
20
  this._status.set(c);
19
21
  });
20
22
  }
@@ -32,7 +34,7 @@ export class AXNetworkService {
32
34
  });
33
35
  request = new HttpRequest('POST', arg1, arg2, {
34
36
  reportProgress: true,
35
- responseType: 'json'
37
+ responseType: 'json',
36
38
  });
37
39
  }
38
40
  else if (arg1 instanceof HttpRequest) {
@@ -46,14 +48,13 @@ export class AXNetworkService {
46
48
  }
47
49
  request = arg1.clone({
48
50
  reportProgress: true,
49
- responseType: arg1.responseType || 'json'
51
+ responseType: arg1.responseType || 'json',
50
52
  });
51
53
  }
52
54
  else {
53
- throw new Error("Invalid arguments for upload method.");
55
+ throw new Error('Invalid arguments for upload method.');
54
56
  }
55
- const events = this.http.request(request);
56
- return new AXUploadTask(events, totalFilesSize);
57
+ return new AXUploadTask(this.http, request, totalFilesSize);
57
58
  }
58
59
  // Unified method handling both types of inputs
59
60
  download(arg) {
@@ -74,11 +75,11 @@ export class AXNetworkService {
74
75
  const events = this.http.request(request);
75
76
  return new AXDownloadTask(events);
76
77
  }
77
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXNetworkService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
78
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXNetworkService, providedIn: 'root' }); }
78
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXNetworkService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
79
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXNetworkService, providedIn: 'root' }); }
79
80
  }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXNetworkService, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXNetworkService, decorators: [{
81
82
  type: Injectable,
82
83
  args: [{ providedIn: 'root' }]
83
84
  }], ctorParameters: () => [] });
84
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV0d29yay5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL25ldHdvcmsvc3JjL2xpYi9uZXR3b3JrLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFdBQVcsRUFBRSxVQUFVLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUMvRCxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0QsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0MsT0FBTyxFQUFFLFNBQVMsRUFBRSxHQUFHLEVBQUUsS0FBSyxFQUFFLFNBQVMsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUN4RCxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sdUJBQXVCLENBQUM7O0FBS2xELE1BQU0sT0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pO1xuICAgICAgICAgICAgcmVxdWVzdCA9IG5ldyBIdHRwUmVxdWVzdCgnUE9TVCcsIGFyZzEsIGFyZzIsIHtcbiAgICAgICAgICAgICAgICByZXBvcnRQcm9ncmVzczogdHJ1ZSxcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGU6ICdqc29uJ1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH0gZWxzZSBpZiAoYXJnMSBpbnN0YW5jZW9mIEh0dHBSZXF1ZXN0KSB7XG4gICAgICAgICAgICBpZiAoYXJnMS5ib2R5IGluc3RhbmNlb2YgRm9ybURhdGEpIHtcbiAgICAgICAgICAgICAgICAvLyBDYWxjdWxhdGUgdG90YWwgZmlsZSBzaXplXG4gICAgICAgICAgICAgICAgYXJnMS5ib2R5LmZvckVhY2goKHZhbHVlKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGlmICh2YWx1ZSBpbnN0YW5jZW9mIEZpbGUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRvdGFsRmlsZXNTaXplICs9IHZhbHVlLnNpemU7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJlcXVlc3QgPSBhcmcxLmNsb25lKHtcbiAgICAgICAgICAgICAgICByZXBvcnRQcm9ncmVzczogdHJ1ZSxcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGU6IGFyZzEucmVzcG9uc2VUeXBlIHx8ICdqc29uJ1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoXCJJbnZhbGlkIGFyZ3VtZW50cyBmb3IgdXBsb2FkIG1ldGhvZC5cIik7XG4gICAgICAgIH1cblxuICAgICAgICBjb25zdCBldmVudHMgPSB0aGlzLmh0dHAucmVxdWVzdDxUPihyZXF1ZXN0KTtcbiAgICAgICAgcmV0dXJuIG5ldyBBWFVwbG9h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yZyxcbiAgICAgICAgcmVwb3J0UHJvZ3Jlc3M6IHRydWUsXG4gICAgICAgIHJlc3BvbnNlVHlwZTogJ2Jsb2InLFxuICAgICAgfSk7XG4gICAgfVxuXG4gICAgY29uc3QgZXZlbnRzID0gdGhpcy5odHRwLnJlcXVlc3Q8QmxvYj4ocmVxdWVzdCk7XG4gICAgcmV0dXJuIG5ldyBBWERvd25sb2FkVGFzayhldmVudHMpO1xuICB9XG59XG4iXX0=
@@ -13,4 +13,4 @@ export var AXDownloadStatus;
13
13
  AXDownloadStatus["StartingDownload"] = "Starting download";
14
14
  AXDownloadStatus["DownloadFailed"] = "Download failed";
15
15
  })(AXDownloadStatus || (AXDownloadStatus = {}));
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV0d29yay50eXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29yZS9uZXR3b3JrL3NyYy9saWIvbmV0d29yay50eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxjQU1YO0FBTkQsV0FBWSxjQUFjO0lBQ3RCLDRDQUEwQixDQUFBO0lBQzFCLG9EQUFrQyxDQUFBO0lBQ2xDLG9EQUFrQyxDQUFBO0lBQ2xDLGdEQUE4QixDQUFBO0lBQzlCLG9EQUFrQyxDQUFBO0FBQ3RDLENBQUMsRUFOVyxjQUFjLEtBQWQsY0FBYyxRQU16QjtBQVVELE1BQU0sQ0FBTixJQUFZLGdCQUtYO0FBTEQsV0FBWSxnQkFBZ0I7SUFDeEIsa0RBQThCLENBQUE7SUFDOUIsMERBQXNDLENBQUE7SUFDdEMsMERBQXNDLENBQUE7SUFDdEMsc0RBQWtDLENBQUE7QUFDdEMsQ0FBQyxFQUxXLGdCQUFnQixLQUFoQixnQkFBZ0IsUUFLM0IiLCJzb3VyY2VzQ29udGVud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c2U8VD4gPSB7XG4gIHByb2dyZXNzOiBudW1iZXI7XG4gIGJ5dGVzVHJhbnNmZXJyZWQ6IG51bWJlcjtcbiAgdG90YWxCeXRlczogbnVtYmVyO1xuICBzdGF0dXM6IEFYVXBsb2FkU3RhdHVzO1xuICByZXN1bHQ/OiBUO1xuICBtZXNzYWdlPzogc3RyaW5nO1xufTtcblxuZXhwb3J0IGVudW0gQVhEb3dubG9hZFN0YXR1cyB7XG4gIERvd25sb2FkaW5nID0gJ0Rvd25sb2FkaW5nLi4uJyxcbiAgRG93bmxvYWRDb21wbGV0ZSA9ICdEb3dubG9hZCBjb21wbGV0ZScsXG4gIFN0YXJ0aW5nRG93bmxvYWQgPSAnU3RhcnRpbmcgZG93bmxvYWQnLFxuICBEb3dubG9hZEZhaWxlZCA9ICdEb3dubG9hZCBmYWlsZWQnLFxufVxuXG5leHBvcnQgdHlwZSBBWERvd25sb2FkUmVzcG9uc2UgPSB7XG4gIHByb2dyZXNzOiBudW1iZXI7XG4gIGJ5dGVzUmVjZWl2ZWQ6IG51bWJlcjtcbiAgdG90YWxCeXRlczogbnVtYmVyO1xuICBzdGF0dXM6IEFYRG93bmxvYWRTdGF0dXM7XG4gIGRhdGE/OiBCbG9iOyAvLyBvciBhbnkgYXBwcm9wcmlhdGUgdHlwZSBiYXNlZCBvbiB5b3VyIHNwZWNpZmljIHVzZSBjYXNlXG59O1xuIl19
@@ -1,18 +1,21 @@
1
1
  import { HttpEventType } from '@angular/common/http';
2
- import { Subject } from 'rxjs';
3
- import { map, takeUntil } from 'rxjs/operators';
2
+ import { BehaviorSubject, Subject } from 'rxjs';
3
+ import { takeUntil } from 'rxjs/operators';
4
4
  import { AXUploadStatus } from './network.types'; // Ensure correct import path
5
5
  export class AXUploadTask {
6
- constructor(observable, totalFileSize) {
7
- this.observable = observable;
6
+ constructor(http, request, totalFileSize) {
7
+ this.http = http;
8
+ this.request = request;
8
9
  this.totalFileSize = totalFileSize;
9
10
  this.cancelSignal = new Subject();
11
+ this.events = new BehaviorSubject({
12
+ progress: 0,
13
+ bytesTransferred: 0,
14
+ totalBytes: this.totalFileSize,
15
+ status: AXUploadStatus.StartingUpload,
16
+ });
10
17
  }
11
- get events() {
12
- return this.observable.pipe(takeUntil(this.cancelSignal), map((event) => this.handleEvent(event)));
13
- }
14
- handleEvent(event) {
15
- console.log(event.type);
18
+ handleEvent(event, failedMessage) {
16
19
  switch (event.type) {
17
20
  case HttpEventType.Sent:
18
21
  case HttpEventType.ResponseHeader:
@@ -47,11 +50,32 @@ export class AXUploadTask {
47
50
  totalBytes: this.totalFileSize,
48
51
  status: AXUploadStatus.UploadCanceled,
49
52
  };
53
+ default:
54
+ return {
55
+ progress: 0,
56
+ bytesTransferred: 0,
57
+ totalBytes: this.totalFileSize,
58
+ status: AXUploadStatus.UploadFailed,
59
+ message: failedMessage,
60
+ };
50
61
  }
51
62
  }
52
63
  cancel() {
53
64
  this.cancelSignal.next();
54
65
  this.cancelSignal.complete();
55
66
  }
67
+ start() {
68
+ this.http
69
+ .request(this.request)
70
+ .pipe(takeUntil(this.cancelSignal))
71
+ .subscribe({
72
+ error: (error) => {
73
+ this.events.next(this.handleEvent({ type: -1 }, error.statusText));
74
+ },
75
+ next: (event) => {
76
+ this.events.next(this.handleEvent(event));
77
+ },
78
+ });
79
+ }
56
80
  }
57
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLXRhc2suanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvcmUvbmV0d29yay9zcmMvbGliL3VwbG9hZC10YXNrLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBYSxhQUFhLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNoRSxPQUFPLEVBQWMsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxH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xlU2l6ZSxcbiAgICAgICAgICBzdGF0dXM6IEFYVXBsb2FkU3RhdHVzLlVwbG9hZENhbmNlbGVkLFxuICAgICAgICB9O1xuICAgICAgZGVmYXVsdDpcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICBwcm9ncmVzczogMCxcbiAgICAgICAgICBieXRlc1RyYW5zZmVycmVkOiAwLFxuICAgICAgICAgIHRvdGFsQnl0ZXM6IHRoaXMudG90YWxGaWxlU2l6ZSxcbiAgICAgICAgICBzdGF0dXM6IEFYVXBsb2FkU3RhdHVzLlVwbG9hZEZhaWxlZCxcbiAgICAgICAgICBtZXNzYWdlOiBmYWlsZWRNZXNzYWdlLFxuICAgICAgICB9O1xuICAgIH1cbiAgfVxuXG4gIGNhbmNlbCgpIHtcbiAgICB0aGlzLmNhbmNlbFNpZ25hbC5uZXh0KCk7XG4gICAgdGhpcy5jYW5jZWxTaWduYWwuY29tcGxldGUoKTtcbiAgfVxuXG4gIHN0YXJ0KCkge1xuICAgIHRoaXMuaHR0cFxuICAgICAgLnJlcXVlc3QodGhpcy5yZXF1ZXN0KVxuICAgICAgLnBpcGUodGFrZVVudGlsKHRoaXMuY2FuY2VsU2lnbmFsKSlcbiAgICAgIC5zdWJzY3JpYmUoe1xuICAgICAgICBlcnJvcjogKGVycm9yKSA9PiB7XG4gICAgICAgICAgdGhpcy5ldmVudHMubmV4dCh0aGlzLmhhbmRsZUV2ZW50KHsgdHlwZTogLTEgfSBhcyBhbnksIGVycm9yLnN0YXR1c1RleHQpKTtcbiAgICAgICAgfSxcbiAgICAgICAgbmV4dDogKGV2ZW50KSA9PiB7XG4gICAgICAgICAgdGhpcy5ldmVudHMubmV4dCh0aGlzLmhhbmRsZUV2ZW50KGV2ZW50KSk7XG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgfVxufVxuIl19
@@ -24,10 +24,10 @@ export class AXSafePipe {
24
24
  throw new Error(`Invalid safe type specified: ${type}`);
25
25
  }
26
26
  }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXSafePipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
28
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXSafePipe, isStandalone: true, name: "safe" }); }
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXSafePipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
28
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXSafePipe, isStandalone: true, name: "safe" }); }
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXSafePipe, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXSafePipe, decorators: [{
31
31
  type: Pipe,
32
32
  args: [{
33
33
  name: 'safe',
@@ -214,10 +214,10 @@ export class AXPlatform {
214
214
  this._setFullHeightRatio();
215
215
  }
216
216
  }
217
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPlatform, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
218
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPlatform, providedIn: 'root' }); }
217
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPlatform, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
218
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPlatform, providedIn: 'root' }); }
219
219
  }
220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPlatform, decorators: [{
220
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPlatform, decorators: [{
221
221
  type: Injectable,
222
222
  args: [{
223
223
  providedIn: 'root',