@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.
- package/components/index.d.ts +23 -2
- package/config/index.d.ts +18 -2
- package/constants/index.d.ts +19 -2
- package/date-time/index.d.ts +341 -11
- package/events/index.d.ts +21 -1
- package/fesm2022/acorex-core-components.mjs +3 -3
- package/fesm2022/acorex-core-components.mjs.map +1 -1
- package/fesm2022/acorex-core-config.mjs +7 -10
- package/fesm2022/acorex-core-config.mjs.map +1 -1
- package/fesm2022/acorex-core-constants.mjs.map +1 -1
- package/fesm2022/acorex-core-date-time.mjs +27 -27
- package/fesm2022/acorex-core-date-time.mjs.map +1 -1
- package/fesm2022/acorex-core-events.mjs +3 -3
- package/fesm2022/acorex-core-events.mjs.map +1 -1
- package/fesm2022/acorex-core-file.mjs +11 -12
- package/fesm2022/acorex-core-file.mjs.map +1 -1
- package/fesm2022/acorex-core-format.mjs +34 -36
- package/fesm2022/acorex-core-format.mjs.map +1 -1
- package/fesm2022/acorex-core-icon.mjs +51 -0
- package/fesm2022/acorex-core-icon.mjs.map +1 -0
- package/fesm2022/acorex-core-image.mjs +4 -5
- package/fesm2022/acorex-core-image.mjs.map +1 -1
- package/fesm2022/acorex-core-locale-en-AU.profile-DNjKIaZS.mjs.map +1 -1
- package/fesm2022/acorex-core-locale.mjs +10 -10
- package/fesm2022/acorex-core-locale.mjs.map +1 -1
- package/fesm2022/acorex-core-memoize.mjs.map +1 -1
- package/fesm2022/acorex-core-network.mjs +3 -3
- package/fesm2022/acorex-core-network.mjs.map +1 -1
- package/fesm2022/acorex-core-pipes.mjs +8 -8
- package/fesm2022/acorex-core-pipes.mjs.map +1 -1
- package/fesm2022/acorex-core-platform.mjs +24 -8
- package/fesm2022/acorex-core-platform.mjs.map +1 -1
- package/fesm2022/acorex-core-storage.mjs +14 -17
- package/fesm2022/acorex-core-storage.mjs.map +1 -1
- package/fesm2022/acorex-core-translation.mjs +22 -22
- package/fesm2022/acorex-core-translation.mjs.map +1 -1
- package/fesm2022/acorex-core-utils.mjs +3 -3
- package/fesm2022/acorex-core-utils.mjs.map +1 -1
- package/fesm2022/acorex-core-validation.mjs +55 -57
- package/fesm2022/acorex-core-validation.mjs.map +1 -1
- package/fesm2022/acorex-core.mjs.map +1 -1
- package/file/index.d.ts +42 -3
- package/format/index.d.ts +122 -8
- package/icon/README.md +3 -0
- package/icon/index.d.ts +20 -0
- package/image/index.d.ts +16 -1
- package/index.d.ts +3 -1
- package/locale/index.d.ts +135 -8
- package/memoize/index.d.ts +3 -1
- package/network/index.d.ts +69 -4
- package/package.json +22 -18
- package/pipes/index.d.ts +12 -1
- package/platform/index.d.ts +82 -1
- package/storage/index.d.ts +145 -4
- package/translation/index.d.ts +109 -8
- package/utils/index.d.ts +118 -6
- package/validation/index.d.ts +249 -14
- package/components/lib/component.service.d.ts +0 -11
- package/components/lib/component.types.d.ts +0 -9
- package/config/lib/configs.d.ts +0 -6
- package/config/lib/configs.service.d.ts +0 -12
- package/constants/countries/countries.data.d.ts +0 -3
- package/constants/countries/country.d.ts +0 -13
- package/date-time/lib/calendar.service.d.ts +0 -34
- package/date-time/lib/dateTime.config.d.ts +0 -12
- package/date-time/lib/datetime.module.d.ts +0 -8
- package/date-time/lib/datetime.pipe.d.ts +0 -13
- package/date-time/lib/datetime.types.d.ts +0 -138
- package/date-time/lib/formatters/date.formatter.d.ts +0 -12
- package/date-time/lib/formatters/datetime.formatter.d.ts +0 -21
- package/date-time/lib/formatters/time-duration.formatter.d.ts +0 -21
- package/date-time/lib/formatters/time.formatter.d.ts +0 -12
- package/date-time/lib/formatters/timeleft.formatter.d.ts +0 -16
- package/date-time/lib/gregorian.calendar.d.ts +0 -21
- package/date-time/lib/holidays.loader.d.ts +0 -21
- package/date-time/lib/solar-hijri.calendar.d.ts +0 -40
- package/events/lib/event.service.d.ts +0 -17
- package/file/lib/file-size-formatter.d.ts +0 -16
- package/file/lib/file.module.d.ts +0 -7
- package/file/lib/file.service.d.ts +0 -15
- package/format/lib/format.config.d.ts +0 -5
- package/format/lib/format.directive.d.ts +0 -12
- package/format/lib/format.module.d.ts +0 -19
- package/format/lib/format.pipe.d.ts +0 -12
- package/format/lib/format.service.d.ts +0 -44
- package/format/lib/format.types.d.ts +0 -4
- package/format/lib/formatters/number.formatter.d.ts +0 -23
- package/format/lib/formatters/string.formatter.d.ts +0 -14
- package/image/lib/image.service.d.ts +0 -13
- package/locale/lib/formatters/currency.formatter.d.ts +0 -10
- package/locale/lib/locale-profile-provider.service.d.ts +0 -24
- package/locale/lib/locale.config.d.ts +0 -5
- package/locale/lib/locale.module.d.ts +0 -7
- package/locale/lib/locale.service.d.ts +0 -20
- package/locale/lib/locale.types.d.ts +0 -61
- package/locale/lib/profiles/en-AU.profile.d.ts +0 -2
- package/locale/lib/profiles/en-US.profile.d.ts +0 -2
- package/locale/lib/profiles/fa-IR.profile.d.ts +0 -2
- package/memoize/lib/memoize.decorator.d.ts +0 -1
- package/network/lib/download-task.d.ts +0 -11
- package/network/lib/network.service.d.ts +0 -16
- package/network/lib/network.types.d.ts +0 -28
- package/network/lib/upload-task.d.ts +0 -14
- package/pipes/lib/safe/safe.pipe.d.ts +0 -10
- package/platform/lib/platform.service.d.ts +0 -77
- package/storage/cookie-storage.service.d.ts +0 -104
- package/storage/local-storage.service.d.ts +0 -16
- package/storage/session-storage.service.d.ts +0 -10
- package/storage/storage.interface.d.ts +0 -14
- package/translation/lib/translation-loader.service.d.ts +0 -20
- package/translation/lib/translation-scope.resolver.d.ts +0 -2
- package/translation/lib/translation.config.d.ts +0 -27
- package/translation/lib/translation.loader.d.ts +0 -14
- package/translation/lib/translation.module.d.ts +0 -8
- package/translation/lib/translation.parser.d.ts +0 -7
- package/translation/lib/translation.resolver.d.ts +0 -9
- package/translation/lib/translation.service.d.ts +0 -25
- package/translation/lib/translation.types.d.ts +0 -16
- package/translation/lib/translator.directive.d.ts +0 -12
- package/translation/lib/translator.pipe.d.ts +0 -10
- package/utils/lib/color.utils.d.ts +0 -26
- package/utils/lib/drawing.utils.d.ts +0 -18
- package/utils/lib/execution.utils.d.ts +0 -33
- package/utils/lib/html-utils.d.ts +0 -15
- package/utils/lib/lifecycle-helpers.utils.d.ts +0 -12
- package/utils/lib/string.utils.d.ts +0 -4
- package/validation/lib/rules/between-rule.d.ts +0 -18
- package/validation/lib/rules/callback-rule.d.ts +0 -24
- package/validation/lib/rules/equal-rule.d.ts +0 -17
- package/validation/lib/rules/greater-than.d.ts +0 -17
- package/validation/lib/rules/length-rule.d.ts +0 -17
- package/validation/lib/rules/less-than-rule.d.ts +0 -17
- package/validation/lib/rules/maxlength-rule.d.ts +0 -16
- package/validation/lib/rules/minlength-rule.d.ts +0 -16
- package/validation/lib/rules/regex-rule.d.ts +0 -17
- package/validation/lib/rules/required-rule.d.ts +0 -16
- package/validation/lib/validation.config.d.ts +0 -15
- package/validation/lib/validation.module.d.ts +0 -17
- package/validation/lib/validation.service.d.ts +0 -35
- 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.
|
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.
|
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: "
|
1196
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
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: "
|
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: "
|
1223
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
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: "
|
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: "
|
1271
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
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: "
|
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: "
|
1328
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
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: "
|
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: "
|
1433
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
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: "
|
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: "
|
1480
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
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: "
|
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: "
|
1567
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
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: "
|
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: "
|
1575
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
1576
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
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: "
|
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: [
|