@acorex/core 18.4.4 → 18.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) 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 +2 -1
  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/string-util.mjs +1 -1
  31. package/esm2022/validation/lib/rules/between-rule.mjs +2 -2
  32. package/esm2022/validation/lib/rules/equal-rule.mjs +2 -2
  33. package/esm2022/validation/lib/rules/greater-than.mjs +3 -7
  34. package/esm2022/validation/lib/rules/length-rule.mjs +2 -5
  35. package/esm2022/validation/lib/rules/less-than-rule.mjs +3 -7
  36. package/esm2022/validation/lib/rules/maxlength-rule.mjs +3 -6
  37. package/esm2022/validation/lib/rules/minlength-rule.mjs +3 -6
  38. package/esm2022/validation/lib/rules/regex-rule.mjs +5 -8
  39. package/esm2022/validation/lib/rules/required-rule.mjs +6 -4
  40. package/esm2022/validation/lib/validation.config.mjs +1 -1
  41. package/esm2022/validation/lib/validation.module.mjs +10 -10
  42. package/esm2022/validation/lib/validation.service.mjs +3 -3
  43. package/esm2022/validation/lib/validation.types.mjs +1 -1
  44. package/fesm2022/acorex-core-config.mjs.map +1 -1
  45. package/fesm2022/acorex-core-date-time.mjs +87 -115
  46. package/fesm2022/acorex-core-date-time.mjs.map +1 -1
  47. package/fesm2022/acorex-core-file.mjs +42 -42
  48. package/fesm2022/acorex-core-file.mjs.map +1 -1
  49. package/fesm2022/acorex-core-format.mjs +2 -6
  50. package/fesm2022/acorex-core-format.mjs.map +1 -1
  51. package/fesm2022/acorex-core-image.mjs.map +1 -1
  52. package/fesm2022/acorex-core-pipes.mjs.map +1 -1
  53. package/fesm2022/acorex-core-platform.mjs +1 -0
  54. package/fesm2022/acorex-core-platform.mjs.map +1 -1
  55. package/fesm2022/acorex-core-storage.mjs +4 -10
  56. package/fesm2022/acorex-core-storage.mjs.map +1 -1
  57. package/fesm2022/acorex-core-translation.mjs +27 -27
  58. package/fesm2022/acorex-core-translation.mjs.map +1 -1
  59. package/fesm2022/acorex-core-utils.mjs +4 -12
  60. package/fesm2022/acorex-core-utils.mjs.map +1 -1
  61. package/fesm2022/acorex-core-validation.mjs +11 -29
  62. package/fesm2022/acorex-core-validation.mjs.map +1 -1
  63. package/file/index.d.ts +2 -2
  64. package/format/index.d.ts +1 -1
  65. package/format/lib/format.pipe.d.ts +1 -1
  66. package/package.json +12 -12
  67. package/platform/lib/platform.service.d.ts +1 -1
  68. package/translation/index.d.ts +2 -2
  69. package/translation/lib/translation.loader.d.ts +1 -1
  70. package/translation/lib/translator.pipe.d.ts +1 -1
  71. package/validation/lib/validation.service.d.ts +2 -2
@@ -1,10 +1,10 @@
1
- export * from './lib/formatters/datetime-formatter';
2
- export * from './lib/formatters/timeleft-formatter';
3
1
  export * from './lib/calendar.service';
4
2
  export * from './lib/dateTime.config';
5
3
  export * from './lib/datetime.class';
6
4
  export * from './lib/datetime.module';
7
5
  export * from './lib/datetime.pipe';
6
+ export * from './lib/formatters/datetime-formatter';
7
+ export * from './lib/formatters/timeleft-formatter';
8
8
  export * from './lib/georgian.calendar';
9
9
  export * from './lib/holidays.loader';
10
10
  export * from './lib/jalali.calendar';
@@ -4,4 +4,4 @@ export const AX_GLOBAL_CONFIG = new InjectionToken('AX_GLOBAL_CONFIG', {
4
4
  providedIn: 'root',
5
5
  factory: () => AXGlobalDefaultConfig,
6
6
  });
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlncy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29yZS9jb25maWcvc3JjL2xpYi9jb25maWdzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFNL0MsTUFBTSxDQUFDLE1BQU0scUJBQXFCLEdBQW1CLEVBQUUsQ0FBQztBQUV4RCxNQUFNLENBQUMsTUFBTSxnQkFBZ0IsR0FBRyxJQUFJLGNBQWMsQ0FDaEQsa0JBQWtCLEVBQ2xCO0lBQ0UsVUFBVSxFQUFFLE1BQU07SUFDbEIsT0FBTyxFQUFFLEdBQUcsRUFBRSxDQUFDLHFCQUFxQjtDQUNyQyxDQUNGLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvc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1xuXG5leHBvcnQgdHlwZSBBWEdsb2JhbENvbmZpZyA9IHtcbiAgW2tleTogc3RyaW5nXTogdW5rbm93bjtcbn07XG5cbmV4cG9ydCBjb25zdCBBWEdsb2JhbERlZmF1bHRDb25maWc6IEFYR2xvYmFsQ29uZmlnID0ge307XG5cbmV4cG9ydCBjb25zdCBBWF9HTE9CQUxfQ09ORklHID0gbmV3IEluamVjdGlvblRva2VuPEFYR2xvYmFsQ29uZmlnPignQVhfR0xPQkFMX0NPTkZJRycsIHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxuICBmYWN0b3J5OiAoKSA9PiBBWEdsb2JhbERlZmF1bHRDb25maWcsXG59KTtcbiJdfQ==
@@ -1,11 +1,11 @@
1
- export * from './lib/formatters/datetime-formatter';
2
- export * from './lib/formatters/timeleft-formatter';
3
1
  export * from './lib/calendar.service';
4
2
  export * from './lib/dateTime.config';
5
3
  export * from './lib/datetime.class';
6
4
  export * from './lib/datetime.module';
7
5
  export * from './lib/datetime.pipe';
6
+ export * from './lib/formatters/datetime-formatter';
7
+ export * from './lib/formatters/timeleft-formatter';
8
8
  export * from './lib/georgian.calendar';
9
9
  export * from './lib/holidays.loader';
10
10
  export * from './lib/jalali.calendar';
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvcmUvZGF0ZS10aW1lL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHFDQUFxQyxDQUFDO0FBQ3BELGNBQWMscUNBQXFDLENBQUM7QUFDcEQsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLHFCQUF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BcUMsQ0FBQztBQUNwRCxjQUFjLHFDQUFxQyxDQUFDO0FBQ3BELGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvY2FsZW5kYXIuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9kYXRlVGltZS5jb25maWcnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZGF0ZXRpbWUuY2xhc3MnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZGF0ZXRpbWUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RhdGV0aW1lLnBpcGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZm9ybWF0dGVycy9kYXRldGltZS1mb3JtYXR0ZXInO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZm9ybWF0dGVycy90aW1lbGVmdC1mb3JtYXR0ZXInO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZ2VvcmdpYW4uY2FsZW5kYXInO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvaG9saWRheXMubG9hZGVyJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2phbGFsaS5jYWxlbmRhcic7XG4iXX0=
@@ -47,4 +47,4 @@ export function dateTimeConfig(config = {}) {
47
47
  };
48
48
  return result;
49
49
  }
50
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZVRpbWUuY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL2RhdGUtdGltZS9zcmMvbGliL2RhdGVUaW1lLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx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ptbScsXG4gICAgICAgIGRhdGVUaW1lSW5wdXQ6ICd5eXl5L01NL2RkIEhIOm1tJyxcbiAgICAgICAgZGF0ZURpc3BsYXk6ICdERERELCBkIE1NTSB5eXl5JyxcbiAgICAgICAgdGltZURpc3BsYXk6ICdISDptbScsXG4gICAgICAgIGRhdGVUaW1lRGlzcGxheTogJ0REREQsIGQgTU1NIHl5eXkgSEg6bW0nLFxuICAgICAgfSxcbiAgICB9KSxcbiAgICBqYWxhbGk6IG5ldyBKYWxhbGlDYWxlbmRhcih7XG4gICAgICB3ZWVrZGF5czogWzYsIDAsIDEsIDIsIDMsIDQsIDVdLFxuICAgICAgd2Vla2VuZDogWzZdLFxuICAgICAgZm9ybWF0czoge1xuICAgICAgICBkYXRlSW5wdXQ6ICd5eXl5L01NL2RkJyxcbiAgICAgICAgdGltZUlucHV0OiAnSEg6bW0nLFxuICAgICAgICBkYXRlVGltZUlucHV0OiAneXl5eS9NTS9kZCBISDptbScsXG4gICAgICAgIGRhdGVEaXNwbGF5OiAnRERERCwgZCBNTU0geXl5eScsXG4gICAgICAgIHRpbWVEaXNwbGF5OiAnSEg6bW0nLFxuICAgICAgICBkYXRlVGltZURpc3BsYXk6ICdERERELCBkIE1NTSB5eXl5IEhIOm1tJyxcbiAgICAgIH0sXG4gICAgfSksXG4gIH0sXG59O1xuXG5leHBvcnQgdHlwZSBQYXJ0aWFsRGF0ZVRpbWVDb25maWcgPSBQYXJ0aWFsPEFYRGF0ZVRpbWVDb25maWc+O1xuXG5leHBvcnQgZnVuY3Rpb24gZGF0ZVRpbWVDb25maWcoXG4gIGNvbmZpZzogUGFydGlhbERhdGVUaW1lQ29uZmlnID0ge31cbik6IEFYRGF0ZVRpbWVDb25maWcge1xuICBjb25zdCByZXN1bHQgPSB7XG4gICAgLi4uQVhEYXRlVGltZURlZmF1bHRDb25maWcsXG4gICAgLi4uY29uZmlnLFxuICB9O1xuICByZXR1cm4gcmVzdWx0O1xufVxuIl19
50
+ //# sourceMappingURL=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OiBQYXJ0aWFsRGF0ZVRpbWVDb25maWcgPSB7fSk6IEFYRGF0ZVRpbWVDb25maWcge1xuICBjb25zdCByZXN1bHQgPSB7XG4gICAgLi4uQVhEYXRlVGltZURlZmF1bHRDb25maWcsXG4gICAgLi4uY29uZmlnLFxuICB9O1xuICByZXR1cm4gcmVzdWx0O1xufVxuIl19
@@ -26,4 +26,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
26
26
  type: Pipe,
27
27
  args: [{ name: 'axDate' }]
28
28
  }] });
29
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXRpbWUucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29yZS9kYXRlLXRpbWUvc3JjL2xpYi9kYXRldGltZS5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM1RCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQzs7QUFHdkQ7O0dBRUc7QUFFSCxNQUFNLE9BQU8sY0FBYztJQUQzQjtRQUVVLHFCQUFnQixHQUFzQixNQUFNLENBQUMsaUJBQWlCLENBQUMsQ0FBQztLQW9CekU7SUFsQkMsU0FBUyxDQUNQLEtBQWlDLEVBQ2pDLE1BQWUsRUFDZixZQUFxQjtRQUVyQixJQUFJLEtBQUssSUFBSSxJQUFJLEVBQUUsQ0FBQztZQUNsQixPQUFPLEVBQUUsQ0FBQztRQUNaLENBQUM7UUFDRCxJQUFJLFFBQVEsR0FBRyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsUUFBUSxDQUFDO1FBQzlDLElBQUksWUFBWSxFQUFFLENBQUM7WUFDakIsUUFBUSxHQUFH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cHJpdmF0ZSBfY2FsZW5kYXJTZXJ2aWNlOiBBWENhbGVuZGFyU2VydmljZSA9IGluamVjdChBWENhbGVuZGFyU2VydmljZSk7XG5cbiAgdHJhbnNmb3JtKHZhbHVlOiBEYXRlIHwgQVhEYXRlVGltZSB8IHN0cmluZywgZm9ybWF0Pzogc3RyaW5nLCBjYWxlbmRhck5hbWU/OiBzdHJpbmcpOiBzdHJpbmcge1xuICAgIGlmICh2YWx1ZSA9PSBudWxsKSB7XG4gICAgICByZXR1cm4gJyc7XG4gICAgfVxuICAgIGxldCBjYWxlbmRhciA9IHRoaXMuX2NhbGVuZGFyU2VydmljZS5jYWxlbmRhcjtcbiAgICBpZiAoY2FsZW5kYXJOYW1lKSB7XG4gICAgICBjYWxlbmRhciA9IHRoaXMuX2NhbGVuZGFyU2VydmljZS5yZXNvbHZlQ2FsZW5kYXIoY2FsZW5kYXJOYW1lKTtcbiAgICB9XG4gICAgY29uc3QgdmFsOiBBWERhdGVUaW1lID0gdGhpcy5fY2FsZW5kYXJTZXJ2aWNlLmNvbnZlcnQodmFsdWUsIGNhbGVuZGFyLm5hbWUoKSk7XG4gICAgcmV0dXJuIHZhbC5mb3JtYXQoZm9ybWF0KTtcbiAgfVxufVxuIl19
@@ -29,4 +29,4 @@ export class AXDateTimeFormatter {
29
29
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXDateTimeFormatter, decorators: [{
30
30
  type: Injectable
31
31
  }] });
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXRpbWUtZm9ybWF0dGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL2RhdGUtdGltZS9zcmMvbGliL2Zvcm1hdHRlcnMvZGF0ZXRpbWUtZm9ybWF0dGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3Mi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ogb3B0aW9ucy5sb2NhbGUsXG4gICAgICAgICAgICBjYWxlbmRhcjogb3B0aW9ucy5jYWxlbmRhciA/PyB0aGlzLmNhbGVuZGFyU2VydmljZS5jYWxlbmRhci5uYW1lKCksXG4gICAgICAgICAgfVxuICAgICAgICA6IHtcbiAgICAgICAgICAgIGZvcm1hdDogb3B0aW9ucyxcbiAgICAgICAgICAgIGNhbGVuZGFyOiB0aGlzLmNhbGVuZGFyU2VydmljZS5jYWxlbmRhci5uYW1lKCksXG4gICAgICAgICAgfTtcblxuICAgIHJldHVybiB0aGlzLmNhbGVuZGFyU2VydmljZVxuICAgICAgLmNyZWF0ZSh2YWx1ZSBhcyBEYXRlLCBlZmZlY3RpdmVPcHRpb25zLmNhbGVuZGFyIGFzIHN0cmluZylcbiAgICAgIC5mb3JtYXQoZWZmZWN0aXZlT3B0aW9ucy5mb3JtYXQsIHsgbG9jYWxlOiBlZmZlY3RpdmVPcHRpb25zLmxvY2FsZSB9KTtcbiAgfVxufVxuIl19
@@ -1,4 +1,4 @@
1
- import { AXCalendar, AXDateTime, } from './datetime.class';
1
+ import { AXCalendar, AXDateTime } from './datetime.class';
2
2
  export class GeorgianCalendar extends AXCalendar {
3
3
  /**
4
4
  * @ignore
@@ -32,10 +32,7 @@ export class GeorgianCalendar extends AXCalendar {
32
32
  }
33
33
  weekOfYear(date) {
34
34
  const firstDay = new AXDateTime(date, this).startOf('year');
35
- return Math.ceil(((date.getTime() - firstDay.date.getTime()) / 86400000 +
36
- firstDay.date.getDay() +
37
- 1) /
38
- 7);
35
+ return Math.ceil(((date.getTime() - firstDay.date.getTime()) / 86400000 + firstDay.date.getDay() + 1) / 7);
39
36
  }
40
37
  year(date) {
41
38
  return date.getFullYear();
@@ -89,9 +86,7 @@ export class GeorgianCalendar extends AXCalendar {
89
86
  newDate.setFullYear(newDate.getFullYear() + amount);
90
87
  // Handling for leap years: if the original date is February 29th, and the new year is not a leap year,
91
88
  // set the date to February 28th.
92
- if (date.getMonth() === 1 &&
93
- date.getDate() === 29 &&
94
- newDate.getMonth() !== 1) {
89
+ if (date.getMonth() === 1 && date.getDate() === 29 && newDate.getMonth() !== 1) {
95
90
  newDate.setMonth(1);
96
91
  newDate.setDate(28);
97
92
  }
@@ -200,4 +195,4 @@ export class GeorgianCalendar extends AXCalendar {
200
195
  return new AXDateTime(new Date(value), this);
201
196
  }
202
197
  }
203
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VvcmdpYW4uY2FsZW5kYXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvcmUvZGF0ZS10aW1lL3NyYy9saWIvZ2VvcmdpYW4uY2FsZW5kYXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFVBQVUsRUFFVixVQUFVLEdBR1gsTUFBTSxrQkFBa0IsQ0FBQztBQUUxQixNQUFNLE9BQU8sZ0JBQWlCLFNBQVEsVUFBVTtJQUM5Qzs7T0FFRztJQUNILFlBQVksTUFBd0I7UUFDbEMsS0FBSyxDQUFDLE1BQU0sQ0FBQyxDQUFDO0lBQ2hCLENBQUM7SUFFRCxNQUFNLENBQUMsS0FBa0I7UUFDdkIsT0FBTyxJQUFJLFVBQVUsQ0FDbkIsSUFBSSxJQUFJLENBQ04sS0FBSyxDQUFDLElBQUksRUFDVixLQUFLLENBQUMsS0FBSyxHQUFHLENBQUMsRUFDZixLQUFLLENBQUMsSUFBSSxFQUNWLEtBQUssQ0FBQyxLQUFLLElBQUksQ0FBQyxFQUNoQixLQUFLLENBQUMsT0FBTyxJQUFJLENBQUMsRUFDbEIsS0FBSyxDQUFDLE9BQU8sSUFBSSxDQUFDLEVBQ2xCLEtBQUssQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUNkLEVBQ0QsSUFBSSxDQUNMLENBQUM7SUFDSixDQUFDO0lBRUQsSUFBSTtRQUNGLE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xuICAgIHN3aXRjaCAodW5pdCkge1xuICAgICAgY2FzZSAnc2Vjb25kJzpcbiAgICAgICAgdmFsdWUgKz0gMTAwMCAqIGFtb3VudDtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICdtaW51dGUnOlxuICAgICAgICB2YWx1ZSArPSA2MDAwMCAqIGFtb3VudDtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICdob3VyJzpcbiAgICAgICAgdmFsdWUgKz0gMzYwMDAwMCAqIGFtb3VudDtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICdtb250aCc6IHtcbiAgICAgICAgY29uc3QgdiA9IG5ldyBEYXRlKHZhbHVlKTtcblxuICAgICAgICAvLyBDYWxjdWxhdGUgdGhlIG5ldyB5ZWFyIGFuZCBtb250aCBjb25zaWRlcmluZyB0aGUgYW1vdW50XG4gICAgICAgIGxldCBuZXdZZWFyID0gdi5nZXRGdWxsWWVhcigpO1xuICAgICAgICBsZXQgbmV3TW9udGggPSB2LmdldE1vbnRoKCkgKyBhbW91bnQ7XG5cbiAgICAgICAgLy8gQWRqdXN0IGZvciB5ZWFyIG92ZXJmbG93IG9yIHVuZGVyZmxvd1xuICAgICAgICB3aGlsZSAobmV3TW9udGggPiAxMSkge1xuICAgICAgICAgIG5ld01vbnRoIC09IDEyO1xuICAgICAgICAgIG5ld1llYXIrKztcbiAgICAgICAgfVxuICAgICAgICB3aGlsZSAobmV3TW9udGggPCAwKSB7XG4gICAgICAgICAgbmV3TW9udGggKz0gMTI7XG4gICAgICAgICAgbmV3WWVhci0tO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gU2V0IHRoZSBkYXRlIHRvIHRoZSBmaXJzdCBvZiB0aGUgbW9udGggdG8gcHJldmVudCBvdmVyZmxvd1xuICAgICAgICB2LnNldERhdGUoMSk7XG4gICAgICAgIHYuc2V0RnVsbFllYXIobmV3WWVhcik7XG4gICAgICAgIHYuc2V0TW9udGgobmV3TW9udGgpO1xuXG4gICAg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PT0gMjkgJiZcbiAgICAgICAgICBuZXdEYXRlLmdldE1vbnRoKCkgIT09IDFcbiAgICAgICAgKSB7XG4gICAgICAgICAgbmV3RGF0ZS5zZXRNb250aCgxKTtcbiAgICAgICAgICBuZXdEYXRlLnNldERhdGUoMjgpO1xuICAgICAgICB9XG4gICAgICAgIHZhbHVlID0gbmV3RGF0ZS52YWx1ZU9mKCk7XG4gICAgICAgIGJyZWFrO1xuICAgICAgfVxuICAgICAgY2FzZSAnZGF5JzpcbiAgICAgIGRlZmF1bHQ6XG4gICAgICAgIHZhbHVlICs9IDg2NDAwMDAwICogYW1vdW50O1xuICAgIH1cbiAgICByZXR1cm4gbmV3IEFYRGF0ZVRpbWUobmV3IERhdGUodmFsdWUpLCB0aGlzKTtcbiAgfVxuXG4gIHNldChkYXRlOiBEYXRlLCB1bml0OiBUaW1lVW5pdCwgdmFsdWU6IG51bWJlcik6IEFYRGF0ZVRpbWUge1xuICAgIGNvbnN0IGNsb25lID0gbmV3IERhdGUoZGF0ZS52YWx1ZU9mKCkpO1xuICAgIHN3aXRjaCAodW5pdCkge1xuICAgICAgY2FzZSAnc2Vjb25kJzpcbiAgICAgICAgY2xvbmUuc2V0SG91cnMoXG4gICAgICAgICAgY2xvbmUuZ2V0SG91cnMoKSxcbiAgICAgICAgICBjbG9uZS5nZXRNaW51dGVzKCksXG4gICAgICAgICAgdmFsdWUsXG4gICAgICAgICAgY2xvbmUuZ2V0TWlsbGlzZWNvbmRzKClcbiAgICAgICAgKTtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICdtaW51dGUnOlxuICAgICAgICBjbG9uZS5zZXRIb3VycyhcbiAgICAgICAgICBjbG9uZS5nZXRIb3VycygpLFxuICAgICAgICAgIHZhbHVlLFxuICAgICAgICAgIGNsb25lLmdldFNlY29uZHMoKSxcbiAgICAgICAgICBjbG9uZS5nZXRNaWxsaXNlY29uZHMoKVxuICAgICAgICApO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ2hvdXInOlxuICAgICAgICBjbG9uZS5zZXRIb3VycyhcbiAgICAgICAgICB2YWx1ZSxcbiAgICAgICAgICBjbG9uZS5nZXRNaW51dGVzKCksXG4gICAgICAgICAgY2xvbmUuZ2V0U2Vjb25kcygpLFxuICAgICAgICAgIGNsb25lLmdldE1pbGxpc2Vjb25kcygpXG4gICAgICAgICk7XG4gICAgICAgIGJyZWFrO1xuICAgICAgZGVmYXVsdDpcbiAgICAgIGNhc2UgJ2RheSc6XG4gICAgICAgIGNsb25lLnNldERhdGUodmFsdWUpO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ3dlZWsnOlxuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ21vbnRoJzpcbiAgICAgICAgY2xvbmUuc2V0TW9udGgoTWF0aC5tYXgoMCwgdmFsdWUgLSAxKSk7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAneWVhcic6XG4gICAgICAgIGNsb25lLnNldEZ1bGxZZWFyKHZhbHVlKTtcbiAgICAgICAgYnJlYWs7XG4gICAgfVxuICAgIHJldHVybiBuZXcgQVhEYXRlVGltZShjbG9uZSwgdGhpcyk7XG4gIH1cblxuICBzdGFydE9mKGRhdGU6IERhdGUsIHVuaXQ6IFRpbWVVbml0KTogQVhEYXRlVGltZSB7XG4gICAgY29uc3QgY2xvbmUgPSBuZXcgRGF0ZShkYXRlLnZhbHVlT2YoKSk7XG4gICAgc3dpdGNoICh1bml0KSB7XG4gICAgICBjYXNlICdzZWNvbmQnOlxuICAgICAgICBjbG9uZS5zZXRIb3VycyhcbiAgICAgICAgICBjbG9uZS5nZXRIb3VycygpLFxuICAgICAgICAgIGNsb25lLmdldE1pbnV0ZXMoKSxcbiAgICAgICAgICBjbG9uZS5nZXRTZWNvbmRzKCksXG4gICAgICAgICAgMFxuICAgICAgICApO1xuICAgICAgICByZXR1cm4gbmV3IEFYRGF0ZVRpbWUoY2xvbmUsIHRoaXMpO1xuICAgICAgY2FzZSAnbWludX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k5OSk7XG4gICAgICAgIHJldHVybiBuZXcgQVhEYXRlVGltZShjbG9uZSwgdGhpcyk7XG4gICAgICBjYXNlICd3ZWVrJzpcbiAgICAgICAgcmV0dXJuIHRoaXMuc3RhcnRPZihkYXRlLCAnd2VlaycpLmFkZCgnZGF5JywgNikuZW5kT2YoJ2RheScpO1xuICAgICAgY2FzZSAnbW9udGgnOiB7XG4gICAgICAgIGNvbnN0IGRhdGVPYmogPSBuZXcgRGF0ZShkYXRlLmdldEZ1bGxZZWFyKCksIGRhdGUuZ2V0TW9udGgoKSArIDEsIDApO1xuICAgICAgICBkYXRlT2JqLnNldEhvdXJzKDIzLCA1OSwgNTksIDk5OSk7XG4gICAgICAgIHJldHVybiBuZXcgQVhEYXRlVGltZShkYXRlT2JqLCB0aGlzKTtcbiAgICAgIH1cbiAgICAgIGNhc2UgJ3llYXInOlxuICAgICAgICBjbG9uZS5zZXRNb250aCgxMSk7XG4gICAgICAgIHJldHVybiBuZXcgQVhEYXRlVGltZShjbG9uZSwgdGhpcykuZW5kT2YoJ21vbnRoJyk7XG4gICAgfVxuICB9XG5cbiAgaXNMZWFwKGRhdGU6IERhdGUpIHtcbiAgICBsZXQgbGVhcFllYXIgPSBuZXcgRGF0ZShkYXRlLmdldEZ1bGxZZWFyKCksIDEsIDI5KTtcbiAgICByZXR1cm4gbGVhcFllYXIuZ2V0RGF0ZSgpID09IDI5O1xuICB9XG5cbiAgcGFyc2UodmFsdWU6IHN0cmluZyk6IEFYRGF0ZVRpbWUge1xuICAgIHJldHVybiBuZXcgQVhEYXRlVGltZShuZXcgRGF0ZSh2YWx1ZSksIHRoaXMpO1xuICB9XG59XG4iXX0=
@@ -10,4 +10,4 @@ export const AX_DATETIME_HOLIDAYS_LOADER = new InjectionToken('AX_DATETIME_HOLID
10
10
  return new AXHolidaysLoaderDefault();
11
11
  },
12
12
  });
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9saWRheXMubG9h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dKTtcbiAgfVxufVxuXG5leHBvcnQgY29uc3QgQVhfREFURVRJTUVfSE9MSURBWVNfTE9BREVSID0gbmV3IEluamVjdGlvblRva2VuPEFYSG9saWRheXNMb2FkZXI+KCdBWF9EQVRFVElNRV9IT0xJREFZU19MT0FERVInLCB7XG4gIHByb3ZpZGVkSW46ICdyb290JyxcbiAgZmFjdG9yeTogKCkgPT4ge1xuICAgIHJldHVybiBuZXcgQVhIb2xpZGF5c0xvYWRlckRlZmF1bHQoKTtcbiAgfSxcbn0pO1xuIl19
@@ -1,4 +1,4 @@
1
- import { AXCalendar, AXDateTime, } from './datetime.class';
1
+ import { AXCalendar, AXDateTime } from './datetime.class';
2
2
  export class JalaliCalendar extends AXCalendar {
3
3
  /**
4
4
  * @ignore
@@ -8,10 +8,7 @@ export class JalaliCalendar extends AXCalendar {
8
8
  /*
9
9
  Jalaali years starting the 33-year rule.
10
10
  */
11
- this.breaks = [
12
- -61, 9, 38, 199, 426, 686, 756, 818, 1111, 1181, 1210, 1635, 2060, 2097,
13
- 2192, 2262, 2324, 2394, 2456, 3178,
14
- ];
11
+ this.breaks = [-61, 9, 38, 199, 426, 686, 756, 818, 1111, 1181, 1210, 1635, 2060, 2097, 2192, 2262, 2324, 2394, 2456, 3178];
15
12
  }
16
13
  create(value) {
17
14
  const a = this.toGregorian(value.year, value.month, value.date);
@@ -25,7 +22,7 @@ export class JalaliCalendar extends AXCalendar {
25
22
  }
26
23
  dayOfYear(date) {
27
24
  const j = this.toJalaali(date);
28
- return ((j.month <= 6 ? (j.month - 1) * 31 : 6 * 31 + (j.month - 7) * 30) + j.day);
25
+ return (j.month <= 6 ? (j.month - 1) * 31 : 6 * 31 + (j.month - 7) * 30) + j.day;
29
26
  }
30
27
  dayOfWeek(date) {
31
28
  return date.getDay() == 6 ? 1 : date.getDay() + 2;
@@ -33,10 +30,7 @@ export class JalaliCalendar extends AXCalendar {
33
30
  weekOfYear(date) {
34
31
  //TODO : apply jalali
35
32
  const firstDay = new AXDateTime(date, this).startOf('year');
36
- return Math.ceil(((date.getTime() - firstDay.date.getTime()) / 86400000 +
37
- firstDay.date.getDay() +
38
- 1) /
39
- 7);
33
+ return Math.ceil(((date.getTime() - firstDay.date.getTime()) / 86400000 + firstDay.date.getDay() + 1) / 7);
40
34
  }
41
35
  year(date) {
42
36
  return this.toJalaali(date).year;
@@ -167,9 +161,7 @@ export class JalaliCalendar extends AXCalendar {
167
161
  clone.setHours(0, 0, 0, 0);
168
162
  return new AXDateTime(clone, this);
169
163
  case 'week':
170
- return new AXDateTime(clone, this)
171
- .add('day', -this.dayOfWeek(clone) + 1)
172
- .startOf('day');
164
+ return new AXDateTime(clone, this).add('day', -this.dayOfWeek(clone) + 1).startOf('day');
173
165
  case 'month': {
174
166
  const jy = this.year(date);
175
167
  const jm = this.monthOfYear(date);
@@ -254,12 +246,7 @@ export class JalaliCalendar extends AXCalendar {
254
246
  Checks whether a Jalaali date is valid or not.
255
247
  */
256
248
  isValidJalaaliDate(jy, jm, jd) {
257
- return (jy >= -61 &&
258
- jy <= 3177 &&
259
- jm >= 1 &&
260
- jm <= 12 &&
261
- jd >= 1 &&
262
- jd <= this.jalaaliMonthLength(jy, jm));
249
+ return jy >= -61 && jy <= 3177 && jm >= 1 && jm <= 12 && jd >= 1 && jd <= this.jalaaliMonthLength(jy, jm);
263
250
  }
264
251
  /*
265
252
  Is this a leap year or not?
@@ -347,11 +334,7 @@ export class JalaliCalendar extends AXCalendar {
347
334
  }
348
335
  j2d(jy, jm, jd) {
349
336
  let r = this.jalCal(jy, true);
350
- return (this.g2d(r.gy, 3, r.march) +
351
- (jm - 1) * 31 -
352
- this.div(jm, 7) * (jm - 7) +
353
- jd -
354
- 1);
337
+ return this.g2d(r.gy, 3, r.march) + (jm - 1) * 31 - this.div(jm, 7) * (jm - 7) + jd - 1;
355
338
  }
356
339
  d2j(jdn) {
357
340
  let gy = this.d2g(jdn).gy, // Calculate Gregorian year (gy).
@@ -390,14 +373,8 @@ export class JalaliCalendar extends AXCalendar {
390
373
  };
391
374
  }
392
375
  g2d(gy, gm, gd) {
393
- let d = this.div((gy + this.div(gm - 8, 6) + 100100) * 1461, 4) +
394
- this.div(153 * this.mod(gm + 9, 12) + 2, 5) +
395
- gd -
396
- 34840408;
397
- d =
398
- d -
399
- this.div(this.div(gy + 100100 + this.div(gm - 8, 6), 100) * 3, 4) +
400
- 752;
376
+ let d = this.div((gy + this.div(gm - 8, 6) + 100100) * 1461, 4) + this.div(153 * this.mod(gm + 9, 12) + 2, 5) + gd - 34840408;
377
+ d = d - this.div(this.div(gy + 100100 + this.div(gm - 8, 6), 100) * 3, 4) + 752;
401
378
  return d;
402
379
  }
403
380
  d2g(jdn) {
@@ -437,4 +414,4 @@ export class JalaliCalendar extends AXCalendar {
437
414
  return a - ~~(a / b) * b;
438
415
  }
439
416
  }
440
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiamFsYWxpLmNhbGVuZGFyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL2RhdGUtdGltZS9zcmMvbGliL2phbGFsaS5jYWxlbmRhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsVUFBVSxFQUVWLFVBQVUsR0FHWCxNQUFNLGtCQUFrQixDQUFDO0FBRTFCLE1BQU0sT0FBTyxjQUFlLFNBQVEsVUFBVTtJQUM1Qzs7T0FFRztJQUNILFlBQVksTUFBd0I7UUFDbEMsS0FBSyxDQUFDLE1BQU0sQ0FBQyxDQUFDO1FBR2hCOztRQUVBO1FBQ1EsV0FBTSxHQUFHO1lBQ2YsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxFQUFFLEVBQUUsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLElBQUksRUFBRSxJQUFJLEVBQU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b3Iobm0gLyAxMikgOiAwO1xuICAgICAgICAvLyBqeSArPSBueTtcbiAgICAgICAgLy8gam0gPSBubSAtIG55ICogMTI7XG4gICAgICAgIC8vIGNvbnN0IHZ2ID0gdGhpcy50b0dyZWdvcmlhbihqeSwgam0sIGpkKTtcbiAgICAgICAgLy8gdi5zZXRGdWxsWWVhcih2di5nZXRGdWxsWWVhcigpKTtcbiAgICAgICAgLy8gdi5zZXRNb250aCh2di5nZXRNb250aCgpKTtcbiAgICAgICAgLy8gdi5zZXREYXRlKHZ2LmdldERhdGUoKSk7XG4gICAgICAgIC8vIHZhbHVlID0gdi52YWx1ZU9mKCk7XG4gICAgICAgIC8vIGJyZWFrO1xuICAgICAgICBsZXQgamQgPSB0aGlzLmRheU9mTW9udGgoZGF0ZSk7XG4gICAgICAgIGxldCBqbSA9IHRoaXMubW9udGhPZlllYXIoZGF0ZSk7XG4gICAgICAgIGxldCBqeSA9IHRoaXMueWVhcihkYXRlKTtcblxuICAgICAgICBsZXQgbmV3TW9udGggPSBqbSArIGFtb3VudDtcbiAgICAgICAgbGV0IHllYXJzVG9BZGQgPSBNYXRoLmZsb29yKG5ld01vbnRoIC8gMTIpO1xuICAgICAgICBuZXdNb250aCA9IG5ld01vbnRoICUgMTI7XG4gICAgICAgIGlmIChuZXdNb250aCA8PSAwKSB7XG4gICAgICAgICAgbmV3TW9udGggKz0gMTI7XG4gICAgICAgICAgeWVhcnNUb0FkZC0tO1xuICAgICAgICB9XG5cbiAgICAgICAgankgKz0geWVhcnNUb0FkZDtcblxuICAgICAgICAvLyBUZW1wb3Jhcnkgc2V0IHRvIGZpcnN0IG9mIHRoZSBtb250aCB0byBwcmV2ZW50IHJvbGxvdmVyXG4gICAgICAgIGNvbnN0IHRlbXBEYXRlID0gdGhpcy50b0dyZWdvcmlhbihqeSwgbmV3TW9udGgsIDEpO1xuICAgICAgICBjb25zdCBncmVnb3JpYW5EYXRlID0gbmV3IERhdGUoXG4gICAgICAgICAgdGVtcERhdGUu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zZSAnbWludXRlJzpcbiAgICAgICAgY2xvbmUuc2V0SG91cnMoXG4gICAgICAgICAgY2xvbmUuZ2V0SG91cnMoKSxcbiAgICAgICAgICB2YWx1ZSxcbiAgICAgICAgICBjbG9uZS5nZXRTZWNvbmRzKCksXG4gICAgICAgICAgY2xvbmUuZ2V0TWlsbGlzZWNvbmRzKClcbiAgICAgICAgKTtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICdob3VyJzpcbiAgICAgICAgY2xvbmUuc2V0SG91cnMoXG4gICAgICAgICAgdmFsdWUsXG4gICAgICAgICAgY2xvbmUuZ2V0TWludXRlcygpLFxuICAgICAgICAgIGNsb25lLmdldFNlY29uZHMoKSxcbiAgICAgICAgICBjbG9uZS5nZXRNaWxsaXNlY29uZHMoKVxuICAgICAgICApO1xuICAgICAgICBicmVhaztcbiAgICAgIGRlZmF1bHQ6XG4gICAgICBjYXNlICdkYXknOiB7XG4gICAgICAgIGNvbnN0IGdEYXRlID0gdGhpcy50b0dyZWdvcmlhbihqRGF0ZS55ZWFyLCBqRGF0ZS5tb250aCwgdmFsdWUpO1xuICAgICAgICBjbG9uZS5zZXREYXRlKGdEYXRlLmdldERhdGUoKSk7XG4gICAgICAgIGJyZWFrO1xuICAgICAgfVxuICAgICAgY2FzZSAnd2Vlayc6XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAnbW9udGgnOiB7XG4gICAgICAgIGNvbnN0IGdEYXRlMiA9IHRoaXMudG9HcmVnb3JpYW4oakRhdGUueWVhciwgdmFsdWUsIGpEYXRlLmRheSk7XG4gICAgICAgIGNsb25lLnNldE1vbnRoKGdEYXRlMi5nZXRNb250aCgpKTtcbiAgICAgICAgYnJlYWs7XG4gICAgICB9XG4gICAgICBjYXNlICd5ZWFyJzoge1xuICAgICAgICBjb25zdCBnRGF0ZTMgPSB0aGlzLnRvR3JlZ29yaWFuKHZhbHVlLCBqRGF0ZS5tb250aCwgakRhdGUuZGF5KTtcbiAgICAgICAgY2x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tcbiAgICAgICAgICBqeToganksXG4gICAgICAgICAgam06IGptLFxuICAgICAgICAgIGpkOiBqZCxcbiAgICAgICAgfTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIC8vIFRoZSByZW1haW5pbmcgbW9udGhzLlxuICAgICAgICBrIC09IDE4NjtcbiAgICAgIH1cbiAgICB9IGVsc2Uge1xuICAgICAgLy8gUHJldmlvdXMgSmFsYWFsaSB5ZWFyLlxuICAgICAgankgLT0gMTtcbiAgICAgIGsgKz0gMTc5O1xuICAgICAgaWYgKHIubGVhcCA9PT0gMSkgayArPSAxO1xuICAgIH1cbiAgICBqbSA9IDcgKyB0aGlzLmRpdihrLCAzMCk7XG4gICAgamQgPSB0aGlzLm1vZChrLCAzMCkgKyAxO1xuICAgIHJldHVybiB7XG4gICAgICBqeToganksXG4gICAgICBqbTogam0sXG4gICAgICBqZDogamQsXG4gICAgfTtcbiAgfVxuXG4gIHByaXZhdGUgZzJkKGd5OiBudW1iZXIsIGdtOiBudW1iZXIsIGdkOiBudW1iZXIpOiBudW1iZXIge1xuICAgIGxldCBkID1cbiAgICAgIHRoaXMuZGl2KChneSArIHRoaXMuZGl2KGdtIC0gOCwgNikgKyAxMDAxMDApICogMTQ2MSwgNCkgK1xuICAgICAgdGhpcy5kaXYoMTUzICogdGhpcy5tb2QoZ20gKyA5LCAxMikgKyAyLCA1KSArXG4gICAgICBnZCAtXG4gICAgICAzNDg0MDQwODtcbiAgICBkID1cbiAgICAgIGQgLVxuICAgICAgdGhpcy5kaXYodGhpcy5kaXYoZ3kgKyAxMDAxMDAgKyB0aGlzLmRpdihnbSAtIDgsIDYpLCAxMDApICogMywgNCkgK1xuICAgICAgNzUyO1xuICAgIHJldHVybiBkO1xuICB9XG5cbiAgcHJpdmF0ZSBkMmcoamRuOiBudW1iZXIpIHtcbiAgICBsZXQgaiwgaSwgZ2QsIGdtLCBneTtcbiAgICBqID0gNCAqIGpkbiArIDEzOTM2MTYzMTtcbiAgICBqID0gaiArIHR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YXRlIGphbGFhbGlUb0RhdGVPYmplY3QoXG4gICAgank6IG51bWJlcixcbiAgICBqbTogbnVtYmVyLFxuICAgIGpkOiBudW1iZXIsXG4gICAgaDogbnVtYmVyID0gMCxcbiAgICBtOiBudW1iZXIgPSAwLFxuICAgIHM6IG51bWJlciA9IDAsXG4gICAgbXM6IG51bWJlciA9IDBcbiAgKSB7XG4gICAgbGV0IGdyZWdvcmlhbkNhbGVuZGVyRGF0ZSA9IHRoaXMudG9HcmVnb3JpYW4oanksIGptLCBqZCk7XG5cbiAgICByZXR1cm4gbmV3IERhdGUoXG4gICAgICBncmVnb3JpYW5DYWxlbmRlckRhdGUuZ2V0RnVsbFllYXIoKSxcbiAgICAgIGdyZWdvcmlhbkNhbGVuZGVyRGF0ZS5nZXRNb250aCgpIC0gMSxcbiAgICAgIGdyZWdvcmlhbkNhbGVuZGVyRGF0ZS5nZXREYXRlKCksXG4gICAgICBoIHx8IDAsXG4gICAgICBtIHx8IDAsXG4gICAgICBzIHx8IDAsXG4gICAgICBtcyB8fCAwXG4gICAgKTtcbiAgfVxuXG4gIC8qXG4gICAgVXRpbGl0eSBoZWxwZXIgZnVuY3Rpb25zLlxuICAqL1xuXG4gIHByaXZhdGUgZGl2KGE6IG51bWJlciwgYjogbnVtYmVyKSB7XG4gICAgcmV0dXJuIH5+KGEgLyBiKTtcbiAgfVxuXG4gIHByaXZhdGUgbW9kKGE6IG51bWJlciwgYjogbnVtYmVyKSB7XG4gICAgcmV0dXJuIGEgLSB+fihhIC8gYikgKiBiO1xuICB9XG59XG4iXX0=
417
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiamFsYWxpLmNhbGVuZGFyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL2RhdGUtdGltZS9zcmMvbGliL2phbGFsaS5jYWxlbmRhci50cyJdLCJuYW1lcyI6W10sIm1hcHBp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gICAgICAgIC8vIGNvbnN0IG5tID0gam0gKyBhbW91bnQ7XG4gICAgICAgIC8vIGNvbnN0IG55ID0gbm0gJSAxMiA/IE1hdGguZmxvb3Iobm0gLyAxMikgOiAwO1xuICAgICAgICAvLyBqeSArPSBueTtcbiAgICAgICAgLy8gam0gPSBubSAtIG55ICogMTI7XG4gICAgICAgIC8vIGNvbnN0IHZ2ID0gdGhpcy50b0dyZWdvcmlhbihqeSwgam0sIGpkKTtcbiAgICAgICAgLy8gdi5zZXRGdWxsWWVhcih2di5nZXRGdWxsWWVhcigpKTtcbiAgICAgICAgLy8gdi5zZXRNb250aCh2di5nZXRNb250aCgpKTtcbiAgICAgICAgLy8gdi5zZXREYXRlKHZ2LmdldERhdGUoKSk7XG4gICAgICAgIC8vIHZhbHVlID0gdi52YWx1ZU9mKCk7XG4gICAgICAgIC8vIGJyZWFrO1xuICAgICAgICBsZXQgamQgPSB0aGlzLmRheU9mTW9udGgoZGF0ZSk7XG4gICAgICAgIGxldCBqbSA9IHRoaXMubW9udGhPZlllYXIoZGF0ZSk7XG4gICAgICAgIGxldCBqeSA9IHRoaXMueWVhcihkYXRlKTtcblxuICAgICAgICBsZXQgbmV3TW9udGggPSBqbSArIGFtb3VudDtcbiAgICAgICAgbGV0IHllYXJzVG9BZGQgPSBNYXRoLmZsb29yKG5ld01vbnRoIC8gMTIpO1xuICAgICAgICBuZXdNb250aCA9IG5ld01vbnRoICUgMTI7XG4gICAgICAgIGlmIChuZXdNb250aCA8PSAwKSB7XG4gICAgICAgICAgbmV3TW9udGggKz0gMTI7XG4gICAgICAgICAgeWVhcnNUb0FkZC0tO1xuICAgICAgICB9XG5cbiAgICAgICAgankgKz0geWVhcnNUb0FkZDtcblxuICAgICAgICAvLyBUZW1wb3Jhcnkgc2V0IHRvIGZpcnN0IG9mIHRoZSBtb250aCB0byBwcmV2ZW50IHJvbGxvdmVyXG4gICAgICAgIGNvbnN0IHRlbXBEYXRlID0gdGhpcy50b0dyZWdvcmlhbih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udW1iZXIpIHtcbiAgICBsZXQgZ3kgPSB0aGlzLmQyZyhqZG4pLmd5LCAvLyBDYWxjdWxhdGUgR3JlZ29yaWFuIHllYXIgKGd5KS5cbiAgICAgIGp5ID0gZ3kgLSA2MjEsXG4gICAgICByID0gdGhpcy5qYWxDYWwoanksIGZhbHNlKSxcbiAgICAgIGpkbjFmID0gdGhpcy5nMmQoZ3ksIDMsIHIubWFyY2gpLFxuICAgICAgamQsXG4gICAgICBqbSxcbiAgICAgIGs7XG5cbiAgICAvLyBGaW5kIG51bWJlciBvZiBkYXlzIHRoYXQgcGFzc2VkIHNpbmNlIDEgRmFydmFyZGluLlxuICAgIGsgPSBqZG4gLSBqZG4xZjtcbiAgICBpZiAoayA+PSAwKSB7XG4gICAgICBpZiAoayA8PSAxODUpIHtcbiAgICAgICAgLy8gVGhlIGZpcnN0IDYgbW9udGhzLlxuICAgICAgICBqbSA9IDEgKyB0aGlzLmRpdihrLCAzMSk7XG4gICAgICAgIGpkID0gdGhpcy5tb2QoaywgMzEpICsgMTtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICBqeToganksXG4gICAgICAgICAgam06IGptLFxuICAgICAgICAgIGpkOiBqZCxcbiAgICAgICAgfTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIC8vIFRoZSByZW1haW5pbmcgbW9udGhzLlxuICAgICAgICBrIC09IDE4NjtcbiAgICAgIH1cbiAgICB9IGVsc2Uge1xuICAgICAgLy8gUHJldmlvdXMgSmFsYWFsaSB5ZWFyLlxuICAgICAgankgLT0gMTtcbiAgICAgIGsgKz0gMTc5O1xuICAgICAgaWYgKHIubGVhcCA9PT0gMSkgayArPSAxO1xuICAgIH1cbiAgICBqbSA9IDcgKyB0aGlzLmRpdihrLCAzMCk7XG4gICAgamQgPSB0aGlzLm1vZChrLCAzMCkgKyAxO1xuICAgIHJldHVybiB7XG4gICAgICBqeToganksXG4gICAgICBqbTogam0sXG4gICAgICBqZDogamQsXG4gICAgfTtcbiA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xwZXIgZnVuY3Rpb25zLlxuICAqL1xuXG4gIHByaXZhdGUgZGl2KGE6IG51bWJlciwgYjogbnVtYmVyKSB7XG4gICAgcmV0dXJuIH5+KGEgLyBiKTtcbiAgfVxuXG4gIHByaXZhdGUgbW9kKGE6IG51bWJlciwgYjogbnVtYmVyKSB7XG4gICAgcmV0dXJuIGEgLSB+fihhIC8gYikgKiBiO1xuICB9XG59XG4iXX0=
@@ -1,7 +1,7 @@
1
- export * from './lib/file-size-formatter';
2
1
  export * from './lib/file-download-ref.class';
3
2
  export * from './lib/file-download-result.class';
3
+ export * from './lib/file-size-formatter';
4
4
  export * from './lib/file-upload-ref.class';
5
- export * from './lib/file.service';
6
5
  export * from './lib/file.module';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvcmUvZmlsZS9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsa0NBQWtDLENBQUM7QUFDakQsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9maWxlLXNpemUtZm9ybWF0dGVyJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2ZpbGUtZG93bmxvYWQtcmVmLmNsYXNzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2ZpbGUtZG93bmxvYWQtcmVzdWx0LmNsYXNzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2ZpbGUtdXBsb2FkLXJlZi5jbGFzcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9maWxlLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZmlsZS5tb2R1bGUnO1xuIl19
6
+ export * from './lib/file.service';
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvcmUvZmlsZS9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywrQkFBK0IsQ0FBQztBQUM5QyxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9maWxlLWRvd25sb2FkLXJlZi5jbGFzcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9maWxlLWRvd25sb2FkLXJlc3VsdC5jbGFzcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9maWxlLXNpemUtZm9ybWF0dGVyJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2ZpbGUtdXBsb2FkLXJlZi5jbGFzcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9maWxlLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9maWxlLnNlcnZpY2UnO1xuIl19
@@ -9,4 +9,4 @@ export class AXFileDownloadRef extends Promise {
9
9
  }
10
10
  }
11
11
  }
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS1kb3dubG9hZC1yZWYuY2xhc3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvcmUvZmlsZS9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IHtcbiAgICAgIHRoaXMuYWJvcnRNZXRob2QoKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
@@ -9,4 +9,4 @@ export class AXFileUploadRef extends Promise {
9
9
  }
10
10
  }
11
11
  }
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQtcmVmLmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL2ZpbGUvc3JjL2xpYi9maWxlLXVwbG9hZC1yZWYuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLGVBQXlCLFNBQVEsT0FBVTtJQUV0RCxZQUNFLFFBR1M7UUFFVCxLQUFLLENBQUMsUUFBZSxDQUFDLENBQUM7SUFDekIsQ0FBQztJQUNELHFCQUFxQjtJQUNkLEtBQUs7UUFDVixJQUFJLElBQUksQ0FBQyxXQUFXLEVBQUUsQ0FBQztZQUNyQixJQUFJLENBQUMsV0FBVyxFQUFFLENBQUM7UUFDckIsQ0FBQztJQUNILENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBBWEZpbGVVcGxvYWRSZWY8VCA9IGFueT4gZXh0ZW5kcyBQcm9taXNlPFQ+IHtcbiAgcHVibGljIGFib3J0TWV0aG9kOiAoKSA9PiB2b2lkO1xuICBjb25zdHJ1Y3RvcihcbiAgICBleGVjdXRvcjogKFxuICAgICAgcmVzb2x2ZTogKHZhbHVlPzogUHJvbWlzZUxpa2U8VD4pID0+IHZvaWQsXG4gICAgICByZWplY3Q6IChyZWFzb24/OiBhbnkpID0+IHZvaWRcbiAgICApID0+IHZvaWRcbiAgKSB7XG4gICAgc3VwZXIoZXhlY3V0b3IgYXMgYW55KTtcbiAgfVxuICAvL2Fib3J0IHRoZSBvcGVyYXRpb25cbiAgcHVibGljIGFib3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ldGhvZCkge1xuICAgICAgdGhpcy5hYm9ydE1ldGhvZCgpO1xuICAgIH1cbiAgfVxufVxuIl19
@@ -1,8 +1,8 @@
1
- export * from './lib/format.types';
2
1
  export * from './lib/format.config';
3
2
  export * from './lib/format.module';
4
3
  export * from './lib/format.pipe';
5
4
  export * from './lib/format.service';
5
+ export * from './lib/format.types';
6
6
  export * from './lib/formatters/number-formatter';
7
7
  export * from './lib/formatters/string-formatter';
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvcmUvZm9ybWF0L3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLG1DQUFtQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvZm9ybWF0LnR5cGVzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2Zvcm1hdC5jb25maWcnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZm9ybWF0Lm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9mb3JtYXQucGlwZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9mb3JtYXQuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9mb3JtYXR0ZXJzL251bWJlci1mb3JtYXR0ZXInO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZm9ybWF0dGVycy9zdHJpbmctZm9ybWF0dGVyJztcbiJdfQ==
8
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