ngx-techlify-core 18.87.0 → 18.89.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/esm2022/lib/access-control-config/access-control-config-form/access-control-config-form.component.mjs +9 -10
- package/esm2022/lib/access-control-config/access-control-config.component.mjs +6 -7
- package/esm2022/lib/access-control-config/access-control-config.module.mjs +8 -40
- package/esm2022/lib/app-admin/admin-role/admin-role-list/admin-role-list.component.mjs +7 -8
- package/esm2022/lib/app-admin/admin-role/admin-role-list/admin-role-list.module.mjs +8 -43
- package/esm2022/lib/app-admin/admin-role/admin-role-permission-form/admin-role-permission-form.component.mjs +9 -10
- package/esm2022/lib/app-admin/admin-role/admin-role-permission-form/admin-role-permission-form.module.mjs +5 -46
- package/esm2022/lib/app-admin/app-admin-home/app-admin-home.component.mjs +2 -2
- package/esm2022/lib/audit-log/audit-log-for-model/audit-log-for-model.module.mjs +8 -16
- package/esm2022/lib/audit-log/audit-log-list/audit-log-list.component.mjs +9 -9
- package/esm2022/lib/audit-log/audit-log-list/audit-log-list.module.mjs +8 -31
- package/esm2022/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.mjs +6 -6
- package/esm2022/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.mjs +8 -24
- package/esm2022/lib/audit-log/audit-log-view/audit-log-view.module.mjs +8 -12
- package/esm2022/lib/audit-log/audit-log-view-model/audit-log-view-model.module.mjs +8 -12
- package/esm2022/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.mjs +1 -1
- package/esm2022/lib/base-model/techlify-list/techlify-list.component.mjs +42 -4
- package/esm2022/lib/change-password/change-password.component.mjs +4 -5
- package/esm2022/lib/change-password/change-password.module.mjs +5 -24
- package/esm2022/lib/column-selector/column-selector/column-selector.component.mjs +7 -8
- package/esm2022/lib/column-selector/column-selector.module.mjs +5 -53
- package/esm2022/lib/core/core.module.mjs +1 -1
- package/esm2022/lib/data-table/data-table.component.mjs +11 -13
- package/esm2022/lib/data-table/data-table.module.mjs +5 -17
- package/esm2022/lib/document-viewer/document-viewer.component.mjs +5 -6
- package/esm2022/lib/document-viewer/document-viewer.module.mjs +1 -5
- package/esm2022/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.mjs +5 -17
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.mjs +5 -6
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.mjs +5 -21
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.mjs +13 -14
- package/esm2022/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.mjs +5 -21
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.mjs +5 -6
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.mjs +5 -21
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.mjs +13 -14
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.mjs +5 -21
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.mjs +4 -5
- package/esm2022/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.mjs +5 -21
- package/esm2022/lib/entity-files/entity-file-form/entity-file-form.component.mjs +8 -8
- package/esm2022/lib/entity-files/entity-file-list/entity-file-list.component.mjs +19 -19
- package/esm2022/lib/entity-files/entity-file-list-widget/entity-file-list-widget.component.mjs +2 -4
- package/esm2022/lib/entity-files/entity-file-list.module.mjs +1 -13
- package/esm2022/lib/entity-files/entity-file.service.mjs +3 -3
- package/esm2022/lib/file-dragdrop-uploader/file-dragdrop-uploader/file-dragdrop-uploader.component.mjs +21 -8
- package/esm2022/lib/file-dragdrop-uploader/file-dragdrop-uploader.module.mjs +5 -21
- package/esm2022/lib/file-dropper/file-dropper.component.mjs +4 -6
- package/esm2022/lib/file-dropper/file-dropper.module.mjs +1 -5
- package/esm2022/lib/forgot-password/forgot-password.component.mjs +1 -1
- package/esm2022/lib/forgot-password/forgot-password.module.mjs +5 -13
- package/esm2022/lib/form-configuration/form-configuration-field-form/form-configuration-field-form.component.mjs +3 -4
- package/esm2022/lib/form-configuration/form-configuration-field-form/form-configuration-field-form.module.mjs +5 -17
- package/esm2022/lib/import-csv/field-mapping/field-mapping.component.mjs +5 -5
- package/esm2022/lib/import-csv/import-csv.component.mjs +20 -19
- package/esm2022/lib/import-csv/import-csv.module.mjs +8 -38
- package/esm2022/lib/import-csv/import-history-list/import-history-list.component.mjs +3 -3
- package/esm2022/lib/import-csv/import-success/import-success.component.mjs +5 -5
- package/esm2022/lib/ip-address-selector/ip-address-selector.module.mjs +5 -29
- package/esm2022/lib/ip-address-selector/ip-range-selector/ip-range-selector.component.mjs +7 -8
- package/esm2022/lib/locked-date/locked-date-form/locked-date-form.component.mjs +1 -1
- package/esm2022/lib/locked-date/locked-date.module.mjs +5 -32
- package/esm2022/lib/locked-date/locked-dates-list/locked-date-list.component.mjs +3 -3
- package/esm2022/lib/login/login-form-fields/login-form-fields.component.mjs +5 -8
- package/esm2022/lib/login/login.module.mjs +5 -29
- package/esm2022/lib/login-history-for-user/login-history-for-user.component.mjs +5 -6
- package/esm2022/lib/login-history-for-user/login-history-for-user.module.mjs +8 -28
- package/esm2022/lib/material.module.mjs +7 -3
- package/esm2022/lib/note/comment-form/comment-form.component.mjs +4 -8
- package/esm2022/lib/note/note-comment-list/note-comment-list.component.mjs +3 -4
- package/esm2022/lib/note/note-list/note-list.component.mjs +17 -18
- package/esm2022/lib/note/note.module.mjs +3 -7
- package/esm2022/lib/number-input-button/number-input-button/number-input-button.component.mjs +7 -7
- package/esm2022/lib/number-input-button/number-input-button.module.mjs +5 -13
- package/esm2022/lib/number-selector/number-selector.component.mjs +4 -6
- package/esm2022/lib/ordinal-pipe/ordinal-pipe.mjs +30 -0
- package/esm2022/lib/pdf-button/pdf-button.component.mjs +3 -3
- package/esm2022/lib/pdf-button/pdf-button.module.mjs +5 -13
- package/esm2022/lib/phone-number-selector/phone-number-selector.component.mjs +4 -4
- package/esm2022/lib/profile/profile-edit.component.mjs +1 -1
- package/esm2022/lib/profile/profile.module.mjs +5 -13
- package/esm2022/lib/read-more/read-more.module.mjs +3 -7
- package/esm2022/lib/reset-password/reset-password.component.mjs +4 -4
- package/esm2022/lib/reset-password/reset-password.module.mjs +5 -24
- package/esm2022/lib/restrictors/restrictor-level-selector/restrictor-level-selector/restrictor-level-selector.component.mjs +3 -3
- package/esm2022/lib/restrictors/restrictor-level-selector/restrictor-level-selector.module.mjs +5 -17
- package/esm2022/lib/restrictors/restrictor-status-selector/restrictor-status-selector/restrictor-status-selector.component.mjs +3 -3
- package/esm2022/lib/restrictors/restrictor-status-selector/restrictor-status-selector.module.mjs +5 -13
- package/esm2022/lib/restrictors/restrictor-type-selector/restrictor-type-selector/restrictor-type-selector.component.mjs +4 -4
- package/esm2022/lib/restrictors/restrictor-type-selector/restrictor-type-selector.module.mjs +5 -17
- package/esm2022/lib/restrictors/restrictors-form/restrictors-form.component.mjs +9 -10
- package/esm2022/lib/restrictors/restrictors-form-page/restrictors-form-page.component.mjs +6 -7
- package/esm2022/lib/restrictors/restrictors-list-page/restrictors-list-page.component.mjs +12 -13
- package/esm2022/lib/restrictors/restrictors.module.mjs +8 -60
- package/esm2022/lib/role/permission/permission.module.mjs +8 -23
- package/esm2022/lib/role/permission/permissions-management.component.mjs +6 -6
- package/esm2022/lib/role/role-form.component.mjs +1 -1
- package/esm2022/lib/role/role-list/role-list.component.mjs +8 -8
- package/esm2022/lib/role/role-view/role-view.module.mjs +8 -27
- package/esm2022/lib/role/role.module.mjs +8 -30
- package/esm2022/lib/searchable-selector/searchable-selector.component.mjs +6 -6
- package/esm2022/lib/searchable-selector/searchable-selector.module.mjs +1 -5
- package/esm2022/lib/shared.module.mjs +27 -3
- package/esm2022/lib/signup/signup.component.mjs +1 -1
- package/esm2022/lib/signup/signup.module.mjs +5 -13
- package/esm2022/lib/subscription/subscription-form/subscription-form.component.mjs +3 -4
- package/esm2022/lib/subscription/subscription-form/subscription-form.module.mjs +8 -24
- package/esm2022/lib/subscription/subscription-listing/subscription-listing.component.mjs +18 -19
- package/esm2022/lib/subscription/subscription-listing/subscription-listing.module.mjs +8 -35
- package/esm2022/lib/subscription/subscription-package-listing/subscription-package-listing.component.mjs +15 -16
- package/esm2022/lib/subscription/subscription-package-listing/subscription-package-listing.module.mjs +8 -32
- package/esm2022/lib/subscription/subscription-package-view/subscription-package-view.component.mjs +5 -6
- package/esm2022/lib/subscription/subscription-package-view/subscription-package-view.module.mjs +8 -16
- package/esm2022/lib/tag/techlify-tagger-tag-form/techlify-tagger-tag-form.component.mjs +12 -26
- package/esm2022/lib/tag/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.mjs +4 -4
- package/esm2022/lib/tag/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.mjs +5 -21
- package/esm2022/lib/tag/techlify-tagger-tag-list/techlify-tagger-tag-list.component.mjs +19 -37
- package/esm2022/lib/tag/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.mjs +1 -1
- package/esm2022/lib/tag/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.mjs +5 -29
- package/esm2022/lib/techlify-app-selector/techlify-app-selector.component.mjs +5 -6
- package/esm2022/lib/techlify-app-selector/techlify-app-selector.module.mjs +6 -13
- package/esm2022/lib/techlify-auto-complete-select/techlify-auto-complete-select.component.mjs +11 -22
- package/esm2022/lib/techlify-feature/on-off-switch/on-off-switch.component.mjs +1 -1
- package/esm2022/lib/techlify-feature/techlify-feature-listing.component.mjs +9 -10
- package/esm2022/lib/techlify-feature/techlify-feature.module.mjs +7 -30
- package/esm2022/lib/techlify-notifications/techlify-notification-for-user/techlify-notification-for-user.component.mjs +3 -4
- package/esm2022/lib/techlify-notifications/techlify-notification-for-user/techlify-notification-for-user.module.mjs +5 -17
- package/esm2022/lib/techlify-update/techlify-update-form/techlify-update-form.component.mjs +4 -5
- package/esm2022/lib/techlify-update/techlify-update-form/techlify-update-form.module.mjs +5 -17
- package/esm2022/lib/techlify-update/techlify-update-history/techlify-update-history.component.mjs +10 -11
- package/esm2022/lib/techlify-update/techlify-update-history/techlify-update-history.module.mjs +5 -29
- package/esm2022/lib/techlify-update/techlify-update.module.mjs +7 -31
- package/esm2022/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.mjs +10 -11
- package/esm2022/lib/techlify-update/techlify-updates-teaser/techlify-updates-teaser.component.mjs +7 -8
- package/esm2022/lib/techlify-update/techlify-updates-teaser/techlify-updates-teaser.module.mjs +5 -17
- package/esm2022/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.mjs +3 -4
- package/esm2022/lib/techlify-update/update-notifier/update-notifier.module.mjs +8 -20
- package/esm2022/lib/techlify-update/update-view/update-view.component.mjs +3 -4
- package/esm2022/lib/techlify-update/update-view/update-view.module.mjs +5 -13
- package/esm2022/lib/techlify-view/my-techlify-view-listing/my-techlify-view-listing.component.mjs +7 -9
- package/esm2022/lib/techlify-view/my-techlify-view-listing/my-techlify-view-listing.module.mjs +7 -15
- package/esm2022/lib/techlify-view/techlify-view-form/techlify-view-form.component.mjs +3 -4
- package/esm2022/lib/techlify-view/techlify-view-form/techlify-view-form.module.mjs +5 -24
- package/esm2022/lib/timeline-activity/timeline-activity-button/timeline-activity-button.module.mjs +6 -18
- package/esm2022/lib/timeline-activity/timeline-activity-list/timeline-activity-list.component.mjs +4 -5
- package/esm2022/lib/timeline-activity/timeline-activity-list/timeline-activity-list.module.mjs +8 -32
- package/esm2022/lib/timeline-filter/timeline-filter.component.mjs +10 -11
- package/esm2022/lib/timeline-filter/timeline-filter.module.mjs +1 -5
- package/esm2022/lib/user/app-admin-user-view/app-admin-user-view.module.mjs +1 -5
- package/esm2022/lib/user/user-enable-button-component/user-enable-button.module.mjs +5 -17
- package/esm2022/lib/user/user-explore.component.mjs +3 -4
- package/esm2022/lib/user/user-form/user-form.component.mjs +11 -15
- package/esm2022/lib/user/user-list/user-list.component.mjs +10 -21
- package/esm2022/lib/user/user-sessions/user-sessions/user-sessions.module.mjs +5 -13
- package/esm2022/lib/user/user.module.mjs +1 -9
- package/esm2022/lib/user-client-enable-disable-button/user-client-enable-disable-button.module.mjs +5 -13
- package/esm2022/lib/user-clients-list/user-clients-list.module.mjs +5 -13
- package/esm2022/lib/user-selector/user-selector.component.mjs +3 -3
- package/esm2022/lib/user-selector/user-selector.module.mjs +5 -17
- package/esm2022/lib/utility/date-utils.service.mjs +23 -1
- package/esm2022/lib/utility/utility.module.mjs +5 -9
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/ngx-techlify-core.mjs +1047 -1799
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/lib/access-control-config/access-control-config.module.d.ts +3 -11
- package/lib/app-admin/admin-role/admin-role-list/admin-role-list.module.d.ts +3 -11
- package/lib/app-admin/admin-role/admin-role-permission-form/admin-role-permission-form.module.d.ts +2 -10
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.module.d.ts +2 -4
- package/lib/audit-log/audit-log-list/audit-log-list.module.d.ts +3 -9
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.d.ts +2 -6
- package/lib/audit-log/audit-log-view/audit-log-view.module.d.ts +2 -3
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.module.d.ts +2 -3
- package/lib/base-model/techlify-list/techlify-list.component.d.ts +20 -0
- package/lib/change-password/change-password.module.d.ts +3 -7
- package/lib/column-selector/column-selector.module.d.ts +2 -12
- package/lib/data-table/data-table.module.d.ts +2 -5
- package/lib/document-viewer/document-viewer.module.d.ts +3 -4
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.d.ts +3 -6
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.d.ts +4 -8
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.d.ts +4 -8
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.d.ts +4 -8
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.d.ts +5 -9
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.d.ts +3 -7
- package/lib/entity-files/entity-file-list.module.d.ts +5 -8
- package/lib/entity-files/entity-file.service.d.ts +1 -1
- package/lib/file-dragdrop-uploader/file-dragdrop-uploader/file-dragdrop-uploader.component.d.ts +3 -1
- package/lib/file-dragdrop-uploader/file-dragdrop-uploader.module.d.ts +2 -6
- package/lib/file-dropper/file-dropper.module.d.ts +2 -3
- package/lib/forgot-password/forgot-password.module.d.ts +3 -5
- package/lib/form-configuration/form-configuration-field-form/form-configuration-field-form.module.d.ts +3 -6
- package/lib/import-csv/import-csv.component.d.ts +3 -3
- package/lib/import-csv/import-csv.module.d.ts +3 -9
- package/lib/ip-address-selector/ip-address-selector.module.d.ts +2 -8
- package/lib/locked-date/locked-date.module.d.ts +2 -9
- package/lib/login/login.module.d.ts +4 -10
- package/lib/login-history-for-user/login-history-for-user.module.d.ts +2 -7
- package/lib/material.module.d.ts +25 -24
- package/lib/note/note.module.d.ts +3 -4
- package/lib/number-input-button/number-input-button.module.d.ts +2 -4
- package/lib/ordinal-pipe/ordinal-pipe.d.ts +7 -0
- package/lib/pdf-button/pdf-button.module.d.ts +2 -4
- package/lib/profile/profile.module.d.ts +3 -5
- package/lib/read-more/read-more.module.d.ts +1 -2
- package/lib/reset-password/reset-password.module.d.ts +4 -8
- package/lib/restrictors/restrictor-level-selector/restrictor-level-selector.module.d.ts +2 -5
- package/lib/restrictors/restrictor-status-selector/restrictor-status-selector.module.d.ts +2 -4
- package/lib/restrictors/restrictor-type-selector/restrictor-type-selector.module.d.ts +2 -5
- package/lib/restrictors/restrictors.module.d.ts +6 -19
- package/lib/role/permission/permission.module.d.ts +2 -5
- package/lib/role/role-view/role-view.module.d.ts +2 -6
- package/lib/role/role.module.d.ts +2 -7
- package/lib/searchable-selector/searchable-selector.module.d.ts +3 -4
- package/lib/shared.module.d.ts +14 -8
- package/lib/signup/signup.module.d.ts +3 -5
- package/lib/subscription/subscription-form/subscription-form.module.d.ts +2 -6
- package/lib/subscription/subscription-listing/subscription-listing.module.d.ts +3 -9
- package/lib/subscription/subscription-package-listing/subscription-package-listing.module.d.ts +2 -8
- package/lib/subscription/subscription-package-view/subscription-package-view.module.d.ts +2 -4
- package/lib/tag/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.d.ts +2 -6
- package/lib/tag/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.d.ts +2 -8
- package/lib/techlify-app-selector/techlify-app-selector.module.d.ts +4 -5
- package/lib/techlify-feature/techlify-feature.module.d.ts +4 -9
- package/lib/techlify-notifications/techlify-notification-for-user/techlify-notification-for-user.module.d.ts +3 -6
- package/lib/techlify-update/techlify-update-form/techlify-update-form.module.d.ts +3 -6
- package/lib/techlify-update/techlify-update-history/techlify-update-history.module.d.ts +3 -9
- package/lib/techlify-update/techlify-update.module.d.ts +4 -10
- package/lib/techlify-update/techlify-updates-teaser/techlify-updates-teaser.module.d.ts +2 -5
- package/lib/techlify-update/update-notifier/update-notifier.module.d.ts +3 -6
- package/lib/techlify-update/update-view/update-view.module.d.ts +2 -4
- package/lib/techlify-view/my-techlify-view-listing/my-techlify-view-listing.module.d.ts +2 -4
- package/lib/techlify-view/techlify-view-form/techlify-view-form.module.d.ts +2 -6
- package/lib/timeline-activity/timeline-activity-button/timeline-activity-button.module.d.ts +3 -6
- package/lib/timeline-activity/timeline-activity-list/timeline-activity-list.module.d.ts +2 -8
- package/lib/timeline-filter/timeline-filter.module.d.ts +10 -11
- package/lib/user/app-admin-user-view/app-admin-user-view.module.d.ts +6 -7
- package/lib/user/user-enable-button-component/user-enable-button.module.d.ts +2 -5
- package/lib/user/user-sessions/user-sessions/user-sessions.module.d.ts +2 -4
- package/lib/user/user.module.d.ts +7 -9
- package/lib/user-client-enable-disable-button/user-client-enable-disable-button.module.d.ts +2 -4
- package/lib/user-clients-list/user-clients-list.module.d.ts +3 -5
- package/lib/user-selector/user-selector.module.d.ts +2 -4
- package/lib/utility/date-utils.service.d.ts +13 -0
- package/lib/utility/utility.module.d.ts +2 -3
- package/package.json +2 -1
- package/public-api.d.ts +1 -0
|
@@ -1,38 +1,23 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
1
|
import { NgModule } from '@angular/core';
|
|
3
2
|
/* Components */
|
|
4
3
|
import { PermissionsManagementComponent } from './permissions-management.component';
|
|
5
4
|
/* Routing Provider */
|
|
6
5
|
import { PermissionRoutingProvider } from './permission.routes';
|
|
7
|
-
import {
|
|
8
|
-
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
9
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
+
import { SharedModule } from '../../shared.module';
|
|
10
7
|
import * as i0 from "@angular/core";
|
|
11
8
|
export class PermissionModule {
|
|
12
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PermissionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: PermissionModule, declarations: [PermissionsManagementComponent], imports: [
|
|
14
|
-
PermissionRoutingProvider,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
FormsModule,
|
|
18
|
-
ReactiveFormsModule], exports: [PermissionsManagementComponent] }); }
|
|
19
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PermissionModule, imports: [CommonModule,
|
|
20
|
-
PermissionRoutingProvider,
|
|
21
|
-
FlexLayoutModule,
|
|
22
|
-
MaterialModule,
|
|
23
|
-
FormsModule,
|
|
24
|
-
ReactiveFormsModule] }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: PermissionModule, declarations: [PermissionsManagementComponent], imports: [SharedModule,
|
|
11
|
+
PermissionRoutingProvider], exports: [PermissionsManagementComponent] }); }
|
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PermissionModule, imports: [SharedModule,
|
|
13
|
+
PermissionRoutingProvider] }); }
|
|
25
14
|
}
|
|
26
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PermissionModule, decorators: [{
|
|
27
16
|
type: NgModule,
|
|
28
17
|
args: [{
|
|
29
18
|
imports: [
|
|
30
|
-
|
|
31
|
-
PermissionRoutingProvider
|
|
32
|
-
FlexLayoutModule,
|
|
33
|
-
MaterialModule,
|
|
34
|
-
FormsModule,
|
|
35
|
-
ReactiveFormsModule,
|
|
19
|
+
SharedModule,
|
|
20
|
+
PermissionRoutingProvider
|
|
36
21
|
],
|
|
37
22
|
declarations: [
|
|
38
23
|
PermissionsManagementComponent
|
|
@@ -42,4 +27,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
42
27
|
]
|
|
43
28
|
}]
|
|
44
29
|
}] });
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL3JvbGUvcGVybWlzc2lvbi9wZXJtaXNzaW9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjo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Lm1vZHVsZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW1xuICAgICAgICBTaGFyZWRNb2R1bGUsXG4gICAgICAgIFBlcm1pc3Npb25Sb3V0aW5nUHJvdmlkZXJcbiAgICBdLFxuICAgIGRlY2xhcmF0aW9uczogW1xuICAgICAgICBQZXJtaXNzaW9uc01hbmFnZW1lbnRDb21wb25lbnRcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgUGVybWlzc2lvbnNNYW5hZ2VtZW50Q29tcG9uZW50XG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBQZXJtaXNzaW9uTW9kdWxlIHsgfVxuIl19
|
|
@@ -7,11 +7,11 @@ import * as i2 from "@angular/router";
|
|
|
7
7
|
import * as i3 from "../../user-config";
|
|
8
8
|
import * as i4 from "@angular/forms";
|
|
9
9
|
import * as i5 from "@angular/common";
|
|
10
|
-
import * as i6 from "@angular/material/
|
|
11
|
-
import * as i7 from "@angular/material/
|
|
12
|
-
import * as i8 from "@angular/material/
|
|
13
|
-
import * as i9 from "@angular/material/
|
|
14
|
-
import * as i10 from "@angular/material/
|
|
10
|
+
import * as i6 from "@angular/material/core";
|
|
11
|
+
import * as i7 from "@angular/material/button";
|
|
12
|
+
import * as i8 from "@angular/material/form-field";
|
|
13
|
+
import * as i9 from "@angular/material/icon";
|
|
14
|
+
import * as i10 from "@angular/material/input";
|
|
15
15
|
import * as i11 from "@angular/material/select";
|
|
16
16
|
import * as i12 from "@angular/material/card";
|
|
17
17
|
/**
|
|
@@ -116,7 +116,7 @@ export class PermissionsManagementComponent {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PermissionsManagementComponent, deps: [{ token: i1.HttpService }, { token: i1.AlertService }, { token: i2.ActivatedRoute }, { token: i1.CredentialsService }, { token: i1.ErrorHandlerService }, { token: i3.UserConfigService }, { token: i4.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
119
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PermissionsManagementComponent, selector: "role-permissions-management", inputs: { clientId: "clientId" }, ngImport: i0, template: "<div class=\"d-flex flex-column justify-content-start m-2\">\n <mat-card>\n <mat-card-content class=\"d-flex justify-content-between align-items-center gap-2\">\n <div class=\"d-flex justify-content-start align-items-center gap-2\">\n <h5 class=\"m-0 fw-bold\">\n Manage Role Permissions\n </h5>\n <button *ngIf=\"!config.permissionConfig.disableUsers\" [routerLink]=\"['../users']\" class=\"ml-1\"\n mat-raised-button>\n <i class=\"icon fas fa-users\"></i> Users\n </button>\n <button *ngIf=\"!config.permissionConfig.disableRoles\" [routerLink]=\"['../roles']\" class=\"ml-1\"\n mat-raised-button>\n <i class=\"fas fa-user-md\"></i> Manage Roles\n </button>\n </div>\n <form [formGroup]=\"filterForm\" class=\"d-flex justify-content-end align-items-center gap-2\">\n <mat-form-field appearance=\"outline\">\n <mat-label>Search</mat-label>\n <input autocomplete=\"off\" formControlName=\"search\" matInput placeholder=\"Search Permissions\" type=\"text\" />\n <button (click)=\"filterForm.get('search').setValue('')\" *ngIf=\"filterForm.get('search').value\" mat-icon-button\n matSuffix type=\"button\">\n <mat-icon>clear</mat-icon>\n </button>\n </mat-form-field>\n\n <mat-form-field *ngIf=\"roles\" appearance=\"outline\" class=\"ml-2\">\n <mat-label>Show Roles</mat-label>\n <mat-select formControlName='role_ids' multiple>\n <mat-option *ngFor=\"let role of roles\" [value]=\"role?.id\">\n {{ role.label }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </form>\n </mat-card-content>\n </mat-card>\n\n <mat-card class=\"mt-2 p-0\">\n <form>\n <table aria-describedby=\"Role Permissions\" class=\"table table-sm table-bordered table-condensed table-striped\">\n <thead>\n <tr>\n <th>Permissions</th>\n <ng-container *ngFor=\"let role of roles\">\n <th *ngIf=\"filterForm.get('role_ids').value.includes(role.id)\" class=\"text-center\">\n {{ role.label }}\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let permission of filteredPermissions\">\n <td>\n {{ permission.label }}\n </td>\n <ng-container *ngFor=\"let role of roles\">\n <td *ngIf=\"filterForm.get('role_ids').value.includes(role.id)\" class=\"text-center align-middle\">\n <div class=\"d-flex justify-content-center align-items-center h-100\">\n <input (change)=\"updateRolePermission(role, permission)\"\n [checked]=\"role.hasPermission(permission.slug)\" name=\"{{role.id}}[{{permission?.label}}]\"\n type=\"checkbox\" [disabled]=\"role?.client_id == null\" />\n </div>\n </td>\n </ng-container>\n </tr>\n </tbody>\n </table>\n </form>\n </mat-card>\n</div>", styles: ["input[type=checkbox]{color-scheme:light}\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: "directive", type:
|
|
119
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PermissionsManagementComponent, selector: "role-permissions-management", inputs: { clientId: "clientId" }, ngImport: i0, template: "<div class=\"d-flex flex-column justify-content-start m-2\">\n <mat-card>\n <mat-card-content class=\"d-flex justify-content-between align-items-center gap-2\">\n <div class=\"d-flex justify-content-start align-items-center gap-2\">\n <h5 class=\"m-0 fw-bold\">\n Manage Role Permissions\n </h5>\n <button *ngIf=\"!config.permissionConfig.disableUsers\" [routerLink]=\"['../users']\" class=\"ml-1\"\n mat-raised-button>\n <i class=\"icon fas fa-users\"></i> Users\n </button>\n <button *ngIf=\"!config.permissionConfig.disableRoles\" [routerLink]=\"['../roles']\" class=\"ml-1\"\n mat-raised-button>\n <i class=\"fas fa-user-md\"></i> Manage Roles\n </button>\n </div>\n <form [formGroup]=\"filterForm\" class=\"d-flex justify-content-end align-items-center gap-2\">\n <mat-form-field appearance=\"outline\">\n <mat-label>Search</mat-label>\n <input autocomplete=\"off\" formControlName=\"search\" matInput placeholder=\"Search Permissions\" type=\"text\" />\n <button (click)=\"filterForm.get('search').setValue('')\" *ngIf=\"filterForm.get('search').value\" mat-icon-button\n matSuffix type=\"button\">\n <mat-icon>clear</mat-icon>\n </button>\n </mat-form-field>\n\n <mat-form-field *ngIf=\"roles\" appearance=\"outline\" class=\"ml-2\">\n <mat-label>Show Roles</mat-label>\n <mat-select formControlName='role_ids' multiple>\n <mat-option *ngFor=\"let role of roles\" [value]=\"role?.id\">\n {{ role.label }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </form>\n </mat-card-content>\n </mat-card>\n\n <mat-card class=\"mt-2 p-0\">\n <form>\n <table aria-describedby=\"Role Permissions\" class=\"table table-sm table-bordered table-condensed table-striped\">\n <thead>\n <tr>\n <th>Permissions</th>\n <ng-container *ngFor=\"let role of roles\">\n <th *ngIf=\"filterForm.get('role_ids').value.includes(role.id)\" class=\"text-center\">\n {{ role.label }}\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let permission of filteredPermissions\">\n <td>\n {{ permission.label }}\n </td>\n <ng-container *ngFor=\"let role of roles\">\n <td *ngIf=\"filterForm.get('role_ids').value.includes(role.id)\" class=\"text-center align-middle\">\n <div class=\"d-flex justify-content-center align-items-center h-100\">\n <input (change)=\"updateRolePermission(role, permission)\"\n [checked]=\"role.hasPermission(permission.slug)\" name=\"{{role.id}}[{{permission?.label}}]\"\n type=\"checkbox\" [disabled]=\"role?.client_id == null\" />\n </div>\n </td>\n </ng-container>\n </tr>\n </tbody>\n </table>\n </form>\n </mat-card>\n</div>", styles: ["input[type=checkbox]{color-scheme:light}\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: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.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: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i6.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i8.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i8.MatLabel, selector: "mat-label" }, { kind: "directive", type: i8.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i9.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i10.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: "component", type: i11.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i12.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i12.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] }); }
|
|
120
120
|
}
|
|
121
121
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PermissionsManagementComponent, decorators: [{
|
|
122
122
|
type: Component,
|
|
@@ -70,7 +70,7 @@ export class RoleFormComponent {
|
|
|
70
70
|
return this.formValidatorService.getErrorMessage(field, this.roleForm, errorMessages);
|
|
71
71
|
}
|
|
72
72
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RoleFormComponent, deps: [{ token: i1.AlertService }, { token: i1.CredentialsService }, { token: i2.UntypedFormBuilder }, { token: i1.FormValidatorService }, { token: i3.UserConfigService }, { token: i4.MatDialogRef }, { token: MAT_DIALOG_DATA }, { token: i5.RoleService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
73
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: RoleFormComponent, selector: "role-form", ngImport: i0, template: "<mat-card-content>\n <form [formGroup]=\"roleForm\" (ngSubmit)=\"save()\">\n <div class=\"d-flex flex-column\">\n <h5 class=\"text-center\"> Role Form </h5>\n <mat-form-field class=\"w-100\">\n <input matInput formControlName=\"label\" placeholder=\"Role\" type=\"text\" autocomplete=\"off\" required />\n <mat-error *ngIf=\"isFieldValid('label')\">{{getErrorMessage('label')}}</mat-error>\n </mat-form-field>\n <mat-form-field class=\"w-100\">\n <textarea matInput placeholder=\"Description\" formControlName=\"description\"></textarea>\n </mat-form-field>\n\n <ng-container *ngIf=\"isAdminUser && roleForm.get('client_id').value\">\n <mat-checkbox formControlName=\"is_editable\"> Is Editable</mat-checkbox>\n </ng-container>\n\n <div class=\"d-flex justify-content-end gap-3 mt-2\">\n <button mat-button type=\"button\" (click)=\"dialogRef.close()\">\n Cancel\n </button>\n <button mat-raised-button color=\"primary\" type=\"submit\">\n Save\n </button>\n </div>\n </div>\n </form>\n</mat-card-content>", dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i8.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: i9.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i9.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i10.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: i11.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i2
|
|
73
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: RoleFormComponent, selector: "role-form", ngImport: i0, template: "<mat-card-content>\n <form [formGroup]=\"roleForm\" (ngSubmit)=\"save()\">\n <div class=\"d-flex flex-column\">\n <h5 class=\"text-center\"> Role Form </h5>\n <mat-form-field class=\"w-100\">\n <input matInput formControlName=\"label\" placeholder=\"Role\" type=\"text\" autocomplete=\"off\" required />\n <mat-error *ngIf=\"isFieldValid('label')\">{{getErrorMessage('label')}}</mat-error>\n </mat-form-field>\n <mat-form-field class=\"w-100\">\n <textarea matInput placeholder=\"Description\" formControlName=\"description\"></textarea>\n </mat-form-field>\n\n <ng-container *ngIf=\"isAdminUser && roleForm.get('client_id').value\">\n <mat-checkbox formControlName=\"is_editable\"> Is Editable</mat-checkbox>\n </ng-container>\n\n <div class=\"d-flex justify-content-end gap-3 mt-2\">\n <button mat-button type=\"button\" (click)=\"dialogRef.close()\">\n Cancel\n </button>\n <button mat-raised-button color=\"primary\" type=\"submit\">\n Save\n </button>\n </div>\n </div>\n </form>\n</mat-card-content>", dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i8.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: i9.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i9.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i10.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: i11.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }] }); }
|
|
74
74
|
}
|
|
75
75
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RoleFormComponent, decorators: [{
|
|
76
76
|
type: Component,
|
|
@@ -8,13 +8,13 @@ import * as i3 from "../../user-config";
|
|
|
8
8
|
import * as i4 from "@angular/material/dialog";
|
|
9
9
|
import * as i5 from "../../user";
|
|
10
10
|
import * as i6 from "@angular/common";
|
|
11
|
-
import * as i7 from "
|
|
12
|
-
import * as i8 from "@angular/material/
|
|
13
|
-
import * as i9 from "@angular/material/
|
|
14
|
-
import * as i10 from "@angular/material/
|
|
15
|
-
import * as i11 from "@angular/material/
|
|
16
|
-
import * as i12 from "@angular/material/
|
|
17
|
-
import * as i13 from "
|
|
11
|
+
import * as i7 from "ngx-infinite-scroll";
|
|
12
|
+
import * as i8 from "@angular/material/button";
|
|
13
|
+
import * as i9 from "@angular/material/icon";
|
|
14
|
+
import * as i10 from "@angular/material/table";
|
|
15
|
+
import * as i11 from "@angular/material/card";
|
|
16
|
+
import * as i12 from "@angular/material/tooltip";
|
|
17
|
+
import * as i13 from "@angular/material/progress-bar";
|
|
18
18
|
import * as i14 from "../../techlify-icon/techlify-icon.component";
|
|
19
19
|
import * as i15 from "../role-form-button.component";
|
|
20
20
|
export class RoleListComponent {
|
|
@@ -109,7 +109,7 @@ export class RoleListComponent {
|
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RoleListComponent, deps: [{ token: i1.HttpService }, { token: i2.ActivatedRoute }, { token: i1.CredentialsService }, { token: i3.UserConfigService }, { token: i4.MatDialog }, { token: i5.CurrentUserService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
112
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: RoleListComponent, selector: "role-list", inputs: { clientId: "clientId" }, ngImport: i0, template: "<div class=\"d-flex flex-column m-2\">\n <mat-card appearance=\"outlined\">\n <mat-card-content class=\"d-flex justify-content-start align-items-center gap-2\">\n <h3 class=\"m-0\">\n Manage Roles\n </h3>\n <app-role-form-button (success)=\"reload()\" class=\"mx-2\"\n *ngIf=\"(!config.roleConfig.disableAddRole) && currentUserService?.hasPermission('role_create')\"\n [clientId]=\"clientId\"></app-role-form-button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../users']\" *ngIf=\"!config.roleConfig.disableUsers\"\n class=\"ml-1\">\n <mat-icon>people</mat-icon>\n Users\n </button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../role-permissions']\"\n *ngIf=\"!config.roleConfig.disablePermissions\" class=\"ml-1\">\n <mat-icon>lock</mat-icon>\n Role Permissions\n </button>\n </mat-card-content>\n </mat-card>\n\n <mat-card appearance=\"outlined\" class=\"mt-2 p-0\">\n <mat-card-content>\n <table mat-table [dataSource]=\"roles\" class=\"w-100\" infiniteScroll [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\" aria-describedby=\"Roles\">\n\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 <!-- Label Column -->\n <ng-container matColumnDef=\"label\">\n <th mat-header-cell *matHeaderCellDef> Label </th>\n <td mat-cell *matCellDef=\"let element\">\n <p class=\"mb-0\">{{element?.label}}</p>\n <span class=\"badge\"\n [ngClass]=\"{'badge-primary':element?.client_id == null, 'badge-secondary': element?.client_id != null}\">\n {{(element?.client_id == null) ? 'App role' : 'Custom role'}}\n </span>\n </td>\n </ng-container>\n\n <!-- Description Column -->\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef> Description </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.description }} </td>\n </ng-container>\n\n <!-- Module Column -->\n <ng-container matColumnDef=\"module\">\n <th mat-header-cell *matHeaderCellDef> Module </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.module?.name}} </td>\n </ng-container>\n\n <!-- Editable Column -->\n <ng-container matColumnDef=\"editable\">\n <th mat-header-cell *matHeaderCellDef> Editable </th>\n <td mat-cell *matCellDef=\"let element\">\n <span *ngIf=\"element?.is_editable\" class=\"btn btn-success btn-xs\">Yes</span>\n <span *ngIf=\"!element?.is_editable\" class=\"btn btn-danger btn-xs\">No</span>\n </td>\n </ng-container>\n\n <!-- Users Column -->\n <ng-container matColumnDef=\"users\">\n <th mat-header-cell *matHeaderCellDef> # Users </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.role_users_count}} </td>\n </ng-container>\n\n <!-- Permissions Column -->\n <ng-container matColumnDef=\"permissions\">\n <th mat-header-cell *matHeaderCellDef> Permissions </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.permissions_count}} </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let role\" class=\"text-muted\">\n <div class=\"d-flex align-items-center gap-2 text-secondary\">\n <app-techlify-icon name=\"view\" matTooltip=\"view\" class=\"clickable\"\n [routerLink]=\"['../roles/', role?.id]\"></app-techlify-icon>\n <app-role-form-button class=\"ml-1\" (success)=\"reload()\" [role]=\"role\" [isUpdate]=\"true\"\n *ngIf=\"(isAdminUser || role.is_editable) && currentUserService.hasPermission('role_update')\"\n [clientId]=\"clientId\"></app-role-form-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\n</div>", dependencies: [{ kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type:
|
|
112
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: RoleListComponent, selector: "role-list", inputs: { clientId: "clientId" }, ngImport: i0, template: "<div class=\"d-flex flex-column m-2\">\n <mat-card appearance=\"outlined\">\n <mat-card-content class=\"d-flex justify-content-start align-items-center gap-2\">\n <h3 class=\"m-0\">\n Manage Roles\n </h3>\n <app-role-form-button (success)=\"reload()\" class=\"mx-2\"\n *ngIf=\"(!config.roleConfig.disableAddRole) && currentUserService?.hasPermission('role_create')\"\n [clientId]=\"clientId\"></app-role-form-button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../users']\" *ngIf=\"!config.roleConfig.disableUsers\"\n class=\"ml-1\">\n <mat-icon>people</mat-icon>\n Users\n </button>\n <button mat-raised-button type=\"button\" [routerLink]=\"['../role-permissions']\"\n *ngIf=\"!config.roleConfig.disablePermissions\" class=\"ml-1\">\n <mat-icon>lock</mat-icon>\n Role Permissions\n </button>\n </mat-card-content>\n </mat-card>\n\n <mat-card appearance=\"outlined\" class=\"mt-2 p-0\">\n <mat-card-content>\n <table mat-table [dataSource]=\"roles\" class=\"w-100\" infiniteScroll [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\" aria-describedby=\"Roles\">\n\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 <!-- Label Column -->\n <ng-container matColumnDef=\"label\">\n <th mat-header-cell *matHeaderCellDef> Label </th>\n <td mat-cell *matCellDef=\"let element\">\n <p class=\"mb-0\">{{element?.label}}</p>\n <span class=\"badge\"\n [ngClass]=\"{'badge-primary':element?.client_id == null, 'badge-secondary': element?.client_id != null}\">\n {{(element?.client_id == null) ? 'App role' : 'Custom role'}}\n </span>\n </td>\n </ng-container>\n\n <!-- Description Column -->\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef> Description </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.description }} </td>\n </ng-container>\n\n <!-- Module Column -->\n <ng-container matColumnDef=\"module\">\n <th mat-header-cell *matHeaderCellDef> Module </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.module?.name}} </td>\n </ng-container>\n\n <!-- Editable Column -->\n <ng-container matColumnDef=\"editable\">\n <th mat-header-cell *matHeaderCellDef> Editable </th>\n <td mat-cell *matCellDef=\"let element\">\n <span *ngIf=\"element?.is_editable\" class=\"btn btn-success btn-xs\">Yes</span>\n <span *ngIf=\"!element?.is_editable\" class=\"btn btn-danger btn-xs\">No</span>\n </td>\n </ng-container>\n\n <!-- Users Column -->\n <ng-container matColumnDef=\"users\">\n <th mat-header-cell *matHeaderCellDef> # Users </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.role_users_count}} </td>\n </ng-container>\n\n <!-- Permissions Column -->\n <ng-container matColumnDef=\"permissions\">\n <th mat-header-cell *matHeaderCellDef> Permissions </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.permissions_count}} </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let role\" class=\"text-muted\">\n <div class=\"d-flex align-items-center gap-2 text-secondary\">\n <app-techlify-icon name=\"view\" matTooltip=\"view\" class=\"clickable\"\n [routerLink]=\"['../roles/', role?.id]\"></app-techlify-icon>\n <app-role-form-button class=\"ml-1\" (success)=\"reload()\" [role]=\"role\" [isUpdate]=\"true\"\n *ngIf=\"(isAdminUser || role.is_editable) && currentUserService.hasPermission('role_update')\"\n [clientId]=\"clientId\"></app-role-form-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\n</div>", dependencies: [{ kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i10.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i10.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i10.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i10.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i10.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i10.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i10.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i10.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i10.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i10.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i11.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i11.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i12.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i13.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: i14.TechlifyIconComponent, selector: "app-techlify-icon", inputs: ["name", "size"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i15.RoleFormButtonComponent, selector: "app-role-form-button", inputs: ["config", "clientId", "isUpdate", "role"], outputs: ["success"] }] }); }
|
|
113
113
|
}
|
|
114
114
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RoleListComponent, decorators: [{
|
|
115
115
|
type: Component,
|
|
@@ -1,40 +1,21 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
1
|
import { NgModule } from '@angular/core';
|
|
3
|
-
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
4
|
-
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
|
5
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
2
|
import { RoleViewRoutingModule } from './role-view-routing.module';
|
|
7
|
-
import {
|
|
3
|
+
import { SharedModule } from '../../shared.module';
|
|
8
4
|
import { RoleViewComponent } from './role-view.component';
|
|
9
5
|
import * as i0 from "@angular/core";
|
|
10
6
|
export class RoleViewModule {
|
|
11
7
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RoleViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RoleViewModule, declarations: [RoleViewComponent], imports: [
|
|
13
|
-
RoleViewRoutingModule,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
FormsModule,
|
|
17
|
-
ReactiveFormsModule,
|
|
18
|
-
InfiniteScrollModule], exports: [RoleViewComponent] }); }
|
|
19
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RoleViewModule, imports: [CommonModule,
|
|
20
|
-
RoleViewRoutingModule,
|
|
21
|
-
MaterialModule,
|
|
22
|
-
FlexLayoutModule,
|
|
23
|
-
FormsModule,
|
|
24
|
-
ReactiveFormsModule,
|
|
25
|
-
InfiniteScrollModule] }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RoleViewModule, declarations: [RoleViewComponent], imports: [SharedModule,
|
|
9
|
+
RoleViewRoutingModule], exports: [RoleViewComponent] }); }
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RoleViewModule, imports: [SharedModule,
|
|
11
|
+
RoleViewRoutingModule] }); }
|
|
26
12
|
}
|
|
27
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RoleViewModule, decorators: [{
|
|
28
14
|
type: NgModule,
|
|
29
15
|
args: [{
|
|
30
16
|
imports: [
|
|
31
|
-
|
|
32
|
-
RoleViewRoutingModule
|
|
33
|
-
MaterialModule,
|
|
34
|
-
FlexLayoutModule,
|
|
35
|
-
FormsModule,
|
|
36
|
-
ReactiveFormsModule,
|
|
37
|
-
InfiniteScrollModule
|
|
17
|
+
SharedModule,
|
|
18
|
+
RoleViewRoutingModule
|
|
38
19
|
],
|
|
39
20
|
declarations: [
|
|
40
21
|
RoleViewComponent,
|
|
@@ -44,4 +25,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
44
25
|
]
|
|
45
26
|
}]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SB9IGZyb20gJy4vcm9sZS12aWV3LXJvdXRpbmcubW9kdWxlJztcbmltcG9ydCB7IFNoYXJlZE1vZHVsZSB9IGZyb20gJy4uLy4uL3NoYXJlZC5tb2R1bGUnO1xuaW1wb3J0IHsgUm9sZVZpZXdDb21wb25lbnQgfSBmcm9tICcuL3JvbGUtdmlldy5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtcbiAgICAgICAgU2hhcmVkTW9kdWxlLFxuICAgICAgICBSb2xlVmlld1JvdXRpbmdNb2R1bGVcbiAgICBdLFxuICAgIGRlY2xhcmF0aW9uczogW1xuICAgICAgICBSb2xlVmlld0NvbXBvbmVudCxcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgUm9sZVZpZXdDb21wb25lbnRcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIFJvbGVWaWV3TW9kdWxlIHsgfVxuIl19
|
|
@@ -1,49 +1,27 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
1
|
import { NgModule } from '@angular/core';
|
|
3
2
|
import { RoleListComponent } from './role-list/role-list.component';
|
|
4
3
|
import { RoleRoutingProvider } from './role.routes';
|
|
5
4
|
import { RoleFormComponent } from './role-form.component';
|
|
6
|
-
import { MaterialModule } from '../material.module';
|
|
7
|
-
import { InfiniteScrollDirective } from 'ngx-infinite-scroll';
|
|
8
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
9
|
-
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
10
5
|
import { RoleFormButtonComponent } from './role-form-button.component';
|
|
11
|
-
import {
|
|
6
|
+
import { SharedModule } from '../shared.module';
|
|
12
7
|
import * as i0 from "@angular/core";
|
|
13
8
|
export class RoleModule {
|
|
14
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RoleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
15
10
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RoleModule, declarations: [RoleFormComponent,
|
|
16
11
|
RoleListComponent,
|
|
17
|
-
RoleFormButtonComponent], imports: [
|
|
18
|
-
RoleRoutingProvider,
|
|
19
|
-
MaterialModule,
|
|
20
|
-
FormsModule,
|
|
21
|
-
ReactiveFormsModule,
|
|
22
|
-
InfiniteScrollDirective,
|
|
23
|
-
MatProgressBarModule,
|
|
24
|
-
TechlifyIconModule], exports: [RoleListComponent,
|
|
12
|
+
RoleFormButtonComponent], imports: [SharedModule,
|
|
13
|
+
RoleRoutingProvider], exports: [RoleListComponent,
|
|
25
14
|
RoleFormButtonComponent,
|
|
26
15
|
RoleFormComponent] }); }
|
|
27
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RoleModule, imports: [
|
|
28
|
-
RoleRoutingProvider
|
|
29
|
-
MaterialModule,
|
|
30
|
-
FormsModule,
|
|
31
|
-
ReactiveFormsModule,
|
|
32
|
-
MatProgressBarModule,
|
|
33
|
-
TechlifyIconModule] }); }
|
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RoleModule, imports: [SharedModule,
|
|
17
|
+
RoleRoutingProvider] }); }
|
|
34
18
|
}
|
|
35
19
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RoleModule, decorators: [{
|
|
36
20
|
type: NgModule,
|
|
37
21
|
args: [{
|
|
38
22
|
imports: [
|
|
39
|
-
|
|
40
|
-
RoleRoutingProvider
|
|
41
|
-
MaterialModule,
|
|
42
|
-
FormsModule,
|
|
43
|
-
ReactiveFormsModule,
|
|
44
|
-
InfiniteScrollDirective,
|
|
45
|
-
MatProgressBarModule,
|
|
46
|
-
TechlifyIconModule
|
|
23
|
+
SharedModule,
|
|
24
|
+
RoleRoutingProvider
|
|
47
25
|
],
|
|
48
26
|
declarations: [
|
|
49
27
|
RoleFormComponent,
|
|
@@ -57,4 +35,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
57
35
|
]
|
|
58
36
|
}]
|
|
59
37
|
}] });
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9sZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL3JvbGUvcm9sZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUNwRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDcEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDMUQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDdkUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDOztBQWtCaEQsTUFBTSxPQUFPLFVBQVU7K0dBQVYsVUFBVTtnSEFBVixVQUFVLGlCQVZmLGlCQUFpQjtZQUNqQixpQkFBaUI7WUFDakIsdUJBQXVCLGFBTnZCLFlBQVk7WUFDWixtQkFBbUIsYUFRbkIsaUJBQWlCO1lBQ2pCLHVCQUF1QjtZQUN2QixpQkFBaUI7Z0hBR1osVUFBVSxZQWRmLFlBQVk7WUFDWixtQkFBbUI7OzRGQWFkLF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TGlzdENvbXBvbmVudCxcbiAgICAgICAgUm9sZUZvcm1CdXR0b25Db21wb25lbnQsXG4gICAgICAgIFJvbGVGb3JtQ29tcG9uZW50XG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBSb2xlTW9kdWxlIHsgfVxuIl19
|
|
@@ -10,11 +10,11 @@ import * as i2 from "@angular/cdk/a11y";
|
|
|
10
10
|
import * as i3 from "../core/http.service";
|
|
11
11
|
import * as i4 from "@angular/material/dialog";
|
|
12
12
|
import * as i5 from "@angular/common";
|
|
13
|
-
import * as i6 from "@angular/
|
|
14
|
-
import * as i7 from "@angular/material/
|
|
15
|
-
import * as i8 from "@angular/material/
|
|
16
|
-
import * as i9 from "@angular/
|
|
17
|
-
import * as i10 from "@angular/material/
|
|
13
|
+
import * as i6 from "@angular/cdk/scrolling";
|
|
14
|
+
import * as i7 from "@angular/material/core";
|
|
15
|
+
import * as i8 from "@angular/material/form-field";
|
|
16
|
+
import * as i9 from "@angular/material/icon";
|
|
17
|
+
import * as i10 from "@angular/material/input";
|
|
18
18
|
import * as i11 from "@angular/material/select";
|
|
19
19
|
import * as i12 from "@angular/material/progress-bar";
|
|
20
20
|
export class SearchableSelectorComponent {
|
|
@@ -303,7 +303,7 @@ export class SearchableSelectorComponent {
|
|
|
303
303
|
provide: MatFormFieldControl,
|
|
304
304
|
useExisting: SearchableSelectorComponent
|
|
305
305
|
}
|
|
306
|
-
], viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }], ngImport: i0, template: "<ng-container [formGroup]=\"selectorForm\">\n <div class=\"searchable-selector-container\">\n <!-- Selector and Suffix Icons -->\n <mat-select formControlName=\"select_value\" [multiple]=\"multiple\" [required]=\"required\"\n (selectionChange)=\"this.isEmitInitialEvent = false;_handleInput()\" (openedChange)=\"openedChange($event)\"\n [panelWidth]=\"panelWidth\">\n <!-- Search Field -->\n <mat-form-field *ngIf=\"enableSearch\" class=\"p-1 w-100\">\n <input matInput formControlName=\"search\" placeholder=\"Search...\" (keydown)=\"$event.stopPropagation();\"\n autocomplete=\"off\" #searchInput>\n </mat-form-field>\n\n <!-- Options with Scrollable Container -->\n <div class=\"searchable-selector-scrollable-container\" cdkScrollable (scrollend)=\"onScroll()\">\n <mat-option *ngFor=\"let item of dataItems\" [value]=\"getPropertyValue(item, valueField)\">\n <span>{{ getPropertyValue(item, titleField) }}</span>\n <span *ngIf=\"subtitleField\" class=\"text-secondary\" style=\"font-size: 14px;\">\n - {{ getPropertyValue(item, subtitleField) }}\n </span>\n </mat-option>\n <mat-progress-bar *ngIf=\"isLoading\" color=\"primary\" mode=\"indeterminate\"></mat-progress-bar>\n </div>\n </mat-select>\n\n <!-- Add and Edit Buttons -->\n <mat-icon class=\"cursor-pointer\" *ngIf=\"add\" (click)=\"addItem($event)\">\n add\n </mat-icon>\n <mat-icon class=\"cursor-pointer\" *ngIf=\"edit && selectedValue\" (click)=\"editItem($event)\">\n edit\n </mat-icon>\n </div>\n</ng-container>", styles: [".searchable-selector-container{display:flex;align-items:center}.searchable-selector-container mat-select{flex-grow:1}.searchable-selector-container mat-icon{margin-left:2px}.relative-icon{position:relative;top:-4px}.searchable-selector-scrollable-container{max-height:175px;overflow-y:auto}:host ::ng-deep .mat-mdc-floating-label{pointer-events:none!important}\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: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "
|
|
306
|
+
], viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }], ngImport: i0, template: "<ng-container [formGroup]=\"selectorForm\">\n <div class=\"searchable-selector-container\">\n <!-- Selector and Suffix Icons -->\n <mat-select formControlName=\"select_value\" [multiple]=\"multiple\" [required]=\"required\"\n (selectionChange)=\"this.isEmitInitialEvent = false;_handleInput()\" (openedChange)=\"openedChange($event)\"\n [panelWidth]=\"panelWidth\">\n <!-- Search Field -->\n <mat-form-field *ngIf=\"enableSearch\" class=\"p-1 w-100\">\n <input matInput formControlName=\"search\" placeholder=\"Search...\" (keydown)=\"$event.stopPropagation();\"\n autocomplete=\"off\" #searchInput>\n </mat-form-field>\n\n <!-- Options with Scrollable Container -->\n <div class=\"searchable-selector-scrollable-container\" cdkScrollable (scrollend)=\"onScroll()\">\n <mat-option *ngFor=\"let item of dataItems\" [value]=\"getPropertyValue(item, valueField)\">\n <span>{{ getPropertyValue(item, titleField) }}</span>\n <span *ngIf=\"subtitleField\" class=\"text-secondary\" style=\"font-size: 14px;\">\n - {{ getPropertyValue(item, subtitleField) }}\n </span>\n </mat-option>\n <mat-progress-bar *ngIf=\"isLoading\" color=\"primary\" mode=\"indeterminate\"></mat-progress-bar>\n </div>\n </mat-select>\n\n <!-- Add and Edit Buttons -->\n <mat-icon class=\"cursor-pointer\" *ngIf=\"add\" (click)=\"addItem($event)\">\n add\n </mat-icon>\n <mat-icon class=\"cursor-pointer\" *ngIf=\"edit && selectedValue\" (click)=\"editItem($event)\">\n edit\n </mat-icon>\n </div>\n</ng-container>", styles: [".searchable-selector-container{display:flex;align-items:center}.searchable-selector-container mat-select{flex-grow:1}.searchable-selector-container mat-icon{margin-left:2px}.relative-icon{position:relative;top:-4px}.searchable-selector-scrollable-container{max-height:175px;overflow-y:auto}:host ::ng-deep .mat-mdc-floating-label{pointer-events:none!important}\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: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i6.CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }, { kind: "component", type: i7.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i8.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i9.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i10.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: "component", type: i11.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i12.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }] }); }
|
|
307
307
|
}
|
|
308
308
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SearchableSelectorComponent, decorators: [{
|
|
309
309
|
type: Component,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { SearchableSelectorComponent } from './searchable-selector.component';
|
|
4
|
-
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
5
4
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
6
5
|
import { MaterialModule } from '../material.module';
|
|
7
6
|
import { MatProgressBar } from '@angular/material/progress-bar';
|
|
@@ -10,12 +9,10 @@ export class SearchableSelectorModule {
|
|
|
10
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SearchableSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11
10
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: SearchableSelectorModule, declarations: [SearchableSelectorComponent], imports: [CommonModule,
|
|
12
11
|
ReactiveFormsModule,
|
|
13
|
-
FlexLayoutModule,
|
|
14
12
|
MaterialModule,
|
|
15
13
|
MatProgressBar], exports: [SearchableSelectorComponent] }); }
|
|
16
14
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SearchableSelectorModule, imports: [CommonModule,
|
|
17
15
|
ReactiveFormsModule,
|
|
18
|
-
FlexLayoutModule,
|
|
19
16
|
MaterialModule,
|
|
20
17
|
MatProgressBar] }); }
|
|
21
18
|
}
|
|
@@ -25,7 +22,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
25
22
|
imports: [
|
|
26
23
|
CommonModule,
|
|
27
24
|
ReactiveFormsModule,
|
|
28
|
-
FlexLayoutModule,
|
|
29
25
|
MaterialModule,
|
|
30
26
|
MatProgressBar,
|
|
31
27
|
],
|
|
@@ -37,4 +33,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
37
33
|
]
|
|
38
34
|
}]
|
|
39
35
|
}] });
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoYWJsZS1zZWxlY3Rvci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL3NlYXJjaGFibGUtc2VsZWN0b3Ivc2VhcmNoYWJsZS1zZWxlY3Rvci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEs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mVudCc7XG5pbXBvcnQgeyBSZWFjdGl2ZUZvcm1zTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xuaW1wb3J0IHsgTWF0ZXJpYWxNb2R1bGUgfSBmcm9tICcuLi9tYXRlcmlhbC5tb2R1bGUnO1xuaW1wb3J0IHsgTWF0UHJvZ3Jlc3NCYXIgfSBmcm9tICdAYW5ndWxhci9tYXRlcmlhbC9wcm9ncmVzcy1iYXInO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXG4gICAgTWF0ZXJpYWxNb2R1bGUsXG4gICAgTWF0UHJvZ3Jlc3NCYXIsXG4gIF0sXG4gIGRlY2xhcmF0aW9uczogW1xuICAgIFNlYXJjaGFibGVTZWxlY3RvckNvbXBvbmVudCxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIFNlYXJjaGFibGVTZWxlY3RvckNvbXBvbmVudCxcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBTZWFyY2hhYmxlU2VsZWN0b3JNb2R1bGUgeyB9XG4iXX0=
|
|
@@ -2,9 +2,15 @@ import { CommonModule } from "@angular/common";
|
|
|
2
2
|
import { NgModule } from "@angular/core";
|
|
3
3
|
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
|
4
4
|
import { InfiniteScrollDirective } from "ngx-infinite-scroll";
|
|
5
|
+
import { NgxPermissionsModule } from "ngx-permissions";
|
|
5
6
|
import { MaterialModule } from "./material.module";
|
|
7
|
+
import { ActionPopupModule } from './action-popup/action-popup.module';
|
|
6
8
|
import { TechlifyDeleteButtonComponent } from './delete-button/techlify-delete-button.component';
|
|
9
|
+
import { DocumentViewerModule } from './document-viewer/document-viewer.module';
|
|
10
|
+
import { ExportExcelModule } from './export-excel/export-excel.module';
|
|
11
|
+
import { FileDropperModule } from './file-dropper/file-dropper.module';
|
|
7
12
|
import { TechlifyFormButtonComponent } from './form-button/techlify-form-button.component';
|
|
13
|
+
import { ReadMoreModule } from './read-more/read-more.module';
|
|
8
14
|
import { TechlifyIconModule } from './techlify-icon/techlify-icon.module';
|
|
9
15
|
import { TimelineFilterModule } from './timeline-filter/timeline-filter.module';
|
|
10
16
|
import { SearchableSelectorModule } from './searchable-selector/searchable-selector.module';
|
|
@@ -14,23 +20,35 @@ export class SharedModule {
|
|
|
14
20
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
15
21
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: SharedModule, imports: [InfiniteScrollDirective,
|
|
16
22
|
TechlifyDeleteButtonComponent,
|
|
17
|
-
TechlifyFormButtonComponent], exports: [
|
|
23
|
+
TechlifyFormButtonComponent], exports: [ActionPopupModule,
|
|
24
|
+
CommonModule,
|
|
25
|
+
DocumentViewerModule,
|
|
26
|
+
ExportExcelModule,
|
|
27
|
+
FileDropperModule,
|
|
18
28
|
FormConfigurationForFormModule,
|
|
19
29
|
FormsModule,
|
|
20
30
|
InfiniteScrollDirective,
|
|
21
31
|
MaterialModule,
|
|
32
|
+
NgxPermissionsModule,
|
|
22
33
|
ReactiveFormsModule,
|
|
34
|
+
ReadMoreModule,
|
|
23
35
|
SearchableSelectorModule,
|
|
24
36
|
TechlifyDeleteButtonComponent,
|
|
25
37
|
TimelineFilterModule,
|
|
26
38
|
TechlifyFormButtonComponent,
|
|
27
39
|
TechlifyIconModule] }); }
|
|
28
40
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SharedModule, imports: [TechlifyDeleteButtonComponent,
|
|
29
|
-
TechlifyFormButtonComponent,
|
|
41
|
+
TechlifyFormButtonComponent, ActionPopupModule,
|
|
42
|
+
CommonModule,
|
|
43
|
+
DocumentViewerModule,
|
|
44
|
+
ExportExcelModule,
|
|
45
|
+
FileDropperModule,
|
|
30
46
|
FormConfigurationForFormModule,
|
|
31
47
|
FormsModule,
|
|
32
48
|
MaterialModule,
|
|
49
|
+
NgxPermissionsModule,
|
|
33
50
|
ReactiveFormsModule,
|
|
51
|
+
ReadMoreModule,
|
|
34
52
|
SearchableSelectorModule,
|
|
35
53
|
TimelineFilterModule,
|
|
36
54
|
TechlifyIconModule] }); }
|
|
@@ -44,12 +62,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
44
62
|
TechlifyFormButtonComponent,
|
|
45
63
|
],
|
|
46
64
|
exports: [
|
|
65
|
+
ActionPopupModule,
|
|
47
66
|
CommonModule,
|
|
67
|
+
DocumentViewerModule,
|
|
68
|
+
ExportExcelModule,
|
|
69
|
+
FileDropperModule,
|
|
48
70
|
FormConfigurationForFormModule,
|
|
49
71
|
FormsModule,
|
|
50
72
|
InfiniteScrollDirective,
|
|
51
73
|
MaterialModule,
|
|
74
|
+
NgxPermissionsModule,
|
|
52
75
|
ReactiveFormsModule,
|
|
76
|
+
ReadMoreModule,
|
|
53
77
|
SearchableSelectorModule,
|
|
54
78
|
TechlifyDeleteButtonComponent,
|
|
55
79
|
TimelineFilterModule,
|
|
@@ -58,4 +82,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
58
82
|
]
|
|
59
83
|
}]
|
|
60
84
|
}] });
|
|
61
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhcmVkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvc2hhcmVkLm1vZHVsZS50cyJdL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