@lenne.tech/ng-base 14.3.1 → 14.6.0

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.
Files changed (50) hide show
  1. package/base-components/base-components.module.d.ts +5 -4
  2. package/base-components/components/change-password/change-password.component.d.ts +24 -0
  3. package/base-components/components/input/input.component.d.ts +6 -1
  4. package/base-components/components/refence-input/refence-input.component.d.ts +10 -2
  5. package/base-components/components/tags/tags.component.d.ts +0 -2
  6. package/base-components/public-api.d.ts +1 -0
  7. package/base-prototype/base-prototype.module.d.ts +7 -6
  8. package/base-prototype/pages/reset-password/reset-password.component.d.ts +29 -0
  9. package/base-prototype/public-api.d.ts +1 -0
  10. package/esm2020/base-cms/pages/base-cms/base-cms.component.mjs +2 -2
  11. package/esm2020/base-components/base-components.module.mjs +5 -1
  12. package/esm2020/base-components/components/change-password/change-password.component.mjs +70 -0
  13. package/esm2020/base-components/components/input/input.component.mjs +17 -3
  14. package/esm2020/base-components/components/model-form/model-form.component.mjs +3 -3
  15. package/esm2020/base-components/components/model-form-sub/model-form-sub.component.mjs +3 -3
  16. package/esm2020/base-components/components/refence-input/refence-input.component.mjs +60 -10
  17. package/esm2020/base-components/components/tags/tags.component.mjs +12 -5
  18. package/esm2020/base-components/public-api.mjs +2 -1
  19. package/esm2020/base-prototype/base-prototype.module.mjs +7 -3
  20. package/esm2020/base-prototype/pages/forgot-password/forgot-password.component.mjs +4 -3
  21. package/esm2020/base-prototype/pages/login/login.component.mjs +4 -3
  22. package/esm2020/base-prototype/pages/profile/profile.component.mjs +2 -2
  23. package/esm2020/base-prototype/pages/register/register.component.mjs +4 -4
  24. package/esm2020/base-prototype/pages/reset-password/reset-password.component.mjs +82 -0
  25. package/esm2020/base-prototype/public-api.mjs +2 -1
  26. package/esm2020/shared/classes/graphql-meta.class.mjs +13 -2
  27. package/esm2020/shared/public-api.mjs +2 -1
  28. package/esm2020/shared/services/user.service.mjs +28 -1
  29. package/esm2020/shared/validators/email.validator.mjs +7 -0
  30. package/fesm2015/lenne.tech-ng-base-base-cms.mjs +4 -4
  31. package/fesm2015/lenne.tech-ng-base-base-cms.mjs.map +1 -1
  32. package/fesm2015/lenne.tech-ng-base-base-components.mjs +158 -24
  33. package/fesm2015/lenne.tech-ng-base-base-components.mjs.map +1 -1
  34. package/fesm2015/lenne.tech-ng-base-base-prototype.mjs +90 -13
  35. package/fesm2015/lenne.tech-ng-base-base-prototype.mjs.map +1 -1
  36. package/fesm2015/lenne.tech-ng-base-shared.mjs +47 -2
  37. package/fesm2015/lenne.tech-ng-base-shared.mjs.map +1 -1
  38. package/fesm2020/lenne.tech-ng-base-base-cms.mjs +1 -1
  39. package/fesm2020/lenne.tech-ng-base-base-cms.mjs.map +1 -1
  40. package/fesm2020/lenne.tech-ng-base-base-components.mjs +157 -21
  41. package/fesm2020/lenne.tech-ng-base-base-components.mjs.map +1 -1
  42. package/fesm2020/lenne.tech-ng-base-base-prototype.mjs +89 -13
  43. package/fesm2020/lenne.tech-ng-base-base-prototype.mjs.map +1 -1
  44. package/fesm2020/lenne.tech-ng-base-shared.mjs +47 -2
  45. package/fesm2020/lenne.tech-ng-base-shared.mjs.map +1 -1
  46. package/package.json +1 -1
  47. package/shared/classes/graphql-meta.class.d.ts +1 -1
  48. package/shared/public-api.d.ts +1 -0
  49. package/shared/services/user.service.d.ts +14 -0
  50. package/shared/validators/email.validator.d.ts +2 -0
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "angular-library",
11
11
  "angular13+"
12
12
  ],
13
- "version": "14.3.1",
13
+ "version": "14.6.0",
14
14
  "author": "lenne.Tech <info@lenne.tech> (https://lenne.tech)",
15
15
  "homepage": "https://github.com/lenneTech/ng-base",
16
16
  "license": "MIT",
@@ -20,7 +20,7 @@ export declare class GraphQLMeta {
20
20
  *
21
21
  * @returns An array of objects with the name of the model, and the CRUD operations that are available for that model.
22
22
  */
23
- getTypes(): GraphqlCrudType[];
23
+ getTypes(logging?: boolean): GraphqlCrudType[];
24
24
  /**
25
25
  * Get arguments of GraphQL function
26
26
  */
@@ -51,4 +51,5 @@ export * from './interfaces/graphql-crud-type.interface';
51
51
  export * from './types/storage.type';
52
52
  export * from './types/graphql-fields.type';
53
53
  export * from './validators/match.validator';
54
+ export * from './validators/email.validator';
54
55
  export * from './functions/ws-client.function';
@@ -44,6 +44,20 @@ export declare class UserService extends GraphQLPlusService {
44
44
  * @param email
45
45
  */
46
46
  requestPasswordResetMail(email: string): import("rxjs").Observable<any>;
47
+ /**
48
+ * Change password of current user
49
+ *
50
+ * @param id
51
+ * @param password
52
+ */
53
+ changePassword(id: string, password: string): import("rxjs").Observable<any>;
54
+ /**
55
+ * Set new password by token
56
+ *
57
+ * @param token
58
+ * @param password
59
+ */
60
+ resetPassword(token: string, password: string): import("rxjs").Observable<any>;
47
61
  static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
48
62
  static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
49
63
  }
@@ -0,0 +1,2 @@
1
+ import { ValidatorFn } from '@angular/forms';
2
+ export declare function fullEmail(): ValidatorFn;