@acorex/core 19.15.0-next.9 → 20.0.1

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 (140) hide show
  1. package/components/index.d.ts +23 -2
  2. package/config/index.d.ts +18 -2
  3. package/constants/index.d.ts +19 -2
  4. package/date-time/index.d.ts +341 -11
  5. package/events/index.d.ts +21 -1
  6. package/fesm2022/acorex-core-components.mjs +3 -3
  7. package/fesm2022/acorex-core-components.mjs.map +1 -1
  8. package/fesm2022/acorex-core-config.mjs +7 -10
  9. package/fesm2022/acorex-core-config.mjs.map +1 -1
  10. package/fesm2022/acorex-core-constants.mjs.map +1 -1
  11. package/fesm2022/acorex-core-date-time.mjs +27 -27
  12. package/fesm2022/acorex-core-date-time.mjs.map +1 -1
  13. package/fesm2022/acorex-core-events.mjs +3 -3
  14. package/fesm2022/acorex-core-events.mjs.map +1 -1
  15. package/fesm2022/acorex-core-file.mjs +11 -12
  16. package/fesm2022/acorex-core-file.mjs.map +1 -1
  17. package/fesm2022/acorex-core-format.mjs +34 -36
  18. package/fesm2022/acorex-core-format.mjs.map +1 -1
  19. package/fesm2022/acorex-core-icon.mjs +51 -0
  20. package/fesm2022/acorex-core-icon.mjs.map +1 -0
  21. package/fesm2022/acorex-core-image.mjs +4 -5
  22. package/fesm2022/acorex-core-image.mjs.map +1 -1
  23. package/fesm2022/acorex-core-locale-en-AU.profile-DNjKIaZS.mjs.map +1 -1
  24. package/fesm2022/acorex-core-locale.mjs +10 -10
  25. package/fesm2022/acorex-core-locale.mjs.map +1 -1
  26. package/fesm2022/acorex-core-memoize.mjs.map +1 -1
  27. package/fesm2022/acorex-core-network.mjs +3 -3
  28. package/fesm2022/acorex-core-network.mjs.map +1 -1
  29. package/fesm2022/acorex-core-pipes.mjs +8 -8
  30. package/fesm2022/acorex-core-pipes.mjs.map +1 -1
  31. package/fesm2022/acorex-core-platform.mjs +24 -8
  32. package/fesm2022/acorex-core-platform.mjs.map +1 -1
  33. package/fesm2022/acorex-core-storage.mjs +14 -17
  34. package/fesm2022/acorex-core-storage.mjs.map +1 -1
  35. package/fesm2022/acorex-core-translation.mjs +22 -22
  36. package/fesm2022/acorex-core-translation.mjs.map +1 -1
  37. package/fesm2022/acorex-core-utils.mjs +3 -3
  38. package/fesm2022/acorex-core-utils.mjs.map +1 -1
  39. package/fesm2022/acorex-core-validation.mjs +55 -57
  40. package/fesm2022/acorex-core-validation.mjs.map +1 -1
  41. package/fesm2022/acorex-core.mjs.map +1 -1
  42. package/file/index.d.ts +42 -3
  43. package/format/index.d.ts +122 -8
  44. package/icon/README.md +3 -0
  45. package/icon/index.d.ts +20 -0
  46. package/image/index.d.ts +16 -1
  47. package/index.d.ts +3 -1
  48. package/locale/index.d.ts +135 -8
  49. package/memoize/index.d.ts +3 -1
  50. package/network/index.d.ts +69 -4
  51. package/package.json +22 -18
  52. package/pipes/index.d.ts +12 -1
  53. package/platform/index.d.ts +82 -1
  54. package/storage/index.d.ts +145 -4
  55. package/translation/index.d.ts +109 -8
  56. package/utils/index.d.ts +118 -6
  57. package/validation/index.d.ts +249 -14
  58. package/components/lib/component.service.d.ts +0 -11
  59. package/components/lib/component.types.d.ts +0 -9
  60. package/config/lib/configs.d.ts +0 -6
  61. package/config/lib/configs.service.d.ts +0 -12
  62. package/constants/countries/countries.data.d.ts +0 -3
  63. package/constants/countries/country.d.ts +0 -13
  64. package/date-time/lib/calendar.service.d.ts +0 -34
  65. package/date-time/lib/dateTime.config.d.ts +0 -12
  66. package/date-time/lib/datetime.module.d.ts +0 -8
  67. package/date-time/lib/datetime.pipe.d.ts +0 -13
  68. package/date-time/lib/datetime.types.d.ts +0 -138
  69. package/date-time/lib/formatters/date.formatter.d.ts +0 -12
  70. package/date-time/lib/formatters/datetime.formatter.d.ts +0 -21
  71. package/date-time/lib/formatters/time-duration.formatter.d.ts +0 -21
  72. package/date-time/lib/formatters/time.formatter.d.ts +0 -12
  73. package/date-time/lib/formatters/timeleft.formatter.d.ts +0 -16
  74. package/date-time/lib/gregorian.calendar.d.ts +0 -21
  75. package/date-time/lib/holidays.loader.d.ts +0 -21
  76. package/date-time/lib/solar-hijri.calendar.d.ts +0 -40
  77. package/events/lib/event.service.d.ts +0 -17
  78. package/file/lib/file-size-formatter.d.ts +0 -16
  79. package/file/lib/file.module.d.ts +0 -7
  80. package/file/lib/file.service.d.ts +0 -15
  81. package/format/lib/format.config.d.ts +0 -5
  82. package/format/lib/format.directive.d.ts +0 -12
  83. package/format/lib/format.module.d.ts +0 -19
  84. package/format/lib/format.pipe.d.ts +0 -12
  85. package/format/lib/format.service.d.ts +0 -44
  86. package/format/lib/format.types.d.ts +0 -4
  87. package/format/lib/formatters/number.formatter.d.ts +0 -23
  88. package/format/lib/formatters/string.formatter.d.ts +0 -14
  89. package/image/lib/image.service.d.ts +0 -13
  90. package/locale/lib/formatters/currency.formatter.d.ts +0 -10
  91. package/locale/lib/locale-profile-provider.service.d.ts +0 -24
  92. package/locale/lib/locale.config.d.ts +0 -5
  93. package/locale/lib/locale.module.d.ts +0 -7
  94. package/locale/lib/locale.service.d.ts +0 -20
  95. package/locale/lib/locale.types.d.ts +0 -61
  96. package/locale/lib/profiles/en-AU.profile.d.ts +0 -2
  97. package/locale/lib/profiles/en-US.profile.d.ts +0 -2
  98. package/locale/lib/profiles/fa-IR.profile.d.ts +0 -2
  99. package/memoize/lib/memoize.decorator.d.ts +0 -1
  100. package/network/lib/download-task.d.ts +0 -11
  101. package/network/lib/network.service.d.ts +0 -16
  102. package/network/lib/network.types.d.ts +0 -28
  103. package/network/lib/upload-task.d.ts +0 -14
  104. package/pipes/lib/safe/safe.pipe.d.ts +0 -10
  105. package/platform/lib/platform.service.d.ts +0 -77
  106. package/storage/cookie-storage.service.d.ts +0 -104
  107. package/storage/local-storage.service.d.ts +0 -16
  108. package/storage/session-storage.service.d.ts +0 -10
  109. package/storage/storage.interface.d.ts +0 -14
  110. package/translation/lib/translation-loader.service.d.ts +0 -20
  111. package/translation/lib/translation-scope.resolver.d.ts +0 -2
  112. package/translation/lib/translation.config.d.ts +0 -27
  113. package/translation/lib/translation.loader.d.ts +0 -14
  114. package/translation/lib/translation.module.d.ts +0 -8
  115. package/translation/lib/translation.parser.d.ts +0 -7
  116. package/translation/lib/translation.resolver.d.ts +0 -9
  117. package/translation/lib/translation.service.d.ts +0 -25
  118. package/translation/lib/translation.types.d.ts +0 -16
  119. package/translation/lib/translator.directive.d.ts +0 -12
  120. package/translation/lib/translator.pipe.d.ts +0 -10
  121. package/utils/lib/color.utils.d.ts +0 -26
  122. package/utils/lib/drawing.utils.d.ts +0 -18
  123. package/utils/lib/execution.utils.d.ts +0 -33
  124. package/utils/lib/html-utils.d.ts +0 -15
  125. package/utils/lib/lifecycle-helpers.utils.d.ts +0 -12
  126. package/utils/lib/string.utils.d.ts +0 -4
  127. package/validation/lib/rules/between-rule.d.ts +0 -18
  128. package/validation/lib/rules/callback-rule.d.ts +0 -24
  129. package/validation/lib/rules/equal-rule.d.ts +0 -17
  130. package/validation/lib/rules/greater-than.d.ts +0 -17
  131. package/validation/lib/rules/length-rule.d.ts +0 -17
  132. package/validation/lib/rules/less-than-rule.d.ts +0 -17
  133. package/validation/lib/rules/maxlength-rule.d.ts +0 -16
  134. package/validation/lib/rules/minlength-rule.d.ts +0 -16
  135. package/validation/lib/rules/regex-rule.d.ts +0 -17
  136. package/validation/lib/rules/required-rule.d.ts +0 -16
  137. package/validation/lib/validation.config.d.ts +0 -15
  138. package/validation/lib/validation.module.d.ts +0 -17
  139. package/validation/lib/validation.service.d.ts +0 -35
  140. package/validation/lib/validation.types.d.ts +0 -21
@@ -401,7 +401,7 @@ class AXGregorianCalendar extends AXCalendar {
401
401
  super(config);
402
402
  }
403
403
  create(value) {
404
- return new AXDateTime(new Date(value.year, value.month - 1, value.date, value.hours || 0, value.minutes || 0, value.seconds || 0, value.ms || 0), this);
404
+ return new AXDateTime(new Date(value.year, value.month - 1, value.day, value.hours || 0, value.minutes || 0, value.seconds || 0, value.ms || 0), this);
405
405
  }
406
406
  name() {
407
407
  return 'gregorian';
@@ -604,7 +604,7 @@ class AXSolarHijriCalendar extends AXCalendar {
604
604
  ];
605
605
  }
606
606
  create(value) {
607
- const a = this.toGregorian(value.year, value.month, value.date);
607
+ const a = this.toGregorian(value.year, value.month, value.day);
608
608
  return new AXDateTime(new Date(a.getFullYear(), a.getMonth(), a.getDate(), value.hours || 0, value.minutes || 0, value.seconds || 0, value.ms || 0), this);
609
609
  }
610
610
  name() {
@@ -1192,10 +1192,10 @@ class AXCalendarService {
1192
1192
  calendar: calendar.name(),
1193
1193
  });
1194
1194
  }
1195
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1196
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCalendarService, providedIn: 'root' }); }
1195
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1196
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXCalendarService, providedIn: 'root' }); }
1197
1197
  }
1198
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCalendarService, decorators: [{
1198
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXCalendarService, decorators: [{
1199
1199
  type: Injectable,
1200
1200
  args: [{ providedIn: 'root' }]
1201
1201
  }], ctorParameters: () => [] });
@@ -1219,10 +1219,10 @@ class AXDateTimePipe {
1219
1219
  const val = this._calendarService.convert(value, calendar.name());
1220
1220
  return this.formatService.format(val, 'datetime', format);
1221
1221
  }
1222
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1223
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.11", ngImport: i0, type: AXDateTimePipe, isStandalone: true, name: "axDate" }); }
1222
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1223
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimePipe, isStandalone: true, name: "axDate" }); }
1224
1224
  }
1225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDateTimePipe, decorators: [{
1225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimePipe, decorators: [{
1226
1226
  type: Pipe,
1227
1227
  args: [{ name: 'axDate' }]
1228
1228
  }] });
@@ -1267,10 +1267,10 @@ class AXDateFormatter {
1267
1267
  .convert(value, effectiveOptions.calendar)
1268
1268
  .format(format, { locale: effectiveOptions.locale });
1269
1269
  }
1270
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDateFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1271
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDateFormatter }); }
1270
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1271
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateFormatter }); }
1272
1272
  }
1273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDateFormatter, decorators: [{
1273
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateFormatter, decorators: [{
1274
1274
  type: Injectable
1275
1275
  }] });
1276
1276
 
@@ -1324,10 +1324,10 @@ class AXDateTimeFormatter {
1324
1324
  .convert(value, effectiveOptions.calendar)
1325
1325
  .format(format, { locale: effectiveOptions.locale });
1326
1326
  }
1327
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDateTimeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1328
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDateTimeFormatter }); }
1327
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1328
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeFormatter }); }
1329
1329
  }
1330
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDateTimeFormatter, decorators: [{
1330
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeFormatter, decorators: [{
1331
1331
  type: Injectable
1332
1332
  }] });
1333
1333
 
@@ -1429,10 +1429,10 @@ class AXTimeDurationFormatter {
1429
1429
  });
1430
1430
  return result.join(' : ');
1431
1431
  }
1432
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXTimeDurationFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1433
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXTimeDurationFormatter }); }
1432
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeDurationFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1433
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeDurationFormatter }); }
1434
1434
  }
1435
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXTimeDurationFormatter, decorators: [{
1435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeDurationFormatter, decorators: [{
1436
1436
  type: Injectable
1437
1437
  }] });
1438
1438
 
@@ -1476,10 +1476,10 @@ class AXTimeFormatter {
1476
1476
  .convert(value, effectiveOptions.calendar)
1477
1477
  .format(format, { locale: effectiveOptions.locale });
1478
1478
  }
1479
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXTimeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1480
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXTimeFormatter }); }
1479
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1480
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeFormatter }); }
1481
1481
  }
1482
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXTimeFormatter, decorators: [{
1482
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeFormatter, decorators: [{
1483
1483
  type: Injectable
1484
1484
  }] });
1485
1485
 
@@ -1563,21 +1563,21 @@ class AXTimeLeftFormatter {
1563
1563
  return 'Invalid format';
1564
1564
  }
1565
1565
  }
1566
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXTimeLeftFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1567
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXTimeLeftFormatter }); }
1566
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeLeftFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1567
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeLeftFormatter }); }
1568
1568
  }
1569
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXTimeLeftFormatter, decorators: [{
1569
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeLeftFormatter, decorators: [{
1570
1570
  type: Injectable
1571
1571
  }] });
1572
1572
 
1573
1573
  class AXDateTimeModule {
1574
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1575
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.11", ngImport: i0, type: AXDateTimeModule, imports: [i1.AXFormatModule, AXDateTimePipe], exports: [AXDateTimePipe] }); }
1576
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDateTimeModule, imports: [AXFormatModule.forChild({
1574
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1575
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeModule, imports: [i1.AXFormatModule, AXDateTimePipe], exports: [AXDateTimePipe] }); }
1576
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeModule, imports: [AXFormatModule.forChild({
1577
1577
  formatters: [AXDateTimeFormatter, AXDateFormatter, AXTimeFormatter, AXTimeLeftFormatter, AXTimeDurationFormatter],
1578
1578
  })] }); }
1579
1579
  }
1580
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDateTimeModule, decorators: [{
1580
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeModule, decorators: [{
1581
1581
  type: NgModule,
1582
1582
  args: [{
1583
1583
  imports: [