@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
|
@@ -2438,7 +2438,6 @@ class FileService {
|
|
|
2438
2438
|
*/
|
|
2439
2439
|
async upload(url, path, file, compressOptions) {
|
|
2440
2440
|
return new Promise(async (resolve, reject) => {
|
|
2441
|
-
console.log(url, path, compressOptions, file);
|
|
2442
2441
|
if (compressOptions) {
|
|
2443
2442
|
file = await this.compress(file, compressOptions);
|
|
2444
2443
|
}
|
|
@@ -2558,7 +2557,7 @@ function fullEmail() {
|
|
|
2558
2557
|
|
|
2559
2558
|
function securePasswordValidator() {
|
|
2560
2559
|
return (control) => {
|
|
2561
|
-
const PASSWORD_REGEX = /^(
|
|
2560
|
+
const PASSWORD_REGEX = /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,}$/i;
|
|
2562
2561
|
return !PASSWORD_REGEX.test(control.value) ? { invalidSecurePassword: true } : null;
|
|
2563
2562
|
};
|
|
2564
2563
|
}
|