@cleavelandprice/ngx-lib 3.7.2 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/active-directory/active-directory.module.d.ts +11 -11
- package/active-directory/gui/components/user-chooser/user-chooser.component.d.ts +58 -58
- package/active-directory/gui/components/user-form-field/user-form-field.component.d.ts +29 -29
- package/active-directory/gui/gui.module.d.ts +25 -25
- package/active-directory/gui/index.d.ts +5 -5
- package/active-directory/gui/model/selectable-user.d.ts +5 -5
- package/active-directory/gui/model/user-chooser-data.d.ts +22 -22
- package/active-directory/gui/model/user-chooser-filter-options.d.ts +7 -7
- package/active-directory/gui/model/user-chooser-mode.d.ts +4 -4
- package/active-directory/gui/model/user-chooser-pre-processing-group.d.ts +6 -6
- package/active-directory/gui/public_api.d.ts +8 -8
- package/active-directory/index.d.ts +5 -5
- package/active-directory/model/ad-object-with-children.d.ts +4 -4
- package/active-directory/model/ad-object.d.ts +13 -13
- package/active-directory/model/cache-object.d.ts +4 -4
- package/active-directory/model/caching-config.d.ts +4 -4
- package/active-directory/model/cleaveland-price-user.d.ts +17 -17
- package/active-directory/model/group.d.ts +7 -7
- package/active-directory/model/logging-config.d.ts +6 -6
- package/active-directory/model/service-config.d.ts +8 -8
- package/active-directory/model/user-or-group.d.ts +7 -7
- package/active-directory/model/user.d.ts +23 -23
- package/active-directory/public_api.d.ts +11 -11
- package/active-directory/services/active-directory.service.d.ts +32 -32
- package/authentication/authentication.base.module.d.ts +7 -7
- package/authentication/index.d.ts +5 -5
- package/authentication/model/abstract-authentication-service.d.ts +16 -16
- package/authentication/model/authenticated-user.d.ts +9 -9
- package/authentication/model/authentication-request.d.ts +8 -6
- package/authentication/model/service-config.d.ts +8 -7
- package/authentication/object/index.d.ts +5 -5
- package/authentication/object/model/service-config.d.ts +4 -4
- package/authentication/object/object.module.d.ts +11 -11
- package/authentication/object/public_api.d.ts +3 -3
- package/authentication/object/services/authentication.service.d.ts +25 -25
- package/authentication/public_api.d.ts +5 -5
- package/authentication/token/gui/components/login/login.component.d.ts +14 -13
- package/authentication/token/gui/components/login-form/login-form.component.d.ts +29 -28
- package/authentication/token/gui/index.d.ts +5 -5
- package/authentication/token/gui/model/login-form-data.d.ts +4 -3
- package/authentication/token/gui/model/service-config.d.ts +5 -5
- package/authentication/token/gui/public_api.d.ts +6 -6
- package/authentication/token/gui/services/authentication.service.d.ts +15 -15
- package/authentication/token/gui/token-gui.module.d.ts +21 -21
- package/authentication/token/index.d.ts +5 -5
- package/authentication/token/model/authentication-token.d.ts +17 -17
- package/authentication/token/model/service-config.d.ts +5 -5
- package/authentication/token/public_api.d.ts +4 -4
- package/authentication/token/services/authentication.service.d.ts +24 -24
- package/authentication/token/token.module.d.ts +11 -11
- package/dialog/components/base/base.component.d.ts +22 -22
- package/dialog/components/choice/choice.component.d.ts +12 -12
- package/dialog/components/confirmation/confirmation.component.d.ts +12 -12
- package/dialog/components/input/input.component.d.ts +12 -12
- package/dialog/components/message/message.component.d.ts +12 -12
- package/dialog/dialog.module.d.ts +18 -18
- package/dialog/index.d.ts +5 -5
- package/dialog/model/confirmation-dialog-mode.d.ts +6 -6
- package/dialog/model/dialog-base-data.d.ts +10 -10
- package/dialog/model/dialog-choice-data.d.ts +4 -4
- package/dialog/model/dialog-type.d.ts +6 -6
- package/dialog/public_api.d.ts +9 -9
- package/esm2022/active-directory/active-directory.module.mjs +40 -0
- package/{esm2020 → esm2022}/active-directory/cleavelandprice-ngx-lib-active-directory.mjs +4 -4
- package/{esm2020 → esm2022}/active-directory/gui/cleavelandprice-ngx-lib-active-directory-gui.mjs +4 -4
- package/esm2022/active-directory/gui/components/user-chooser/user-chooser.component.mjs +375 -0
- package/esm2022/active-directory/gui/components/user-form-field/user-form-field.component.mjs +130 -0
- package/esm2022/active-directory/gui/gui.module.mjs +97 -0
- package/{esm2020 → esm2022}/active-directory/gui/model/selectable-user.mjs +1 -1
- package/{esm2020 → esm2022}/active-directory/gui/model/user-chooser-data.mjs +32 -32
- package/{esm2020 → esm2022}/active-directory/gui/model/user-chooser-filter-options.mjs +9 -9
- package/{esm2020 → esm2022}/active-directory/gui/model/user-chooser-mode.mjs +5 -5
- package/{esm2020 → esm2022}/active-directory/gui/model/user-chooser-pre-processing-group.mjs +8 -8
- package/{esm2020 → esm2022}/active-directory/gui/public_api.mjs +8 -8
- package/{esm2020 → esm2022}/active-directory/model/ad-object-with-children.mjs +1 -1
- package/{esm2020 → esm2022}/active-directory/model/ad-object.mjs +1 -1
- package/{esm2020 → esm2022}/active-directory/model/cache-object.mjs +2 -2
- package/{esm2020 → esm2022}/active-directory/model/caching-config.mjs +6 -6
- package/{esm2020 → esm2022}/active-directory/model/cleaveland-price-user.mjs +1 -1
- package/{esm2020 → esm2022}/active-directory/model/group.mjs +1 -1
- package/{esm2020 → esm2022}/active-directory/model/logging-config.mjs +8 -8
- package/{esm2020 → esm2022}/active-directory/model/service-config.mjs +11 -11
- package/{esm2020 → esm2022}/active-directory/model/user-or-group.mjs +1 -1
- package/{esm2020 → esm2022}/active-directory/model/user.mjs +1 -1
- package/{esm2020 → esm2022}/active-directory/public_api.mjs +11 -11
- package/esm2022/active-directory/services/active-directory.service.mjs +112 -0
- package/esm2022/authentication/authentication.base.module.mjs +20 -0
- package/{esm2020 → esm2022}/authentication/cleavelandprice-ngx-lib-authentication.mjs +4 -4
- package/{esm2020 → esm2022}/authentication/model/abstract-authentication-service.mjs +1 -1
- package/{esm2020 → esm2022}/authentication/model/authenticated-user.mjs +1 -1
- package/{esm2020 → esm2022}/authentication/model/authentication-request.mjs +2 -2
- package/esm2022/authentication/model/service-config.mjs +12 -0
- package/{esm2020 → esm2022}/authentication/object/cleavelandprice-ngx-lib-authentication-object.mjs +4 -4
- package/esm2022/authentication/object/model/service-config.mjs +9 -0
- package/esm2022/authentication/object/object.module.mjs +40 -0
- package/{esm2020 → esm2022}/authentication/object/public_api.mjs +3 -3
- package/esm2022/authentication/object/services/authentication.service.mjs +109 -0
- package/{esm2020 → esm2022}/authentication/public_api.mjs +5 -5
- package/{esm2020 → esm2022}/authentication/token/cleavelandprice-ngx-lib-authentication-token.mjs +4 -4
- package/{esm2020 → esm2022}/authentication/token/gui/cleavelandprice-ngx-lib-authentication-token-gui.mjs +4 -4
- package/esm2022/authentication/token/gui/components/login/login.component.mjs +45 -0
- package/esm2022/authentication/token/gui/components/login-form/login-form.component.mjs +74 -0
- package/{esm2020 → esm2022}/authentication/token/gui/model/login-form-data.mjs +2 -2
- package/esm2022/authentication/token/gui/model/service-config.mjs +10 -0
- package/{esm2020 → esm2022}/authentication/token/gui/public_api.mjs +6 -6
- package/esm2022/authentication/token/gui/services/authentication.service.mjs +79 -0
- package/esm2022/authentication/token/gui/token-gui.module.mjs +82 -0
- package/{esm2020 → esm2022}/authentication/token/model/authentication-token.mjs +1 -1
- package/esm2022/authentication/token/model/service-config.mjs +10 -0
- package/{esm2020 → esm2022}/authentication/token/public_api.mjs +4 -4
- package/esm2022/authentication/token/services/authentication.service.mjs +120 -0
- package/esm2022/authentication/token/token.module.mjs +40 -0
- package/{esm2020 → esm2022}/cleavelandprice-ngx-lib.mjs +4 -4
- package/{esm2020 → esm2022}/dialog/cleavelandprice-ngx-lib-dialog.mjs +4 -4
- package/esm2022/dialog/components/base/base.component.mjs +93 -0
- package/esm2022/dialog/components/choice/choice.component.mjs +24 -0
- package/esm2022/dialog/components/confirmation/confirmation.component.mjs +24 -0
- package/esm2022/dialog/components/input/input.component.mjs +24 -0
- package/esm2022/dialog/components/message/message.component.mjs +24 -0
- package/esm2022/dialog/dialog.module.mjs +69 -0
- package/{esm2020 → esm2022}/dialog/model/confirmation-dialog-mode.mjs +7 -7
- package/{esm2020 → esm2022}/dialog/model/dialog-base-data.mjs +1 -1
- package/{esm2020 → esm2022}/dialog/model/dialog-choice-data.mjs +1 -1
- package/{esm2020 → esm2022}/dialog/model/dialog-type.mjs +7 -7
- package/{esm2020 → esm2022}/dialog/public_api.mjs +9 -9
- package/{esm2020 → esm2022}/lib/model/app-path-config.mjs +1 -1
- package/{esm2020 → esm2022}/lib/model/app-type.mjs +1 -1
- package/{esm2020 → esm2022}/lib/model/app.mjs +1 -1
- package/esm2022/lib/model/service-config.mjs +21 -0
- package/esm2022/lib/ngx-lib.module.mjs +37 -0
- package/esm2022/lib/services/app-path-config.service.mjs +46 -0
- package/{esm2020 → esm2022}/msgraph/cleavelandprice-ngx-lib-msgraph.mjs +4 -4
- package/{esm2020 → esm2022}/msgraph/model/address.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/attendee.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/bulk-calendar-events.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/bulk-calendar-request.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/calendar-event.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/coordinates.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/email-address.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/location.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/online-meeting-info.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/patterned-recurrence.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/phone.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/recipient.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/recurrence-pattern.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/recurrence-range.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/response-status.mjs +1 -1
- package/{esm2020 → esm2022}/msgraph/model/room.mjs +5 -5
- package/{esm2020 → esm2022}/msgraph/model/user.mjs +131 -131
- package/esm2022/msgraph/msgraph.module.mjs +33 -0
- package/{esm2020 → esm2022}/msgraph/public_api.mjs +18 -18
- package/{esm2020 → esm2022}/public_api.mjs +9 -9
- package/{esm2020 → esm2022}/quill/cleavelandprice-ngx-lib-quill.mjs +4 -4
- package/esm2022/quill/components/editor/editor.component.mjs +297 -0
- package/esm2022/quill/components/raw/raw.component.mjs +25 -0
- package/{esm2020 → esm2022}/quill/mention/cleavelandprice-ngx-lib-quill-mention.mjs +4 -4
- package/esm2022/quill/mention/components/editor/editor.component.mjs +156 -0
- package/{esm2020 → esm2022}/quill/mention/model/buttons.mjs +3 -3
- package/{esm2020 → esm2022}/quill/mention/model/config.mjs +3 -3
- package/{esm2020 → esm2022}/quill/mention/model/dialog-data.mjs +1 -1
- package/{esm2020 → esm2022}/quill/mention/model/icons.mjs +3 -3
- package/{esm2020 → esm2022}/quill/mention/model/tooltips.mjs +3 -3
- package/{esm2020 → esm2022}/quill/mention/public_api.mjs +7 -7
- package/esm2022/quill/mention/quill-mention.module.mjs +66 -0
- package/{esm2020 → esm2022}/quill/model/buttons.mjs +51 -51
- package/{esm2020 → esm2022}/quill/model/config.mjs +39 -39
- package/{esm2020 → esm2022}/quill/model/dialog-data.mjs +1 -1
- package/{esm2020 → esm2022}/quill/model/icons.mjs +8 -8
- package/{esm2020 → esm2022}/quill/model/tooltips.mjs +54 -54
- package/{esm2020 → esm2022}/quill/public_api.mjs +8 -8
- package/esm2022/quill/quill.module.mjs +79 -0
- package/{esm2020 → esm2022}/sharepoint/cleavelandprice-ngx-lib-sharepoint.mjs +4 -4
- package/esm2022/sharepoint/components/employee-photo/employee-photo.component.mjs +38 -0
- package/{esm2020 → esm2022}/sharepoint/model/base-item.mjs +1 -1
- package/{esm2020 → esm2022}/sharepoint/model/base-request-credential.mjs +1 -1
- package/{esm2020 → esm2022}/sharepoint/model/base-request.mjs +1 -1
- package/{esm2020 → esm2022}/sharepoint/model/cache-object.mjs +2 -2
- package/{esm2020 → esm2022}/sharepoint/model/file-request.mjs +1 -1
- package/{esm2020 → esm2022}/sharepoint/model/folder-request.mjs +1 -1
- package/{esm2020 → esm2022}/sharepoint/model/list-item.mjs +1 -1
- package/{esm2020 → esm2022}/sharepoint/model/list-items-request.mjs +1 -1
- package/{esm2020 → esm2022}/sharepoint/model/photo-item.mjs +1 -1
- package/{esm2020 → esm2022}/sharepoint/model/service-config.mjs +28 -28
- package/{esm2020 → esm2022}/sharepoint/model/uri-request.mjs +1 -1
- package/{esm2020 → esm2022}/sharepoint/model/user-request.mjs +1 -1
- package/{esm2020 → esm2022}/sharepoint/model/user.mjs +1 -1
- package/esm2022/sharepoint/pipes/employee-photo-url.pipe.mjs +39 -0
- package/{esm2020 → esm2022}/sharepoint/public_api.mjs +16 -16
- package/esm2022/sharepoint/services/sharepoint.service.mjs +149 -0
- package/esm2022/sharepoint/sharepoint.module.mjs +50 -0
- package/{esm2020 → esm2022}/upload/cleavelandprice-ngx-lib-upload.mjs +4 -4
- package/esm2022/upload/components/upload/upload.component.mjs +35 -0
- package/esm2022/upload/components/upload-dialog/upload-dialog.component.mjs +87 -0
- package/{esm2020 → esm2022}/upload/model/database-file-info.mjs +1 -1
- package/{esm2020 → esm2022}/upload/model/file-upload-request.mjs +1 -1
- package/{esm2020 → esm2022}/upload/model/filesystem-file-info.mjs +1 -1
- package/{esm2020 → esm2022}/upload/model/service-config.mjs +15 -15
- package/{esm2020 → esm2022}/upload/public_api.mjs +8 -8
- package/esm2022/upload/services/upload.service.mjs +92 -0
- package/esm2022/upload/upload.module.mjs +66 -0
- package/{esm2020 → esm2022}/url-utilities/cleavelandprice-ngx-lib-url-utilities.mjs +4 -4
- package/esm2022/url-utilities/pipes/safe-resource-url.pipe.mjs +21 -0
- package/esm2022/url-utilities/pipes/safe-url.pipe.mjs +21 -0
- package/esm2022/url-utilities/pipes/uri-scheme.pipe.mjs +106 -0
- package/{esm2020 → esm2022}/url-utilities/public_api.mjs +4 -4
- package/esm2022/url-utilities/url-utilities.module.mjs +35 -0
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-active-directory-gui.mjs +586 -587
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-active-directory-gui.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-active-directory.mjs +155 -156
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-active-directory.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-authentication-object.mjs +141 -140
- package/fesm2022/cleavelandprice-ngx-lib-authentication-object.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-authentication-token-gui.mjs +232 -226
- package/fesm2022/cleavelandprice-ngx-lib-authentication-token-gui.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-authentication-token.mjs +152 -151
- package/fesm2022/cleavelandprice-ngx-lib-authentication-token.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/cleavelandprice-ngx-lib-authentication.mjs +25 -25
- package/fesm2022/cleavelandprice-ngx-lib-authentication.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-dialog.mjs +205 -205
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-dialog.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-msgraph.mjs +161 -162
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-msgraph.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-quill-mention.mjs +188 -189
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-quill-mention.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-quill.mjs +492 -493
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-quill.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-sharepoint.mjs +269 -270
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-sharepoint.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-upload.mjs +250 -251
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib-upload.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/cleavelandprice-ngx-lib-url-utilities.mjs +159 -160
- package/fesm2022/cleavelandprice-ngx-lib-url-utilities.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib.mjs +91 -92
- package/{fesm2020 → fesm2022}/cleavelandprice-ngx-lib.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/model/app-path-config.d.ts +10 -10
- package/lib/model/app-type.d.ts +5 -5
- package/lib/model/app.d.ts +16 -16
- package/lib/model/service-config.d.ts +6 -6
- package/lib/ngx-lib.module.d.ts +10 -10
- package/lib/services/app-path-config.service.d.ts +20 -20
- package/msgraph/index.d.ts +5 -5
- package/msgraph/model/address.d.ts +7 -7
- package/msgraph/model/attendee.d.ts +13 -13
- package/msgraph/model/bulk-calendar-events.d.ts +5 -5
- package/msgraph/model/bulk-calendar-request.d.ts +3 -3
- package/msgraph/model/calendar-event.d.ts +53 -53
- package/msgraph/model/coordinates.d.ts +7 -7
- package/msgraph/model/email-address.d.ts +4 -4
- package/msgraph/model/location.d.ts +12 -12
- package/msgraph/model/online-meeting-info.d.ts +9 -9
- package/msgraph/model/patterned-recurrence.d.ts +6 -6
- package/msgraph/model/phone.d.ts +4 -4
- package/msgraph/model/recipient.d.ts +4 -4
- package/msgraph/model/recurrence-pattern.d.ts +9 -9
- package/msgraph/model/recurrence-range.d.ts +7 -7
- package/msgraph/model/response-status.d.ts +4 -4
- package/msgraph/model/room.d.ts +22 -22
- package/msgraph/model/user.d.ts +29 -29
- package/msgraph/msgraph.module.d.ts +10 -10
- package/msgraph/public_api.d.ts +18 -18
- package/package.json +61 -93
- package/public_api.d.ts +6 -6
- package/quill/components/editor/editor.component.d.ts +53 -53
- package/quill/components/raw/raw.component.d.ts +7 -7
- package/quill/index.d.ts +5 -5
- package/quill/mention/components/editor/editor.component.d.ts +20 -20
- package/quill/mention/index.d.ts +5 -5
- package/quill/mention/model/buttons.d.ts +3 -3
- package/quill/mention/model/config.d.ts +3 -3
- package/quill/mention/model/dialog-data.d.ts +5 -5
- package/quill/mention/model/icons.d.ts +3 -3
- package/quill/mention/model/tooltips.d.ts +3 -3
- package/quill/mention/public_api.d.ts +7 -7
- package/quill/mention/quill-mention.module.d.ts +17 -17
- package/quill/model/buttons.d.ts +29 -29
- package/quill/model/config.d.ts +30 -30
- package/quill/model/dialog-data.d.ts +21 -21
- package/quill/model/icons.d.ts +6 -6
- package/quill/model/tooltips.d.ts +32 -32
- package/quill/public_api.d.ts +8 -8
- package/quill/quill.module.d.ts +20 -20
- package/sharepoint/components/employee-photo/employee-photo.component.d.ts +16 -16
- package/sharepoint/index.d.ts +5 -5
- package/sharepoint/model/base-item.d.ts +4 -4
- package/sharepoint/model/base-request-credential.d.ts +4 -4
- package/sharepoint/model/base-request.d.ts +8 -8
- package/sharepoint/model/cache-object.d.ts +4 -4
- package/sharepoint/model/file-request.d.ts +4 -4
- package/sharepoint/model/folder-request.d.ts +4 -4
- package/sharepoint/model/list-item.d.ts +10 -10
- package/sharepoint/model/list-items-request.d.ts +5 -5
- package/sharepoint/model/photo-item.d.ts +11 -11
- package/sharepoint/model/service-config.d.ts +23 -23
- package/sharepoint/model/uri-request.d.ts +4 -4
- package/sharepoint/model/user-request.d.ts +4 -4
- package/sharepoint/model/user.d.ts +12 -12
- package/sharepoint/pipes/employee-photo-url.pipe.d.ts +12 -12
- package/sharepoint/public_api.d.ts +16 -16
- package/sharepoint/services/sharepoint.service.d.ts +25 -25
- package/sharepoint/sharepoint.module.d.ts +13 -13
- package/upload/components/upload/upload.component.d.ts +15 -15
- package/upload/components/upload-dialog/upload-dialog.component.d.ts +24 -24
- package/upload/index.d.ts +5 -5
- package/upload/model/database-file-info.d.ts +7 -7
- package/upload/model/file-upload-request.d.ts +6 -6
- package/upload/model/filesystem-file-info.d.ts +12 -12
- package/upload/model/service-config.d.ts +15 -15
- package/upload/public_api.d.ts +8 -8
- package/upload/services/upload.service.d.ts +18 -18
- package/upload/upload.module.d.ts +17 -17
- package/url-utilities/index.d.ts +5 -5
- package/url-utilities/pipes/safe-resource-url.pipe.d.ts +10 -10
- package/url-utilities/pipes/safe-url.pipe.d.ts +10 -10
- package/url-utilities/pipes/uri-scheme.pipe.d.ts +9 -9
- package/url-utilities/public_api.d.ts +4 -4
- package/url-utilities/url-utilities.module.d.ts +10 -10
- package/esm2020/active-directory/active-directory.module.mjs +0 -39
- package/esm2020/active-directory/gui/components/user-chooser/user-chooser.component.mjs +0 -374
- package/esm2020/active-directory/gui/components/user-form-field/user-form-field.component.mjs +0 -129
- package/esm2020/active-directory/gui/gui.module.mjs +0 -96
- package/esm2020/active-directory/services/active-directory.service.mjs +0 -111
- package/esm2020/authentication/authentication.base.module.mjs +0 -19
- package/esm2020/authentication/model/service-config.mjs +0 -11
- package/esm2020/authentication/object/model/service-config.mjs +0 -9
- package/esm2020/authentication/object/object.module.mjs +0 -39
- package/esm2020/authentication/object/services/authentication.service.mjs +0 -106
- package/esm2020/authentication/token/gui/components/login/login.component.mjs +0 -39
- package/esm2020/authentication/token/gui/components/login-form/login-form.component.mjs +0 -71
- package/esm2020/authentication/token/gui/model/service-config.mjs +0 -10
- package/esm2020/authentication/token/gui/services/authentication.service.mjs +0 -78
- package/esm2020/authentication/token/gui/token-gui.module.mjs +0 -81
- package/esm2020/authentication/token/model/service-config.mjs +0 -10
- package/esm2020/authentication/token/services/authentication.service.mjs +0 -117
- package/esm2020/authentication/token/token.module.mjs +0 -39
- package/esm2020/dialog/components/base/base.component.mjs +0 -92
- package/esm2020/dialog/components/choice/choice.component.mjs +0 -23
- package/esm2020/dialog/components/confirmation/confirmation.component.mjs +0 -23
- package/esm2020/dialog/components/input/input.component.mjs +0 -23
- package/esm2020/dialog/components/message/message.component.mjs +0 -23
- package/esm2020/dialog/dialog.module.mjs +0 -68
- package/esm2020/lib/model/service-config.mjs +0 -21
- package/esm2020/lib/ngx-lib.module.mjs +0 -36
- package/esm2020/lib/services/app-path-config.service.mjs +0 -45
- package/esm2020/msgraph/msgraph.module.mjs +0 -32
- package/esm2020/quill/components/editor/editor.component.mjs +0 -296
- package/esm2020/quill/components/raw/raw.component.mjs +0 -24
- package/esm2020/quill/mention/components/editor/editor.component.mjs +0 -155
- package/esm2020/quill/mention/quill-mention.module.mjs +0 -65
- package/esm2020/quill/quill.module.mjs +0 -78
- package/esm2020/sharepoint/components/employee-photo/employee-photo.component.mjs +0 -37
- package/esm2020/sharepoint/pipes/employee-photo-url.pipe.mjs +0 -38
- package/esm2020/sharepoint/services/sharepoint.service.mjs +0 -148
- package/esm2020/sharepoint/sharepoint.module.mjs +0 -49
- package/esm2020/upload/components/upload/upload.component.mjs +0 -34
- package/esm2020/upload/components/upload-dialog/upload-dialog.component.mjs +0 -86
- package/esm2020/upload/services/upload.service.mjs +0 -91
- package/esm2020/upload/upload.module.mjs +0 -65
- package/esm2020/url-utilities/pipes/safe-resource-url.pipe.mjs +0 -20
- package/esm2020/url-utilities/pipes/safe-url.pipe.mjs +0 -20
- package/esm2020/url-utilities/pipes/uri-scheme.pipe.mjs +0 -105
- package/esm2020/url-utilities/url-utilities.module.mjs +0 -34
- package/fesm2015/cleavelandprice-ngx-lib-active-directory-gui.mjs +0 -652
- package/fesm2015/cleavelandprice-ngx-lib-active-directory-gui.mjs.map +0 -1
- package/fesm2015/cleavelandprice-ngx-lib-active-directory.mjs +0 -187
- package/fesm2015/cleavelandprice-ngx-lib-active-directory.mjs.map +0 -1
- package/fesm2015/cleavelandprice-ngx-lib-authentication-object.mjs +0 -161
- package/fesm2015/cleavelandprice-ngx-lib-authentication-object.mjs.map +0 -1
- package/fesm2015/cleavelandprice-ngx-lib-authentication-token-gui.mjs +0 -274
- package/fesm2015/cleavelandprice-ngx-lib-authentication-token-gui.mjs.map +0 -1
- package/fesm2015/cleavelandprice-ngx-lib-authentication-token.mjs +0 -173
- package/fesm2015/cleavelandprice-ngx-lib-authentication-token.mjs.map +0 -1
- package/fesm2015/cleavelandprice-ngx-lib-authentication.mjs.map +0 -1
- package/fesm2015/cleavelandprice-ngx-lib-dialog.mjs +0 -250
- package/fesm2015/cleavelandprice-ngx-lib-dialog.mjs.map +0 -1
- package/fesm2015/cleavelandprice-ngx-lib-msgraph.mjs +0 -178
- package/fesm2015/cleavelandprice-ngx-lib-msgraph.mjs.map +0 -1
- package/fesm2015/cleavelandprice-ngx-lib-quill-mention.mjs +0 -230
- package/fesm2015/cleavelandprice-ngx-lib-quill-mention.mjs.map +0 -1
- package/fesm2015/cleavelandprice-ngx-lib-quill.mjs +0 -539
- package/fesm2015/cleavelandprice-ngx-lib-quill.mjs.map +0 -1
- package/fesm2015/cleavelandprice-ngx-lib-sharepoint.mjs +0 -310
- package/fesm2015/cleavelandprice-ngx-lib-sharepoint.mjs.map +0 -1
- package/fesm2015/cleavelandprice-ngx-lib-upload.mjs +0 -288
- package/fesm2015/cleavelandprice-ngx-lib-upload.mjs.map +0 -1
- package/fesm2015/cleavelandprice-ngx-lib-url-utilities.mjs.map +0 -1
- package/fesm2015/cleavelandprice-ngx-lib.mjs +0 -113
- package/fesm2015/cleavelandprice-ngx-lib.mjs.map +0 -1
- package/fesm2020/cleavelandprice-ngx-lib-authentication-object.mjs.map +0 -1
- package/fesm2020/cleavelandprice-ngx-lib-authentication-token-gui.mjs.map +0 -1
- package/fesm2020/cleavelandprice-ngx-lib-authentication-token.mjs.map +0 -1
- package/fesm2020/cleavelandprice-ngx-lib-authentication.mjs +0 -38
- package/fesm2020/cleavelandprice-ngx-lib-authentication.mjs.map +0 -1
- package/fesm2020/cleavelandprice-ngx-lib-url-utilities.mjs +0 -177
- package/fesm2020/cleavelandprice-ngx-lib-url-utilities.mjs.map +0 -1
|
@@ -1,539 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Inject, EventEmitter, forwardRef, Optional, ViewChild, Input, Output, NgModule, SkipSelf } from '@angular/core';
|
|
3
|
-
import * as i3 from '@angular/forms';
|
|
4
|
-
import { NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import * as i1 from '@angular/material/dialog';
|
|
6
|
-
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
7
|
-
import * as i6$1 from 'ngx-quill';
|
|
8
|
-
import { QuillEditorComponent, QuillModule as QuillModule$1 } from 'ngx-quill';
|
|
9
|
-
import * as i2 from '@angular/material/button';
|
|
10
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
11
|
-
import * as i4 from '@angular/material/form-field';
|
|
12
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
13
|
-
import * as i5 from '@angular/material/icon';
|
|
14
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
15
|
-
import * as i6 from '@angular/material/input';
|
|
16
|
-
import { MatInputModule } from '@angular/material/input';
|
|
17
|
-
import * as i2$1 from '@angular/common';
|
|
18
|
-
import { CommonModule } from '@angular/common';
|
|
19
|
-
import * as i5$1 from '@angular/material/tooltip';
|
|
20
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
21
|
-
|
|
22
|
-
class Buttons {
|
|
23
|
-
constructor() {
|
|
24
|
-
//#region Font Style
|
|
25
|
-
this.bold = true;
|
|
26
|
-
this.italic = true;
|
|
27
|
-
this.strike = true;
|
|
28
|
-
this.underline = true;
|
|
29
|
-
//#endregion
|
|
30
|
-
//#region Media
|
|
31
|
-
this.link = true;
|
|
32
|
-
this.image = true;
|
|
33
|
-
this.video = true;
|
|
34
|
-
//#endregion
|
|
35
|
-
//#region Block Style
|
|
36
|
-
this.blockquote = true;
|
|
37
|
-
this.codeblock = true;
|
|
38
|
-
//#endregion
|
|
39
|
-
//#region Heading Style
|
|
40
|
-
this.h1 = true;
|
|
41
|
-
this.h2 = true;
|
|
42
|
-
//#endregion
|
|
43
|
-
//#region Color
|
|
44
|
-
this.color = true;
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region List Style
|
|
47
|
-
this.bulleted = true;
|
|
48
|
-
this.ordered = true;
|
|
49
|
-
//#endregion
|
|
50
|
-
//#region Script Style
|
|
51
|
-
this.subScript = true;
|
|
52
|
-
this.superScript = true;
|
|
53
|
-
//#endregion
|
|
54
|
-
//#region Indent Style
|
|
55
|
-
this.increaseIndent = true;
|
|
56
|
-
this.decreaseIndent = true;
|
|
57
|
-
//#endregion
|
|
58
|
-
//#region DropDowns
|
|
59
|
-
this.align = true;
|
|
60
|
-
this.font = true;
|
|
61
|
-
this.fontSize = true;
|
|
62
|
-
this.headingStyle = true;
|
|
63
|
-
//#endregion
|
|
64
|
-
//#region Single Buttons
|
|
65
|
-
this.clean = true;
|
|
66
|
-
this.formula = true;
|
|
67
|
-
this.rtl = true;
|
|
68
|
-
this.editorSize = true;
|
|
69
|
-
this.rawEditor = false;
|
|
70
|
-
//#endregion
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
class Icons {
|
|
75
|
-
constructor() {
|
|
76
|
-
this.maximize = 'open_in_full';
|
|
77
|
-
this.minimize = 'close_fullscreen';
|
|
78
|
-
this.popout = 'open_in_full';
|
|
79
|
-
this.popin = 'done';
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
class Tooltips {
|
|
84
|
-
constructor() {
|
|
85
|
-
//#region Font Style
|
|
86
|
-
this.bold = 'Bold';
|
|
87
|
-
this.italic = 'Italic';
|
|
88
|
-
this.strike = 'Strikethrough';
|
|
89
|
-
this.underline = 'Underline';
|
|
90
|
-
//#endregion
|
|
91
|
-
//#region Media
|
|
92
|
-
this.link = 'Link';
|
|
93
|
-
this.image = 'Insert Image';
|
|
94
|
-
this.video = 'Insert Video';
|
|
95
|
-
//#endregion
|
|
96
|
-
//#region Block Style
|
|
97
|
-
this.blockquote = 'Blockquote';
|
|
98
|
-
this.codeblock = 'Code Block';
|
|
99
|
-
//#endregion
|
|
100
|
-
//#region Heading Style
|
|
101
|
-
this.h1 = 'Heading 1';
|
|
102
|
-
this.h2 = 'Heading 2';
|
|
103
|
-
//#endregion
|
|
104
|
-
//#region Color
|
|
105
|
-
this.color = 'Font / Background Color';
|
|
106
|
-
//#endregion
|
|
107
|
-
//#region List Style
|
|
108
|
-
this.bulleted = 'Bulleted List';
|
|
109
|
-
this.ordered = 'Ordered List';
|
|
110
|
-
//#endregion
|
|
111
|
-
//#region Script Style
|
|
112
|
-
this.subScript = 'Subscript';
|
|
113
|
-
this.superScript = 'Superscript';
|
|
114
|
-
//#endregion
|
|
115
|
-
//#region Indent Style
|
|
116
|
-
this.increaseIndent = 'Increase Indent';
|
|
117
|
-
this.decreaseIndent = 'Decrease Indent';
|
|
118
|
-
//#endregion
|
|
119
|
-
//#region DropDowns
|
|
120
|
-
this.align = 'Align';
|
|
121
|
-
this.font = 'Font';
|
|
122
|
-
this.fontSize = 'Font Size';
|
|
123
|
-
this.headingStyle = 'Heading';
|
|
124
|
-
//#endregion
|
|
125
|
-
//#region Single Buttons
|
|
126
|
-
this.clean = 'Clean';
|
|
127
|
-
this.formula = 'Formula';
|
|
128
|
-
this.rtl = 'Right-To-Left';
|
|
129
|
-
this.maximize = 'Maximize';
|
|
130
|
-
this.minimize = 'Minimize';
|
|
131
|
-
this.popout = 'Popout';
|
|
132
|
-
this.popin = 'Done';
|
|
133
|
-
this.rawEditor = 'Edit raw HTML (dangerous!)';
|
|
134
|
-
//#endregion
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
class Config {
|
|
139
|
-
constructor() {
|
|
140
|
-
this.buttons = new Buttons();
|
|
141
|
-
this.tooltips = new Tooltips();
|
|
142
|
-
this.icons = new Icons();
|
|
143
|
-
//#region These can be overriden via @Input()
|
|
144
|
-
this.format = 'html';
|
|
145
|
-
this.height = '50vh';
|
|
146
|
-
this.width = '100%';
|
|
147
|
-
this.fullscreenHeight = '85vh';
|
|
148
|
-
this.fullscreenWidth = '100%';
|
|
149
|
-
this.enableTooltips = true;
|
|
150
|
-
this.fullscreen = false;
|
|
151
|
-
this.fullscreenMode = 'popout';
|
|
152
|
-
this.readonly = false;
|
|
153
|
-
this.applyReadonlyStyle = true;
|
|
154
|
-
this.showToolbar = true;
|
|
155
|
-
this.showBorder = true;
|
|
156
|
-
//#region Optional Quill modules
|
|
157
|
-
this.imageResizeModule = true;
|
|
158
|
-
this.imageDropModule = true;
|
|
159
|
-
//mentionModule = true;
|
|
160
|
-
this.syntaxModule = true;
|
|
161
|
-
//#endregion
|
|
162
|
-
//#endregion
|
|
163
|
-
//#region Groups
|
|
164
|
-
this.showBlockStyle = () => this.buttons.blockquote || this.buttons.codeblock;
|
|
165
|
-
this.showFontStyle = () => this.buttons.bold || this.buttons.italic || this.buttons.strike || this.buttons.underline;
|
|
166
|
-
this.showQuickHeadingStyle = () => this.buttons.h1 || this.buttons.h2;
|
|
167
|
-
this.showIndentStyle = () => this.buttons.decreaseIndent || this.buttons.increaseIndent;
|
|
168
|
-
this.showListStyle = () => this.buttons.bulleted || this.buttons.ordered;
|
|
169
|
-
this.showMedia = () => this.buttons.link || this.buttons.image || this.buttons.video;
|
|
170
|
-
this.showScriptStyle = () => this.buttons.subScript || this.buttons.superScript;
|
|
171
|
-
//#endregion
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
class RawComponent {
|
|
176
|
-
constructor(data) {
|
|
177
|
-
this.data = data;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
RawComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RawComponent, deps: [{ token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
181
|
-
RawComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: RawComponent, selector: "cpquill-raw", ngImport: i0, template: "<mat-dialog-content>\n <form>\n <mat-form-field appearance=\"outline\">\n <textarea matInput [(ngModel)]=\"data\" name=\"data\"></textarea>\n </mat-form-field>\n </form>\n</mat-dialog-content>\n\n<mat-dialog-actions>\n <button mat-raised-button color=\"warn\" mat-dialog-close=\"__DO!!NOT!!UPDATE__\">\n <mat-icon>cancel</mat-icon>\n <span>Cancel</span>\n </button>\n\n <button mat-raised-button color=\"primary\" [mat-dialog-close]=\"data\">\n <mat-icon>done</mat-icon>\n <span>Accept</span>\n </button>\n</mat-dialog-actions>", styles: ["mat-dialog-content{height:95%;max-height:initial!important}form{width:100%}mat-form-field{width:100%}textarea{height:70vh}\n"], dependencies: [{ kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }] });
|
|
182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RawComponent, decorators: [{
|
|
183
|
-
type: Component,
|
|
184
|
-
args: [{ selector: 'cpquill-raw', template: "<mat-dialog-content>\n <form>\n <mat-form-field appearance=\"outline\">\n <textarea matInput [(ngModel)]=\"data\" name=\"data\"></textarea>\n </mat-form-field>\n </form>\n</mat-dialog-content>\n\n<mat-dialog-actions>\n <button mat-raised-button color=\"warn\" mat-dialog-close=\"__DO!!NOT!!UPDATE__\">\n <mat-icon>cancel</mat-icon>\n <span>Cancel</span>\n </button>\n\n <button mat-raised-button color=\"primary\" [mat-dialog-close]=\"data\">\n <mat-icon>done</mat-icon>\n <span>Accept</span>\n </button>\n</mat-dialog-actions>", styles: ["mat-dialog-content{height:95%;max-height:initial!important}form{width:100%}mat-form-field{width:100%}textarea{height:70vh}\n"] }]
|
|
185
|
-
}], ctorParameters: function () {
|
|
186
|
-
return [{ type: undefined, decorators: [{
|
|
187
|
-
type: Inject,
|
|
188
|
-
args: [MAT_DIALOG_DATA]
|
|
189
|
-
}] }];
|
|
190
|
-
} });
|
|
191
|
-
|
|
192
|
-
class EditorComponent {
|
|
193
|
-
//#endregion
|
|
194
|
-
constructor(data, dialogRef,
|
|
195
|
-
//private activeDirectoryService: ActiveDirectoryService,
|
|
196
|
-
dialog) {
|
|
197
|
-
this.data = data;
|
|
198
|
-
this.dialogRef = dialogRef;
|
|
199
|
-
this.dialog = dialog;
|
|
200
|
-
this.onChange = (_) => { }; // Invoked when the model has been changed
|
|
201
|
-
this.onTouched = () => { }; // Invoked when the model has been touched
|
|
202
|
-
//#endregion
|
|
203
|
-
//#endregion
|
|
204
|
-
this.fullscreenChanged = new EventEmitter();
|
|
205
|
-
//#region Passthrough events
|
|
206
|
-
this.onBlur = new EventEmitter();
|
|
207
|
-
this.onContentChanged = new EventEmitter();
|
|
208
|
-
this.onEditorChanged = new EventEmitter();
|
|
209
|
-
this.onEditorCreated = new EventEmitter();
|
|
210
|
-
this.onFocus = new EventEmitter();
|
|
211
|
-
this.onSelectionChanged = new EventEmitter();
|
|
212
|
-
}
|
|
213
|
-
ngOnInit() {
|
|
214
|
-
this.initialize();
|
|
215
|
-
/*if (!this.users) {
|
|
216
|
-
this.activeDirectoryService.getUsers().subscribe(users =>
|
|
217
|
-
this.users = users
|
|
218
|
-
);
|
|
219
|
-
}*/
|
|
220
|
-
}
|
|
221
|
-
initialize() {
|
|
222
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21;
|
|
223
|
-
this.config = (_c = (_a = this.config) !== null && _a !== void 0 ? _a : (_b = this.data) === null || _b === void 0 ? void 0 : _b.config) !== null && _c !== void 0 ? _c : new Config();
|
|
224
|
-
this.value = (_d = this.value) !== null && _d !== void 0 ? _d : (_e = this.data) === null || _e === void 0 ? void 0 : _e.value;
|
|
225
|
-
// Moved to client responsibility
|
|
226
|
-
/*if (this.imageDropModule) {
|
|
227
|
-
Quill.register('modules/imageDrop', ImageDrop);
|
|
228
|
-
}*/
|
|
229
|
-
this.placeholder = (_f = this.placeholder) !== null && _f !== void 0 ? _f : (_g = this.data) === null || _g === void 0 ? void 0 : _g.placeholder;
|
|
230
|
-
//this.users = this.users ?? this.data?.users;
|
|
231
|
-
this.imageDropModule = (_k = (_h = this.imageDropModule) !== null && _h !== void 0 ? _h : (_j = this.data) === null || _j === void 0 ? void 0 : _j.imageDropModule) !== null && _k !== void 0 ? _k : this.config.imageDropModule;
|
|
232
|
-
this.imageResizeModule = (_o = (_l = this.imageResizeModule) !== null && _l !== void 0 ? _l : (_m = this.data) === null || _m === void 0 ? void 0 : _m.imageResizeModule) !== null && _o !== void 0 ? _o : this.config.imageResizeModule;
|
|
233
|
-
this.syntaxModule = (_r = (_p = this.syntaxModule) !== null && _p !== void 0 ? _p : (_q = this.data) === null || _q === void 0 ? void 0 : _q.syntaxModule) !== null && _r !== void 0 ? _r : this.config.syntaxModule;
|
|
234
|
-
this.format = (_u = (_s = this.format) !== null && _s !== void 0 ? _s : (_t = this.data) === null || _t === void 0 ? void 0 : _t.format) !== null && _u !== void 0 ? _u : this.config.format;
|
|
235
|
-
this.height = (_x = (_v = this.height) !== null && _v !== void 0 ? _v : (_w = this.data) === null || _w === void 0 ? void 0 : _w.height) !== null && _x !== void 0 ? _x : this.config.height;
|
|
236
|
-
this.width = (_0 = (_y = this.width) !== null && _y !== void 0 ? _y : (_z = this.data) === null || _z === void 0 ? void 0 : _z.width) !== null && _0 !== void 0 ? _0 : this.config.width;
|
|
237
|
-
this.fullscreenHeight = (_3 = (_1 = this.fullscreenHeight) !== null && _1 !== void 0 ? _1 : (_2 = this.data) === null || _2 === void 0 ? void 0 : _2.maxHeight) !== null && _3 !== void 0 ? _3 : this.config.fullscreenHeight;
|
|
238
|
-
this.fullscreenWidth = (_6 = (_4 = this.fullscreenWidth) !== null && _4 !== void 0 ? _4 : (_5 = this.data) === null || _5 === void 0 ? void 0 : _5.maxWidth) !== null && _6 !== void 0 ? _6 : this.config.fullscreenWidth;
|
|
239
|
-
this.fullscreenMode = (_9 = (_7 = this.fullscreenMode) !== null && _7 !== void 0 ? _7 : (_8 = this.data) === null || _8 === void 0 ? void 0 : _8.fullscreenMode) !== null && _9 !== void 0 ? _9 : this.config.fullscreenMode;
|
|
240
|
-
this.enableTooltips = this.enableTooltips !== undefined ?
|
|
241
|
-
this.enableTooltips :
|
|
242
|
-
(_11 = (_10 = this.data) === null || _10 === void 0 ? void 0 : _10.enableTooltips) !== null && _11 !== void 0 ? _11 : this.config.enableTooltips;
|
|
243
|
-
this.fullscreen = this.fullscreen !== undefined ?
|
|
244
|
-
this.fullscreen :
|
|
245
|
-
(_13 = (_12 = this.data) === null || _12 === void 0 ? void 0 : _12.fullscreen) !== null && _13 !== void 0 ? _13 : this.config.fullscreen;
|
|
246
|
-
this.readonly = this.readonly !== undefined ?
|
|
247
|
-
this.readonly :
|
|
248
|
-
(_15 = (_14 = this.data) === null || _14 === void 0 ? void 0 : _14.readonly) !== null && _15 !== void 0 ? _15 : this.config.readonly;
|
|
249
|
-
this.applyReadonlyStyle = this.applyReadonlyStyle !== undefined ?
|
|
250
|
-
this.applyReadonlyStyle :
|
|
251
|
-
(_17 = (_16 = this.data) === null || _16 === void 0 ? void 0 : _16.applyReadonlyStyle) !== null && _17 !== void 0 ? _17 : this.config.applyReadonlyStyle;
|
|
252
|
-
this.showToolbar = this.showToolbar !== undefined ?
|
|
253
|
-
this.showToolbar :
|
|
254
|
-
(_19 = (_18 = this.data) === null || _18 === void 0 ? void 0 : _18.showToolbar) !== null && _19 !== void 0 ? _19 : this.config.showToolbar;
|
|
255
|
-
this.showBorder = this.showBorder !== undefined ?
|
|
256
|
-
this.showBorder :
|
|
257
|
-
(_21 = (_20 = this.data) === null || _20 === void 0 ? void 0 : _20.showBorder) !== null && _21 !== void 0 ? _21 : this.config.showBorder;
|
|
258
|
-
}
|
|
259
|
-
toggleFullscreen() {
|
|
260
|
-
if (this.fullscreenMode === 'expand') {
|
|
261
|
-
this.fullscreen = !this.fullscreen;
|
|
262
|
-
this.fullscreenChanged.emit(this.fullscreen);
|
|
263
|
-
}
|
|
264
|
-
else {
|
|
265
|
-
if (this.fullscreen) {
|
|
266
|
-
this.dialogRef.close(this.value);
|
|
267
|
-
this.fullscreenChanged.emit(false);
|
|
268
|
-
}
|
|
269
|
-
else {
|
|
270
|
-
const data = {
|
|
271
|
-
value: this.value,
|
|
272
|
-
config: this.config,
|
|
273
|
-
placeholder: this.placeholder,
|
|
274
|
-
format: this.format,
|
|
275
|
-
height: this.fullscreenHeight,
|
|
276
|
-
width: '100%',
|
|
277
|
-
maxHeight: this.fullscreenHeight,
|
|
278
|
-
maxWidth: '100%',
|
|
279
|
-
enableTooltips: this.enableTooltips,
|
|
280
|
-
fullscreen: true,
|
|
281
|
-
fullscreenMode: this.fullscreenMode,
|
|
282
|
-
readonly: this.readonly,
|
|
283
|
-
applyReadonlyStyle: this.applyReadonlyStyle,
|
|
284
|
-
showToolbar: this.showToolbar,
|
|
285
|
-
showBorder: this.showBorder,
|
|
286
|
-
imageResizeModule: this.imageResizeModule,
|
|
287
|
-
imageDropModule: this.imageDropModule,
|
|
288
|
-
syntaxModule: this.syntaxModule
|
|
289
|
-
//users: this.users
|
|
290
|
-
};
|
|
291
|
-
this.dialog.open(EditorComponent, {
|
|
292
|
-
disableClose: true,
|
|
293
|
-
width: this.fullscreenWidth,
|
|
294
|
-
height: this.fullscreenHeight,
|
|
295
|
-
data
|
|
296
|
-
})
|
|
297
|
-
.afterClosed()
|
|
298
|
-
.subscribe(value => {
|
|
299
|
-
this.value = value;
|
|
300
|
-
this.updateChanges();
|
|
301
|
-
});
|
|
302
|
-
this.fullscreenChanged.emit(true);
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
rawEdit() {
|
|
307
|
-
this.dialog.open(RawComponent, {
|
|
308
|
-
data: this.value,
|
|
309
|
-
disableClose: true,
|
|
310
|
-
height: '90%',
|
|
311
|
-
width: '100%'
|
|
312
|
-
})
|
|
313
|
-
.afterClosed()
|
|
314
|
-
.subscribe(value => {
|
|
315
|
-
if (value === '__DO!!NOT!!UPDATE__') {
|
|
316
|
-
return;
|
|
317
|
-
}
|
|
318
|
-
this.value = value;
|
|
319
|
-
});
|
|
320
|
-
}
|
|
321
|
-
tooltip(val) {
|
|
322
|
-
return this.enableTooltips ? val : '';
|
|
323
|
-
}
|
|
324
|
-
get modules() {
|
|
325
|
-
//if (!this.users) { return undefined; }
|
|
326
|
-
const modules = {};
|
|
327
|
-
if (!this.showToolbar) {
|
|
328
|
-
modules['toolbar'] = [];
|
|
329
|
-
}
|
|
330
|
-
if (this.imageResizeModule) {
|
|
331
|
-
modules['imageResize'] = {};
|
|
332
|
-
}
|
|
333
|
-
if (this.imageDropModule) {
|
|
334
|
-
modules['imageDrop'] = true;
|
|
335
|
-
}
|
|
336
|
-
if (this.syntaxModule) {
|
|
337
|
-
modules['syntax'] = true;
|
|
338
|
-
}
|
|
339
|
-
/*if (this.mentionModule) {
|
|
340
|
-
modules['mention'] = {
|
|
341
|
-
allowedChars: /^[A-Za-z\sÅÄÖåäö]*$/,
|
|
342
|
-
|
|
343
|
-
onSelect: (item: DOMStringMap, insertItem: any) => {
|
|
344
|
-
const editor = this.editor!.quillEditor
|
|
345
|
-
insertItem(item)
|
|
346
|
-
// necessary because quill-mention triggers changes as 'api' instead of 'user'
|
|
347
|
-
editor.insertText(editor.getLength() - 1, '', 'user')
|
|
348
|
-
},
|
|
349
|
-
|
|
350
|
-
source: (searchTerm: string, renderList: any) => {
|
|
351
|
-
if (searchTerm.length === 0) {
|
|
352
|
-
renderList(this.users?.map(u => ({ value: `${u.displayName} (${u.sAMAccountName.toLowerCase()})` })), searchTerm)
|
|
353
|
-
} else {
|
|
354
|
-
const matches: any[] = []
|
|
355
|
-
|
|
356
|
-
this.users!.forEach((entry) => {
|
|
357
|
-
if (
|
|
358
|
-
entry.displayName.toLowerCase().indexOf(searchTerm.toLowerCase()) !== -1 ||
|
|
359
|
-
entry.sAMAccountName.toLowerCase().indexOf(searchTerm.toLowerCase()) !== -1
|
|
360
|
-
) {
|
|
361
|
-
matches.push({ value: `${entry.displayName} (${entry.sAMAccountName.toLowerCase()})` })
|
|
362
|
-
}
|
|
363
|
-
})
|
|
364
|
-
|
|
365
|
-
renderList(matches, searchTerm)
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
};
|
|
369
|
-
}*/
|
|
370
|
-
return modules;
|
|
371
|
-
}
|
|
372
|
-
//#region ControlValueAccessor methods
|
|
373
|
-
// Method that is invoked on an update of a model.
|
|
374
|
-
updateChanges() {
|
|
375
|
-
this.onChange(this.value);
|
|
376
|
-
}
|
|
377
|
-
//#region ControlValueAccessor Overrides
|
|
378
|
-
// Writes a new item to the element.
|
|
379
|
-
writeValue(value) {
|
|
380
|
-
this.value = value;
|
|
381
|
-
this.updateChanges();
|
|
382
|
-
}
|
|
383
|
-
// Registers a callback function that should be called when the control's value changes in the UI.
|
|
384
|
-
registerOnChange(fn) {
|
|
385
|
-
this.onChange = fn;
|
|
386
|
-
}
|
|
387
|
-
// Registers a callback function that should be called when the control receives a blur event.
|
|
388
|
-
registerOnTouched(fn) {
|
|
389
|
-
this.onTouched = fn;
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorComponent, deps: [{ token: MAT_DIALOG_DATA, optional: true }, { token: i1.MatDialogRef, optional: true }, { token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
|
|
393
|
-
EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: EditorComponent, selector: "cpquill-editor", inputs: { config: "config", placeholder: "placeholder", format: "format", height: "height", width: "width", fullscreenHeight: "fullscreenHeight", fullscreenWidth: "fullscreenWidth", fullscreenMode: "fullscreenMode", enableTooltips: "enableTooltips", fullscreen: "fullscreen", readonly: "readonly", applyReadonlyStyle: "applyReadonlyStyle", showToolbar: "showToolbar", showBorder: "showBorder", imageResizeModule: "imageResizeModule", imageDropModule: "imageDropModule", syntaxModule: "syntaxModule" }, outputs: { fullscreenChanged: "fullscreenChanged", onBlur: "onBlur", onContentChanged: "onContentChanged", onEditorChanged: "onEditorChanged", onEditorCreated: "onEditorCreated", onFocus: "onFocus", onSelectionChanged: "onSelectionChanged" }, providers: [{
|
|
394
|
-
provide: NG_VALUE_ACCESSOR,
|
|
395
|
-
useExisting: forwardRef(() => EditorComponent),
|
|
396
|
-
multi: true
|
|
397
|
-
}], viewQueries: [{ propertyName: "editor", first: true, predicate: QuillEditorComponent, descendants: true }], ngImport: i0, template: "<ng-container>\r\n <form>\r\n <quill-editor name=\"editor\"\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"updateChanges()\"\r\n\r\n [placeholder]=\"placeholder\"\r\n [format]=\"format\"\r\n [style.height]=\"fullscreen ? fullscreenHeight : height\"\r\n [style.width]=\"fullscreen ? fullscreenWidth : width\"\r\n [readOnly]=\"readonly\"\r\n [class.readonly]=\"readonly && applyReadonlyStyle\"\r\n [class.no-toolbar]=\"!showToolbar\"\r\n [class.no-border]=\"!showBorder\"\r\n [modules]=\"modules\"\r\n \r\n (onBlur)=\"onBlur.emit($event)\"\r\n (onContentChanged)=\"onContentChanged.emit($event)\"\r\n (onEditorChanged)=\"onEditorChanged.emit($event)\"\r\n (onEditorCreated)=\"onEditorCreated.emit()\"\r\n (onFocus)=\"onFocus.emit($event)\"\r\n (onSelectionChanged)=\"onSelectionChanged.emit($event)\">\r\n \r\n <div quill-editor-toolbar *ngIf=\"showToolbar\">\r\n <ng-container [ngTemplateOutlet]=\"toolbar\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"editorSize\"></ng-container>\r\n </div>\r\n </quill-editor>\r\n </form>\r\n</ng-container>\r\n\r\n<ng-template #toolbar>\r\n <div>\r\n <ng-container [ngTemplateOutlet]=\"fontStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"blockStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"headingStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"listStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"scriptStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"indentStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"rtl\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"fontSize\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"heading\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"color\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"font\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"align\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"clean\"></ng-container>\r\n <nt-container [ngTemplateOutlet]=\"formula\"></nt-container>\r\n <ng-container [ngTemplateOutlet]=\"media\"></ng-container>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #fontStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showFontStyle\">\r\n <button class=\"ql-bold\" *ngIf=\"config!.buttons.bold\" [matTooltip]=\"tooltip(config!.tooltips.bold)\"></button>\r\n <button class=\"ql-italic\" *ngIf=\"config!.buttons.italic\" [matTooltip]=\"tooltip(config!.tooltips.italic)\"></button>\r\n <button class=\"ql-underline\" *ngIf=\"config!.buttons.underline\" [matTooltip]=\"tooltip(config!.tooltips.underline)\"></button>\r\n <button class=\"ql-strike\" *ngIf=\"config!.buttons.strike\" [matTooltip]=\"tooltip(config!.tooltips.strike)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #blockStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showBlockStyle\">\r\n <button class=\"ql-blockquote\" *ngIf=\"config!.buttons.blockquote\" [matTooltip]=\"tooltip(config!.tooltips.blockquote)\"></button>\r\n <button class=\"ql-code-block\" *ngIf=\"config!.buttons.codeblock\" [matTooltip]=\"tooltip(config!.tooltips.codeblock)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #headingStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showQuickHeadingStyle\">\r\n <button class=\"ql-header\" value=\"1\" *ngIf=\"config!.buttons.h1\" [matTooltip]=\"tooltip(config!.tooltips.h1)\"></button>\r\n <button class=\"ql-header\" value=\"2\" *ngIf=\"config!.buttons.h2\" [matTooltip]=\"tooltip(config!.tooltips.h2)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #listStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showListStyle\">\r\n <button class=\"ql-list\" value=\"ordered\" *ngIf=\"config!.buttons.ordered\" [matTooltip]=\"tooltip(config!.tooltips.ordered)\"></button>\r\n <button class=\"ql-list\" value=\"bullet\" *ngIf=\"config!.buttons.bulleted\" [matTooltip]=\"tooltip(config!.tooltips.bulleted)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #scriptStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showScriptStyle\">\r\n <button class=\"ql-script\" value=\"sub\" *ngIf=\"config!.buttons.subScript\" [matTooltip]=\"tooltip(config!.tooltips.subScript)\"></button>\r\n <button class=\"ql-script\" value=\"super\" *ngIf=\"config!.buttons.superScript\" [matTooltip]=\"tooltip(config!.tooltips.superScript)\"></button>\r\n </span>\r\n</ng-template>\r\n \r\n<ng-template #indentStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showIndentStyle\">\r\n <button class=\"ql-indent\" value=\"-1\" *ngIf=\"config!.buttons.decreaseIndent\" [matTooltip]=\"tooltip(config!.tooltips.decreaseIndent)\"></button>\r\n <button class=\"ql-indent\" value=\"+1\" *ngIf=\"config!.buttons.increaseIndent\" [matTooltip]=\"tooltip(config!.tooltips.increaseIndent)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #rtl>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.rtl\">\r\n <button class=\"ql-direction\" value=\"rtl\" [matTooltip]=\"tooltip(config!.tooltips.rtl)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #fontSize>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.fontSize\" [matTooltip]=\"tooltip(config!.tooltips.fontSize)\">\r\n <select class=\"ql-size\">\r\n <option value=\"small\"></option>\r\n <option selected></option>\r\n <option value=\"large\"></option>\r\n <option value=\"huge\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #heading>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.headingStyle\" [matTooltip]=\"tooltip(config!.tooltips.headingStyle)\">\r\n <select class=\"ql-header\">\r\n <option value=\"1\"></option>\r\n <option value=\"2\"></option>\r\n <option value=\"3\"></option>\r\n <option value=\"4\"></option>\r\n <option value=\"5\"></option>\r\n <option value=\"6\"></option>\r\n <option selected=\"selected\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #color>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.color\" [matTooltip]=\"tooltip(config!.tooltips.color)\">\r\n <select class=\"ql-color\"></select>\r\n <select class=\"ql-background\"></select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #font>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.font\" [matTooltip]=\"tooltip(config!.tooltips.font)\">\r\n <select class=\"ql-font\">\r\n <option selected></option>\r\n <option value=\"serif\"></option>\r\n <option value=\"monospace\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #align>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.align\" [matTooltip]=\"tooltip(config!.tooltips.align)\">\r\n <select class=\"ql-align\">\r\n <option selected></option>\r\n <option value=\"center\"></option>\r\n <option value=\"right\"></option>\r\n <option value=\"justify\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #clean>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.clean\" [matTooltip]=\"tooltip(config!.tooltips.clean)\">\r\n <button class=\"ql-clean\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #media>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showMedia\">\r\n <button class=\"ql-link\" *ngIf=\"config!.buttons.link\" [matTooltip]=\"tooltip(config!.tooltips.link)\"></button>\r\n <button class=\"ql-image\" *ngIf=\"config!.buttons.image\" [matTooltip]=\"tooltip(config!.tooltips.image)\"></button>\r\n <button class=\"ql-video\" *ngIf=\"config!.buttons.video\" [matTooltip]=\"tooltip(config!.tooltips.video)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #editorSize>\r\n <div>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.rawEditor\">\r\n <button id=\"rawdog\"\r\n [matTooltip]=\"tooltip(config!.tooltips.rawEditor)\">\r\n\r\n <mat-icon (click)=\"rawEdit()\">\r\n code\r\n </mat-icon>\r\n </button>\r\n </span>\r\n\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.editorSize\">\r\n <button id=\"fullscreen\"\r\n [matTooltip]=\"tooltip(fullscreen ?\r\n (fullscreenMode === 'expand' ? config!.tooltips.minimize : config!.tooltips.popin) :\r\n (fullscreenMode === 'expand' ? config!.tooltips.maximize : config!.tooltips.popout))\">\r\n\r\n <mat-icon (click)=\"toggleFullscreen()\">\r\n {{ fullscreen ?\r\n (fullscreenMode === 'expand' ? config!.icons.minimize : config!.icons.popin) :\r\n (fullscreenMode === 'expand' ? config!.icons.maximize : config!.icons.popout)\r\n }}\r\n </mat-icon>\r\n </button>\r\n </span>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #formula>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.formula\" [matTooltip]=\"tooltip(config!.tooltips.formula)\">\r\n <button class=\"ql-formula\"></button>\r\n </span>\r\n</ng-template>", styles: [".ql-toolbar{display:grid;grid-template-columns:1fr auto}mat-icon{color:#ff4500}quill-editor.readonly .ql-toolbar{opacity:.5}::ng-deep quill-editor.no-toolbar .ql-toolbar{height:0;padding:0;visibility:hidden}::ng-deep quill-editor.no-border .ql-container{border:none}::ng-deep quill-editor.readonly .ql-container{background-color:#f5f5f5!important}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i5$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i6$1.QuillEditorComponent, selector: "quill-editor" }] });
|
|
398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorComponent, decorators: [{
|
|
399
|
-
type: Component,
|
|
400
|
-
args: [{ selector: 'cpquill-editor', providers: [{
|
|
401
|
-
provide: NG_VALUE_ACCESSOR,
|
|
402
|
-
useExisting: forwardRef(() => EditorComponent),
|
|
403
|
-
multi: true
|
|
404
|
-
}], template: "<ng-container>\r\n <form>\r\n <quill-editor name=\"editor\"\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"updateChanges()\"\r\n\r\n [placeholder]=\"placeholder\"\r\n [format]=\"format\"\r\n [style.height]=\"fullscreen ? fullscreenHeight : height\"\r\n [style.width]=\"fullscreen ? fullscreenWidth : width\"\r\n [readOnly]=\"readonly\"\r\n [class.readonly]=\"readonly && applyReadonlyStyle\"\r\n [class.no-toolbar]=\"!showToolbar\"\r\n [class.no-border]=\"!showBorder\"\r\n [modules]=\"modules\"\r\n \r\n (onBlur)=\"onBlur.emit($event)\"\r\n (onContentChanged)=\"onContentChanged.emit($event)\"\r\n (onEditorChanged)=\"onEditorChanged.emit($event)\"\r\n (onEditorCreated)=\"onEditorCreated.emit()\"\r\n (onFocus)=\"onFocus.emit($event)\"\r\n (onSelectionChanged)=\"onSelectionChanged.emit($event)\">\r\n \r\n <div quill-editor-toolbar *ngIf=\"showToolbar\">\r\n <ng-container [ngTemplateOutlet]=\"toolbar\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"editorSize\"></ng-container>\r\n </div>\r\n </quill-editor>\r\n </form>\r\n</ng-container>\r\n\r\n<ng-template #toolbar>\r\n <div>\r\n <ng-container [ngTemplateOutlet]=\"fontStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"blockStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"headingStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"listStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"scriptStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"indentStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"rtl\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"fontSize\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"heading\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"color\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"font\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"align\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"clean\"></ng-container>\r\n <nt-container [ngTemplateOutlet]=\"formula\"></nt-container>\r\n <ng-container [ngTemplateOutlet]=\"media\"></ng-container>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #fontStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showFontStyle\">\r\n <button class=\"ql-bold\" *ngIf=\"config!.buttons.bold\" [matTooltip]=\"tooltip(config!.tooltips.bold)\"></button>\r\n <button class=\"ql-italic\" *ngIf=\"config!.buttons.italic\" [matTooltip]=\"tooltip(config!.tooltips.italic)\"></button>\r\n <button class=\"ql-underline\" *ngIf=\"config!.buttons.underline\" [matTooltip]=\"tooltip(config!.tooltips.underline)\"></button>\r\n <button class=\"ql-strike\" *ngIf=\"config!.buttons.strike\" [matTooltip]=\"tooltip(config!.tooltips.strike)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #blockStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showBlockStyle\">\r\n <button class=\"ql-blockquote\" *ngIf=\"config!.buttons.blockquote\" [matTooltip]=\"tooltip(config!.tooltips.blockquote)\"></button>\r\n <button class=\"ql-code-block\" *ngIf=\"config!.buttons.codeblock\" [matTooltip]=\"tooltip(config!.tooltips.codeblock)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #headingStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showQuickHeadingStyle\">\r\n <button class=\"ql-header\" value=\"1\" *ngIf=\"config!.buttons.h1\" [matTooltip]=\"tooltip(config!.tooltips.h1)\"></button>\r\n <button class=\"ql-header\" value=\"2\" *ngIf=\"config!.buttons.h2\" [matTooltip]=\"tooltip(config!.tooltips.h2)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #listStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showListStyle\">\r\n <button class=\"ql-list\" value=\"ordered\" *ngIf=\"config!.buttons.ordered\" [matTooltip]=\"tooltip(config!.tooltips.ordered)\"></button>\r\n <button class=\"ql-list\" value=\"bullet\" *ngIf=\"config!.buttons.bulleted\" [matTooltip]=\"tooltip(config!.tooltips.bulleted)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #scriptStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showScriptStyle\">\r\n <button class=\"ql-script\" value=\"sub\" *ngIf=\"config!.buttons.subScript\" [matTooltip]=\"tooltip(config!.tooltips.subScript)\"></button>\r\n <button class=\"ql-script\" value=\"super\" *ngIf=\"config!.buttons.superScript\" [matTooltip]=\"tooltip(config!.tooltips.superScript)\"></button>\r\n </span>\r\n</ng-template>\r\n \r\n<ng-template #indentStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showIndentStyle\">\r\n <button class=\"ql-indent\" value=\"-1\" *ngIf=\"config!.buttons.decreaseIndent\" [matTooltip]=\"tooltip(config!.tooltips.decreaseIndent)\"></button>\r\n <button class=\"ql-indent\" value=\"+1\" *ngIf=\"config!.buttons.increaseIndent\" [matTooltip]=\"tooltip(config!.tooltips.increaseIndent)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #rtl>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.rtl\">\r\n <button class=\"ql-direction\" value=\"rtl\" [matTooltip]=\"tooltip(config!.tooltips.rtl)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #fontSize>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.fontSize\" [matTooltip]=\"tooltip(config!.tooltips.fontSize)\">\r\n <select class=\"ql-size\">\r\n <option value=\"small\"></option>\r\n <option selected></option>\r\n <option value=\"large\"></option>\r\n <option value=\"huge\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #heading>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.headingStyle\" [matTooltip]=\"tooltip(config!.tooltips.headingStyle)\">\r\n <select class=\"ql-header\">\r\n <option value=\"1\"></option>\r\n <option value=\"2\"></option>\r\n <option value=\"3\"></option>\r\n <option value=\"4\"></option>\r\n <option value=\"5\"></option>\r\n <option value=\"6\"></option>\r\n <option selected=\"selected\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #color>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.color\" [matTooltip]=\"tooltip(config!.tooltips.color)\">\r\n <select class=\"ql-color\"></select>\r\n <select class=\"ql-background\"></select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #font>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.font\" [matTooltip]=\"tooltip(config!.tooltips.font)\">\r\n <select class=\"ql-font\">\r\n <option selected></option>\r\n <option value=\"serif\"></option>\r\n <option value=\"monospace\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #align>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.align\" [matTooltip]=\"tooltip(config!.tooltips.align)\">\r\n <select class=\"ql-align\">\r\n <option selected></option>\r\n <option value=\"center\"></option>\r\n <option value=\"right\"></option>\r\n <option value=\"justify\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #clean>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.clean\" [matTooltip]=\"tooltip(config!.tooltips.clean)\">\r\n <button class=\"ql-clean\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #media>\r\n <span class=\"ql-formats\" *ngIf=\"config!.showMedia\">\r\n <button class=\"ql-link\" *ngIf=\"config!.buttons.link\" [matTooltip]=\"tooltip(config!.tooltips.link)\"></button>\r\n <button class=\"ql-image\" *ngIf=\"config!.buttons.image\" [matTooltip]=\"tooltip(config!.tooltips.image)\"></button>\r\n <button class=\"ql-video\" *ngIf=\"config!.buttons.video\" [matTooltip]=\"tooltip(config!.tooltips.video)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #editorSize>\r\n <div>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.rawEditor\">\r\n <button id=\"rawdog\"\r\n [matTooltip]=\"tooltip(config!.tooltips.rawEditor)\">\r\n\r\n <mat-icon (click)=\"rawEdit()\">\r\n code\r\n </mat-icon>\r\n </button>\r\n </span>\r\n\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.editorSize\">\r\n <button id=\"fullscreen\"\r\n [matTooltip]=\"tooltip(fullscreen ?\r\n (fullscreenMode === 'expand' ? config!.tooltips.minimize : config!.tooltips.popin) :\r\n (fullscreenMode === 'expand' ? config!.tooltips.maximize : config!.tooltips.popout))\">\r\n\r\n <mat-icon (click)=\"toggleFullscreen()\">\r\n {{ fullscreen ?\r\n (fullscreenMode === 'expand' ? config!.icons.minimize : config!.icons.popin) :\r\n (fullscreenMode === 'expand' ? config!.icons.maximize : config!.icons.popout)\r\n }}\r\n </mat-icon>\r\n </button>\r\n </span>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #formula>\r\n <span class=\"ql-formats\" *ngIf=\"config!.buttons.formula\" [matTooltip]=\"tooltip(config!.tooltips.formula)\">\r\n <button class=\"ql-formula\"></button>\r\n </span>\r\n</ng-template>", styles: [".ql-toolbar{display:grid;grid-template-columns:1fr auto}mat-icon{color:#ff4500}quill-editor.readonly .ql-toolbar{opacity:.5}::ng-deep quill-editor.no-toolbar .ql-toolbar{height:0;padding:0;visibility:hidden}::ng-deep quill-editor.no-border .ql-container{border:none}::ng-deep quill-editor.readonly .ql-container{background-color:#f5f5f5!important}\n"] }]
|
|
405
|
-
}], ctorParameters: function () {
|
|
406
|
-
return [{ type: undefined, decorators: [{
|
|
407
|
-
type: Optional
|
|
408
|
-
}, {
|
|
409
|
-
type: Inject,
|
|
410
|
-
args: [MAT_DIALOG_DATA]
|
|
411
|
-
}] }, { type: i1.MatDialogRef, decorators: [{
|
|
412
|
-
type: Optional
|
|
413
|
-
}] }, { type: i1.MatDialog }];
|
|
414
|
-
}, propDecorators: { editor: [{
|
|
415
|
-
type: ViewChild,
|
|
416
|
-
args: [QuillEditorComponent, { static: false }]
|
|
417
|
-
}], config: [{
|
|
418
|
-
type: Input
|
|
419
|
-
}], placeholder: [{
|
|
420
|
-
type: Input
|
|
421
|
-
}], format: [{
|
|
422
|
-
type: Input
|
|
423
|
-
}], height: [{
|
|
424
|
-
type: Input
|
|
425
|
-
}], width: [{
|
|
426
|
-
type: Input
|
|
427
|
-
}], fullscreenHeight: [{
|
|
428
|
-
type: Input
|
|
429
|
-
}], fullscreenWidth: [{
|
|
430
|
-
type: Input
|
|
431
|
-
}], fullscreenMode: [{
|
|
432
|
-
type: Input
|
|
433
|
-
}], enableTooltips: [{
|
|
434
|
-
type: Input
|
|
435
|
-
}], fullscreen: [{
|
|
436
|
-
type: Input
|
|
437
|
-
}], readonly: [{
|
|
438
|
-
type: Input
|
|
439
|
-
}], applyReadonlyStyle: [{
|
|
440
|
-
type: Input
|
|
441
|
-
}], showToolbar: [{
|
|
442
|
-
type: Input
|
|
443
|
-
}], showBorder: [{
|
|
444
|
-
type: Input
|
|
445
|
-
}], imageResizeModule: [{
|
|
446
|
-
type: Input
|
|
447
|
-
}], imageDropModule: [{
|
|
448
|
-
type: Input
|
|
449
|
-
}], syntaxModule: [{
|
|
450
|
-
type: Input
|
|
451
|
-
}], fullscreenChanged: [{
|
|
452
|
-
type: Output
|
|
453
|
-
}], onBlur: [{
|
|
454
|
-
type: Output
|
|
455
|
-
}], onContentChanged: [{
|
|
456
|
-
type: Output
|
|
457
|
-
}], onEditorChanged: [{
|
|
458
|
-
type: Output
|
|
459
|
-
}], onEditorCreated: [{
|
|
460
|
-
type: Output
|
|
461
|
-
}], onFocus: [{
|
|
462
|
-
type: Output
|
|
463
|
-
}], onSelectionChanged: [{
|
|
464
|
-
type: Output
|
|
465
|
-
}] } });
|
|
466
|
-
|
|
467
|
-
class QuillModule {
|
|
468
|
-
constructor(parentModule) {
|
|
469
|
-
if (parentModule) {
|
|
470
|
-
throw new Error('QuillModule is already loaded. Import it in the AppModule only');
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
static forRoot() {
|
|
474
|
-
return {
|
|
475
|
-
ngModule: QuillModule
|
|
476
|
-
};
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
QuillModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: QuillModule, deps: [{ token: QuillModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
480
|
-
QuillModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: QuillModule, declarations: [EditorComponent,
|
|
481
|
-
RawComponent], imports: [CommonModule,
|
|
482
|
-
FormsModule,
|
|
483
|
-
ReactiveFormsModule,
|
|
484
|
-
MatButtonModule,
|
|
485
|
-
MatDialogModule,
|
|
486
|
-
MatFormFieldModule,
|
|
487
|
-
MatIconModule,
|
|
488
|
-
MatInputModule,
|
|
489
|
-
MatTooltipModule, i6$1.QuillModule], exports: [EditorComponent,
|
|
490
|
-
RawComponent] });
|
|
491
|
-
QuillModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: QuillModule, imports: [CommonModule,
|
|
492
|
-
FormsModule,
|
|
493
|
-
ReactiveFormsModule,
|
|
494
|
-
MatButtonModule,
|
|
495
|
-
MatDialogModule,
|
|
496
|
-
MatFormFieldModule,
|
|
497
|
-
MatIconModule,
|
|
498
|
-
MatInputModule,
|
|
499
|
-
MatTooltipModule,
|
|
500
|
-
QuillModule$1.forRoot()] });
|
|
501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: QuillModule, decorators: [{
|
|
502
|
-
type: NgModule,
|
|
503
|
-
args: [{
|
|
504
|
-
declarations: [
|
|
505
|
-
EditorComponent,
|
|
506
|
-
RawComponent
|
|
507
|
-
],
|
|
508
|
-
imports: [
|
|
509
|
-
CommonModule,
|
|
510
|
-
FormsModule,
|
|
511
|
-
ReactiveFormsModule,
|
|
512
|
-
MatButtonModule,
|
|
513
|
-
MatDialogModule,
|
|
514
|
-
MatFormFieldModule,
|
|
515
|
-
MatIconModule,
|
|
516
|
-
MatInputModule,
|
|
517
|
-
MatTooltipModule,
|
|
518
|
-
QuillModule$1.forRoot()
|
|
519
|
-
],
|
|
520
|
-
exports: [
|
|
521
|
-
EditorComponent,
|
|
522
|
-
RawComponent
|
|
523
|
-
]
|
|
524
|
-
}]
|
|
525
|
-
}], ctorParameters: function () {
|
|
526
|
-
return [{ type: QuillModule, decorators: [{
|
|
527
|
-
type: Optional
|
|
528
|
-
}, {
|
|
529
|
-
type: SkipSelf
|
|
530
|
-
}] }];
|
|
531
|
-
} });
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* Generated bundle index. Do not edit.
|
|
535
|
-
*/
|
|
536
|
-
|
|
537
|
-
export { Buttons, Config, EditorComponent, Icons, QuillModule, RawComponent, Tooltips };
|
|
538
|
-
//# sourceMappingURL=cleavelandprice-ngx-lib-quill.mjs.map
|
|
539
|
-
//# sourceMappingURL=cleavelandprice-ngx-lib-quill.mjs.map
|