@firestitch/common 15.0.0 → 17.0.0

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 (152) hide show
  1. package/app/directives/auto-focus.directive.d.ts +1 -1
  2. package/app/directives/auto-select.directive.d.ts +1 -1
  3. package/app/directives/model-change.directive.d.ts +1 -1
  4. package/esm2022/app/directives/auto-focus.directive.mjs +61 -0
  5. package/esm2022/app/directives/auto-select.directive.mjs +32 -0
  6. package/esm2022/app/directives/model-change.directive.mjs +39 -0
  7. package/{esm2020 → esm2022}/app/directives/prevent-default.directive.mjs +4 -4
  8. package/{esm2020 → esm2022}/app/directives/stop-propagation.directive.mjs +4 -4
  9. package/{esm2020 → esm2022}/app/fs-common.module.mjs +31 -31
  10. package/{esm2020 → esm2022}/app/pipes/bytes.pipe.mjs +4 -4
  11. package/esm2022/app/pipes/currency.pipe.mjs +24 -0
  12. package/{esm2020 → esm2022}/app/pipes/number.pipe.mjs +4 -4
  13. package/{esm2020 → esm2022}/app/pipes/ordinal-number.pipe.mjs +4 -4
  14. package/{esm2020 → esm2022}/app/pipes/truncate.pipe.mjs +5 -5
  15. package/{esm2020 → esm2022}/app/pipes/util.pipe.mjs +15 -15
  16. package/esm2022/app/services/array.service.mjs +225 -0
  17. package/{esm2020 → esm2022}/app/services/math.service.mjs +4 -4
  18. package/esm2022/app/services/util.service.mjs +249 -0
  19. package/esm2022/app/services/vaildate.service.mjs +29 -0
  20. package/{esm2020 → esm2022}/libs/array/compare/compare.mjs +1 -1
  21. package/esm2022/libs/array/filter/filter.mjs +27 -0
  22. package/esm2022/libs/array/inArray/inArray.mjs +12 -0
  23. package/esm2022/libs/array/indexOf/indexOf.mjs +16 -0
  24. package/{esm2020 → esm2022}/libs/array/list/list.mjs +1 -1
  25. package/esm2022/libs/array/nameValue/nameValue.mjs +21 -0
  26. package/{esm2020 → esm2022}/libs/array/remove/remove.mjs +1 -1
  27. package/esm2022/libs/array/sort/sort.mjs +27 -0
  28. package/esm2022/libs/format/acronym/acronym.mjs +22 -0
  29. package/esm2022/libs/format/bytes/bytes.mjs +18 -0
  30. package/{esm2020 → esm2022}/libs/format/number/number.mjs +1 -1
  31. package/esm2022/libs/format/truncate/truncate.mjs +12 -0
  32. package/esm2022/libs/rxjs/delayedRetry.mjs +20 -0
  33. package/esm2022/libs/util/clone/clone.mjs +21 -0
  34. package/esm2022/libs/util/guid/guid.mjs +19 -0
  35. package/esm2022/libs/util/is-array-equal/is-array-equal.mjs +22 -0
  36. package/esm2022/libs/util/is-class/is-class.mjs +18 -0
  37. package/esm2022/libs/util/length/length.mjs +10 -0
  38. package/esm2022/libs/util/queue/operation.mjs +17 -0
  39. package/esm2022/libs/util/queue/queue.mjs +166 -0
  40. package/esm2022/libs/util/source-loader/source-loader.mjs +155 -0
  41. package/esm2022/libs/util/throttle/throttle.mjs +13 -0
  42. package/{esm2020 → esm2022}/libs/util/to-string/to-string.mjs +1 -1
  43. package/esm2022/libs/util/value/value.mjs +9 -0
  44. package/{fesm2020 → fesm2022}/firestitch-common.mjs +136 -128
  45. package/fesm2022/firestitch-common.mjs.map +1 -0
  46. package/package.json +5 -11
  47. package/esm2020/app/directives/auto-focus.directive.mjs +0 -59
  48. package/esm2020/app/directives/auto-select.directive.mjs +0 -31
  49. package/esm2020/app/directives/model-change.directive.mjs +0 -37
  50. package/esm2020/app/pipes/currency.pipe.mjs +0 -23
  51. package/esm2020/app/services/array.service.mjs +0 -225
  52. package/esm2020/app/services/util.service.mjs +0 -251
  53. package/esm2020/app/services/vaildate.service.mjs +0 -28
  54. package/esm2020/libs/array/filter/filter.mjs +0 -27
  55. package/esm2020/libs/array/inArray/inArray.mjs +0 -12
  56. package/esm2020/libs/array/indexOf/indexOf.mjs +0 -16
  57. package/esm2020/libs/array/nameValue/nameValue.mjs +0 -21
  58. package/esm2020/libs/array/sort/sort.mjs +0 -27
  59. package/esm2020/libs/format/acronym/acronym.mjs +0 -22
  60. package/esm2020/libs/format/bytes/bytes.mjs +0 -18
  61. package/esm2020/libs/format/truncate/truncate.mjs +0 -12
  62. package/esm2020/libs/rxjs/delayedRetry.mjs +0 -20
  63. package/esm2020/libs/util/clone/clone.mjs +0 -21
  64. package/esm2020/libs/util/guid/guid.mjs +0 -19
  65. package/esm2020/libs/util/is-array-equal/is-array-equal.mjs +0 -22
  66. package/esm2020/libs/util/is-class/is-class.mjs +0 -18
  67. package/esm2020/libs/util/length/length.mjs +0 -10
  68. package/esm2020/libs/util/queue/operation.mjs +0 -15
  69. package/esm2020/libs/util/queue/queue.mjs +0 -165
  70. package/esm2020/libs/util/source-loader/source-loader.mjs +0 -155
  71. package/esm2020/libs/util/throttle/throttle.mjs +0 -13
  72. package/esm2020/libs/util/value/value.mjs +0 -9
  73. package/fesm2015/firestitch-common.mjs +0 -1754
  74. package/fesm2015/firestitch-common.mjs.map +0 -1
  75. package/fesm2020/firestitch-common.mjs.map +0 -1
  76. /package/{esm2020 → esm2022}/app/directives/index.mjs +0 -0
  77. /package/{esm2020 → esm2022}/app/pipes/index.mjs +0 -0
  78. /package/{esm2020 → esm2022}/firestitch-common.mjs +0 -0
  79. /package/{esm2020 → esm2022}/libs/array/compare/index.mjs +0 -0
  80. /package/{esm2020 → esm2022}/libs/array/filter/index.mjs +0 -0
  81. /package/{esm2020 → esm2022}/libs/array/find/find.mjs +0 -0
  82. /package/{esm2020 → esm2022}/libs/array/find/index.mjs +0 -0
  83. /package/{esm2020 → esm2022}/libs/array/inArray/index.mjs +0 -0
  84. /package/{esm2020 → esm2022}/libs/array/index/index.mjs +0 -0
  85. /package/{esm2020 → esm2022}/libs/array/index.mjs +0 -0
  86. /package/{esm2020 → esm2022}/libs/array/indexOf/index.mjs +0 -0
  87. /package/{esm2020 → esm2022}/libs/array/keyExists/index.mjs +0 -0
  88. /package/{esm2020 → esm2022}/libs/array/keyExists/keyExists.mjs +0 -0
  89. /package/{esm2020 → esm2022}/libs/array/ksort/index.mjs +0 -0
  90. /package/{esm2020 → esm2022}/libs/array/ksort/ksort.mjs +0 -0
  91. /package/{esm2020 → esm2022}/libs/array/list/index.mjs +0 -0
  92. /package/{esm2020 → esm2022}/libs/array/nameValue/index.mjs +0 -0
  93. /package/{esm2020 → esm2022}/libs/array/remove/index.mjs +0 -0
  94. /package/{esm2020 → esm2022}/libs/array/rsort/index.mjs +0 -0
  95. /package/{esm2020 → esm2022}/libs/array/rsort/rsort.mjs +0 -0
  96. /package/{esm2020 → esm2022}/libs/array/sort/index.mjs +0 -0
  97. /package/{esm2020 → esm2022}/libs/format/acronym/index.mjs +0 -0
  98. /package/{esm2020 → esm2022}/libs/format/bytes/index.mjs +0 -0
  99. /package/{esm2020 → esm2022}/libs/format/currency/currency.mjs +0 -0
  100. /package/{esm2020 → esm2022}/libs/format/currency/index.mjs +0 -0
  101. /package/{esm2020 → esm2022}/libs/format/index.mjs +0 -0
  102. /package/{esm2020 → esm2022}/libs/format/number/index.mjs +0 -0
  103. /package/{esm2020 → esm2022}/libs/format/truncate/index.mjs +0 -0
  104. /package/{esm2020 → esm2022}/libs/index.mjs +0 -0
  105. /package/{esm2020 → esm2022}/libs/rxjs/keyboard-shortcut.mjs +0 -0
  106. /package/{esm2020 → esm2022}/libs/util/boolean/boolean.mjs +0 -0
  107. /package/{esm2020 → esm2022}/libs/util/boolean/index.mjs +0 -0
  108. /package/{esm2020 → esm2022}/libs/util/clone/index.mjs +0 -0
  109. /package/{esm2020 → esm2022}/libs/util/debounce/debounce.mjs +0 -0
  110. /package/{esm2020 → esm2022}/libs/util/debounce/index.mjs +0 -0
  111. /package/{esm2020 → esm2022}/libs/util/get-normalized-path/get-normalized-path.mjs +0 -0
  112. /package/{esm2020 → esm2022}/libs/util/get-normalized-path/index.mjs +0 -0
  113. /package/{esm2020 → esm2022}/libs/util/guid/index.mjs +0 -0
  114. /package/{esm2020 → esm2022}/libs/util/index.mjs +0 -0
  115. /package/{esm2020 → esm2022}/libs/util/is-array-equal/index.mjs +0 -0
  116. /package/{esm2020 → esm2022}/libs/util/is-class/index.mjs +0 -0
  117. /package/{esm2020 → esm2022}/libs/util/is-empty/index.mjs +0 -0
  118. /package/{esm2020 → esm2022}/libs/util/is-empty/is-empty.mjs +0 -0
  119. /package/{esm2020 → esm2022}/libs/util/is-numeric/index.mjs +0 -0
  120. /package/{esm2020 → esm2022}/libs/util/is-numeric/is-numeric.mjs +0 -0
  121. /package/{esm2020 → esm2022}/libs/util/is-object/index.mjs +0 -0
  122. /package/{esm2020 → esm2022}/libs/util/is-object/is-object.mjs +0 -0
  123. /package/{esm2020 → esm2022}/libs/util/keys/index.mjs +0 -0
  124. /package/{esm2020 → esm2022}/libs/util/keys/keys.mjs +0 -0
  125. /package/{esm2020 → esm2022}/libs/util/length/index.mjs +0 -0
  126. /package/{esm2020 → esm2022}/libs/util/ordinal-number/index.mjs +0 -0
  127. /package/{esm2020 → esm2022}/libs/util/ordinal-number/ordinal-number.mjs +0 -0
  128. /package/{esm2020 → esm2022}/libs/util/queue/index.mjs +0 -0
  129. /package/{esm2020 → esm2022}/libs/util/queue/queue-stats.mjs +0 -0
  130. /package/{esm2020 → esm2022}/libs/util/queue/queue.enum.mjs +0 -0
  131. /package/{esm2020 → esm2022}/libs/util/remove-query-params/index.mjs +0 -0
  132. /package/{esm2020 → esm2022}/libs/util/remove-query-params/remove-query-params.mjs +0 -0
  133. /package/{esm2020 → esm2022}/libs/util/resolve/index.mjs +0 -0
  134. /package/{esm2020 → esm2022}/libs/util/resolve/resolve.mjs +0 -0
  135. /package/{esm2020 → esm2022}/libs/util/round/index.mjs +0 -0
  136. /package/{esm2020 → esm2022}/libs/util/round/round.mjs +0 -0
  137. /package/{esm2020 → esm2022}/libs/util/source-loader/index.mjs +0 -0
  138. /package/{esm2020 → esm2022}/libs/util/stringify/index.mjs +0 -0
  139. /package/{esm2020 → esm2022}/libs/util/stringify/stringify.mjs +0 -0
  140. /package/{esm2020 → esm2022}/libs/util/throttle/index.mjs +0 -0
  141. /package/{esm2020 → esm2022}/libs/util/to-string/index.mjs +0 -0
  142. /package/{esm2020 → esm2022}/libs/util/uuid/index.mjs +0 -0
  143. /package/{esm2020 → esm2022}/libs/util/uuid/uuid.mjs +0 -0
  144. /package/{esm2020 → esm2022}/libs/util/value/index.mjs +0 -0
  145. /package/{esm2020 → esm2022}/libs/validate/email/email.mjs +0 -0
  146. /package/{esm2020 → esm2022}/libs/validate/email/index.mjs +0 -0
  147. /package/{esm2020 → esm2022}/libs/validate/index.mjs +0 -0
  148. /package/{esm2020 → esm2022}/libs/validate/phone/index.mjs +0 -0
  149. /package/{esm2020 → esm2022}/libs/validate/phone/phone.mjs +0 -0
  150. /package/{esm2020 → esm2022}/libs/validate/url/index.mjs +0 -0
  151. /package/{esm2020 → esm2022}/libs/validate/url/url.mjs +0 -0
  152. /package/{esm2020 → esm2022}/public_api.mjs +0 -0
@@ -7,12 +7,14 @@ import { Subject, Observable, of, combineLatest, iif, throwError, timer, fromEve
7
7
  import { debounceTime, takeUntil, take, map, delay, finalize, shareReplay, retryWhen, tap, concatMap, distinctUntilChanged, share, filter as filter$1 } from 'rxjs/operators';
8
8
 
9
9
  class FsAutoFocusDirective {
10
+ _matInput;
11
+ _el;
12
+ fsAutofocus = true;
13
+ fsAutoFocus = true;
14
+ autofocus = true;
10
15
  constructor(_matInput, _el) {
11
16
  this._matInput = _matInput;
12
17
  this._el = _el;
13
- this.fsAutofocus = true;
14
- this.fsAutoFocus = true;
15
- this.autofocus = true;
16
18
  }
17
19
  ngAfterViewInit() {
18
20
  if ((this.fsAutofocus ?? true) === true &&
@@ -41,19 +43,19 @@ class FsAutoFocusDirective {
41
43
  document.body.removeChild(tmpEl);
42
44
  }, 50);
43
45
  }
46
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsAutoFocusDirective, deps: [{ token: i1.MatInput, host: true, optional: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
47
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: FsAutoFocusDirective, selector: "[fsAutofocus],[fsAutoFocus],[autofocus]", inputs: { fsAutofocus: "fsAutofocus", fsAutoFocus: "fsAutoFocus", autofocus: "autofocus" }, ngImport: i0 });
44
48
  }
45
- FsAutoFocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsAutoFocusDirective, deps: [{ token: i1.MatInput, host: true, optional: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
46
- FsAutoFocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FsAutoFocusDirective, selector: "[fsAutofocus],[fsAutoFocus],[autofocus]", inputs: { fsAutofocus: "fsAutofocus", fsAutoFocus: "fsAutoFocus", autofocus: "autofocus" }, ngImport: i0 });
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsAutoFocusDirective, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsAutoFocusDirective, decorators: [{
48
50
  type: Directive,
49
51
  args: [{
50
52
  selector: '[fsAutofocus],[fsAutoFocus],[autofocus]',
51
53
  }]
52
- }], ctorParameters: function () { return [{ type: i1.MatInput, decorators: [{
54
+ }], ctorParameters: () => [{ type: i1.MatInput, decorators: [{
53
55
  type: Optional
54
56
  }, {
55
57
  type: Host
56
- }] }, { type: i0.ElementRef }]; }, propDecorators: { fsAutofocus: [{
58
+ }] }, { type: i0.ElementRef }], propDecorators: { fsAutofocus: [{
57
59
  type: Input
58
60
  }], fsAutoFocus: [{
59
61
  type: Input
@@ -62,9 +64,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
62
64
  }] } });
63
65
 
64
66
  class FsAutoSelectDirective {
67
+ _el;
68
+ fsAutoSelect = true;
65
69
  constructor(_el) {
66
70
  this._el = _el;
67
- this.fsAutoSelect = true;
68
71
  }
69
72
  ngAfterViewInit() {
70
73
  if ((this.fsAutoSelect ?? true) === true) {
@@ -78,23 +81,25 @@ class FsAutoSelectDirective {
78
81
  }
79
82
  }, 50);
80
83
  }
84
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsAutoSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
85
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: FsAutoSelectDirective, selector: "[fsAutoSelect]", inputs: { fsAutoSelect: "fsAutoSelect" }, ngImport: i0 });
81
86
  }
82
- FsAutoSelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsAutoSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
83
- FsAutoSelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FsAutoSelectDirective, selector: "[fsAutoSelect]", inputs: { fsAutoSelect: "fsAutoSelect" }, ngImport: i0 });
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsAutoSelectDirective, decorators: [{
87
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsAutoSelectDirective, decorators: [{
85
88
  type: Directive,
86
89
  args: [{
87
90
  selector: '[fsAutoSelect]',
88
91
  }]
89
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { fsAutoSelect: [{
92
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { fsAutoSelect: [{
90
93
  type: Input
91
94
  }] } });
92
95
 
93
96
  class FsModelChangeDirective {
97
+ _ngModel;
98
+ fsModelChangeOptions;
99
+ fsModelChange = new EventEmitter();
100
+ _destroy$ = new Subject();
94
101
  constructor(_ngModel) {
95
102
  this._ngModel = _ngModel;
96
- this.fsModelChange = new EventEmitter();
97
- this._destroy$ = new Subject();
98
103
  }
99
104
  ngOnInit() {
100
105
  this._ngModel.update
@@ -104,18 +109,18 @@ class FsModelChangeDirective {
104
109
  });
105
110
  }
106
111
  ngOnDestroy() {
107
- this._destroy$.next();
112
+ this._destroy$.next(null);
108
113
  this._destroy$.complete();
109
114
  }
115
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsModelChangeDirective, deps: [{ token: i1$1.NgModel }], target: i0.ɵɵFactoryTarget.Directive });
116
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: FsModelChangeDirective, selector: "[fsModelChange]", inputs: { fsModelChangeOptions: "fsModelChangeOptions" }, outputs: { fsModelChange: "fsModelChange" }, ngImport: i0 });
110
117
  }
111
- FsModelChangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsModelChangeDirective, deps: [{ token: i1$1.NgModel }], target: i0.ɵɵFactoryTarget.Directive });
112
- FsModelChangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FsModelChangeDirective, selector: "[fsModelChange]", inputs: { fsModelChangeOptions: "fsModelChangeOptions" }, outputs: { fsModelChange: "fsModelChange" }, ngImport: i0 });
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsModelChangeDirective, decorators: [{
118
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsModelChangeDirective, decorators: [{
114
119
  type: Directive,
115
120
  args: [{
116
121
  selector: '[fsModelChange]',
117
122
  }]
118
- }], ctorParameters: function () { return [{ type: i1$1.NgModel }]; }, propDecorators: { fsModelChangeOptions: [{
123
+ }], ctorParameters: () => [{ type: i1$1.NgModel }], propDecorators: { fsModelChangeOptions: [{
119
124
  type: Input
120
125
  }], fsModelChange: [{
121
126
  type: Output
@@ -125,10 +130,10 @@ class FsPreventDefaultDirective {
125
130
  preventClick(event) {
126
131
  event.preventDefault();
127
132
  }
133
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsPreventDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
134
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: FsPreventDefaultDirective, selector: "[fsPreventDefault]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
128
135
  }
129
- FsPreventDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsPreventDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
130
- FsPreventDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FsPreventDefaultDirective, selector: "[fsPreventDefault]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsPreventDefaultDirective, decorators: [{
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsPreventDefaultDirective, decorators: [{
132
137
  type: Directive,
133
138
  args: [{
134
139
  selector: '[fsPreventDefault]',
@@ -142,10 +147,10 @@ class FsStopPropagationDirective {
142
147
  preventClick(event) {
143
148
  event.stopPropagation();
144
149
  }
150
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsStopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
151
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: FsStopPropagationDirective, selector: "[fsStopPropagation]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
145
152
  }
146
- FsStopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsStopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
147
- FsStopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FsStopPropagationDirective, selector: "[fsStopPropagation]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsStopPropagationDirective, decorators: [{
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsStopPropagationDirective, decorators: [{
149
154
  type: Directive,
150
155
  args: [{
151
156
  selector: '[fsStopPropagation]',
@@ -195,37 +200,37 @@ class FsUtilStringifyPipe {
195
200
  transform(value) {
196
201
  return stringify(value);
197
202
  }
203
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtilStringifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
204
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FsUtilStringifyPipe, name: "fsUtilStringify" });
198
205
  }
199
- FsUtilStringifyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsUtilStringifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
200
- FsUtilStringifyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FsUtilStringifyPipe, name: "fsUtilStringify" });
201
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsUtilStringifyPipe, decorators: [{
206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtilStringifyPipe, decorators: [{
202
207
  type: Pipe,
203
208
  args: [{
204
209
  name: 'fsUtilStringify',
205
210
  }]
206
- }], ctorParameters: function () { return []; } });
211
+ }], ctorParameters: () => [] });
207
212
  class FsUtilGuidPipe {
208
213
  constructor() { }
209
214
  transform() {
210
215
  return guid();
211
216
  }
217
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtilGuidPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
218
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FsUtilGuidPipe, name: "fsUtilGuid" });
212
219
  }
213
- FsUtilGuidPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsUtilGuidPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
214
- FsUtilGuidPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FsUtilGuidPipe, name: "fsUtilGuid" });
215
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsUtilGuidPipe, decorators: [{
220
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtilGuidPipe, decorators: [{
216
221
  type: Pipe,
217
222
  args: [{
218
223
  name: 'fsUtilGuid',
219
224
  }]
220
- }], ctorParameters: function () { return []; } });
225
+ }], ctorParameters: () => [] });
221
226
  class FsUtilIsEmptyPipe {
222
227
  transform(value) {
223
228
  return isEmpty(value);
224
229
  }
230
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtilIsEmptyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
231
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FsUtilIsEmptyPipe, name: "fsUtilIsEmpty" });
225
232
  }
226
- FsUtilIsEmptyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsUtilIsEmptyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
227
- FsUtilIsEmptyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FsUtilIsEmptyPipe, name: "fsUtilIsEmpty" });
228
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsUtilIsEmptyPipe, decorators: [{
233
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtilIsEmptyPipe, decorators: [{
229
234
  type: Pipe,
230
235
  args: [{
231
236
  name: 'fsUtilIsEmpty',
@@ -235,10 +240,10 @@ class FsUtilIsNotEmptyPipe {
235
240
  transform(value) {
236
241
  return !isEmpty(value);
237
242
  }
243
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtilIsNotEmptyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
244
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FsUtilIsNotEmptyPipe, name: "fsUtilIsNotEmpty" });
238
245
  }
239
- FsUtilIsNotEmptyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsUtilIsNotEmptyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
240
- FsUtilIsNotEmptyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FsUtilIsNotEmptyPipe, name: "fsUtilIsNotEmpty" });
241
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsUtilIsNotEmptyPipe, decorators: [{
246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtilIsNotEmptyPipe, decorators: [{
242
247
  type: Pipe,
243
248
  args: [{
244
249
  name: 'fsUtilIsNotEmpty',
@@ -561,8 +566,10 @@ function ordinalNumber(value) {
561
566
  }
562
567
 
563
568
  class Operation {
569
+ name;
570
+ target;
571
+ ready$ = new Subject();
564
572
  constructor(target, name) {
565
- this.ready$ = new Subject();
566
573
  this.name = name ? name : guid();
567
574
  if (target instanceof Observable) {
568
575
  this.target = target;
@@ -580,28 +587,29 @@ var QueueState;
580
587
  })(QueueState || (QueueState = {}));
581
588
 
582
589
  class Queue {
590
+ _limit;
591
+ _queueStats = {
592
+ completed: 0,
593
+ total: 0,
594
+ errors: [],
595
+ };
596
+ _doneQueueStats = {
597
+ completed: 0,
598
+ total: 0,
599
+ errors: [],
600
+ };
601
+ _completeQueueStats = {
602
+ completed: 0,
603
+ total: 0,
604
+ errors: [],
605
+ };
606
+ _done = new Subject();
607
+ _queue = [];
608
+ _inProgress = [];
609
+ _state = QueueState.Idle;
610
+ _destroy$ = new Subject();
583
611
  constructor(_limit = Infinity) {
584
612
  this._limit = _limit;
585
- this._queueStats = {
586
- completed: 0,
587
- total: 0,
588
- errors: [],
589
- };
590
- this._doneQueueStats = {
591
- completed: 0,
592
- total: 0,
593
- errors: [],
594
- };
595
- this._completeQueueStats = {
596
- completed: 0,
597
- total: 0,
598
- errors: [],
599
- };
600
- this._done = new Subject();
601
- this._queue = [];
602
- this._inProgress = [];
603
- this._state = QueueState.Idle;
604
- this._destroy$ = new Subject();
605
613
  // if(_targets) {
606
614
  // _targets.forEach((target) => {
607
615
  // this.push(target);
@@ -854,7 +862,7 @@ const fsSourceLoader = (function () {
854
862
  script.src = scriptPath;
855
863
  _headElement.appendChild(script);
856
864
  script.onload = () => {
857
- obs.next();
865
+ obs.next(null);
858
866
  obs.complete();
859
867
  };
860
868
  script.onerror = (err) => {
@@ -874,7 +882,7 @@ const fsSourceLoader = (function () {
874
882
  style.href = `${stylePath}`;
875
883
  _headElement.appendChild(style);
876
884
  style.onload = () => {
877
- obs.next();
885
+ obs.next(null);
878
886
  obs.complete();
879
887
  };
880
888
  style.onerror = (err) => {
@@ -1050,10 +1058,10 @@ class FsFormatBytesPipe {
1050
1058
  transform(value, decimals, unit) {
1051
1059
  return bytes(value, decimals, unit);
1052
1060
  }
1061
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatBytesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1062
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FsFormatBytesPipe, name: "fsFormatBytes" });
1053
1063
  }
1054
- FsFormatBytesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsFormatBytesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1055
- FsFormatBytesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FsFormatBytesPipe, name: "fsFormatBytes" });
1056
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsFormatBytesPipe, decorators: [{
1064
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatBytesPipe, decorators: [{
1057
1065
  type: Pipe,
1058
1066
  args: [{
1059
1067
  name: 'fsFormatBytes',
@@ -1061,33 +1069,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1061
1069
  }] });
1062
1070
 
1063
1071
  class FsFormatCurrencyPipe {
1072
+ locale;
1064
1073
  constructor(locale) {
1065
1074
  this.locale = locale;
1066
1075
  }
1067
1076
  transform(amount, precision = 2, currencyCode) {
1068
1077
  return currency(amount, precision, currencyCode);
1069
1078
  }
1079
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatCurrencyPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
1080
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FsFormatCurrencyPipe, name: "fsFormatCurrency" });
1070
1081
  }
1071
- FsFormatCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsFormatCurrencyPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
1072
- FsFormatCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FsFormatCurrencyPipe, name: "fsFormatCurrency" });
1073
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsFormatCurrencyPipe, decorators: [{
1082
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatCurrencyPipe, decorators: [{
1074
1083
  type: Pipe,
1075
1084
  args: [{
1076
1085
  name: 'fsFormatCurrency',
1077
1086
  }]
1078
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1087
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
1079
1088
  type: Inject,
1080
1089
  args: [LOCALE_ID]
1081
- }] }]; } });
1090
+ }] }] });
1082
1091
 
1083
1092
  class FsFormatNumberPipe {
1084
1093
  transform(value, decimals) {
1085
1094
  return number(value, decimals);
1086
1095
  }
1096
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1097
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FsFormatNumberPipe, name: "fsFormatNumber" });
1087
1098
  }
1088
- FsFormatNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsFormatNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1089
- FsFormatNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FsFormatNumberPipe, name: "fsFormatNumber" });
1090
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsFormatNumberPipe, decorators: [{
1099
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatNumberPipe, decorators: [{
1091
1100
  type: Pipe,
1092
1101
  args: [{
1093
1102
  name: 'fsFormatNumber'
@@ -1098,10 +1107,10 @@ class FsFormatOrdinalNumberPipe {
1098
1107
  transform(value) {
1099
1108
  return ordinalNumber(value);
1100
1109
  }
1110
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatOrdinalNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1111
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FsFormatOrdinalNumberPipe, name: "fsFormatOrdinalNumber" });
1101
1112
  }
1102
- FsFormatOrdinalNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsFormatOrdinalNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1103
- FsFormatOrdinalNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FsFormatOrdinalNumberPipe, name: "fsFormatOrdinalNumber" });
1104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsFormatOrdinalNumberPipe, decorators: [{
1113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatOrdinalNumberPipe, decorators: [{
1105
1114
  type: Pipe,
1106
1115
  args: [{
1107
1116
  name: 'fsFormatOrdinalNumber',
@@ -1113,15 +1122,15 @@ class FsFormatTruncatePipe {
1113
1122
  transform(value, limit, completeWords, ellipsis) {
1114
1123
  return truncate(value, limit, completeWords, ellipsis);
1115
1124
  }
1125
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1126
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FsFormatTruncatePipe, name: "fsFormatTruncate" });
1116
1127
  }
1117
- FsFormatTruncatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsFormatTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1118
- FsFormatTruncatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FsFormatTruncatePipe, name: "fsFormatTruncate" });
1119
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsFormatTruncatePipe, decorators: [{
1128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatTruncatePipe, decorators: [{
1120
1129
  type: Pipe,
1121
1130
  args: [{
1122
1131
  name: 'fsFormatTruncate'
1123
1132
  }]
1124
- }], ctorParameters: function () { return []; } });
1133
+ }], ctorParameters: () => [] });
1125
1134
 
1126
1135
  class FsArray {
1127
1136
  /**
@@ -1339,10 +1348,10 @@ class FsArray {
1339
1348
  unordered[key] = value;
1340
1349
  });
1341
1350
  }
1351
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsArray, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1352
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsArray });
1342
1353
  }
1343
- FsArray.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsArray, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1344
- FsArray.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsArray });
1345
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsArray, decorators: [{
1354
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsArray, decorators: [{
1346
1355
  type: Injectable
1347
1356
  }] });
1348
1357
 
@@ -1358,10 +1367,10 @@ class FsMath {
1358
1367
  let roundedTempNumber = Math.round(tempNumber);
1359
1368
  return roundedTempNumber / factor;
1360
1369
  }
1370
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsMath, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1371
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsMath });
1361
1372
  }
1362
- FsMath.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsMath, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1363
- FsMath.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsMath });
1364
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsMath, decorators: [{
1373
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsMath, decorators: [{
1365
1374
  type: Injectable
1366
1375
  }] });
1367
1376
 
@@ -1371,9 +1380,7 @@ const KEY_CANCEL = 3, KEY_HELP = 6, KEY_BACKSPACE = 8, KEY_TAB = 9, KEY_CLEAR =
1371
1380
  There might be a better way to organise constatns but I need to know use-cases
1372
1381
  */
1373
1382
  class FsUtil {
1374
- constructor() {
1375
- this.intervals = {};
1376
- }
1383
+ intervals = {};
1377
1384
  /**
1378
1385
  * @deprecated use @firestitch/common/util/guid instead
1379
1386
  */
@@ -1607,14 +1614,15 @@ class FsUtil {
1607
1614
  console.warn('@deprecated use import { stringify } from @firestitch/common/util; instead');
1608
1615
  return JSON.stringify(value);
1609
1616
  }
1617
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtil, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1618
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtil });
1610
1619
  }
1611
- FsUtil.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsUtil, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1612
- FsUtil.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsUtil });
1613
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsUtil, decorators: [{
1620
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtil, decorators: [{
1614
1621
  type: Injectable
1615
1622
  }] });
1616
1623
 
1617
1624
  class FsValidate {
1625
+ fsUtil;
1618
1626
  constructor(fsUtil) {
1619
1627
  this.fsUtil = fsUtil;
1620
1628
  }
@@ -1631,12 +1639,12 @@ class FsValidate {
1631
1639
  email(value) {
1632
1640
  return !!this.fsUtil.string(value).match(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
1633
1641
  }
1642
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsValidate, deps: [{ token: FsUtil }], target: i0.ɵɵFactoryTarget.Injectable });
1643
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsValidate });
1634
1644
  }
1635
- FsValidate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsValidate, deps: [{ token: FsUtil }], target: i0.ɵɵFactoryTarget.Injectable });
1636
- FsValidate.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsValidate });
1637
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsValidate, decorators: [{
1645
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsValidate, decorators: [{
1638
1646
  type: Injectable
1639
- }], ctorParameters: function () { return [{ type: FsUtil }]; } });
1647
+ }], ctorParameters: () => [{ type: FsUtil }] });
1640
1648
 
1641
1649
  class FsCommonModule {
1642
1650
  static forRoot() {
@@ -1650,37 +1658,37 @@ class FsCommonModule {
1650
1658
  ],
1651
1659
  };
1652
1660
  }
1653
- }
1654
- FsCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1655
- FsCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FsCommonModule, declarations: [FsStopPropagationDirective,
1656
- FsPreventDefaultDirective,
1657
- FsAutoFocusDirective,
1658
- FsAutoSelectDirective,
1659
- FsUtilGuidPipe,
1660
- FsUtilIsEmptyPipe,
1661
- FsUtilIsNotEmptyPipe,
1662
- FsUtilStringifyPipe,
1663
- FsFormatNumberPipe,
1664
- FsFormatCurrencyPipe,
1665
- FsFormatTruncatePipe,
1666
- FsFormatBytesPipe,
1667
- FsFormatOrdinalNumberPipe,
1668
- FsModelChangeDirective], imports: [CommonModule], exports: [FsStopPropagationDirective,
1669
- FsPreventDefaultDirective,
1670
- FsAutoFocusDirective,
1671
- FsAutoSelectDirective,
1672
- FsUtilGuidPipe,
1673
- FsUtilStringifyPipe,
1674
- FsFormatNumberPipe,
1675
- FsFormatCurrencyPipe,
1676
- FsFormatTruncatePipe,
1677
- FsUtilIsEmptyPipe,
1678
- FsUtilIsNotEmptyPipe,
1679
- FsFormatBytesPipe,
1680
- FsModelChangeDirective,
1681
- FsFormatOrdinalNumberPipe] });
1682
- FsCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsCommonModule, imports: [CommonModule] });
1683
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsCommonModule, decorators: [{
1661
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1662
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FsCommonModule, declarations: [FsStopPropagationDirective,
1663
+ FsPreventDefaultDirective,
1664
+ FsAutoFocusDirective,
1665
+ FsAutoSelectDirective,
1666
+ FsUtilGuidPipe,
1667
+ FsUtilIsEmptyPipe,
1668
+ FsUtilIsNotEmptyPipe,
1669
+ FsUtilStringifyPipe,
1670
+ FsFormatNumberPipe,
1671
+ FsFormatCurrencyPipe,
1672
+ FsFormatTruncatePipe,
1673
+ FsFormatBytesPipe,
1674
+ FsFormatOrdinalNumberPipe,
1675
+ FsModelChangeDirective], imports: [CommonModule], exports: [FsStopPropagationDirective,
1676
+ FsPreventDefaultDirective,
1677
+ FsAutoFocusDirective,
1678
+ FsAutoSelectDirective,
1679
+ FsUtilGuidPipe,
1680
+ FsUtilStringifyPipe,
1681
+ FsFormatNumberPipe,
1682
+ FsFormatCurrencyPipe,
1683
+ FsFormatTruncatePipe,
1684
+ FsUtilIsEmptyPipe,
1685
+ FsUtilIsNotEmptyPipe,
1686
+ FsFormatBytesPipe,
1687
+ FsModelChangeDirective,
1688
+ FsFormatOrdinalNumberPipe] });
1689
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsCommonModule, imports: [CommonModule] });
1690
+ }
1691
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsCommonModule, decorators: [{
1684
1692
  type: NgModule,
1685
1693
  args: [{
1686
1694
  imports: [