valtech-components 2.0.932 → 2.0.934

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.
@@ -0,0 +1,9 @@
1
+ import { ValidatorFn } from '@angular/forms';
2
+ /**
3
+ * Mirrors the backend `authPassword` validator (`pkg/validator.go`):
4
+ * min 8 chars, ≥1 uppercase, ≥1 lowercase, ≥1 digit, ≥1 special char.
5
+ *
6
+ * Returns `{ authPassword: true }` on failure so the form can surface the
7
+ * inline error via `errorKeys: { authPassword: 'passwordStrength' }`.
8
+ */
9
+ export declare function authPasswordValidator(): ValidatorFn;
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "2.0.932";
5
+ export declare const VERSION = "2.0.934";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.932",
3
+ "version": "2.0.934",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"
package/public-api.d.ts CHANGED
@@ -338,6 +338,7 @@ export * from './lib/shared/pipes/process-links.pipe';
338
338
  export * from './lib/shared/utils/datetime';
339
339
  export * from './lib/shared/utils/dom';
340
340
  export * from './lib/shared/utils/form-defaults';
341
+ export * from './lib/shared/utils/validators';
341
342
  export * from './lib/shared/utils/styles';
342
343
  export * from './lib/shared/utils/text';
343
344
  export * from './lib/config';