@acorex/core 18.16.0-next.8 → 19.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/fesm2022/acorex-core-config.mjs +3 -3
  2. package/fesm2022/acorex-core-date-time.mjs +23 -20
  3. package/fesm2022/acorex-core-date-time.mjs.map +1 -1
  4. package/fesm2022/acorex-core-events.mjs +3 -3
  5. package/fesm2022/acorex-core-file.mjs +10 -10
  6. package/fesm2022/acorex-core-format.mjs +17 -16
  7. package/fesm2022/acorex-core-format.mjs.map +1 -1
  8. package/fesm2022/acorex-core-image.mjs +3 -3
  9. package/fesm2022/acorex-core-network.mjs +3 -3
  10. package/fesm2022/acorex-core-pipes.mjs +3 -3
  11. package/fesm2022/acorex-core-platform.mjs +3 -3
  12. package/fesm2022/acorex-core-storage.mjs +9 -9
  13. package/fesm2022/acorex-core-translation.mjs +27 -27
  14. package/fesm2022/acorex-core-translation.mjs.map +1 -1
  15. package/fesm2022/acorex-core-utils.mjs +12 -11
  16. package/fesm2022/acorex-core-utils.mjs.map +1 -1
  17. package/fesm2022/acorex-core-validation.mjs +40 -40
  18. package/package.json +3 -37
  19. package/esm2022/acorex-core.mjs +0 -5
  20. package/esm2022/common/acorex-core-common.mjs +0 -5
  21. package/esm2022/common/countries/countries.data.mjs +0 -2640
  22. package/esm2022/common/countries/country.mjs +0 -2
  23. package/esm2022/common/index.mjs +0 -3
  24. package/esm2022/config/acorex-core-config.mjs +0 -5
  25. package/esm2022/config/index.mjs +0 -3
  26. package/esm2022/config/lib/configs.mjs +0 -7
  27. package/esm2022/config/lib/configs.service.mjs +0 -27
  28. package/esm2022/date-time/acorex-core-date-time.mjs +0 -5
  29. package/esm2022/date-time/index.mjs +0 -11
  30. package/esm2022/date-time/lib/calendar.service.mjs +0 -93
  31. package/esm2022/date-time/lib/dateTime.config.mjs +0 -50
  32. package/esm2022/date-time/lib/datetime.class.mjs +0 -337
  33. package/esm2022/date-time/lib/datetime.module.mjs +0 -28
  34. package/esm2022/date-time/lib/datetime.pipe.mjs +0 -29
  35. package/esm2022/date-time/lib/formatters/datetime-formatter.mjs +0 -38
  36. package/esm2022/date-time/lib/formatters/time-duration-formatter.mjs +0 -52
  37. package/esm2022/date-time/lib/formatters/timeleft-formatter.mjs +0 -90
  38. package/esm2022/date-time/lib/georgian.calendar.mjs +0 -198
  39. package/esm2022/date-time/lib/holidays.loader.mjs +0 -13
  40. package/esm2022/date-time/lib/jalali.calendar.mjs +0 -417
  41. package/esm2022/events/acorex-core-events.mjs +0 -5
  42. package/esm2022/events/index.mjs +0 -3
  43. package/esm2022/events/lib/event.service.mjs +0 -43
  44. package/esm2022/events/lib/event.type.mjs +0 -6
  45. package/esm2022/file/acorex-core-file.mjs +0 -5
  46. package/esm2022/file/index.mjs +0 -4
  47. package/esm2022/file/lib/file-size-formatter.mjs +0 -24
  48. package/esm2022/file/lib/file.module.mjs +0 -20
  49. package/esm2022/file/lib/file.service.mjs +0 -77
  50. package/esm2022/format/acorex-core-format.mjs +0 -5
  51. package/esm2022/format/index.mjs +0 -8
  52. package/esm2022/format/lib/format.config.mjs +0 -3
  53. package/esm2022/format/lib/format.module.mjs +0 -64
  54. package/esm2022/format/lib/format.pipe.mjs +0 -33
  55. package/esm2022/format/lib/format.service.mjs +0 -93
  56. package/esm2022/format/lib/format.types.mjs +0 -2
  57. package/esm2022/format/lib/formatters/number-formatter.mjs +0 -74
  58. package/esm2022/format/lib/formatters/string-formatter.mjs +0 -17
  59. package/esm2022/image/acorex-core-image.mjs +0 -5
  60. package/esm2022/image/index.mjs +0 -2
  61. package/esm2022/image/lib/image.service.mjs +0 -48
  62. package/esm2022/index.mjs +0 -2
  63. package/esm2022/memorize/acorex-core-memorize.mjs +0 -5
  64. package/esm2022/memorize/index.mjs +0 -2
  65. package/esm2022/memorize/lib/memorize.decorator.mjs +0 -19
  66. package/esm2022/network/acorex-core-network.mjs +0 -5
  67. package/esm2022/network/index.mjs +0 -5
  68. package/esm2022/network/lib/download-task.mjs +0 -47
  69. package/esm2022/network/lib/network.service.mjs +0 -85
  70. package/esm2022/network/lib/network.types.mjs +0 -16
  71. package/esm2022/network/lib/upload-task.mjs +0 -81
  72. package/esm2022/pipes/acorex-core-pipes.mjs +0 -5
  73. package/esm2022/pipes/index.mjs +0 -2
  74. package/esm2022/pipes/lib/safe/safe.pipe.mjs +0 -38
  75. package/esm2022/platform/acorex-core-platform.mjs +0 -5
  76. package/esm2022/platform/index.mjs +0 -2
  77. package/esm2022/platform/lib/platform.service.mjs +0 -293
  78. package/esm2022/storage/acorex-core-storage.mjs +0 -5
  79. package/esm2022/storage/cookie-storage.service.mjs +0 -196
  80. package/esm2022/storage/index.mjs +0 -5
  81. package/esm2022/storage/local-storage.service.mjs +0 -59
  82. package/esm2022/storage/session-storage.service.mjs +0 -35
  83. package/esm2022/storage/storage.interface.mjs +0 -2
  84. package/esm2022/translation/acorex-core-translation.mjs +0 -5
  85. package/esm2022/translation/index.mjs +0 -9
  86. package/esm2022/translation/lib/translation-scope.resolver.mjs +0 -11
  87. package/esm2022/translation/lib/translation.config.mjs +0 -20
  88. package/esm2022/translation/lib/translation.loader.mjs +0 -14
  89. package/esm2022/translation/lib/translation.module.mjs +0 -40
  90. package/esm2022/translation/lib/translation.service.mjs +0 -215
  91. package/esm2022/translation/lib/translation.types.mjs +0 -2
  92. package/esm2022/translation/lib/translator.directive.mjs +0 -28
  93. package/esm2022/translation/lib/translator.pipe.mjs +0 -23
  94. package/esm2022/types/acorex-core-types.mjs +0 -5
  95. package/esm2022/types/index.mjs +0 -2
  96. package/esm2022/utils/acorex-core-utils.mjs +0 -5
  97. package/esm2022/utils/index.mjs +0 -8
  98. package/esm2022/utils/lib/auto-unsubscribe.mjs +0 -36
  99. package/esm2022/utils/lib/color-util.mjs +0 -136
  100. package/esm2022/utils/lib/drawing-util.mjs +0 -32
  101. package/esm2022/utils/lib/html-util.mjs +0 -54
  102. package/esm2022/utils/lib/resize.directive.mjs +0 -124
  103. package/esm2022/utils/lib/string-util.mjs +0 -19
  104. package/esm2022/utils/lib/utils.module.mjs +0 -18
  105. package/esm2022/validation/acorex-core-validation.mjs +0 -5
  106. package/esm2022/validation/index.mjs +0 -18
  107. package/esm2022/validation/lib/rules/between-rule.mjs +0 -31
  108. package/esm2022/validation/lib/rules/callback-rule.mjs +0 -36
  109. package/esm2022/validation/lib/rules/equal-rule.mjs +0 -26
  110. package/esm2022/validation/lib/rules/greater-than.mjs +0 -25
  111. package/esm2022/validation/lib/rules/length-rule.mjs +0 -23
  112. package/esm2022/validation/lib/rules/less-than-rule.mjs +0 -25
  113. package/esm2022/validation/lib/rules/maxlength-rule.mjs +0 -24
  114. package/esm2022/validation/lib/rules/minlength-rule.mjs +0 -23
  115. package/esm2022/validation/lib/rules/regex-rule.mjs +0 -46
  116. package/esm2022/validation/lib/rules/required-rule.mjs +0 -39
  117. package/esm2022/validation/lib/validation.config.mjs +0 -33
  118. package/esm2022/validation/lib/validation.module.mjs +0 -84
  119. package/esm2022/validation/lib/validation.service.mjs +0 -98
  120. package/esm2022/validation/lib/validation.types.mjs +0 -3
@@ -23,10 +23,10 @@ class AXConfigService {
23
23
  const v2 = this.injector.get(providerToken);
24
24
  return get(v2, parts[parts.length - 1], defaultValue);
25
25
  }
26
- 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 }); }
27
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXConfigService, providedIn: 'root' }); }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXConfigService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
27
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXConfigService, providedIn: 'root' }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXConfigService, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXConfigService, decorators: [{
30
30
  type: Injectable,
31
31
  args: [{ providedIn: 'root' }]
32
32
  }], ctorParameters: () => [{ type: i0.Injector }] });
@@ -1091,10 +1091,10 @@ class AXCalendarService {
1091
1091
  const date = value instanceof AXDateTime ? value.date : value;
1092
1092
  return new AXDateTime(date, calendar);
1093
1093
  }
1094
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1095
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCalendarService, providedIn: 'root' }); }
1094
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1095
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCalendarService, providedIn: 'root' }); }
1096
1096
  }
1097
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCalendarService, decorators: [{
1097
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCalendarService, decorators: [{
1098
1098
  type: Injectable,
1099
1099
  args: [{ providedIn: 'root' }]
1100
1100
  }], ctorParameters: () => [] });
@@ -1117,12 +1117,15 @@ class AXDateTimePipe {
1117
1117
  const val = this._calendarService.convert(value, calendar.name());
1118
1118
  return val.format(format);
1119
1119
  }
1120
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1121
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimePipe, name: "axDate" }); }
1120
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1121
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXDateTimePipe, isStandalone: false, name: "axDate" }); }
1122
1122
  }
1123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimePipe, decorators: [{
1123
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDateTimePipe, decorators: [{
1124
1124
  type: Pipe,
1125
- args: [{ name: 'axDate' }]
1125
+ args: [{
1126
+ name: 'axDate',
1127
+ standalone: false
1128
+ }]
1126
1129
  }] });
1127
1130
 
1128
1131
  class AXDateTimeFormatter {
@@ -1153,10 +1156,10 @@ class AXDateTimeFormatter {
1153
1156
  .create(date, effectiveOptions.calendar)
1154
1157
  .format(effectiveOptions.format, { locale: effectiveOptions.locale });
1155
1158
  }
1156
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1157
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeFormatter }); }
1159
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDateTimeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1160
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDateTimeFormatter }); }
1158
1161
  }
1159
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeFormatter, decorators: [{
1162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDateTimeFormatter, decorators: [{
1160
1163
  type: Injectable
1161
1164
  }] });
1162
1165
 
@@ -1203,10 +1206,10 @@ class AXTimeDurationFormatter {
1203
1206
  // Join the parts according to the format
1204
1207
  return formattedTime.join(format.includes('ms') || format.includes('MS') ? ':' : ':');
1205
1208
  }
1206
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeDurationFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1207
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeDurationFormatter }); }
1209
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXTimeDurationFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1210
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXTimeDurationFormatter }); }
1208
1211
  }
1209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeDurationFormatter, decorators: [{
1212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXTimeDurationFormatter, decorators: [{
1210
1213
  type: Injectable
1211
1214
  }] });
1212
1215
 
@@ -1290,21 +1293,21 @@ class AXTimeLeftFormatter {
1290
1293
  return 'Invalid format';
1291
1294
  }
1292
1295
  }
1293
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLeftFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1294
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLeftFormatter }); }
1296
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXTimeLeftFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1297
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXTimeLeftFormatter }); }
1295
1298
  }
1296
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLeftFormatter, decorators: [{
1299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXTimeLeftFormatter, decorators: [{
1297
1300
  type: Injectable
1298
1301
  }] });
1299
1302
 
1300
1303
  class AXDateTimeModule {
1301
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1302
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeModule, declarations: [AXDateTimePipe], imports: [i1.AXFormatModule], exports: [AXDateTimePipe] }); }
1303
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeModule, imports: [AXFormatModule.forChild({
1304
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1305
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXDateTimeModule, declarations: [AXDateTimePipe], imports: [i1.AXFormatModule], exports: [AXDateTimePipe] }); }
1306
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDateTimeModule, imports: [AXFormatModule.forChild({
1304
1307
  formatters: [AXDateTimeFormatter, AXTimeLeftFormatter, AXTimeDurationFormatter],
1305
1308
  })] }); }
1306
1309
  }
1307
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDateTimeModule, decorators: [{
1310
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDateTimeModule, decorators: [{
1308
1311
  type: NgModule,
1309
1312
  args: [{
1310
1313
  imports: [