ngx-techlify-core 19.0.0 → 22.3.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/fesm2022/ngx-techlify-core-base-model-oCILHkdE.mjs +677 -0
- package/fesm2022/ngx-techlify-core-base-model-oCILHkdE.mjs.map +1 -0
- package/fesm2022/ngx-techlify-core-shared.module-DROe5GRx.mjs +4842 -0
- package/fesm2022/ngx-techlify-core-shared.module-DROe5GRx.mjs.map +1 -0
- package/fesm2022/ngx-techlify-core-user-config.service-DW5EgXhL.mjs +133 -0
- package/fesm2022/ngx-techlify-core-user-config.service-DW5EgXhL.mjs.map +1 -0
- package/fesm2022/ngx-techlify-core-user-sessions.module-BRmDpYG3.mjs +2135 -0
- package/fesm2022/ngx-techlify-core-user-sessions.module-BRmDpYG3.mjs.map +1 -0
- package/fesm2022/ngx-techlify-core.mjs +32477 -16273
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/package.json +19 -19
- package/styles/_index.scss +1 -1
- package/styles/style.scss +2 -2
- package/types/ngx-techlify-core.d.ts +6429 -0
- package/esm2022/lib/access-control-config/access-control-config-form/access-control-config-form.component.mjs +0 -126
- package/esm2022/lib/access-control-config/access-control-config-routing.module.mjs +0 -31
- package/esm2022/lib/access-control-config/access-control-config.component.mjs +0 -128
- package/esm2022/lib/access-control-config/access-control-config.model.mjs +0 -21
- package/esm2022/lib/access-control-config/access-control-config.module.mjs +0 -28
- package/esm2022/lib/access-control-config/access-control-config.service.mjs +0 -37
- package/esm2022/lib/action-popup/action-popup.component.mjs +0 -33
- package/esm2022/lib/action-popup/action-popup.model.mjs +0 -3
- package/esm2022/lib/action-popup/action-popup.module.mjs +0 -28
- package/esm2022/lib/action-popup/index.mjs +0 -3
- package/esm2022/lib/app-admin/admin-role/admin-role-list/admin-role-list-routing.module.mjs +0 -26
- package/esm2022/lib/app-admin/admin-role/admin-role-list/admin-role-list.component.mjs +0 -115
- package/esm2022/lib/app-admin/admin-role/admin-role-list/admin-role-list.module.mjs +0 -33
- package/esm2022/lib/app-admin/admin-role/admin-role-permission-form/admin-role-permission-form.component.mjs +0 -87
- package/esm2022/lib/app-admin/admin-role/admin-role-permission-form/admin-role-permission-form.module.mjs +0 -22
- package/esm2022/lib/app-admin/admin-role/admin-role.service.mjs +0 -24
- package/esm2022/lib/app-admin/app-admin-home/app-admin-home.component.mjs +0 -17
- package/esm2022/lib/app-admin/app-admin-routing.module.mjs +0 -29
- package/esm2022/lib/app-admin/app-admin.module.mjs +0 -22
- package/esm2022/lib/app-admin/tenant/tenant-list-widget/tenant-list-widget.component.mjs +0 -56
- package/esm2022/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.mjs +0 -18
- package/esm2022/lib/audit-log/audit-log-for-model/audit-log-for-model.component.mjs +0 -61
- package/esm2022/lib/audit-log/audit-log-for-model/audit-log-for-model.module.mjs +0 -32
- package/esm2022/lib/audit-log/audit-log-list/audit-log-list-routing.module.mjs +0 -18
- package/esm2022/lib/audit-log/audit-log-list/audit-log-list.component.mjs +0 -149
- package/esm2022/lib/audit-log/audit-log-list/audit-log-list.module.mjs +0 -28
- package/esm2022/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.mjs +0 -18
- package/esm2022/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.mjs +0 -56
- package/esm2022/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.mjs +0 -24
- package/esm2022/lib/audit-log/audit-log-routing.module.mjs +0 -25
- package/esm2022/lib/audit-log/audit-log-view/audit-log-view-routing.module.mjs +0 -18
- package/esm2022/lib/audit-log/audit-log-view/audit-log-view.component.mjs +0 -53
- package/esm2022/lib/audit-log/audit-log-view/audit-log-view.module.mjs +0 -24
- package/esm2022/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.mjs +0 -18
- package/esm2022/lib/audit-log/audit-log-view-model/audit-log-view-model.component.mjs +0 -55
- package/esm2022/lib/audit-log/audit-log-view-model/audit-log-view-model.module.mjs +0 -24
- package/esm2022/lib/audit-log/audit-log.module.mjs +0 -31
- package/esm2022/lib/audit-log/audit-log.service.mjs +0 -18
- package/esm2022/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.mjs +0 -18
- package/esm2022/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.mjs +0 -23
- package/esm2022/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.mjs +0 -28
- package/esm2022/lib/base-model/index.mjs +0 -8
- package/esm2022/lib/base-model/techlify-form/contract/techlify-form.contract.mjs +0 -191
- package/esm2022/lib/base-model/techlify-form/techlify-form.component.mjs +0 -134
- package/esm2022/lib/base-model/techlify-list/contract/techlify-list.contract.mjs +0 -69
- package/esm2022/lib/base-model/techlify-list/techlify-list.component.mjs +0 -331
- package/esm2022/lib/base-model/techlify-service.mjs +0 -68
- package/esm2022/lib/base-model/techlify-show/contract/techlify-show.contract.mjs +0 -84
- package/esm2022/lib/base-model/techlify-show/techlify-show.component.mjs +0 -120
- package/esm2022/lib/change-password/change-password-routing.module.mjs +0 -24
- package/esm2022/lib/change-password/change-password.component.mjs +0 -86
- package/esm2022/lib/change-password/change-password.module.mjs +0 -29
- package/esm2022/lib/column-selector/column-config.model.mjs +0 -3
- package/esm2022/lib/column-selector/column-selector/column-selector.component.mjs +0 -108
- package/esm2022/lib/column-selector/column-selector.module.mjs +0 -24
- package/esm2022/lib/column-selector/index.mjs +0 -4
- package/esm2022/lib/company-information/client.service.mjs +0 -19
- package/esm2022/lib/company-information/company-info-display/company-info-display.component.mjs +0 -44
- package/esm2022/lib/company-information/company-information/company-information.component.mjs +0 -120
- package/esm2022/lib/company-information/tenant-form-button/tenant-form-button.component.mjs +0 -36
- package/esm2022/lib/core/alert.service.mjs +0 -38
- package/esm2022/lib/core/api-prefix.interceptor.mjs +0 -26
- package/esm2022/lib/core/app-update.service.mjs +0 -64
- package/esm2022/lib/core/authentication.guard.mjs +0 -35
- package/esm2022/lib/core/authentication.service.mjs +0 -67
- package/esm2022/lib/core/cache.interceptor.mjs +0 -58
- package/esm2022/lib/core/config.service.mjs +0 -45
- package/esm2022/lib/core/core.module.mjs +0 -56
- package/esm2022/lib/core/credentials.service.mjs +0 -84
- package/esm2022/lib/core/environment.service.mjs +0 -22
- package/esm2022/lib/core/error-handler.interceptor.mjs +0 -60
- package/esm2022/lib/core/error-handler.service.mjs +0 -68
- package/esm2022/lib/core/filter.service.mjs +0 -40
- package/esm2022/lib/core/form-validator.service.mjs +0 -24
- package/esm2022/lib/core/header.interceptor.mjs +0 -24
- package/esm2022/lib/core/http-cache.service.mjs +0 -107
- package/esm2022/lib/core/http.service.mjs +0 -84
- package/esm2022/lib/core/index.mjs +0 -23
- package/esm2022/lib/core/logger.service.mjs +0 -100
- package/esm2022/lib/core/route-reusable-strategy.mjs +0 -36
- package/esm2022/lib/core/snack/snack.component.mjs +0 -33
- package/esm2022/lib/core/snack/snack.module.mjs +0 -36
- package/esm2022/lib/core/storage.service.mjs +0 -38
- package/esm2022/lib/core/techlify-config.model.mjs +0 -28
- package/esm2022/lib/core/token.interceptor.mjs +0 -28
- package/esm2022/lib/custom-icon/custom-icon-registry.service.mjs +0 -23
- package/esm2022/lib/custom-icon/custom-icon.component.mjs +0 -24
- package/esm2022/lib/custom-icon/custom-icon.module.mjs +0 -20
- package/esm2022/lib/custom-icon/custom-icons.registry.mjs +0 -42
- package/esm2022/lib/data-table/data-table.component.mjs +0 -203
- package/esm2022/lib/data-table/data-table.model.mjs +0 -11
- package/esm2022/lib/data-table/data-table.module.mjs +0 -24
- package/esm2022/lib/data-table/index.mjs +0 -3
- package/esm2022/lib/delete-button/techlify-delete-button.component.mjs +0 -74
- package/esm2022/lib/detail-layout/techlify-detail-layout.component.mjs +0 -11
- package/esm2022/lib/document-viewer/document-viewer.component.mjs +0 -64
- package/esm2022/lib/document-viewer/document-viewer.module.mjs +0 -32
- package/esm2022/lib/document-viewer/index.mjs +0 -3
- package/esm2022/lib/document-viewer/viewer-config.model.mjs +0 -3
- package/esm2022/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.mjs +0 -32
- package/esm2022/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.mjs +0 -73
- package/esm2022/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.mjs +0 -24
- package/esm2022/lib/email-subscription/email-subscription-for-user/index.mjs +0 -2
- package/esm2022/lib/email-subscription/email-subscription-routing.module.mjs +0 -18
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.mjs +0 -18
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.mjs +0 -104
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.mjs +0 -28
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.mjs +0 -2
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.mjs +0 -34
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.mjs +0 -160
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.mjs +0 -28
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.mjs +0 -2
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.mjs +0 -18
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type.module.mjs +0 -22
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.mjs +0 -18
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.mjs +0 -100
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.mjs +0 -27
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.mjs +0 -2
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.mjs +0 -34
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.mjs +0 -164
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.mjs +0 -32
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.mjs +0 -2
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.mjs +0 -18
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.mjs +0 -51
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.mjs +0 -24
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.mjs +0 -2
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.mjs +0 -18
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user.module.mjs +0 -22
- package/esm2022/lib/email-subscription/email-subscription.module.mjs +0 -22
- package/esm2022/lib/entity-files/entity-file-form/entity-file-form.component.mjs +0 -160
- package/esm2022/lib/entity-files/entity-file-list/entity-file-list.component.mjs +0 -251
- package/esm2022/lib/entity-files/entity-file-list-widget/entity-file-list-widget.component.mjs +0 -33
- package/esm2022/lib/entity-files/entity-file-list.module.mjs +0 -43
- package/esm2022/lib/entity-files/entity-file.service.mjs +0 -37
- package/esm2022/lib/entity-files/index.mjs +0 -5
- package/esm2022/lib/export-excel/export-excel-button/export-excel-button.component.mjs +0 -112
- package/esm2022/lib/export-excel/export-excel.module.mjs +0 -28
- package/esm2022/lib/file-dragdrop-uploader/file-dragdrop-uploader/file-dragdrop-uploader.component.mjs +0 -103
- package/esm2022/lib/file-dragdrop-uploader/file-dragdrop-uploader.module.mjs +0 -24
- package/esm2022/lib/file-dropper/file-dropper.component.mjs +0 -125
- package/esm2022/lib/file-dropper/file-dropper.model.mjs +0 -3
- package/esm2022/lib/file-dropper/file-dropper.module.mjs +0 -26
- package/esm2022/lib/file-dropper/index.mjs +0 -3
- package/esm2022/lib/file-upload-button/file-upload-button.component.mjs +0 -47
- package/esm2022/lib/forgot-password/forgot-password-routing.module.mjs +0 -22
- package/esm2022/lib/forgot-password/forgot-password.component.mjs +0 -69
- package/esm2022/lib/forgot-password/forgot-password.module.mjs +0 -26
- package/esm2022/lib/forgot-password/index.mjs +0 -3
- package/esm2022/lib/form-button/techlify-form-button.component.mjs +0 -39
- package/esm2022/lib/form-configuration/form-configuration-field-form/form-configuration-field-form-routing.module.mjs +0 -29
- package/esm2022/lib/form-configuration/form-configuration-field-form/form-configuration-field-form.component.mjs +0 -43
- package/esm2022/lib/form-configuration/form-configuration-field-form/form-configuration-field-form.module.mjs +0 -24
- package/esm2022/lib/form-configuration/form-configuration-for-form/form-configuration-for-form.component.mjs +0 -22
- package/esm2022/lib/form-configuration/form-configuration-for-form/form-configuration-for-form.module.mjs +0 -28
- package/esm2022/lib/form-configuration/form-configuration-form-field.service.mjs +0 -18
- package/esm2022/lib/form-configuration/form-configuration-form.service.mjs +0 -18
- package/esm2022/lib/form-configuration/form-configuration-utility.service.mjs +0 -37
- package/esm2022/lib/image-preview/image-preview.component.mjs +0 -26
- package/esm2022/lib/import-csv/data-import/data-import.component.mjs +0 -17
- package/esm2022/lib/import-csv/failed-items-list/failed-items-list.component.mjs +0 -34
- package/esm2022/lib/import-csv/field-mapping/field-mapping.component.mjs +0 -152
- package/esm2022/lib/import-csv/import-csv-config.mjs +0 -2
- package/esm2022/lib/import-csv/import-csv.component.mjs +0 -209
- package/esm2022/lib/import-csv/import-csv.module.mjs +0 -44
- package/esm2022/lib/import-csv/import-history-list/import-history-list.component.mjs +0 -70
- package/esm2022/lib/import-csv/import-success/import-success.component.mjs +0 -23
- package/esm2022/lib/ip-address-selector/ip-address-selector.module.mjs +0 -24
- package/esm2022/lib/ip-address-selector/ip-range-selector/ip-range-selector.component.mjs +0 -108
- package/esm2022/lib/loader/index.mjs +0 -2
- package/esm2022/lib/loader/loader.component.mjs +0 -23
- package/esm2022/lib/loader/loader.module.mjs +0 -28
- package/esm2022/lib/local-date-parser.mjs +0 -6
- package/esm2022/lib/locked-date/index.mjs +0 -6
- package/esm2022/lib/locked-date/locked-date-form/locked-date-form.component.mjs +0 -72
- package/esm2022/lib/locked-date/locked-date-lock-unlock-button/locked-date-lock-unlock-button.component.mjs +0 -35
- package/esm2022/lib/locked-date/locked-date.model.mjs +0 -3
- package/esm2022/lib/locked-date/locked-date.module.mjs +0 -34
- package/esm2022/lib/locked-date/locked-date.service.mjs +0 -25
- package/esm2022/lib/locked-date/locked-dates-list/locked-date-list.component.mjs +0 -62
- package/esm2022/lib/login/index.mjs +0 -3
- package/esm2022/lib/login/login-form-fields/login-form-fields.component.mjs +0 -152
- package/esm2022/lib/login/login-routing.module.mjs +0 -23
- package/esm2022/lib/login/login.component.mjs +0 -88
- package/esm2022/lib/login/login.module.mjs +0 -33
- package/esm2022/lib/login-history-for-user/login-history-for-user-routing.module.mjs +0 -26
- package/esm2022/lib/login-history-for-user/login-history-for-user.component.mjs +0 -91
- package/esm2022/lib/login-history-for-user/login-history-for-user.module.mjs +0 -24
- package/esm2022/lib/material.module.mjs +0 -128
- package/esm2022/lib/ngx-techlify-users/ngx-techlify-users-routing.module.mjs +0 -43
- package/esm2022/lib/ngx-techlify-users/ngx-techlify-users.module.mjs +0 -22
- package/esm2022/lib/note/comment-form/comment-form.component.mjs +0 -76
- package/esm2022/lib/note/index.mjs +0 -5
- package/esm2022/lib/note/note-comment-list/note-comment-list.component.mjs +0 -102
- package/esm2022/lib/note/note-form/note-form.component.mjs +0 -63
- package/esm2022/lib/note/note-list/note-list.component.mjs +0 -111
- package/esm2022/lib/note/note.module.mjs +0 -30
- package/esm2022/lib/note/note.service.mjs +0 -18
- package/esm2022/lib/number-input-button/index.mjs +0 -3
- package/esm2022/lib/number-input-button/number-input-button/number-input-button.component.mjs +0 -104
- package/esm2022/lib/number-input-button/number-input-button.module.mjs +0 -24
- package/esm2022/lib/number-selector/number-selector.component.mjs +0 -116
- package/esm2022/lib/ordinal-pipe/ordinal-pipe.mjs +0 -30
- package/esm2022/lib/password-requirement-check/password-check-result.mjs +0 -2
- package/esm2022/lib/password-requirement-check/password-check.service.mjs +0 -43
- package/esm2022/lib/password-requirement-check/password-requirement-check/password-requirement-check.component.mjs +0 -56
- package/esm2022/lib/password-requirement-check/password-requirement-check.module.mjs +0 -24
- package/esm2022/lib/pdf-button/pdf-button.component.mjs +0 -35
- package/esm2022/lib/pdf-button/pdf-button.module.mjs +0 -23
- package/esm2022/lib/phone-number-selector/country.service.mjs +0 -31
- package/esm2022/lib/phone-number-selector/phone-number-selector.component.mjs +0 -172
- package/esm2022/lib/pipes/file-size.pipe.mjs +0 -21
- package/esm2022/lib/pipes/wrap.pipe.mjs +0 -20
- package/esm2022/lib/profile/index.mjs +0 -3
- package/esm2022/lib/profile/profile-edit.component.mjs +0 -75
- package/esm2022/lib/profile/profile-routing.module.mjs +0 -23
- package/esm2022/lib/profile/profile.module.mjs +0 -28
- package/esm2022/lib/read-more/read-more.component.mjs +0 -43
- package/esm2022/lib/read-more/read-more.module.mjs +0 -26
- package/esm2022/lib/request-helper/request-helper.service.mjs +0 -131
- package/esm2022/lib/reset-password/index.mjs +0 -4
- package/esm2022/lib/reset-password/reset-password-routing.module.mjs +0 -22
- package/esm2022/lib/reset-password/reset-password.component.mjs +0 -89
- package/esm2022/lib/reset-password/reset-password.module.mjs +0 -30
- package/esm2022/lib/reset-password/reset-password.service.mjs +0 -25
- package/esm2022/lib/restrictors/index.mjs +0 -4
- package/esm2022/lib/restrictors/restrictor-level-selector/restrictor-level-selector/restrictor-level-selector.component.mjs +0 -91
- package/esm2022/lib/restrictors/restrictor-level-selector/restrictor-level-selector.module.mjs +0 -24
- package/esm2022/lib/restrictors/restrictor-level-selector/restrictor-level.service.mjs +0 -19
- package/esm2022/lib/restrictors/restrictor-status-selector/restrictor-status-selector/restrictor-status-selector.component.mjs +0 -91
- package/esm2022/lib/restrictors/restrictor-status-selector/restrictor-status-selector.module.mjs +0 -24
- package/esm2022/lib/restrictors/restrictor-status-selector/restrictor-status.service.mjs +0 -19
- package/esm2022/lib/restrictors/restrictor-type-selector/restrictor-type-selector/restrictor-type-selector.component.mjs +0 -92
- package/esm2022/lib/restrictors/restrictor-type-selector/restrictor-type-selector.module.mjs +0 -24
- package/esm2022/lib/restrictors/restrictor-type-selector/restrictor-type.service.mjs +0 -19
- package/esm2022/lib/restrictors/restrictor.service.mjs +0 -19
- package/esm2022/lib/restrictors/restrictors-form/restrictors-form.component.mjs +0 -101
- package/esm2022/lib/restrictors/restrictors-form-page/restrictors-form-page.component.mjs +0 -43
- package/esm2022/lib/restrictors/restrictors-list-page/restrictors-list-page.component.mjs +0 -141
- package/esm2022/lib/restrictors/restrictors-routing.module.mjs +0 -42
- package/esm2022/lib/restrictors/restrictors.module.mjs +0 -47
- package/esm2022/lib/role/index.mjs +0 -10
- package/esm2022/lib/role/permission/permission.model.mjs +0 -9
- package/esm2022/lib/role/permission/permission.module.mjs +0 -30
- package/esm2022/lib/role/permission/permission.routes.mjs +0 -26
- package/esm2022/lib/role/permission/permissions-management.component.mjs +0 -127
- package/esm2022/lib/role/role-form-button.component.mjs +0 -44
- package/esm2022/lib/role/role-form.component.mjs +0 -82
- package/esm2022/lib/role/role-list/role-list.component.mjs +0 -120
- package/esm2022/lib/role/role-view/role-view-routing.module.mjs +0 -26
- package/esm2022/lib/role/role-view/role-view.component.mjs +0 -38
- package/esm2022/lib/role/role-view/role-view.module.mjs +0 -28
- package/esm2022/lib/role/role.model.mjs +0 -56
- package/esm2022/lib/role/role.module.mjs +0 -38
- package/esm2022/lib/role/role.routes.mjs +0 -31
- package/esm2022/lib/role/role.service.mjs +0 -23
- package/esm2022/lib/searchable-selector/index.mjs +0 -2
- package/esm2022/lib/searchable-selector/searchable-selector.component.mjs +0 -384
- package/esm2022/lib/searchable-selector/searchable-selector.module.mjs +0 -36
- package/esm2022/lib/shared.module.mjs +0 -85
- package/esm2022/lib/signup/index.mjs +0 -3
- package/esm2022/lib/signup/signup-routing.module.mjs +0 -22
- package/esm2022/lib/signup/signup.component.mjs +0 -78
- package/esm2022/lib/signup/signup.module.mjs +0 -26
- package/esm2022/lib/subscription/subscription-form/subscription-form-routing.module.mjs +0 -18
- package/esm2022/lib/subscription/subscription-form/subscription-form.component.mjs +0 -148
- package/esm2022/lib/subscription/subscription-form/subscription-form.module.mjs +0 -26
- package/esm2022/lib/subscription/subscription-listing/subscription-listing-routing.module.mjs +0 -26
- package/esm2022/lib/subscription/subscription-listing/subscription-listing.component.mjs +0 -128
- package/esm2022/lib/subscription/subscription-listing/subscription-listing.module.mjs +0 -30
- package/esm2022/lib/subscription/subscription-package-listing/subscription-package-listing-routing.module.mjs +0 -26
- package/esm2022/lib/subscription/subscription-package-listing/subscription-package-listing.component.mjs +0 -116
- package/esm2022/lib/subscription/subscription-package-listing/subscription-package-listing.module.mjs +0 -25
- package/esm2022/lib/subscription/subscription-package-view/subscription-package-view-routing.module.mjs +0 -26
- package/esm2022/lib/subscription/subscription-package-view/subscription-package-view.component.mjs +0 -38
- package/esm2022/lib/subscription/subscription-package-view/subscription-package-view.module.mjs +0 -29
- package/esm2022/lib/subscription/subscription-package.service.mjs +0 -21
- package/esm2022/lib/subscription/subscription-status.enum.mjs +0 -6
- package/esm2022/lib/subscription/subscription.service.mjs +0 -40
- package/esm2022/lib/subscription/techlify-subscription-directive.module.mjs +0 -20
- package/esm2022/lib/subscription/techlify-subscription.directive.mjs +0 -33
- package/esm2022/lib/tag/tag.service.mjs +0 -18
- package/esm2022/lib/tag/techlify-tagger-tag-form/techlify-tagger-tag-form.component.mjs +0 -71
- package/esm2022/lib/tag/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.mjs +0 -15
- package/esm2022/lib/tag/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.mjs +0 -266
- package/esm2022/lib/tag/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.mjs +0 -22
- package/esm2022/lib/tag/techlify-tagger-tag-list/techlify-tagger-tag-list.component.mjs +0 -57
- package/esm2022/lib/tag/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.mjs +0 -181
- package/esm2022/lib/tag/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.mjs +0 -22
- package/esm2022/lib/techlify-app-selector/techlify-app-selector.component.mjs +0 -50
- package/esm2022/lib/techlify-app-selector/techlify-app-selector.module.mjs +0 -28
- package/esm2022/lib/techlify-auto-complete-select/techlify-auto-complete-select.component.mjs +0 -185
- package/esm2022/lib/techlify-company-switcher/index.mjs +0 -3
- package/esm2022/lib/techlify-company-switcher/techlify-company-switcher/techlify-company-switcher.component.mjs +0 -70
- package/esm2022/lib/techlify-company-switcher/techlify-company-switcher.module.mjs +0 -32
- package/esm2022/lib/techlify-currency-pipe/techlify-currency-pipe.directive.mjs +0 -27
- package/esm2022/lib/techlify-feature/on-off-switch/on-off-switch.component.mjs +0 -24
- package/esm2022/lib/techlify-feature/techlify-feature-directive.module.mjs +0 -20
- package/esm2022/lib/techlify-feature/techlify-feature-enabled.directive.mjs +0 -32
- package/esm2022/lib/techlify-feature/techlify-feature-listing.component.mjs +0 -141
- package/esm2022/lib/techlify-feature/techlify-feature.module.mjs +0 -28
- package/esm2022/lib/techlify-feature/techlify-feature.routing.mjs +0 -12
- package/esm2022/lib/techlify-feature/techlify-feature.service.mjs +0 -43
- package/esm2022/lib/techlify-icon/techlify-icon.component.mjs +0 -77
- package/esm2022/lib/techlify-icon/techlify-icon.module.mjs +0 -24
- package/esm2022/lib/techlify-notifications/index.mjs +0 -9
- package/esm2022/lib/techlify-notifications/techlify-notification-for-user/techlify-notification-for-user-routing.module.mjs +0 -26
- package/esm2022/lib/techlify-notifications/techlify-notification-for-user/techlify-notification-for-user.component.mjs +0 -52
- package/esm2022/lib/techlify-notifications/techlify-notification-for-user/techlify-notification-for-user.module.mjs +0 -26
- package/esm2022/lib/techlify-notifications/techlify-notification-for-user/techlify-notification-subscription.service.mjs +0 -18
- package/esm2022/lib/techlify-notifications/techlify-notification-for-user/techlify-notification-type.service.mjs +0 -18
- package/esm2022/lib/techlify-notifications/techlify-notification-routing.module.mjs +0 -18
- package/esm2022/lib/techlify-notifications/techlify-notification.module.mjs +0 -22
- package/esm2022/lib/techlify-update/techlify-update-form/techlify-update-form.component.mjs +0 -115
- package/esm2022/lib/techlify-update/techlify-update-form/techlify-update-form.module.mjs +0 -26
- package/esm2022/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.mjs +0 -28
- package/esm2022/lib/techlify-update/techlify-update-history/techlify-update-history.component.mjs +0 -143
- package/esm2022/lib/techlify-update/techlify-update-history/techlify-update-history.module.mjs +0 -23
- package/esm2022/lib/techlify-update/techlify-update-routing.module.mjs +0 -28
- package/esm2022/lib/techlify-update/techlify-update.module.mjs +0 -27
- package/esm2022/lib/techlify-update/techlify-update.service.mjs +0 -41
- package/esm2022/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.mjs +0 -160
- package/esm2022/lib/techlify-update/techlify-updates-teaser/techlify-updates-teaser.component.mjs +0 -58
- package/esm2022/lib/techlify-update/techlify-updates-teaser/techlify-updates-teaser.module.mjs +0 -22
- package/esm2022/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.mjs +0 -76
- package/esm2022/lib/techlify-update/update-notifier/update-notifier.component.mjs +0 -53
- package/esm2022/lib/techlify-update/update-notifier/update-notifier.module.mjs +0 -27
- package/esm2022/lib/techlify-update/update-view/update-view.component.mjs +0 -37
- package/esm2022/lib/techlify-update/update-view/update-view.module.mjs +0 -22
- package/esm2022/lib/techlify-view/my-techlify-view-listing/my-techlify-view-listing.component.mjs +0 -90
- package/esm2022/lib/techlify-view/my-techlify-view-listing/my-techlify-view-listing.module.mjs +0 -24
- package/esm2022/lib/techlify-view/my-techlify-view-listing/my-techlify-view.service.mjs +0 -18
- package/esm2022/lib/techlify-view/techlify-view-form/techlify-view-form.component.mjs +0 -95
- package/esm2022/lib/techlify-view/techlify-view-form/techlify-view-form.module.mjs +0 -20
- package/esm2022/lib/techlify-view/techlify-view.service.mjs +0 -18
- package/esm2022/lib/timeline-activity/timeline-activity-button/timeline-activity-button-routing.module.mjs +0 -18
- package/esm2022/lib/timeline-activity/timeline-activity-button/timeline-activity-button.component.mjs +0 -42
- package/esm2022/lib/timeline-activity/timeline-activity-button/timeline-activity-button.module.mjs +0 -28
- package/esm2022/lib/timeline-activity/timeline-activity-list/timeline-activity-list-routing.module.mjs +0 -18
- package/esm2022/lib/timeline-activity/timeline-activity-list/timeline-activity-list.component.mjs +0 -87
- package/esm2022/lib/timeline-activity/timeline-activity-list/timeline-activity-list.module.mjs +0 -24
- package/esm2022/lib/timeline-activity/timeline-activity.service.mjs +0 -18
- package/esm2022/lib/timeline-filter/calculate-timeline.mjs +0 -103
- package/esm2022/lib/timeline-filter/index.mjs +0 -4
- package/esm2022/lib/timeline-filter/timeline-filter-routing.module.mjs +0 -18
- package/esm2022/lib/timeline-filter/timeline-filter.component.mjs +0 -290
- package/esm2022/lib/timeline-filter/timeline-filter.module.mjs +0 -60
- package/esm2022/lib/timeline-filter/timeline.model.mjs +0 -18
- package/esm2022/lib/user/app-admin-user-list/app-admin-user-list.component.mjs +0 -155
- package/esm2022/lib/user/app-admin-user-view/app-admin-user-view.component.mjs +0 -52
- package/esm2022/lib/user/app-admin-user-view/app-admin-user-view.module.mjs +0 -44
- package/esm2022/lib/user/app-admin-user-view/app-admin-user-view.routes.mjs +0 -22
- package/esm2022/lib/user/current-user.service.mjs +0 -152
- package/esm2022/lib/user/index.mjs +0 -14
- package/esm2022/lib/user/user-enable-button-component/user-enable-button.component.mjs +0 -93
- package/esm2022/lib/user/user-enable-button-component/user-enable-button.module.mjs +0 -20
- package/esm2022/lib/user/user-explore.component.mjs +0 -49
- package/esm2022/lib/user/user-form/user-form.component.mjs +0 -200
- package/esm2022/lib/user/user-list/user-list.component.mjs +0 -145
- package/esm2022/lib/user/user-sessions/user-session.service.mjs +0 -18
- package/esm2022/lib/user/user-sessions/user-sessions/user-sessions.component.mjs +0 -47
- package/esm2022/lib/user/user-sessions/user-sessions/user-sessions.module.mjs +0 -20
- package/esm2022/lib/user/user-type.enum.mjs +0 -7
- package/esm2022/lib/user/user-view.component.mjs +0 -58
- package/esm2022/lib/user/user.model.mjs +0 -31
- package/esm2022/lib/user/user.module.mjs +0 -68
- package/esm2022/lib/user/user.routes.mjs +0 -30
- package/esm2022/lib/user/user.service.mjs +0 -42
- package/esm2022/lib/user-client-enable-disable-button/user-client-enable-disable-button.component.mjs +0 -53
- package/esm2022/lib/user-client-enable-disable-button/user-client-enable-disable-button.module.mjs +0 -20
- package/esm2022/lib/user-clients-list/user-clients-list.component.mjs +0 -50
- package/esm2022/lib/user-clients-list/user-clients-list.module.mjs +0 -24
- package/esm2022/lib/user-clients-list/user-tenant.service.mjs +0 -24
- package/esm2022/lib/user-config/index.mjs +0 -3
- package/esm2022/lib/user-config/user-config.model.mjs +0 -50
- package/esm2022/lib/user-config/user-config.service.mjs +0 -65
- package/esm2022/lib/user-menu/user-menu.component.mjs +0 -39
- package/esm2022/lib/user-menu/user-menu.module.mjs +0 -28
- package/esm2022/lib/user-selector/index.mjs +0 -3
- package/esm2022/lib/user-selector/user-data.service.mjs +0 -35
- package/esm2022/lib/user-selector/user-selector.component.mjs +0 -86
- package/esm2022/lib/user-selector/user-selector.module.mjs +0 -26
- package/esm2022/lib/utility/date-utils.service.mjs +0 -89
- package/esm2022/lib/utility/index.mjs +0 -3
- package/esm2022/lib/utility/num-items-selector.component.mjs +0 -31
- package/esm2022/lib/utility/utility.module.mjs +0 -22
- package/esm2022/lib/validators/date.validator.mjs +0 -31
- package/esm2022/ngx-techlify-core.mjs +0 -5
- package/esm2022/public-api.mjs +0 -232
- package/index.d.ts +0 -5
- package/lib/access-control-config/access-control-config-form/access-control-config-form.component.d.ts +0 -44
- package/lib/access-control-config/access-control-config-routing.module.d.ts +0 -7
- package/lib/access-control-config/access-control-config.component.d.ts +0 -30
- package/lib/access-control-config/access-control-config.model.d.ts +0 -17
- package/lib/access-control-config/access-control-config.module.d.ts +0 -10
- package/lib/access-control-config/access-control-config.service.d.ts +0 -15
- package/lib/action-popup/action-popup.component.d.ts +0 -17
- package/lib/action-popup/action-popup.model.d.ts +0 -5
- package/lib/action-popup/action-popup.module.d.ts +0 -9
- package/lib/action-popup/index.d.ts +0 -2
- package/lib/app-admin/admin-role/admin-role-list/admin-role-list-routing.module.d.ts +0 -7
- package/lib/app-admin/admin-role/admin-role-list/admin-role-list.component.d.ts +0 -29
- package/lib/app-admin/admin-role/admin-role-list/admin-role-list.module.d.ts +0 -11
- package/lib/app-admin/admin-role/admin-role-permission-form/admin-role-permission-form.component.d.ts +0 -28
- package/lib/app-admin/admin-role/admin-role-permission-form/admin-role-permission-form.module.d.ts +0 -8
- package/lib/app-admin/admin-role/admin-role.service.d.ts +0 -11
- package/lib/app-admin/app-admin-home/app-admin-home.component.d.ts +0 -5
- package/lib/app-admin/app-admin-routing.module.d.ts +0 -7
- package/lib/app-admin/app-admin.module.d.ts +0 -8
- package/lib/app-admin/tenant/tenant-list-widget/tenant-list-widget.component.d.ts +0 -13
- package/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.d.ts +0 -7
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.component.d.ts +0 -20
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.module.d.ts +0 -11
- package/lib/audit-log/audit-log-list/audit-log-list-routing.module.d.ts +0 -7
- package/lib/audit-log/audit-log-list/audit-log-list.component.d.ts +0 -33
- package/lib/audit-log/audit-log-list/audit-log-list.module.d.ts +0 -10
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.d.ts +0 -7
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.d.ts +0 -20
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.d.ts +0 -9
- package/lib/audit-log/audit-log-routing.module.d.ts +0 -7
- package/lib/audit-log/audit-log-view/audit-log-view-routing.module.d.ts +0 -7
- package/lib/audit-log/audit-log-view/audit-log-view.component.d.ts +0 -20
- package/lib/audit-log/audit-log-view/audit-log-view.module.d.ts +0 -9
- package/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.d.ts +0 -7
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.component.d.ts +0 -18
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.module.d.ts +0 -9
- package/lib/audit-log/audit-log.module.d.ts +0 -10
- package/lib/audit-log/audit-log.service.d.ts +0 -8
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.d.ts +0 -7
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.d.ts +0 -12
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.d.ts +0 -10
- package/lib/base-model/index.d.ts +0 -7
- package/lib/base-model/techlify-form/contract/techlify-form.contract.d.ts +0 -18
- package/lib/base-model/techlify-form/techlify-form.component.d.ts +0 -69
- package/lib/base-model/techlify-list/contract/techlify-list.contract.d.ts +0 -9
- package/lib/base-model/techlify-list/techlify-list.component.d.ts +0 -175
- package/lib/base-model/techlify-service.d.ts +0 -54
- package/lib/base-model/techlify-show/contract/techlify-show.contract.d.ts +0 -17
- package/lib/base-model/techlify-show/techlify-show.component.d.ts +0 -71
- package/lib/change-password/change-password-routing.module.d.ts +0 -7
- package/lib/change-password/change-password.component.d.ts +0 -27
- package/lib/change-password/change-password.module.d.ts +0 -10
- package/lib/column-selector/column-config.model.d.ts +0 -7
- package/lib/column-selector/column-selector/column-selector.component.d.ts +0 -27
- package/lib/column-selector/column-selector.module.d.ts +0 -8
- package/lib/column-selector/index.d.ts +0 -3
- package/lib/company-information/client.service.d.ts +0 -9
- package/lib/company-information/company-info-display/company-info-display.component.d.ts +0 -16
- package/lib/company-information/company-information/company-information.component.d.ts +0 -27
- package/lib/company-information/tenant-form-button/tenant-form-button.component.d.ts +0 -14
- package/lib/core/alert.service.d.ts +0 -15
- package/lib/core/api-prefix.interceptor.d.ts +0 -14
- package/lib/core/app-update.service.d.ts +0 -25
- package/lib/core/authentication.guard.d.ts +0 -13
- package/lib/core/authentication.service.d.ts +0 -28
- package/lib/core/cache.interceptor.d.ts +0 -24
- package/lib/core/config.service.d.ts +0 -22
- package/lib/core/core.module.d.ts +0 -10
- package/lib/core/credentials.service.d.ts +0 -39
- package/lib/core/environment.service.d.ts +0 -8
- package/lib/core/error-handler.interceptor.d.ts +0 -26
- package/lib/core/error-handler.service.d.ts +0 -19
- package/lib/core/filter.service.d.ts +0 -14
- package/lib/core/form-validator.service.d.ts +0 -11
- package/lib/core/header.interceptor.d.ts +0 -11
- package/lib/core/http-cache.service.d.ts +0 -57
- package/lib/core/http.service.d.ts +0 -59
- package/lib/core/index.d.ts +0 -22
- package/lib/core/logger.service.d.ts +0 -85
- package/lib/core/route-reusable-strategy.d.ts +0 -16
- package/lib/core/snack/snack.component.d.ts +0 -13
- package/lib/core/snack/snack.module.d.ts +0 -10
- package/lib/core/storage.service.d.ts +0 -18
- package/lib/core/techlify-config.model.d.ts +0 -18
- package/lib/core/token.interceptor.d.ts +0 -14
- package/lib/custom-icon/custom-icon-registry.service.d.ts +0 -10
- package/lib/custom-icon/custom-icon.component.d.ts +0 -11
- package/lib/custom-icon/custom-icon.module.d.ts +0 -8
- package/lib/custom-icon/custom-icons.registry.d.ts +0 -4
- package/lib/data-table/data-table.component.d.ts +0 -61
- package/lib/data-table/data-table.model.d.ts +0 -46
- package/lib/data-table/data-table.module.d.ts +0 -8
- package/lib/data-table/index.d.ts +0 -2
- package/lib/delete-button/techlify-delete-button.component.d.ts +0 -24
- package/lib/detail-layout/techlify-detail-layout.component.d.ts +0 -5
- package/lib/document-viewer/document-viewer.component.d.ts +0 -19
- package/lib/document-viewer/document-viewer.module.d.ts +0 -10
- package/lib/document-viewer/index.d.ts +0 -2
- package/lib/document-viewer/viewer-config.model.d.ts +0 -5
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.d.ts +0 -12
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.d.ts +0 -19
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.d.ts +0 -9
- package/lib/email-subscription/email-subscription-for-user/index.d.ts +0 -1
- package/lib/email-subscription/email-subscription-routing.module.d.ts +0 -7
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.d.ts +0 -7
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.d.ts +0 -35
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.d.ts +0 -10
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.d.ts +0 -1
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.d.ts +0 -14
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.d.ts +0 -32
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.d.ts +0 -10
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.d.ts +0 -1
- package/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.d.ts +0 -7
- package/lib/email-subscription/email-subscription-type/email-subscription-type.module.d.ts +0 -8
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.d.ts +0 -7
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.d.ts +0 -35
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.d.ts +0 -10
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.d.ts +0 -1
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.d.ts +0 -14
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.d.ts +0 -34
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.d.ts +0 -11
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.d.ts +0 -1
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.d.ts +0 -7
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.d.ts +0 -16
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.d.ts +0 -9
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.d.ts +0 -1
- package/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.d.ts +0 -7
- package/lib/email-subscription/email-subscription-user/email-subscription-user.module.d.ts +0 -8
- package/lib/email-subscription/email-subscription.module.d.ts +0 -8
- package/lib/entity-files/entity-file-form/entity-file-form.component.d.ts +0 -42
- package/lib/entity-files/entity-file-list/entity-file-list.component.d.ts +0 -72
- package/lib/entity-files/entity-file-list-widget/entity-file-list-widget.component.d.ts +0 -9
- package/lib/entity-files/entity-file-list.module.d.ts +0 -13
- package/lib/entity-files/entity-file.service.d.ts +0 -11
- package/lib/entity-files/index.d.ts +0 -4
- package/lib/export-excel/export-excel-button/export-excel-button.component.d.ts +0 -21
- package/lib/export-excel/export-excel.module.d.ts +0 -10
- package/lib/file-dragdrop-uploader/file-dragdrop-uploader/file-dragdrop-uploader.component.d.ts +0 -31
- package/lib/file-dragdrop-uploader/file-dragdrop-uploader.module.d.ts +0 -8
- package/lib/file-dropper/file-dropper.component.d.ts +0 -36
- package/lib/file-dropper/file-dropper.model.d.ts +0 -10
- package/lib/file-dropper/file-dropper.module.d.ts +0 -9
- package/lib/file-dropper/index.d.ts +0 -2
- package/lib/file-upload-button/file-upload-button.component.d.ts +0 -20
- package/lib/forgot-password/forgot-password-routing.module.d.ts +0 -7
- package/lib/forgot-password/forgot-password.component.d.ts +0 -34
- package/lib/forgot-password/forgot-password.module.d.ts +0 -9
- package/lib/forgot-password/index.d.ts +0 -2
- package/lib/form-button/techlify-form-button.component.d.ts +0 -15
- package/lib/form-configuration/form-configuration-field-form/form-configuration-field-form-routing.module.d.ts +0 -7
- package/lib/form-configuration/form-configuration-field-form/form-configuration-field-form.component.d.ts +0 -18
- package/lib/form-configuration/form-configuration-field-form/form-configuration-field-form.module.d.ts +0 -9
- package/lib/form-configuration/form-configuration-for-form/form-configuration-for-form.component.d.ts +0 -10
- package/lib/form-configuration/form-configuration-for-form/form-configuration-for-form.module.d.ts +0 -10
- package/lib/form-configuration/form-configuration-form-field.service.d.ts +0 -8
- package/lib/form-configuration/form-configuration-form.service.d.ts +0 -8
- package/lib/form-configuration/form-configuration-utility.service.d.ts +0 -18
- package/lib/image-preview/image-preview.component.d.ts +0 -9
- package/lib/import-csv/data-import/data-import.component.d.ts +0 -9
- package/lib/import-csv/failed-items-list/failed-items-list.component.d.ts +0 -15
- package/lib/import-csv/field-mapping/field-mapping.component.d.ts +0 -37
- package/lib/import-csv/import-csv-config.d.ts +0 -18
- package/lib/import-csv/import-csv.component.d.ts +0 -38
- package/lib/import-csv/import-csv.module.d.ts +0 -14
- package/lib/import-csv/import-history-list/import-history-list.component.d.ts +0 -23
- package/lib/import-csv/import-success/import-success.component.d.ts +0 -11
- package/lib/ip-address-selector/ip-address-selector.module.d.ts +0 -8
- package/lib/ip-address-selector/ip-range-selector/ip-range-selector.component.d.ts +0 -28
- package/lib/loader/index.d.ts +0 -1
- package/lib/loader/loader.component.d.ts +0 -11
- package/lib/loader/loader.module.d.ts +0 -9
- package/lib/local-date-parser.d.ts +0 -1
- package/lib/locked-date/index.d.ts +0 -5
- package/lib/locked-date/locked-date-form/locked-date-form.component.d.ts +0 -24
- package/lib/locked-date/locked-date-lock-unlock-button/locked-date-lock-unlock-button.component.d.ts +0 -13
- package/lib/locked-date/locked-date.model.d.ts +0 -10
- package/lib/locked-date/locked-date.module.d.ts +0 -10
- package/lib/locked-date/locked-date.service.d.ts +0 -11
- package/lib/locked-date/locked-dates-list/locked-date-list.component.d.ts +0 -19
- package/lib/login/index.d.ts +0 -2
- package/lib/login/login-form-fields/login-form-fields.component.d.ts +0 -41
- package/lib/login/login-routing.module.d.ts +0 -7
- package/lib/login/login.component.d.ts +0 -36
- package/lib/login/login.module.d.ts +0 -10
- package/lib/login-history-for-user/login-history-for-user-routing.module.d.ts +0 -7
- package/lib/login-history-for-user/login-history-for-user.component.d.ts +0 -25
- package/lib/login-history-for-user/login-history-for-user.module.d.ts +0 -9
- package/lib/material.module.d.ts +0 -30
- package/lib/ngx-techlify-users/ngx-techlify-users-routing.module.d.ts +0 -7
- package/lib/ngx-techlify-users/ngx-techlify-users.module.d.ts +0 -8
- package/lib/note/comment-form/comment-form.component.d.ts +0 -25
- package/lib/note/index.d.ts +0 -4
- package/lib/note/note-comment-list/note-comment-list.component.d.ts +0 -33
- package/lib/note/note-form/note-form.component.d.ts +0 -29
- package/lib/note/note-list/note-list.component.d.ts +0 -30
- package/lib/note/note.module.d.ts +0 -9
- package/lib/note/note.service.d.ts +0 -8
- package/lib/number-input-button/index.d.ts +0 -2
- package/lib/number-input-button/number-input-button/number-input-button.component.d.ts +0 -32
- package/lib/number-input-button/number-input-button.module.d.ts +0 -8
- package/lib/number-selector/number-selector.component.d.ts +0 -44
- package/lib/ordinal-pipe/ordinal-pipe.d.ts +0 -7
- package/lib/password-requirement-check/password-check-result.d.ts +0 -7
- package/lib/password-requirement-check/password-check.service.d.ts +0 -15
- package/lib/password-requirement-check/password-requirement-check/password-requirement-check.component.d.ts +0 -23
- package/lib/password-requirement-check/password-requirement-check.module.d.ts +0 -8
- package/lib/pdf-button/pdf-button.component.d.ts +0 -11
- package/lib/pdf-button/pdf-button.module.d.ts +0 -8
- package/lib/phone-number-selector/country.service.d.ts +0 -12
- package/lib/phone-number-selector/phone-number-selector.component.d.ts +0 -47
- package/lib/pipes/file-size.pipe.d.ts +0 -7
- package/lib/pipes/wrap.pipe.d.ts +0 -7
- package/lib/profile/index.d.ts +0 -2
- package/lib/profile/profile-edit.component.d.ts +0 -33
- package/lib/profile/profile-routing.module.d.ts +0 -7
- package/lib/profile/profile.module.d.ts +0 -9
- package/lib/read-more/read-more.component.d.ts +0 -15
- package/lib/read-more/read-more.module.d.ts +0 -9
- package/lib/request-helper/request-helper.service.d.ts +0 -59
- package/lib/reset-password/index.d.ts +0 -3
- package/lib/reset-password/reset-password-routing.module.d.ts +0 -7
- package/lib/reset-password/reset-password.component.d.ts +0 -28
- package/lib/reset-password/reset-password.module.d.ts +0 -10
- package/lib/reset-password/reset-password.service.d.ts +0 -11
- package/lib/restrictors/index.d.ts +0 -3
- package/lib/restrictors/restrictor-level-selector/restrictor-level-selector/restrictor-level-selector.component.d.ts +0 -34
- package/lib/restrictors/restrictor-level-selector/restrictor-level-selector.module.d.ts +0 -8
- package/lib/restrictors/restrictor-level-selector/restrictor-level.service.d.ts +0 -9
- package/lib/restrictors/restrictor-status-selector/restrictor-status-selector/restrictor-status-selector.component.d.ts +0 -34
- package/lib/restrictors/restrictor-status-selector/restrictor-status-selector.module.d.ts +0 -8
- package/lib/restrictors/restrictor-status-selector/restrictor-status.service.d.ts +0 -9
- package/lib/restrictors/restrictor-type-selector/restrictor-type-selector/restrictor-type-selector.component.d.ts +0 -34
- package/lib/restrictors/restrictor-type-selector/restrictor-type-selector.module.d.ts +0 -8
- package/lib/restrictors/restrictor-type-selector/restrictor-type.service.d.ts +0 -9
- package/lib/restrictors/restrictor.service.d.ts +0 -9
- package/lib/restrictors/restrictors-form/restrictors-form.component.d.ts +0 -30
- package/lib/restrictors/restrictors-form-page/restrictors-form-page.component.d.ts +0 -21
- package/lib/restrictors/restrictors-list-page/restrictors-list-page.component.d.ts +0 -50
- package/lib/restrictors/restrictors-routing.module.d.ts +0 -7
- package/lib/restrictors/restrictors.module.d.ts +0 -15
- package/lib/role/index.d.ts +0 -9
- package/lib/role/permission/permission.model.d.ts +0 -11
- package/lib/role/permission/permission.module.d.ts +0 -9
- package/lib/role/permission/permission.routes.d.ts +0 -7
- package/lib/role/permission/permissions-management.component.d.ts +0 -41
- package/lib/role/role-form-button.component.d.ts +0 -16
- package/lib/role/role-form.component.d.ts +0 -32
- package/lib/role/role-list/role-list.component.d.ts +0 -33
- package/lib/role/role-view/role-view-routing.module.d.ts +0 -7
- package/lib/role/role-view/role-view.component.d.ts +0 -16
- package/lib/role/role-view/role-view.module.d.ts +0 -9
- package/lib/role/role.model.d.ts +0 -29
- package/lib/role/role.module.d.ts +0 -11
- package/lib/role/role.routes.d.ts +0 -7
- package/lib/role/role.service.d.ts +0 -10
- package/lib/searchable-selector/index.d.ts +0 -1
- package/lib/searchable-selector/searchable-selector.component.d.ts +0 -95
- package/lib/searchable-selector/searchable-selector.module.d.ts +0 -11
- package/lib/shared.module.d.ts +0 -22
- package/lib/signup/index.d.ts +0 -2
- package/lib/signup/signup-routing.module.d.ts +0 -7
- package/lib/signup/signup.component.d.ts +0 -29
- package/lib/signup/signup.module.d.ts +0 -9
- package/lib/subscription/subscription-form/subscription-form-routing.module.d.ts +0 -7
- package/lib/subscription/subscription-form/subscription-form.component.d.ts +0 -31
- package/lib/subscription/subscription-form/subscription-form.module.d.ts +0 -9
- package/lib/subscription/subscription-listing/subscription-listing-routing.module.d.ts +0 -7
- package/lib/subscription/subscription-listing/subscription-listing.component.d.ts +0 -25
- package/lib/subscription/subscription-listing/subscription-listing.module.d.ts +0 -10
- package/lib/subscription/subscription-package-listing/subscription-package-listing-routing.module.d.ts +0 -7
- package/lib/subscription/subscription-package-listing/subscription-package-listing.component.d.ts +0 -28
- package/lib/subscription/subscription-package-listing/subscription-package-listing.module.d.ts +0 -9
- package/lib/subscription/subscription-package-view/subscription-package-view-routing.module.d.ts +0 -7
- package/lib/subscription/subscription-package-view/subscription-package-view.component.d.ts +0 -15
- package/lib/subscription/subscription-package-view/subscription-package-view.module.d.ts +0 -10
- package/lib/subscription/subscription-package.service.d.ts +0 -9
- package/lib/subscription/subscription-status.enum.d.ts +0 -4
- package/lib/subscription/subscription.service.d.ts +0 -12
- package/lib/subscription/techlify-subscription-directive.module.d.ts +0 -8
- package/lib/subscription/techlify-subscription.directive.d.ts +0 -14
- package/lib/tag/tag.service.d.ts +0 -8
- package/lib/tag/techlify-tagger-tag-form/techlify-tagger-tag-form.component.d.ts +0 -22
- package/lib/tag/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.d.ts +0 -12
- package/lib/tag/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.d.ts +0 -74
- package/lib/tag/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.d.ts +0 -8
- package/lib/tag/techlify-tagger-tag-list/techlify-tagger-tag-list.component.d.ts +0 -15
- package/lib/tag/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.d.ts +0 -61
- package/lib/tag/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.d.ts +0 -8
- package/lib/techlify-app-selector/techlify-app-selector.component.d.ts +0 -13
- package/lib/techlify-app-selector/techlify-app-selector.module.d.ts +0 -10
- package/lib/techlify-auto-complete-select/techlify-auto-complete-select.component.d.ts +0 -50
- package/lib/techlify-company-switcher/index.d.ts +0 -2
- package/lib/techlify-company-switcher/techlify-company-switcher/techlify-company-switcher.component.d.ts +0 -28
- package/lib/techlify-company-switcher/techlify-company-switcher.module.d.ts +0 -10
- package/lib/techlify-currency-pipe/techlify-currency-pipe.directive.d.ts +0 -8
- package/lib/techlify-feature/on-off-switch/on-off-switch.component.d.ts +0 -12
- package/lib/techlify-feature/techlify-feature-directive.module.d.ts +0 -8
- package/lib/techlify-feature/techlify-feature-enabled.directive.d.ts +0 -13
- package/lib/techlify-feature/techlify-feature-listing.component.d.ts +0 -32
- package/lib/techlify-feature/techlify-feature.module.d.ts +0 -11
- package/lib/techlify-feature/techlify-feature.routing.d.ts +0 -2
- package/lib/techlify-feature/techlify-feature.service.d.ts +0 -13
- package/lib/techlify-icon/techlify-icon.component.d.ts +0 -12
- package/lib/techlify-icon/techlify-icon.module.d.ts +0 -9
- package/lib/techlify-notifications/index.d.ts +0 -5
- package/lib/techlify-notifications/techlify-notification-for-user/techlify-notification-for-user-routing.module.d.ts +0 -7
- package/lib/techlify-notifications/techlify-notification-for-user/techlify-notification-for-user.component.d.ts +0 -17
- package/lib/techlify-notifications/techlify-notification-for-user/techlify-notification-for-user.module.d.ts +0 -9
- package/lib/techlify-notifications/techlify-notification-for-user/techlify-notification-subscription.service.d.ts +0 -8
- package/lib/techlify-notifications/techlify-notification-for-user/techlify-notification-type.service.d.ts +0 -8
- package/lib/techlify-notifications/techlify-notification-routing.module.d.ts +0 -7
- package/lib/techlify-notifications/techlify-notification.module.d.ts +0 -8
- package/lib/techlify-update/techlify-update-form/techlify-update-form.component.d.ts +0 -33
- package/lib/techlify-update/techlify-update-form/techlify-update-form.module.d.ts +0 -9
- package/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.d.ts +0 -7
- package/lib/techlify-update/techlify-update-history/techlify-update-history.component.d.ts +0 -34
- package/lib/techlify-update/techlify-update-history/techlify-update-history.module.d.ts +0 -9
- package/lib/techlify-update/techlify-update-routing.module.d.ts +0 -7
- package/lib/techlify-update/techlify-update.module.d.ts +0 -10
- package/lib/techlify-update/techlify-update.service.d.ts +0 -16
- package/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.d.ts +0 -33
- package/lib/techlify-update/techlify-updates-teaser/techlify-updates-teaser.component.d.ts +0 -20
- package/lib/techlify-update/techlify-updates-teaser/techlify-updates-teaser.module.d.ts +0 -8
- package/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.d.ts +0 -28
- package/lib/techlify-update/update-notifier/update-notifier.component.d.ts +0 -19
- package/lib/techlify-update/update-notifier/update-notifier.module.d.ts +0 -10
- package/lib/techlify-update/update-view/update-view.component.d.ts +0 -17
- package/lib/techlify-update/update-view/update-view.module.d.ts +0 -8
- package/lib/techlify-view/my-techlify-view-listing/my-techlify-view-listing.component.d.ts +0 -23
- package/lib/techlify-view/my-techlify-view-listing/my-techlify-view-listing.module.d.ts +0 -9
- package/lib/techlify-view/my-techlify-view-listing/my-techlify-view.service.d.ts +0 -8
- package/lib/techlify-view/techlify-view-form/techlify-view-form.component.d.ts +0 -30
- package/lib/techlify-view/techlify-view-form/techlify-view-form.module.d.ts +0 -8
- package/lib/techlify-view/techlify-view.service.d.ts +0 -8
- package/lib/timeline-activity/timeline-activity-button/timeline-activity-button-routing.module.d.ts +0 -7
- package/lib/timeline-activity/timeline-activity-button/timeline-activity-button.component.d.ts +0 -17
- package/lib/timeline-activity/timeline-activity-button/timeline-activity-button.module.d.ts +0 -10
- package/lib/timeline-activity/timeline-activity-list/timeline-activity-list-routing.module.d.ts +0 -7
- package/lib/timeline-activity/timeline-activity-list/timeline-activity-list.component.d.ts +0 -24
- package/lib/timeline-activity/timeline-activity-list/timeline-activity-list.module.d.ts +0 -9
- package/lib/timeline-activity/timeline-activity.service.d.ts +0 -8
- package/lib/timeline-filter/calculate-timeline.d.ts +0 -6
- package/lib/timeline-filter/index.d.ts +0 -3
- package/lib/timeline-filter/timeline-filter-routing.module.d.ts +0 -7
- package/lib/timeline-filter/timeline-filter.component.d.ts +0 -75
- package/lib/timeline-filter/timeline-filter.module.d.ts +0 -18
- package/lib/timeline-filter/timeline.model.d.ts +0 -17
- package/lib/user/app-admin-user-list/app-admin-user-list.component.d.ts +0 -40
- package/lib/user/app-admin-user-view/app-admin-user-view.component.d.ts +0 -26
- package/lib/user/app-admin-user-view/app-admin-user-view.module.d.ts +0 -13
- package/lib/user/app-admin-user-view/app-admin-user-view.routes.d.ts +0 -7
- package/lib/user/current-user.service.d.ts +0 -75
- package/lib/user/index.d.ts +0 -13
- package/lib/user/user-enable-button-component/user-enable-button.component.d.ts +0 -23
- package/lib/user/user-enable-button-component/user-enable-button.module.d.ts +0 -8
- package/lib/user/user-explore.component.d.ts +0 -26
- package/lib/user/user-form/user-form.component.d.ts +0 -43
- package/lib/user/user-list/user-list.component.d.ts +0 -38
- package/lib/user/user-sessions/user-session.service.d.ts +0 -8
- package/lib/user/user-sessions/user-sessions/user-sessions.component.d.ts +0 -15
- package/lib/user/user-sessions/user-sessions/user-sessions.module.d.ts +0 -8
- package/lib/user/user-type.enum.d.ts +0 -5
- package/lib/user/user-view.component.d.ts +0 -32
- package/lib/user/user.model.d.ts +0 -30
- package/lib/user/user.module.d.ts +0 -16
- package/lib/user/user.routes.d.ts +0 -7
- package/lib/user/user.service.d.ts +0 -15
- package/lib/user-client-enable-disable-button/user-client-enable-disable-button.component.d.ts +0 -22
- package/lib/user-client-enable-disable-button/user-client-enable-disable-button.module.d.ts +0 -8
- package/lib/user-clients-list/user-clients-list.component.d.ts +0 -15
- package/lib/user-clients-list/user-clients-list.module.d.ts +0 -9
- package/lib/user-clients-list/user-tenant.service.d.ts +0 -11
- package/lib/user-config/index.d.ts +0 -2
- package/lib/user-config/user-config.model.d.ts +0 -50
- package/lib/user-config/user-config.service.d.ts +0 -14
- package/lib/user-menu/user-menu.component.d.ts +0 -17
- package/lib/user-menu/user-menu.module.d.ts +0 -13
- package/lib/user-selector/index.d.ts +0 -2
- package/lib/user-selector/user-data.service.d.ts +0 -16
- package/lib/user-selector/user-selector.component.d.ts +0 -28
- package/lib/user-selector/user-selector.module.d.ts +0 -8
- package/lib/utility/date-utils.service.d.ts +0 -38
- package/lib/utility/index.d.ts +0 -2
- package/lib/utility/num-items-selector.component.d.ts +0 -19
- package/lib/utility/utility.module.d.ts +0 -8
- package/lib/validators/date.validator.d.ts +0 -6
- package/public-api.d.ts +0 -212
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Component, Input } from '@angular/core';
|
|
3
|
-
import { RouterModule } from '@angular/router';
|
|
4
|
-
import { UserFormComponent } from '../user-form/user-form.component';
|
|
5
|
-
import { finalize } from 'rxjs/operators';
|
|
6
|
-
import { UntilDestroy } from '@ngneat/until-destroy';
|
|
7
|
-
import { TechlifyListComponent } from '../../base-model';
|
|
8
|
-
import { UserEnableButtonModule } from '../user-enable-button-component/user-enable-button.module';
|
|
9
|
-
import { SharedModule } from '../../shared.module';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "../../core";
|
|
12
|
-
import * as i2 from "../current-user.service";
|
|
13
|
-
import * as i3 from "../../user-config";
|
|
14
|
-
import * as i4 from "../user.service";
|
|
15
|
-
import * as i5 from "@angular/forms";
|
|
16
|
-
import * as i6 from "@angular/common";
|
|
17
|
-
import * as i7 from "ngx-infinite-scroll";
|
|
18
|
-
import * as i8 from "@angular/material/button";
|
|
19
|
-
import * as i9 from "@angular/material/form-field";
|
|
20
|
-
import * as i10 from "@angular/material/icon";
|
|
21
|
-
import * as i11 from "@angular/material/input";
|
|
22
|
-
import * as i12 from "@angular/material/sort";
|
|
23
|
-
import * as i13 from "@angular/material/table";
|
|
24
|
-
import * as i14 from "@angular/material/card";
|
|
25
|
-
import * as i15 from "@angular/material/tooltip";
|
|
26
|
-
import * as i16 from "@angular/material/button-toggle";
|
|
27
|
-
import * as i17 from "@angular/material/progress-bar";
|
|
28
|
-
import * as i18 from "../../searchable-selector/searchable-selector.component";
|
|
29
|
-
import * as i19 from "../../delete-button/techlify-delete-button.component";
|
|
30
|
-
import * as i20 from "../../form-button/techlify-form-button.component";
|
|
31
|
-
import * as i21 from "../../techlify-icon/techlify-icon.component";
|
|
32
|
-
import * as i22 from "@angular/router";
|
|
33
|
-
import * as i23 from "../user-enable-button-component/user-enable-button.component";
|
|
34
|
-
let UserListComponent = class UserListComponent extends TechlifyListComponent {
|
|
35
|
-
constructor(alertService, currentUserService, userConfigService, service, fb) {
|
|
36
|
-
super();
|
|
37
|
-
this.alertService = alertService;
|
|
38
|
-
this.currentUserService = currentUserService;
|
|
39
|
-
this.userConfigService = userConfigService;
|
|
40
|
-
this.service = service;
|
|
41
|
-
this.fb = fb;
|
|
42
|
-
this.userTypeIds = [];
|
|
43
|
-
this.title = 'User Management';
|
|
44
|
-
this.displayedColumns = [
|
|
45
|
-
'index',
|
|
46
|
-
'name',
|
|
47
|
-
'email',
|
|
48
|
-
'type',
|
|
49
|
-
'roles',
|
|
50
|
-
'last_login',
|
|
51
|
-
'added_by',
|
|
52
|
-
'actions'
|
|
53
|
-
];
|
|
54
|
-
this.scrollContainer = '.mat-sidenav-content';
|
|
55
|
-
this.models = [];
|
|
56
|
-
this.userFormComponent = UserFormComponent;
|
|
57
|
-
this.config = this.userConfigService.getConfig();
|
|
58
|
-
this.filterFormConfiguration = {
|
|
59
|
-
role_ids: { multiple: true },
|
|
60
|
-
status: { multiple: true },
|
|
61
|
-
user_type_ids: { multiple: true }
|
|
62
|
-
};
|
|
63
|
-
if (this.config?.scrollContainer) {
|
|
64
|
-
// Set to null if scroll has to be done from root
|
|
65
|
-
this.scrollContainer = this.config?.scrollContainer === 'root' ? null : this.config?.scrollContainer;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
ngOnInit() {
|
|
69
|
-
//Initialize form in OnInit.
|
|
70
|
-
//On constructor Input() variables will be null, that will introduce a issue for admin view
|
|
71
|
-
this.filterForm = this.fb.group({
|
|
72
|
-
search: [''],
|
|
73
|
-
role_ids: [''],
|
|
74
|
-
status: ['enabled'],
|
|
75
|
-
sort_by: ['id|ASC'],
|
|
76
|
-
relations: ['roles,type,userClients.type,creator,userClient'],
|
|
77
|
-
appends: ['last_login'],
|
|
78
|
-
user_type_ids: this.userTypeIds.toString()
|
|
79
|
-
});
|
|
80
|
-
this.currentUser = this.currentUserService.getUser();
|
|
81
|
-
this.patchFiltersFromRoute();
|
|
82
|
-
this.listenFilterChanges();
|
|
83
|
-
this.loadData();
|
|
84
|
-
}
|
|
85
|
-
loadData() {
|
|
86
|
-
this.isWorking = true;
|
|
87
|
-
const clientId = this.currentUser?.client_id;
|
|
88
|
-
const params = {
|
|
89
|
-
...this.filterForm.value,
|
|
90
|
-
status: this.filterForm.value.status ? this.filterForm.value.status.toString() : '',
|
|
91
|
-
page: this.page,
|
|
92
|
-
role_ids: this.filterForm?.value?.role_ids?.toString()
|
|
93
|
-
};
|
|
94
|
-
this.service.index(params).subscribe({
|
|
95
|
-
next: (result) => {
|
|
96
|
-
this.isWorking = false;
|
|
97
|
-
this.models = this.models.concat(result?.data);
|
|
98
|
-
this.lastPage = result?.last_page;
|
|
99
|
-
this.models.forEach((userData) => {
|
|
100
|
-
const client = (userData?.user_clients || [])
|
|
101
|
-
.find((userClient) => userClient.client_id === clientId && userClient.user_id === userData.id);
|
|
102
|
-
if (client) {
|
|
103
|
-
userData.user_type_id = client.user_type_id;
|
|
104
|
-
userData.client_id = client.client_id;
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
},
|
|
108
|
-
error: () => this.isWorking = false
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Get the user type for the current client.
|
|
113
|
-
*
|
|
114
|
-
* @param user User
|
|
115
|
-
*/
|
|
116
|
-
getUserType(user) {
|
|
117
|
-
const userClient = (user?.user_clients).find((item) => item?.client_id === this.currentUser?.client_id);
|
|
118
|
-
return userClient?.type?.title || '';
|
|
119
|
-
}
|
|
120
|
-
resetPassword(user) {
|
|
121
|
-
this.isWorking = true;
|
|
122
|
-
this.service.resetPassword(user)
|
|
123
|
-
.pipe(finalize(() => this.isWorking = false))
|
|
124
|
-
.subscribe(_ => this.alertService.addAlert('Password reset email sent', 'success'));
|
|
125
|
-
}
|
|
126
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserListComponent, deps: [{ token: i1.AlertService }, { token: i2.CurrentUserService }, { token: i3.UserConfigService }, { token: i4.UserService }, { token: i5.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
127
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: UserListComponent, isStandalone: true, selector: "app-user-list", inputs: { userTypeIds: "userTypeIds", title: "title" }, usesInheritance: true, ngImport: i0, template: "<div [ngClass]=\"{'m-4':config?.userConfig?.showDefaultMargin}\">\n <mat-card class=\"mb-2\">\n <mat-card-content class=\"d-flex justify-content-between align-items-center gap-2\">\n <section class=\"d-flex justify-content-start align-items-center gap-2\">\n <h5 class=\"mb-0\"> {{ title }} </h5>\n <app-techlify-form-button [component]=\"userFormComponent\" matTooltip=\"New User\"\n [data]=\"{client_id: currentUser?.client_id}\"\n *ngIf=\"config?.userConfig?.showAddUser && currentUserService?.hasPermission('user_create')\"\n (saved)=\"modelCreated($event)\"></app-techlify-form-button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../import']\"\n *ngIf=\"config?.userConfig?.showImportButton && currentUserService?.hasPermission('user_create')\">\n Import User\n </button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../roles']\" *ngIf=\"config?.userConfig?.showRoles\">\n <mat-icon>people</mat-icon>\n Roles\n </button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../role-permissions']\"\n *ngIf=\"config?.userConfig?.showPermissions\">\n <mat-icon>lock</mat-icon>\n Role Permissions\n </button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../configurations']\"\n *ngIf=\"config?.userConfig?.showConfigurations && currentUser?.user_type_id === 2\">\n <mat-icon>\n <span class=\"material-icons-outlined\">\n toggle_on\n </span>\n </mat-icon>\n Configurations\n </button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../restrictors']\"\n *ngIf=\"config?.userConfig?.showRestrictors && currentUser?.user_type_id === 2\">\n <mat-icon>\n <span class=\"material-icons-outlined\">\n vpn_lock\n </span>\n </mat-icon>\n Restrictors\n </button>\n </section>\n <form [formGroup]=\"filterForm\" class=\"d-flex flex-row justify-content-center align-items-center gap-2\">\n <mat-form-field appearance=\"outline\" class='fl-md'>\n <mat-label>Search</mat-label>\n <input autocomplete=\"off\" matInput type=\"text\" name=\"search\" placeholder=\"Search by name, email\"\n formControlName=\"search\">\n </mat-form-field>\n <mat-form-field appearance=\"outline\" class='fl-sm'>\n <mat-label>Role</mat-label>\n <app-searchable-selector apiUrl=\"api/roles\" [multiple]=\"true\" formControlName=\"role_ids\"\n titleField=\"label\"></app-searchable-selector>\n </mat-form-field>\n <mat-button-toggle-group class='mb-4' [hideSingleSelectionIndicator]=\"true\"\n [hideMultipleSelectionIndicator]=\"true\" formControlName=\"status\" multiple>\n <mat-button-toggle value=\"enabled\">Enabled</mat-button-toggle>\n <mat-button-toggle value=\"disabled\">Disabled</mat-button-toggle>\n </mat-button-toggle-group>\n </form>\n </mat-card-content>\n </mat-card>\n <mat-card class=\"mt-2 p-0\">\n <mat-card-content>\n <table mat-table [dataSource]=\"models\" class=\"w-100\" aria-describedby=\"Users\" infiniteScroll\n [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\" [infiniteScrollContainer]=\"scrollContainer\"\n [fromRoot]=\"true\" (scrolled)=\"onScroll()\" matSort (matSortChange)=\"sortColumn($event)\">\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element; let i = index;\"> {{ i + 1 }} </td>\n </ng-container>\n\n <!-- Name Column -->\n <ng-container matColumnDef=\"name\">\n <th mat-header-cell mat-sort-header=\"name\" *matHeaderCellDef> Name </th>\n <td mat-cell *matCellDef=\"let element\">\n <a [routerLink]=\"[element?.id]\" class=\"text-decoration-none\">\n {{ element.name }}\n </a>\n <p class=\"mb-0 text-secondary\">\n <!-- !element?.user_client condition added to check if user has user_client record -->\n {{ !element?.user_client ? '' : element?.user_client?.is_enabled ? 'Enabled' : 'Disabled' }}\n </p>\n </td>\n </ng-container>\n\n <!-- Email Column -->\n <ng-container matColumnDef=\"email\">\n <th mat-header-cell mat-sort-header=\"email\" *matHeaderCellDef> Email </th>\n <td mat-cell *matCellDef=\"let element\"> {{element.email}} </td>\n </ng-container>\n\n <!-- Type Column -->\n <ng-container matColumnDef=\"type\">\n <th mat-header-cell mat-sort-header=\"user_type_id\" *matHeaderCellDef> User Type </th>\n <td mat-cell *matCellDef=\"let element\"> {{ getUserType(element) }} </td>\n </ng-container>\n\n <!-- Roles Column -->\n <ng-container matColumnDef=\"roles\">\n <th mat-header-cell *matHeaderCellDef> Role </th>\n <td mat-cell *matCellDef=\"let element\">\n <div class=\"d-flex justify-content-start align-items-center gap-1 flex-wrap text-light\">\n <span *ngFor=\"let role of element?.roles\" class=\"badge bg-secondary\">\n {{ role?.label }}\n </span>\n </div>\n </td>\n </ng-container>\n\n <!-- Last Login Column -->\n <ng-container matColumnDef=\"last_login\">\n <th mat-header-cell *matHeaderCellDef> Last Login </th>\n <td mat-cell *matCellDef=\"let element\">{{ element?.last_login | date:'medium' }}</td>\n </ng-container>\n\n <!-- Added By Column -->\n <ng-container matColumnDef=\"added_by\">\n <th mat-header-cell *matHeaderCellDef> Added By </th>\n <td mat-cell *matCellDef=\"let element\">\n <p class=\"mb-0\">{{ element?.creator?.name }}</p>\n <p class=\"text-secondary\">{{ element?.created_at | date }}</p>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Action </th>\n <td mat-cell *matCellDef=\"let element\">\n <div class=\"d-flex flex-row justify-content-start align-items-center gap-2 text-secondary\">\n <app-techlify-icon role='button' name=\"view\" class=\"clickable\" [routerLink]=\"[element?.id]\"\n matTooltip=\"View\"></app-techlify-icon>\n\n <app-techlify-form-button [component]=\"userFormComponent\" [model]=\"element\" class=\"clickable\"\n [data]=\"{client_id: currentUser?.client_id}\" matTooltip=\"Edit\"\n *ngIf=\"currentUserService.hasPermission('user_update')\"\n (saved)=\"modelsUpdatedById($event)\"></app-techlify-form-button>\n\n <app-techlify-delete-button\n *ngIf=\"currentUserService.hasPermission('user_delete') && element?.id !== currentUser?.id\"\n [model]=\"element\" [service]=\"service\" [data]=\"{title: element?.name, type: 'user'}\"\n (deleted)=\"modelsDeletedById(element)\"></app-techlify-delete-button>\n\n <app-techlify-icon role='button'\n *ngIf=\"currentUserService.hasPermission('techlify_rbac.user.reset_password')\" name=\"reset\"\n class=\"clickable\" (click)=\"resetPassword(element)\" matTooltip=\"Reset User Password\"></app-techlify-icon>\n\n <app-user-enable-button [user]=\"element\" (onSave)=\"modelsUpdatedById($event)\"></app-user-enable-button>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n <mat-progress-bar *ngIf=\"isWorking\" mode=\"indeterminate\"></mat-progress-bar>\n </mat-card-content>\n </mat-card>\n</div>", dependencies: [{ kind: "ngmodule", type: SharedModule }, { kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.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: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i7.InfiniteScrollDirective, selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]", inputs: ["infiniteScrollDistance", "infiniteScrollUpDistance", "infiniteScrollThrottle", "infiniteScrollDisabled", "infiniteScrollContainer", "scrollWindow", "immediateCheck", "horizontal", "alwaysCallback", "fromRoot"], outputs: ["scrolled", "scrolledUp"] }, { kind: "component", type: i8.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i9.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i9.MatLabel, selector: "mat-label" }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i11.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"] }, { kind: "directive", type: i12.MatSort, selector: "[matSort]", inputs: ["matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear", "matSortDisabled"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "component", type: i12.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "component", type: i13.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i13.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i13.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i13.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i13.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i13.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i13.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i13.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i13.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i13.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i14.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i14.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i15.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: i16.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled", "disabledInteractive", "hideSingleSelectionIndicator", "hideMultipleSelectionIndicator"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i16.MatButtonToggle, selector: "mat-button-toggle", inputs: ["aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "disableRipple", "appearance", "checked", "disabled", "disabledInteractive"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { kind: "component", type: i17.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i18.SearchableSelectorComponent, selector: "app-searchable-selector", inputs: ["valueField", "titleField", "subtitleField", "apiUrl", "multiple", "selectedValue", "enableSearch", "add", "addConfig", "edit", "editConfig", "sort", "sortBy", "searchField", "itemComponent", "items", "apiDataProperty", "cache", "perPage", "inDataSearch", "panelWidth", "focusSearchOnOpen", "isEmitInitialEvent", "required", "disabled", "value"], outputs: ["selectedValueChange", "selectionChange", "itemsChange", "isItemsEmpty"] }, { kind: "component", type: i19.TechlifyDeleteButtonComponent, selector: "app-techlify-delete-button", inputs: ["data", "model", "message", "service"], outputs: ["deleted", "loading"] }, { kind: "component", type: i20.TechlifyFormButtonComponent, selector: "app-techlify-form-button", inputs: ["component", "model", "data", "width"], outputs: ["saved"] }, { kind: "component", type: i21.TechlifyIconComponent, selector: "app-techlify-icon", inputs: ["name", "size"] }, { kind: "pipe", type: i6.DatePipe, name: "date" }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i22.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: UserEnableButtonModule }, { kind: "component", type: i23.UserEnableButtonComponent, selector: "app-user-enable-button", inputs: ["user", "isUseIcons"], outputs: ["onSave"] }] }); }
|
|
128
|
-
};
|
|
129
|
-
UserListComponent = __decorate([
|
|
130
|
-
UntilDestroy()
|
|
131
|
-
], UserListComponent);
|
|
132
|
-
export { UserListComponent };
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserListComponent, decorators: [{
|
|
134
|
-
type: Component,
|
|
135
|
-
args: [{ selector: 'app-user-list', standalone: true, imports: [
|
|
136
|
-
SharedModule,
|
|
137
|
-
RouterModule,
|
|
138
|
-
UserEnableButtonModule
|
|
139
|
-
], template: "<div [ngClass]=\"{'m-4':config?.userConfig?.showDefaultMargin}\">\n <mat-card class=\"mb-2\">\n <mat-card-content class=\"d-flex justify-content-between align-items-center gap-2\">\n <section class=\"d-flex justify-content-start align-items-center gap-2\">\n <h5 class=\"mb-0\"> {{ title }} </h5>\n <app-techlify-form-button [component]=\"userFormComponent\" matTooltip=\"New User\"\n [data]=\"{client_id: currentUser?.client_id}\"\n *ngIf=\"config?.userConfig?.showAddUser && currentUserService?.hasPermission('user_create')\"\n (saved)=\"modelCreated($event)\"></app-techlify-form-button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../import']\"\n *ngIf=\"config?.userConfig?.showImportButton && currentUserService?.hasPermission('user_create')\">\n Import User\n </button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../roles']\" *ngIf=\"config?.userConfig?.showRoles\">\n <mat-icon>people</mat-icon>\n Roles\n </button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../role-permissions']\"\n *ngIf=\"config?.userConfig?.showPermissions\">\n <mat-icon>lock</mat-icon>\n Role Permissions\n </button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../configurations']\"\n *ngIf=\"config?.userConfig?.showConfigurations && currentUser?.user_type_id === 2\">\n <mat-icon>\n <span class=\"material-icons-outlined\">\n toggle_on\n </span>\n </mat-icon>\n Configurations\n </button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../restrictors']\"\n *ngIf=\"config?.userConfig?.showRestrictors && currentUser?.user_type_id === 2\">\n <mat-icon>\n <span class=\"material-icons-outlined\">\n vpn_lock\n </span>\n </mat-icon>\n Restrictors\n </button>\n </section>\n <form [formGroup]=\"filterForm\" class=\"d-flex flex-row justify-content-center align-items-center gap-2\">\n <mat-form-field appearance=\"outline\" class='fl-md'>\n <mat-label>Search</mat-label>\n <input autocomplete=\"off\" matInput type=\"text\" name=\"search\" placeholder=\"Search by name, email\"\n formControlName=\"search\">\n </mat-form-field>\n <mat-form-field appearance=\"outline\" class='fl-sm'>\n <mat-label>Role</mat-label>\n <app-searchable-selector apiUrl=\"api/roles\" [multiple]=\"true\" formControlName=\"role_ids\"\n titleField=\"label\"></app-searchable-selector>\n </mat-form-field>\n <mat-button-toggle-group class='mb-4' [hideSingleSelectionIndicator]=\"true\"\n [hideMultipleSelectionIndicator]=\"true\" formControlName=\"status\" multiple>\n <mat-button-toggle value=\"enabled\">Enabled</mat-button-toggle>\n <mat-button-toggle value=\"disabled\">Disabled</mat-button-toggle>\n </mat-button-toggle-group>\n </form>\n </mat-card-content>\n </mat-card>\n <mat-card class=\"mt-2 p-0\">\n <mat-card-content>\n <table mat-table [dataSource]=\"models\" class=\"w-100\" aria-describedby=\"Users\" infiniteScroll\n [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\" [infiniteScrollContainer]=\"scrollContainer\"\n [fromRoot]=\"true\" (scrolled)=\"onScroll()\" matSort (matSortChange)=\"sortColumn($event)\">\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element; let i = index;\"> {{ i + 1 }} </td>\n </ng-container>\n\n <!-- Name Column -->\n <ng-container matColumnDef=\"name\">\n <th mat-header-cell mat-sort-header=\"name\" *matHeaderCellDef> Name </th>\n <td mat-cell *matCellDef=\"let element\">\n <a [routerLink]=\"[element?.id]\" class=\"text-decoration-none\">\n {{ element.name }}\n </a>\n <p class=\"mb-0 text-secondary\">\n <!-- !element?.user_client condition added to check if user has user_client record -->\n {{ !element?.user_client ? '' : element?.user_client?.is_enabled ? 'Enabled' : 'Disabled' }}\n </p>\n </td>\n </ng-container>\n\n <!-- Email Column -->\n <ng-container matColumnDef=\"email\">\n <th mat-header-cell mat-sort-header=\"email\" *matHeaderCellDef> Email </th>\n <td mat-cell *matCellDef=\"let element\"> {{element.email}} </td>\n </ng-container>\n\n <!-- Type Column -->\n <ng-container matColumnDef=\"type\">\n <th mat-header-cell mat-sort-header=\"user_type_id\" *matHeaderCellDef> User Type </th>\n <td mat-cell *matCellDef=\"let element\"> {{ getUserType(element) }} </td>\n </ng-container>\n\n <!-- Roles Column -->\n <ng-container matColumnDef=\"roles\">\n <th mat-header-cell *matHeaderCellDef> Role </th>\n <td mat-cell *matCellDef=\"let element\">\n <div class=\"d-flex justify-content-start align-items-center gap-1 flex-wrap text-light\">\n <span *ngFor=\"let role of element?.roles\" class=\"badge bg-secondary\">\n {{ role?.label }}\n </span>\n </div>\n </td>\n </ng-container>\n\n <!-- Last Login Column -->\n <ng-container matColumnDef=\"last_login\">\n <th mat-header-cell *matHeaderCellDef> Last Login </th>\n <td mat-cell *matCellDef=\"let element\">{{ element?.last_login | date:'medium' }}</td>\n </ng-container>\n\n <!-- Added By Column -->\n <ng-container matColumnDef=\"added_by\">\n <th mat-header-cell *matHeaderCellDef> Added By </th>\n <td mat-cell *matCellDef=\"let element\">\n <p class=\"mb-0\">{{ element?.creator?.name }}</p>\n <p class=\"text-secondary\">{{ element?.created_at | date }}</p>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Action </th>\n <td mat-cell *matCellDef=\"let element\">\n <div class=\"d-flex flex-row justify-content-start align-items-center gap-2 text-secondary\">\n <app-techlify-icon role='button' name=\"view\" class=\"clickable\" [routerLink]=\"[element?.id]\"\n matTooltip=\"View\"></app-techlify-icon>\n\n <app-techlify-form-button [component]=\"userFormComponent\" [model]=\"element\" class=\"clickable\"\n [data]=\"{client_id: currentUser?.client_id}\" matTooltip=\"Edit\"\n *ngIf=\"currentUserService.hasPermission('user_update')\"\n (saved)=\"modelsUpdatedById($event)\"></app-techlify-form-button>\n\n <app-techlify-delete-button\n *ngIf=\"currentUserService.hasPermission('user_delete') && element?.id !== currentUser?.id\"\n [model]=\"element\" [service]=\"service\" [data]=\"{title: element?.name, type: 'user'}\"\n (deleted)=\"modelsDeletedById(element)\"></app-techlify-delete-button>\n\n <app-techlify-icon role='button'\n *ngIf=\"currentUserService.hasPermission('techlify_rbac.user.reset_password')\" name=\"reset\"\n class=\"clickable\" (click)=\"resetPassword(element)\" matTooltip=\"Reset User Password\"></app-techlify-icon>\n\n <app-user-enable-button [user]=\"element\" (onSave)=\"modelsUpdatedById($event)\"></app-user-enable-button>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n <mat-progress-bar *ngIf=\"isWorking\" mode=\"indeterminate\"></mat-progress-bar>\n </mat-card-content>\n </mat-card>\n</div>" }]
|
|
140
|
-
}], ctorParameters: () => [{ type: i1.AlertService }, { type: i2.CurrentUserService }, { type: i3.UserConfigService }, { type: i4.UserService }, { type: i5.UntypedFormBuilder }], propDecorators: { userTypeIds: [{
|
|
141
|
-
type: Input
|
|
142
|
-
}], title: [{
|
|
143
|
-
type: Input
|
|
144
|
-
}] } });
|
|
145
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvdXNlci91c2VyLWxpc3QvdXNlci1saXN0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvdXNlci91c2VyLWxpc3QvdXNlci1saXN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFJL0MsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFHckUsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzFDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUVyRCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUN6RCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSwyREFBMkQsQ0FBQztBQUNuRyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0scUJBQXFCLENBQUM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFhN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1pY29uPnBlb3BsZTwvbWF0LWljb24+XG4gICAgICAgICAgUm9sZXNcbiAgICAgICAgPC9idXR0b24+XG4gICAgICAgIDxidXR0b24gbWF0LXJhaXNlZC1idXR0b24gdHlwZT1cImJ1dHRvblwiIFtyb3V0ZXJMaW5rXT1cIlsnLi4vcm9sZS1wZXJtaXNzaW9ucyddXCJcbiAgICAgICAgICAqbmdJZj1cImNvbmZpZz8udXNlckNvbmZpZz8uc2hvd1Blcm1pc3Npb25zXCI+XG4gICAgICAgICAgPG1hdC1pY29uPmxvY2s8L21hdC1pY29uPlxuICAgICAgICAgIFJvbGUgUGVybWlzc2lvbnNcbiAgICAgICAgPC9idXR0b24+XG4gICAgICAgIDxidXR0b24gbWF0LXJhaXNlZC1idXR0b24gdHlwZT1cImJ1dHRvblwiIFtyb3V0ZXJMaW5rXT1cIlsnLi4vY29uZmlndXJhdGlvbnMnXVwiXG4gICAgICAgICAgKm5nSWY9XCJjb25maWc/LnVzZXJDb25maWc/LnNob3dDb25maWd1cmF0aW9ucyAmJiBjdXJyZW50VXNlcj8udXNlcl90eXBlX2lkID09PSAyXCI+XG4gICAgICAgICAgPG1hdC1pY29uPlxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJtYXRlcmlhbC1pY29ucy1vdXRsaW5lZFwiPlxuICAgICAgICAgICAgICB0b2dnbGVfb25cbiAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICA8L21hdC1pY29uPlxuICAgICAgICAgIENvbmZpZ3VyYXRpb25zXG4gICAgICAgIDwvYnV0dG9uPlxuICAgICAgICA8YnV0dG9uIG1hdC1yYWlzZWQtYnV0dG9uIHR5cGU9XCJidXR0b25cIiBbcm91dGVyTGlua109XCJbJy4uL3Jlc3RyaWN0b3JzJ11cIlxuICAgICAgICAgICpuZ0lmPVwiY29uZmlnPy51c2VyQ29uZmlnPy5zaG93UmVzdHJpY3RvcnMgJiYgY3VycmVudFVzZXI/LnVzZXJfdHlwZV9pZCA9PT0gMlw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ZW50KVwiIG1hdFRvb2x0aXA9XCJSZXNldCBVc2VyIFBhc3N3b3JkXCI+PC9hcHAtdGVjaGxpZnktaWNvbj5cblxuICAgICAgICAgICAgICA8YXBwLXVzZXItZW5hYmxlLWJ1dHRvbiBbdXNlcl09XCJlbGVtZW50XCIgKG9uU2F2ZSk9XCJtb2RlbHNVcGRhdGVkQnlJZCgkZXZlbnQpXCI+PC9hcHAtdXNlci1lbmFibGUtYnV0dG9uPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC90ZD5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG5cbiAgICAgICAgPHRyIG1hdC1oZWFkZXItcm93ICptYXRIZWFkZXJSb3dEZWY9XCJkaXNwbGF5ZWRDb2x1bW5zXCI+PC90cj5cbiAgICAgICAgPHRyIG1hdC1yb3cgKm1hdFJvd0RlZj1cImxldCByb3c7IGNvbHVtbnM6IGRpc3BsYXllZENvbHVtbnM7XCI+PC90cj5cbiAgICAgIDwvdGFibGU+XG4gICAgICA8bWF0LXByb2dyZXNzLWJhciAqbmdJZj1cImlzV29ya2luZ1wiIG1vZGU9XCJpbmRldGVybWluYXRlXCI+PC9tYXQtcHJvZ3Jlc3MtYmFyPlxuICAgIDwvbWF0LWNhcmQtY29udGVudD5cbiAgPC9tYXQtY2FyZD5cbjwvZGl2PiJdfQ==
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { TechlifyService } from '../../base-model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../core";
|
|
5
|
-
export class UserSessionService extends TechlifyService {
|
|
6
|
-
constructor(httpService) {
|
|
7
|
-
super(httpService, 'user-sessions');
|
|
8
|
-
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserSessionService, deps: [{ token: i1.HttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserSessionService, providedIn: 'root' }); }
|
|
11
|
-
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserSessionService, decorators: [{
|
|
13
|
-
type: Injectable,
|
|
14
|
-
args: [{
|
|
15
|
-
providedIn: 'root'
|
|
16
|
-
}]
|
|
17
|
-
}], ctorParameters: () => [{ type: i1.HttpService }] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1zZXNzaW9uLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL3VzZXIvdXNlci1zZXNzaW9ucy91c2VyLXNlc3Npb24uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7O0FBTW5ELE1BQU0sT0FBTyxrQkFBbUIsU0FBUSxlQUFlO0lBRXJELFlBQ0UsV0FBd0I7UUFFeEIsS0FBSyxDQUFDLFdBQVcsRUFBRSxlQUFlLENBQUMsQ0FBQztJQUN0QyxDQUFDOytHQU5VLGtCQUFrQjttSEFBbEIsa0JBQWtCLGNBRmpCLE1BQU07OzRGQUVQLGtCQUFrQjtrQkFIOUIsVUFBVTttQkFBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBUZWNobGlmeVNlcnZpY2UgfSBmcm9tICcuLi8uLi9iYXNlLW1vZGVsJztcbmltcG9ydCB7IEh0dHBTZXJ2aWNlIH0gZnJvbSAnLi4vLi4vY29yZSc7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnXG59KVxuZXhwb3J0IGNsYXNzIFVzZXJTZXNzaW9uU2VydmljZSBleHRlbmRzIFRlY2hsaWZ5U2VydmljZSB7XG5cbiAgY29uc3RydWN0b3IoXG4gICAgaHR0cFNlcnZpY2U6IEh0dHBTZXJ2aWNlLFxuICApIHtcbiAgICBzdXBlcihodHRwU2VydmljZSwgJ3VzZXItc2Vzc2lvbnMnKTtcbiAgfVxufVxuIl19
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { TechlifyListComponent } from '../../../base-model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../user-session.service";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
import * as i3 from "@angular/material/table";
|
|
7
|
-
import * as i4 from "@angular/material/card";
|
|
8
|
-
import * as i5 from "@angular/material/progress-bar";
|
|
9
|
-
export class UserSessionsComponent extends TechlifyListComponent {
|
|
10
|
-
constructor(service) {
|
|
11
|
-
super();
|
|
12
|
-
this.service = service;
|
|
13
|
-
this.displayedColumns = [
|
|
14
|
-
'#',
|
|
15
|
-
'Started On',
|
|
16
|
-
'Expires At',
|
|
17
|
-
];
|
|
18
|
-
}
|
|
19
|
-
ngOnInit() {
|
|
20
|
-
this.loadData();
|
|
21
|
-
}
|
|
22
|
-
loadData() {
|
|
23
|
-
if (!this.user) {
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
this.isWorking = true;
|
|
27
|
-
const params = {
|
|
28
|
-
user_ids: this.user?.id,
|
|
29
|
-
};
|
|
30
|
-
this.service.index(params).subscribe({
|
|
31
|
-
next: (response) => {
|
|
32
|
-
this.models = this.models.concat(response?.data);
|
|
33
|
-
this.isWorking = false;
|
|
34
|
-
},
|
|
35
|
-
error: () => (this.isWorking = false)
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserSessionsComponent, deps: [{ token: i1.UserSessionService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
39
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: UserSessionsComponent, selector: "app-user-sessions", inputs: { user: "user" }, usesInheritance: true, ngImport: i0, template: "<mat-card>\n <mat-card-content>\n <table mat-table [dataSource]=\"models\" class=\"w-100\">\n\n <!-- # Column -->\n <ng-container matColumnDef=\"#\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element; let i = index\"> {{ i + 1 }} </td>\n </ng-container>\n\n <!-- Started On Column -->\n <ng-container matColumnDef=\"Started On\">\n <th mat-header-cell *matHeaderCellDef> Started On </th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.created_at | date:'medium' }}\n </td>\n </ng-container>\n\n <!-- Expires At Column -->\n <ng-container matColumnDef=\"Expires At\">\n <th mat-header-cell *matHeaderCellDef> Expires At </th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.expires_at | date:'medium' }}\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n\n </mat-card-content>\n</mat-card>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i3.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i3.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i3.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i3.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i3.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i4.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i4.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i5.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "pipe", type: i2.DatePipe, name: "date" }] }); }
|
|
40
|
-
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserSessionsComponent, decorators: [{
|
|
42
|
-
type: Component,
|
|
43
|
-
args: [{ selector: 'app-user-sessions', template: "<mat-card>\n <mat-card-content>\n <table mat-table [dataSource]=\"models\" class=\"w-100\">\n\n <!-- # Column -->\n <ng-container matColumnDef=\"#\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element; let i = index\"> {{ i + 1 }} </td>\n </ng-container>\n\n <!-- Started On Column -->\n <ng-container matColumnDef=\"Started On\">\n <th mat-header-cell *matHeaderCellDef> Started On </th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.created_at | date:'medium' }}\n </td>\n </ng-container>\n\n <!-- Expires At Column -->\n <ng-container matColumnDef=\"Expires At\">\n <th mat-header-cell *matHeaderCellDef> Expires At </th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.expires_at | date:'medium' }}\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n\n </mat-card-content>\n</mat-card>\n" }]
|
|
44
|
-
}], ctorParameters: () => [{ type: i1.UserSessionService }], propDecorators: { user: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}] } });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1zZXNzaW9ucy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL3VzZXIvdXNlci1zZXNzaW9ucy91c2VyLXNlc3Npb25zL3VzZXItc2Vzc2lvbnMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXRlY2hsaWZ5LWNvcmUvc3JjL2xpYi91c2VyL3VzZXItc2Vzc2lvbnMvdXNlci1zZXNzaW9ucy91c2VyLXNlc3Npb25zLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHFCQUFxQixDQUFDOzs7Ozs7O0FBUzVELE1BQU0sT0FBTyxxQkFBc0IsU0FBUSxxQkFBcUI7SUFVOUQsW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A8dGQgbWF0LWNlbGwgKm1hdENlbGxEZWY9XCJsZXQgZWxlbWVudFwiPlxuICAgICAgICAgIHt7IGVsZW1lbnQ/LmNyZWF0ZWRfYXQgfCBkYXRlOidtZWRpdW0nIH19XG4gICAgICAgIDwvdGQ+XG4gICAgICA8L25nLWNvbnRhaW5lcj5cblxuICAgICAgPCEtLSBFeHBpcmVzIEF0IENvbHVtbiAtLT5cbiAgICAgIDxuZy1jb250YWluZXIgbWF0Q29sdW1uRGVmPVwiRXhwaXJlcyBBdFwiPlxuICAgICAgICA8dGggbWF0LWhlYWRlci1jZWxsICptYXRIZWFkZXJDZWxsRGVmPiBFeHBpcmVzIEF0IDwvdGg+XG4gICAgICAgIDx0ZCBtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCBlbGVtZW50XCI+XG4gICAgICAgICAge3sgZWxlbWVudD8uZXhwaXJlc19hdCB8IGRhdGU6J21lZGl1bScgfX1cbiAgICAgICAgPC90ZD5cbiAgICAgIDwvbmctY29udGFpbmVyPlxuXG4gICAgICA8dHIgbWF0LWhlYWRlci1yb3cgKm1hdEhlYWRlclJvd0RlZj1cImRpc3BsYXllZENvbHVtbnNcIj48L3RyPlxuICAgICAgPHRyIG1hdC1yb3cgKm1hdFJvd0RlZj1cImxldCByb3c7IGNvbHVtbnM6IGRpc3BsYXllZENvbHVtbnM7XCI+PC90cj5cbiAgICA8L3RhYmxlPlxuXG4gICAgPG1hdC1wcm9ncmVzcy1iYXIgbW9kZT1cImluZGV0ZXJtaW5hdGVcIiAqbmdJZj1cImlzV29ya2luZ1wiPjwvbWF0LXByb2dyZXNzLWJhcj5cblxuICA8L21hdC1jYXJkLWNvbnRlbnQ+XG48L21hdC1jYXJkPlxuIl19
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { UserSessionsComponent } from './user-sessions.component';
|
|
3
|
-
import { SharedModule } from '../../../shared.module';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class UserSessionsModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserSessionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: UserSessionsModule, declarations: [UserSessionsComponent], imports: [SharedModule], exports: [UserSessionsComponent] }); }
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserSessionsModule, imports: [SharedModule] }); }
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserSessionsModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [UserSessionsComponent],
|
|
14
|
-
imports: [
|
|
15
|
-
SharedModule,
|
|
16
|
-
],
|
|
17
|
-
exports: [UserSessionsComponent]
|
|
18
|
-
}]
|
|
19
|
-
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1zZXNzaW9ucy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL3VzZXIvdXNlci1zZXNzaW9ucy91c2VyLXNlc3Npb25zL3VzZXItc2Vzc2lvbnMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDbEUsT0FBTyxFQUFFLFlBQ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CLIENT_USER"] = 3] = "CLIENT_USER";
|
|
6
|
-
})(UserTypeEnum || (UserTypeEnum = {}));
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL3VzZXIvdXNlci10eXBlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksWUFJWDtBQUpELFdBQVksWUFBWTtJQUNwQixpREFBUyxDQUFBO0lBQ1QsK0RBQWdCLENBQUE7SUFDaEIsNkRBQWUsQ0FBQTtBQUNuQixDQUFDLEVBSlcsWUFBWSxLQUFaLFlBQVksUUFJdkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBVc2VyVHlwZUVudW0ge1xuICAgIEFETUlOID0gMSxcbiAgICBDTElFTlRfQURNSU4gPSAyLFxuICAgIENMSUVOVF9VU0VSID0gM1xufSJdfQ==
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { UserFormComponent } from './user-form/user-form.component';
|
|
3
|
-
import { UserTypeEnum } from './user-type.enum';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "./user.service";
|
|
6
|
-
import * as i2 from "@angular/router";
|
|
7
|
-
import * as i3 from "../core";
|
|
8
|
-
import * as i4 from "./current-user.service";
|
|
9
|
-
import * as i5 from "@angular/common";
|
|
10
|
-
import * as i6 from "@angular/material/button";
|
|
11
|
-
import * as i7 from "@angular/material/tabs";
|
|
12
|
-
import * as i8 from "../form-button/techlify-form-button.component";
|
|
13
|
-
import * as i9 from "../login-history-for-user/login-history-for-user.component";
|
|
14
|
-
import * as i10 from "../audit-log/audit-log-list/audit-log-list.component";
|
|
15
|
-
import * as i11 from "../user-clients-list/user-clients-list.component";
|
|
16
|
-
import * as i12 from "./user-sessions/user-sessions/user-sessions.component";
|
|
17
|
-
/**
|
|
18
|
-
* Controller used to view a single user
|
|
19
|
-
*
|
|
20
|
-
* @author Floyd Kissoon
|
|
21
|
-
* @since 20210701
|
|
22
|
-
*/
|
|
23
|
-
export class UserViewComponent {
|
|
24
|
-
constructor(userService, route, config, http, currentUserService) {
|
|
25
|
-
this.userService = userService;
|
|
26
|
-
this.route = route;
|
|
27
|
-
this.config = config;
|
|
28
|
-
this.http = http;
|
|
29
|
-
this.currentUserService = currentUserService;
|
|
30
|
-
this.userFormComponent = UserFormComponent;
|
|
31
|
-
this.UserTypeEnum = UserTypeEnum;
|
|
32
|
-
this.currentUser = this.currentUserService.getUser();
|
|
33
|
-
}
|
|
34
|
-
ngOnInit() {
|
|
35
|
-
this.route.params.subscribe(params => {
|
|
36
|
-
if (params.id !== undefined) {
|
|
37
|
-
this.loadUser(params.id);
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
loadUser(userId) {
|
|
42
|
-
this.userService.getUser(userId).then((result) => {
|
|
43
|
-
this.user = result.item;
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
enableOrDisableUser(action) {
|
|
47
|
-
this.http.patch('api/users/' + this.user.id + '/' + action, this.user).toPromise().then((res) => {
|
|
48
|
-
this.user.user_client = res.item.user_client;
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserViewComponent, deps: [{ token: i1.UserService }, { token: i2.ActivatedRoute }, { token: i3.ConfigService }, { token: i3.HttpService }, { token: i4.CurrentUserService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
52
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: UserViewComponent, selector: "user-view", ngImport: i0, template: "<div class=\"mat-typography m-4\" *ngIf=\"user\">\n <h1 class=\"text-center\">{{user.name}}</h1>\n\n <div class=\"border\">\n <mat-tab-group>\n <mat-tab label=\"Basic Information\">\n <ng-template matTabContent>\n <div class=\"row m-4\">\n <div class=\"col-4\">\n <div class=\"bordered-section\">\n <div class=\"row\" *ngIf=\"currentUser?.user_type_id != 3\">\n <app-techlify-form-button [component]=\"userFormComponent\" [model]=\"user\"\n [data]=\"{client_id: user?.client_id}\" (saved)=\"loadUser(user.id)\"></app-techlify-form-button>\n <button mat-stroked-button color=\"warn\" *ngIf=\"!user.user_client?.is_enabled\"\n (click)=\"enableOrDisableUser('enable')\">\n Enable\n </button>\n <button mat-stroked-button color=\"primary\" *ngIf=\"user.user_client?.is_enabled\"\n (click)=\"enableOrDisableUser('disable')\">Disable</button>\n </div>\n\n <div class=\"row\">\n <label class=\"col-sm-4 control-label\">Name:</label>\n <div class=\"col-sm-8\">{{user?.name}}</div>\n </div>\n <div class=\"row\">\n <label class=\"col-sm-4 control-label\">Email:</label>\n <div class=\"col-sm-8\">{{user?.email}}</div>\n </div>\n <div class=\"row\">\n <label class=\"col-sm-4 control-label\">Type:</label>\n <div class=\"col-sm-8\">{{user?.type?.title}}</div>\n </div>\n <div class=\"row\">\n <label class=\"col-sm-4 control-label\">Status:</label>\n <div class=\"col-sm-8\">{{user?.user_client?.is_enabled ? 'Enabled' : 'Disabled' }}\n </div>\n </div>\n <div class=\"row\">\n <label class=\"col-sm-4 control-label\">Role:</label>\n <div class=\"col-sm-8\">\n <span *ngFor=\"let role of user?.roles\">\n <button class=\"btn btn-outline-dark btn-xs mb-2\">{{role?.label}}</button>\n \n </span>\n </div>\n </div>\n <div class=\"row\">\n <label class=\"col-sm-4 control-label\">Signature:</label>\n <div class=\"col-sm-8\">\n <span *ngIf=\"user?.signature\">\n <img src=\"{{user?.signature_url}}\" alt=\"\" width=\"250px\" />\n </span>\n <span *ngIf=\"!user?.signature\">\n No Signature Added\n </span>\n\n </div>\n </div>\n </div>\n </div>\n </div>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Login History\">\n <ng-template matTabContent>\n <app-login-history-for-user [userId]=\"user?.id\"></app-login-history-for-user>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Activity Logs\">\n <ng-template matTabContent>\n <app-audit-log-list objectType=\"User\" [objectId]=\"user?.id\" [showExportButtons]=\"false\">\n </app-audit-log-list>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Tenants\" *ngIf=\"currentUser?.user_type_id === UserTypeEnum.ADMIN\">\n <ng-template matTabContent>\n <app-user-clients-list [user]=\"user\"></app-user-clients-list>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Sessions\">\n <ng-template matTabContent>\n <app-user-sessions [user]=\"user\"></app-user-sessions>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </div>\n\n</div>", styles: [".user-node .page-title{margin:20px 0 0}.user-node #information-tabs-wrapper .nav-pills .nav-link{border-radius:0;border:1px solid #007bff;border-right:none;width:190px}.user-node #information-tabs-wrapper .tab-content{padding:20px;border:1px solid #007bff;width:calc(100vw - 200px)}\n"], dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i7.MatTabContent, selector: "[matTabContent]" }, { kind: "component", type: i7.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i7.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "component", type: i8.TechlifyFormButtonComponent, selector: "app-techlify-form-button", inputs: ["component", "model", "data", "width"], outputs: ["saved"] }, { kind: "component", type: i9.LoginHistoryForUserComponent, selector: "app-login-history-for-user", inputs: ["userId"] }, { kind: "component", type: i10.AuditLogListComponent, selector: "app-audit-log-list", inputs: ["objectId", "objectType", "showFilter", "showExportButtons", "userId", "disableFilterPatchingFromUrl", "scrollContainer"] }, { kind: "component", type: i11.UserClientsListComponent, selector: "app-user-clients-list", inputs: ["user"] }, { kind: "component", type: i12.UserSessionsComponent, selector: "app-user-sessions", inputs: ["user"] }] }); }
|
|
53
|
-
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserViewComponent, decorators: [{
|
|
55
|
-
type: Component,
|
|
56
|
-
args: [{ selector: 'user-view', template: "<div class=\"mat-typography m-4\" *ngIf=\"user\">\n <h1 class=\"text-center\">{{user.name}}</h1>\n\n <div class=\"border\">\n <mat-tab-group>\n <mat-tab label=\"Basic Information\">\n <ng-template matTabContent>\n <div class=\"row m-4\">\n <div class=\"col-4\">\n <div class=\"bordered-section\">\n <div class=\"row\" *ngIf=\"currentUser?.user_type_id != 3\">\n <app-techlify-form-button [component]=\"userFormComponent\" [model]=\"user\"\n [data]=\"{client_id: user?.client_id}\" (saved)=\"loadUser(user.id)\"></app-techlify-form-button>\n <button mat-stroked-button color=\"warn\" *ngIf=\"!user.user_client?.is_enabled\"\n (click)=\"enableOrDisableUser('enable')\">\n Enable\n </button>\n <button mat-stroked-button color=\"primary\" *ngIf=\"user.user_client?.is_enabled\"\n (click)=\"enableOrDisableUser('disable')\">Disable</button>\n </div>\n\n <div class=\"row\">\n <label class=\"col-sm-4 control-label\">Name:</label>\n <div class=\"col-sm-8\">{{user?.name}}</div>\n </div>\n <div class=\"row\">\n <label class=\"col-sm-4 control-label\">Email:</label>\n <div class=\"col-sm-8\">{{user?.email}}</div>\n </div>\n <div class=\"row\">\n <label class=\"col-sm-4 control-label\">Type:</label>\n <div class=\"col-sm-8\">{{user?.type?.title}}</div>\n </div>\n <div class=\"row\">\n <label class=\"col-sm-4 control-label\">Status:</label>\n <div class=\"col-sm-8\">{{user?.user_client?.is_enabled ? 'Enabled' : 'Disabled' }}\n </div>\n </div>\n <div class=\"row\">\n <label class=\"col-sm-4 control-label\">Role:</label>\n <div class=\"col-sm-8\">\n <span *ngFor=\"let role of user?.roles\">\n <button class=\"btn btn-outline-dark btn-xs mb-2\">{{role?.label}}</button>\n \n </span>\n </div>\n </div>\n <div class=\"row\">\n <label class=\"col-sm-4 control-label\">Signature:</label>\n <div class=\"col-sm-8\">\n <span *ngIf=\"user?.signature\">\n <img src=\"{{user?.signature_url}}\" alt=\"\" width=\"250px\" />\n </span>\n <span *ngIf=\"!user?.signature\">\n No Signature Added\n </span>\n\n </div>\n </div>\n </div>\n </div>\n </div>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Login History\">\n <ng-template matTabContent>\n <app-login-history-for-user [userId]=\"user?.id\"></app-login-history-for-user>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Activity Logs\">\n <ng-template matTabContent>\n <app-audit-log-list objectType=\"User\" [objectId]=\"user?.id\" [showExportButtons]=\"false\">\n </app-audit-log-list>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Tenants\" *ngIf=\"currentUser?.user_type_id === UserTypeEnum.ADMIN\">\n <ng-template matTabContent>\n <app-user-clients-list [user]=\"user\"></app-user-clients-list>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Sessions\">\n <ng-template matTabContent>\n <app-user-sessions [user]=\"user\"></app-user-sessions>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </div>\n\n</div>", styles: [".user-node .page-title{margin:20px 0 0}.user-node #information-tabs-wrapper .nav-pills .nav-link{border-radius:0;border:1px solid #007bff;border-right:none;width:190px}.user-node #information-tabs-wrapper .tab-content{padding:20px;border:1px solid #007bff;width:calc(100vw - 200px)}\n"] }]
|
|
57
|
-
}], ctorParameters: () => [{ type: i1.UserService }, { type: i2.ActivatedRoute }, { type: i3.ConfigService }, { type: i3.HttpService }, { type: i4.CurrentUserService }] });
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvdXNlci91c2VyLXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXRlY2hsaWZ5LWNvcmUvc3JjL2xpYi91c2VyL3VzZXItdmlldy5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBR3pELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBSXBFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7Ozs7Ozs7Ozs7QUFHaEQ7Ozs7O0dBS0c7QUFNSCxNQUFNLE9BQU8saUJBQWlCO0lBRTVCLFlBQW9CLFdBQXdCLEVBQ2xDLEtBQXFCLEVBQ3RCLE1BQXFCLEVBQ3BCLElBQWlCLEVBQ2xCLGtCQUFzQztRQUozQixnQkFBVyxHQUFYLFdBQVcsQ0FBYTtRQUNsQyxVQUFLLEdBQUwsS0FBSyxDQUFnQjtRQUN0QixXQUFNLEdBQU4sTUFBTSxDQUFlO1FBQ3BCLFNBQUksR0FBSixJQUFJLENBQWE7UUFDbEIsdUJBQWtCLEdBQWxCLGtCQUFrQix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0dG9uIGNvbG9yPVwid2FyblwiICpuZ0lmPVwiIXVzZXIudXNlcl9jbGllbnQ/LmlzX2VuYWJsZWRcIlxuICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiZW5hYmxlT3JEaXNhYmxlVXNlcignZW5hYmxlJylcIj5cbiAgICAgICAgICAgICAgICAgICAgRW5hYmxlXG4gICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICAgIDxidXR0b24gbWF0LXN0cm9rZWQtYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiICpuZ0lmPVwidXNlci51c2VyX2NsaWVudD8uaXNfZW5hYmxlZFwiXG4gICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJlbmFibGVPckRpc2FibGVVc2VyKCdkaXNhYmxlJylcIj5EaXNhYmxlPC9idXR0b24+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgICAgICAgICAgICA8bGFiZWwgY2xhc3M9XCJjb2wtc20tNCBjb250cm9sLWxhYmVsXCI+TmFtZTo8L2xhYmVsPlxuICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1zbS04XCI+e3t1c2VyPy5uYW1lfX08L2Rpdj5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgICAgICAgICAgICA8bGFiZWwgY2xhc3M9XCJjb2wtc20tNCBjb250cm9sLWxhYmVsXCI+RW1haWw6PC9sYWJlbD5cbiAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtc20tOFwiPnt7dXNlcj8uZW1haWx9fTwvZGl2PlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJyb3dcIj5cbiAgICAgICAgICAgICAgICAgIDxsYWJlbCBjbGFzcz1cImNvbC1zbS00IGNvbnRyb2wtbGFiZWxcIj5UeXBlOjwvbGFiZWw+XG4gICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLXNtLThcIj57e3VzZXI/LnR5cGU/LnRpdGxlfX08L2Rpdj5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgICAgICAgICAgICA8bGFiZWwgY2xhc3M9XCJjb2wtc20tNCBjb250cm9sLWxhYmVsXCI+U3RhdHVzOjwvbGFiZWw+XG4gICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLXNtLThcIj57e3VzZXI/LnVzZXJfY2xpZW50Py5pc19lbmFibGVkID8gJ0VuYWJsZWQnIDogJ0Rpc2FibGVkJyB9fVxuICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInJvd1wiPlxuICAgICAgICAgICAgICAgICAgPGxhYmVsIGNsYXNzPVwiY29sLXNtLTQgY29udHJvbC1sYWJlbFwiPlJvbGU6PC9sYWJlbD5cbiAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtc20tOFwiPlxuICAgICAgICAgICAgICAgICAgICA8c3BhbiAqbmdGb3I9XCJsZXQgcm9sZSBvZiB1c2VyPy5yb2xlc1wiPlxuICAgICAgICAgICAgICAgICAgICAgIDxidXR0b24gY2xhc3M9XCJidG4gYnRuLW91dGxpbmUtZGFyayBidG4teHMgbWItMlwiPnt7cm9sZT8ubGFiZWx9fTwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgICAgICZuYnNwO1xuICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgICAgICAgICAgICA8bGFiZWwgY2xhc3M9XCJjb2wtc20tNCBjb250cm9sLWxhYmVsXCI+U2lnbmF0dXJlOjwvbGFiZWw+XG4gICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLXNtLThcIj5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gKm5nSWY9XCJ1c2VyPy5zaWduYXR1cmVcIj5cbiAgICAgICAgICAgICAgICAgICAgICA8aW1nIHNyYz1cInt7dXNlcj8uc2lnbmF0dXJlX3VybH19XCIgYWx0PVwiXCIgd2lkdGg9XCIyNTBweFwiIC8+XG4gICAgICAgICAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gKm5nSWY9XCIhdXNlcj8uc2lnbmF0dXJlXCI+XG4gICAgICAgICAgICAgICAgICAgICAgTm8gU2lnbmF0dXJlIEFkZGVkXG4gICAgICAgICAgICAgICAgICAgIDwvc3Bhbj5cblxuICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICA8L21hdC10YWI+XG4gICAgICA8bWF0LXRhYiBsYWJlbD1cIkxvZ2luIEhpc3RvcnlcIj5cbiAgICAgICAgPG5nLXRlbXBsYXRlIG1hdFRhYkNvbnRlbnQ+XG4gICAgICAgICAgPGFwcC1sb2dpbi1oaXN0b3J5LWZvci11c2VyIFt1c2VySWRdPVwidXNlcj8uaWRcIj48L2FwcC1sb2dpbi1oaXN0b3J5LWZvci11c2VyPlxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgPC9tYXQtdGFiPlxuICAgICAgPG1hdC10YWIgbGFiZWw9XCJBY3Rpdml0eSBMb2dzXCI+XG4gICAgICAgIDxuZy10ZW1wbGF0ZSBtYXRUYWJDb250ZW50PlxuICAgICAgICAgIDxhcHAtYXVkaXQtbG9nLWxpc3Qgb2JqZWN0VHlwZT1cIlVzZXJcIiBbb2JqZWN0SWRdPVwidXNlcj8uaWRcIiBbc2hvd0V4cG9ydEJ1dHRvbnNdPVwiZmFsc2VcIj5cbiAgICAgICAgICA8L2FwcC1hdWRpdC1sb2ctbGlzdD5cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgIDwvbWF0LXRhYj5cbiAgICAgIDxtYXQtdGFiIGxhYmVsPVwiVGVuYW50c1wiICpuZ0lmPVwiY3VycmVudFVzZXI/LnVzZXJfdHlwZV9pZCA9PT0gVXNlclR5cGVFbnVtLkFETUlOXCI+XG4gICAgICAgIDxuZy10ZW1wbGF0ZSBtYXRUYWJDb250ZW50PlxuICAgICAgICAgIDxhcHAtdXNlci1jbGllbnRzLWxpc3QgW3VzZXJdPVwidXNlclwiPjwvYXBwLXVzZXItY2xpZW50cy1saXN0PlxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgPC9tYXQtdGFiPlxuICAgICAgPG1hdC10YWIgbGFiZWw9XCJTZXNzaW9uc1wiPlxuICAgICAgICA8bmctdGVtcGxhdGUgbWF0VGFiQ29udGVudD5cbiAgICAgICAgICA8YXBwLXVzZXItc2Vzc2lvbnMgW3VzZXJdPVwidXNlclwiPjwvYXBwLXVzZXItc2Vzc2lvbnM+XG4gICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICA8L21hdC10YWI+XG4gICAgPC9tYXQtdGFiLWdyb3VwPlxuICA8L2Rpdj5cblxuPC9kaXY+Il19
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Class representation of a user
|
|
3
|
-
*
|
|
4
|
-
* @author Joshua Kissoon
|
|
5
|
-
* @since 20170709
|
|
6
|
-
*/
|
|
7
|
-
export class User {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.id = 0;
|
|
10
|
-
this.client = {};
|
|
11
|
-
this.roles = [];
|
|
12
|
-
}
|
|
13
|
-
loadFromMap(data) {
|
|
14
|
-
this.id = data.id;
|
|
15
|
-
this.email = data.email;
|
|
16
|
-
this.name = data.name;
|
|
17
|
-
this.status_id = data.status_id;
|
|
18
|
-
this.user_type_id = data.user_type_id;
|
|
19
|
-
this.client_id = data.client_id;
|
|
20
|
-
this.is_temporary_password = data.is_temporary_password;
|
|
21
|
-
this.roles = (data.roles == null) ? [] : data.roles;
|
|
22
|
-
this.permissions = (data.permissions == null) ? [] : data.permissions;
|
|
23
|
-
this.type = (data.type == null) ? [] : data.type;
|
|
24
|
-
this.client = data.client;
|
|
25
|
-
this.signature = data.signature;
|
|
26
|
-
this.signature_url = data.signature_url;
|
|
27
|
-
this.user_client = data?.user_client;
|
|
28
|
-
this.clients = data?.clients;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvdXNlci91c2VyLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7OztHQUtHO0FBQ0gsTUFBTSxPQUFPLElBQUk7SUFzQmI7UUFDSSxJQUFJLENBQUMsRUFBRSxHQUFHLENBQUMsQ0FBQztRQUNaLElBQUksQ0FBQyxNQUFNLEdBQUcsRUFBRSxDQUFDO1FBQ2pCLElBQUksQ0FBQyxLQUFLLEdBQUcsRUFBRSxDQUFDO0lBQ3BCLENBQUM7SUFFRCxXQUFXLENBQUMsSUFBUztRQUNqQixJQUFJLENBQUMsRUFBRSxHQUFHLElBQUksQ0FBQyxFQUFFLENBQUM7UUFDbEIsSUFBSSxDQUFDLEtBQUssR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDO1FBQ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HRoaXMuZW1haWwgPSBkYXRhLmVtYWlsO1xuICAgICAgICB0aGlzLm5hbWUgPSBkYXRhLm5hbWU7XG4gICAgICAgIHRoaXMuc3RhdHVzX2lkID0gZGF0YS5zdGF0dXNfaWQ7XG4gICAgICAgIHRoaXMudXNlcl90eXBlX2lkID0gZGF0YS51c2VyX3R5cGVfaWQ7XG4gICAgICAgIHRoaXMuY2xpZW50X2lkID0gZGF0YS5jbGllbnRfaWQ7XG4gICAgICAgIHRoaXMuaXNfdGVtcG9yYXJ5X3Bhc3N3b3JkID0gZGF0YS5pc190ZW1wb3JhcnlfcGFzc3dvcmQ7XG4gICAgICAgIHRoaXMucm9sZXMgPSAoZGF0YS5yb2xlcyA9PSBudWxsKSA/IFtdIDogZGF0YS5yb2xlcztcbiAgICAgICAgdGhpcy5wZXJtaXNzaW9ucyA9IChkYXRhLnBlcm1pc3Npb25zID09IG51bGwpID8gW10gOiBkYXRhLnBlcm1pc3Npb25zO1xuICAgICAgICB0aGlzLnR5cGUgPSAoZGF0YS50eXBlID09IG51bGwpID8gW10gOiBkYXRhLnR5cGU7XG4gICAgICAgIHRoaXMuY2xpZW50ID0gZGF0YS5jbGllbnQ7XG4gICAgICAgIHRoaXMuc2lnbmF0dXJlID0gZGF0YS5zaWduYXR1cmU7XG4gICAgICAgIHRoaXMuc2lnbmF0dXJlX3VybCA9IGRhdGEuc2lnbmF0dXJlX3VybDtcbiAgICAgICAgdGhpcy51c2VyX2NsaWVudCA9IGRhdGE/LnVzZXJfY2xpZW50O1xuICAgICAgICB0aGlzLmNsaWVudHMgPSBkYXRhPy5jbGllbnRzO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
/* Routing Provider */
|
|
3
|
-
import { UserRoutingProvider } from './user.routes';
|
|
4
|
-
/* Components */
|
|
5
|
-
import { UserListComponent } from './user-list/user-list.component';
|
|
6
|
-
import { UserExploreComponent } from './user-explore.component';
|
|
7
|
-
/* Services */
|
|
8
|
-
import { SharedModule } from '../shared.module';
|
|
9
|
-
import { UserViewComponent } from './user-view.component';
|
|
10
|
-
import { LoginHistoryForUserModule } from '../login-history-for-user/login-history-for-user.module';
|
|
11
|
-
import { AuditLogListModule } from '../audit-log/audit-log-list/audit-log-list.module';
|
|
12
|
-
import { UserEnableButtonModule } from './user-enable-button-component/user-enable-button.module';
|
|
13
|
-
import { UserClientsListModule } from '../user-clients-list/user-clients-list.module';
|
|
14
|
-
import { UserSessionsModule } from './user-sessions/user-sessions/user-sessions.module';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
export class UserModule {
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
18
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: UserModule, declarations: [UserExploreComponent,
|
|
19
|
-
UserViewComponent], imports: [SharedModule,
|
|
20
|
-
UserRoutingProvider,
|
|
21
|
-
LoginHistoryForUserModule,
|
|
22
|
-
AuditLogListModule,
|
|
23
|
-
UserEnableButtonModule,
|
|
24
|
-
UserClientsListModule,
|
|
25
|
-
UserSessionsModule,
|
|
26
|
-
UserListComponent], exports: [UserViewComponent,
|
|
27
|
-
UserListComponent,
|
|
28
|
-
UserEnableButtonModule,
|
|
29
|
-
UserClientsListModule,
|
|
30
|
-
UserSessionsModule] }); }
|
|
31
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserModule, imports: [SharedModule,
|
|
32
|
-
UserRoutingProvider,
|
|
33
|
-
LoginHistoryForUserModule,
|
|
34
|
-
AuditLogListModule,
|
|
35
|
-
UserEnableButtonModule,
|
|
36
|
-
UserClientsListModule,
|
|
37
|
-
UserSessionsModule,
|
|
38
|
-
UserListComponent, UserEnableButtonModule,
|
|
39
|
-
UserClientsListModule,
|
|
40
|
-
UserSessionsModule] }); }
|
|
41
|
-
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UserModule, decorators: [{
|
|
43
|
-
type: NgModule,
|
|
44
|
-
args: [{
|
|
45
|
-
imports: [
|
|
46
|
-
SharedModule,
|
|
47
|
-
UserRoutingProvider,
|
|
48
|
-
LoginHistoryForUserModule,
|
|
49
|
-
AuditLogListModule,
|
|
50
|
-
UserEnableButtonModule,
|
|
51
|
-
UserClientsListModule,
|
|
52
|
-
UserSessionsModule,
|
|
53
|
-
UserListComponent
|
|
54
|
-
],
|
|
55
|
-
declarations: [
|
|
56
|
-
UserExploreComponent,
|
|
57
|
-
UserViewComponent,
|
|
58
|
-
],
|
|
59
|
-
exports: [
|
|
60
|
-
UserViewComponent,
|
|
61
|
-
UserListComponent,
|
|
62
|
-
UserEnableButtonModule,
|
|
63
|
-
UserClientsListModule,
|
|
64
|
-
UserSessionsModule
|
|
65
|
-
]
|
|
66
|
-
}]
|
|
67
|
-
}] });
|
|
68
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL3VzZXIvdXNlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxzQkFBc0I7QUFDdEIsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXBELGdCQUFnQjtBQUNoQixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxpQ0FBaUMsQ0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