@cleavelandprice/ngx-lib 3.14.5 → 4.0.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.
- package/README.md +5 -5
- package/active-directory/{public_api.d.ts → active-directory.api.d.ts} +2 -4
- package/active-directory/active-directory.module.d.ts +2 -2
- package/active-directory/index.d.ts +1 -1
- package/active-directory/{gui → material}/components/user-chooser/user-chooser.component.d.ts +11 -31
- package/active-directory/{gui → material}/components/user-form-field/user-form-field.component.d.ts +5 -8
- package/active-directory/{gui → material}/index.d.ts +2 -2
- package/active-directory/{gui/public_api.d.ts → material/mat-active-directory.api.d.ts} +1 -1
- package/active-directory/material/mat-active-directory.module.d.ts +25 -0
- package/active-directory/model/active-directory-service-options.d.ts +7 -0
- package/active-directory/services/active-directory.service.d.ts +7 -7
- package/authentication/{public_api.d.ts → authentication.api.d.ts} +1 -1
- package/authentication/authentication.base.module.d.ts +5 -1
- package/authentication/index.d.ts +1 -1
- package/authentication/{token/gui → material}/components/login/login.component.d.ts +6 -4
- package/authentication/{token/gui → material}/components/login-form/login-form.component.d.ts +9 -10
- package/authentication/material/index.d.ts +5 -0
- package/authentication/material/mat-authentication.api.d.ts +6 -0
- package/authentication/material/mat-authentication.module.d.ts +21 -0
- package/authentication/material/model/mat-authentication-service-options.d.ts +6 -0
- package/authentication/material/services/mat-authentication.service.d.ts +11 -0
- package/authentication/model/abstract-authentication-service.d.ts +4 -4
- package/authentication/model/authentication-service-options.d.ts +8 -0
- package/authentication/object/authentication-object.api.d.ts +2 -0
- package/authentication/object/authentication-object.module.d.ts +11 -0
- package/authentication/object/index.d.ts +1 -1
- package/authentication/object/services/authentication-object.service.d.ts +23 -0
- package/authentication/token/authentication-token.api.d.ts +4 -0
- package/authentication/token/authetiction-token.module.d.ts +11 -0
- package/authentication/token/index.d.ts +1 -1
- package/authentication/token/model/authentication-token-service-options.d.ts +6 -0
- package/authentication/token/services/authentication-token.service.d.ts +23 -0
- package/dialog/components/base/base.component.d.ts +3 -3
- package/dialog/components/choice/choice.component.d.ts +5 -3
- package/dialog/components/confirmation/confirmation.component.d.ts +5 -3
- package/dialog/components/input/input.component.d.ts +5 -3
- package/dialog/components/message/message.component.d.ts +5 -3
- package/dialog/dialog.module.d.ts +13 -13
- package/dialog/index.d.ts +1 -1
- package/esm2022/active-directory/active-directory.api.mjs +12 -0
- package/esm2022/active-directory/active-directory.module.mjs +20 -10
- package/esm2022/active-directory/cleavelandprice-ngx-lib-active-directory.mjs +2 -2
- package/esm2022/active-directory/material/cleavelandprice-ngx-lib-active-directory-material.mjs +5 -0
- package/esm2022/active-directory/material/components/user-chooser/user-chooser.component.mjs +406 -0
- package/esm2022/active-directory/material/components/user-form-field/user-form-field.component.mjs +136 -0
- package/esm2022/active-directory/material/mat-active-directory.api.mjs +9 -0
- package/esm2022/active-directory/material/mat-active-directory.module.mjs +109 -0
- package/esm2022/active-directory/material/model/selectable-group.mjs +2 -0
- package/esm2022/active-directory/material/model/selectable-user.mjs +2 -0
- package/esm2022/active-directory/material/model/user-chooser-data.mjs +33 -0
- package/esm2022/active-directory/material/model/user-chooser-filter-options.mjs +10 -0
- package/esm2022/active-directory/{gui → material}/model/user-chooser-mode.mjs +1 -1
- package/esm2022/active-directory/material/model/user-chooser-pre-processing-group.mjs +9 -0
- package/esm2022/active-directory/model/active-directory-service-options.mjs +3 -0
- package/esm2022/active-directory/services/active-directory.service.mjs +61 -41
- package/esm2022/authentication/authentication.api.mjs +6 -0
- package/esm2022/authentication/authentication.base.module.mjs +28 -7
- package/esm2022/authentication/cleavelandprice-ngx-lib-authentication.mjs +2 -2
- package/esm2022/authentication/material/cleavelandprice-ngx-lib-authentication-material.mjs +5 -0
- package/esm2022/authentication/material/components/login/login.component.mjs +49 -0
- package/esm2022/authentication/material/components/login-form/login-form.component.mjs +82 -0
- package/esm2022/authentication/material/mat-authentication.api.mjs +7 -0
- package/esm2022/authentication/material/mat-authentication.module.mjs +84 -0
- package/esm2022/authentication/material/model/login-form-data.mjs +2 -0
- package/esm2022/authentication/material/model/mat-authentication-service-options.mjs +3 -0
- package/esm2022/authentication/material/services/mat-authentication.service.mjs +67 -0
- package/esm2022/authentication/model/abstract-authentication-service.mjs +1 -1
- package/esm2022/authentication/model/authentication-service-options.mjs +3 -0
- package/esm2022/authentication/object/authentication-object.api.mjs +4 -0
- package/esm2022/authentication/object/authentication-object.module.mjs +40 -0
- package/esm2022/authentication/object/cleavelandprice-ngx-lib-authentication-object.mjs +2 -2
- package/esm2022/authentication/object/services/authentication-object.service.mjs +119 -0
- package/esm2022/authentication/token/authentication-token.api.mjs +5 -0
- package/esm2022/authentication/token/authetiction-token.module.mjs +40 -0
- package/esm2022/authentication/token/cleavelandprice-ngx-lib-authentication-token.mjs +2 -2
- package/esm2022/authentication/token/model/authentication-token-service-options.mjs +3 -0
- package/esm2022/authentication/token/services/authentication-token.service.mjs +128 -0
- package/esm2022/dialog/cleavelandprice-ngx-lib-dialog.mjs +2 -2
- package/esm2022/dialog/components/base/base.component.mjs +27 -16
- package/esm2022/dialog/components/choice/choice.component.mjs +11 -11
- package/esm2022/dialog/components/confirmation/confirmation.component.mjs +11 -11
- package/esm2022/dialog/components/input/input.component.mjs +11 -11
- package/esm2022/dialog/components/message/message.component.mjs +11 -11
- package/esm2022/dialog/dialog.api.mjs +20 -0
- package/esm2022/dialog/dialog.module.mjs +25 -20
- package/esm2022/lib/model/caching-config.mjs +2 -0
- package/esm2022/lib/model/credentials.mjs +2 -0
- package/esm2022/lib/model/logging-config.mjs +2 -0
- package/esm2022/lib/model/service-options.mjs +3 -0
- package/esm2022/lib/ngx-lib.module.mjs +20 -10
- package/esm2022/lib/services/app-path-config.service.mjs +31 -24
- package/esm2022/lib/services/service-base.mjs +26 -0
- package/esm2022/msgraph/cleavelandprice-ngx-lib-msgraph.mjs +2 -2
- package/esm2022/msgraph/msgraph.api.mjs +19 -0
- package/esm2022/msgraph/msgraph.module.mjs +6 -11
- package/esm2022/public_api.mjs +6 -2
- package/esm2022/quill/cleavelandprice-ngx-lib-quill.mjs +2 -2
- package/esm2022/quill/components/editor/editor.component.mjs +29 -39
- package/esm2022/quill/components/raw/raw.component.mjs +18 -11
- package/esm2022/quill/mention/cleavelandprice-ngx-lib-quill-mention.mjs +2 -2
- package/esm2022/quill/mention/components/editor/editor.component.mjs +20 -14
- package/esm2022/quill/mention/quill-mention.api.mjs +8 -0
- package/esm2022/quill/mention/quill-mention.module.mjs +12 -12
- package/esm2022/quill/quill.api.mjs +9 -0
- package/esm2022/quill/quill.module.mjs +20 -18
- package/esm2022/sharepoint/cleavelandprice-ngx-lib-sharepoint.mjs +2 -2
- package/esm2022/sharepoint/components/user-photo/user-photo.component.mjs +13 -9
- package/esm2022/sharepoint/model/sharepoint-service-options.mjs +3 -0
- package/esm2022/sharepoint/pipes/user-photo-url.pipe.mjs +8 -9
- package/esm2022/sharepoint/services/sharepoint.service.mjs +74 -65
- package/esm2022/sharepoint/sharepoint.api.mjs +17 -0
- package/esm2022/sharepoint/sharepoint.module.mjs +25 -15
- package/esm2022/table/cleavelandprice-ngx-lib-table.mjs +2 -2
- package/esm2022/table/components/table/table.component.mjs +76 -74
- package/esm2022/table/table.api.mjs +4 -0
- package/esm2022/table/table.module.mjs +16 -15
- package/esm2022/upload/cleavelandprice-ngx-lib-upload.mjs +2 -2
- package/esm2022/upload/components/upload/upload.component.mjs +16 -20
- package/esm2022/upload/components/upload-dialog/upload-dialog.component.mjs +49 -39
- package/esm2022/upload/model/upload-service-options.mjs +4 -0
- package/esm2022/upload/model/upload-status.mjs +2 -0
- package/esm2022/upload/services/upload.service.mjs +44 -29
- package/esm2022/upload/upload.api.mjs +9 -0
- package/esm2022/upload/upload.module.mjs +33 -20
- package/esm2022/url-utilities/cleavelandprice-ngx-lib-url-utilities.mjs +2 -2
- package/esm2022/url-utilities/pipes/safe-resource-url.pipe.mjs +8 -9
- package/esm2022/url-utilities/pipes/safe-url.pipe.mjs +8 -9
- package/esm2022/url-utilities/pipes/uri-scheme.pipe.mjs +9 -8
- package/esm2022/url-utilities/url-utilities.api.mjs +13 -0
- package/esm2022/url-utilities/url-utilities.module.mjs +11 -11
- package/fesm2022/cleavelandprice-ngx-lib-active-directory-material.mjs +683 -0
- package/fesm2022/cleavelandprice-ngx-lib-active-directory-material.mjs.map +1 -0
- package/fesm2022/cleavelandprice-ngx-lib-active-directory.mjs +79 -72
- package/fesm2022/cleavelandprice-ngx-lib-active-directory.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-authentication-material.mjs +268 -0
- package/fesm2022/cleavelandprice-ngx-lib-authentication-material.mjs.map +1 -0
- package/fesm2022/cleavelandprice-ngx-lib-authentication-object.mjs +54 -49
- package/fesm2022/cleavelandprice-ngx-lib-authentication-object.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-authentication-token.mjs +50 -51
- package/fesm2022/cleavelandprice-ngx-lib-authentication-token.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-authentication.mjs +28 -18
- package/fesm2022/cleavelandprice-ngx-lib-authentication.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-dialog.mjs +87 -66
- package/fesm2022/cleavelandprice-ngx-lib-dialog.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-msgraph.mjs +5 -10
- package/fesm2022/cleavelandprice-ngx-lib-msgraph.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-quill-mention.mjs +29 -26
- package/fesm2022/cleavelandprice-ngx-lib-quill-mention.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-quill.mjs +61 -67
- package/fesm2022/cleavelandprice-ngx-lib-quill.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-sharepoint.mjs +115 -118
- package/fesm2022/cleavelandprice-ngx-lib-sharepoint.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-table.mjs +85 -90
- package/fesm2022/cleavelandprice-ngx-lib-table.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-upload.mjs +134 -117
- package/fesm2022/cleavelandprice-ngx-lib-upload.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-url-utilities.mjs +38 -33
- package/fesm2022/cleavelandprice-ngx-lib-url-utilities.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib.mjs +66 -45
- package/fesm2022/cleavelandprice-ngx-lib.mjs.map +1 -1
- package/lib/model/caching-config.d.ts +4 -0
- package/lib/model/credentials.d.ts +4 -0
- package/lib/model/logging-config.d.ts +6 -0
- package/lib/model/service-options.d.ts +6 -0
- package/lib/ngx-lib.module.d.ts +2 -2
- package/lib/services/app-path-config.service.d.ts +5 -4
- package/lib/services/service-base.d.ts +7 -0
- package/msgraph/index.d.ts +1 -1
- package/msgraph/msgraph.module.d.ts +0 -2
- package/package.json +28 -28
- package/public_api.d.ts +5 -1
- package/quill/components/editor/editor.component.d.ts +10 -10
- package/quill/components/raw/raw.component.d.ts +1 -1
- package/quill/index.d.ts +1 -1
- package/quill/mention/components/editor/editor.component.d.ts +3 -3
- package/quill/mention/index.d.ts +1 -1
- package/quill/mention/quill-mention.module.d.ts +9 -9
- package/quill/quill.module.d.ts +12 -14
- package/sharepoint/components/user-photo/user-photo.component.d.ts +2 -2
- package/sharepoint/index.d.ts +1 -1
- package/sharepoint/model/sharepoint-service-options.d.ts +19 -0
- package/sharepoint/pipes/user-photo-url.pipe.d.ts +2 -2
- package/sharepoint/services/sharepoint.service.d.ts +7 -10
- package/sharepoint/{public_api.d.ts → sharepoint.api.d.ts} +1 -1
- package/sharepoint/sharepoint.module.d.ts +6 -6
- package/table/components/table/table.component.d.ts +21 -22
- package/table/index.d.ts +1 -1
- package/table/table.module.d.ts +13 -13
- package/upload/components/upload/upload.component.d.ts +4 -8
- package/upload/components/upload-dialog/upload-dialog.component.d.ts +11 -9
- package/upload/index.d.ts +1 -1
- package/upload/model/upload-service-options.d.ts +16 -0
- package/upload/model/upload-status.d.ts +6 -0
- package/upload/services/upload.service.d.ts +9 -6
- package/upload/{public_api.d.ts → upload.api.d.ts} +2 -2
- package/upload/upload.module.d.ts +10 -10
- package/url-utilities/index.d.ts +1 -1
- package/url-utilities/pipes/safe-resource-url.pipe.d.ts +2 -2
- package/url-utilities/pipes/safe-url.pipe.d.ts +2 -2
- package/url-utilities/pipes/uri-scheme.pipe.d.ts +2 -3
- package/url-utilities/url-utilities.api.d.ts +8 -0
- package/url-utilities/url-utilities.module.d.ts +5 -5
- package/active-directory/gui/gui.module.d.ts +0 -25
- package/active-directory/model/caching-config.d.ts +0 -4
- package/active-directory/model/logging-config.d.ts +0 -6
- package/active-directory/model/service-config.d.ts +0 -8
- package/authentication/model/service-config.d.ts +0 -8
- package/authentication/object/model/service-config.d.ts +0 -4
- package/authentication/object/object.module.d.ts +0 -11
- package/authentication/object/public_api.d.ts +0 -3
- package/authentication/object/services/authentication.service.d.ts +0 -23
- package/authentication/token/gui/index.d.ts +0 -5
- package/authentication/token/gui/model/service-config.d.ts +0 -5
- package/authentication/token/gui/public_api.d.ts +0 -6
- package/authentication/token/gui/services/authentication.service.d.ts +0 -12
- package/authentication/token/gui/token-gui.module.d.ts +0 -21
- package/authentication/token/model/service-config.d.ts +0 -5
- package/authentication/token/public_api.d.ts +0 -4
- package/authentication/token/services/authentication.service.d.ts +0 -23
- package/authentication/token/token.module.d.ts +0 -11
- package/esm2022/active-directory/gui/cleavelandprice-ngx-lib-active-directory-gui.mjs +0 -5
- package/esm2022/active-directory/gui/components/user-chooser/user-chooser.component.mjs +0 -393
- package/esm2022/active-directory/gui/components/user-form-field/user-form-field.component.mjs +0 -132
- package/esm2022/active-directory/gui/gui.module.mjs +0 -96
- package/esm2022/active-directory/gui/model/selectable-group.mjs +0 -2
- package/esm2022/active-directory/gui/model/selectable-user.mjs +0 -2
- package/esm2022/active-directory/gui/model/user-chooser-data.mjs +0 -33
- package/esm2022/active-directory/gui/model/user-chooser-filter-options.mjs +0 -10
- package/esm2022/active-directory/gui/model/user-chooser-pre-processing-group.mjs +0 -9
- package/esm2022/active-directory/gui/public_api.mjs +0 -9
- package/esm2022/active-directory/model/caching-config.mjs +0 -7
- package/esm2022/active-directory/model/logging-config.mjs +0 -9
- package/esm2022/active-directory/model/service-config.mjs +0 -12
- package/esm2022/active-directory/public_api.mjs +0 -12
- package/esm2022/authentication/model/service-config.mjs +0 -12
- package/esm2022/authentication/object/model/service-config.mjs +0 -9
- package/esm2022/authentication/object/object.module.mjs +0 -39
- package/esm2022/authentication/object/public_api.mjs +0 -4
- package/esm2022/authentication/object/services/authentication.service.mjs +0 -110
- package/esm2022/authentication/public_api.mjs +0 -6
- package/esm2022/authentication/token/gui/cleavelandprice-ngx-lib-authentication-token-gui.mjs +0 -5
- package/esm2022/authentication/token/gui/components/login/login.component.mjs +0 -43
- package/esm2022/authentication/token/gui/components/login-form/login-form.component.mjs +0 -72
- package/esm2022/authentication/token/gui/model/login-form-data.mjs +0 -2
- package/esm2022/authentication/token/gui/model/service-config.mjs +0 -10
- package/esm2022/authentication/token/gui/public_api.mjs +0 -7
- package/esm2022/authentication/token/gui/services/authentication.service.mjs +0 -78
- package/esm2022/authentication/token/gui/token-gui.module.mjs +0 -81
- package/esm2022/authentication/token/model/service-config.mjs +0 -10
- package/esm2022/authentication/token/public_api.mjs +0 -5
- package/esm2022/authentication/token/services/authentication.service.mjs +0 -124
- package/esm2022/authentication/token/token.module.mjs +0 -39
- package/esm2022/dialog/public_api.mjs +0 -10
- package/esm2022/lib/model/service-config.mjs +0 -21
- package/esm2022/msgraph/public_api.mjs +0 -19
- package/esm2022/quill/mention/public_api.mjs +0 -8
- package/esm2022/quill/public_api.mjs +0 -9
- package/esm2022/sharepoint/model/service-config.mjs +0 -27
- package/esm2022/sharepoint/public_api.mjs +0 -17
- package/esm2022/table/public_api.mjs +0 -4
- package/esm2022/upload/model/service-config.mjs +0 -16
- package/esm2022/upload/public_api.mjs +0 -9
- package/esm2022/url-utilities/public_api.mjs +0 -5
- package/fesm2022/cleavelandprice-ngx-lib-active-directory-gui.mjs +0 -660
- package/fesm2022/cleavelandprice-ngx-lib-active-directory-gui.mjs.map +0 -1
- package/fesm2022/cleavelandprice-ngx-lib-authentication-token-gui.mjs +0 -271
- package/fesm2022/cleavelandprice-ngx-lib-authentication-token-gui.mjs.map +0 -1
- package/lib/model/service-config.d.ts +0 -6
- package/sharepoint/model/service-config.d.ts +0 -23
- package/upload/model/service-config.d.ts +0 -15
- package/url-utilities/public_api.d.ts +0 -4
- /package/active-directory/{gui → material}/model/selectable-group.d.ts +0 -0
- /package/active-directory/{gui → material}/model/selectable-user.d.ts +0 -0
- /package/active-directory/{gui → material}/model/user-chooser-data.d.ts +0 -0
- /package/active-directory/{gui → material}/model/user-chooser-filter-options.d.ts +0 -0
- /package/active-directory/{gui → material}/model/user-chooser-mode.d.ts +0 -0
- /package/active-directory/{gui → material}/model/user-chooser-pre-processing-group.d.ts +0 -0
- /package/authentication/{token/gui → material}/model/login-form-data.d.ts +0 -0
- /package/dialog/{public_api.d.ts → dialog.api.d.ts} +0 -0
- /package/msgraph/{public_api.d.ts → msgraph.api.d.ts} +0 -0
- /package/quill/mention/{public_api.d.ts → quill-mention.api.d.ts} +0 -0
- /package/quill/{public_api.d.ts → quill.api.d.ts} +0 -0
- /package/table/{public_api.d.ts → table.api.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# NgxLib
|
|
2
|
-
|
|
3
|
-
## Description
|
|
4
|
-
**NgxLib** is an Angular library that contains standard functionality utilized in Cleaveland/Price applications.
|
|
5
|
-
|
|
1
|
+
# NgxLib
|
|
2
|
+
|
|
3
|
+
## Description
|
|
4
|
+
**NgxLib** is an Angular library that contains standard functionality utilized in Cleaveland/Price applications.
|
|
5
|
+
|
|
6
6
|
All documentation can be found at the project's [Github repository](https://github.com/cleavelandprice/ngx-lib).
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
export * from './model/ad-object';
|
|
2
2
|
export * from './model/ad-object-with-children';
|
|
3
|
-
export * from './model/caching-config';
|
|
4
3
|
export * from './model/cleaveland-price-user';
|
|
5
4
|
export * from './model/group';
|
|
6
|
-
export * from './model/
|
|
7
|
-
export * from './model/service-config';
|
|
8
|
-
export * from './model/user-or-group';
|
|
5
|
+
export * from './model/active-directory-service-options';
|
|
9
6
|
export * from './model/user';
|
|
7
|
+
export * from './model/user-or-group';
|
|
10
8
|
export * from './services/active-directory.service';
|
|
11
9
|
export * from './active-directory.module';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ActiveDirectoryServiceOptions } from './model/active-directory-service-options';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
5
5
|
export declare class ActiveDirectoryModule {
|
|
6
|
-
static forRoot(config:
|
|
6
|
+
static forRoot(config: ActiveDirectoryServiceOptions): ModuleWithProviders<ActiveDirectoryModule>;
|
|
7
7
|
constructor(parentModule: ActiveDirectoryModule);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActiveDirectoryModule, [{ optional: true; skipSelf: true; }]>;
|
|
9
9
|
static ɵmod: i0.ɵɵNgModuleDeclaration<ActiveDirectoryModule, never, [typeof i1.CommonModule], never>;
|
package/active-directory/{gui → material}/components/user-chooser/user-chooser.component.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { MatListOption, MatSelectionList } from '@angular/material/list';
|
|
4
4
|
import { MatTableDataSource } from '@angular/material/table';
|
|
@@ -6,14 +6,10 @@ import { Group } from '@cleavelandprice/ngx-lib/active-directory';
|
|
|
6
6
|
import { PhotoItem } from '@cleavelandprice/ngx-lib/sharepoint';
|
|
7
7
|
import { SelectableGroup } from '../../model/selectable-group';
|
|
8
8
|
import { SelectableUser } from '../../model/selectable-user';
|
|
9
|
-
import {
|
|
10
|
-
import { UserChooserMode } from '../../public_api';
|
|
9
|
+
import { UserChooserMode } from '../../model/user-chooser-mode';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class UserChooserComponent implements OnInit
|
|
13
|
-
private
|
|
14
|
-
private activeDirectoryService;
|
|
15
|
-
private sharePointService;
|
|
16
|
-
data: UserChooserData;
|
|
11
|
+
export declare class UserChooserComponent implements OnInit {
|
|
12
|
+
#private;
|
|
17
13
|
_data: {
|
|
18
14
|
closeWhenSelectionMade: boolean;
|
|
19
15
|
includeDisabledUsers: boolean;
|
|
@@ -23,17 +19,17 @@ export declare class UserChooserComponent implements OnInit, AfterViewChecked {
|
|
|
23
19
|
showPhone: boolean;
|
|
24
20
|
title: string;
|
|
25
21
|
mode: UserChooserMode;
|
|
26
|
-
filterOptions: import("
|
|
27
|
-
exclusions: import("
|
|
28
|
-
inclusions: import("
|
|
29
|
-
preSelections: import("
|
|
22
|
+
filterOptions: import("@cleavelandprice/ngx-lib/active-directory/material").UserChooserFilterOptions;
|
|
23
|
+
exclusions: import("@cleavelandprice/ngx-lib/active-directory/material").UserChooserPreProcessingGroup;
|
|
24
|
+
inclusions: import("@cleavelandprice/ngx-lib/active-directory/material").UserChooserPreProcessingGroup;
|
|
25
|
+
preSelections: import("@cleavelandprice/ngx-lib/active-directory/material").UserChooserPreProcessingGroup;
|
|
30
26
|
users?: import("@cleavelandprice/ngx-lib/active-directory").User[] | undefined;
|
|
31
27
|
groups?: Group[] | undefined;
|
|
32
28
|
photos?: PhotoItem[] | undefined;
|
|
33
29
|
selectableGroupNames?: string[] | undefined;
|
|
34
30
|
};
|
|
35
|
-
selectionList
|
|
36
|
-
filterInput
|
|
31
|
+
selectionList: import("@angular/core").Signal<MatSelectionList | undefined>;
|
|
32
|
+
set filterInput(elRef: ElementRef<HTMLInputElement>);
|
|
37
33
|
filterForm: FormGroup<{
|
|
38
34
|
filter: FormControl<any>;
|
|
39
35
|
}>;
|
|
@@ -46,7 +42,6 @@ export declare class UserChooserComponent implements OnInit, AfterViewChecked {
|
|
|
46
42
|
get filterValue(): string;
|
|
47
43
|
get adGroupsNeeded(): boolean;
|
|
48
44
|
ngOnInit(): void;
|
|
49
|
-
ngAfterViewChecked(): void;
|
|
50
45
|
listSelectionChanged(options: MatListOption[]): void;
|
|
51
46
|
optionSelectionChanged(option: MatListOption): void;
|
|
52
47
|
hideUnselectedChanged(selected: boolean): void;
|
|
@@ -54,24 +49,9 @@ export declare class UserChooserComponent implements OnInit, AfterViewChecked {
|
|
|
54
49
|
deselectAll(): void;
|
|
55
50
|
isUser(userOrGroup: SelectableUser | SelectableGroup): boolean;
|
|
56
51
|
castUser(userOrGroup: SelectableUser | SelectableGroup): SelectableUser;
|
|
57
|
-
private getData;
|
|
58
52
|
close(): void;
|
|
59
53
|
getPhoto(user: SelectableUser | SelectableGroup): string | undefined;
|
|
60
|
-
private excludeUsersByAccountName;
|
|
61
|
-
private excludeUsersByGroupName;
|
|
62
|
-
private excludeUsersByDepartment;
|
|
63
|
-
private excludeUsersByTitle;
|
|
64
|
-
private includeUsersByAccountName;
|
|
65
|
-
private includeUsersByDepartment;
|
|
66
|
-
private includeUsersByTitle;
|
|
67
|
-
private includeUsersByGroupName;
|
|
68
|
-
private preSelectUsersByAccountName;
|
|
69
|
-
private preSelectUsersByDepartment;
|
|
70
|
-
private preSelectUsersByTitle;
|
|
71
|
-
private preSelectUsersByGroupName;
|
|
72
|
-
private setFilterPredicate;
|
|
73
|
-
private listenForFilterChanges;
|
|
74
54
|
tooltip(user: SelectableUser | SelectableGroup): string;
|
|
75
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserChooserComponent, never>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserChooserComponent, "ng-component", never, {}, {}, never, never,
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserChooserComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
77
57
|
}
|
package/active-directory/{gui → material}/components/user-form-field/user-form-field.component.d.ts
RENAMED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { User, UserOrGroup } from '@cleavelandprice/ngx-lib/active-directory';
|
|
3
3
|
import { PhotoItem } from '@cleavelandprice/ngx-lib/sharepoint';
|
|
4
4
|
import { UserChooserData } from '../../model/user-chooser-data';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class UserFormFieldComponent implements OnInit {
|
|
7
|
-
private
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
usersSelected: EventEmitter<string | string[]>;
|
|
11
|
-
userUnSelected: EventEmitter<string>;
|
|
7
|
+
#private;
|
|
8
|
+
usersSelected: import("@angular/core").OutputEmitterRef<string | string[]>;
|
|
9
|
+
userUnSelected: import("@angular/core").OutputEmitterRef<string>;
|
|
12
10
|
placeholder: import("@angular/core").InputSignal<string>;
|
|
13
11
|
clickable: import("@angular/core").InputSignal<boolean>;
|
|
14
12
|
userChooserData: import("@angular/core").InputSignal<UserChooserData>;
|
|
@@ -20,10 +18,9 @@ export declare class UserFormFieldComponent implements OnInit {
|
|
|
20
18
|
ngOnInit(): void;
|
|
21
19
|
selectUser(): void;
|
|
22
20
|
unSelectUser(accountName: string): void;
|
|
23
|
-
private getData;
|
|
24
21
|
getUser(accountName: string): User | undefined;
|
|
25
22
|
getGroup(accountName: string): UserOrGroup | undefined;
|
|
26
23
|
getPhoto(accountName: string): string | undefined;
|
|
27
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserFormFieldComponent, 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,
|
|
25
|
+
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, true, never>;
|
|
29
26
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
|
-
/// <amd-module name="@cleavelandprice/ngx-lib/active-directory/
|
|
5
|
-
export * from './
|
|
4
|
+
/// <amd-module name="@cleavelandprice/ngx-lib/active-directory/material" />
|
|
5
|
+
export * from './mat-active-directory.api';
|
|
@@ -5,4 +5,4 @@ export * from './model/user-chooser-mode';
|
|
|
5
5
|
export * from './model/user-chooser-pre-processing-group';
|
|
6
6
|
export * from './components/user-chooser/user-chooser.component';
|
|
7
7
|
export * from './components/user-form-field/user-form-field.component';
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './mat-active-directory.module';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { ActiveDirectoryServiceOptions } from '@cleavelandprice/ngx-lib/active-directory';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@angular/forms";
|
|
6
|
+
import * as i3 from "@angular/material/button";
|
|
7
|
+
import * as i4 from "@angular/material/dialog";
|
|
8
|
+
import * as i5 from "@angular/material/form-field";
|
|
9
|
+
import * as i6 from "@angular/material/icon";
|
|
10
|
+
import * as i7 from "@angular/material/input";
|
|
11
|
+
import * as i8 from "@angular/material/list";
|
|
12
|
+
import * as i9 from "@angular/material/progress-bar";
|
|
13
|
+
import * as i10 from "@angular/material/progress-spinner";
|
|
14
|
+
import * as i11 from "@angular/material/slide-toggle";
|
|
15
|
+
import * as i12 from "@angular/material/table";
|
|
16
|
+
import * as i13 from "@angular/material/tooltip";
|
|
17
|
+
import * as i14 from "./components/user-chooser/user-chooser.component";
|
|
18
|
+
import * as i15 from "./components/user-form-field/user-form-field.component";
|
|
19
|
+
export declare class MatActiveDirectoryModule {
|
|
20
|
+
static forRoot(config: ActiveDirectoryServiceOptions): ModuleWithProviders<MatActiveDirectoryModule>;
|
|
21
|
+
constructor(parentModule: MatActiveDirectoryModule);
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatActiveDirectoryModule, [{ optional: true; skipSelf: true; }]>;
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatActiveDirectoryModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.MatButtonModule, typeof i4.MatDialogModule, typeof i5.MatFormFieldModule, typeof i6.MatIconModule, typeof i7.MatInputModule, typeof i8.MatListModule, typeof i9.MatProgressBarModule, typeof i10.MatProgressSpinnerModule, typeof i11.MatSlideToggleModule, typeof i12.MatTableModule, typeof i13.MatTooltipModule, typeof i14.UserChooserComponent, typeof i15.UserFormFieldComponent], [typeof i14.UserChooserComponent, typeof i15.UserFormFieldComponent]>;
|
|
24
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatActiveDirectoryModule>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
import { CachingConfig, LoggingConfig, NgxLibServiceOptions } from "@cleavelandprice/ngx-lib";
|
|
3
|
+
export interface ActiveDirectoryServiceOptions extends NgxLibServiceOptions {
|
|
4
|
+
caching?: CachingConfig;
|
|
5
|
+
logging?: LoggingConfig;
|
|
6
|
+
}
|
|
7
|
+
export declare const ActiveDirectoryServiceOptionsToken: InjectionToken<ActiveDirectoryServiceOptions>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
+
import { NgxLibServiceBase } from '@cleavelandprice/ngx-lib';
|
|
3
|
+
import { ActiveDirectoryServiceOptions } from '../model/active-directory-service-options';
|
|
2
4
|
import { ADObject } from '../model/ad-object';
|
|
3
5
|
import { ADObjectWithChildren } from '../model/ad-object-with-children';
|
|
4
6
|
import { CleavelandPriceUser } from '../model/cleaveland-price-user';
|
|
5
7
|
import { Group } from '../model/group';
|
|
6
8
|
import { User } from '../model/user';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ActiveDirectoryService {
|
|
9
|
-
private
|
|
10
|
-
private
|
|
11
|
-
|
|
12
|
-
private defaultCacheLifeMinutes;
|
|
13
|
-
private get cacheExpired();
|
|
10
|
+
export declare class ActiveDirectoryService extends NgxLibServiceBase {
|
|
11
|
+
#private;
|
|
12
|
+
private options;
|
|
13
|
+
constructor(options: ActiveDirectoryServiceOptions);
|
|
14
14
|
getUsers(includePhoto?: boolean, includeDisabled?: boolean, parentOU?: string): Observable<CleavelandPriceUser[]>;
|
|
15
15
|
getUser(accountName: string, includePhoto?: boolean): Observable<CleavelandPriceUser>;
|
|
16
16
|
clearCache(): void;
|
|
@@ -24,6 +24,6 @@ export declare class ActiveDirectoryService {
|
|
|
24
24
|
getComputers(includeDisabled?: boolean, parentOU?: string): Observable<User[]>;
|
|
25
25
|
getServers(includeDisabled?: boolean, parentOU?: string): Observable<User[]>;
|
|
26
26
|
getWorkstations(includeDisabled?: boolean, parentOU?: string): Observable<User[]>;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActiveDirectoryService,
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActiveDirectoryService, [{ optional: true; }]>;
|
|
28
28
|
static ɵprov: i0.ɵɵInjectableDeclaration<ActiveDirectoryService>;
|
|
29
29
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from './model/abstract-authentication-service';
|
|
2
2
|
export * from './model/authenticated-user';
|
|
3
3
|
export * from './model/authentication-request';
|
|
4
|
-
export * from './model/service-
|
|
4
|
+
export * from './model/authentication-service-options';
|
|
5
5
|
export * from './authentication.base.module';
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { AuthenticationBaseServiceOptions } from './model/authentication-service-options';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
4
|
import * as i1 from "@angular/common";
|
|
3
5
|
export declare class AuthenticationBaseModule {
|
|
4
|
-
static
|
|
6
|
+
static forRoot(options: AuthenticationBaseServiceOptions): ModuleWithProviders<AuthenticationBaseModule>;
|
|
7
|
+
constructor(parentModule: AuthenticationBaseModule);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationBaseModule, [{ optional: true; skipSelf: true; }]>;
|
|
5
9
|
static ɵmod: i0.ɵɵNgModuleDeclaration<AuthenticationBaseModule, never, [typeof i1.CommonModule], never>;
|
|
6
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<AuthenticationBaseModule>;
|
|
7
11
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MatAuthenticationService } from '../../services/mat-authentication.service';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class LoginComponent {
|
|
4
|
-
private
|
|
5
|
-
|
|
4
|
+
#private;
|
|
5
|
+
services: {
|
|
6
|
+
authentication: MatAuthenticationService;
|
|
7
|
+
};
|
|
6
8
|
adminGroup: import("@angular/core").InputSignal<string | undefined>;
|
|
7
9
|
additionalInfo: import("@angular/core").InputSignal<string>;
|
|
8
10
|
login(): void;
|
|
9
11
|
confirmLogout(): void;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, 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,
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "cp-login", never, { "adminGroup": { "alias": "adminGroup"; "required": false; "isSignal": true; }; "additionalInfo": { "alias": "additionalInfo"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
14
|
}
|
package/authentication/{token/gui → material}/components/login-form/login-form.component.d.ts
RENAMED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { OnDestroy, OnInit, OutputRefSubscription } from '@angular/core';
|
|
2
2
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
-
import {
|
|
5
|
-
import { AuthenticationService } from '../../services/authentication.service';
|
|
4
|
+
import { MatAuthenticationService } from '../../services/mat-authentication.service';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class LoginFormComponent implements OnInit, OnDestroy {
|
|
8
7
|
#private;
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
services: {
|
|
9
|
+
dialogRef: MatDialogRef<any, any>;
|
|
10
|
+
authentication: MatAuthenticationService;
|
|
11
|
+
};
|
|
11
12
|
errorMessage?: string;
|
|
12
|
-
authenticatedChangedSubscription:
|
|
13
|
-
authenticationErrorSubscription:
|
|
13
|
+
authenticatedChangedSubscription: OutputRefSubscription;
|
|
14
|
+
authenticationErrorSubscription: OutputRefSubscription;
|
|
14
15
|
form: FormGroup<{
|
|
15
16
|
username: FormControl<null>;
|
|
16
17
|
password: FormControl<null>;
|
|
@@ -20,9 +21,7 @@ export declare class LoginFormComponent implements OnInit, OnDestroy {
|
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
ngOnDestroy(): void;
|
|
22
23
|
authenticate(): void;
|
|
23
|
-
private authChangedHandler;
|
|
24
|
-
private errorHandler;
|
|
25
24
|
changeTokenStorageMode(checked: boolean): void;
|
|
26
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginFormComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoginFormComponent, "ng-component", never, {}, {}, never, never,
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginFormComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
28
27
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './model/login-form-data';
|
|
2
|
+
export * from './model/mat-authentication-service-options';
|
|
3
|
+
export * from './services/mat-authentication.service';
|
|
4
|
+
export * from './components/login-form/login-form.component';
|
|
5
|
+
export * from './components/login/login.component';
|
|
6
|
+
export * from './mat-authentication.module';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { MatAuthenticationServiceOptions } from './model/mat-authentication-service-options';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@angular/forms";
|
|
6
|
+
import * as i3 from "@angular/material/button";
|
|
7
|
+
import * as i4 from "@angular/material/dialog";
|
|
8
|
+
import * as i5 from "@angular/material/form-field";
|
|
9
|
+
import * as i6 from "@angular/material/icon";
|
|
10
|
+
import * as i7 from "@angular/material/input";
|
|
11
|
+
import * as i8 from "@angular/material/progress-spinner";
|
|
12
|
+
import * as i9 from "@angular/material/slide-toggle";
|
|
13
|
+
import * as i10 from "./components/login/login.component";
|
|
14
|
+
import * as i11 from "./components/login-form/login-form.component";
|
|
15
|
+
export declare class MatAuthenticationModule {
|
|
16
|
+
static forRoot(options: MatAuthenticationServiceOptions): ModuleWithProviders<MatAuthenticationModule>;
|
|
17
|
+
constructor(parentModule: MatAuthenticationModule);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatAuthenticationModule, [{ optional: true; skipSelf: true; }]>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatAuthenticationModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.MatButtonModule, typeof i4.MatDialogModule, typeof i5.MatFormFieldModule, typeof i6.MatIconModule, typeof i7.MatInputModule, typeof i8.MatProgressSpinnerModule, typeof i9.MatSlideToggleModule, typeof i10.LoginComponent, typeof i11.LoginFormComponent], [typeof i10.LoginComponent, typeof i11.LoginFormComponent]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatAuthenticationModule>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
import { AuthenticationTokenServiceOptions } from '@cleavelandprice/ngx-lib/authentication/token';
|
|
3
|
+
export interface MatAuthenticationServiceOptions extends AuthenticationTokenServiceOptions {
|
|
4
|
+
showRememberMeOption?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const MatAuthenticationServiceOptionsToken: InjectionToken<MatAuthenticationServiceOptions>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AuthenticationTokenService } from '@cleavelandprice/ngx-lib/authentication/token';
|
|
2
|
+
import { MatAuthenticationServiceOptions } from '../model/mat-authentication-service-options';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MatAuthenticationService extends AuthenticationTokenService {
|
|
5
|
+
#private;
|
|
6
|
+
options: MatAuthenticationServiceOptions;
|
|
7
|
+
constructor(constructorOptions: MatAuthenticationServiceOptions);
|
|
8
|
+
validateUser(token: string): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatAuthenticationService, [{ optional: true; }]>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MatAuthenticationService>;
|
|
11
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OutputEmitterRef } from "@angular/core";
|
|
2
2
|
import { AuthenticatedUser } from "./authenticated-user";
|
|
3
3
|
export interface AbstractAuthenticationService {
|
|
4
|
-
authenticatedChanged:
|
|
5
|
-
authenticatingChanged:
|
|
6
|
-
authenticationError:
|
|
4
|
+
authenticatedChanged: OutputEmitterRef<boolean>;
|
|
5
|
+
authenticatingChanged: OutputEmitterRef<boolean>;
|
|
6
|
+
authenticationError: OutputEmitterRef<any>;
|
|
7
7
|
authenticating: boolean;
|
|
8
8
|
authenticated: boolean;
|
|
9
9
|
authenticatedUser?: AuthenticatedUser;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
import { NgxLibServiceOptions } from "@cleavelandprice/ngx-lib";
|
|
3
|
+
export interface AuthenticationBaseServiceOptions extends NgxLibServiceOptions {
|
|
4
|
+
appName?: string;
|
|
5
|
+
tokenName?: string;
|
|
6
|
+
authenticationEndpoint?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const AuthenticationBaseServiceOptionsToken: InjectionToken<AuthenticationBaseServiceOptions>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { AuthenticationBaseServiceOptions } from '@cleavelandprice/ngx-lib/authentication';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export declare class AuthenticationObjectModule {
|
|
6
|
+
static forRoot(options: AuthenticationBaseServiceOptions): ModuleWithProviders<AuthenticationObjectModule>;
|
|
7
|
+
constructor(parentModule: AuthenticationObjectModule);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationObjectModule, [{ optional: true; skipSelf: true; }]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AuthenticationObjectModule, never, [typeof i1.CommonModule], never>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AuthenticationObjectModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { User } from '@cleavelandprice/ngx-lib/active-directory';
|
|
2
|
+
import { AbstractAuthenticationService, AuthenticatedUser, AuthenticationBaseServiceOptions } from '@cleavelandprice/ngx-lib/authentication';
|
|
3
|
+
import { NgxLibServiceBase } from '@cleavelandprice/ngx-lib';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AuthenticationObjectService extends NgxLibServiceBase implements AbstractAuthenticationService {
|
|
6
|
+
#private;
|
|
7
|
+
private options;
|
|
8
|
+
authenticatedChanged: import("@angular/core").OutputEmitterRef<boolean>;
|
|
9
|
+
authenticatingChanged: import("@angular/core").OutputEmitterRef<boolean>;
|
|
10
|
+
authenticationError: import("@angular/core").OutputEmitterRef<void>;
|
|
11
|
+
authenticating: boolean;
|
|
12
|
+
authenticated: boolean;
|
|
13
|
+
authenticatedUser?: AuthenticatedUser;
|
|
14
|
+
get useSessionStorage(): boolean;
|
|
15
|
+
get storage(): Storage;
|
|
16
|
+
constructor(options: AuthenticationBaseServiceOptions);
|
|
17
|
+
login(username: string, password: string, adminGroup?: string, additionalInfo?: string): void;
|
|
18
|
+
logout(): void;
|
|
19
|
+
validateUser(token: User): void;
|
|
20
|
+
checkForExistingToken(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationObjectService, [{ optional: true; }]>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticationObjectService>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { AuthenticationTokenServiceOptions } from './model/authentication-token-service-options';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export declare class AuthenticationTokenModule {
|
|
6
|
+
static forRoot(options: AuthenticationTokenServiceOptions): ModuleWithProviders<AuthenticationTokenModule>;
|
|
7
|
+
constructor(parentModule: AuthenticationTokenModule);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationTokenModule, [{ optional: true; skipSelf: true; }]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AuthenticationTokenModule, never, [typeof i1.CommonModule], never>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AuthenticationTokenModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
import { AuthenticationBaseServiceOptions } from "@cleavelandprice/ngx-lib/authentication";
|
|
3
|
+
export interface AuthenticationTokenServiceOptions extends AuthenticationBaseServiceOptions {
|
|
4
|
+
deferTokenValidation?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const AuthenticationTokenServiceOptionsToken: InjectionToken<AuthenticationTokenServiceOptions>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AbstractAuthenticationService, AuthenticatedUser } from '@cleavelandprice/ngx-lib/authentication';
|
|
2
|
+
import { NgxLibServiceBase } from '@cleavelandprice/ngx-lib';
|
|
3
|
+
import { AuthenticationTokenServiceOptions } from '../model/authentication-token-service-options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AuthenticationTokenService extends NgxLibServiceBase implements AbstractAuthenticationService {
|
|
6
|
+
#private;
|
|
7
|
+
protected options: AuthenticationTokenServiceOptions;
|
|
8
|
+
authenticatedChanged: import("@angular/core").OutputEmitterRef<boolean>;
|
|
9
|
+
authenticatingChanged: import("@angular/core").OutputEmitterRef<boolean>;
|
|
10
|
+
authenticationError: import("@angular/core").OutputEmitterRef<void>;
|
|
11
|
+
authenticating: boolean;
|
|
12
|
+
authenticated: boolean;
|
|
13
|
+
authenticatedUser?: AuthenticatedUser;
|
|
14
|
+
get useSessionStorage(): boolean;
|
|
15
|
+
get storage(): Storage;
|
|
16
|
+
constructor(options: AuthenticationTokenServiceOptions);
|
|
17
|
+
login(username: string, password: string, adminGroup?: string, additionalInfo?: string): void;
|
|
18
|
+
logout(): void;
|
|
19
|
+
validateUser(token: string): void;
|
|
20
|
+
checkForExistingToken(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationTokenService, [{ optional: true; }]>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticationTokenService>;
|
|
23
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ConfirmationDialogMode } from '../../model/confirmation-dialog-mode';
|
|
3
3
|
import { DialogBaseData } from '../../model/dialog-base-data';
|
|
4
4
|
import { DialogType } from '../../model/dialog-type';
|
|
@@ -8,7 +8,7 @@ export declare class BaseComponent implements OnInit {
|
|
|
8
8
|
DialogType: typeof DialogType;
|
|
9
9
|
dialogType: import("@angular/core").InputSignal<DialogType>;
|
|
10
10
|
data: import("@angular/core").InputSignal<DialogBaseData>;
|
|
11
|
-
closed:
|
|
11
|
+
closed: import("@angular/core").OutputEmitterRef<void>;
|
|
12
12
|
ConfirmationDialogMode: typeof ConfirmationDialogMode;
|
|
13
13
|
userInput?: string;
|
|
14
14
|
checkboxValue: boolean;
|
|
@@ -19,5 +19,5 @@ export declare class BaseComponent implements OnInit {
|
|
|
19
19
|
close(): void;
|
|
20
20
|
cancel(): void;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, 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,
|
|
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, true, never>;
|
|
23
23
|
}
|
|
@@ -3,9 +3,11 @@ import { DialogChoiceData } from '../../model/dialog-choice-data';
|
|
|
3
3
|
import { DialogType } from '../../model/dialog-type';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ChoiceComponent {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
services: {
|
|
7
|
+
data: DialogChoiceData;
|
|
8
|
+
dialogRef: MatDialogRef<any, any>;
|
|
9
|
+
};
|
|
8
10
|
dialogType: DialogType;
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChoiceComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChoiceComponent, "cp-dialog-choice", never, {}, {}, never, never,
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChoiceComponent, "cp-dialog-choice", never, {}, {}, never, never, true, never>;
|
|
11
13
|
}
|
|
@@ -3,9 +3,11 @@ import { DialogBaseData } from '../../model/dialog-base-data';
|
|
|
3
3
|
import { DialogType } from '../../model/dialog-type';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ConfirmationComponent {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
services: {
|
|
7
|
+
data: DialogBaseData;
|
|
8
|
+
dialogRef: MatDialogRef<any, any>;
|
|
9
|
+
};
|
|
8
10
|
dialogType: DialogType;
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationComponent, "cp-dialog-confirmation", never, {}, {}, never, never,
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationComponent, "cp-dialog-confirmation", never, {}, {}, never, never, true, never>;
|
|
11
13
|
}
|
|
@@ -3,9 +3,11 @@ import { DialogBaseData } from '../../model/dialog-base-data';
|
|
|
3
3
|
import { DialogType } from '../../model/dialog-type';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class InputComponent {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
services: {
|
|
7
|
+
data: DialogBaseData;
|
|
8
|
+
dialogRef: MatDialogRef<any, any>;
|
|
9
|
+
};
|
|
8
10
|
dialogType: DialogType;
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "cp-dialog-input", never, {}, {}, never, never,
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "cp-dialog-input", never, {}, {}, never, never, true, never>;
|
|
11
13
|
}
|
|
@@ -3,9 +3,11 @@ import { DialogBaseData } from '../../model/dialog-base-data';
|
|
|
3
3
|
import { DialogType } from '../../model/dialog-type';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class MessageComponent {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
services: {
|
|
7
|
+
data: DialogBaseData;
|
|
8
|
+
dialogRef: MatDialogRef<any, any>;
|
|
9
|
+
};
|
|
8
10
|
dialogType: DialogType;
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "cp-dialog-message", never, {}, {}, never, never,
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "cp-dialog-message", never, {}, {}, never, never, true, never>;
|
|
11
13
|
}
|