@cleavelandprice/ngx-lib 3.11.3 → 3.12.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 (51) hide show
  1. package/active-directory/gui/components/user-chooser/user-chooser.component.d.ts +20 -2
  2. package/active-directory/gui/components/user-form-field/user-form-field.component.d.ts +5 -4
  3. package/authentication/token/gui/components/login/login.component.d.ts +3 -3
  4. package/authentication/token/gui/components/login-form/login-form.component.d.ts +1 -2
  5. package/authentication/token/gui/services/authentication.service.d.ts +2 -4
  6. package/authentication/token/services/authentication.service.d.ts +3 -4
  7. package/dialog/components/base/base.component.d.ts +6 -5
  8. package/esm2022/active-directory/gui/components/user-chooser/user-chooser.component.mjs +60 -68
  9. package/esm2022/active-directory/gui/components/user-form-field/user-form-field.component.mjs +22 -27
  10. package/esm2022/authentication/token/gui/components/login/login.component.mjs +9 -10
  11. package/esm2022/authentication/token/gui/components/login-form/login-form.component.mjs +11 -12
  12. package/esm2022/authentication/token/gui/services/authentication.service.mjs +5 -7
  13. package/esm2022/authentication/token/services/authentication.service.mjs +9 -8
  14. package/esm2022/dialog/components/base/base.component.mjs +26 -26
  15. package/esm2022/lib/services/app-path-config.service.mjs +13 -10
  16. package/esm2022/quill/components/editor/editor.component.mjs +41 -48
  17. package/esm2022/quill/mention/components/editor/editor.component.mjs +30 -40
  18. package/esm2022/sharepoint/components/user-photo/user-photo.component.mjs +36 -0
  19. package/esm2022/sharepoint/pipes/user-photo-url.pipe.mjs +38 -0
  20. package/esm2022/sharepoint/public_api.mjs +3 -3
  21. package/esm2022/sharepoint/sharepoint.module.mjs +11 -11
  22. package/esm2022/upload/components/upload-dialog/upload-dialog.component.mjs +3 -3
  23. package/fesm2022/cleavelandprice-ngx-lib-active-directory-gui.mjs +79 -91
  24. package/fesm2022/cleavelandprice-ngx-lib-active-directory-gui.mjs.map +1 -1
  25. package/fesm2022/cleavelandprice-ngx-lib-authentication-token-gui.mjs +23 -27
  26. package/fesm2022/cleavelandprice-ngx-lib-authentication-token-gui.mjs.map +1 -1
  27. package/fesm2022/cleavelandprice-ngx-lib-authentication-token.mjs +8 -7
  28. package/fesm2022/cleavelandprice-ngx-lib-authentication-token.mjs.map +1 -1
  29. package/fesm2022/cleavelandprice-ngx-lib-dialog.mjs +25 -25
  30. package/fesm2022/cleavelandprice-ngx-lib-dialog.mjs.map +1 -1
  31. package/fesm2022/cleavelandprice-ngx-lib-quill-mention.mjs +30 -40
  32. package/fesm2022/cleavelandprice-ngx-lib-quill-mention.mjs.map +1 -1
  33. package/fesm2022/cleavelandprice-ngx-lib-quill.mjs +43 -49
  34. package/fesm2022/cleavelandprice-ngx-lib-quill.mjs.map +1 -1
  35. package/fesm2022/cleavelandprice-ngx-lib-sharepoint.mjs +34 -35
  36. package/fesm2022/cleavelandprice-ngx-lib-sharepoint.mjs.map +1 -1
  37. package/fesm2022/cleavelandprice-ngx-lib-upload.mjs +2 -2
  38. package/fesm2022/cleavelandprice-ngx-lib-upload.mjs.map +1 -1
  39. package/fesm2022/cleavelandprice-ngx-lib.mjs +12 -9
  40. package/fesm2022/cleavelandprice-ngx-lib.mjs.map +1 -1
  41. package/lib/services/app-path-config.service.d.ts +1 -2
  42. package/package.json +1 -1
  43. package/quill/components/editor/editor.component.d.ts +2 -7
  44. package/quill/mention/components/editor/editor.component.d.ts +13 -10
  45. package/sharepoint/components/user-photo/user-photo.component.d.ts +15 -0
  46. package/sharepoint/pipes/{employee-photo-url.pipe.d.ts → user-photo-url.pipe.d.ts} +3 -3
  47. package/sharepoint/public_api.d.ts +2 -2
  48. package/sharepoint/sharepoint.module.d.ts +3 -3
  49. package/esm2022/sharepoint/components/employee-photo/employee-photo.component.mjs +0 -37
  50. package/esm2022/sharepoint/pipes/employee-photo-url.pipe.mjs +0 -38
  51. package/sharepoint/components/employee-photo/employee-photo.component.d.ts +0 -15
@@ -7,12 +7,31 @@ import { PhotoItem } from '@cleavelandprice/ngx-lib/sharepoint';
7
7
  import { SelectableGroup } from '../../model/selectable-group';
8
8
  import { SelectableUser } from '../../model/selectable-user';
9
9
  import { UserChooserData } from '../../model/user-chooser-data';
10
+ import { UserChooserMode } from '../../public_api';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class UserChooserComponent implements OnInit, AfterViewChecked {
12
- data: UserChooserData;
13
13
  private dialogRef;
14
14
  private activeDirectoryService;
15
15
  private sharePointService;
16
+ data: UserChooserData;
17
+ _data: {
18
+ closeWhenSelectionMade: boolean;
19
+ includeDisabledUsers: boolean;
20
+ parentOu?: string | undefined;
21
+ returnUserObjects: boolean;
22
+ showGroupMembershipTooltips: boolean;
23
+ showPhone: boolean;
24
+ title: string;
25
+ mode: UserChooserMode;
26
+ filterOptions: import("../../public_api").UserChooserFilterOptions;
27
+ exclusions: import("../../public_api").UserChooserPreProcessingGroup;
28
+ inclusions: import("../../public_api").UserChooserPreProcessingGroup;
29
+ preSelections: import("../../public_api").UserChooserPreProcessingGroup;
30
+ users?: import("@cleavelandprice/ngx-lib/active-directory").User[] | undefined;
31
+ groups?: Group[] | undefined;
32
+ photos?: PhotoItem[] | undefined;
33
+ selectableGroupNames?: string[] | undefined;
34
+ };
16
35
  selectionList?: MatSelectionList;
17
36
  filterInput?: ElementRef;
18
37
  filterForm: FormGroup<{
@@ -26,7 +45,6 @@ export declare class UserChooserComponent implements OnInit, AfterViewChecked {
26
45
  get selectedUsers(): (SelectableUser | SelectableGroup)[];
27
46
  get filterValue(): string;
28
47
  get adGroupsNeeded(): boolean;
29
- constructor(data: UserChooserData);
30
48
  ngOnInit(): void;
31
49
  ngAfterViewChecked(): void;
32
50
  listSelectionChanged(options: MatListOption[]): void;
@@ -9,9 +9,10 @@ export declare class UserFormFieldComponent implements OnInit {
9
9
  private sharePointService;
10
10
  usersSelected: EventEmitter<string | string[]>;
11
11
  userUnSelected: EventEmitter<string>;
12
- placeholder: string;
13
- clickable: boolean;
14
- userChooserData: UserChooserData;
12
+ placeholder: import("@angular/core").InputSignal<string, string>;
13
+ clickable: import("@angular/core").InputSignal<boolean, boolean>;
14
+ userChooserData: import("@angular/core").InputSignal<UserChooserData, UserChooserData>;
15
+ _userChooserData: UserChooserData;
15
16
  accountNames: string[];
16
17
  users?: User[];
17
18
  groups?: UserOrGroup[];
@@ -24,5 +25,5 @@ export declare class UserFormFieldComponent implements OnInit {
24
25
  getGroup(accountName: string): UserOrGroup | undefined;
25
26
  getPhoto(accountName: string): string | undefined;
26
27
  static ɵfac: i0.ɵɵFactoryDeclaration<UserFormFieldComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<UserFormFieldComponent, "cp-user-field", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "userChooserData": { "alias": "userChooserData"; "required": false; }; }, { "usersSelected": "usersSelected"; "userUnSelected": "userUnSelected"; }, never, never, false, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserFormFieldComponent, "cp-user-field", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "userChooserData": { "alias": "userChooserData"; "required": true; "isSignal": true; }; }, { "usersSelected": "usersSelected"; "userUnSelected": "userUnSelected"; }, never, never, false, never>;
28
29
  }
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
3
3
  export declare class LoginComponent {
4
4
  private dialog;
5
5
  authenticationService: AuthenticationService;
6
- adminGroup: string;
7
- additionalInfo: string;
6
+ adminGroup: import("@angular/core").InputSignal<string | undefined, string | undefined>;
7
+ additionalInfo: import("@angular/core").InputSignal<string, string>;
8
8
  login(): void;
9
9
  confirmLogout(): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "cp-login", never, { "adminGroup": { "alias": "adminGroup"; "required": false; }; "additionalInfo": { "alias": "additionalInfo"; "required": false; }; }, {}, never, never, false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "cp-login", never, { "adminGroup": { "alias": "adminGroup"; "required": false; "isSignal": true; }; "additionalInfo": { "alias": "additionalInfo"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
12
12
  }
@@ -2,10 +2,10 @@ import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { FormControl, FormGroup } from '@angular/forms';
3
3
  import { MatDialogRef } from '@angular/material/dialog';
4
4
  import { Subscription } from 'rxjs';
5
- import { LoginFormData } from '../../model/login-form-data';
6
5
  import { AuthenticationService } from '../../services/authentication.service';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class LoginFormComponent implements OnInit, OnDestroy {
8
+ #private;
9
9
  dialogRef: MatDialogRef<any, any>;
10
10
  authenticationService: AuthenticationService;
11
11
  errorMessage?: string;
@@ -17,7 +17,6 @@ export declare class LoginFormComponent implements OnInit, OnDestroy {
17
17
  adminGroup: FormControl<any>;
18
18
  additionalInfo: FormControl<any>;
19
19
  }>;
20
- constructor(data: LoginFormData);
21
20
  ngOnInit(): void;
22
21
  ngOnDestroy(): void;
23
22
  authenticate(): void;
@@ -1,14 +1,12 @@
1
- import { HttpClient } from '@angular/common/http';
2
1
  import { AuthenticationService as TokenAuthenticationService } from '@cleavelandprice/ngx-lib/authentication/token';
3
2
  import { ServiceConfig } from '../model/service-config';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class AuthenticationService extends TokenAuthenticationService {
6
5
  config: ServiceConfig;
7
- http: HttpClient;
8
6
  private sharePointService;
9
- constructor(config: ServiceConfig, http: HttpClient);
7
+ constructor(config: ServiceConfig);
10
8
  validateUser(token: string): void;
11
9
  private getPhoto;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationService, [{ optional: true; }, null]>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationService, [{ optional: true; }]>;
13
11
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticationService>;
14
12
  }
@@ -1,11 +1,10 @@
1
- import { HttpClient } from '@angular/common/http';
2
1
  import { EventEmitter } from '@angular/core';
3
2
  import { AbstractAuthenticationService, AuthenticatedUser } from '@cleavelandprice/ngx-lib/authentication';
4
3
  import { ServiceConfig } from '../model/service-config';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class AuthenticationService implements AbstractAuthenticationService {
6
+ #private;
7
7
  protected config: ServiceConfig;
8
- protected http: HttpClient;
9
8
  authenticatedChanged: EventEmitter<boolean>;
10
9
  authenticatingChanged: EventEmitter<boolean>;
11
10
  authenticationError: EventEmitter<any>;
@@ -14,11 +13,11 @@ export declare class AuthenticationService implements AbstractAuthenticationServ
14
13
  authenticatedUser?: AuthenticatedUser;
15
14
  get useSessionStorage(): boolean;
16
15
  get storage(): Storage;
17
- constructor(config: ServiceConfig, http: HttpClient);
16
+ constructor(config: ServiceConfig);
18
17
  login(username: string, password: string, adminGroup?: string, additionalInfo?: string): void;
19
18
  logout(): void;
20
19
  validateUser(token: string): void;
21
20
  checkForExistingToken(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationService, [{ optional: true; }, null]>;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationService, [{ optional: true; }]>;
23
22
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticationService>;
24
23
  }
@@ -4,19 +4,20 @@ import { DialogBaseData } from '../../model/dialog-base-data';
4
4
  import { DialogType } from '../../model/dialog-type';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class BaseComponent implements OnInit {
7
+ #private;
7
8
  DialogType: typeof DialogType;
8
- dialogType: DialogType;
9
- data: DialogBaseData;
9
+ dialogType: import("@angular/core").InputSignal<DialogType, DialogType>;
10
+ data: import("@angular/core").InputSignal<DialogBaseData, DialogBaseData>;
10
11
  closed: EventEmitter<any>;
11
12
  ConfirmationDialogMode: typeof ConfirmationDialogMode;
12
13
  userInput?: string;
13
14
  checkboxValue: boolean;
14
- get customTrueText(): string | null;
15
- get customFalseText(): string | null;
15
+ get customTrueText(): string | undefined;
16
+ get customFalseText(): string | undefined;
16
17
  get choices(): string[] | null;
17
18
  ngOnInit(): void;
18
19
  close(): void;
19
20
  cancel(): void;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent, "cp-dialog-base", never, { "dialogType": { "alias": "dialogType"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "closed": "closed"; }, never, never, false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent, "cp-dialog-base", never, { "dialogType": { "alias": "dialogType"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; }, { "closed": "closed"; }, never, never, false, never>;
22
23
  }