@sumaris-net/ngx-components 1.12.12 → 1.12.13
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/bundles/sumaris-net.ngx-components.umd.js +18 -0
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/shared/pipes/pipes.module.js +4 -2
- package/esm2015/src/app/shared/pipes/string.pipes.js +13 -1
- package/fesm2015/sumaris-net.ngx-components.js +15 -1
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/pipes/string.pipes.d.ts +3 -0
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -2957,6 +2957,21 @@
|
|
|
2957
2957
|
},] },
|
|
2958
2958
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
2959
2959
|
];
|
|
2960
|
+
var StrIncludesPipe = /** @class */ (function () {
|
|
2961
|
+
function StrIncludesPipe() {
|
|
2962
|
+
}
|
|
2963
|
+
StrIncludesPipe.prototype.transform = function (value, searchString, position) {
|
|
2964
|
+
return (value === null || value === void 0 ? void 0 : value.includes(searchString, position)) || false;
|
|
2965
|
+
};
|
|
2966
|
+
return StrIncludesPipe;
|
|
2967
|
+
}());
|
|
2968
|
+
StrIncludesPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function StrIncludesPipe_Factory() { return new StrIncludesPipe(); }, token: StrIncludesPipe, providedIn: "root" });
|
|
2969
|
+
StrIncludesPipe.decorators = [
|
|
2970
|
+
{ type: i0.Pipe, args: [{
|
|
2971
|
+
name: 'strIncludes'
|
|
2972
|
+
},] },
|
|
2973
|
+
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
2974
|
+
];
|
|
2960
2975
|
|
|
2961
2976
|
var TranslateContextService = /** @class */ (function () {
|
|
2962
2977
|
function TranslateContextService(translate) {
|
|
@@ -4474,6 +4489,7 @@
|
|
|
4474
4489
|
IsNotNilOrBlankPipe,
|
|
4475
4490
|
ToStringPipe,
|
|
4476
4491
|
StrLengthPipe,
|
|
4492
|
+
StrIncludesPipe,
|
|
4477
4493
|
TranslateContextPipe,
|
|
4478
4494
|
TranslatablePipe,
|
|
4479
4495
|
NgInitDirective,
|
|
@@ -4509,6 +4525,7 @@
|
|
|
4509
4525
|
IsNotNilOrBlankPipe,
|
|
4510
4526
|
ToStringPipe,
|
|
4511
4527
|
StrLengthPipe,
|
|
4528
|
+
StrIncludesPipe,
|
|
4512
4529
|
ArrayIncludesPipe,
|
|
4513
4530
|
ArrayFilterPipe,
|
|
4514
4531
|
TranslateContextPipe,
|
|
@@ -30915,6 +30932,7 @@
|
|
|
30915
30932
|
exports.StatusById = StatusById;
|
|
30916
30933
|
exports.StatusIds = StatusIds;
|
|
30917
30934
|
exports.StatusList = StatusList;
|
|
30935
|
+
exports.StrIncludesPipe = StrIncludesPipe;
|
|
30918
30936
|
exports.StrLengthPipe = StrLengthPipe;
|
|
30919
30937
|
exports.SwipeTestPage = SwipeTestPage;
|
|
30920
30938
|
exports.TableSelectColumnsComponent = TableSelectColumnsComponent;
|