@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/dialog/index.d.ts
CHANGED
|
@@ -1,5 +1,106 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import * as i5 from '@angular/material/dialog';
|
|
4
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
import * as i2 from '@angular/forms';
|
|
7
|
+
import * as i3 from '@angular/material/button';
|
|
8
|
+
import * as i4 from '@angular/material/checkbox';
|
|
9
|
+
import * as i6 from '@angular/material/form-field';
|
|
10
|
+
import * as i7 from '@angular/material/input';
|
|
11
|
+
|
|
12
|
+
declare enum ConfirmationDialogMode {
|
|
13
|
+
OkCancel = 0,
|
|
14
|
+
YesNo = 1,
|
|
15
|
+
TrueFalse = 2,
|
|
16
|
+
Custom = 3
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
interface DialogBaseData {
|
|
20
|
+
customTrueFalseText?: string[];
|
|
21
|
+
checkboxMessage?: string;
|
|
22
|
+
message?: string;
|
|
23
|
+
mode?: ConfirmationDialogMode;
|
|
24
|
+
placeholder?: string;
|
|
25
|
+
title?: string;
|
|
26
|
+
value?: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare enum DialogType {
|
|
30
|
+
Choice = 0,
|
|
31
|
+
Confirmation = 1,
|
|
32
|
+
Input = 2,
|
|
33
|
+
Message = 3
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare class BaseComponent implements OnInit {
|
|
37
|
+
#private;
|
|
38
|
+
DialogType: typeof DialogType;
|
|
39
|
+
dialogType: i0.InputSignal<DialogType>;
|
|
40
|
+
data: i0.InputSignal<DialogBaseData>;
|
|
41
|
+
closed: i0.OutputEmitterRef<void>;
|
|
42
|
+
ConfirmationDialogMode: typeof ConfirmationDialogMode;
|
|
43
|
+
userInput?: string;
|
|
44
|
+
checkboxValue: boolean;
|
|
45
|
+
get customTrueText(): string | undefined;
|
|
46
|
+
get customFalseText(): string | undefined;
|
|
47
|
+
get choices(): string[] | null;
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
close(): void;
|
|
50
|
+
cancel(): void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
|
|
52
|
+
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>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
interface DialogChoiceData extends DialogBaseData {
|
|
56
|
+
choices: string[];
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare class ChoiceComponent {
|
|
60
|
+
services: {
|
|
61
|
+
data: DialogChoiceData;
|
|
62
|
+
dialogRef: MatDialogRef<any, any>;
|
|
63
|
+
};
|
|
64
|
+
dialogType: DialogType;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChoiceComponent, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChoiceComponent, "cp-dialog-choice", never, {}, {}, never, never, true, never>;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
declare class ConfirmationComponent {
|
|
70
|
+
services: {
|
|
71
|
+
data: DialogBaseData;
|
|
72
|
+
dialogRef: MatDialogRef<any, any>;
|
|
73
|
+
};
|
|
74
|
+
dialogType: DialogType;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationComponent, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationComponent, "cp-dialog-confirmation", never, {}, {}, never, never, true, never>;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
declare class InputComponent {
|
|
80
|
+
services: {
|
|
81
|
+
data: DialogBaseData;
|
|
82
|
+
dialogRef: MatDialogRef<any, any>;
|
|
83
|
+
};
|
|
84
|
+
dialogType: DialogType;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "cp-dialog-input", never, {}, {}, never, never, true, never>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
declare class MessageComponent {
|
|
90
|
+
services: {
|
|
91
|
+
data: DialogBaseData;
|
|
92
|
+
dialogRef: MatDialogRef<any, any>;
|
|
93
|
+
};
|
|
94
|
+
dialogType: DialogType;
|
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>;
|
|
96
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "cp-dialog-message", never, {}, {}, never, never, true, never>;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
declare class DialogModule {
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
|
|
101
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.MatButtonModule, typeof i4.MatCheckboxModule, typeof i5.MatDialogModule, typeof i6.MatFormFieldModule, typeof i7.MatInputModule, typeof BaseComponent, typeof ChoiceComponent, typeof ConfirmationComponent, typeof InputComponent, typeof MessageComponent], [typeof BaseComponent, typeof ChoiceComponent, typeof ConfirmationComponent, typeof InputComponent, typeof MessageComponent]>;
|
|
102
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export { BaseComponent, ChoiceComponent, ConfirmationComponent, ConfirmationDialogMode, DialogModule, DialogType, InputComponent, MessageComponent };
|
|
106
|
+
export type { DialogBaseData };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ActiveDirectoryService, ActiveDirectoryServiceOptionsToken } from '@cleavelandprice/ngx-lib/active-directory';
|
|
2
2
|
export * from '@cleavelandprice/ngx-lib/active-directory';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { inject, viewChild,
|
|
4
|
+
import { inject, viewChild, ViewChild, Component, output, input, Optional, SkipSelf, NgModule } from '@angular/core';
|
|
5
5
|
import * as i1 from '@angular/forms';
|
|
6
6
|
import { FormGroup, FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
7
|
-
import {
|
|
7
|
+
import { MAT_DIALOG_DATA, MatDialogRef, MatDialogActions, MatDialogClose, MatDialogContent, MatDialog, MatDialogModule } from '@angular/material/dialog';
|
|
8
8
|
import { MatSelectionList, MatListItemAvatar, MatListOption, MatListModule } from '@angular/material/list';
|
|
9
9
|
import { MatTableDataSource, MatTableModule } from '@angular/material/table';
|
|
10
10
|
import { of, forkJoin, debounceTime } from 'rxjs';
|
|
@@ -61,7 +61,7 @@ class UserChooserComponent {
|
|
|
61
61
|
this._data = { ...DefaultUserChooserData, ...this.#services.data };
|
|
62
62
|
//#region Fields
|
|
63
63
|
//@ViewChild(MatSelectionList) selectionList?: MatSelectionList;
|
|
64
|
-
this.selectionList = viewChild(MatSelectionList);
|
|
64
|
+
this.selectionList = viewChild(MatSelectionList, ...(ngDevMode ? [{ debugName: "selectionList" }] : []));
|
|
65
65
|
//filterInput = viewChild<ElementRef>('filterInput');
|
|
66
66
|
this.filterForm = new FormGroup({
|
|
67
67
|
filter: new FormControl()
|
|
@@ -441,10 +441,10 @@ class UserChooserComponent {
|
|
|
441
441
|
.join('\n') :
|
|
442
442
|
'';
|
|
443
443
|
}
|
|
444
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
445
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
444
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: UserChooserComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
445
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.0", type: UserChooserComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "selectionList", first: true, predicate: MatSelectionList, descendants: true, isSignal: true }, { propertyName: "filterInput", first: true, predicate: ["filterInput"], descendants: true }], ngImport: i0, template: "<div id=\"dialog-title\">\r\n <h2 mat-dialog-title>{{ _data.title }}</h2>\r\n\r\n <div id=\"num-selected\">\r\n {{ selectedOptions.length }} selected\r\n </div>\r\n</div>\r\n\r\n<mat-dialog-content>\r\n @if (dataSource && photos) {\r\n <form [formGroup]=\"filterForm\">\r\n @if (dataSource) {\r\n <mat-form-field>\r\n <input matInput placeholder=\"Search\" formControlName=\"filter\" #filterInput>\r\n @if (filterForm.value.filter) {\r\n <button matSuffix mat-icon-button aria-label=\"Clear\" (click)=\"filterForm.get('filter')?.setValue('')\">\r\n <mat-icon fontIcon=\"close\"/>\r\n </button>\r\n }\r\n </mat-form-field>\r\n }\r\n </form>\r\n <mat-selection-list [multiple]=\"isMultiMode\"\r\n (selectionChange)=\"listSelectionChanged($event.options)\">\r\n @for (user of dataSource.filteredData; track user) {\r\n <mat-list-option [value]=\"user\" [selected]=\"user.selected\"\r\n (selectedChange)=\"optionSelectionChanged(option)\" #option>\r\n @if (getPhoto(user)) {\r\n <img matListItemAvatar alt=\"\" [src]=\"getPhoto(user)\">\r\n } @else {\r\n <mat-icon matListItemAvatar class=\"no-photo\"\r\n [fontIcon]=\"isUser(user) ? 'account_circle' : 'group'\"/>\r\n }\r\n <div class=\"user\">\r\n <div [matTooltip]=\"tooltip(user)\" class=\"user-name\">\r\n {{ user.displayName ?? user.name }}\r\n @if (isUser(user) && _data.showPhone && castUser(user).telephoneNumber) {\r\n <div>{{ castUser(user).telephoneNumber }}</div>\r\n }\r\n </div>\r\n @if (isUser(user)) {\r\n <div>{{ castUser(user).department }}</div>\r\n <div class=\"title\">{{ castUser(user).title }}</div>\r\n }\r\n </div>\r\n </mat-list-option>\r\n }\r\n </mat-selection-list>\r\n } @else {\r\n <div>\r\n <mat-spinner [diameter]=\"50\"/>\r\n <h2 id=\"spinner-message\">Getting users and photos...</h2>\r\n </div>\r\n }\r\n</mat-dialog-content>\r\n\r\n<mat-dialog-actions>\r\n @if (dataSource && photos) {\r\n @if (selectedOptions.length) {\r\n <mat-slide-toggle (change)=\"hideUnselectedChanged($event.checked)\">\r\n Hide Unselected\r\n </mat-slide-toggle>\r\n }\r\n @if (isMultiMode) {\r\n <button mat-raised-button color=\"primary\" (click)=\"selectAll()\"\r\n >\r\n <mat-icon fontIcon=\"select_all\"/>\r\n <span class=\"hide-mobile\">Select All</span>\r\n </button>\r\n }\r\n @if (isMultiMode && selectedOptions.length) {\r\n <button mat-raised-button color=\"primary\" (click)=\"deselectAll()\"\r\n >\r\n <mat-icon fontIcon=\"clear_all\"/>\r\n <span class=\"hide-mobile\">Clear All</span>\r\n </button>\r\n }\r\n @if (isMultiMode || !_data.closeWhenSelectionMade) {\r\n <button mat-raised-button color=\"primary\" (click)=\"close()\" matTooltip=\"Accept your selection\"\r\n [disabled]=\"!_data.allowCloseWithoutSelections && !selectedOptions.length\">\r\n <mat-icon fontIcon=\"check\"/>\r\n <span class=\"hide-mobile\">Ok</span>\r\n </button>\r\n }\r\n }\r\n\r\n <button mat-raised-button color=\"warn\" mat-dialog-close matTooltip=\"Close this window\">\r\n <mat-icon fontIcon=\"close\"/>\r\n <span class=\"hide-mobile\">Cancel</span>\r\n </button>\r\n</mat-dialog-actions>", styles: ["::ng-deep .mat-tooltip{font-size:1em!important;white-space:pre-line}mat-dialog-content{min-width:50vw}#dialog-title{display:flex;justify-content:space-between}#num-selected{margin:1em 1em 0 0}mat-spinner{margin:0 auto}#spinner-message{text-align:center;padding:.5em}mat-form-field{width:100%}.title{font-style:italic;color:#757575}img,.no-photo{width:2rem;height:2rem;font-size:2.3rem!important;border-radius:100%}.hide-mobile{display:none}mat-dialog-actions{display:grid;grid-auto-flow:column;grid-gap:1em;justify-content:center}.user-name{display:flex;justify-content:space-between}.user-name>div:last-child{margin-right:10rem;font-weight:400;font-style:italic;color:#757575}@media (min-width: 801px){.user{display:grid;grid-template-columns:1fr 1fr 1fr}.user>div:first-child{font-weight:700}.hide-mobile{display:initial}}\n", ".material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:\"liga\"}\n"], dependencies: [{ kind: "component", type: MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: MatListItemAvatar, selector: "[matListItemAvatar]" }, { kind: "component", type: MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "component", type: MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "directive", type: MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }] }); }
|
|
446
446
|
}
|
|
447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: UserChooserComponent, decorators: [{
|
|
448
448
|
type: Component,
|
|
449
449
|
args: [{ imports: [
|
|
450
450
|
MatButton,
|
|
@@ -478,9 +478,9 @@ class UserFormFieldComponent {
|
|
|
478
478
|
};
|
|
479
479
|
this.usersSelected = output(); // string for Single mode, string[] for multi
|
|
480
480
|
this.userUnSelected = output();
|
|
481
|
-
this.placeholder = input('Select User(s)');
|
|
482
|
-
this.clickable = input(true);
|
|
483
|
-
this.userChooserData = input.required();
|
|
481
|
+
this.placeholder = input('Select User(s)', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
482
|
+
this.clickable = input(true, ...(ngDevMode ? [{ debugName: "clickable" }] : []));
|
|
483
|
+
this.userChooserData = input.required(...(ngDevMode ? [{ debugName: "userChooserData" }] : []));
|
|
484
484
|
}
|
|
485
485
|
//#region Fields
|
|
486
486
|
#services;
|
|
@@ -595,10 +595,10 @@ class UserFormFieldComponent {
|
|
|
595
595
|
p.displayName?.toLowerCase() === (user.displayName ?? user.name).toLowerCase() ||
|
|
596
596
|
p.title?.toLowerCase() === (user.displayName ?? user.name).toLowerCase())?.encodedAbsUrl;
|
|
597
597
|
}
|
|
598
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
599
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
598
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: UserFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
599
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.0", type: UserFormFieldComponent, isStandalone: true, selector: "cp-user-field", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, clickable: { classPropertyName: "clickable", publicName: "clickable", isSignal: true, isRequired: false, transformFunction: null }, userChooserData: { classPropertyName: "userChooserData", publicName: "userChooserData", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { usersSelected: "usersSelected", userUnSelected: "userUnSelected" }, ngImport: i0, template: "\n<!-- In Microsoft Edge, selectUser() never gets called if the input fields are disabled\nSo... I'm dynamically setting the disabled property based on whether or not the browser is Edge.\nIt's definitely a better experience if the field IS disabled.\nOtherwise, it's confusing - especially because Edge is SO SLOW to display the resulting dialog window.\n-->\n<!-- Update 8/24/2023:\nThe above problem also exists in Chrome now.\nSo instead of dynamically setting [disabled] based on browser type,\nI'm applying CSS to suppress mouse events on the input - thus making it bubble up to the parent control, which responds the way we want/\n-->\n\n@if (users && photos) {\n <div (click)=\"selectUser()\" [class.clickable]=\"clickable()\">\n @if (accountNames?.length) {\n <div [ngClass]=\"class\">\n @for (accountName of accountNames; track accountName; let i = $index) {\n <div class=\"user\">\n <!--<img *ngIf=\"accountName && empUtils.getEmployee(accountName)\" alt=\"\" [src]=\"empUtils.getEmployee(accountName) | employeePhotoUrl:cacheService.photos\">-->\n @if (getPhoto(accountName)) {\n <img matListItemAvatar alt=\"\" [src]=\"getPhoto(accountName)\">\n }\n @if (getGroup(accountName)) {\n <mat-icon>group</mat-icon>\n }\n <mat-form-field>\n <!-- [disabled]=\"!isEdge\" -->\n <input matInput disabled [placeholder]=\"i === 0 ? placeholder() : ''\"\n [value]=\"getUser(accountName)?.displayName ?? getGroup(accountName)?.displayName ?? accountName\">\n <button matSuffix mat-icon-button aria-label=\"Clear\" (click)=\"$event.stopPropagation(); unSelectUser(accountName)\">\n <mat-icon fontIcon=\"close\"/>\n </button>\n </mat-form-field>\n </div>\n }\n </div>\n } @else {\n <mat-form-field>\n <input matInput disabled [placeholder]=\"placeholder()\"> <!-- [disabled]=\"!isEdge\" -->\n </mat-form-field>\n }\n </div>\n} @else {\n <mat-progress-bar mode=\"indeterminate\"/>\n}", styles: [".user{display:grid;grid-template-columns:auto 1fr;grid-gap:.5em;align-items:center}.clickable,.clickable input{cursor:pointer!important}img{width:2em;height:2em;border-radius:100%}@media (min-width: 801px){.grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:1em}.three{grid-template-columns:repeat(3,1fr)}.four{grid-template-columns:repeat(4,1fr)}.five{grid-template-columns:repeat(5,1fr)}::ng-deep .grid mat-form-field{width:15vw}}input[disabled]{pointer-events:none}\n"], dependencies: [{ kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
600
600
|
}
|
|
601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: UserFormFieldComponent, decorators: [{
|
|
602
602
|
type: Component,
|
|
603
603
|
args: [{ selector: 'cp-user-field', imports: [
|
|
604
604
|
MatButton,
|
|
@@ -609,7 +609,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
609
609
|
MatProgressBar,
|
|
610
610
|
MatSuffix,
|
|
611
611
|
NgClass
|
|
612
|
-
], standalone: true, template: "\
|
|
612
|
+
], standalone: true, template: "\n<!-- In Microsoft Edge, selectUser() never gets called if the input fields are disabled\nSo... I'm dynamically setting the disabled property based on whether or not the browser is Edge.\nIt's definitely a better experience if the field IS disabled.\nOtherwise, it's confusing - especially because Edge is SO SLOW to display the resulting dialog window.\n-->\n<!-- Update 8/24/2023:\nThe above problem also exists in Chrome now.\nSo instead of dynamically setting [disabled] based on browser type,\nI'm applying CSS to suppress mouse events on the input - thus making it bubble up to the parent control, which responds the way we want/\n-->\n\n@if (users && photos) {\n <div (click)=\"selectUser()\" [class.clickable]=\"clickable()\">\n @if (accountNames?.length) {\n <div [ngClass]=\"class\">\n @for (accountName of accountNames; track accountName; let i = $index) {\n <div class=\"user\">\n <!--<img *ngIf=\"accountName && empUtils.getEmployee(accountName)\" alt=\"\" [src]=\"empUtils.getEmployee(accountName) | employeePhotoUrl:cacheService.photos\">-->\n @if (getPhoto(accountName)) {\n <img matListItemAvatar alt=\"\" [src]=\"getPhoto(accountName)\">\n }\n @if (getGroup(accountName)) {\n <mat-icon>group</mat-icon>\n }\n <mat-form-field>\n <!-- [disabled]=\"!isEdge\" -->\n <input matInput disabled [placeholder]=\"i === 0 ? placeholder() : ''\"\n [value]=\"getUser(accountName)?.displayName ?? getGroup(accountName)?.displayName ?? accountName\">\n <button matSuffix mat-icon-button aria-label=\"Clear\" (click)=\"$event.stopPropagation(); unSelectUser(accountName)\">\n <mat-icon fontIcon=\"close\"/>\n </button>\n </mat-form-field>\n </div>\n }\n </div>\n } @else {\n <mat-form-field>\n <input matInput disabled [placeholder]=\"placeholder()\"> <!-- [disabled]=\"!isEdge\" -->\n </mat-form-field>\n }\n </div>\n} @else {\n <mat-progress-bar mode=\"indeterminate\"/>\n}", styles: [".user{display:grid;grid-template-columns:auto 1fr;grid-gap:.5em;align-items:center}.clickable,.clickable input{cursor:pointer!important}img{width:2em;height:2em;border-radius:100%}@media (min-width: 801px){.grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:1em}.three{grid-template-columns:repeat(3,1fr)}.four{grid-template-columns:repeat(4,1fr)}.five{grid-template-columns:repeat(5,1fr)}::ng-deep .grid mat-form-field{width:15vw}}input[disabled]{pointer-events:none}\n"] }]
|
|
613
613
|
}] });
|
|
614
614
|
|
|
615
615
|
class MatActiveDirectoryModule {
|
|
@@ -629,8 +629,8 @@ class MatActiveDirectoryModule {
|
|
|
629
629
|
throw new Error('MatActiveDirectoryModule is already loaded. Import it in the AppModule only');
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
633
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
632
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: MatActiveDirectoryModule, deps: [{ token: MatActiveDirectoryModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
633
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.0", ngImport: i0, type: MatActiveDirectoryModule, imports: [CommonModule,
|
|
634
634
|
ReactiveFormsModule,
|
|
635
635
|
MatButtonModule,
|
|
636
636
|
MatDialogModule,
|
|
@@ -646,7 +646,7 @@ class MatActiveDirectoryModule {
|
|
|
646
646
|
UserChooserComponent,
|
|
647
647
|
UserFormFieldComponent], exports: [UserChooserComponent,
|
|
648
648
|
UserFormFieldComponent] }); }
|
|
649
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
649
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: MatActiveDirectoryModule, imports: [CommonModule,
|
|
650
650
|
ReactiveFormsModule,
|
|
651
651
|
MatButtonModule,
|
|
652
652
|
MatDialogModule,
|
|
@@ -662,7 +662,7 @@ class MatActiveDirectoryModule {
|
|
|
662
662
|
UserChooserComponent,
|
|
663
663
|
UserFormFieldComponent] }); }
|
|
664
664
|
}
|
|
665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: MatActiveDirectoryModule, decorators: [{
|
|
666
666
|
type: NgModule,
|
|
667
667
|
args: [{
|
|
668
668
|
declarations: [],
|