@acorex/core 18.6.0 → 18.7.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 (60) 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/network/lib/network.service.mjs +15 -14
  18. package/esm2022/network/lib/network.types.mjs +1 -1
  19. package/esm2022/network/lib/upload-task.mjs +34 -10
  20. package/esm2022/pipes/lib/safe/safe.pipe.mjs +3 -3
  21. package/esm2022/platform/lib/platform.service.mjs +3 -3
  22. package/esm2022/storage/cookie-storage.service.mjs +3 -3
  23. package/esm2022/storage/local-storage.service.mjs +3 -3
  24. package/esm2022/storage/session-storage.service.mjs +3 -3
  25. package/esm2022/translation/lib/translation.module.mjs +4 -4
  26. package/esm2022/translation/lib/translation.service.mjs +3 -3
  27. package/esm2022/translation/lib/translator.directive.mjs +3 -3
  28. package/esm2022/translation/lib/translator.pipe.mjs +3 -3
  29. package/esm2022/utils/lib/auto-unsubscribe.mjs +3 -3
  30. package/esm2022/validation/lib/rules/between-rule.mjs +3 -3
  31. package/esm2022/validation/lib/rules/callback-rule.mjs +3 -3
  32. package/esm2022/validation/lib/rules/equal-rule.mjs +3 -3
  33. package/esm2022/validation/lib/rules/greater-than.mjs +3 -3
  34. package/esm2022/validation/lib/rules/length-rule.mjs +3 -3
  35. package/esm2022/validation/lib/rules/less-than-rule.mjs +3 -3
  36. package/esm2022/validation/lib/rules/maxlength-rule.mjs +3 -3
  37. package/esm2022/validation/lib/rules/minlength-rule.mjs +3 -3
  38. package/esm2022/validation/lib/rules/regex-rule.mjs +3 -3
  39. package/esm2022/validation/lib/rules/required-rule.mjs +3 -3
  40. package/esm2022/validation/lib/validation.module.mjs +4 -4
  41. package/esm2022/validation/lib/validation.service.mjs +6 -6
  42. package/fesm2022/acorex-core-config.mjs +3 -3
  43. package/fesm2022/acorex-core-date-time.mjs +19 -19
  44. package/fesm2022/acorex-core-events.mjs +3 -3
  45. package/fesm2022/acorex-core-file.mjs +10 -10
  46. package/fesm2022/acorex-core-format.mjs +16 -16
  47. package/fesm2022/acorex-core-image.mjs +3 -3
  48. package/fesm2022/acorex-core-network.mjs +43 -18
  49. package/fesm2022/acorex-core-network.mjs.map +1 -1
  50. package/fesm2022/acorex-core-pipes.mjs +3 -3
  51. package/fesm2022/acorex-core-platform.mjs +3 -3
  52. package/fesm2022/acorex-core-storage.mjs +9 -9
  53. package/fesm2022/acorex-core-translation.mjs +13 -13
  54. package/fesm2022/acorex-core-utils.mjs +3 -3
  55. package/fesm2022/acorex-core-validation.mjs +40 -40
  56. package/i18n/en/common.json +181 -0
  57. package/i18n/fa/common.json +180 -0
  58. package/network/lib/network.types.d.ts +1 -0
  59. package/network/lib/upload-task.d.ts +7 -5
  60. package/package.json +19 -19
@@ -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: "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 }); }
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCallbackValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
35
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCallbackValidationRule }); }
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCallbackValidationRule, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCallbackValidationRule, decorators: [{
38
38
  type: Injectable
39
39
  }] });
40
40
 
@@ -73,10 +73,10 @@ class AXRegexValidationRule {
73
73
  value: value,
74
74
  };
75
75
  }
76
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXRegexValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
77
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXRegexValidationRule }); }
76
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRegexValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
77
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRegexValidationRule }); }
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXRegexValidationRule, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRegexValidationRule, decorators: [{
80
80
  type: Injectable
81
81
  }] });
82
82
 
@@ -107,10 +107,10 @@ class AXRequiredValidationRule {
107
107
  value,
108
108
  };
109
109
  }
110
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXRequiredValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
111
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXRequiredValidationRule }); }
110
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRequiredValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
111
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRequiredValidationRule }); }
112
112
  }
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXRequiredValidationRule, decorators: [{
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRequiredValidationRule, decorators: [{
114
114
  type: Injectable
115
115
  }] });
116
116
 
@@ -128,10 +128,10 @@ class AXLengthValidationRule {
128
128
  value: value,
129
129
  };
130
130
  }
131
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLengthValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
132
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLengthValidationRule }); }
131
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXLengthValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
132
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXLengthValidationRule }); }
133
133
  }
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLengthValidationRule, decorators: [{
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXLengthValidationRule, decorators: [{
135
135
  type: Injectable
136
136
  }] });
137
137
 
@@ -149,10 +149,10 @@ class AXMaxLengthValidationRule {
149
149
  value: value,
150
150
  };
151
151
  }
152
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMaxLengthValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
153
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMaxLengthValidationRule }); }
152
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMaxLengthValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
153
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMaxLengthValidationRule }); }
154
154
  }
155
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMaxLengthValidationRule, decorators: [{
155
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMaxLengthValidationRule, decorators: [{
156
156
  type: Injectable
157
157
  }] });
158
158
 
@@ -169,10 +169,10 @@ class AXMinLengthValidationRule {
169
169
  value: value,
170
170
  };
171
171
  }
172
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMinLengthValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
173
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMinLengthValidationRule }); }
172
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMinLengthValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
173
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMinLengthValidationRule }); }
174
174
  }
175
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMinLengthValidationRule, decorators: [{
175
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMinLengthValidationRule, decorators: [{
176
176
  type: Injectable
177
177
  }] });
178
178
 
@@ -197,10 +197,10 @@ class AXBetweenValidationRule {
197
197
  value: value,
198
198
  };
199
199
  }
200
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXBetweenValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
201
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXBetweenValidationRule }); }
200
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXBetweenValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
201
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXBetweenValidationRule }); }
202
202
  }
203
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXBetweenValidationRule, decorators: [{
203
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXBetweenValidationRule, decorators: [{
204
204
  type: Injectable
205
205
  }] });
206
206
 
@@ -220,10 +220,10 @@ class AXEqualValidationRule {
220
220
  value: value,
221
221
  };
222
222
  }
223
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXEqualValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
224
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXEqualValidationRule }); }
223
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXEqualValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
224
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXEqualValidationRule }); }
225
225
  }
226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXEqualValidationRule, decorators: [{
226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXEqualValidationRule, decorators: [{
227
227
  type: Injectable
228
228
  }] });
229
229
 
@@ -242,10 +242,10 @@ class AXGreaterThanValidationRule {
242
242
  value: value,
243
243
  };
244
244
  }
245
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXGreaterThanValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
246
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXGreaterThanValidationRule }); }
245
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXGreaterThanValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
246
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXGreaterThanValidationRule }); }
247
247
  }
248
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXGreaterThanValidationRule, decorators: [{
248
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXGreaterThanValidationRule, decorators: [{
249
249
  type: Injectable
250
250
  }] });
251
251
 
@@ -264,10 +264,10 @@ class AXLessThanValidationRule {
264
264
  value: value,
265
265
  };
266
266
  }
267
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLessThanValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
268
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLessThanValidationRule }); }
267
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXLessThanValidationRule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
268
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXLessThanValidationRule }); }
269
269
  }
270
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLessThanValidationRule, decorators: [{
270
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXLessThanValidationRule, decorators: [{
271
271
  type: Injectable
272
272
  }] });
273
273
 
@@ -327,10 +327,10 @@ class AXValidationRegistryService {
327
327
  get(ruleName) {
328
328
  return this.plugins.find((c) => c.name == ruleName);
329
329
  }
330
- 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 }); }
331
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationRegistryService, providedIn: 'root' }); }
330
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXValidationRegistryService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
331
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXValidationRegistryService, providedIn: 'root' }); }
332
332
  }
333
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationRegistryService, decorators: [{
333
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXValidationRegistryService, decorators: [{
334
334
  type: Injectable,
335
335
  args: [{
336
336
  providedIn: 'root',
@@ -365,10 +365,10 @@ class AXValidationService {
365
365
  ruleFor(value) {
366
366
  return new AXValidationRuleChain(this, value);
367
367
  }
368
- 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 }); }
369
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationService, providedIn: 'root' }); }
368
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXValidationService, deps: [{ token: AXValidationRegistryService }, { token: i1.AXTranslationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
369
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXValidationService, providedIn: 'root' }); }
370
370
  }
371
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationService, decorators: [{
371
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXValidationService, decorators: [{
372
372
  type: Injectable,
373
373
  args: [{ providedIn: 'root' }]
374
374
  }], ctorParameters: () => [{ type: AXValidationRegistryService }, { type: i1.AXTranslationService }] });
@@ -451,11 +451,11 @@ class AXValidationModule {
451
451
  f();
452
452
  });
453
453
  }
454
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationModule, deps: [{ token: 'AXValidationModuleFactory' }], target: i0.ɵɵFactoryTarget.NgModule }); }
455
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXValidationModule }); }
456
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationModule, providers: [...BUILT_IN_RULES] }); }
454
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXValidationModule, deps: [{ token: 'AXValidationModuleFactory' }], target: i0.ɵɵFactoryTarget.NgModule }); }
455
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXValidationModule }); }
456
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXValidationModule, providers: [...BUILT_IN_RULES] }); }
457
457
  }
458
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXValidationModule, decorators: [{
458
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXValidationModule, decorators: [{
459
459
  type: NgModule,
460
460
  args: [{
461
461
  imports: [],
@@ -0,0 +1,181 @@
1
+ {
2
+ "search": "Search...",
3
+ "yes": "yes",
4
+ "no": "No",
5
+ "confirm": "Confirm",
6
+ "okay": "Okay",
7
+ "accept": "Accept",
8
+ "decline": "Decline",
9
+ "cancel": "Cancel",
10
+ "canceled": "Canceled",
11
+ "failed": "Failed",
12
+ "remove": "Remove",
13
+ "edit": "Edit",
14
+ "delete": "Delete",
15
+ "create": "Create",
16
+ "configs": "Configs",
17
+ "no-result-found": "No results found",
18
+ "no-result-for": "No results for &nbsp<b>\"{{ exp }}\"</b>",
19
+ "searching": "searching ...",
20
+ "save": "Save",
21
+ "save-as": "Save As...",
22
+ "title": "Title",
23
+ "description": "Description",
24
+ "name": "Name",
25
+ "uniquename": "Unique Name",
26
+ "size": "Size",
27
+ "add-item": "Add Item",
28
+ "color": "Color",
29
+ "display": "Display",
30
+ "min-value": "Min Value",
31
+ "value": "Value",
32
+ "max-value": "Max Value",
33
+ "refresh-rate": "Refresh Rate",
34
+ "condition": "Condition",
35
+ "loading": "loading",
36
+ "firstname": "Firstname",
37
+ "required": "Required",
38
+ "next": "Next",
39
+ "prev": "Previous",
40
+ "error": {
41
+ "message": "Error: {{ message }}"
42
+ },
43
+ "dateTime": {
44
+ "weekdays": {
45
+ "short": {
46
+ "0": "Sun",
47
+ "1": "Mon",
48
+ "2": "Tue",
49
+ "3": "Wed",
50
+ "4": "Thu",
51
+ "5": "Fri",
52
+ "6": "Sat"
53
+ },
54
+ "long": {
55
+ "0": "Sunday",
56
+ "1": "Monday",
57
+ "2": "Tuesday",
58
+ "3": "Wednesday",
59
+ "4": "Thursday",
60
+ "5": "Friday",
61
+ "6": "Saturday"
62
+ }
63
+ },
64
+ "months": {
65
+ "georgian": {
66
+ "short": {
67
+ "0": "Jan",
68
+ "1": "Feb",
69
+ "2": "Mar",
70
+ "3": "Apr",
71
+ "4": "May",
72
+ "5": "Jun",
73
+ "6": "Jul",
74
+ "7": "Aug",
75
+ "8": "Sep",
76
+ "9": "Oct",
77
+ "10": "Nov",
78
+ "11": "Dec"
79
+ },
80
+ "long": {
81
+ "0": "January",
82
+ "1": "February",
83
+ "2": "March",
84
+ "3": "April",
85
+ "4": "May",
86
+ "5": "June",
87
+ "6": "July",
88
+ "7": "August",
89
+ "8": "September",
90
+ "9": "October",
91
+ "10": "November",
92
+ "11": "December"
93
+ }
94
+ },
95
+ "jalali": {
96
+ "short": {
97
+ "0": "Far",
98
+ "1": "Ordi",
99
+ "2": "Khor",
100
+ "3": "Tir",
101
+ "4": "Mordad",
102
+ "5": "Shah",
103
+ "6": "Mehr",
104
+ "7": "Aban",
105
+ "8": "Azar",
106
+ "9": "Dey",
107
+ "10": "Bah",
108
+ "11": "Esf"
109
+ },
110
+ "long": {
111
+ "0": "Farvardin",
112
+ "1": "Ordibehesht",
113
+ "2": "Khordad",
114
+ "3": "Tir",
115
+ "4": "Mordad",
116
+ "5": "Shahrivar",
117
+ "6": "Mehr",
118
+ "7": "Aban",
119
+ "8": "Azar",
120
+ "9": "Dey",
121
+ "10": "Bahman",
122
+ "11": "Esfand"
123
+ }
124
+ }
125
+ },
126
+ "dayTime": {
127
+ "am": "am",
128
+ "pm": "pm",
129
+ "m": "m",
130
+ "a": "a",
131
+ "p": "p"
132
+ },
133
+ "set": "Set",
134
+ "today": "Today",
135
+ "now": "Now",
136
+ "hour": "Hour",
137
+ "minute": "Minute",
138
+ "second": "Second",
139
+ "date": "Date",
140
+ "time": "Time",
141
+ "duration": {
142
+ "format_second": "{0} second(s)",
143
+ "format_minute": "{0} minute(s)"
144
+ }
145
+ },
146
+ "validation": {
147
+ "messages": {
148
+ "title": "Please fix the following error(s):",
149
+ "required": "{{ title }} is required",
150
+ "email": "Please enter a valid email address {{ title }}!",
151
+ "phone": "Please enter a valid phone number!",
152
+ "invalid-rull-name": "Invalid rule name: &nbsp<b>\"{{ name }}\"</b>"
153
+ }
154
+ },
155
+ "selectbox": {
156
+ "popover": {
157
+ "title": "Choose an items..."
158
+ }
159
+ },
160
+ "datepicker": {
161
+ "popover": {
162
+ "title": "Choose a date..."
163
+ }
164
+ },
165
+ "datapager": {
166
+ "info": {
167
+ "text": "[page] of [totalPages] pages ([totalItems] items)"
168
+ }
169
+ },
170
+ "uploader": {
171
+ "zone": {
172
+ "text": "Drop files to upload them",
173
+ "drag": "Drag & Drop or ",
174
+ "choose": "Choose File",
175
+ "to-upload": " to Upload"
176
+ }
177
+ },
178
+ "action-sheet": {
179
+ "title": "Action Sheet..."
180
+ }
181
+ }
@@ -0,0 +1,180 @@
1
+ {
2
+ "search": "جستجو",
3
+ "yes": "بله",
4
+ "no": "خیر",
5
+ "confirm": "تایید",
6
+ "accept": "تایید",
7
+ "decline": "رد",
8
+ "okay": "باشه",
9
+ "cancel": "لغو",
10
+ "canceled": "لغو شد",
11
+ "failed": "ناموفق",
12
+ "remove": "حذف",
13
+ "edit": "ویرایش",
14
+ "delete": "حذف",
15
+ "create": "ایجاد",
16
+ "configs": "پیکره بندی",
17
+ "no-result-found": "نتیجه ای یافت نشد",
18
+ "no-result-for": "نتیجه ای برای &nbsp<b>\"${exp}\" یافت نشد.</b>",
19
+ "searching": "درحال جستجو ...",
20
+ "save": "ذخیره",
21
+ "save-as": "ذخیره به عنوان...",
22
+ "title": "عنوان",
23
+ "description": "توضیحات",
24
+ "name": "نام",
25
+ "uniquename": "نام یکتا",
26
+ "size": "اندازه",
27
+ "add-item": "آیتم جدید",
28
+ "color": "رنگ",
29
+ "display": "نمایش",
30
+ "min-value": "کمترین مقدار",
31
+ "value": "مقدار",
32
+ "max-value": "بیشترین مقدار",
33
+ "refresh-rate": "نرخ بروزرسانی",
34
+ "condition": "شرط",
35
+ "loading": "در حال بارگذاری",
36
+ "firstname": "اسم",
37
+ "next": "بعدی",
38
+ "prev": "قبلی",
39
+ "error": {
40
+ "message": "خطا: {{message}}"
41
+ },
42
+ "dateTime": {
43
+ "weekdays": {
44
+ "short": {
45
+ "0": "ی",
46
+ "1": "د",
47
+ "2": "س",
48
+ "3": "چ",
49
+ "4": "پ",
50
+ "5": "ج",
51
+ "6": "ش"
52
+ },
53
+ "long": {
54
+ "0": "یکشنبه",
55
+ "1": "دوشنبه",
56
+ "2": "سه شنبه",
57
+ "3": "چهارشنبه",
58
+ "4": "پنجشنبه",
59
+ "5": "جمعه",
60
+ "6": "شنبه"
61
+ }
62
+ },
63
+ "months": {
64
+ "georgian": {
65
+ "short": {
66
+ "0": "ژانویه",
67
+ "1": "فوریه",
68
+ "2": "مارس",
69
+ "3": "آوریل",
70
+ "4": "مه",
71
+ "5": "ژوئن",
72
+ "6": "ژوئیه",
73
+ "7": "اوت",
74
+ "8": "سپتامبر",
75
+ "9": "اکتبر",
76
+ "10": "نوامبر",
77
+ "11": "دسامبر"
78
+ },
79
+ "long": {
80
+ "0": "ژانویه",
81
+ "1": "فوریه",
82
+ "2": "مارس",
83
+ "3": "آوریل",
84
+ "4": "مه",
85
+ "5": "ژوئن",
86
+ "6": "ژوئیه",
87
+ "7": "اوت",
88
+ "8": "سپتامبر",
89
+ "9": "اکتبر",
90
+ "10": "نوامبر",
91
+ "11": "دسامبر"
92
+ }
93
+ },
94
+ "jalali": {
95
+ "short": {
96
+ "0": "فروردین",
97
+ "1": "اردیبهشت",
98
+ "2": "خرداد",
99
+ "3": "تیر",
100
+ "4": "مرداد",
101
+ "5": "شهریور",
102
+ "6": "مهر",
103
+ "7": "آبان",
104
+ "8": "آذر",
105
+ "9": "دی",
106
+ "10": "بهمن",
107
+ "11": "اسفند"
108
+ },
109
+ "long": {
110
+ "0": "فروردین",
111
+ "1": "اردیبهشت",
112
+ "2": "خرداد",
113
+ "3": "تیر",
114
+ "4": "مرداد",
115
+ "5": "شهریور",
116
+ "6": "مهر",
117
+ "7": "آبان",
118
+ "8": "آذر",
119
+ "9": "دی",
120
+ "10": "بهمن",
121
+ "11": "اسفند"
122
+ }
123
+ }
124
+ },
125
+ "dayTime": {
126
+ "am": "am",
127
+ "pm": "pm",
128
+ "m": "m",
129
+ "a": "a",
130
+ "p": "p"
131
+ },
132
+ "set": "تنظیم",
133
+ "today": "امروز",
134
+ "now": "الان",
135
+ "hour": "ساعت",
136
+ "minute": "دقیقه",
137
+ "second": "ثانیه",
138
+ "date": "تاریخ",
139
+ "time": "زمان",
140
+ "duration": {
141
+ "format_second": "{0} ثانیه(s)",
142
+ "format_minute": "{0} دقیقه(s)"
143
+ }
144
+ },
145
+ "validation": {
146
+ "messages": {
147
+ "title": "لطفا این خطاها را بررسی کنید(s):",
148
+ "required": "\"<b>{{ title }}</b>\" اجباری است!",
149
+ "email": "!لطفا یک ایمیل معتبر وارد کنید",
150
+ "phone": "!لطفا یک شماره معتبر وارد کنید",
151
+ "invalid-rull-name": "خطای اعتبارسنجی: &nbsp<b>\"{{ name }}\"</b>"
152
+ }
153
+ },
154
+ "selectbox": {
155
+ "popover": {
156
+ "title": "انتخاب کنید ..."
157
+ }
158
+ },
159
+ "datepicker": {
160
+ "popover": {
161
+ "title": "انتخاب تاریخ ..."
162
+ }
163
+ },
164
+ "datapager": {
165
+ "info": {
166
+ "text": "[page] از [totalPages] صفحه ( [totalItems] رکورد)"
167
+ }
168
+ },
169
+ "uploader": {
170
+ "zone": {
171
+ "text": "برای آپلود فایل را رها کنید",
172
+ "drag": "بکشید یا رها کنید یا ",
173
+ "choose": "فایل را انتخاب کنید",
174
+ "to-upload": " "
175
+ }
176
+ },
177
+ "action-sheet": {
178
+ "title": "اکشن شیت"
179
+ }
180
+ }
@@ -11,6 +11,7 @@ export type AXUploadResponse<T> = {
11
11
  totalBytes: number;
12
12
  status: AXUploadStatus;
13
13
  result?: T;
14
+ message?: string;
14
15
  };
15
16
  export declare enum AXDownloadStatus {
16
17
  Downloading = "Downloading...",
@@ -1,12 +1,14 @@
1
- import { HttpEvent } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
1
+ import { HttpClient, HttpRequest } from '@angular/common/http';
2
+ import { BehaviorSubject } from 'rxjs';
3
3
  import { AXUploadResponse } from './network.types';
4
4
  export declare class AXUploadTask<T> {
5
- private observable;
5
+ private http;
6
+ private request;
6
7
  private totalFileSize;
7
8
  private cancelSignal;
8
- constructor(observable: Observable<HttpEvent<T>>, totalFileSize: number);
9
- get events(): Observable<AXUploadResponse<T>>;
9
+ events: BehaviorSubject<AXUploadResponse<T>>;
10
+ constructor(http: HttpClient, request: HttpRequest<T>, totalFileSize: number);
10
11
  private handleEvent;
11
12
  cancel(): void;
13
+ start(): void;
12
14
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex/core",
3
- "version": "18.6.0",
3
+ "version": "18.7.1",
4
4
  "peerDependencies": {
5
- "@angular/common": ">=18.0.0",
6
- "@angular/core": ">=18.0.0",
5
+ "@angular/common": ">=18.2.0",
6
+ "@angular/core": ">=18.2.0",
7
7
  "lodash-es": ">=4.17.21",
8
8
  "memoizee": ">=0.4.15",
9
9
  "crypto-es": ">=2.1.0",
@@ -32,23 +32,23 @@
32
32
  "esm": "./esm2022/common/acorex-core-common.mjs",
33
33
  "default": "./fesm2022/acorex-core-common.mjs"
34
34
  },
35
- "./config": {
36
- "types": "./config/index.d.ts",
37
- "esm2022": "./esm2022/config/acorex-core-config.mjs",
38
- "esm": "./esm2022/config/acorex-core-config.mjs",
39
- "default": "./fesm2022/acorex-core-config.mjs"
40
- },
41
35
  "./date-time": {
42
36
  "types": "./date-time/index.d.ts",
43
37
  "esm2022": "./esm2022/date-time/acorex-core-date-time.mjs",
44
38
  "esm": "./esm2022/date-time/acorex-core-date-time.mjs",
45
39
  "default": "./fesm2022/acorex-core-date-time.mjs"
46
40
  },
47
- "./events": {
48
- "types": "./events/index.d.ts",
49
- "esm2022": "./esm2022/events/acorex-core-events.mjs",
50
- "esm": "./esm2022/events/acorex-core-events.mjs",
51
- "default": "./fesm2022/acorex-core-events.mjs"
41
+ "./format": {
42
+ "types": "./format/index.d.ts",
43
+ "esm2022": "./esm2022/format/acorex-core-format.mjs",
44
+ "esm": "./esm2022/format/acorex-core-format.mjs",
45
+ "default": "./fesm2022/acorex-core-format.mjs"
46
+ },
47
+ "./config": {
48
+ "types": "./config/index.d.ts",
49
+ "esm2022": "./esm2022/config/acorex-core-config.mjs",
50
+ "esm": "./esm2022/config/acorex-core-config.mjs",
51
+ "default": "./fesm2022/acorex-core-config.mjs"
52
52
  },
53
53
  "./file": {
54
54
  "types": "./file/index.d.ts",
@@ -56,11 +56,11 @@
56
56
  "esm": "./esm2022/file/acorex-core-file.mjs",
57
57
  "default": "./fesm2022/acorex-core-file.mjs"
58
58
  },
59
- "./format": {
60
- "types": "./format/index.d.ts",
61
- "esm2022": "./esm2022/format/acorex-core-format.mjs",
62
- "esm": "./esm2022/format/acorex-core-format.mjs",
63
- "default": "./fesm2022/acorex-core-format.mjs"
59
+ "./events": {
60
+ "types": "./events/index.d.ts",
61
+ "esm2022": "./esm2022/events/acorex-core-events.mjs",
62
+ "esm": "./esm2022/events/acorex-core-events.mjs",
63
+ "default": "./fesm2022/acorex-core-events.mjs"
64
64
  },
65
65
  "./image": {
66
66
  "types": "./image/index.d.ts",