@sumaris-net/ngx-components 1.19.25 → 1.19.27
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 +4 -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/doc/changelog.md +6 -0
- package/esm2015/src/app/shared/functions.js +4 -1
- package/fesm2015/sumaris-net.ngx-components.js +4 -1
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/functions.d.ts +1 -0
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -481,6 +481,9 @@
|
|
|
481
481
|
}
|
|
482
482
|
return value;
|
|
483
483
|
}
|
|
484
|
+
function escapeRegexp(value) {
|
|
485
|
+
return value.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
|
|
486
|
+
}
|
|
484
487
|
function removeEnd(value, end) {
|
|
485
488
|
return (value === null || value === void 0 ? void 0 : value.endsWith(end || '')) ? value.substr(0, value.length - end.length) : value;
|
|
486
489
|
}
|
|
@@ -32298,6 +32301,7 @@
|
|
|
32298
32301
|
exports.entityToString = entityToString;
|
|
32299
32302
|
exports.equals = equals;
|
|
32300
32303
|
exports.equalsOrNil = equalsOrNil;
|
|
32304
|
+
exports.escapeRegexp = escapeRegexp;
|
|
32301
32305
|
exports.fadeInAnimation = fadeInAnimation;
|
|
32302
32306
|
exports.fadeInOutAnimation = fadeInOutAnimation;
|
|
32303
32307
|
exports.filterFalse = filterFalse;
|