@firestitch/common 16.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.
- package/esm2022/app/directives/auto-focus.directive.mjs +6 -6
- package/esm2022/app/directives/auto-select.directive.mjs +5 -5
- package/esm2022/app/directives/model-change.directive.mjs +6 -6
- package/esm2022/app/directives/prevent-default.directive.mjs +3 -3
- package/esm2022/app/directives/stop-propagation.directive.mjs +3 -3
- package/esm2022/app/fs-common.module.mjs +4 -4
- package/esm2022/app/pipes/bytes.pipe.mjs +3 -3
- package/esm2022/app/pipes/currency.pipe.mjs +5 -5
- package/esm2022/app/pipes/number.pipe.mjs +3 -3
- package/esm2022/app/pipes/ordinal-number.pipe.mjs +3 -3
- package/esm2022/app/pipes/truncate.pipe.mjs +4 -4
- package/esm2022/app/pipes/util.pipe.mjs +14 -14
- package/esm2022/app/services/array.service.mjs +4 -4
- package/esm2022/app/services/math.service.mjs +3 -3
- package/esm2022/app/services/util.service.mjs +4 -4
- package/esm2022/app/services/vaildate.service.mjs +4 -4
- package/esm2022/libs/array/compare/compare.mjs +1 -1
- package/esm2022/libs/array/filter/filter.mjs +1 -1
- package/esm2022/libs/array/inArray/inArray.mjs +1 -1
- package/esm2022/libs/array/indexOf/indexOf.mjs +1 -1
- package/esm2022/libs/array/list/list.mjs +1 -1
- package/esm2022/libs/array/nameValue/nameValue.mjs +1 -1
- package/esm2022/libs/array/remove/remove.mjs +1 -1
- package/esm2022/libs/array/sort/sort.mjs +1 -1
- package/esm2022/libs/format/acronym/acronym.mjs +1 -1
- package/esm2022/libs/format/bytes/bytes.mjs +1 -1
- package/esm2022/libs/format/number/number.mjs +1 -1
- package/esm2022/libs/format/truncate/truncate.mjs +1 -1
- package/esm2022/libs/rxjs/delayedRetry.mjs +1 -1
- package/esm2022/libs/util/clone/clone.mjs +1 -1
- package/esm2022/libs/util/guid/guid.mjs +1 -1
- package/esm2022/libs/util/is-array-equal/is-array-equal.mjs +1 -1
- package/esm2022/libs/util/is-class/is-class.mjs +1 -1
- package/esm2022/libs/util/length/length.mjs +1 -1
- package/esm2022/libs/util/queue/operation.mjs +1 -1
- package/esm2022/libs/util/queue/queue.mjs +1 -1
- package/esm2022/libs/util/source-loader/source-loader.mjs +3 -3
- package/esm2022/libs/util/throttle/throttle.mjs +1 -1
- package/esm2022/libs/util/to-string/to-string.mjs +1 -1
- package/esm2022/libs/util/value/value.mjs +1 -1
- package/fesm2022/firestitch-common.mjs +71 -71
- package/fesm2022/firestitch-common.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -43,19 +43,19 @@ class FsAutoFocusDirective {
|
|
|
43
43
|
document.body.removeChild(tmpEl);
|
|
44
44
|
}, 50);
|
|
45
45
|
}
|
|
46
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
47
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
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 });
|
|
48
48
|
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsAutoFocusDirective, decorators: [{
|
|
50
50
|
type: Directive,
|
|
51
51
|
args: [{
|
|
52
52
|
selector: '[fsAutofocus],[fsAutoFocus],[autofocus]',
|
|
53
53
|
}]
|
|
54
|
-
}], ctorParameters:
|
|
54
|
+
}], ctorParameters: () => [{ type: i1.MatInput, decorators: [{
|
|
55
55
|
type: Optional
|
|
56
56
|
}, {
|
|
57
57
|
type: Host
|
|
58
|
-
}] }, { type: i0.ElementRef }]
|
|
58
|
+
}] }, { type: i0.ElementRef }], propDecorators: { fsAutofocus: [{
|
|
59
59
|
type: Input
|
|
60
60
|
}], fsAutoFocus: [{
|
|
61
61
|
type: Input
|
|
@@ -81,15 +81,15 @@ class FsAutoSelectDirective {
|
|
|
81
81
|
}
|
|
82
82
|
}, 50);
|
|
83
83
|
}
|
|
84
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
85
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
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 });
|
|
86
86
|
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsAutoSelectDirective, decorators: [{
|
|
88
88
|
type: Directive,
|
|
89
89
|
args: [{
|
|
90
90
|
selector: '[fsAutoSelect]',
|
|
91
91
|
}]
|
|
92
|
-
}], ctorParameters:
|
|
92
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { fsAutoSelect: [{
|
|
93
93
|
type: Input
|
|
94
94
|
}] } });
|
|
95
95
|
|
|
@@ -109,18 +109,18 @@ class FsModelChangeDirective {
|
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
ngOnDestroy() {
|
|
112
|
-
this._destroy$.next();
|
|
112
|
+
this._destroy$.next(null);
|
|
113
113
|
this._destroy$.complete();
|
|
114
114
|
}
|
|
115
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
116
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
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 });
|
|
117
117
|
}
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsModelChangeDirective, decorators: [{
|
|
119
119
|
type: Directive,
|
|
120
120
|
args: [{
|
|
121
121
|
selector: '[fsModelChange]',
|
|
122
122
|
}]
|
|
123
|
-
}], ctorParameters:
|
|
123
|
+
}], ctorParameters: () => [{ type: i1$1.NgModel }], propDecorators: { fsModelChangeOptions: [{
|
|
124
124
|
type: Input
|
|
125
125
|
}], fsModelChange: [{
|
|
126
126
|
type: Output
|
|
@@ -130,10 +130,10 @@ class FsPreventDefaultDirective {
|
|
|
130
130
|
preventClick(event) {
|
|
131
131
|
event.preventDefault();
|
|
132
132
|
}
|
|
133
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
134
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
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 });
|
|
135
135
|
}
|
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsPreventDefaultDirective, decorators: [{
|
|
137
137
|
type: Directive,
|
|
138
138
|
args: [{
|
|
139
139
|
selector: '[fsPreventDefault]',
|
|
@@ -147,10 +147,10 @@ class FsStopPropagationDirective {
|
|
|
147
147
|
preventClick(event) {
|
|
148
148
|
event.stopPropagation();
|
|
149
149
|
}
|
|
150
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
151
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
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 });
|
|
152
152
|
}
|
|
153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsStopPropagationDirective, decorators: [{
|
|
154
154
|
type: Directive,
|
|
155
155
|
args: [{
|
|
156
156
|
selector: '[fsStopPropagation]',
|
|
@@ -200,37 +200,37 @@ class FsUtilStringifyPipe {
|
|
|
200
200
|
transform(value) {
|
|
201
201
|
return stringify(value);
|
|
202
202
|
}
|
|
203
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
204
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
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" });
|
|
205
205
|
}
|
|
206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtilStringifyPipe, decorators: [{
|
|
207
207
|
type: Pipe,
|
|
208
208
|
args: [{
|
|
209
209
|
name: 'fsUtilStringify',
|
|
210
210
|
}]
|
|
211
|
-
}], ctorParameters:
|
|
211
|
+
}], ctorParameters: () => [] });
|
|
212
212
|
class FsUtilGuidPipe {
|
|
213
213
|
constructor() { }
|
|
214
214
|
transform() {
|
|
215
215
|
return guid();
|
|
216
216
|
}
|
|
217
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
218
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
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" });
|
|
219
219
|
}
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtilGuidPipe, decorators: [{
|
|
221
221
|
type: Pipe,
|
|
222
222
|
args: [{
|
|
223
223
|
name: 'fsUtilGuid',
|
|
224
224
|
}]
|
|
225
|
-
}], ctorParameters:
|
|
225
|
+
}], ctorParameters: () => [] });
|
|
226
226
|
class FsUtilIsEmptyPipe {
|
|
227
227
|
transform(value) {
|
|
228
228
|
return isEmpty(value);
|
|
229
229
|
}
|
|
230
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
231
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
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" });
|
|
232
232
|
}
|
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtilIsEmptyPipe, decorators: [{
|
|
234
234
|
type: Pipe,
|
|
235
235
|
args: [{
|
|
236
236
|
name: 'fsUtilIsEmpty',
|
|
@@ -240,10 +240,10 @@ class FsUtilIsNotEmptyPipe {
|
|
|
240
240
|
transform(value) {
|
|
241
241
|
return !isEmpty(value);
|
|
242
242
|
}
|
|
243
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
244
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
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" });
|
|
245
245
|
}
|
|
246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtilIsNotEmptyPipe, decorators: [{
|
|
247
247
|
type: Pipe,
|
|
248
248
|
args: [{
|
|
249
249
|
name: 'fsUtilIsNotEmpty',
|
|
@@ -862,7 +862,7 @@ const fsSourceLoader = (function () {
|
|
|
862
862
|
script.src = scriptPath;
|
|
863
863
|
_headElement.appendChild(script);
|
|
864
864
|
script.onload = () => {
|
|
865
|
-
obs.next();
|
|
865
|
+
obs.next(null);
|
|
866
866
|
obs.complete();
|
|
867
867
|
};
|
|
868
868
|
script.onerror = (err) => {
|
|
@@ -882,7 +882,7 @@ const fsSourceLoader = (function () {
|
|
|
882
882
|
style.href = `${stylePath}`;
|
|
883
883
|
_headElement.appendChild(style);
|
|
884
884
|
style.onload = () => {
|
|
885
|
-
obs.next();
|
|
885
|
+
obs.next(null);
|
|
886
886
|
obs.complete();
|
|
887
887
|
};
|
|
888
888
|
style.onerror = (err) => {
|
|
@@ -1058,10 +1058,10 @@ class FsFormatBytesPipe {
|
|
|
1058
1058
|
transform(value, decimals, unit) {
|
|
1059
1059
|
return bytes(value, decimals, unit);
|
|
1060
1060
|
}
|
|
1061
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1062
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
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" });
|
|
1063
1063
|
}
|
|
1064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1064
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatBytesPipe, decorators: [{
|
|
1065
1065
|
type: Pipe,
|
|
1066
1066
|
args: [{
|
|
1067
1067
|
name: 'fsFormatBytes',
|
|
@@ -1076,27 +1076,27 @@ class FsFormatCurrencyPipe {
|
|
|
1076
1076
|
transform(amount, precision = 2, currencyCode) {
|
|
1077
1077
|
return currency(amount, precision, currencyCode);
|
|
1078
1078
|
}
|
|
1079
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1080
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
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" });
|
|
1081
1081
|
}
|
|
1082
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatCurrencyPipe, decorators: [{
|
|
1083
1083
|
type: Pipe,
|
|
1084
1084
|
args: [{
|
|
1085
1085
|
name: 'fsFormatCurrency',
|
|
1086
1086
|
}]
|
|
1087
|
-
}], ctorParameters:
|
|
1087
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1088
1088
|
type: Inject,
|
|
1089
1089
|
args: [LOCALE_ID]
|
|
1090
|
-
}] }]
|
|
1090
|
+
}] }] });
|
|
1091
1091
|
|
|
1092
1092
|
class FsFormatNumberPipe {
|
|
1093
1093
|
transform(value, decimals) {
|
|
1094
1094
|
return number(value, decimals);
|
|
1095
1095
|
}
|
|
1096
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1097
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
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" });
|
|
1098
1098
|
}
|
|
1099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatNumberPipe, decorators: [{
|
|
1100
1100
|
type: Pipe,
|
|
1101
1101
|
args: [{
|
|
1102
1102
|
name: 'fsFormatNumber'
|
|
@@ -1107,10 +1107,10 @@ class FsFormatOrdinalNumberPipe {
|
|
|
1107
1107
|
transform(value) {
|
|
1108
1108
|
return ordinalNumber(value);
|
|
1109
1109
|
}
|
|
1110
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1111
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
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" });
|
|
1112
1112
|
}
|
|
1113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatOrdinalNumberPipe, decorators: [{
|
|
1114
1114
|
type: Pipe,
|
|
1115
1115
|
args: [{
|
|
1116
1116
|
name: 'fsFormatOrdinalNumber',
|
|
@@ -1122,15 +1122,15 @@ class FsFormatTruncatePipe {
|
|
|
1122
1122
|
transform(value, limit, completeWords, ellipsis) {
|
|
1123
1123
|
return truncate(value, limit, completeWords, ellipsis);
|
|
1124
1124
|
}
|
|
1125
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1126
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
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" });
|
|
1127
1127
|
}
|
|
1128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsFormatTruncatePipe, decorators: [{
|
|
1129
1129
|
type: Pipe,
|
|
1130
1130
|
args: [{
|
|
1131
1131
|
name: 'fsFormatTruncate'
|
|
1132
1132
|
}]
|
|
1133
|
-
}], ctorParameters:
|
|
1133
|
+
}], ctorParameters: () => [] });
|
|
1134
1134
|
|
|
1135
1135
|
class FsArray {
|
|
1136
1136
|
/**
|
|
@@ -1348,10 +1348,10 @@ class FsArray {
|
|
|
1348
1348
|
unordered[key] = value;
|
|
1349
1349
|
});
|
|
1350
1350
|
}
|
|
1351
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1352
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
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 });
|
|
1353
1353
|
}
|
|
1354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsArray, decorators: [{
|
|
1355
1355
|
type: Injectable
|
|
1356
1356
|
}] });
|
|
1357
1357
|
|
|
@@ -1367,10 +1367,10 @@ class FsMath {
|
|
|
1367
1367
|
let roundedTempNumber = Math.round(tempNumber);
|
|
1368
1368
|
return roundedTempNumber / factor;
|
|
1369
1369
|
}
|
|
1370
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1371
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
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 });
|
|
1372
1372
|
}
|
|
1373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsMath, decorators: [{
|
|
1374
1374
|
type: Injectable
|
|
1375
1375
|
}] });
|
|
1376
1376
|
|
|
@@ -1614,10 +1614,10 @@ class FsUtil {
|
|
|
1614
1614
|
console.warn('@deprecated use import { stringify } from @firestitch/common/util; instead');
|
|
1615
1615
|
return JSON.stringify(value);
|
|
1616
1616
|
}
|
|
1617
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1618
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
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 });
|
|
1619
1619
|
}
|
|
1620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsUtil, decorators: [{
|
|
1621
1621
|
type: Injectable
|
|
1622
1622
|
}] });
|
|
1623
1623
|
|
|
@@ -1639,12 +1639,12 @@ class FsValidate {
|
|
|
1639
1639
|
email(value) {
|
|
1640
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,}))$/);
|
|
1641
1641
|
}
|
|
1642
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1643
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
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 });
|
|
1644
1644
|
}
|
|
1645
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsValidate, decorators: [{
|
|
1646
1646
|
type: Injectable
|
|
1647
|
-
}], ctorParameters:
|
|
1647
|
+
}], ctorParameters: () => [{ type: FsUtil }] });
|
|
1648
1648
|
|
|
1649
1649
|
class FsCommonModule {
|
|
1650
1650
|
static forRoot() {
|
|
@@ -1658,8 +1658,8 @@ class FsCommonModule {
|
|
|
1658
1658
|
],
|
|
1659
1659
|
};
|
|
1660
1660
|
}
|
|
1661
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1662
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
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
1663
|
FsPreventDefaultDirective,
|
|
1664
1664
|
FsAutoFocusDirective,
|
|
1665
1665
|
FsAutoSelectDirective,
|
|
@@ -1686,9 +1686,9 @@ class FsCommonModule {
|
|
|
1686
1686
|
FsFormatBytesPipe,
|
|
1687
1687
|
FsModelChangeDirective,
|
|
1688
1688
|
FsFormatOrdinalNumberPipe] });
|
|
1689
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1689
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsCommonModule, imports: [CommonModule] });
|
|
1690
1690
|
}
|
|
1691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsCommonModule, decorators: [{
|
|
1692
1692
|
type: NgModule,
|
|
1693
1693
|
args: [{
|
|
1694
1694
|
imports: [
|