@firestitch/common 15.0.0 → 16.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 (133) 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 +4 -4
  15. package/{esm2020 → esm2022}/app/pipes/util.pipe.mjs +13 -13
  16. package/{esm2020 → esm2022}/app/services/array.service.mjs +4 -4
  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/esm2022/libs/util/queue/operation.mjs +17 -0
  21. package/esm2022/libs/util/queue/queue.mjs +166 -0
  22. package/{fesm2020 → fesm2022}/firestitch-common.mjs +123 -115
  23. package/{fesm2020 → fesm2022}/firestitch-common.mjs.map +1 -1
  24. package/package.json +5 -11
  25. package/esm2020/app/directives/auto-focus.directive.mjs +0 -59
  26. package/esm2020/app/directives/auto-select.directive.mjs +0 -31
  27. package/esm2020/app/directives/model-change.directive.mjs +0 -37
  28. package/esm2020/app/pipes/currency.pipe.mjs +0 -23
  29. package/esm2020/app/services/util.service.mjs +0 -251
  30. package/esm2020/app/services/vaildate.service.mjs +0 -28
  31. package/esm2020/libs/util/queue/operation.mjs +0 -15
  32. package/esm2020/libs/util/queue/queue.mjs +0 -165
  33. package/fesm2015/firestitch-common.mjs +0 -1754
  34. package/fesm2015/firestitch-common.mjs.map +0 -1
  35. /package/{esm2020 → esm2022}/app/directives/index.mjs +0 -0
  36. /package/{esm2020 → esm2022}/app/pipes/index.mjs +0 -0
  37. /package/{esm2020 → esm2022}/firestitch-common.mjs +0 -0
  38. /package/{esm2020 → esm2022}/libs/array/compare/compare.mjs +0 -0
  39. /package/{esm2020 → esm2022}/libs/array/compare/index.mjs +0 -0
  40. /package/{esm2020 → esm2022}/libs/array/filter/filter.mjs +0 -0
  41. /package/{esm2020 → esm2022}/libs/array/filter/index.mjs +0 -0
  42. /package/{esm2020 → esm2022}/libs/array/find/find.mjs +0 -0
  43. /package/{esm2020 → esm2022}/libs/array/find/index.mjs +0 -0
  44. /package/{esm2020 → esm2022}/libs/array/inArray/inArray.mjs +0 -0
  45. /package/{esm2020 → esm2022}/libs/array/inArray/index.mjs +0 -0
  46. /package/{esm2020 → esm2022}/libs/array/index/index.mjs +0 -0
  47. /package/{esm2020 → esm2022}/libs/array/index.mjs +0 -0
  48. /package/{esm2020 → esm2022}/libs/array/indexOf/index.mjs +0 -0
  49. /package/{esm2020 → esm2022}/libs/array/indexOf/indexOf.mjs +0 -0
  50. /package/{esm2020 → esm2022}/libs/array/keyExists/index.mjs +0 -0
  51. /package/{esm2020 → esm2022}/libs/array/keyExists/keyExists.mjs +0 -0
  52. /package/{esm2020 → esm2022}/libs/array/ksort/index.mjs +0 -0
  53. /package/{esm2020 → esm2022}/libs/array/ksort/ksort.mjs +0 -0
  54. /package/{esm2020 → esm2022}/libs/array/list/index.mjs +0 -0
  55. /package/{esm2020 → esm2022}/libs/array/list/list.mjs +0 -0
  56. /package/{esm2020 → esm2022}/libs/array/nameValue/index.mjs +0 -0
  57. /package/{esm2020 → esm2022}/libs/array/nameValue/nameValue.mjs +0 -0
  58. /package/{esm2020 → esm2022}/libs/array/remove/index.mjs +0 -0
  59. /package/{esm2020 → esm2022}/libs/array/remove/remove.mjs +0 -0
  60. /package/{esm2020 → esm2022}/libs/array/rsort/index.mjs +0 -0
  61. /package/{esm2020 → esm2022}/libs/array/rsort/rsort.mjs +0 -0
  62. /package/{esm2020 → esm2022}/libs/array/sort/index.mjs +0 -0
  63. /package/{esm2020 → esm2022}/libs/array/sort/sort.mjs +0 -0
  64. /package/{esm2020 → esm2022}/libs/format/acronym/acronym.mjs +0 -0
  65. /package/{esm2020 → esm2022}/libs/format/acronym/index.mjs +0 -0
  66. /package/{esm2020 → esm2022}/libs/format/bytes/bytes.mjs +0 -0
  67. /package/{esm2020 → esm2022}/libs/format/bytes/index.mjs +0 -0
  68. /package/{esm2020 → esm2022}/libs/format/currency/currency.mjs +0 -0
  69. /package/{esm2020 → esm2022}/libs/format/currency/index.mjs +0 -0
  70. /package/{esm2020 → esm2022}/libs/format/index.mjs +0 -0
  71. /package/{esm2020 → esm2022}/libs/format/number/index.mjs +0 -0
  72. /package/{esm2020 → esm2022}/libs/format/number/number.mjs +0 -0
  73. /package/{esm2020 → esm2022}/libs/format/truncate/index.mjs +0 -0
  74. /package/{esm2020 → esm2022}/libs/format/truncate/truncate.mjs +0 -0
  75. /package/{esm2020 → esm2022}/libs/index.mjs +0 -0
  76. /package/{esm2020 → esm2022}/libs/rxjs/delayedRetry.mjs +0 -0
  77. /package/{esm2020 → esm2022}/libs/rxjs/keyboard-shortcut.mjs +0 -0
  78. /package/{esm2020 → esm2022}/libs/util/boolean/boolean.mjs +0 -0
  79. /package/{esm2020 → esm2022}/libs/util/boolean/index.mjs +0 -0
  80. /package/{esm2020 → esm2022}/libs/util/clone/clone.mjs +0 -0
  81. /package/{esm2020 → esm2022}/libs/util/clone/index.mjs +0 -0
  82. /package/{esm2020 → esm2022}/libs/util/debounce/debounce.mjs +0 -0
  83. /package/{esm2020 → esm2022}/libs/util/debounce/index.mjs +0 -0
  84. /package/{esm2020 → esm2022}/libs/util/get-normalized-path/get-normalized-path.mjs +0 -0
  85. /package/{esm2020 → esm2022}/libs/util/get-normalized-path/index.mjs +0 -0
  86. /package/{esm2020 → esm2022}/libs/util/guid/guid.mjs +0 -0
  87. /package/{esm2020 → esm2022}/libs/util/guid/index.mjs +0 -0
  88. /package/{esm2020 → esm2022}/libs/util/index.mjs +0 -0
  89. /package/{esm2020 → esm2022}/libs/util/is-array-equal/index.mjs +0 -0
  90. /package/{esm2020 → esm2022}/libs/util/is-array-equal/is-array-equal.mjs +0 -0
  91. /package/{esm2020 → esm2022}/libs/util/is-class/index.mjs +0 -0
  92. /package/{esm2020 → esm2022}/libs/util/is-class/is-class.mjs +0 -0
  93. /package/{esm2020 → esm2022}/libs/util/is-empty/index.mjs +0 -0
  94. /package/{esm2020 → esm2022}/libs/util/is-empty/is-empty.mjs +0 -0
  95. /package/{esm2020 → esm2022}/libs/util/is-numeric/index.mjs +0 -0
  96. /package/{esm2020 → esm2022}/libs/util/is-numeric/is-numeric.mjs +0 -0
  97. /package/{esm2020 → esm2022}/libs/util/is-object/index.mjs +0 -0
  98. /package/{esm2020 → esm2022}/libs/util/is-object/is-object.mjs +0 -0
  99. /package/{esm2020 → esm2022}/libs/util/keys/index.mjs +0 -0
  100. /package/{esm2020 → esm2022}/libs/util/keys/keys.mjs +0 -0
  101. /package/{esm2020 → esm2022}/libs/util/length/index.mjs +0 -0
  102. /package/{esm2020 → esm2022}/libs/util/length/length.mjs +0 -0
  103. /package/{esm2020 → esm2022}/libs/util/ordinal-number/index.mjs +0 -0
  104. /package/{esm2020 → esm2022}/libs/util/ordinal-number/ordinal-number.mjs +0 -0
  105. /package/{esm2020 → esm2022}/libs/util/queue/index.mjs +0 -0
  106. /package/{esm2020 → esm2022}/libs/util/queue/queue-stats.mjs +0 -0
  107. /package/{esm2020 → esm2022}/libs/util/queue/queue.enum.mjs +0 -0
  108. /package/{esm2020 → esm2022}/libs/util/remove-query-params/index.mjs +0 -0
  109. /package/{esm2020 → esm2022}/libs/util/remove-query-params/remove-query-params.mjs +0 -0
  110. /package/{esm2020 → esm2022}/libs/util/resolve/index.mjs +0 -0
  111. /package/{esm2020 → esm2022}/libs/util/resolve/resolve.mjs +0 -0
  112. /package/{esm2020 → esm2022}/libs/util/round/index.mjs +0 -0
  113. /package/{esm2020 → esm2022}/libs/util/round/round.mjs +0 -0
  114. /package/{esm2020 → esm2022}/libs/util/source-loader/index.mjs +0 -0
  115. /package/{esm2020 → esm2022}/libs/util/source-loader/source-loader.mjs +0 -0
  116. /package/{esm2020 → esm2022}/libs/util/stringify/index.mjs +0 -0
  117. /package/{esm2020 → esm2022}/libs/util/stringify/stringify.mjs +0 -0
  118. /package/{esm2020 → esm2022}/libs/util/throttle/index.mjs +0 -0
  119. /package/{esm2020 → esm2022}/libs/util/throttle/throttle.mjs +0 -0
  120. /package/{esm2020 → esm2022}/libs/util/to-string/index.mjs +0 -0
  121. /package/{esm2020 → esm2022}/libs/util/to-string/to-string.mjs +0 -0
  122. /package/{esm2020 → esm2022}/libs/util/uuid/index.mjs +0 -0
  123. /package/{esm2020 → esm2022}/libs/util/uuid/uuid.mjs +0 -0
  124. /package/{esm2020 → esm2022}/libs/util/value/index.mjs +0 -0
  125. /package/{esm2020 → esm2022}/libs/util/value/value.mjs +0 -0
  126. /package/{esm2020 → esm2022}/libs/validate/email/email.mjs +0 -0
  127. /package/{esm2020 → esm2022}/libs/validate/email/index.mjs +0 -0
  128. /package/{esm2020 → esm2022}/libs/validate/index.mjs +0 -0
  129. /package/{esm2020 → esm2022}/libs/validate/phone/index.mjs +0 -0
  130. /package/{esm2020 → esm2022}/libs/validate/phone/phone.mjs +0 -0
  131. /package/{esm2020 → esm2022}/libs/validate/url/index.mjs +0 -0
  132. /package/{esm2020 → esm2022}/libs/validate/url/url.mjs +0 -0
  133. /package/{esm2020 → esm2022}/public_api.mjs +0 -0
@@ -0,0 +1,166 @@
1
+ import { of, Subject } from 'rxjs';
2
+ import { delay, finalize, map, take, takeUntil } from 'rxjs/operators';
3
+ import { Operation } from './operation';
4
+ import { QueueState } from './queue.enum';
5
+ export class Queue {
6
+ _limit;
7
+ _queueStats = {
8
+ completed: 0,
9
+ total: 0,
10
+ errors: [],
11
+ };
12
+ _doneQueueStats = {
13
+ completed: 0,
14
+ total: 0,
15
+ errors: [],
16
+ };
17
+ _completeQueueStats = {
18
+ completed: 0,
19
+ total: 0,
20
+ errors: [],
21
+ };
22
+ _done = new Subject();
23
+ _queue = [];
24
+ _inProgress = [];
25
+ _state = QueueState.Idle;
26
+ _destroy$ = new Subject();
27
+ constructor(_limit = Infinity) {
28
+ this._limit = _limit;
29
+ // if(_targets) {
30
+ // _targets.forEach((target) => {
31
+ // this.push(target);
32
+ // });
33
+ // }
34
+ }
35
+ get total() {
36
+ return this._queueStats.total;
37
+ }
38
+ get completed() {
39
+ return this._queueStats.completed;
40
+ }
41
+ get pending() {
42
+ return this._queue.length;
43
+ }
44
+ get inProgress() {
45
+ return this._inProgress.length;
46
+ }
47
+ get errors() {
48
+ return this._queueStats.errors;
49
+ }
50
+ get state() {
51
+ return this._state;
52
+ }
53
+ get empty() {
54
+ return !this._queue.length && !this._inProgress.length;
55
+ }
56
+ get pendingOperations() {
57
+ return this._queue
58
+ .map((operation) => operation.name);
59
+ }
60
+ get inProgressOperations() {
61
+ return this._inProgress
62
+ .map((operation) => operation.name);
63
+ }
64
+ isProcessing() {
65
+ return this._state === QueueState.Processing;
66
+ }
67
+ isIdle() {
68
+ return this._state === QueueState.Idle;
69
+ }
70
+ setLimit(value) {
71
+ this._limit = value;
72
+ }
73
+ /**
74
+ * @depreated
75
+ */
76
+ subscribe(fun, err, complete) {
77
+ this.observe$
78
+ .subscribe(fun, err, complete);
79
+ }
80
+ get observe$() {
81
+ return this._done
82
+ .pipe(takeUntil(this._destroy$));
83
+ }
84
+ get complete$() {
85
+ if (!this.isProcessing()) {
86
+ return of({ total: 0, completed: 0, errors: [] });
87
+ }
88
+ return this.observe$
89
+ .pipe(take(1), map(() => (this._completeQueueStats)));
90
+ }
91
+ complete(fun, err, complete) {
92
+ this.complete$.subscribe(fun, err, complete);
93
+ }
94
+ push(target, name) {
95
+ const operation = new Operation(target, name);
96
+ this._queueStats.total++;
97
+ this._doneQueueStats.total++;
98
+ this._completeQueueStats.total++;
99
+ this._state = QueueState.Processing;
100
+ if (this._inProgress.length < this._limit) {
101
+ this._processOperation(operation);
102
+ }
103
+ else {
104
+ this._queue.push(operation);
105
+ }
106
+ return operation.ready$;
107
+ }
108
+ clear() {
109
+ this._queue = [];
110
+ this._state = QueueState.Idle;
111
+ this._queueStats = {
112
+ total: 0,
113
+ errors: [],
114
+ completed: 0,
115
+ };
116
+ this._clearDoneQueueStats();
117
+ }
118
+ destroy() {
119
+ this._done.complete();
120
+ this.clear();
121
+ }
122
+ _processOperation(operation) {
123
+ this._inProgress.push(operation);
124
+ operation.target
125
+ .pipe(delay(200), // Hack to prevent extra quick proccess execution
126
+ finalize(() => {
127
+ const opIndex = this._inProgress.indexOf(operation);
128
+ this._inProgress.splice(opIndex, 1);
129
+ if (this.empty) {
130
+ this._state = QueueState.Idle;
131
+ this._done.next(this._doneQueueStats);
132
+ this._clearDoneQueueStats();
133
+ }
134
+ else {
135
+ if (this._queue.length) {
136
+ const queueItem = this._queue.shift();
137
+ this._processOperation(queueItem);
138
+ }
139
+ }
140
+ }), takeUntil(this._destroy$)).subscribe({
141
+ next: (data) => {
142
+ operation.ready$.next(data);
143
+ },
144
+ error: (error) => {
145
+ this._queueStats.errors.push(error);
146
+ this._doneQueueStats.errors.push(error);
147
+ this._completeQueueStats.errors.push(error);
148
+ operation.ready$.error(error);
149
+ },
150
+ complete: () => {
151
+ this._queueStats.completed++;
152
+ this._doneQueueStats.completed++;
153
+ this._completeQueueStats.completed++;
154
+ operation.ready$.complete();
155
+ }
156
+ });
157
+ }
158
+ _clearDoneQueueStats() {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iAgICAgIH0pO1xuICB9XG5cbiAgcHJpdmF0ZSBfY2xlYXJEb25lUXVldWVTdGF0cygpOiB2b2lkIHtcbiAgICB0aGlzLl9kb25lUXVldWVTdGF0cyA9IHtcbiAgICAgIHRvdGFsOiAwLFxuICAgICAgZXJyb3JzOiBbXSxcbiAgICAgIGNvbXBsZXRlZDogMCxcbiAgICB9O1xuICB9XG59XG4iXX0=
@@ -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,10 +43,10 @@ class FsAutoFocusDirective {
41
43
  document.body.removeChild(tmpEl);
42
44
  }, 50);
43
45
  }
46
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.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: "16.2.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: "16.2.12", ngImport: i0, type: FsAutoFocusDirective, decorators: [{
48
50
  type: Directive,
49
51
  args: [{
50
52
  selector: '[fsAutofocus],[fsAutoFocus],[autofocus]',
@@ -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,10 +81,10 @@ class FsAutoSelectDirective {
78
81
  }
79
82
  }, 50);
80
83
  }
84
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FsAutoSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
85
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.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: "16.2.12", ngImport: i0, type: FsAutoSelectDirective, decorators: [{
85
88
  type: Directive,
86
89
  args: [{
87
90
  selector: '[fsAutoSelect]',
@@ -91,10 +94,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
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
@@ -107,10 +112,10 @@ class FsModelChangeDirective {
107
112
  this._destroy$.next();
108
113
  this._destroy$.complete();
109
114
  }
115
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FsModelChangeDirective, deps: [{ token: i1$1.NgModel }], target: i0.ɵɵFactoryTarget.Directive });
116
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.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: "16.2.12", ngImport: i0, type: FsModelChangeDirective, decorators: [{
114
119
  type: Directive,
115
120
  args: [{
116
121
  selector: '[fsModelChange]',
@@ -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: "16.2.12", ngImport: i0, type: FsPreventDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
134
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.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: "16.2.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: "16.2.12", ngImport: i0, type: FsStopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
151
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.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: "16.2.12", ngImport: i0, type: FsStopPropagationDirective, decorators: [{
149
154
  type: Directive,
150
155
  args: [{
151
156
  selector: '[fsStopPropagation]',
@@ -195,10 +200,10 @@ class FsUtilStringifyPipe {
195
200
  transform(value) {
196
201
  return stringify(value);
197
202
  }
203
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FsUtilStringifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
204
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.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: "16.2.12", ngImport: i0, type: FsUtilStringifyPipe, decorators: [{
202
207
  type: Pipe,
203
208
  args: [{
204
209
  name: 'fsUtilStringify',
@@ -209,10 +214,10 @@ class FsUtilGuidPipe {
209
214
  transform() {
210
215
  return guid();
211
216
  }
217
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FsUtilGuidPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
218
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.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: "16.2.12", ngImport: i0, type: FsUtilGuidPipe, decorators: [{
216
221
  type: Pipe,
217
222
  args: [{
218
223
  name: 'fsUtilGuid',
@@ -222,10 +227,10 @@ class FsUtilIsEmptyPipe {
222
227
  transform(value) {
223
228
  return isEmpty(value);
224
229
  }
230
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FsUtilIsEmptyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
231
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.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: "16.2.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: "16.2.12", ngImport: i0, type: FsUtilIsNotEmptyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
244
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.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: "16.2.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);
@@ -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: "16.2.12", ngImport: i0, type: FsFormatBytesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1062
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.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: "16.2.12", ngImport: i0, type: FsFormatBytesPipe, decorators: [{
1057
1065
  type: Pipe,
1058
1066
  args: [{
1059
1067
  name: 'fsFormatBytes',
@@ -1061,16 +1069,17 @@ 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: "16.2.12", ngImport: i0, type: FsFormatCurrencyPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
1080
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.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: "16.2.12", ngImport: i0, type: FsFormatCurrencyPipe, decorators: [{
1074
1083
  type: Pipe,
1075
1084
  args: [{
1076
1085
  name: 'fsFormatCurrency',
@@ -1084,10 +1093,10 @@ 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: "16.2.12", ngImport: i0, type: FsFormatNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1097
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.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: "16.2.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: "16.2.12", ngImport: i0, type: FsFormatOrdinalNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1111
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.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: "16.2.12", ngImport: i0, type: FsFormatOrdinalNumberPipe, decorators: [{
1105
1114
  type: Pipe,
1106
1115
  args: [{
1107
1116
  name: 'fsFormatOrdinalNumber',
@@ -1113,10 +1122,10 @@ 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: "16.2.12", ngImport: i0, type: FsFormatTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1126
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.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: "16.2.12", ngImport: i0, type: FsFormatTruncatePipe, decorators: [{
1120
1129
  type: Pipe,
1121
1130
  args: [{
1122
1131
  name: 'fsFormatTruncate'
@@ -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: "16.2.12", ngImport: i0, type: FsArray, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1352
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.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: "16.2.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: "16.2.12", ngImport: i0, type: FsMath, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1371
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.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: "16.2.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: "16.2.12", ngImport: i0, type: FsUtil, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1618
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.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: "16.2.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,10 +1639,10 @@ 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: "16.2.12", ngImport: i0, type: FsValidate, deps: [{ token: FsUtil }], target: i0.ɵɵFactoryTarget.Injectable });
1643
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.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: "16.2.12", ngImport: i0, type: FsValidate, decorators: [{
1638
1646
  type: Injectable
1639
1647
  }], ctorParameters: function () { return [{ type: FsUtil }]; } });
1640
1648
 
@@ -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: "16.2.12", ngImport: i0, type: FsCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1662
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.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: "16.2.12", ngImport: i0, type: FsCommonModule, imports: [CommonModule] });
1690
+ }
1691
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FsCommonModule, decorators: [{
1684
1692
  type: NgModule,
1685
1693
  args: [{
1686
1694
  imports: [