@acorex/core 6.5.71 → 6.5.72

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 (111) hide show
  1. package/README.md +6 -2
  2. package/esm2022/acorex-core.mjs +5 -0
  3. package/esm2022/index.mjs +44 -0
  4. package/esm2022/lib/classes/base-page.class.mjs +26 -0
  5. package/esm2022/lib/classes/color.class.mjs +49 -0
  6. package/esm2022/lib/classes/datetime.class.mjs +323 -0
  7. package/esm2022/lib/classes/menu.class.mjs +35 -0
  8. package/esm2022/lib/classes/navigator.class.mjs +2 -0
  9. package/esm2022/lib/classes/popup.class.mjs +2 -0
  10. package/esm2022/lib/classes/promise.class.mjs +21 -0
  11. package/esm2022/lib/classes/sectionlist.class.mjs +2 -0
  12. package/esm2022/lib/classes/select.class.mjs +8 -0
  13. package/esm2022/lib/core.module.mjs +27 -0
  14. package/esm2022/lib/error/error.class.mjs +2 -0
  15. package/esm2022/lib/error/error.module.mjs +19 -0
  16. package/esm2022/lib/error/error.service.mjs +22 -0
  17. package/esm2022/lib/events/keyboard.mjs +2 -0
  18. package/esm2022/lib/http/http-error.class.mjs +2 -0
  19. package/esm2022/lib/http/http-events.interceptor.mjs +3 -0
  20. package/esm2022/lib/http/http-request.class.mjs +2 -0
  21. package/esm2022/lib/http/http-result.class.mjs +25 -0
  22. package/esm2022/lib/http/http.module.mjs +35 -0
  23. package/esm2022/lib/http/http.service.mjs +148 -0
  24. package/{esm2020 → esm2022}/lib/locale/en.json +1 -1
  25. package/esm2022/lib/pipe/datetime.pipe.mjs +25 -0
  26. package/esm2022/lib/pipe/htmlToText.pipe.mjs +25 -0
  27. package/esm2022/lib/platform/index.mjs +2 -0
  28. package/esm2022/lib/platform/platform.service.mjs +152 -0
  29. package/esm2022/lib/services/config.mjs +29 -0
  30. package/esm2022/lib/services/event.service.mjs +34 -0
  31. package/esm2022/lib/services/navigator.service.mjs +10 -0
  32. package/esm2022/lib/services/storage.service.mjs +16 -0
  33. package/esm2022/lib/translator/translator.mjs +26 -0
  34. package/esm2022/lib/translator/translator.module.mjs +25 -0
  35. package/esm2022/lib/translator/translator.pipe.mjs +24 -0
  36. package/esm2022/lib/translator/translator.service.mjs +21 -0
  37. package/esm2022/lib/utils/array/array-util.mjs +133 -0
  38. package/esm2022/lib/utils/html/html-util.mjs +200 -0
  39. package/esm2022/lib/utils/html/html.module.mjs +19 -0
  40. package/esm2022/lib/utils/math/math-util.mjs +6 -0
  41. package/esm2022/lib/utils/object/object-util.mjs +83 -0
  42. package/esm2022/lib/utils/render/on-demand-preload-strategy.service.mjs +21 -0
  43. package/esm2022/lib/utils/render/render.service.mjs +109 -0
  44. package/esm2022/lib/utils/render/rendering.module.mjs +35 -0
  45. package/esm2022/lib/utils/scroll/scroll.directive.mjs +56 -0
  46. package/esm2022/lib/utils/scroll/scroll.module.mjs +19 -0
  47. package/esm2022/lib/utils/separator/separator.module.mjs +19 -0
  48. package/esm2022/lib/utils/separator/separator.pipe.mjs +33 -0
  49. package/{fesm2020 → fesm2022}/acorex-core.mjs +241 -196
  50. package/fesm2022/acorex-core.mjs.map +1 -0
  51. package/lib/classes/datetime.class.d.ts +4 -4
  52. package/lib/pipe/datetime.pipe.d.ts +1 -1
  53. package/lib/pipe/htmlToText.pipe.d.ts +1 -1
  54. package/lib/platform/platform.service.d.ts +4 -4
  55. package/lib/translator/translator.pipe.d.ts +1 -1
  56. package/lib/utils/html/html-util.d.ts +1 -1
  57. package/lib/utils/scroll/scroll.directive.d.ts +2 -2
  58. package/lib/utils/separator/separator.pipe.d.ts +1 -1
  59. package/package.json +14 -20
  60. package/acorex-core.d.ts +0 -5
  61. package/esm2020/acorex-core.mjs +0 -5
  62. package/esm2020/lib/classes/base-page.class.mjs +0 -28
  63. package/esm2020/lib/classes/color.class.mjs +0 -49
  64. package/esm2020/lib/classes/datetime.class.mjs +0 -314
  65. package/esm2020/lib/classes/menu.class.mjs +0 -27
  66. package/esm2020/lib/classes/navigator.class.mjs +0 -2
  67. package/esm2020/lib/classes/popup.class.mjs +0 -2
  68. package/esm2020/lib/classes/promise.class.mjs +0 -19
  69. package/esm2020/lib/classes/sectionlist.class.mjs +0 -2
  70. package/esm2020/lib/classes/select.class.mjs +0 -3
  71. package/esm2020/lib/core.module.mjs +0 -27
  72. package/esm2020/lib/error/error.class.mjs +0 -2
  73. package/esm2020/lib/error/error.module.mjs +0 -19
  74. package/esm2020/lib/error/error.service.mjs +0 -21
  75. package/esm2020/lib/events/keyboard.mjs +0 -2
  76. package/esm2020/lib/http/http-error.class.mjs +0 -2
  77. package/esm2020/lib/http/http-events.interceptor.mjs +0 -3
  78. package/esm2020/lib/http/http-request.class.mjs +0 -2
  79. package/esm2020/lib/http/http-result.class.mjs +0 -21
  80. package/esm2020/lib/http/http.module.mjs +0 -37
  81. package/esm2020/lib/http/http.service.mjs +0 -145
  82. package/esm2020/lib/pipe/datetime.pipe.mjs +0 -25
  83. package/esm2020/lib/pipe/htmlToText.pipe.mjs +0 -25
  84. package/esm2020/lib/platform/index.mjs +0 -2
  85. package/esm2020/lib/platform/platform.service.mjs +0 -150
  86. package/esm2020/lib/services/config.mjs +0 -29
  87. package/esm2020/lib/services/event.service.mjs +0 -36
  88. package/esm2020/lib/services/navigator.service.mjs +0 -10
  89. package/esm2020/lib/services/storage.service.mjs +0 -16
  90. package/esm2020/lib/translator/translator.mjs +0 -26
  91. package/esm2020/lib/translator/translator.module.mjs +0 -25
  92. package/esm2020/lib/translator/translator.pipe.mjs +0 -24
  93. package/esm2020/lib/translator/translator.service.mjs +0 -21
  94. package/esm2020/lib/utils/array/array-util.mjs +0 -133
  95. package/esm2020/lib/utils/html/html-util.mjs +0 -192
  96. package/esm2020/lib/utils/html/html.module.mjs +0 -19
  97. package/esm2020/lib/utils/math/math-util.mjs +0 -6
  98. package/esm2020/lib/utils/object/object-util.mjs +0 -83
  99. package/esm2020/lib/utils/render/on-demand-preload-strategy.service.mjs +0 -20
  100. package/esm2020/lib/utils/render/render.service.mjs +0 -103
  101. package/esm2020/lib/utils/render/rendering.module.mjs +0 -35
  102. package/esm2020/lib/utils/scroll/scroll.directive.mjs +0 -54
  103. package/esm2020/lib/utils/scroll/scroll.module.mjs +0 -19
  104. package/esm2020/lib/utils/separator/separator.module.mjs +0 -19
  105. package/esm2020/lib/utils/separator/separator.pipe.mjs +0 -33
  106. package/esm2020/public-api.mjs +0 -44
  107. package/fesm2015/acorex-core.mjs +0 -2274
  108. package/fesm2015/acorex-core.mjs.map +0 -1
  109. package/fesm2020/acorex-core.mjs.map +0 -1
  110. /package/{esm2020 → esm2022}/lib/locale/fa.json +0 -0
  111. /package/{public-api.d.ts → index.d.ts} +0 -0
@@ -143,6 +143,8 @@ function setPropByPath(obj, path, value) {
143
143
 
144
144
  // @dynamic
145
145
  class AXConfig {
146
+ static dataModel = {};
147
+ static dataChangeSubject = new Subject();
146
148
  static get onChange() {
147
149
  return AXConfig.dataChangeSubject.asObservable();
148
150
  }
@@ -165,10 +167,30 @@ class AXConfig {
165
167
  return getPropByPath(AXConfig.dataModel, path);
166
168
  }
167
169
  }
168
- AXConfig.dataModel = {};
169
- AXConfig.dataChangeSubject = new Subject();
170
170
 
171
171
  class AXDateTime {
172
+ type;
173
+ static convert(value, type = AXConfig.get('dateTime.type') || 'gregorian') {
174
+ let date;
175
+ if (typeof value === 'string' || value instanceof String) {
176
+ date = new AXDateTime(value, type);
177
+ }
178
+ else if (value instanceof Date) {
179
+ date = new AXDateTime(value, type);
180
+ }
181
+ else if (value instanceof AXDateTime) {
182
+ date = value;
183
+ }
184
+ return date;
185
+ }
186
+ _date;
187
+ get date() {
188
+ return this._date;
189
+ }
190
+ resolveUnit(unit) {
191
+ return this.type === 'jalali' ? 'j' + unit : unit;
192
+ }
193
+ _moment;
172
194
  // private get _moment(): moment_.Moment {
173
195
  // const m = moment(this.date);
174
196
  // if (this.type === 'jalali') {
@@ -189,25 +211,6 @@ class AXDateTime {
189
211
  this._moment.locale('fa');
190
212
  }
191
213
  }
192
- static convert(value, type = AXConfig.get('dateTime.type') || 'gregorian') {
193
- let date;
194
- if (typeof value === 'string' || value instanceof String) {
195
- date = new AXDateTime(value, type);
196
- }
197
- else if (value instanceof Date) {
198
- date = new AXDateTime(value, type);
199
- }
200
- else if (value instanceof AXDateTime) {
201
- date = value;
202
- }
203
- return date;
204
- }
205
- get date() {
206
- return this._date;
207
- }
208
- resolveUnit(unit) {
209
- return this.type === 'jalali' ? 'j' + unit : unit;
210
- }
211
214
  clone() {
212
215
  return new AXDateTime(this.date, this.type);
213
216
  }
@@ -435,20 +438,26 @@ class AXDateTime {
435
438
  }
436
439
  }
437
440
  class AXCalendarMonth {
438
- constructor(date) {
439
- this._moment = moment(date.date);
440
- this.index = date.date.getMonth();
441
- this.name = this._moment.format('MMMM');
442
- this.range = new AXDateTimeRange(new AXDateTime(this._moment.startOf('month').toDate(), date.type), new AXDateTime(this._moment.endOf('month').toDate(), date.type));
443
- }
441
+ _moment;
442
+ _range;
444
443
  get range() {
445
444
  return this._range;
446
445
  }
447
446
  set range(v) {
448
447
  this._range = v;
449
448
  }
449
+ constructor(date) {
450
+ this._moment = moment(date.date);
451
+ this.index = date.date.getMonth();
452
+ this.name = this._moment.format('MMMM');
453
+ this.range = new AXDateTimeRange(new AXDateTime(this._moment.startOf('month').toDate(), date.type), new AXDateTime(this._moment.endOf('month').toDate(), date.type));
454
+ }
455
+ index;
456
+ name;
450
457
  }
451
458
  class AXDateTimeRange {
459
+ startTime;
460
+ endTime;
452
461
  constructor(startTime, endTime) {
453
462
  this.startTime = startTime;
454
463
  this.endTime = endTime;
@@ -481,45 +490,55 @@ class AXDateTimeRange {
481
490
  }
482
491
 
483
492
  class AXBaseMenuItem {
484
- constructor() {
485
- this.uid = new Date().getTime().toString();
486
- this.visible = true;
487
- this.disable = false;
488
- this.selected = false;
489
- this.style = 'ax light';
490
- this.orderIndex = 0;
491
- }
493
+ uid = new Date().getTime().toString();
494
+ id;
495
+ name;
496
+ text;
497
+ tooltip;
498
+ tooltipPlacement;
499
+ icon;
500
+ visible = true;
501
+ disable = false;
502
+ selected = false;
503
+ groupName;
504
+ data;
505
+ style = 'ax light';
506
+ orderIndex = 0;
507
+ endIcon;
508
+ startIcon;
509
+ onClick;
492
510
  }
493
511
  class AXMenuItem extends AXBaseMenuItem {
494
- constructor() {
495
- super(...arguments);
496
- this.divider = false;
497
- }
512
+ items;
513
+ parentId;
514
+ divider = false;
498
515
  }
499
516
  class AXButtonItem extends AXBaseMenuItem {
500
- constructor() {
501
- super(...arguments);
502
- this.dropdown = false;
503
- this.submitBehavior = false;
504
- this.cancelBehavior = false;
505
- }
517
+ dropdown = false;
518
+ submitBehavior = false;
519
+ cancelBehavior = false;
506
520
  }
507
521
  class AXCheckItem {
522
+ text;
523
+ value;
524
+ selected;
508
525
  }
509
526
 
510
527
  class AXPromise {
511
- constructor(executor) {
512
- this._executor = executor;
513
- setTimeout(() => {
514
- this._executor(this.thenAction);
515
- }, 50);
516
- }
528
+ _executor;
529
+ thenAction;
517
530
  static resolve(value) {
518
531
  const r = new AXPromise(z => {
519
532
  z(value);
520
533
  }).then(() => { });
521
534
  return r;
522
535
  }
536
+ constructor(executor) {
537
+ this._executor = executor;
538
+ setTimeout(() => {
539
+ this._executor(this.thenAction);
540
+ }, 50);
541
+ }
523
542
  then(action) {
524
543
  this.thenAction = action;
525
544
  return this;
@@ -527,6 +546,11 @@ class AXPromise {
527
546
  }
528
547
 
529
548
  class AXSelectItem {
549
+ id;
550
+ name;
551
+ text;
552
+ visible;
553
+ disable;
530
554
  }
531
555
 
532
556
  /**
@@ -534,9 +558,7 @@ class AXSelectItem {
534
558
  */
535
559
  // TODO: Add Angular decorator.
536
560
  class AXBasePageComponent {
537
- constructor() {
538
- this.onClosed = new EventEmitter();
539
- }
561
+ onClosed = new EventEmitter();
540
562
  close(data) {
541
563
  this.onClosed.emit({
542
564
  component: this,
@@ -548,15 +570,16 @@ class AXBasePageComponent {
548
570
  ngOnDestroy() {
549
571
  this.onClosed.unsubscribe();
550
572
  }
573
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXBasePageComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
574
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXBasePageComponent });
551
575
  }
552
- AXBasePageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXBasePageComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
553
- AXBasePageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXBasePageComponent });
554
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXBasePageComponent, decorators: [{
576
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXBasePageComponent, decorators: [{
555
577
  type: Injectable
556
578
  }] });
557
579
 
558
580
  const AX_ERROR_DISPLAY_INTERCEPTOR = new InjectionToken('ax.error');
559
581
  class AXErrorService {
582
+ injector;
560
583
  constructor(injector) {
561
584
  this.injector = injector;
562
585
  }
@@ -566,20 +589,20 @@ class AXErrorService {
566
589
  instance.show(message);
567
590
  }
568
591
  }
592
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXErrorService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
593
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXErrorService, providedIn: 'root' });
569
594
  }
570
- AXErrorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXErrorService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
571
- AXErrorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXErrorService, providedIn: 'root' });
572
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXErrorService, decorators: [{
595
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXErrorService, decorators: [{
573
596
  type: Injectable,
574
597
  args: [{ providedIn: 'root' }]
575
598
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
576
599
 
577
600
  class AXErrorModule {
601
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
602
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXErrorModule, imports: [CommonModule] });
603
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXErrorModule, providers: [AXErrorService], imports: [CommonModule] });
578
604
  }
579
- AXErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
580
- AXErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXErrorModule, imports: [CommonModule] });
581
- AXErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXErrorModule, providers: [AXErrorService], imports: [[CommonModule]] });
582
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXErrorModule, decorators: [{
605
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXErrorModule, decorators: [{
583
606
  type: NgModule,
584
607
  args: [{
585
608
  declarations: [],
@@ -592,12 +615,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
592
615
  const AX_HTTP_EVENT_INTERCEPTOR = new InjectionToken('ax.http.events');
593
616
 
594
617
  class HttpResult {
618
+ _executor;
595
619
  constructor(executor) {
596
620
  this._executor = executor;
597
621
  setTimeout(() => {
598
622
  this._executor(this.resultAction, this.errorAction, this.completeAction);
599
623
  }, 50);
600
624
  }
625
+ resultAction;
626
+ errorAction;
627
+ completeAction;
601
628
  result(action) {
602
629
  this.resultAction = action;
603
630
  return this;
@@ -615,6 +642,9 @@ class HttpResult {
615
642
  // import { catchError, retry, retryWhen, mergeMap, delay, switchMap, scan, takeWhile, flatMap } from 'rxjs/operators';
616
643
  // import { of, concat, throwError } from 'rxjs';
617
644
  class AXHttpService {
645
+ http;
646
+ injector;
647
+ interceptor;
618
648
  constructor(http, injector) {
619
649
  this.http = http;
620
650
  this.injector = injector;
@@ -744,10 +774,10 @@ class AXHttpService {
744
774
  // };
745
775
  // }
746
776
  }
777
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHttpService, deps: [{ token: i1.HttpClient }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
778
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHttpService });
747
779
  }
748
- AXHttpService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHttpService, deps: [{ token: i1.HttpClient }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
749
- AXHttpService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHttpService });
750
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHttpService, decorators: [{
780
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHttpService, decorators: [{
751
781
  type: Injectable
752
782
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i0.Injector }]; } });
753
783
 
@@ -758,17 +788,15 @@ class AXHttpModule {
758
788
  providers: [AXHttpService]
759
789
  };
760
790
  }
791
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHttpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
792
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXHttpModule, imports: [CommonModule,
793
+ HttpClientModule], exports: [HttpClientModule] });
794
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHttpModule, providers: [
795
+ AXHttpService
796
+ ], imports: [CommonModule,
797
+ HttpClientModule, HttpClientModule] });
761
798
  }
762
- AXHttpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHttpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
763
- AXHttpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHttpModule, imports: [CommonModule,
764
- HttpClientModule], exports: [HttpClientModule] });
765
- AXHttpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHttpModule, providers: [
766
- AXHttpService
767
- ], imports: [[
768
- CommonModule,
769
- HttpClientModule
770
- ], HttpClientModule] });
771
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHttpModule, decorators: [{
799
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHttpModule, decorators: [{
772
800
  type: NgModule,
773
801
  args: [{
774
802
  declarations: [],
@@ -864,12 +892,37 @@ const PLATFORMS_MAP = {
864
892
  "2XL": is2XLScreen,
865
893
  };
866
894
  class AXPlatformEvent {
895
+ nativeEvent;
896
+ source;
867
897
  }
868
898
  class AXPlatform {
899
+ resize = new Subject();
900
+ click = new Subject();
901
+ scroll = new Subject();
902
+ isRtl() {
903
+ return document.dir == 'rtl' || document.body.dir == 'rtl' || document.body.style.direction == 'rtl';
904
+ }
905
+ isLandscape() {
906
+ return window.innerHeight < window.innerWidth;
907
+ }
908
+ isPortrate() {
909
+ return !this.isLandscape();
910
+ }
911
+ is(name) {
912
+ return PLATFORMS_MAP[name](window) || false;
913
+ }
914
+ switchDarkMode() {
915
+ const _html = document.getElementsByTagName("html")[0];
916
+ _html.classList.add('ax-dark');
917
+ }
918
+ switchLightMode() {
919
+ const _html = document.getElementsByTagName("html")[0];
920
+ _html.classList.remove('ax-dark');
921
+ }
922
+ _setFullHeightRatio() {
923
+ document.querySelector(':root').style.setProperty('--ax-vh', window.innerHeight / 100 + 'px');
924
+ }
869
925
  constructor() {
870
- this.resize = new Subject();
871
- this.click = new Subject();
872
- this.scroll = new Subject();
873
926
  fromEvent(window, 'resize')
874
927
  .pipe(debounceTime(100))
875
928
  .pipe(distinctUntilChanged())
@@ -896,33 +949,10 @@ class AXPlatform {
896
949
  // init functions
897
950
  this._setFullHeightRatio();
898
951
  }
899
- isRtl() {
900
- return document.dir == 'rtl' || document.body.dir == 'rtl' || document.body.style.direction == 'rtl';
901
- }
902
- isLandscape() {
903
- return window.innerHeight < window.innerWidth;
904
- }
905
- isPortrate() {
906
- return !this.isLandscape();
907
- }
908
- is(name) {
909
- return PLATFORMS_MAP[name](window) || false;
910
- }
911
- switchDarkMode() {
912
- const _html = document.getElementsByTagName("html")[0];
913
- _html.classList.add('ax-dark');
914
- }
915
- switchLightMode() {
916
- const _html = document.getElementsByTagName("html")[0];
917
- _html.classList.remove('ax-dark');
918
- }
919
- _setFullHeightRatio() {
920
- document.querySelector(':root').style.setProperty('--ax-vh', window.innerHeight / 100 + 'px');
921
- }
952
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXPlatform, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
953
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXPlatform, providedIn: 'root' });
922
954
  }
923
- AXPlatform.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXPlatform, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
924
- AXPlatform.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXPlatform, providedIn: 'root' });
925
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXPlatform, decorators: [{
955
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXPlatform, decorators: [{
926
956
  type: Injectable,
927
957
  args: [{
928
958
  providedIn: 'root',
@@ -943,10 +973,10 @@ class AXDateTimePipe {
943
973
  return date.format(format);
944
974
  }
945
975
  }
976
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
977
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXDateTimePipe, name: "dt" });
946
978
  }
947
- AXDateTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
948
- AXDateTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDateTimePipe, name: "dt" });
949
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDateTimePipe, decorators: [{
979
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDateTimePipe, decorators: [{
950
980
  type: Pipe,
951
981
  args: [{ name: 'dt' }]
952
982
  }], ctorParameters: function () { return []; } });
@@ -966,18 +996,16 @@ class AXHtmlToTextPipe {
966
996
  return '';
967
997
  }
968
998
  }
999
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHtmlToTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1000
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXHtmlToTextPipe, name: "html2text" });
969
1001
  }
970
- AXHtmlToTextPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHtmlToTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
971
- AXHtmlToTextPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHtmlToTextPipe, name: "html2text" });
972
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHtmlToTextPipe, decorators: [{
1002
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHtmlToTextPipe, decorators: [{
973
1003
  type: Pipe,
974
1004
  args: [{ name: 'html2text' }]
975
1005
  }] });
976
1006
 
977
1007
  class AXEventService {
978
- constructor() {
979
- this.list = [];
980
- }
1008
+ list = [];
981
1009
  broadcast(key, options) {
982
1010
  const d = this.list.find(c => c.key === key);
983
1011
  if (d) {
@@ -1000,19 +1028,19 @@ class AXEventService {
1000
1028
  d.events = [];
1001
1029
  }
1002
1030
  }
1031
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1032
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXEventService, providedIn: 'root' });
1003
1033
  }
1004
- AXEventService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1005
- AXEventService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXEventService, providedIn: 'root' });
1006
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXEventService, decorators: [{
1034
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXEventService, decorators: [{
1007
1035
  type: Injectable,
1008
1036
  args: [{ providedIn: 'root' }]
1009
1037
  }] });
1010
1038
 
1011
1039
  class AXNavigator {
1040
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXNavigator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1041
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXNavigator });
1012
1042
  }
1013
- AXNavigator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNavigator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1014
- AXNavigator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNavigator });
1015
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNavigator, decorators: [{
1043
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXNavigator, decorators: [{
1016
1044
  type: Injectable
1017
1045
  }] });
1018
1046
 
@@ -1023,15 +1051,17 @@ class AXStorageService {
1023
1051
  set(key, value) {
1024
1052
  localStorage.setItem(key, value);
1025
1053
  }
1054
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1055
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXStorageService });
1026
1056
  }
1027
- AXStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1028
- AXStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXStorageService });
1029
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXStorageService, decorators: [{
1057
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXStorageService, decorators: [{
1030
1058
  type: Injectable
1031
1059
  }] });
1032
1060
 
1033
1061
  // @dynamic
1034
1062
  class AXTranslator {
1063
+ static lang = 'en';
1064
+ static dataChangeSubject = new Subject();
1035
1065
  static get onChange() {
1036
1066
  return AXTranslator.dataChangeSubject.asObservable();
1037
1067
  }
@@ -1050,8 +1080,6 @@ class AXTranslator {
1050
1080
  return getPropByPath(AXTranslator[`__data__${lang || AXTranslator.lang}`], key) || key;
1051
1081
  }
1052
1082
  }
1053
- AXTranslator.lang = 'en';
1054
- AXTranslator.dataChangeSubject = new Subject();
1055
1083
 
1056
1084
  class AXTranslatorService {
1057
1085
  load(lang, value) {
@@ -1063,10 +1091,10 @@ class AXTranslatorService {
1063
1091
  get(key, lang) {
1064
1092
  return AXTranslator.get(lang, lang);
1065
1093
  }
1094
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXTranslatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1095
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXTranslatorService, providedIn: 'platform' });
1066
1096
  }
1067
- AXTranslatorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTranslatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1068
- AXTranslatorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTranslatorService, providedIn: 'platform' });
1069
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTranslatorService, decorators: [{
1097
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXTranslatorService, decorators: [{
1070
1098
  type: Injectable,
1071
1099
  args: [{ providedIn: 'platform' }]
1072
1100
  }] });
@@ -1084,16 +1112,16 @@ class AXTranslatorPipe {
1084
1112
  transform(value, lang) {
1085
1113
  return AXTranslator.get(value, lang);
1086
1114
  }
1115
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXTranslatorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1116
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXTranslatorPipe, name: "trans" });
1087
1117
  }
1088
- AXTranslatorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTranslatorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1089
- AXTranslatorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTranslatorPipe, name: "trans" });
1090
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTranslatorPipe, decorators: [{
1118
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXTranslatorPipe, decorators: [{
1091
1119
  type: Pipe,
1092
1120
  args: [{ name: 'trans', pure: true }]
1093
1121
  }], ctorParameters: function () { return []; } });
1094
1122
 
1095
1123
  var common$1 = {
1096
- search: "Search",
1124
+ search: "search",
1097
1125
  yes: "yes",
1098
1126
  no: "No",
1099
1127
  confirm: "Confirm",
@@ -1356,11 +1384,11 @@ var en = {
1356
1384
  var en$1 = /*#__PURE__*/Object.freeze({
1357
1385
  __proto__: null,
1358
1386
  common: common$1,
1387
+ dataGrid: dataGrid$1,
1359
1388
  dateTime: dateTime$1,
1389
+ default: en,
1360
1390
  queryBuilder: queryBuilder$1,
1361
- validation: validation$1,
1362
- dataGrid: dataGrid$1,
1363
- 'default': en
1391
+ validation: validation$1
1364
1392
  });
1365
1393
 
1366
1394
  var common = {
@@ -1617,11 +1645,11 @@ var fa = {
1617
1645
  var fa$1 = /*#__PURE__*/Object.freeze({
1618
1646
  __proto__: null,
1619
1647
  common: common,
1648
+ dataGrid: dataGrid,
1620
1649
  dateTime: dateTime,
1650
+ default: fa,
1621
1651
  queryBuilder: queryBuilder,
1622
- validation: validation,
1623
- dataGrid: dataGrid,
1624
- 'default': fa
1652
+ validation: validation
1625
1653
  });
1626
1654
 
1627
1655
  class AXTranslatorModule {
@@ -1629,11 +1657,11 @@ class AXTranslatorModule {
1629
1657
  AXTranslator.load('en', en$1);
1630
1658
  AXTranslator.load('fa', fa$1);
1631
1659
  }
1660
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXTranslatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1661
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXTranslatorModule, declarations: [AXTranslatorPipe], exports: [AXTranslatorPipe] });
1662
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXTranslatorModule });
1632
1663
  }
1633
- AXTranslatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTranslatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1634
- AXTranslatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTranslatorModule, declarations: [AXTranslatorPipe], exports: [AXTranslatorPipe] });
1635
- AXTranslatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTranslatorModule, providers: [], imports: [[]] });
1636
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTranslatorModule, decorators: [{
1664
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXTranslatorModule, decorators: [{
1637
1665
  type: NgModule,
1638
1666
  args: [{
1639
1667
  imports: [],
@@ -1782,56 +1810,64 @@ class AXMathUtil {
1782
1810
  }
1783
1811
 
1784
1812
  class AXPoint {
1813
+ x;
1814
+ y;
1785
1815
  constructor(x, y) {
1786
1816
  this.x = x;
1787
1817
  this.y = y;
1788
1818
  }
1789
1819
  }
1790
1820
  class AXClientRec {
1791
- constructor(rec) {
1792
- this._left = rec.left;
1793
- this._top = rec.top;
1794
- this._width = rec.width;
1795
- this._height = rec.height;
1796
- this._right = this._left + this._width;
1797
- this._bottom = this._top + this._height;
1798
- }
1821
+ _left;
1799
1822
  get left() {
1800
1823
  return this._left;
1801
1824
  }
1802
1825
  set left(v) {
1803
1826
  this._left = v;
1804
1827
  }
1828
+ _top;
1805
1829
  get top() {
1806
1830
  return this._top;
1807
1831
  }
1808
1832
  set top(v) {
1809
1833
  this._top = v;
1810
1834
  }
1835
+ _right;
1811
1836
  get right() {
1812
1837
  return this._right;
1813
1838
  }
1814
1839
  set right(v) {
1815
1840
  this._right = v;
1816
1841
  }
1842
+ _bottom;
1817
1843
  get bottom() {
1818
1844
  return this._bottom;
1819
1845
  }
1820
1846
  set bottom(v) {
1821
1847
  this._bottom = v;
1822
1848
  }
1849
+ _width;
1823
1850
  get width() {
1824
1851
  return this._width;
1825
1852
  }
1826
1853
  set width(v) {
1827
1854
  this._width = v;
1828
1855
  }
1856
+ _height;
1829
1857
  get height() {
1830
1858
  return this._height;
1831
1859
  }
1832
1860
  set height(v) {
1833
1861
  this._height = v;
1834
1862
  }
1863
+ constructor(rec) {
1864
+ this._left = rec.left;
1865
+ this._top = rec.top;
1866
+ this._width = rec.width;
1867
+ this._height = rec.height;
1868
+ this._right = this._left + this._width;
1869
+ this._bottom = this._top + this._height;
1870
+ }
1835
1871
  intersect(rec) {
1836
1872
  return (this.left < rec.left + rec.width &&
1837
1873
  this.left + this.width > rec.left &&
@@ -1973,11 +2009,11 @@ class AXHtmlUtil {
1973
2009
  }
1974
2010
 
1975
2011
  class AXHtmlModule {
2012
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHtmlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2013
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXHtmlModule, declarations: [AXHtmlToTextPipe], imports: [CommonModule], exports: [AXHtmlToTextPipe] });
2014
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHtmlModule, imports: [CommonModule] });
1976
2015
  }
1977
- AXHtmlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHtmlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1978
- AXHtmlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHtmlModule, declarations: [AXHtmlToTextPipe], imports: [CommonModule], exports: [AXHtmlToTextPipe] });
1979
- AXHtmlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHtmlModule, providers: [], imports: [[CommonModule]] });
1980
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHtmlModule, decorators: [{
2016
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHtmlModule, decorators: [{
1981
2017
  type: NgModule,
1982
2018
  args: [{
1983
2019
  declarations: [AXHtmlToTextPipe],
@@ -1988,22 +2024,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1988
2024
  }] });
1989
2025
 
1990
2026
  class AXOnDemandPreloadService {
2027
+ subject = new Subject();
2028
+ tmp;
1991
2029
  constructor() {
1992
- this.subject = new Subject();
1993
2030
  this.tmp = AXHtmlUtil.getUID();
1994
2031
  }
1995
2032
  startPreload(routePath) {
1996
2033
  const slices = [];
1997
2034
  this.subject.next(routePath);
1998
2035
  }
2036
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXOnDemandPreloadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2037
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXOnDemandPreloadService });
1999
2038
  }
2000
- AXOnDemandPreloadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXOnDemandPreloadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2001
- AXOnDemandPreloadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXOnDemandPreloadService });
2002
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXOnDemandPreloadService, decorators: [{
2039
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXOnDemandPreloadService, decorators: [{
2003
2040
  type: Injectable
2004
2041
  }], ctorParameters: function () { return []; } });
2005
2042
 
2006
2043
  class AXRenderService {
2044
+ appRef;
2045
+ router;
2046
+ componentFactoryResolver;
2047
+ compiler;
2048
+ modulePreloadService;
2049
+ injector;
2007
2050
  constructor(appRef, router, componentFactoryResolver, compiler, modulePreloadService, injector) {
2008
2051
  this.appRef = appRef;
2009
2052
  this.router = router;
@@ -2092,10 +2135,10 @@ class AXRenderService {
2092
2135
  }
2093
2136
  return found;
2094
2137
  }
2138
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXRenderService, deps: [{ token: i0.ApplicationRef }, { token: i1$1.Router }, { token: i0.ComponentFactoryResolver }, { token: i0.Compiler }, { token: AXOnDemandPreloadService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2139
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXRenderService, providedIn: 'root' });
2095
2140
  }
2096
- AXRenderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRenderService, deps: [{ token: i0.ApplicationRef }, { token: i1$1.Router }, { token: i0.ComponentFactoryResolver }, { token: i0.Compiler }, { token: AXOnDemandPreloadService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2097
- AXRenderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRenderService, providedIn: 'root' });
2098
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRenderService, decorators: [{
2141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXRenderService, decorators: [{
2099
2142
  type: Injectable,
2100
2143
  args: [{ providedIn: 'root' }]
2101
2144
  }], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i1$1.Router }, { type: i0.ComponentFactoryResolver }, { type: i0.Compiler }, { type: AXOnDemandPreloadService }, { type: i0.Injector }]; } });
@@ -2105,17 +2148,17 @@ function getOnDemandPreloadServiceFactory() {
2105
2148
  return new AXOnDemandPreloadService();
2106
2149
  }
2107
2150
  class AXRenderingModule {
2151
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXRenderingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2152
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXRenderingModule });
2153
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXRenderingModule, providers: [
2154
+ {
2155
+ provide: AXOnDemandPreloadService,
2156
+ useFactory: getOnDemandPreloadServiceFactory
2157
+ },
2158
+ AXRenderService
2159
+ ] });
2108
2160
  }
2109
- AXRenderingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRenderingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2110
- AXRenderingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRenderingModule });
2111
- AXRenderingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRenderingModule, providers: [
2112
- {
2113
- provide: AXOnDemandPreloadService,
2114
- useFactory: getOnDemandPreloadServiceFactory
2115
- },
2116
- AXRenderService
2117
- ], imports: [[]] });
2118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXRenderingModule, decorators: [{
2161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXRenderingModule, decorators: [{
2119
2162
  type: NgModule,
2120
2163
  args: [{
2121
2164
  imports: [],
@@ -2132,18 +2175,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
2132
2175
  }] });
2133
2176
 
2134
2177
  class AXHorizontalScrollDirective {
2178
+ el;
2135
2179
  constructor(el) {
2136
2180
  this.el = el;
2137
- this.scrollValue = 40;
2138
2181
  }
2182
+ scrollValue = 40;
2139
2183
  onMouseWheel(e) {
2140
2184
  const delta = Math.max(-1, Math.min(1, e.wheelDelta || -e.detail));
2141
2185
  this.el.nativeElement.scrollLeft -= delta * this.scrollValue;
2142
2186
  }
2187
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHorizontalScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2188
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AXHorizontalScrollDirective, selector: "[horizontalScroll]", inputs: { scrollValue: ["horizontalScroll", "scrollValue"] }, host: { listeners: { "wheel": "onMouseWheel($event)" } }, ngImport: i0 });
2143
2189
  }
2144
- AXHorizontalScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHorizontalScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2145
- AXHorizontalScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: AXHorizontalScrollDirective, selector: "[horizontalScroll]", inputs: { scrollValue: ["horizontalScroll", "scrollValue"] }, host: { listeners: { "wheel": "onMouseWheel($event)" } }, ngImport: i0 });
2146
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXHorizontalScrollDirective, decorators: [{
2190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHorizontalScrollDirective, decorators: [{
2147
2191
  type: Directive,
2148
2192
  args: [{
2149
2193
  // tslint:disable-next-line: directive-selector
@@ -2157,18 +2201,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
2157
2201
  args: ['wheel', ['$event']]
2158
2202
  }] } });
2159
2203
  class AXVerticalScrollDirective {
2204
+ el;
2160
2205
  constructor(el) {
2161
2206
  this.el = el;
2162
- this.scrollValue = 40;
2163
2207
  }
2208
+ scrollValue = 40;
2164
2209
  onMouseWheel(e) {
2165
2210
  const delta = Math.max(-1, Math.min(1, e.wheelDelta || -e.detail));
2166
2211
  this.el.nativeElement.scrollTop -= delta * this.scrollValue;
2167
2212
  }
2213
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXVerticalScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2214
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AXVerticalScrollDirective, selector: "[verticalScroll]", inputs: { scrollValue: ["verticalScroll", "scrollValue"] }, host: { listeners: { "wheel": "onMouseWheel($event)" } }, ngImport: i0 });
2168
2215
  }
2169
- AXVerticalScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXVerticalScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2170
- AXVerticalScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: AXVerticalScrollDirective, selector: "[verticalScroll]", inputs: { scrollValue: ["verticalScroll", "scrollValue"] }, host: { listeners: { "wheel": "onMouseWheel($event)" } }, ngImport: i0 });
2171
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXVerticalScrollDirective, decorators: [{
2216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXVerticalScrollDirective, decorators: [{
2172
2217
  type: Directive,
2173
2218
  args: [{
2174
2219
  // tslint:disable-next-line: directive-selector
@@ -2183,11 +2228,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
2183
2228
  }] } });
2184
2229
 
2185
2230
  class AXScrollModule {
2231
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXScrollModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2232
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXScrollModule, declarations: [AXHorizontalScrollDirective, AXVerticalScrollDirective], imports: [CommonModule], exports: [AXHorizontalScrollDirective, AXVerticalScrollDirective] });
2233
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXScrollModule, imports: [CommonModule] });
2186
2234
  }
2187
- AXScrollModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXScrollModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2188
- AXScrollModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXScrollModule, declarations: [AXHorizontalScrollDirective, AXVerticalScrollDirective], imports: [CommonModule], exports: [AXHorizontalScrollDirective, AXVerticalScrollDirective] });
2189
- AXScrollModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXScrollModule, providers: [], imports: [[CommonModule]] });
2190
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXScrollModule, decorators: [{
2235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXScrollModule, decorators: [{
2191
2236
  type: NgModule,
2192
2237
  args: [{
2193
2238
  declarations: [AXHorizontalScrollDirective, AXVerticalScrollDirective],
@@ -2213,11 +2258,11 @@ class AXSeparatorPipe {
2213
2258
  maximumFractionDigits: decimal
2214
2259
  }).format(Number(value)) + (currency != '' ? ' ' + currency : ''));
2215
2260
  }
2261
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2262
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorPipe, name: "separator" });
2263
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorPipe, providedIn: 'root' });
2216
2264
  }
2217
- AXSeparatorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSeparatorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2218
- AXSeparatorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSeparatorPipe, name: "separator" });
2219
- AXSeparatorPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSeparatorPipe, providedIn: 'root' });
2220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSeparatorPipe, decorators: [{
2265
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorPipe, decorators: [{
2221
2266
  type: Pipe,
2222
2267
  args: [{ name: 'separator' }]
2223
2268
  }, {
@@ -2228,11 +2273,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
2228
2273
  }] });
2229
2274
 
2230
2275
  class AXSeparatorModule {
2276
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2277
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorModule, declarations: [AXSeparatorPipe], imports: [CommonModule], exports: [AXSeparatorPipe] });
2278
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorModule, imports: [CommonModule] });
2231
2279
  }
2232
- AXSeparatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSeparatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2233
- AXSeparatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSeparatorModule, declarations: [AXSeparatorPipe], imports: [CommonModule], exports: [AXSeparatorPipe] });
2234
- AXSeparatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSeparatorModule, providers: [], imports: [[CommonModule]] });
2235
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSeparatorModule, decorators: [{
2280
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorModule, decorators: [{
2236
2281
  type: NgModule,
2237
2282
  args: [{
2238
2283
  declarations: [AXSeparatorPipe],
@@ -2248,11 +2293,11 @@ const SERVICES = [AXEventService,
2248
2293
  AXStorageService
2249
2294
  ];
2250
2295
  class AXCoreModule {
2296
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2297
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXCoreModule, declarations: [AXDateTimePipe], imports: [AXScrollModule, AXTranslatorModule], exports: [AXDateTimePipe] });
2298
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXCoreModule, providers: [...SERVICES], imports: [MODULES] });
2251
2299
  }
2252
- AXCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2253
- AXCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCoreModule, declarations: [AXDateTimePipe], imports: [AXScrollModule, AXTranslatorModule], exports: [AXDateTimePipe] });
2254
- AXCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCoreModule, providers: [...SERVICES], imports: [[...MODULES]] });
2255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXCoreModule, decorators: [{
2300
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXCoreModule, decorators: [{
2256
2301
  type: NgModule,
2257
2302
  args: [{
2258
2303
  declarations: [...PIPES],