@annalib/anna-core 3.6.0 → 3.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/anna-core.module.mjs +6 -1
- package/fesm2015/annalib-anna-core.mjs +26 -22
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +26 -22
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core.module.d.ts +26 -25
- package/package.json +1 -1
|
@@ -4042,6 +4042,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
|
4042
4042
|
}]
|
|
4043
4043
|
}] });
|
|
4044
4044
|
|
|
4045
|
+
class AnnaReplaceCharPipe {
|
|
4046
|
+
constructor() {
|
|
4047
|
+
this.converter = memoize(this.replace, (...args) => this.replace(args[0], args[1], args[2]));
|
|
4048
|
+
}
|
|
4049
|
+
transform(value, charToBeReplaced, replaceBy) {
|
|
4050
|
+
if (value !== undefined || value != null) {
|
|
4051
|
+
return this.converter(value, charToBeReplaced, replaceBy);
|
|
4052
|
+
}
|
|
4053
|
+
}
|
|
4054
|
+
replace(value, from, to) {
|
|
4055
|
+
return value.replace(new RegExp(from, "g"), to);
|
|
4056
|
+
}
|
|
4057
|
+
}
|
|
4058
|
+
AnnaReplaceCharPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaReplaceCharPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4059
|
+
AnnaReplaceCharPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaReplaceCharPipe, name: "annaReplaceChar" });
|
|
4060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaReplaceCharPipe, decorators: [{
|
|
4061
|
+
type: Pipe,
|
|
4062
|
+
args: [{
|
|
4063
|
+
name: "annaReplaceChar",
|
|
4064
|
+
}]
|
|
4065
|
+
}] });
|
|
4066
|
+
|
|
4045
4067
|
// Angular import statements
|
|
4046
4068
|
class AnnaCoreModule {
|
|
4047
4069
|
}
|
|
@@ -4051,6 +4073,7 @@ AnnaCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
4051
4073
|
AnnaConvertZeroOrNullOrUndefinedPipe,
|
|
4052
4074
|
AnnaTypeofDataPipe,
|
|
4053
4075
|
AnnaFilterSearchedTextPipe,
|
|
4076
|
+
AnnaReplaceCharPipe,
|
|
4054
4077
|
AnnaBuyerApprovalIconTemplateComponent,
|
|
4055
4078
|
AnnaLiveIconTemplateComponent,
|
|
4056
4079
|
AnnaNotifyIconTemplateComponent,
|
|
@@ -4076,6 +4099,7 @@ AnnaCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
4076
4099
|
AnnaFilterSearchedTextPipe,
|
|
4077
4100
|
AnnaConvertZeroOrNullOrUndefinedPipe,
|
|
4078
4101
|
AnnaTypeofDataPipe,
|
|
4102
|
+
AnnaReplaceCharPipe,
|
|
4079
4103
|
AnnaFilterSearchedTextPipe,
|
|
4080
4104
|
AnnaBuyerApprovalIconTemplateComponent,
|
|
4081
4105
|
AnnaLiveIconTemplateComponent,
|
|
@@ -4119,6 +4143,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
|
4119
4143
|
AnnaConvertZeroOrNullOrUndefinedPipe,
|
|
4120
4144
|
AnnaTypeofDataPipe,
|
|
4121
4145
|
AnnaFilterSearchedTextPipe,
|
|
4146
|
+
AnnaReplaceCharPipe,
|
|
4122
4147
|
AnnaBuyerApprovalIconTemplateComponent,
|
|
4123
4148
|
AnnaLiveIconTemplateComponent,
|
|
4124
4149
|
AnnaNotifyIconTemplateComponent,
|
|
@@ -4158,6 +4183,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
|
4158
4183
|
AnnaFilterSearchedTextPipe,
|
|
4159
4184
|
AnnaConvertZeroOrNullOrUndefinedPipe,
|
|
4160
4185
|
AnnaTypeofDataPipe,
|
|
4186
|
+
AnnaReplaceCharPipe,
|
|
4161
4187
|
AnnaFilterSearchedTextPipe,
|
|
4162
4188
|
AnnaBuyerApprovalIconTemplateComponent,
|
|
4163
4189
|
AnnaLiveIconTemplateComponent,
|
|
@@ -4213,28 +4239,6 @@ var Days;
|
|
|
4213
4239
|
Days[Days["Su"] = 7] = "Su";
|
|
4214
4240
|
})(Days || (Days = {}));
|
|
4215
4241
|
|
|
4216
|
-
class AnnaReplaceCharPipe {
|
|
4217
|
-
constructor() {
|
|
4218
|
-
this.converter = memoize(this.replace, (...args) => this.replace(args[0], args[1], args[2]));
|
|
4219
|
-
}
|
|
4220
|
-
transform(value, charToBeReplaced, replaceBy) {
|
|
4221
|
-
if (value !== undefined || value != null) {
|
|
4222
|
-
return this.converter(value, charToBeReplaced, replaceBy);
|
|
4223
|
-
}
|
|
4224
|
-
}
|
|
4225
|
-
replace(value, from, to) {
|
|
4226
|
-
return value.replace(new RegExp(from, "g"), to);
|
|
4227
|
-
}
|
|
4228
|
-
}
|
|
4229
|
-
AnnaReplaceCharPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaReplaceCharPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4230
|
-
AnnaReplaceCharPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaReplaceCharPipe, name: "annaReplaceChar" });
|
|
4231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaReplaceCharPipe, decorators: [{
|
|
4232
|
-
type: Pipe,
|
|
4233
|
-
args: [{
|
|
4234
|
-
name: "annaReplaceChar",
|
|
4235
|
-
}]
|
|
4236
|
-
}] });
|
|
4237
|
-
|
|
4238
4242
|
/*
|
|
4239
4243
|
* Public API Surface of anna-core
|
|
4240
4244
|
*/
|