@acorex/core 17.1.3 → 18.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) 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/pipes/lib/safe/safe.pipe.mjs +3 -3
  18. package/esm2022/platform/lib/platform.service.mjs +3 -3
  19. package/esm2022/storage/cookie-storage.service.mjs +3 -3
  20. package/esm2022/storage/local-storage.service.mjs +3 -3
  21. package/esm2022/storage/session-storage.service.mjs +3 -3
  22. package/esm2022/translation/lib/translation.module.mjs +4 -4
  23. package/esm2022/translation/lib/translation.service.mjs +14 -10
  24. package/esm2022/translation/lib/translator.directive.mjs +3 -3
  25. package/esm2022/translation/lib/translator.pipe.mjs +3 -3
  26. package/esm2022/utils/lib/auto-unsubscribe.mjs +3 -3
  27. package/esm2022/validation/lib/rules/between-rule.mjs +3 -3
  28. package/esm2022/validation/lib/rules/callback-rule.mjs +3 -3
  29. package/esm2022/validation/lib/rules/equal-rule.mjs +3 -3
  30. package/esm2022/validation/lib/rules/greater-than.mjs +3 -3
  31. package/esm2022/validation/lib/rules/length-rule.mjs +3 -3
  32. package/esm2022/validation/lib/rules/less-than-rule.mjs +3 -3
  33. package/esm2022/validation/lib/rules/maxlength-rule.mjs +3 -3
  34. package/esm2022/validation/lib/rules/minlength-rule.mjs +3 -3
  35. package/esm2022/validation/lib/rules/regex-rule.mjs +3 -3
  36. package/esm2022/validation/lib/rules/required-rule.mjs +3 -3
  37. package/esm2022/validation/lib/validation.module.mjs +4 -4
  38. package/esm2022/validation/lib/validation.service.mjs +6 -6
  39. package/fesm2022/acorex-core-config.mjs +3 -3
  40. package/fesm2022/acorex-core-date-time.mjs +19 -19
  41. package/fesm2022/acorex-core-events.mjs +3 -3
  42. package/fesm2022/acorex-core-file.mjs +10 -10
  43. package/fesm2022/acorex-core-format.mjs +16 -16
  44. package/fesm2022/acorex-core-image.mjs +3 -3
  45. package/fesm2022/acorex-core-pipes.mjs +3 -3
  46. package/fesm2022/acorex-core-platform.mjs +3 -3
  47. package/fesm2022/acorex-core-storage.mjs +9 -9
  48. package/fesm2022/acorex-core-translation.mjs +23 -19
  49. package/fesm2022/acorex-core-translation.mjs.map +1 -1
  50. package/fesm2022/acorex-core-utils.mjs +3 -3
  51. package/fesm2022/acorex-core-validation.mjs +40 -40
  52. package/package.json +3 -3
@@ -31,10 +31,10 @@ class AXCallbackValidationRule {
31
31
  }
32
32
  return createResult(validationResult);
33
33
  }
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXCallbackValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
35
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXCallbackValidationRule }); }
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCallbackValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
35
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCallbackValidationRule }); }
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXCallbackValidationRule, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCallbackValidationRule, decorators: [{
38
38
  type: Injectable
39
39
  }] });
40
40
 
@@ -76,10 +76,10 @@ class AXRegexValidationRule {
76
76
  value: value,
77
77
  };
78
78
  }
79
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXRegexValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
80
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXRegexValidationRule }); }
79
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXRegexValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
80
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXRegexValidationRule }); }
81
81
  }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXRegexValidationRule, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXRegexValidationRule, decorators: [{
83
83
  type: Injectable
84
84
  }] });
85
85
 
@@ -108,10 +108,10 @@ class AXRequiredValidationRule {
108
108
  value,
109
109
  };
110
110
  }
111
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXRequiredValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
112
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXRequiredValidationRule }); }
111
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXRequiredValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
112
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXRequiredValidationRule }); }
113
113
  }
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXRequiredValidationRule, decorators: [{
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXRequiredValidationRule, decorators: [{
115
115
  type: Injectable
116
116
  }] });
117
117
 
@@ -132,10 +132,10 @@ class AXLengthValidationRule {
132
132
  value: value,
133
133
  };
134
134
  }
135
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXLengthValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
136
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXLengthValidationRule }); }
135
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLengthValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
136
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLengthValidationRule }); }
137
137
  }
138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXLengthValidationRule, decorators: [{
138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLengthValidationRule, decorators: [{
139
139
  type: Injectable
140
140
  }] });
141
141
 
@@ -156,10 +156,10 @@ class AXMaxLengthValidationRule {
156
156
  value: value,
157
157
  };
158
158
  }
159
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXMaxLengthValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
160
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXMaxLengthValidationRule }); }
159
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMaxLengthValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
160
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMaxLengthValidationRule }); }
161
161
  }
162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXMaxLengthValidationRule, decorators: [{
162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMaxLengthValidationRule, decorators: [{
163
163
  type: Injectable
164
164
  }] });
165
165
 
@@ -179,10 +179,10 @@ class AXMinLengthValidationRule {
179
179
  value: value,
180
180
  };
181
181
  }
182
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXMinLengthValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
183
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXMinLengthValidationRule }); }
182
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMinLengthValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
183
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMinLengthValidationRule }); }
184
184
  }
185
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXMinLengthValidationRule, decorators: [{
185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMinLengthValidationRule, decorators: [{
186
186
  type: Injectable
187
187
  }] });
188
188
 
@@ -207,10 +207,10 @@ class AXBetweenValidationRule {
207
207
  value: value,
208
208
  };
209
209
  }
210
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXBetweenValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
211
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXBetweenValidationRule }); }
210
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXBetweenValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
211
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXBetweenValidationRule }); }
212
212
  }
213
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXBetweenValidationRule, decorators: [{
213
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXBetweenValidationRule, decorators: [{
214
214
  type: Injectable
215
215
  }] });
216
216
 
@@ -230,10 +230,10 @@ class AXEqualValidationRule {
230
230
  value: value,
231
231
  };
232
232
  }
233
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXEqualValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
234
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXEqualValidationRule }); }
233
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXEqualValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
234
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXEqualValidationRule }); }
235
235
  }
236
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXEqualValidationRule, decorators: [{
236
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXEqualValidationRule, decorators: [{
237
237
  type: Injectable
238
238
  }] });
239
239
 
@@ -256,10 +256,10 @@ class AXGreaterThanValidationRule {
256
256
  value: value,
257
257
  };
258
258
  }
259
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXGreaterThanValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
260
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXGreaterThanValidationRule }); }
259
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXGreaterThanValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
260
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXGreaterThanValidationRule }); }
261
261
  }
262
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXGreaterThanValidationRule, decorators: [{
262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXGreaterThanValidationRule, decorators: [{
263
263
  type: Injectable
264
264
  }] });
265
265
 
@@ -282,10 +282,10 @@ class AXLessThanValidationRule {
282
282
  value: value,
283
283
  };
284
284
  }
285
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXLessThanValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
286
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXLessThanValidationRule }); }
285
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLessThanValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
286
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLessThanValidationRule }); }
287
287
  }
288
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXLessThanValidationRule, decorators: [{
288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLessThanValidationRule, decorators: [{
289
289
  type: Injectable
290
290
  }] });
291
291
 
@@ -345,10 +345,10 @@ class AXValidationRegistryService {
345
345
  get(ruleName) {
346
346
  return this.plugins.find((c) => c.name == ruleName);
347
347
  }
348
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXValidationRegistryService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
349
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXValidationRegistryService, providedIn: 'root' }); }
348
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationRegistryService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
349
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationRegistryService, providedIn: 'root' }); }
350
350
  }
351
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXValidationRegistryService, decorators: [{
351
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationRegistryService, decorators: [{
352
352
  type: Injectable,
353
353
  args: [{
354
354
  providedIn: 'root',
@@ -383,10 +383,10 @@ class AXValidationService {
383
383
  ruleFor(value) {
384
384
  return new AXValidationRuleChain(this, value);
385
385
  }
386
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXValidationService, deps: [{ token: AXValidationRegistryService }, { token: i1.AXTranslationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
387
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXValidationService, providedIn: 'root' }); }
386
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationService, deps: [{ token: AXValidationRegistryService }, { token: i1.AXTranslationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
387
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationService, providedIn: 'root' }); }
388
388
  }
389
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXValidationService, decorators: [{
389
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationService, decorators: [{
390
390
  type: Injectable,
391
391
  args: [{ providedIn: 'root' }]
392
392
  }], ctorParameters: () => [{ type: AXValidationRegistryService }, { type: i1.AXTranslationService }] });
@@ -469,11 +469,11 @@ class AXValidationModule {
469
469
  f();
470
470
  });
471
471
  }
472
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXValidationModule, deps: [{ token: 'AXValidationModuleFactory' }], target: i0.ɵɵFactoryTarget.NgModule }); }
473
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.2", ngImport: i0, type: AXValidationModule }); }
474
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXValidationModule, providers: [...BUILT_IN_RULES] }); }
472
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationModule, deps: [{ token: 'AXValidationModuleFactory' }], target: i0.ɵɵFactoryTarget.NgModule }); }
473
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXValidationModule }); }
474
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationModule, providers: [...BUILT_IN_RULES] }); }
475
475
  }
476
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXValidationModule, decorators: [{
476
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationModule, decorators: [{
477
477
  type: NgModule,
478
478
  args: [{
479
479
  imports: [],
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex/core",
3
- "version": "17.1.3",
3
+ "version": "18.0.0",
4
4
  "peerDependencies": {
5
- "@angular/common": "^17.3.2",
6
- "@angular/core": "^17.3.2",
5
+ "@angular/common": "<=18.0.2",
6
+ "@angular/core": "<=18.0.2",
7
7
  "lodash-es": ">=4.17.21",
8
8
  "memoizee": ">=0.4.15",
9
9
  "crypto-js": "^4.2.0",