@cleavelandprice/ngx-lib 4.4.13 → 4.4.15
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/index.d.ts +120 -5
- package/active-directory/material/index.d.ts +161 -5
- package/authentication/index.d.ts +57 -5
- package/authentication/material/index.d.ts +81 -5
- package/authentication/object/index.d.ts +37 -5
- package/authentication/token/index.d.ts +60 -5
- package/dialog/index.d.ts +106 -5
- package/fesm2022/cleavelandprice-ngx-lib-active-directory-material.mjs +17 -17
- package/fesm2022/cleavelandprice-ngx-lib-active-directory-material.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-active-directory.mjs +8 -8
- package/fesm2022/cleavelandprice-ngx-lib-active-directory.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-authentication-material.mjs +18 -18
- package/fesm2022/cleavelandprice-ngx-lib-authentication-material.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-authentication-object.mjs +8 -8
- package/fesm2022/cleavelandprice-ngx-lib-authentication-object.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-authentication-token.mjs +8 -8
- package/fesm2022/cleavelandprice-ngx-lib-authentication-token.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-authentication.mjs +5 -5
- package/fesm2022/cleavelandprice-ngx-lib-authentication.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-dialog.mjs +27 -27
- package/fesm2022/cleavelandprice-ngx-lib-dialog.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-msgraph.mjs +5 -5
- package/fesm2022/cleavelandprice-ngx-lib-msgraph.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-quill-mention.mjs +12 -12
- package/fesm2022/cleavelandprice-ngx-lib-quill-mention.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-quill.mjs +32 -32
- package/fesm2022/cleavelandprice-ngx-lib-quill.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-sharepoint.mjs +18 -18
- package/fesm2022/cleavelandprice-ngx-lib-sharepoint.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-table.mjs +54 -29
- package/fesm2022/cleavelandprice-ngx-lib-table.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-upload.mjs +15 -15
- package/fesm2022/cleavelandprice-ngx-lib-upload.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib-url-utilities.mjs +13 -13
- package/fesm2022/cleavelandprice-ngx-lib-url-utilities.mjs.map +1 -1
- package/fesm2022/cleavelandprice-ngx-lib.mjs +8 -8
- package/fesm2022/cleavelandprice-ngx-lib.mjs.map +1 -1
- package/index.d.ts +91 -5
- package/msgraph/index.d.ts +211 -5
- package/package.json +3 -33
- package/quill/index.d.ts +200 -5
- package/quill/mention/index.d.ts +33 -5
- package/sharepoint/index.d.ts +138 -5
- package/table/index.d.ts +146 -5
- package/upload/index.d.ts +135 -5
- package/url-utilities/index.d.ts +35 -5
- package/active-directory/active-directory.api.d.ts +0 -10
- package/active-directory/active-directory.module.d.ts +0 -11
- package/active-directory/material/components/user-chooser/user-chooser.component.d.ts +0 -58
- package/active-directory/material/components/user-form-field/user-form-field.component.d.ts +0 -27
- package/active-directory/material/mat-active-directory.api.d.ts +0 -10
- package/active-directory/material/mat-active-directory.module.d.ts +0 -25
- package/active-directory/material/model/default-user-chooser-data.d.ts +0 -2
- package/active-directory/material/model/default-user-chooser-filter-options.d.ts +0 -2
- package/active-directory/material/model/selectable-group.d.ts +0 -4
- package/active-directory/material/model/selectable-user.d.ts +0 -5
- package/active-directory/material/model/user-chooser-data.d.ts +0 -25
- package/active-directory/material/model/user-chooser-filter-options.d.ts +0 -7
- package/active-directory/material/model/user-chooser-mode.d.ts +0 -4
- package/active-directory/material/model/user-chooser-pre-processing-group.d.ts +0 -6
- package/active-directory/model/active-directory-service-options-token.d.ts +0 -3
- package/active-directory/model/active-directory-service-options.d.ts +0 -5
- package/active-directory/model/ad-object-with-children.d.ts +0 -4
- package/active-directory/model/ad-object.d.ts +0 -13
- package/active-directory/model/cache-object.d.ts +0 -5
- package/active-directory/model/cleaveland-price-user.d.ts +0 -19
- package/active-directory/model/group.d.ts +0 -7
- package/active-directory/model/user-or-group.d.ts +0 -7
- package/active-directory/model/user.d.ts +0 -23
- package/active-directory/services/active-directory.service.d.ts +0 -31
- package/authentication/authentication.api.d.ts +0 -6
- package/authentication/authentication.base.module.d.ts +0 -11
- package/authentication/material/components/login/login.component.d.ts +0 -14
- package/authentication/material/components/login-form/login-form.component.d.ts +0 -27
- package/authentication/material/mat-authentication.api.d.ts +0 -7
- package/authentication/material/mat-authentication.module.d.ts +0 -21
- package/authentication/material/model/login-form-data.d.ts +0 -4
- package/authentication/material/model/mat-authentication-service-options-token.d.ts +0 -3
- package/authentication/material/model/mat-authentication-service-options.d.ts +0 -4
- package/authentication/material/services/mat-authentication.service.d.ts +0 -11
- package/authentication/model/abstract-authentication-service.d.ts +0 -16
- package/authentication/model/authenticated-user.d.ts +0 -9
- package/authentication/model/authentication-request.d.ts +0 -8
- package/authentication/model/authentication-service-options-token.d.ts +0 -3
- package/authentication/model/authentication-service-options.d.ts +0 -6
- package/authentication/object/authentication-object.api.d.ts +0 -3
- package/authentication/object/authentication-object.module.d.ts +0 -11
- package/authentication/object/services/authentication-object.service.d.ts +0 -24
- package/authentication/token/authentication-token.api.d.ts +0 -5
- package/authentication/token/authetiction-token.module.d.ts +0 -11
- package/authentication/token/model/authentication-token-service-options-token.d.ts +0 -3
- package/authentication/token/model/authentication-token-service-options.d.ts +0 -4
- package/authentication/token/model/authentication-token.d.ts +0 -17
- package/authentication/token/services/authentication-token.service.d.ts +0 -24
- package/dialog/components/base/base.component.d.ts +0 -23
- package/dialog/components/choice/choice.component.d.ts +0 -13
- package/dialog/components/confirmation/confirmation.component.d.ts +0 -13
- package/dialog/components/input/input.component.d.ts +0 -13
- package/dialog/components/message/message.component.d.ts +0 -13
- package/dialog/dialog.api.d.ts +0 -9
- package/dialog/dialog.module.d.ts +0 -18
- package/dialog/model/confirmation-dialog-mode.d.ts +0 -6
- package/dialog/model/dialog-base-data.d.ts +0 -10
- package/dialog/model/dialog-choice-data.d.ts +0 -4
- package/dialog/model/dialog-type.d.ts +0 -6
- package/esm2022/active-directory/active-directory.api.mjs +0 -11
- package/esm2022/active-directory/active-directory.module.mjs +0 -40
- package/esm2022/active-directory/cleavelandprice-ngx-lib-active-directory.mjs +0 -5
- package/esm2022/active-directory/material/cleavelandprice-ngx-lib-active-directory-material.mjs +0 -5
- package/esm2022/active-directory/material/components/user-chooser/user-chooser.component.mjs +0 -437
- package/esm2022/active-directory/material/components/user-form-field/user-form-field.component.mjs +0 -159
- package/esm2022/active-directory/material/mat-active-directory.api.mjs +0 -11
- package/esm2022/active-directory/material/mat-active-directory.module.mjs +0 -100
- package/esm2022/active-directory/material/model/default-user-chooser-data.mjs +0 -15
- package/esm2022/active-directory/material/model/default-user-chooser-filter-options.mjs +0 -8
- package/esm2022/active-directory/material/model/selectable-group.mjs +0 -2
- package/esm2022/active-directory/material/model/selectable-user.mjs +0 -2
- package/esm2022/active-directory/material/model/user-chooser-data.mjs +0 -2
- package/esm2022/active-directory/material/model/user-chooser-filter-options.mjs +0 -3
- package/esm2022/active-directory/material/model/user-chooser-mode.mjs +0 -6
- package/esm2022/active-directory/material/model/user-chooser-pre-processing-group.mjs +0 -3
- package/esm2022/active-directory/model/active-directory-service-options-token.mjs +0 -3
- package/esm2022/active-directory/model/active-directory-service-options.mjs +0 -2
- package/esm2022/active-directory/model/ad-object-with-children.mjs +0 -2
- package/esm2022/active-directory/model/ad-object.mjs +0 -2
- package/esm2022/active-directory/model/cache-object.mjs +0 -3
- package/esm2022/active-directory/model/cleaveland-price-user.mjs +0 -2
- package/esm2022/active-directory/model/group.mjs +0 -2
- package/esm2022/active-directory/model/user-or-group.mjs +0 -2
- package/esm2022/active-directory/model/user.mjs +0 -2
- package/esm2022/active-directory/services/active-directory.service.mjs +0 -131
- package/esm2022/authentication/authentication.api.mjs +0 -7
- package/esm2022/authentication/authentication.base.module.mjs +0 -40
- package/esm2022/authentication/cleavelandprice-ngx-lib-authentication.mjs +0 -5
- package/esm2022/authentication/material/cleavelandprice-ngx-lib-authentication-material.mjs +0 -5
- package/esm2022/authentication/material/components/login/login.component.mjs +0 -49
- package/esm2022/authentication/material/components/login-form/login-form.component.mjs +0 -82
- package/esm2022/authentication/material/mat-authentication.api.mjs +0 -8
- package/esm2022/authentication/material/mat-authentication.module.mjs +0 -84
- package/esm2022/authentication/material/model/login-form-data.mjs +0 -2
- package/esm2022/authentication/material/model/mat-authentication-service-options-token.mjs +0 -3
- package/esm2022/authentication/material/model/mat-authentication-service-options.mjs +0 -2
- package/esm2022/authentication/material/services/mat-authentication.service.mjs +0 -67
- package/esm2022/authentication/model/abstract-authentication-service.mjs +0 -2
- package/esm2022/authentication/model/authenticated-user.mjs +0 -2
- package/esm2022/authentication/model/authentication-request.mjs +0 -2
- package/esm2022/authentication/model/authentication-service-options-token.mjs +0 -3
- package/esm2022/authentication/model/authentication-service-options.mjs +0 -2
- package/esm2022/authentication/object/authentication-object.api.mjs +0 -6
- package/esm2022/authentication/object/authentication-object.module.mjs +0 -40
- package/esm2022/authentication/object/cleavelandprice-ngx-lib-authentication-object.mjs +0 -5
- package/esm2022/authentication/object/services/authentication-object.service.mjs +0 -129
- package/esm2022/authentication/token/authentication-token.api.mjs +0 -6
- package/esm2022/authentication/token/authetiction-token.module.mjs +0 -40
- package/esm2022/authentication/token/cleavelandprice-ngx-lib-authentication-token.mjs +0 -5
- package/esm2022/authentication/token/model/authentication-token-service-options-token.mjs +0 -3
- package/esm2022/authentication/token/model/authentication-token-service-options.mjs +0 -2
- package/esm2022/authentication/token/model/authentication-token.mjs +0 -2
- package/esm2022/authentication/token/services/authentication-token.service.mjs +0 -138
- package/esm2022/cleavelandprice-ngx-lib.mjs +0 -5
- package/esm2022/dialog/cleavelandprice-ngx-lib-dialog.mjs +0 -5
- package/esm2022/dialog/components/base/base.component.mjs +0 -102
- package/esm2022/dialog/components/choice/choice.component.mjs +0 -21
- package/esm2022/dialog/components/confirmation/confirmation.component.mjs +0 -21
- package/esm2022/dialog/components/input/input.component.mjs +0 -21
- package/esm2022/dialog/components/message/message.component.mjs +0 -21
- package/esm2022/dialog/dialog.api.mjs +0 -20
- package/esm2022/dialog/dialog.module.mjs +0 -73
- package/esm2022/dialog/model/confirmation-dialog-mode.mjs +0 -8
- package/esm2022/dialog/model/dialog-base-data.mjs +0 -2
- package/esm2022/dialog/model/dialog-choice-data.mjs +0 -2
- package/esm2022/dialog/model/dialog-type.mjs +0 -8
- package/esm2022/lib/model/app-path-config.mjs +0 -2
- package/esm2022/lib/model/app-type.mjs +0 -2
- package/esm2022/lib/model/app.mjs +0 -2
- package/esm2022/lib/model/caching-config.mjs +0 -2
- package/esm2022/lib/model/credentials.mjs +0 -2
- package/esm2022/lib/model/logging-config.mjs +0 -2
- package/esm2022/lib/model/service-options-token.mjs +0 -3
- package/esm2022/lib/model/service-options.mjs +0 -2
- package/esm2022/lib/ngx-lib.module.mjs +0 -37
- package/esm2022/lib/services/app-path-config.service.mjs +0 -50
- package/esm2022/lib/services/service-base.mjs +0 -26
- package/esm2022/msgraph/cleavelandprice-ngx-lib-msgraph.mjs +0 -5
- package/esm2022/msgraph/model/address.mjs +0 -2
- package/esm2022/msgraph/model/attendee.mjs +0 -2
- package/esm2022/msgraph/model/bulk-calendar-events.mjs +0 -2
- package/esm2022/msgraph/model/bulk-calendar-request.mjs +0 -2
- package/esm2022/msgraph/model/calendar-event.mjs +0 -2
- package/esm2022/msgraph/model/coordinates.mjs +0 -2
- package/esm2022/msgraph/model/email-address.mjs +0 -2
- package/esm2022/msgraph/model/location.mjs +0 -2
- package/esm2022/msgraph/model/online-meeting-info.mjs +0 -2
- package/esm2022/msgraph/model/patterned-recurrence.mjs +0 -2
- package/esm2022/msgraph/model/phone.mjs +0 -2
- package/esm2022/msgraph/model/recipient.mjs +0 -2
- package/esm2022/msgraph/model/recurrence-pattern.mjs +0 -2
- package/esm2022/msgraph/model/recurrence-range.mjs +0 -2
- package/esm2022/msgraph/model/response-status.mjs +0 -2
- package/esm2022/msgraph/model/room.mjs +0 -6
- package/esm2022/msgraph/model/user.mjs +0 -132
- package/esm2022/msgraph/msgraph.api.mjs +0 -19
- package/esm2022/msgraph/msgraph.module.mjs +0 -27
- package/esm2022/public_api.mjs +0 -15
- package/esm2022/quill/cleavelandprice-ngx-lib-quill.mjs +0 -5
- package/esm2022/quill/components/editor/editor.component.mjs +0 -282
- package/esm2022/quill/components/raw/raw.component.mjs +0 -30
- package/esm2022/quill/mention/cleavelandprice-ngx-lib-quill-mention.mjs +0 -5
- package/esm2022/quill/mention/components/editor/editor.component.mjs +0 -151
- package/esm2022/quill/mention/model/dialog-data.mjs +0 -2
- package/esm2022/quill/mention/quill-mention.api.mjs +0 -9
- package/esm2022/quill/mention/quill-mention.module.mjs +0 -65
- package/esm2022/quill/model/buttons.mjs +0 -3
- package/esm2022/quill/model/config.mjs +0 -3
- package/esm2022/quill/model/default-buttons.mjs +0 -50
- package/esm2022/quill/model/default-config.mjs +0 -28
- package/esm2022/quill/model/default-icons.mjs +0 -7
- package/esm2022/quill/model/default-tooltips.mjs +0 -53
- package/esm2022/quill/model/dialog-data.mjs +0 -2
- package/esm2022/quill/model/icons.mjs +0 -3
- package/esm2022/quill/model/tooltips.mjs +0 -3
- package/esm2022/quill/quill.api.mjs +0 -13
- package/esm2022/quill/quill.module.mjs +0 -75
- package/esm2022/sharepoint/cleavelandprice-ngx-lib-sharepoint.mjs +0 -5
- package/esm2022/sharepoint/components/user-photo/user-photo.component.mjs +0 -40
- package/esm2022/sharepoint/default-credentials.mjs +0 -6
- package/esm2022/sharepoint/model/base-item.mjs +0 -2
- package/esm2022/sharepoint/model/base-request-credential.mjs +0 -2
- package/esm2022/sharepoint/model/base-request.mjs +0 -2
- package/esm2022/sharepoint/model/cache-object.mjs +0 -3
- package/esm2022/sharepoint/model/file-request.mjs +0 -2
- package/esm2022/sharepoint/model/folder-request.mjs +0 -2
- package/esm2022/sharepoint/model/list-item.mjs +0 -2
- package/esm2022/sharepoint/model/list-items-request.mjs +0 -2
- package/esm2022/sharepoint/model/photo-item.mjs +0 -2
- package/esm2022/sharepoint/model/sharepoint-service-options.mjs +0 -3
- package/esm2022/sharepoint/model/uri-request.mjs +0 -2
- package/esm2022/sharepoint/model/user-request.mjs +0 -2
- package/esm2022/sharepoint/model/user.mjs +0 -2
- package/esm2022/sharepoint/pipes/user-photo-url.pipe.mjs +0 -37
- package/esm2022/sharepoint/services/sharepoint.service.mjs +0 -155
- package/esm2022/sharepoint/sharepoint.api.mjs +0 -17
- package/esm2022/sharepoint/sharepoint.module.mjs +0 -50
- package/esm2022/table/cleavelandprice-ngx-lib-table.mjs +0 -5
- package/esm2022/table/components/table/table.component.mjs +0 -141
- package/esm2022/table/model/table-column.mjs +0 -2
- package/esm2022/table/pipes/decimalPoints.mjs +0 -14
- package/esm2022/table/pipes/roundNumber.mjs +0 -14
- package/esm2022/table/table.api.mjs +0 -6
- package/esm2022/table/table.module.mjs +0 -78
- package/esm2022/upload/cleavelandprice-ngx-lib-upload.mjs +0 -5
- package/esm2022/upload/components/upload/upload.component.mjs +0 -32
- package/esm2022/upload/components/upload-dialog/upload-dialog.component.mjs +0 -98
- package/esm2022/upload/model/database-file-info.mjs +0 -2
- package/esm2022/upload/model/file-upload-request.mjs +0 -2
- package/esm2022/upload/model/filesystem-file-info.mjs +0 -2
- package/esm2022/upload/model/msg-file-content.mjs +0 -5
- package/esm2022/upload/model/upload-service-options-token.mjs +0 -3
- package/esm2022/upload/model/upload-service-options.mjs +0 -3
- package/esm2022/upload/model/upload-status.mjs +0 -2
- package/esm2022/upload/services/upload.service.mjs +0 -106
- package/esm2022/upload/upload.api.mjs +0 -11
- package/esm2022/upload/upload.module.mjs +0 -68
- package/esm2022/url-utilities/cleavelandprice-ngx-lib-url-utilities.mjs +0 -5
- package/esm2022/url-utilities/pipes/safe-resource-url.pipe.mjs +0 -19
- package/esm2022/url-utilities/pipes/safe-url.pipe.mjs +0 -19
- package/esm2022/url-utilities/pipes/uri-scheme.pipe.mjs +0 -106
- package/esm2022/url-utilities/url-utilities.api.mjs +0 -13
- package/esm2022/url-utilities/url-utilities.module.mjs +0 -34
- package/lib/model/app-path-config.d.ts +0 -10
- package/lib/model/app-type.d.ts +0 -5
- package/lib/model/app.d.ts +0 -16
- package/lib/model/caching-config.d.ts +0 -4
- package/lib/model/credentials.d.ts +0 -4
- package/lib/model/logging-config.d.ts +0 -6
- package/lib/model/service-options-token.d.ts +0 -3
- package/lib/model/service-options.d.ts +0 -4
- package/lib/ngx-lib.module.d.ts +0 -10
- package/lib/services/app-path-config.service.d.ts +0 -18
- package/lib/services/service-base.d.ts +0 -7
- package/msgraph/model/address.d.ts +0 -7
- package/msgraph/model/attendee.d.ts +0 -13
- package/msgraph/model/bulk-calendar-events.d.ts +0 -5
- package/msgraph/model/bulk-calendar-request.d.ts +0 -3
- package/msgraph/model/calendar-event.d.ts +0 -53
- package/msgraph/model/coordinates.d.ts +0 -7
- package/msgraph/model/email-address.d.ts +0 -4
- package/msgraph/model/location.d.ts +0 -12
- package/msgraph/model/online-meeting-info.d.ts +0 -9
- package/msgraph/model/patterned-recurrence.d.ts +0 -6
- package/msgraph/model/phone.d.ts +0 -4
- package/msgraph/model/recipient.d.ts +0 -4
- package/msgraph/model/recurrence-pattern.d.ts +0 -9
- package/msgraph/model/recurrence-range.d.ts +0 -7
- package/msgraph/model/response-status.d.ts +0 -4
- package/msgraph/model/room.d.ts +0 -22
- package/msgraph/model/user.d.ts +0 -29
- package/msgraph/msgraph.api.d.ts +0 -18
- package/msgraph/msgraph.module.d.ts +0 -8
- package/public_api.d.ts +0 -11
- package/quill/components/editor/editor.component.d.ts +0 -55
- package/quill/components/raw/raw.component.d.ts +0 -6
- package/quill/mention/components/editor/editor.component.d.ts +0 -15
- package/quill/mention/model/dialog-data.d.ts +0 -5
- package/quill/mention/quill-mention.api.d.ts +0 -3
- package/quill/mention/quill-mention.module.d.ts +0 -17
- package/quill/model/buttons.d.ts +0 -29
- package/quill/model/config.d.ts +0 -23
- package/quill/model/default-buttons.d.ts +0 -2
- package/quill/model/default-config.d.ts +0 -2
- package/quill/model/default-icons.d.ts +0 -2
- package/quill/model/default-tooltips.d.ts +0 -2
- package/quill/model/dialog-data.d.ts +0 -21
- package/quill/model/icons.d.ts +0 -6
- package/quill/model/tooltips.d.ts +0 -32
- package/quill/quill.api.d.ts +0 -12
- package/quill/quill.module.d.ts +0 -18
- package/sharepoint/components/user-photo/user-photo.component.d.ts +0 -15
- package/sharepoint/default-credentials.d.ts +0 -4
- package/sharepoint/model/base-item.d.ts +0 -4
- package/sharepoint/model/base-request-credential.d.ts +0 -4
- package/sharepoint/model/base-request.d.ts +0 -8
- package/sharepoint/model/cache-object.d.ts +0 -5
- package/sharepoint/model/file-request.d.ts +0 -4
- package/sharepoint/model/folder-request.d.ts +0 -4
- package/sharepoint/model/list-item.d.ts +0 -10
- package/sharepoint/model/list-items-request.d.ts +0 -5
- package/sharepoint/model/photo-item.d.ts +0 -11
- package/sharepoint/model/sharepoint-service-options.d.ts +0 -19
- package/sharepoint/model/uri-request.d.ts +0 -4
- package/sharepoint/model/user-request.d.ts +0 -4
- package/sharepoint/model/user.d.ts +0 -12
- package/sharepoint/pipes/user-photo-url.pipe.d.ts +0 -10
- package/sharepoint/services/sharepoint.service.d.ts +0 -20
- package/sharepoint/sharepoint.api.d.ts +0 -16
- package/sharepoint/sharepoint.module.d.ts +0 -13
- package/table/components/table/table.component.d.ts +0 -42
- package/table/model/table-column.d.ts +0 -70
- package/table/pipes/decimalPoints.d.ts +0 -7
- package/table/pipes/roundNumber.d.ts +0 -7
- package/table/table.api.d.ts +0 -5
- package/table/table.module.d.ts +0 -20
- package/upload/components/upload/upload.component.d.ts +0 -10
- package/upload/components/upload-dialog/upload-dialog.component.d.ts +0 -25
- package/upload/model/database-file-info.d.ts +0 -7
- package/upload/model/file-upload-request.d.ts +0 -6
- package/upload/model/filesystem-file-info.d.ts +0 -12
- package/upload/model/msg-file-content.d.ts +0 -21
- package/upload/model/upload-service-options-token.d.ts +0 -3
- package/upload/model/upload-service-options.d.ts +0 -14
- package/upload/model/upload-status.d.ts +0 -6
- package/upload/services/upload.service.d.ts +0 -21
- package/upload/upload.api.d.ts +0 -10
- package/upload/upload.module.d.ts +0 -17
- package/url-utilities/pipes/safe-resource-url.pipe.d.ts +0 -9
- package/url-utilities/pipes/safe-url.pipe.d.ts +0 -9
- package/url-utilities/pipes/uri-scheme.pipe.d.ts +0 -8
- package/url-utilities/url-utilities.api.d.ts +0 -8
- package/url-utilities/url-utilities.module.d.ts +0 -10
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,5 +1,120 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { NgxLibServiceOptions, CachingConfig, LoggingConfig, NgxLibServiceBase } from '@cleavelandprice/ngx-lib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { InjectionToken, ModuleWithProviders } from '@angular/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
|
|
7
|
+
interface ActiveDirectoryServiceOptions extends NgxLibServiceOptions {
|
|
8
|
+
caching?: CachingConfig;
|
|
9
|
+
logging?: LoggingConfig;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare const ActiveDirectoryServiceOptionsToken: InjectionToken<ActiveDirectoryServiceOptions>;
|
|
13
|
+
|
|
14
|
+
interface ADObject {
|
|
15
|
+
canonicalName: string;
|
|
16
|
+
cn: string;
|
|
17
|
+
description: string;
|
|
18
|
+
displayName?: string;
|
|
19
|
+
distinguishedName: string;
|
|
20
|
+
name: string;
|
|
21
|
+
objectCategory: string;
|
|
22
|
+
objectClass: string[];
|
|
23
|
+
objectGUID: string;
|
|
24
|
+
whenChanged: string;
|
|
25
|
+
whenCreated: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface ADObjectWithChildren extends ADObject {
|
|
29
|
+
children: ADObjectWithChildren[];
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
interface UserOrGroup extends ADObject {
|
|
33
|
+
mail: string;
|
|
34
|
+
memberOf: string[];
|
|
35
|
+
objectSid: string;
|
|
36
|
+
sAMAccountName: string;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
interface User extends UserOrGroup {
|
|
40
|
+
birthDate: string;
|
|
41
|
+
department: string;
|
|
42
|
+
employeeNumber: string;
|
|
43
|
+
facsimileTelephoneNumber: string;
|
|
44
|
+
givenName: string;
|
|
45
|
+
initials: string;
|
|
46
|
+
l: string;
|
|
47
|
+
lastBadPasswordAttempt: string;
|
|
48
|
+
lastLogonDate: string;
|
|
49
|
+
manager: string;
|
|
50
|
+
mobile: string;
|
|
51
|
+
scriptPath: string;
|
|
52
|
+
sn: string;
|
|
53
|
+
st: string;
|
|
54
|
+
telephoneNumber: string;
|
|
55
|
+
title: string;
|
|
56
|
+
thumbnailPhoto: number[];
|
|
57
|
+
userAccountControl: number;
|
|
58
|
+
userPrincipalName: string;
|
|
59
|
+
enabled: boolean;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
interface CleavelandPriceUser extends User {
|
|
63
|
+
city: string;
|
|
64
|
+
extensionAttribute1: string;
|
|
65
|
+
extensionAttribute2: string;
|
|
66
|
+
extensionAttribute3: string;
|
|
67
|
+
extensionAttribute4: string;
|
|
68
|
+
extensionAttribute5: string;
|
|
69
|
+
extensionAttribute6: string;
|
|
70
|
+
firstName: string;
|
|
71
|
+
hireDate: string;
|
|
72
|
+
lastName: string;
|
|
73
|
+
managementRole: string;
|
|
74
|
+
marketTitle: string;
|
|
75
|
+
mobileInEmailSignature: boolean;
|
|
76
|
+
state: string;
|
|
77
|
+
title2: string;
|
|
78
|
+
workShift: string;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
interface Group extends UserOrGroup {
|
|
82
|
+
member: string[];
|
|
83
|
+
groupType: number;
|
|
84
|
+
scope: string;
|
|
85
|
+
type: string;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
declare class ActiveDirectoryService extends NgxLibServiceBase {
|
|
89
|
+
#private;
|
|
90
|
+
private options;
|
|
91
|
+
constructor(options: ActiveDirectoryServiceOptions);
|
|
92
|
+
getUsers(includePhoto?: boolean, includeDisabled?: boolean, parentOU?: string): Observable<CleavelandPriceUser[]>;
|
|
93
|
+
getUser(accountName: string, includePhoto?: boolean): Observable<CleavelandPriceUser>;
|
|
94
|
+
clearCache(): void;
|
|
95
|
+
getDomains(): Observable<ADObject[]>;
|
|
96
|
+
getOUs(parentOU?: string): Observable<ADObjectWithChildren[]>;
|
|
97
|
+
getContainers(parentOU?: string): Observable<ADObjectWithChildren[]>;
|
|
98
|
+
getGroups(parentOU?: string): Observable<Group[]>;
|
|
99
|
+
getDistinctUserAttributeValues(attributeName: string): Observable<any[]>;
|
|
100
|
+
getDepartments(): Observable<string[]>;
|
|
101
|
+
getTitles(): Observable<string[]>;
|
|
102
|
+
getWorkShifts(): Observable<string[]>;
|
|
103
|
+
getManagementRoles(): Observable<string[]>;
|
|
104
|
+
getComputers(includeDisabled?: boolean, parentOU?: string): Observable<User[]>;
|
|
105
|
+
getServers(includeDisabled?: boolean, parentOU?: string): Observable<User[]>;
|
|
106
|
+
getWorkstations(includeDisabled?: boolean, parentOU?: string): Observable<User[]>;
|
|
107
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActiveDirectoryService, [{ optional: true; }]>;
|
|
108
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ActiveDirectoryService>;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
declare class ActiveDirectoryModule {
|
|
112
|
+
static forRoot(config: ActiveDirectoryServiceOptions): ModuleWithProviders<ActiveDirectoryModule>;
|
|
113
|
+
constructor(parentModule: ActiveDirectoryModule);
|
|
114
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActiveDirectoryModule, [{ optional: true; skipSelf: true; }]>;
|
|
115
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ActiveDirectoryModule, never, [typeof i1.CommonModule], never>;
|
|
116
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ActiveDirectoryModule>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export { ActiveDirectoryModule, ActiveDirectoryService, ActiveDirectoryServiceOptionsToken };
|
|
120
|
+
export type { ADObject, ADObjectWithChildren, ActiveDirectoryServiceOptions, CleavelandPriceUser, Group, User, UserOrGroup };
|
|
@@ -1,5 +1,161 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _cleavelandprice_ngx_lib_active_directory from '@cleavelandprice/ngx-lib/active-directory';
|
|
2
|
+
import { User, Group, UserOrGroup, ActiveDirectoryServiceOptions } from '@cleavelandprice/ngx-lib/active-directory';
|
|
3
|
+
export * from '@cleavelandprice/ngx-lib/active-directory';
|
|
4
|
+
import { PhotoItem } from '@cleavelandprice/ngx-lib/sharepoint';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { OnInit, ElementRef, ModuleWithProviders } from '@angular/core';
|
|
7
|
+
import * as _cleavelandprice_ngx_lib_active_directory_material from '@cleavelandprice/ngx-lib/active-directory/material';
|
|
8
|
+
import * as i2 from '@angular/forms';
|
|
9
|
+
import { FormGroup, FormControl } from '@angular/forms';
|
|
10
|
+
import * as i8 from '@angular/material/list';
|
|
11
|
+
import { MatSelectionList, MatListOption } from '@angular/material/list';
|
|
12
|
+
import * as i12 from '@angular/material/table';
|
|
13
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
14
|
+
import * as i1 from '@angular/common';
|
|
15
|
+
import * as i3 from '@angular/material/button';
|
|
16
|
+
import * as i4 from '@angular/material/dialog';
|
|
17
|
+
import * as i5 from '@angular/material/form-field';
|
|
18
|
+
import * as i6 from '@angular/material/icon';
|
|
19
|
+
import * as i7 from '@angular/material/input';
|
|
20
|
+
import * as i9 from '@angular/material/progress-bar';
|
|
21
|
+
import * as i10 from '@angular/material/progress-spinner';
|
|
22
|
+
import * as i11 from '@angular/material/slide-toggle';
|
|
23
|
+
import * as i13 from '@angular/material/tooltip';
|
|
24
|
+
|
|
25
|
+
interface UserChooserFilterOptions {
|
|
26
|
+
accountName?: boolean;
|
|
27
|
+
department?: boolean;
|
|
28
|
+
groupMembership?: boolean;
|
|
29
|
+
phoneNumber?: boolean;
|
|
30
|
+
title?: boolean;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare enum UserChooserMode {
|
|
34
|
+
Single = 0,
|
|
35
|
+
Multiple = 1
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface UserChooserPreProcessingGroup {
|
|
39
|
+
accountNames?: string[];
|
|
40
|
+
departments?: string[];
|
|
41
|
+
groups?: string[];
|
|
42
|
+
titles?: string[];
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
interface UserChooserData {
|
|
46
|
+
closeWhenSelectionMade?: boolean;
|
|
47
|
+
allowCloseWithoutSelections?: boolean;
|
|
48
|
+
includeDisabledUsers?: boolean;
|
|
49
|
+
parentOu?: string;
|
|
50
|
+
returnUserObjects?: boolean;
|
|
51
|
+
showGroupMembershipTooltips?: boolean;
|
|
52
|
+
showPhone?: boolean;
|
|
53
|
+
title?: string;
|
|
54
|
+
mode?: UserChooserMode;
|
|
55
|
+
objectTypes?: 'users' | 'groups' | '*';
|
|
56
|
+
filterOptions?: UserChooserFilterOptions;
|
|
57
|
+
exclusions?: UserChooserPreProcessingGroup;
|
|
58
|
+
inclusions?: UserChooserPreProcessingGroup;
|
|
59
|
+
preSelections?: UserChooserPreProcessingGroup;
|
|
60
|
+
users?: User[];
|
|
61
|
+
groups?: Group[];
|
|
62
|
+
photos?: PhotoItem[];
|
|
63
|
+
selectableGroupNames?: string[];
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare const DefaultUserChooserData: UserChooserData;
|
|
67
|
+
|
|
68
|
+
declare const DefaultUserChooserFilterOptions: UserChooserFilterOptions;
|
|
69
|
+
|
|
70
|
+
interface SelectableGroup extends Group {
|
|
71
|
+
selected: boolean;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
interface SelectableUser extends User {
|
|
75
|
+
selected: boolean;
|
|
76
|
+
photoUrl: string;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
declare class UserChooserComponent implements OnInit {
|
|
80
|
+
#private;
|
|
81
|
+
_data: {
|
|
82
|
+
closeWhenSelectionMade?: boolean;
|
|
83
|
+
allowCloseWithoutSelections?: boolean;
|
|
84
|
+
includeDisabledUsers?: boolean;
|
|
85
|
+
parentOu?: string;
|
|
86
|
+
returnUserObjects?: boolean;
|
|
87
|
+
showGroupMembershipTooltips?: boolean;
|
|
88
|
+
showPhone?: boolean;
|
|
89
|
+
title?: string;
|
|
90
|
+
mode?: UserChooserMode;
|
|
91
|
+
objectTypes?: "users" | "groups" | "*";
|
|
92
|
+
filterOptions?: _cleavelandprice_ngx_lib_active_directory_material.UserChooserFilterOptions;
|
|
93
|
+
exclusions?: _cleavelandprice_ngx_lib_active_directory_material.UserChooserPreProcessingGroup;
|
|
94
|
+
inclusions?: _cleavelandprice_ngx_lib_active_directory_material.UserChooserPreProcessingGroup;
|
|
95
|
+
preSelections?: _cleavelandprice_ngx_lib_active_directory_material.UserChooserPreProcessingGroup;
|
|
96
|
+
users?: _cleavelandprice_ngx_lib_active_directory.User[];
|
|
97
|
+
groups?: _cleavelandprice_ngx_lib_active_directory.Group[];
|
|
98
|
+
photos?: PhotoItem[];
|
|
99
|
+
selectableGroupNames?: string[];
|
|
100
|
+
};
|
|
101
|
+
selectionList: i0.Signal<MatSelectionList | undefined>;
|
|
102
|
+
set filterInput(elRef: ElementRef<HTMLInputElement>);
|
|
103
|
+
filterForm: FormGroup<{
|
|
104
|
+
filter: FormControl<any>;
|
|
105
|
+
}>;
|
|
106
|
+
dataSource?: MatTableDataSource<SelectableUser | SelectableGroup>;
|
|
107
|
+
photos?: PhotoItem[];
|
|
108
|
+
groups?: SelectableGroup[];
|
|
109
|
+
get isMultiMode(): boolean;
|
|
110
|
+
get selectedOptions(): MatListOption[];
|
|
111
|
+
get selectedUsers(): (SelectableUser | SelectableGroup)[];
|
|
112
|
+
get filterValue(): string;
|
|
113
|
+
get adGroupsNeeded(): boolean;
|
|
114
|
+
ngOnInit(): void;
|
|
115
|
+
listSelectionChanged(options: MatListOption[]): void;
|
|
116
|
+
optionSelectionChanged(option: MatListOption): void;
|
|
117
|
+
hideUnselectedChanged(selected: boolean): void;
|
|
118
|
+
selectAll(): void;
|
|
119
|
+
deselectAll(): void;
|
|
120
|
+
isUser(userOrGroup: SelectableUser | SelectableGroup): boolean;
|
|
121
|
+
castUser(userOrGroup: SelectableUser | SelectableGroup): SelectableUser;
|
|
122
|
+
close(): void;
|
|
123
|
+
getPhoto(user: SelectableUser | SelectableGroup): string | undefined;
|
|
124
|
+
tooltip(user: SelectableUser | SelectableGroup): string;
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserChooserComponent, never>;
|
|
126
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserChooserComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
declare class UserFormFieldComponent implements OnInit {
|
|
130
|
+
#private;
|
|
131
|
+
usersSelected: i0.OutputEmitterRef<string | string[] | UserOrGroup | UserOrGroup[]>;
|
|
132
|
+
userUnSelected: i0.OutputEmitterRef<string>;
|
|
133
|
+
placeholder: i0.InputSignal<string>;
|
|
134
|
+
clickable: i0.InputSignal<boolean>;
|
|
135
|
+
userChooserData: i0.InputSignal<UserChooserData>;
|
|
136
|
+
_userChooserData: UserChooserData;
|
|
137
|
+
accountNames?: string[];
|
|
138
|
+
users?: User[];
|
|
139
|
+
groups?: UserOrGroup[];
|
|
140
|
+
photos?: PhotoItem[];
|
|
141
|
+
get class(): string;
|
|
142
|
+
ngOnInit(): void;
|
|
143
|
+
selectUser(): void;
|
|
144
|
+
unSelectUser(accountName: string): void;
|
|
145
|
+
getUser(user: string | User | undefined): User | undefined;
|
|
146
|
+
getGroup(group: string | UserOrGroup | undefined): UserOrGroup | undefined;
|
|
147
|
+
getPhoto(accountName: string): string | undefined;
|
|
148
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserFormFieldComponent, never>;
|
|
149
|
+
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>;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
declare class MatActiveDirectoryModule {
|
|
153
|
+
static forRoot(config: ActiveDirectoryServiceOptions): ModuleWithProviders<MatActiveDirectoryModule>;
|
|
154
|
+
constructor(parentModule: MatActiveDirectoryModule);
|
|
155
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatActiveDirectoryModule, [{ optional: true; skipSelf: true; }]>;
|
|
156
|
+
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 UserChooserComponent, typeof UserFormFieldComponent], [typeof UserChooserComponent, typeof UserFormFieldComponent]>;
|
|
157
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatActiveDirectoryModule>;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export { DefaultUserChooserData, DefaultUserChooserFilterOptions, MatActiveDirectoryModule, UserChooserComponent, UserChooserMode, UserFormFieldComponent };
|
|
161
|
+
export type { UserChooserData, UserChooserFilterOptions, UserChooserPreProcessingGroup };
|
|
@@ -1,5 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, InjectionToken, ModuleWithProviders } from '@angular/core';
|
|
3
|
+
import { NgxLibServiceOptions } from '@cleavelandprice/ngx-lib';
|
|
4
|
+
import * as i1 from '@angular/common';
|
|
5
|
+
|
|
6
|
+
interface AuthenticatedUser {
|
|
7
|
+
admin: boolean;
|
|
8
|
+
accountName: string;
|
|
9
|
+
displayName: string;
|
|
10
|
+
distinguishedName: string;
|
|
11
|
+
employeeNumber: string;
|
|
12
|
+
photoUrl?: string;
|
|
13
|
+
memberOf?: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
interface AbstractAuthenticationService {
|
|
17
|
+
authenticatedChanged: EventEmitter<boolean>;
|
|
18
|
+
authenticatingChanged: EventEmitter<boolean>;
|
|
19
|
+
authenticationError: EventEmitter<any>;
|
|
20
|
+
authenticating: boolean;
|
|
21
|
+
authenticated: boolean;
|
|
22
|
+
authenticatedUser?: AuthenticatedUser;
|
|
23
|
+
useSessionStorage: boolean;
|
|
24
|
+
storage: Storage;
|
|
25
|
+
login: Function;
|
|
26
|
+
logout: Function;
|
|
27
|
+
validateUser: Function;
|
|
28
|
+
checkForExistingToken: Function;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
interface AuthenticationRequest {
|
|
32
|
+
username: string;
|
|
33
|
+
password: string;
|
|
34
|
+
adminGroup?: string;
|
|
35
|
+
includeThumbnail?: boolean;
|
|
36
|
+
appName?: string;
|
|
37
|
+
additionalInfo?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
interface AuthenticationServiceOptions extends NgxLibServiceOptions {
|
|
41
|
+
appName?: string;
|
|
42
|
+
tokenName?: string;
|
|
43
|
+
authenticationEndpoint?: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare const AuthenticationServiceOptionsToken: InjectionToken<AuthenticationServiceOptions>;
|
|
47
|
+
|
|
48
|
+
declare class AuthenticationBaseModule {
|
|
49
|
+
static forRoot(options: AuthenticationServiceOptions): ModuleWithProviders<AuthenticationBaseModule>;
|
|
50
|
+
constructor(parentModule: AuthenticationBaseModule);
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationBaseModule, [{ optional: true; skipSelf: true; }]>;
|
|
52
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AuthenticationBaseModule, never, [typeof i1.CommonModule], never>;
|
|
53
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AuthenticationBaseModule>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { AuthenticationBaseModule, AuthenticationServiceOptionsToken };
|
|
57
|
+
export type { AbstractAuthenticationService, AuthenticatedUser, AuthenticationRequest, AuthenticationServiceOptions };
|
|
@@ -1,5 +1,81 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { AuthenticationTokenServiceOptions, AuthenticationTokenService } from '@cleavelandprice/ngx-lib/authentication/token';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { InjectionToken, OnInit, OnDestroy, OutputRefSubscription, ModuleWithProviders } from '@angular/core';
|
|
4
|
+
import * as i2 from '@angular/forms';
|
|
5
|
+
import { FormGroup, FormControl } from '@angular/forms';
|
|
6
|
+
import * as i4 from '@angular/material/dialog';
|
|
7
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
8
|
+
import * as i1 from '@angular/common';
|
|
9
|
+
import * as i3 from '@angular/material/button';
|
|
10
|
+
import * as i5 from '@angular/material/form-field';
|
|
11
|
+
import * as i6 from '@angular/material/icon';
|
|
12
|
+
import * as i7 from '@angular/material/input';
|
|
13
|
+
import * as i8 from '@angular/material/progress-spinner';
|
|
14
|
+
import * as i9 from '@angular/material/slide-toggle';
|
|
15
|
+
|
|
16
|
+
interface LoginFormData {
|
|
17
|
+
adminGroup: string;
|
|
18
|
+
additionalInfo: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
interface MatAuthenticationServiceOptions extends AuthenticationTokenServiceOptions {
|
|
22
|
+
showRememberMeOption?: boolean;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare const MatAuthenticationServiceOptionsToken: InjectionToken<MatAuthenticationServiceOptions>;
|
|
26
|
+
|
|
27
|
+
declare class MatAuthenticationService extends AuthenticationTokenService {
|
|
28
|
+
#private;
|
|
29
|
+
options: MatAuthenticationServiceOptions;
|
|
30
|
+
constructor(constructorOptions: MatAuthenticationServiceOptions);
|
|
31
|
+
validateUser(token: string): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatAuthenticationService, [{ optional: true; }]>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MatAuthenticationService>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare class LoginFormComponent implements OnInit, OnDestroy {
|
|
37
|
+
#private;
|
|
38
|
+
services: {
|
|
39
|
+
dialogRef: MatDialogRef<any, any>;
|
|
40
|
+
authentication: MatAuthenticationService;
|
|
41
|
+
};
|
|
42
|
+
errorMessage?: string;
|
|
43
|
+
authenticatedChangedSubscription: OutputRefSubscription;
|
|
44
|
+
authenticationErrorSubscription: OutputRefSubscription;
|
|
45
|
+
form: FormGroup<{
|
|
46
|
+
username: FormControl<null>;
|
|
47
|
+
password: FormControl<null>;
|
|
48
|
+
adminGroup: FormControl<any>;
|
|
49
|
+
additionalInfo: FormControl<any>;
|
|
50
|
+
}>;
|
|
51
|
+
ngOnInit(): void;
|
|
52
|
+
ngOnDestroy(): void;
|
|
53
|
+
authenticate(): void;
|
|
54
|
+
changeTokenStorageMode(checked: boolean): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginFormComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginFormComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare class LoginComponent {
|
|
60
|
+
#private;
|
|
61
|
+
services: {
|
|
62
|
+
authentication: MatAuthenticationService;
|
|
63
|
+
};
|
|
64
|
+
adminGroup: i0.InputSignal<string | undefined>;
|
|
65
|
+
additionalInfo: i0.InputSignal<string | undefined>;
|
|
66
|
+
login(): void;
|
|
67
|
+
confirmLogout(): void;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "cp-login", never, { "adminGroup": { "alias": "adminGroup"; "required": false; "isSignal": true; }; "additionalInfo": { "alias": "additionalInfo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare class MatAuthenticationModule {
|
|
73
|
+
static forRoot(options: MatAuthenticationServiceOptions): ModuleWithProviders<MatAuthenticationModule>;
|
|
74
|
+
constructor(parentModule: MatAuthenticationModule);
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatAuthenticationModule, [{ optional: true; skipSelf: true; }]>;
|
|
76
|
+
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 LoginComponent, typeof LoginFormComponent], [typeof LoginComponent, typeof LoginFormComponent]>;
|
|
77
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatAuthenticationModule>;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export { LoginComponent, LoginFormComponent, MatAuthenticationModule, MatAuthenticationService, MatAuthenticationServiceOptionsToken };
|
|
81
|
+
export type { LoginFormData, MatAuthenticationServiceOptions };
|
|
@@ -1,5 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { AbstractAuthenticationService, AuthenticatedUser, AuthenticationServiceOptions } from '@cleavelandprice/ngx-lib/authentication';
|
|
2
|
+
export * from '@cleavelandprice/ngx-lib/authentication';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { EventEmitter, ModuleWithProviders } from '@angular/core';
|
|
5
|
+
import { User } from '@cleavelandprice/ngx-lib/active-directory';
|
|
6
|
+
import { NgxLibServiceBase } from '@cleavelandprice/ngx-lib';
|
|
7
|
+
import * as i1 from '@angular/common';
|
|
8
|
+
|
|
9
|
+
declare class AuthenticationObjectService extends NgxLibServiceBase implements AbstractAuthenticationService {
|
|
10
|
+
#private;
|
|
11
|
+
private options;
|
|
12
|
+
authenticating: boolean;
|
|
13
|
+
authenticated: boolean;
|
|
14
|
+
authenticatedUser?: AuthenticatedUser;
|
|
15
|
+
authenticatedChanged: EventEmitter<boolean>;
|
|
16
|
+
authenticatingChanged: EventEmitter<boolean>;
|
|
17
|
+
authenticationError: EventEmitter<any>;
|
|
18
|
+
get useSessionStorage(): boolean;
|
|
19
|
+
get storage(): Storage;
|
|
20
|
+
constructor(options: AuthenticationServiceOptions);
|
|
21
|
+
login(username: string, password: string, adminGroup?: string, additionalInfo?: string): void;
|
|
22
|
+
logout(): void;
|
|
23
|
+
validateUser(token: User): void;
|
|
24
|
+
checkForExistingToken(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationObjectService, [{ optional: true; }]>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticationObjectService>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare class AuthenticationObjectModule {
|
|
30
|
+
static forRoot(options: AuthenticationServiceOptions): ModuleWithProviders<AuthenticationObjectModule>;
|
|
31
|
+
constructor(parentModule: AuthenticationObjectModule);
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationObjectModule, [{ optional: true; skipSelf: true; }]>;
|
|
33
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AuthenticationObjectModule, never, [typeof i1.CommonModule], never>;
|
|
34
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AuthenticationObjectModule>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { AuthenticationObjectModule, AuthenticationObjectService };
|
|
@@ -1,5 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { AuthenticationServiceOptions, AbstractAuthenticationService, AuthenticatedUser } from '@cleavelandprice/ngx-lib/authentication';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { InjectionToken, EventEmitter, ModuleWithProviders } from '@angular/core';
|
|
4
|
+
import { NgxLibServiceBase } from '@cleavelandprice/ngx-lib';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
|
|
7
|
+
interface AuthenticationToken {
|
|
8
|
+
aud: string;
|
|
9
|
+
displayName: string;
|
|
10
|
+
distinguishedName: string;
|
|
11
|
+
email: string;
|
|
12
|
+
employeeNumber: string;
|
|
13
|
+
exp: number;
|
|
14
|
+
firstName: string;
|
|
15
|
+
iss: string;
|
|
16
|
+
lastName: string;
|
|
17
|
+
memberOf: string;
|
|
18
|
+
nbf: number;
|
|
19
|
+
phone: string;
|
|
20
|
+
role: string;
|
|
21
|
+
sid: string;
|
|
22
|
+
winaccountname: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface AuthenticationTokenServiceOptions extends AuthenticationServiceOptions {
|
|
26
|
+
deferTokenValidation?: boolean;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare const AuthenticationTokenServiceOptionsToken: InjectionToken<AuthenticationTokenServiceOptions>;
|
|
30
|
+
|
|
31
|
+
declare class AuthenticationTokenService extends NgxLibServiceBase implements AbstractAuthenticationService {
|
|
32
|
+
#private;
|
|
33
|
+
protected options: AuthenticationTokenServiceOptions;
|
|
34
|
+
authenticating: boolean;
|
|
35
|
+
authenticated: boolean;
|
|
36
|
+
authenticatedUser?: AuthenticatedUser;
|
|
37
|
+
authenticatedChanged: EventEmitter<boolean>;
|
|
38
|
+
authenticatingChanged: EventEmitter<boolean>;
|
|
39
|
+
authenticationError: EventEmitter<any>;
|
|
40
|
+
get useSessionStorage(): boolean;
|
|
41
|
+
get storage(): Storage;
|
|
42
|
+
constructor(options: AuthenticationTokenServiceOptions);
|
|
43
|
+
login(username: string, password: string, adminGroup?: string, additionalInfo?: string): void;
|
|
44
|
+
logout(): void;
|
|
45
|
+
validateUser(token: string): void;
|
|
46
|
+
checkForExistingToken(): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationTokenService, [{ optional: true; }]>;
|
|
48
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticationTokenService>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
declare class AuthenticationTokenModule {
|
|
52
|
+
static forRoot(options: AuthenticationTokenServiceOptions): ModuleWithProviders<AuthenticationTokenModule>;
|
|
53
|
+
constructor(parentModule: AuthenticationTokenModule);
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationTokenModule, [{ optional: true; skipSelf: true; }]>;
|
|
55
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AuthenticationTokenModule, never, [typeof i1.CommonModule], never>;
|
|
56
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AuthenticationTokenModule>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export { AuthenticationTokenModule, AuthenticationTokenService, AuthenticationTokenServiceOptionsToken };
|
|
60
|
+
export type { AuthenticationToken, AuthenticationTokenServiceOptions };
|