@lenne.tech/ng-base 14.13.0 → 14.13.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/base-components/components/change-password/change-password.component.mjs +41 -21
- package/esm2020/base-components/components/input/input.component.mjs +2 -2
- package/esm2020/base-components/components/upload-image/upload-image.component.mjs +3 -3
- package/esm2020/shared/services/file.service.mjs +1 -2
- package/esm2020/shared/validators/secure-password.validator.mjs +2 -2
- package/fesm2015/lenne.tech-ng-base-base-components.mjs +44 -24
- package/fesm2015/lenne.tech-ng-base-base-components.mjs.map +1 -1
- package/fesm2015/lenne.tech-ng-base-shared.mjs +1 -2
- package/fesm2015/lenne.tech-ng-base-shared.mjs.map +1 -1
- package/fesm2020/lenne.tech-ng-base-base-components.mjs +44 -24
- package/fesm2020/lenne.tech-ng-base-base-components.mjs.map +1 -1
- package/fesm2020/lenne.tech-ng-base-shared.mjs +1 -2
- package/fesm2020/lenne.tech-ng-base-shared.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2385,7 +2385,6 @@ class FileService {
|
|
|
2385
2385
|
upload(url, path, file, compressOptions) {
|
|
2386
2386
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2387
2387
|
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
2388
|
-
console.log(url, path, compressOptions, file);
|
|
2389
2388
|
if (compressOptions) {
|
|
2390
2389
|
file = yield this.compress(file, compressOptions);
|
|
2391
2390
|
}
|
|
@@ -2507,7 +2506,7 @@ function fullEmail() {
|
|
|
2507
2506
|
|
|
2508
2507
|
function securePasswordValidator() {
|
|
2509
2508
|
return (control) => {
|
|
2510
|
-
const PASSWORD_REGEX = /^(
|
|
2509
|
+
const PASSWORD_REGEX = /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,}$/i;
|
|
2511
2510
|
return !PASSWORD_REGEX.test(control.value) ? { invalidSecurePassword: true } : null;
|
|
2512
2511
|
};
|
|
2513
2512
|
}
|