vc-create-dashboard 3.0.84 → 3.0.85
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/configurations.mjs +7 -0
- package/esm2022/lib/create-dashboard-container/categories/categories-config.mjs +2 -0
- package/esm2022/lib/create-dashboard-container/categories/categories.component.mjs +212 -0
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.mjs +350 -0
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.mjs +2 -0
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets.module.mjs +47 -0
- package/esm2022/lib/create-dashboard-container/constants/assets.constant.mjs +37 -0
- package/esm2022/lib/create-dashboard-container/create-dashboard-config.mjs +2 -0
- package/esm2022/lib/create-dashboard-container/create-dashboard.component.mjs +1601 -0
- package/esm2022/lib/create-dashboard-container/create-dashboard.module.mjs +127 -0
- package/esm2022/lib/create-dashboard-container/directives/directives.module.mjs +24 -0
- package/esm2022/lib/create-dashboard-container/directives/scroll-in-view.directive.mjs +36 -0
- package/esm2022/lib/create-dashboard-container/form-group/form-group.component.mjs +153 -0
- package/esm2022/lib/create-dashboard-container/frequency/frequency.component.mjs +309 -0
- package/esm2022/lib/create-dashboard-container/interfaces/widget-data-model.mjs +2 -0
- package/esm2022/lib/create-dashboard-container/pipes/filter.pipe.mjs +30 -0
- package/esm2022/lib/create-dashboard-container/pipes/search-program.pipe.mjs +37 -0
- package/esm2022/lib/create-dashboard-container/pipes/search.pipe.mjs +25 -0
- package/esm2022/lib/create-dashboard-container/pipes/text-count.pipe.mjs +18 -0
- package/esm2022/lib/create-dashboard-container/program-list/constant.mjs +31 -0
- package/esm2022/lib/create-dashboard-container/program-list/information-block/information-block.component.mjs +13 -0
- package/esm2022/lib/create-dashboard-container/program-list/interfaces/list-item.interface.mjs +2 -0
- package/esm2022/lib/create-dashboard-container/program-list/list-container/list-container.component.mjs +50 -0
- package/esm2022/lib/create-dashboard-container/program-list/pipes/check-selected-items.pipes.mjs +23 -0
- package/esm2022/lib/create-dashboard-container/program-list/program-list/program-list.component.mjs +294 -0
- package/esm2022/lib/create-dashboard-container/program-list/program-list.module.mjs +60 -0
- package/esm2022/lib/create-dashboard-container/program-list/services/list-utils.service.mjs +27 -0
- package/esm2022/lib/create-dashboard-container/program-list/services/program-list-api.service.mjs +28 -0
- package/esm2022/lib/create-dashboard-container/responsibility-center/responsibility-center.component.mjs +224 -0
- package/esm2022/lib/create-dashboard-container/risk-categories/risk-categories-config.mjs +2 -0
- package/esm2022/lib/create-dashboard-container/risk-categories/risk-categories.component.mjs +206 -0
- package/esm2022/lib/create-dashboard-container/services/configure-widgets.service.mjs +233 -0
- package/esm2022/lib/create-dashboard-container/services/create-dashboard.service.mjs +227 -0
- package/esm2022/lib/create-dashboard-container/services/pagination.service.mjs +28 -0
- package/esm2022/lib/create-dashboard-container/user-list/user-list.component.mjs +440 -0
- package/esm2022/lib/create-dashboard-container/user-list/user-list.config.mjs +2 -0
- package/esm2022/lib/create-dashboard-container/utils/dashboard-edit.utils.mjs +181 -0
- package/esm2022/lib/create-dashboard.service.mjs +14 -0
- package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.mjs +52 -0
- package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer-config.mjs +2 -0
- package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer.module.mjs +32 -0
- package/esm2022/lib/ui-kit/dialog/dialog-config.mjs +7 -0
- package/esm2022/lib/ui-kit/dialog/dialog-injector.mjs +17 -0
- package/esm2022/lib/ui-kit/dialog/dialog-ref.mjs +11 -0
- package/esm2022/lib/ui-kit/dialog/dialog.component.mjs +96 -0
- package/esm2022/lib/ui-kit/dialog/dialog.module.mjs +20 -0
- package/esm2022/lib/ui-kit/dialog/dialog.service.mjs +56 -0
- package/esm2022/lib/ui-kit/dialog/insertion.directive.mjs +17 -0
- package/esm2022/lib/ui-kit/floating-bar/floating-bar.component.mjs +57 -0
- package/esm2022/lib/ui-kit/floating-bar/floating-bar.module.mjs +32 -0
- package/esm2022/lib/ui-kit/formgroup/click-outside.directive.mjs +30 -0
- package/esm2022/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.mjs +29 -0
- package/esm2022/lib/ui-kit/formgroup/cs-radio/cs-radio.component.mjs +34 -0
- package/esm2022/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.mjs +14 -0
- package/esm2022/lib/ui-kit/formgroup/cs-select/cs-select.component.mjs +119 -0
- package/esm2022/lib/ui-kit/formgroup/cs-switch/cs-switch.component.mjs +39 -0
- package/esm2022/lib/ui-kit/formgroup/formgroup.module.mjs +55 -0
- package/esm2022/lib/ui-kit/formgroup/pipes/pascal.pipe.mjs +19 -0
- package/esm2022/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.mjs +24 -0
- package/esm2022/lib/ui-kit/loaders/loaders.module.mjs +24 -0
- package/esm2022/lib/ui-kit/loaders/table-loader/table-loader.component.mjs +18 -0
- package/esm2022/lib/ui-kit/no-data/no-data.component.mjs +47 -0
- package/esm2022/lib/ui-kit/no-data/no-data.module.mjs +18 -0
- package/esm2022/lib/ui-kit/pagination/pagination.component.mjs +130 -0
- package/esm2022/lib/ui-kit/pagination/pagination.module.mjs +18 -0
- package/esm2022/lib/ui-kit/popover/popover.component.mjs +129 -0
- package/esm2022/lib/ui-kit/popover/popover.directive.mjs +93 -0
- package/esm2022/lib/ui-kit/popover/popover.module.mjs +21 -0
- package/esm2022/lib/ui-kit/popover/popover.service.mjs +23 -0
- package/esm2022/lib/ui-kit/select/cs-option/cs-option.component.mjs +41 -0
- package/esm2022/lib/ui-kit/select/cs-select/cs-select.component.mjs +107 -0
- package/esm2022/lib/ui-kit/select/safe-html.pipe.mjs +21 -0
- package/esm2022/lib/ui-kit/select/select.module.mjs +21 -0
- package/esm2022/lib/ui-kit/services/cs-select.service.mjs +16 -0
- package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.component.mjs +52 -0
- package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.module.mjs +18 -0
- package/esm2022/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.mjs +46 -0
- package/esm2022/lib/ui-kit/snack-bar/snack-bar.module.mjs +18 -0
- package/esm2022/lib/ui-kit/snack-bar/snack-bar.service.mjs +23 -0
- package/esm2022/lib/ui-kit/tooltip/tooltip.directive.mjs +168 -0
- package/esm2022/lib/ui-kit/tooltip/tooltip.module.mjs +18 -0
- package/esm2022/lib/ui-kit/v-loader/loader/loader.component.mjs +24 -0
- package/esm2022/lib/ui-kit/v-loader/loader-inline/loader-inline.component.mjs +24 -0
- package/esm2022/lib/ui-kit/v-loader/v-loader.module.mjs +19 -0
- package/esm2022/public-api.mjs +10 -0
- package/esm2022/vc-create-dashboard.mjs +5 -0
- package/fesm2022/vc-create-dashboard.mjs +6616 -0
- package/fesm2022/vc-create-dashboard.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/configurations.d.ts +4 -0
- package/lib/create-dashboard-container/categories/categories-config.d.ts +18 -0
- package/lib/create-dashboard-container/categories/categories.component.d.ts +66 -0
- package/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.d.ts +113 -0
- package/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.d.ts +9 -0
- package/lib/create-dashboard-container/configure-widgets/configure-widgets.module.d.ts +14 -0
- package/lib/create-dashboard-container/constants/assets.constant.d.ts +35 -0
- package/lib/create-dashboard-container/create-dashboard-config.d.ts +18 -0
- package/lib/create-dashboard-container/create-dashboard.component.d.ts +219 -0
- package/lib/create-dashboard-container/create-dashboard.module.d.ts +37 -0
- package/lib/create-dashboard-container/directives/directives.module.d.ts +8 -0
- package/lib/create-dashboard-container/directives/scroll-in-view.directive.d.ts +12 -0
- package/lib/create-dashboard-container/form-group/form-group.component.d.ts +48 -0
- package/lib/create-dashboard-container/frequency/frequency.component.d.ts +39 -0
- package/{src/lib/create-dashboard-container/interfaces/widget-data-model.ts → lib/create-dashboard-container/interfaces/widget-data-model.d.ts} +1 -1
- package/lib/create-dashboard-container/pipes/filter.pipe.d.ts +7 -0
- package/lib/create-dashboard-container/pipes/search-program.pipe.d.ts +7 -0
- package/lib/create-dashboard-container/pipes/search.pipe.d.ts +7 -0
- package/lib/create-dashboard-container/pipes/text-count.pipe.d.ts +7 -0
- package/lib/create-dashboard-container/program-list/constant.d.ts +24 -0
- package/lib/create-dashboard-container/program-list/information-block/information-block.component.d.ts +6 -0
- package/lib/create-dashboard-container/program-list/interfaces/list-item.interface.d.ts +5 -0
- package/lib/create-dashboard-container/program-list/list-container/list-container.component.d.ts +9 -0
- package/lib/create-dashboard-container/program-list/pipes/check-selected-items.pipes.d.ts +7 -0
- package/lib/create-dashboard-container/program-list/program-list/program-list.component.d.ts +119 -0
- package/lib/create-dashboard-container/program-list/program-list.module.d.ts +17 -0
- package/lib/create-dashboard-container/program-list/services/list-utils.service.d.ts +7 -0
- package/lib/create-dashboard-container/program-list/services/program-list-api.service.d.ts +12 -0
- package/lib/create-dashboard-container/responsibility-center/responsibility-center.component.d.ts +70 -0
- package/lib/create-dashboard-container/risk-categories/risk-categories-config.d.ts +18 -0
- package/lib/create-dashboard-container/risk-categories/risk-categories.component.d.ts +66 -0
- package/lib/create-dashboard-container/services/configure-widgets.service.d.ts +21 -0
- package/lib/create-dashboard-container/services/create-dashboard.service.d.ts +80 -0
- package/lib/create-dashboard-container/services/pagination.service.d.ts +12 -0
- package/lib/create-dashboard-container/user-list/user-list.component.d.ts +123 -0
- package/{src/lib/create-dashboard-container/user-list/user-list.config.ts → lib/create-dashboard-container/user-list/user-list.config.d.ts} +6 -6
- package/lib/create-dashboard-container/utils/dashboard-edit.utils.d.ts +16 -0
- package/lib/create-dashboard.service.d.ts +6 -0
- package/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.d.ts +17 -0
- package/lib/ui-kit/dashboard-footer/dashboard-footer-config.d.ts +11 -0
- package/lib/ui-kit/dashboard-footer/dashboard-footer.module.d.ts +10 -0
- package/lib/ui-kit/dialog/dialog-config.d.ts +6 -0
- package/lib/ui-kit/dialog/dialog-injector.d.ts +7 -0
- package/lib/ui-kit/dialog/dialog-ref.d.ts +7 -0
- package/lib/ui-kit/dialog/dialog.component.d.ts +33 -0
- package/lib/ui-kit/dialog/dialog.module.d.ts +9 -0
- package/lib/ui-kit/dialog/dialog.service.d.ts +17 -0
- package/lib/ui-kit/dialog/insertion.directive.d.ts +8 -0
- package/lib/ui-kit/floating-bar/floating-bar.component.d.ts +20 -0
- package/lib/ui-kit/floating-bar/floating-bar.module.d.ts +10 -0
- package/lib/ui-kit/formgroup/click-outside.directive.d.ts +10 -0
- package/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.d.ts +13 -0
- package/lib/ui-kit/formgroup/cs-radio/cs-radio.component.d.ts +15 -0
- package/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.d.ts +8 -0
- package/lib/ui-kit/formgroup/cs-select/cs-select.component.d.ts +36 -0
- package/lib/ui-kit/formgroup/cs-switch/cs-switch.component.d.ts +15 -0
- package/lib/ui-kit/formgroup/formgroup.module.d.ts +17 -0
- package/lib/ui-kit/formgroup/pipes/pascal.pipe.d.ts +7 -0
- package/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.d.ts +7 -0
- package/lib/ui-kit/loaders/loaders.module.d.ts +8 -0
- package/lib/ui-kit/loaders/table-loader/table-loader.component.d.ts +9 -0
- package/lib/ui-kit/no-data/no-data.component.d.ts +19 -0
- package/lib/ui-kit/no-data/no-data.module.d.ts +8 -0
- package/lib/ui-kit/pagination/pagination.component.d.ts +21 -0
- package/lib/ui-kit/pagination/pagination.module.d.ts +8 -0
- package/lib/ui-kit/popover/popover.component.d.ts +28 -0
- package/lib/ui-kit/popover/popover.directive.d.ts +17 -0
- package/lib/ui-kit/popover/popover.module.d.ts +9 -0
- package/lib/ui-kit/popover/popover.service.d.ts +13 -0
- package/lib/ui-kit/select/cs-option/cs-option.component.d.ts +16 -0
- package/lib/ui-kit/select/cs-select/cs-select.component.d.ts +32 -0
- package/lib/ui-kit/select/safe-html.pipe.d.ts +10 -0
- package/lib/ui-kit/select/select.module.d.ts +11 -0
- package/lib/ui-kit/services/cs-select.service.d.ts +7 -0
- package/lib/ui-kit/smiley-dialog/smiley-dialog.component.d.ts +17 -0
- package/lib/ui-kit/smiley-dialog/smiley-dialog.module.d.ts +8 -0
- package/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.d.ts +17 -0
- package/lib/ui-kit/snack-bar/snack-bar.module.d.ts +8 -0
- package/lib/ui-kit/snack-bar/snack-bar.service.d.ts +9 -0
- package/lib/ui-kit/tooltip/tooltip.directive.d.ts +28 -0
- package/lib/ui-kit/tooltip/tooltip.module.d.ts +8 -0
- package/lib/ui-kit/v-loader/loader/loader.component.d.ts +11 -0
- package/lib/ui-kit/v-loader/loader-inline/loader-inline.component.d.ts +11 -0
- package/lib/ui-kit/v-loader/v-loader.module.d.ts +9 -0
- package/package.json +25 -11
- package/public-api.d.ts +3 -0
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -7
- package/src/lib/categoryList.ts +0 -23
- package/src/lib/configurations.ts +0 -8
- package/src/lib/create-dashboard-container/categories/categories-config.ts +0 -18
- package/src/lib/create-dashboard-container/categories/categories.component.html +0 -150
- package/src/lib/create-dashboard-container/categories/categories.component.less +0 -252
- package/src/lib/create-dashboard-container/categories/categories.component.spec.ts +0 -43
- package/src/lib/create-dashboard-container/categories/categories.component.ts +0 -220
- package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.html +0 -141
- package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.less +0 -381
- package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.spec.ts +0 -48
- package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.ts +0 -392
- package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.ts +0 -9
- package/src/lib/create-dashboard-container/configure-widgets/configure-widgets.module.ts +0 -30
- package/src/lib/create-dashboard-container/constants/assets.constant.ts +0 -37
- package/src/lib/create-dashboard-container/create-dashboard-config.ts +0 -24
- package/src/lib/create-dashboard-container/create-dashboard-mockData.ts +0 -341
- package/src/lib/create-dashboard-container/create-dashboard.component.html +0 -660
- package/src/lib/create-dashboard-container/create-dashboard.component.less +0 -1579
- package/src/lib/create-dashboard-container/create-dashboard.component.ts +0 -1886
- package/src/lib/create-dashboard-container/create-dashboard.module.ts +0 -76
- package/src/lib/create-dashboard-container/directives/directives.module.ts +0 -18
- package/src/lib/create-dashboard-container/directives/scroll-in-view.directive.ts +0 -28
- package/src/lib/create-dashboard-container/form-group/form-group.component.html +0 -288
- package/src/lib/create-dashboard-container/form-group/form-group.component.less +0 -450
- package/src/lib/create-dashboard-container/form-group/form-group.component.spec.ts +0 -90
- package/src/lib/create-dashboard-container/form-group/form-group.component.ts +0 -163
- package/src/lib/create-dashboard-container/frequency/frequency.component.html +0 -61
- package/src/lib/create-dashboard-container/frequency/frequency.component.less +0 -183
- package/src/lib/create-dashboard-container/frequency/frequency.component.spec.ts +0 -120
- package/src/lib/create-dashboard-container/frequency/frequency.component.ts +0 -303
- package/src/lib/create-dashboard-container/pipes/filter.pipe.ts +0 -25
- package/src/lib/create-dashboard-container/pipes/search-program.pipe.ts +0 -31
- package/src/lib/create-dashboard-container/pipes/search.pipe.ts +0 -23
- package/src/lib/create-dashboard-container/pipes/text-count.pipe.spec.ts +0 -8
- package/src/lib/create-dashboard-container/pipes/text-count.pipe.ts +0 -14
- package/src/lib/create-dashboard-container/program-list/constant.ts +0 -36
- package/src/lib/create-dashboard-container/program-list/information-block/information-block.component.html +0 -9
- package/src/lib/create-dashboard-container/program-list/information-block/information-block.component.less +0 -63
- package/src/lib/create-dashboard-container/program-list/information-block/information-block.component.ts +0 -15
- package/src/lib/create-dashboard-container/program-list/interfaces/data-source.interface.ts +0 -6
- package/src/lib/create-dashboard-container/program-list/interfaces/list-item.interface.ts +0 -8
- package/src/lib/create-dashboard-container/program-list/interfaces/selection-predicate.interface.ts +0 -4
- package/src/lib/create-dashboard-container/program-list/list-container/list-container.component.less +0 -57
- package/src/lib/create-dashboard-container/program-list/list-container/list-container.component.ts +0 -30
- package/src/lib/create-dashboard-container/program-list/pipes/check-selected-items.pipes.ts +0 -19
- package/src/lib/create-dashboard-container/program-list/program-list/program-list.component.html +0 -158
- package/src/lib/create-dashboard-container/program-list/program-list/program-list.component.less +0 -679
- package/src/lib/create-dashboard-container/program-list/program-list/program-list.component.ts +0 -342
- package/src/lib/create-dashboard-container/program-list/program-list.module.ts +0 -36
- package/src/lib/create-dashboard-container/program-list/services/list-utils.service.ts +0 -22
- package/src/lib/create-dashboard-container/program-list/services/program-list-api.service.ts +0 -24
- package/src/lib/create-dashboard-container/responsibility-center/responsibility-center.component.html +0 -70
- package/src/lib/create-dashboard-container/responsibility-center/responsibility-center.component.less +0 -181
- package/src/lib/create-dashboard-container/responsibility-center/responsibility-center.component.spec.ts +0 -41
- package/src/lib/create-dashboard-container/responsibility-center/responsibility-center.component.ts +0 -154
- package/src/lib/create-dashboard-container/risk-categories/risk-categories-config.ts +0 -18
- package/src/lib/create-dashboard-container/risk-categories/risk-categories.component.html +0 -152
- package/src/lib/create-dashboard-container/risk-categories/risk-categories.component.less +0 -230
- package/src/lib/create-dashboard-container/risk-categories/risk-categories.component.spec.ts +0 -39
- package/src/lib/create-dashboard-container/risk-categories/risk-categories.component.ts +0 -209
- package/src/lib/create-dashboard-container/services/auth.service.ts +0 -27
- package/src/lib/create-dashboard-container/services/configure-widgets.service.spec.ts +0 -19
- package/src/lib/create-dashboard-container/services/configure-widgets.service.ts +0 -235
- package/src/lib/create-dashboard-container/services/create-dashboard.service.spec.ts +0 -19
- package/src/lib/create-dashboard-container/services/create-dashboard.service.ts +0 -287
- package/src/lib/create-dashboard-container/services/pagination.service.spec.ts +0 -16
- package/src/lib/create-dashboard-container/services/pagination.service.ts +0 -25
- package/src/lib/create-dashboard-container/services/urlConfig.service.ts +0 -21
- package/src/lib/create-dashboard-container/user-list/user-list.component.html +0 -358
- package/src/lib/create-dashboard-container/user-list/user-list.component.less +0 -451
- package/src/lib/create-dashboard-container/user-list/user-list.component.spec.ts +0 -153
- package/src/lib/create-dashboard-container/user-list/user-list.component.ts +0 -472
- package/src/lib/create-dashboard-container/utils/dashboard-edit.utils.ts +0 -235
- package/src/lib/create-dashboard.service.ts +0 -8
- package/src/lib/ui-kit/action-dialog/access-capability/access-capability.component.html +0 -22
- package/src/lib/ui-kit/action-dialog/access-capability/access-capability.component.less +0 -218
- package/src/lib/ui-kit/action-dialog/access-capability/access-capability.component.ts +0 -30
- package/src/lib/ui-kit/action-dialog/action-dialog.module.ts +0 -53
- package/src/lib/ui-kit/action-dialog/active/active.component.html +0 -25
- package/src/lib/ui-kit/action-dialog/active/active.component.less +0 -168
- package/src/lib/ui-kit/action-dialog/active/active.component.ts +0 -31
- package/src/lib/ui-kit/action-dialog/assesment-confirmation/assesment-confirmation.component.html +0 -18
- package/src/lib/ui-kit/action-dialog/assesment-confirmation/assesment-confirmation.component.less +0 -98
- package/src/lib/ui-kit/action-dialog/assesment-confirmation/assesment-confirmation.component.ts +0 -18
- package/src/lib/ui-kit/action-dialog/confirmation/confirmation.component.html +0 -20
- package/src/lib/ui-kit/action-dialog/confirmation/confirmation.component.less +0 -325
- package/src/lib/ui-kit/action-dialog/confirmation/confirmation.component.ts +0 -26
- package/src/lib/ui-kit/action-dialog/delete/delete.component.html +0 -24
- package/src/lib/ui-kit/action-dialog/delete/delete.component.less +0 -240
- package/src/lib/ui-kit/action-dialog/delete/delete.component.ts +0 -22
- package/src/lib/ui-kit/action-dialog/error/error.component.html +0 -20
- package/src/lib/ui-kit/action-dialog/error/error.component.less +0 -103
- package/src/lib/ui-kit/action-dialog/error/error.component.ts +0 -18
- package/src/lib/ui-kit/action-dialog/inactive/inactive.component.html +0 -25
- package/src/lib/ui-kit/action-dialog/inactive/inactive.component.less +0 -167
- package/src/lib/ui-kit/action-dialog/inactive/inactive.component.ts +0 -29
- package/src/lib/ui-kit/action-dialog/link/link.component.html +0 -57
- package/src/lib/ui-kit/action-dialog/link/link.component.less +0 -222
- package/src/lib/ui-kit/action-dialog/link/link.component.ts +0 -18
- package/src/lib/ui-kit/action-dialog/move/move.component.html +0 -43
- package/src/lib/ui-kit/action-dialog/move/move.component.less +0 -157
- package/src/lib/ui-kit/action-dialog/move/move.component.ts +0 -25
- package/src/lib/ui-kit/action-dialog/my-rating/my-rating.component.html +0 -19
- package/src/lib/ui-kit/action-dialog/my-rating/my-rating.component.less +0 -97
- package/src/lib/ui-kit/action-dialog/my-rating/my-rating.component.ts +0 -18
- package/src/lib/ui-kit/action-dialog/upload/upload.component.html +0 -19
- package/src/lib/ui-kit/action-dialog/upload/upload.component.less +0 -97
- package/src/lib/ui-kit/action-dialog/upload/upload.component.ts +0 -12
- package/src/lib/ui-kit/chart/bar/bar.component.html +0 -28
- package/src/lib/ui-kit/chart/bar/bar.component.less +0 -13
- package/src/lib/ui-kit/chart/bar/bar.component.ts +0 -44
- package/src/lib/ui-kit/chart/chart.module.ts +0 -12
- package/src/lib/ui-kit/chart/pipes/segmenter.pipe.ts +0 -28
- package/src/lib/ui-kit/chart/pipes/x-calculator.pipe.ts +0 -22
- package/src/lib/ui-kit/circle-progresss/circle/circle.component.html +0 -37
- package/src/lib/ui-kit/circle-progresss/circle/circle.component.less +0 -1448
- package/src/lib/ui-kit/circle-progresss/circle/circle.component.ts +0 -19
- package/src/lib/ui-kit/circle-progresss/circle-progresss.module.ts +0 -10
- package/src/lib/ui-kit/click-outside/click-outside.directive.ts +0 -16
- package/src/lib/ui-kit/click-outside/click-outside.module.ts +0 -16
- package/src/lib/ui-kit/color-palette/color-palette.component.html +0 -110
- package/src/lib/ui-kit/color-palette/color-palette.component.less +0 -54
- package/src/lib/ui-kit/color-palette/color-palette.component.ts +0 -28
- package/src/lib/ui-kit/color-palette/color-palette.module.ts +0 -10
- package/src/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.html +0 -37
- package/src/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.less +0 -335
- package/src/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.spec.ts +0 -25
- package/src/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.ts +0 -44
- package/src/lib/ui-kit/dashboard-footer/dashboard-footer-config.ts +0 -11
- package/src/lib/ui-kit/dashboard-footer/dashboard-footer.module.ts +0 -22
- package/src/lib/ui-kit/dialog/dialog-config.ts +0 -6
- package/src/lib/ui-kit/dialog/dialog-injector.ts +0 -18
- package/src/lib/ui-kit/dialog/dialog-ref.ts +0 -12
- package/src/lib/ui-kit/dialog/dialog.component.css +0 -89
- package/src/lib/ui-kit/dialog/dialog.component.html +0 -27
- package/src/lib/ui-kit/dialog/dialog.component.ts +0 -112
- package/src/lib/ui-kit/dialog/dialog.module.ts +0 -11
- package/src/lib/ui-kit/dialog/dialog.service.ts +0 -57
- package/src/lib/ui-kit/dialog/insertion.directive.ts +0 -8
- package/src/lib/ui-kit/floating-bar/floating-bar.component.html +0 -42
- package/src/lib/ui-kit/floating-bar/floating-bar.component.less +0 -355
- package/src/lib/ui-kit/floating-bar/floating-bar.component.spec.ts +0 -25
- package/src/lib/ui-kit/floating-bar/floating-bar.component.ts +0 -40
- package/src/lib/ui-kit/floating-bar/floating-bar.module.ts +0 -22
- package/src/lib/ui-kit/formgroup/click-outside.directive.ts +0 -16
- package/src/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.html +0 -11
- package/src/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.less +0 -102
- package/src/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.ts +0 -19
- package/src/lib/ui-kit/formgroup/cs-radio/cs-radio.component.html +0 -11
- package/src/lib/ui-kit/formgroup/cs-radio/cs-radio.component.less +0 -125
- package/src/lib/ui-kit/formgroup/cs-radio/cs-radio.component.ts +0 -21
- package/src/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.html +0 -4
- package/src/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.less +0 -0
- package/src/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.ts +0 -12
- package/src/lib/ui-kit/formgroup/cs-select/cs-select.component.html +0 -78
- package/src/lib/ui-kit/formgroup/cs-select/cs-select.component.less +0 -259
- package/src/lib/ui-kit/formgroup/cs-select/cs-select.component.ts +0 -92
- package/src/lib/ui-kit/formgroup/cs-switch/cs-switch.component.html +0 -30
- package/src/lib/ui-kit/formgroup/cs-switch/cs-switch.component.less +0 -103
- package/src/lib/ui-kit/formgroup/cs-switch/cs-switch.component.ts +0 -23
- package/src/lib/ui-kit/formgroup/formgroup.module.ts +0 -35
- package/src/lib/ui-kit/formgroup/pipes/pascal.pipe.ts +0 -13
- package/src/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.ts +0 -18
- package/src/lib/ui-kit/line-loader/line-loader.component.html +0 -3
- package/src/lib/ui-kit/line-loader/line-loader.component.less +0 -34
- package/src/lib/ui-kit/line-loader/line-loader.component.ts +0 -14
- package/src/lib/ui-kit/line-loader/line-loader.module.ts +0 -10
- package/src/lib/ui-kit/loaders/loaders.module.ts +0 -18
- package/src/lib/ui-kit/loaders/table-loader/table-loader.component.html +0 -17
- package/src/lib/ui-kit/loaders/table-loader/table-loader.component.less +0 -136
- package/src/lib/ui-kit/loaders/table-loader/table-loader.component.ts +0 -17
- package/src/lib/ui-kit/longpress/longpress.directive.ts +0 -28
- package/src/lib/ui-kit/longpress/longpress.module.ts +0 -10
- package/src/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.html +0 -51
- package/src/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.less +0 -367
- package/src/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.spec.ts +0 -24
- package/src/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.ts +0 -141
- package/src/lib/ui-kit/multi-select/cs-multiselect-option/cs-multiselect-option.component.html +0 -9
- package/src/lib/ui-kit/multi-select/cs-multiselect-option/cs-multiselect-option.component.less +0 -105
- package/src/lib/ui-kit/multi-select/cs-multiselect-option/cs-multiselect-option.component.spec.ts +0 -27
- package/src/lib/ui-kit/multi-select/cs-multiselect-option/cs-multiselect-option.component.ts +0 -24
- package/src/lib/ui-kit/multi-select/multi-select.module.ts +0 -24
- package/src/lib/ui-kit/multi-select/multi-select.service.ts +0 -10
- package/src/lib/ui-kit/no-data/no-data.component.html +0 -14
- package/src/lib/ui-kit/no-data/no-data.component.less +0 -86
- package/src/lib/ui-kit/no-data/no-data.component.ts +0 -26
- package/src/lib/ui-kit/no-data/no-data.module.ts +0 -10
- package/src/lib/ui-kit/pagination/pagination.component.html +0 -11
- package/src/lib/ui-kit/pagination/pagination.component.less +0 -72
- package/src/lib/ui-kit/pagination/pagination.component.spec.ts +0 -25
- package/src/lib/ui-kit/pagination/pagination.component.ts +0 -138
- package/src/lib/ui-kit/pagination/pagination.module.ts +0 -10
- package/src/lib/ui-kit/pipes/pipes.module.ts +0 -10
- package/src/lib/ui-kit/pipes/safeHTML.pipe.ts +0 -12
- package/src/lib/ui-kit/pipes/trim.pipe.ts +0 -10
- package/src/lib/ui-kit/popover/popover.component.html +0 -6
- package/src/lib/ui-kit/popover/popover.component.less +0 -20
- package/src/lib/ui-kit/popover/popover.component.ts +0 -127
- package/src/lib/ui-kit/popover/popover.directive.ts +0 -72
- package/src/lib/ui-kit/popover/popover.module.ts +0 -13
- package/src/lib/ui-kit/popover/popover.service.ts +0 -17
- package/src/lib/ui-kit/ripple/ripple.directive.ts +0 -36
- package/src/lib/ui-kit/ripple/ripple.module.ts +0 -10
- package/src/lib/ui-kit/select/cs-option/cs-option.component.html +0 -8
- package/src/lib/ui-kit/select/cs-option/cs-option.component.less +0 -49
- package/src/lib/ui-kit/select/cs-option/cs-option.component.ts +0 -31
- package/src/lib/ui-kit/select/cs-select/cs-select.component.html +0 -16
- package/src/lib/ui-kit/select/cs-select/cs-select.component.less +0 -142
- package/src/lib/ui-kit/select/cs-select/cs-select.component.ts +0 -98
- package/src/lib/ui-kit/select/safe-html.pipe.ts +0 -13
- package/src/lib/ui-kit/select/select.module.ts +0 -13
- package/src/lib/ui-kit/services/cs-select.service.ts +0 -10
- package/src/lib/ui-kit/smiley-dialog/smiley-dialog.component.html +0 -30
- package/src/lib/ui-kit/smiley-dialog/smiley-dialog.component.less +0 -442
- package/src/lib/ui-kit/smiley-dialog/smiley-dialog.component.ts +0 -40
- package/src/lib/ui-kit/smiley-dialog/smiley-dialog.module.ts +0 -11
- package/src/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.html +0 -10
- package/src/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.less +0 -110
- package/src/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.ts +0 -42
- package/src/lib/ui-kit/snack-bar/snack-bar.module.ts +0 -10
- package/src/lib/ui-kit/snack-bar/snack-bar.service.ts +0 -18
- package/src/lib/ui-kit/time-filter/time-filter.component.html +0 -126
- package/src/lib/ui-kit/time-filter/time-filter.component.less +0 -482
- package/src/lib/ui-kit/time-filter/time-filter.component.ts +0 -284
- package/src/lib/ui-kit/time-filter/time-filter.module.ts +0 -10
- package/src/lib/ui-kit/tooltip/tooltip.directive.ts +0 -150
- package/src/lib/ui-kit/tooltip/tooltip.module.ts +0 -10
- package/src/lib/ui-kit/v-loader/loader/loader.component.html +0 -6
- package/src/lib/ui-kit/v-loader/loader/loader.component.less +0 -52
- package/src/lib/ui-kit/v-loader/loader/loader.component.ts +0 -22
- package/src/lib/ui-kit/v-loader/loader-inline/loader-inline.component.html +0 -6
- package/src/lib/ui-kit/v-loader/loader-inline/loader-inline.component.less +0 -52
- package/src/lib/ui-kit/v-loader/loader-inline/loader-inline.component.ts +0 -22
- package/src/lib/ui-kit/v-loader/v-loader.module.ts +0 -11
- package/src/public-api.ts +0 -11
- package/src/test.ts +0 -28
- package/tsconfig.lib.json +0 -20
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { ASSETS } from '../constants/assets.constant';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "../../ui-kit/formgroup/cs-checkbox/cs-checkbox.component";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "../../ui-kit/tooltip/tooltip.directive";
|
|
8
|
+
import * as i5 from "../../ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component";
|
|
9
|
+
import * as i6 from "../../ui-kit/no-data/no-data.component";
|
|
10
|
+
import * as i7 from "../pipes/filter.pipe";
|
|
11
|
+
export class RiskCategoriesComponent {
|
|
12
|
+
ASSETS = ASSETS;
|
|
13
|
+
categoryList = {
|
|
14
|
+
strategic: {
|
|
15
|
+
list: [],
|
|
16
|
+
selectedList: [],
|
|
17
|
+
},
|
|
18
|
+
operational: {
|
|
19
|
+
list: [],
|
|
20
|
+
selectedList: [],
|
|
21
|
+
},
|
|
22
|
+
compliance: {
|
|
23
|
+
list: [],
|
|
24
|
+
selectedList: [],
|
|
25
|
+
},
|
|
26
|
+
others: {
|
|
27
|
+
list: [],
|
|
28
|
+
selectedList: [],
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
allCategories = [];
|
|
32
|
+
categoryIdKey;
|
|
33
|
+
selectedCategories = [];
|
|
34
|
+
search = '';
|
|
35
|
+
activeTab = 'strategic';
|
|
36
|
+
selectedIds = [];
|
|
37
|
+
animation = false;
|
|
38
|
+
blockWidth;
|
|
39
|
+
footerDetails = {
|
|
40
|
+
selectedData: [],
|
|
41
|
+
nonRemovableList: [],
|
|
42
|
+
displayElementKey: 'category_name',
|
|
43
|
+
elementId: 'category_id',
|
|
44
|
+
singularText: 'Risk Category selected',
|
|
45
|
+
pluralText: 'Risk Categories selected',
|
|
46
|
+
showFrequency: false,
|
|
47
|
+
frequencyText: '',
|
|
48
|
+
isDisabled: false,
|
|
49
|
+
};
|
|
50
|
+
saveSelectedCategory = new EventEmitter();
|
|
51
|
+
closeList = new EventEmitter();
|
|
52
|
+
closeCategoriesList = new EventEmitter();
|
|
53
|
+
constructor() { }
|
|
54
|
+
ngOnInit() {
|
|
55
|
+
this.animation = true;
|
|
56
|
+
setTimeout(() => {
|
|
57
|
+
this.animation = false;
|
|
58
|
+
}, 300);
|
|
59
|
+
this.selectedIds = [];
|
|
60
|
+
if (this.selectedCategories) {
|
|
61
|
+
this.selectedCategories.forEach((element) => {
|
|
62
|
+
this.selectedIds.push(element[this.categoryIdKey]);
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
this.setList();
|
|
66
|
+
}
|
|
67
|
+
selectCategory(mode, activeTab, category) {
|
|
68
|
+
if (mode) {
|
|
69
|
+
this.selectedIds.push(category[this.categoryIdKey]);
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
const index = this.selectedIds.findIndex((element) => element == category[this.categoryIdKey]);
|
|
73
|
+
this.selectedIds.splice(index, 1);
|
|
74
|
+
}
|
|
75
|
+
this.setList();
|
|
76
|
+
}
|
|
77
|
+
deleteEvent(event) {
|
|
78
|
+
const index = this.selectedIds.findIndex((element) => element == event[this.categoryIdKey]);
|
|
79
|
+
this.selectedIds.splice(index, 1);
|
|
80
|
+
this.setList();
|
|
81
|
+
}
|
|
82
|
+
selectAll(mode, activeTab) {
|
|
83
|
+
if (mode) {
|
|
84
|
+
if (activeTab === 'strategic' ||
|
|
85
|
+
activeTab === 'operational' ||
|
|
86
|
+
activeTab === 'compliance' ||
|
|
87
|
+
activeTab === 'others') {
|
|
88
|
+
const list = this.categoryList[activeTab].list;
|
|
89
|
+
list.forEach((element) => {
|
|
90
|
+
if (!this.selectedIds.includes(element[this.categoryIdKey])) {
|
|
91
|
+
this.selectedIds.push(element[this.categoryIdKey]);
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
if (activeTab === 'strategic' ||
|
|
98
|
+
activeTab === 'operational' ||
|
|
99
|
+
activeTab === 'compliance' ||
|
|
100
|
+
activeTab === 'others') {
|
|
101
|
+
const list = [...this.categoryList[activeTab].list];
|
|
102
|
+
list.forEach((element) => {
|
|
103
|
+
if (this.selectedIds.includes(element[this.categoryIdKey])) {
|
|
104
|
+
let idIndex = this.selectedIds.findIndex((id) => id == element[this.categoryIdKey]);
|
|
105
|
+
this.selectedIds.splice(idIndex, 1);
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
this.setList();
|
|
111
|
+
}
|
|
112
|
+
setList() {
|
|
113
|
+
const data = [];
|
|
114
|
+
const categoryList = [...new Set(this.allCategories)];
|
|
115
|
+
// cloneDeep(this.allCategories)
|
|
116
|
+
const selectedIds = [...new Set(this.selectedIds)];
|
|
117
|
+
// cloneDeep(this.selectedIds);
|
|
118
|
+
this.categoryList.strategic.selectedList = [];
|
|
119
|
+
this.categoryList.operational.selectedList = [];
|
|
120
|
+
this.categoryList.compliance.selectedList = [];
|
|
121
|
+
this.categoryList.others.selectedList = [];
|
|
122
|
+
categoryList.forEach((element) => {
|
|
123
|
+
if (selectedIds.includes(element[this.categoryIdKey])) {
|
|
124
|
+
data.push(element);
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
this.selectedCategories = data;
|
|
128
|
+
this.footerDetails.selectedData = data;
|
|
129
|
+
this.categoryList.strategic.list.forEach((category) => {
|
|
130
|
+
if (selectedIds.includes(category[this.categoryIdKey])) {
|
|
131
|
+
this.categoryList.strategic.selectedList.push(category);
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
this.categoryList.operational.list.forEach((category) => {
|
|
135
|
+
if (selectedIds.includes(category[this.categoryIdKey])) {
|
|
136
|
+
this.categoryList.operational.selectedList.push(category);
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
this.categoryList.compliance.list.forEach((category) => {
|
|
140
|
+
if (selectedIds.includes(category[this.categoryIdKey])) {
|
|
141
|
+
this.categoryList.compliance.selectedList.push(category);
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
this.categoryList.others.list.forEach((category) => {
|
|
145
|
+
if (selectedIds.includes(category[this.categoryIdKey])) {
|
|
146
|
+
this.categoryList.others.selectedList.push(category);
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
if (!this.activeTab) {
|
|
150
|
+
this.setActiveTab();
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
setActiveTab() {
|
|
154
|
+
if (this.categoryList.strategic.selectedList.length > 0) {
|
|
155
|
+
this.activeTab = 'strategic';
|
|
156
|
+
}
|
|
157
|
+
else if (this.categoryList.operational.selectedList.length > 0) {
|
|
158
|
+
this.activeTab = 'operational';
|
|
159
|
+
}
|
|
160
|
+
else if (this.categoryList.compliance.selectedList.length > 0) {
|
|
161
|
+
this.activeTab = 'compliance';
|
|
162
|
+
}
|
|
163
|
+
else if (this.categoryList.others.selectedList.length > 0) {
|
|
164
|
+
this.activeTab = 'others';
|
|
165
|
+
}
|
|
166
|
+
else {
|
|
167
|
+
this.activeTab = 'strategic';
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
checkSelectAll(activeTab) {
|
|
171
|
+
if (activeTab === 'strategic' ||
|
|
172
|
+
activeTab === 'operational' ||
|
|
173
|
+
activeTab === 'compliance' ||
|
|
174
|
+
activeTab === 'others') {
|
|
175
|
+
const data = this.categoryList[activeTab].list.every((user) => this.selectedIds.includes(user[this.categoryIdKey]));
|
|
176
|
+
return data;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
save() {
|
|
180
|
+
this.saveSelectedCategory.emit(this.selectedCategories);
|
|
181
|
+
}
|
|
182
|
+
close() {
|
|
183
|
+
this.closeCategoriesList.emit();
|
|
184
|
+
}
|
|
185
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RiskCategoriesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
186
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RiskCategoriesComponent, selector: "app-risk-categories", inputs: { categoryList: "categoryList", allCategories: "allCategories", categoryIdKey: "categoryIdKey", selectedCategories: "selectedCategories" }, outputs: { saveSelectedCategory: "saveSelectedCategory", closeList: "closeList", closeCategoriesList: "closeCategoriesList" }, ngImport: i0, template: "<div class=\"risk-category-list\" [class.animate-slideInRight]=\"animation\">\r\n <div\r\n class=\"risk-category-list-head vx-d-flex vx-align-center vx-justify-between vx-pl-4 vx-pr-4\"\r\n >\r\n <span class=\"vx-fs-14 vx-fw-500 vx-label-txt\">Select Risk Category(s)</span>\r\n </div>\r\n <div class=\"risk-category-list-mid\">\r\n <div class=\"vx-d-flex vx-mb-2\">\r\n <div\r\n class=\"risk-category-list-card\"\r\n [class.active]=\"activeTab == 'strategic'\"\r\n (click)=\"activeTab = 'strategic'\"\r\n >\r\n <div class=\"left\">\r\n <label>strategic</label>\r\n <p *ngIf=\"categoryList?.strategic?.selectedList?.length != 0\">\r\n {{ categoryList?.strategic?.selectedList?.length }}\r\n {{\r\n categoryList?.strategic?.selectedList?.length == 1\r\n ? \"Category\"\r\n : \"Categories\"\r\n }}\r\n selected\r\n </p>\r\n </div>\r\n <span class=\"counter\">{{ categoryList?.strategic?.list?.length }}</span>\r\n </div>\r\n <div\r\n class=\"risk-category-list-card\"\r\n [class.active]=\"activeTab == 'operational'\"\r\n (click)=\"activeTab = 'operational'\"\r\n >\r\n <div class=\"left\">\r\n <label>operational</label>\r\n <p *ngIf=\"categoryList?.operational?.selectedList?.length != 0\">\r\n {{ categoryList?.operational?.selectedList?.length }}\r\n {{\r\n categoryList?.operational?.selectedList?.length == 1\r\n ? \"Category\"\r\n : \"Categories\"\r\n }}\r\n selected\r\n </p>\r\n </div>\r\n <span class=\"counter\">{{\r\n categoryList?.operational?.list?.length\r\n }}</span>\r\n </div>\r\n <div\r\n class=\"risk-category-list-card\"\r\n [class.active]=\"activeTab == 'compliance'\"\r\n (click)=\"activeTab = 'compliance'\"\r\n >\r\n <div class=\"left\">\r\n <label>compliance</label>\r\n <p *ngIf=\"categoryList?.compliance?.selectedList?.length != 0\">\r\n {{ categoryList?.compliance?.selectedList?.length }}\r\n {{\r\n categoryList?.compliance?.selectedList?.length == 1\r\n ? \"Category\"\r\n : \"Categories\"\r\n }}\r\n selected\r\n </p>\r\n </div>\r\n <span class=\"counter\">{{\r\n categoryList?.compliance?.list?.length\r\n }}</span>\r\n </div>\r\n <div\r\n class=\"risk-category-list-card\"\r\n [class.active]=\"activeTab == 'others'\"\r\n (click)=\"activeTab = 'others'\"\r\n >\r\n <div class=\"left\">\r\n <label>OTHERS</label>\r\n <p *ngIf=\"categoryList?.others?.selectedList?.length != 0\">\r\n {{ categoryList?.others?.selectedList?.length }}\r\n {{\r\n categoryList?.others?.selectedList?.length == 1\r\n ? \"Category\"\r\n : \"Categories\"\r\n }}\r\n selected\r\n </p>\r\n </div>\r\n <span class=\"counter\">{{ categoryList?.others?.list?.length }}</span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"risk-category-list-search vx-mb-2\">\r\n <i class=\"icons\"></i>\r\n <input\r\n type=\"text\"\r\n [(ngModel)]=\"search\"\r\n placeholder=\"Search Risk Category\"\r\n />\r\n </div>\r\n\r\n <ng-container\r\n *ngIf=\"categoryList[activeTab]?.list | filter : search as searchList\"\r\n >\r\n <div class=\"select-all\" *ngIf=\"searchList.length > 1\">\r\n <app-cs-checkbox\r\n [ngValue]=\"checkSelectAll(activeTab)\"\r\n (ngValueChange)=\"selectAll($event, activeTab)\"\r\n >\r\n <strong>{{\r\n checkSelectAll(activeTab) ? \"Deselect All\" : \"Select All\"\r\n }}</strong>\r\n </app-cs-checkbox>\r\n </div>\r\n <div\r\n class=\"risk-category-list-item vx-mb-4\"\r\n [class.with-selectAll]=\"searchList.length > 1\"\r\n *ngIf=\"searchList.length > 0\"\r\n >\r\n <ul class=\"risk-category-list-item-ul vx-m-0 vx-p-0\">\r\n <li class=\"vx-mb-4\" *ngFor=\"let category of searchList\">\r\n <app-cs-checkbox\r\n [ngValue]=\"selectedIds.includes(category[categoryIdKey])\"\r\n (ngValueChange)=\"selectCategory($event, activeTab, category)\"\r\n >\r\n <ul class=\"categories\">\r\n <li\r\n [arTooltip]=\"category.category_name\"\r\n placement=\"bottom-left\"\r\n delay=\"0\"\r\n >\r\n {{ category.category_name }}\r\n </li>\r\n </ul>\r\n </app-cs-checkbox>\r\n </li>\r\n </ul>\r\n </div>\r\n <app-no-data\r\n *ngIf=\"searchList.length == 0\"\r\n [noDataImage]=\"ASSETS.search_data\"\r\n [noDataText]=\"'No data to display'\"\r\n >\r\n </app-no-data>\r\n </ng-container>\r\n\r\n <app-dashboard-footer\r\n [footerDetails]=\"footerDetails\"\r\n (cancelEvent)=\"close()\"\r\n (deleteEvent)=\"deleteEvent($event)\"\r\n (submitEvent)=\"save()\"\r\n ></app-dashboard-footer>\r\n </div>\r\n</div>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";::ng-deep .risk-category-list{background:#fff;border-right:1px solid #F1F1F1;position:fixed;inset:0 500px 0 0}::ng-deep .risk-category-list-head{background:#fbfbfb;height:2.75rem;border-bottom:1px solid #f1f1f1}::ng-deep .risk-category-list-card{box-shadow:0 0 2px #00000029;border-radius:2px;height:56px;padding:12px;width:100%;display:flex;align-items:center;justify-content:space-between;cursor:pointer;position:relative}::ng-deep .risk-category-list-card .left{display:flex;flex-wrap:wrap;pointer-events:none}::ng-deep .risk-category-list-card .left label{color:#747576;font-size:11px;font-weight:600;line-height:16px;text-transform:uppercase;width:100%}::ng-deep .risk-category-list-card .left p{color:#161b2f;font-size:11px;font-weight:600;line-height:16px;margin:0}::ng-deep .risk-category-list-card span.counter{display:flex;height:32px;min-width:32px;border-radius:2px;background:#042e7d;color:#fff;font-size:11px;font-weight:500;line-height:32px;justify-content:center;align-items:center;padding:0 4px;pointer-events:none}::ng-deep .risk-category-list-card.active{box-shadow:0 3px 12px #1e5dd326;z-index:1;pointer-events:none}::ng-deep .risk-category-list-card.active span.counter{background:#f1f1f1;color:#042e7d}::ng-deep .risk-category-list-card+.risk-category-list-card{margin-left:4px}::ng-deep .risk-category-list-mid{height:calc(100vh - 2.75rem);padding:2rem;position:relative}::ng-deep .risk-category-list-mid::-webkit-scrollbar-track{background:transparent}::ng-deep .risk-category-list-mid .select-all{display:flex;padding-bottom:1rem}::ng-deep .risk-category-list-mid .select-all app-cs-checkbox{display:flex}::ng-deep .risk-category-list-mid .select-all app-cs-checkbox .checkbox-item .value{max-width:unset!important;font-size:12px!important}::ng-deep .risk-category-list-mid .select-all app-cs-checkbox .checkbox-item .value strong{font-weight:600;color:#161b2f}::ng-deep .risk-category-list-mid app-no-data .no-data-wrapper{height:calc(100vh - 260px)}::ng-deep .risk-category-list-search{position:relative}::ng-deep .risk-category-list-search input{height:2.75rem;line-height:1.5rem;padding:.5rem 1rem .5rem 2.5rem;outline:none;border:1px solid #7475763f;border-radius:.25rem;width:100%;font-size:14px;color:#747576}::ng-deep .risk-category-list-search input:focus{border-color:#1e5dd3}::ng-deep .risk-category-list-search i{position:absolute;left:1rem;top:1rem;pointer-events:none;color:#f1f1f1;font-size:12px}::ng-deep .risk-category-list-item{list-style-type:none;display:block;height:calc(100vh - 288px);overflow:hidden;overflow-y:auto}::ng-deep .risk-category-list-item::-webkit-scrollbar-track{background:transparent}::ng-deep .risk-category-list-item.with-selectAll{height:calc(100vh - 320px)}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul{padding:0;margin:0}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li{list-style:none}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox{display:flex}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label{width:100%}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label.radio-item span.value,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label.radio-item span.value,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label.checkbox-item span.value,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label.checkbox-item span.value{width:auto;justify-content:flex-start}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label.radio-item span.value ul.categories,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label.radio-item span.value ul.categories,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label.checkbox-item span.value ul.categories,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label.checkbox-item span.value ul.categories{display:flex;max-width:100%;padding:0;margin:0;justify-content:flex-start;width:auto}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label.radio-item span.value ul.categories li,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label.radio-item span.value ul.categories li,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label.checkbox-item span.value ul.categories li,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label.checkbox-item span.value ul.categories li{display:block;padding:0 16px 0 0;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#161b2f}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CsCheckboxComponent, selector: "app-cs-checkbox", inputs: ["disabled", "ngValue", "value"], outputs: ["ngValueChange"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }, { kind: "component", type: i5.DashboardFooterComponent, selector: "app-dashboard-footer", inputs: ["footerDetails", "userButtonColor"], outputs: ["cancelEvent", "submitEvent", "deleteEvent"] }, { kind: "component", type: i6.NoDataComponent, selector: "app-no-data", inputs: ["action", "noDataImage", "noDataText", "noDataButton", "noDataSecButton", "altText", "smallButton", "buttonIcon", "iconClass"], outputs: ["buttonAction"] }, { kind: "pipe", type: i7.FilterPipe, name: "filter" }] });
|
|
187
|
+
}
|
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RiskCategoriesComponent, decorators: [{
|
|
189
|
+
type: Component,
|
|
190
|
+
args: [{ selector: 'app-risk-categories', template: "<div class=\"risk-category-list\" [class.animate-slideInRight]=\"animation\">\r\n <div\r\n class=\"risk-category-list-head vx-d-flex vx-align-center vx-justify-between vx-pl-4 vx-pr-4\"\r\n >\r\n <span class=\"vx-fs-14 vx-fw-500 vx-label-txt\">Select Risk Category(s)</span>\r\n </div>\r\n <div class=\"risk-category-list-mid\">\r\n <div class=\"vx-d-flex vx-mb-2\">\r\n <div\r\n class=\"risk-category-list-card\"\r\n [class.active]=\"activeTab == 'strategic'\"\r\n (click)=\"activeTab = 'strategic'\"\r\n >\r\n <div class=\"left\">\r\n <label>strategic</label>\r\n <p *ngIf=\"categoryList?.strategic?.selectedList?.length != 0\">\r\n {{ categoryList?.strategic?.selectedList?.length }}\r\n {{\r\n categoryList?.strategic?.selectedList?.length == 1\r\n ? \"Category\"\r\n : \"Categories\"\r\n }}\r\n selected\r\n </p>\r\n </div>\r\n <span class=\"counter\">{{ categoryList?.strategic?.list?.length }}</span>\r\n </div>\r\n <div\r\n class=\"risk-category-list-card\"\r\n [class.active]=\"activeTab == 'operational'\"\r\n (click)=\"activeTab = 'operational'\"\r\n >\r\n <div class=\"left\">\r\n <label>operational</label>\r\n <p *ngIf=\"categoryList?.operational?.selectedList?.length != 0\">\r\n {{ categoryList?.operational?.selectedList?.length }}\r\n {{\r\n categoryList?.operational?.selectedList?.length == 1\r\n ? \"Category\"\r\n : \"Categories\"\r\n }}\r\n selected\r\n </p>\r\n </div>\r\n <span class=\"counter\">{{\r\n categoryList?.operational?.list?.length\r\n }}</span>\r\n </div>\r\n <div\r\n class=\"risk-category-list-card\"\r\n [class.active]=\"activeTab == 'compliance'\"\r\n (click)=\"activeTab = 'compliance'\"\r\n >\r\n <div class=\"left\">\r\n <label>compliance</label>\r\n <p *ngIf=\"categoryList?.compliance?.selectedList?.length != 0\">\r\n {{ categoryList?.compliance?.selectedList?.length }}\r\n {{\r\n categoryList?.compliance?.selectedList?.length == 1\r\n ? \"Category\"\r\n : \"Categories\"\r\n }}\r\n selected\r\n </p>\r\n </div>\r\n <span class=\"counter\">{{\r\n categoryList?.compliance?.list?.length\r\n }}</span>\r\n </div>\r\n <div\r\n class=\"risk-category-list-card\"\r\n [class.active]=\"activeTab == 'others'\"\r\n (click)=\"activeTab = 'others'\"\r\n >\r\n <div class=\"left\">\r\n <label>OTHERS</label>\r\n <p *ngIf=\"categoryList?.others?.selectedList?.length != 0\">\r\n {{ categoryList?.others?.selectedList?.length }}\r\n {{\r\n categoryList?.others?.selectedList?.length == 1\r\n ? \"Category\"\r\n : \"Categories\"\r\n }}\r\n selected\r\n </p>\r\n </div>\r\n <span class=\"counter\">{{ categoryList?.others?.list?.length }}</span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"risk-category-list-search vx-mb-2\">\r\n <i class=\"icons\"></i>\r\n <input\r\n type=\"text\"\r\n [(ngModel)]=\"search\"\r\n placeholder=\"Search Risk Category\"\r\n />\r\n </div>\r\n\r\n <ng-container\r\n *ngIf=\"categoryList[activeTab]?.list | filter : search as searchList\"\r\n >\r\n <div class=\"select-all\" *ngIf=\"searchList.length > 1\">\r\n <app-cs-checkbox\r\n [ngValue]=\"checkSelectAll(activeTab)\"\r\n (ngValueChange)=\"selectAll($event, activeTab)\"\r\n >\r\n <strong>{{\r\n checkSelectAll(activeTab) ? \"Deselect All\" : \"Select All\"\r\n }}</strong>\r\n </app-cs-checkbox>\r\n </div>\r\n <div\r\n class=\"risk-category-list-item vx-mb-4\"\r\n [class.with-selectAll]=\"searchList.length > 1\"\r\n *ngIf=\"searchList.length > 0\"\r\n >\r\n <ul class=\"risk-category-list-item-ul vx-m-0 vx-p-0\">\r\n <li class=\"vx-mb-4\" *ngFor=\"let category of searchList\">\r\n <app-cs-checkbox\r\n [ngValue]=\"selectedIds.includes(category[categoryIdKey])\"\r\n (ngValueChange)=\"selectCategory($event, activeTab, category)\"\r\n >\r\n <ul class=\"categories\">\r\n <li\r\n [arTooltip]=\"category.category_name\"\r\n placement=\"bottom-left\"\r\n delay=\"0\"\r\n >\r\n {{ category.category_name }}\r\n </li>\r\n </ul>\r\n </app-cs-checkbox>\r\n </li>\r\n </ul>\r\n </div>\r\n <app-no-data\r\n *ngIf=\"searchList.length == 0\"\r\n [noDataImage]=\"ASSETS.search_data\"\r\n [noDataText]=\"'No data to display'\"\r\n >\r\n </app-no-data>\r\n </ng-container>\r\n\r\n <app-dashboard-footer\r\n [footerDetails]=\"footerDetails\"\r\n (cancelEvent)=\"close()\"\r\n (deleteEvent)=\"deleteEvent($event)\"\r\n (submitEvent)=\"save()\"\r\n ></app-dashboard-footer>\r\n </div>\r\n</div>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";::ng-deep .risk-category-list{background:#fff;border-right:1px solid #F1F1F1;position:fixed;inset:0 500px 0 0}::ng-deep .risk-category-list-head{background:#fbfbfb;height:2.75rem;border-bottom:1px solid #f1f1f1}::ng-deep .risk-category-list-card{box-shadow:0 0 2px #00000029;border-radius:2px;height:56px;padding:12px;width:100%;display:flex;align-items:center;justify-content:space-between;cursor:pointer;position:relative}::ng-deep .risk-category-list-card .left{display:flex;flex-wrap:wrap;pointer-events:none}::ng-deep .risk-category-list-card .left label{color:#747576;font-size:11px;font-weight:600;line-height:16px;text-transform:uppercase;width:100%}::ng-deep .risk-category-list-card .left p{color:#161b2f;font-size:11px;font-weight:600;line-height:16px;margin:0}::ng-deep .risk-category-list-card span.counter{display:flex;height:32px;min-width:32px;border-radius:2px;background:#042e7d;color:#fff;font-size:11px;font-weight:500;line-height:32px;justify-content:center;align-items:center;padding:0 4px;pointer-events:none}::ng-deep .risk-category-list-card.active{box-shadow:0 3px 12px #1e5dd326;z-index:1;pointer-events:none}::ng-deep .risk-category-list-card.active span.counter{background:#f1f1f1;color:#042e7d}::ng-deep .risk-category-list-card+.risk-category-list-card{margin-left:4px}::ng-deep .risk-category-list-mid{height:calc(100vh - 2.75rem);padding:2rem;position:relative}::ng-deep .risk-category-list-mid::-webkit-scrollbar-track{background:transparent}::ng-deep .risk-category-list-mid .select-all{display:flex;padding-bottom:1rem}::ng-deep .risk-category-list-mid .select-all app-cs-checkbox{display:flex}::ng-deep .risk-category-list-mid .select-all app-cs-checkbox .checkbox-item .value{max-width:unset!important;font-size:12px!important}::ng-deep .risk-category-list-mid .select-all app-cs-checkbox .checkbox-item .value strong{font-weight:600;color:#161b2f}::ng-deep .risk-category-list-mid app-no-data .no-data-wrapper{height:calc(100vh - 260px)}::ng-deep .risk-category-list-search{position:relative}::ng-deep .risk-category-list-search input{height:2.75rem;line-height:1.5rem;padding:.5rem 1rem .5rem 2.5rem;outline:none;border:1px solid #7475763f;border-radius:.25rem;width:100%;font-size:14px;color:#747576}::ng-deep .risk-category-list-search input:focus{border-color:#1e5dd3}::ng-deep .risk-category-list-search i{position:absolute;left:1rem;top:1rem;pointer-events:none;color:#f1f1f1;font-size:12px}::ng-deep .risk-category-list-item{list-style-type:none;display:block;height:calc(100vh - 288px);overflow:hidden;overflow-y:auto}::ng-deep .risk-category-list-item::-webkit-scrollbar-track{background:transparent}::ng-deep .risk-category-list-item.with-selectAll{height:calc(100vh - 320px)}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul{padding:0;margin:0}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li{list-style:none}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox{display:flex}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label{width:100%}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label.radio-item span.value,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label.radio-item span.value,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label.checkbox-item span.value,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label.checkbox-item span.value{width:auto;justify-content:flex-start}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label.radio-item span.value ul.categories,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label.radio-item span.value ul.categories,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label.checkbox-item span.value ul.categories,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label.checkbox-item span.value ul.categories{display:flex;max-width:100%;padding:0;margin:0;justify-content:flex-start;width:auto}::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label.radio-item span.value ul.categories li,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label.radio-item span.value ul.categories li,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-radio label.checkbox-item span.value ul.categories li,::ng-deep .risk-category-list-item ul.risk-category-list-item-ul li app-cs-checkbox label.checkbox-item span.value ul.categories li{display:block;padding:0 16px 0 0;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#161b2f}\n"] }]
|
|
191
|
+
}], ctorParameters: function () { return []; }, propDecorators: { categoryList: [{
|
|
192
|
+
type: Input
|
|
193
|
+
}], allCategories: [{
|
|
194
|
+
type: Input
|
|
195
|
+
}], categoryIdKey: [{
|
|
196
|
+
type: Input
|
|
197
|
+
}], selectedCategories: [{
|
|
198
|
+
type: Input
|
|
199
|
+
}], saveSelectedCategory: [{
|
|
200
|
+
type: Output
|
|
201
|
+
}], closeList: [{
|
|
202
|
+
type: Output
|
|
203
|
+
}], closeCategoriesList: [{
|
|
204
|
+
type: Output
|
|
205
|
+
}] } });
|
|
206
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmlzay1jYXRlZ29yaWVzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NyZWF0ZS1kYXNoYm9hcmQvc3JjL2xpYi9jcmVhdGUtZGFzaGJvYXJkLWNvbnRhaW5lci9yaXNrLWNhdGVnb3JpZXMvcmlzay1jYXRlZ29yaWVzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NyZWF0ZS1kYXNoYm9hcmQvc3JjL2xpYi9jcmVhdGUtZGFzaGJvYXJkLWNvbnRhaW5lci9yaXNrLWNhdGVnb3JpZXMvcmlzay1jYXRlZ29yaWVzLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcG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yXG4gICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgICB7eyBjYXRlZ29yeS5jYXRlZ29yeV9uYW1lIH19XHJcbiAgICAgICAgICAgICAgICA8L2xpPlxyXG4gICAgICAgICAgICAgIDwvdWw+XHJcbiAgICAgICAgICAgIDwvYXBwLWNzLWNoZWNrYm94PlxyXG4gICAgICAgICAgPC9saT5cclxuICAgICAgICA8L3VsPlxyXG4gICAgICA8L2Rpdj5cclxuICAgICAgPGFwcC1uby1kYXRhXHJcbiAgICAgICAgKm5nSWY9XCJzZWFyY2hMaXN0Lmxlbmd0aCA9PSAwXCJcclxuICAgICAgICBbbm9EYXRhSW1hZ2VdPVwiQVNTRVRTLnNlYXJjaF9kYXRhXCJcclxuICAgICAgICBbbm9EYXRhVGV4dF09XCInTm8gZGF0YSB0byBkaXNwbGF5J1wiXHJcbiAgICAgID5cclxuICAgICAgPC9hcHAtbm8tZGF0YT5cclxuICAgIDwvbmctY29udGFpbmVyPlxyXG5cclxuICAgIDxhcHAtZGFzaGJvYXJkLWZvb3RlclxyXG4gICAgICBbZm9vdGVyRGV0YWlsc109XCJmb290ZXJEZXRhaWxzXCJcclxuICAgICAgKGNhbmNlbEV2ZW50KT1cImNsb3NlKClcIlxyXG4gICAgICAoZGVsZXRlRXZlbnQpPVwiZGVsZXRlRXZlbnQoJGV2ZW50KVwiXHJcbiAgICAgIChzdWJtaXRFdmVudCk9XCJzYXZlKClcIlxyXG4gICAgPjwvYXBwLWRhc2hib2FyZC1mb290ZXI+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { Injectable, Optional } from '@angular/core';
|
|
2
|
+
import { retry } from 'rxjs/operators';
|
|
3
|
+
import { ASSETS } from '../constants/assets.constant';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common/http";
|
|
6
|
+
import * as i2 from "../../configurations";
|
|
7
|
+
export class ConfigureWidgetsService {
|
|
8
|
+
http;
|
|
9
|
+
env;
|
|
10
|
+
constructor(http, config) {
|
|
11
|
+
this.http = http;
|
|
12
|
+
if (config) {
|
|
13
|
+
this.env = config.envConfig;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
// complianceWidgetsData = [
|
|
17
|
+
// {
|
|
18
|
+
// title: 'Overview',
|
|
19
|
+
// id: 'overview_flag',
|
|
20
|
+
// description:
|
|
21
|
+
// 'Displays all responsibilities that have been assigned to you.',
|
|
22
|
+
// widgetImage: ASSETS.overviewWidget,
|
|
23
|
+
// value: 0,
|
|
24
|
+
// },
|
|
25
|
+
// {
|
|
26
|
+
// title: 'Responsibility Calendar',
|
|
27
|
+
// id: 'compliance_calendar_flag',
|
|
28
|
+
// description:
|
|
29
|
+
// 'Displays all responsibilities that are due on a particular day.',
|
|
30
|
+
// widgetImage: ASSETS.responsibilityCalenderWidget,
|
|
31
|
+
// value: 0,
|
|
32
|
+
// },
|
|
33
|
+
// {
|
|
34
|
+
// title: 'Responsibility Center Overview',
|
|
35
|
+
// id: 'responsibility_center_overview_flag',
|
|
36
|
+
// description:
|
|
37
|
+
// 'Displays all responsibilities that have been assigned to you.',
|
|
38
|
+
// widgetImage: ASSETS.overviewWidget,
|
|
39
|
+
// value: 0,
|
|
40
|
+
// },
|
|
41
|
+
// {
|
|
42
|
+
// title: 'My Responsibilities',
|
|
43
|
+
// id: 'my_responsibilities',
|
|
44
|
+
// description:
|
|
45
|
+
// 'Displays all responsibilities that have been assigned to you.',
|
|
46
|
+
// widgetImage: ASSETS.myResponsibilitiesWidget,
|
|
47
|
+
// tabOption: true,
|
|
48
|
+
// value: 0,
|
|
49
|
+
// },
|
|
50
|
+
// {
|
|
51
|
+
// title: 'Key Responsibilities',
|
|
52
|
+
// id: 'key_responsibilities',
|
|
53
|
+
// description:
|
|
54
|
+
// 'Displays all responsibilities that are due on a particular day.',
|
|
55
|
+
// widgetImage: ASSETS.keyResponsibilitiesWidget,
|
|
56
|
+
// tabOption: true,
|
|
57
|
+
// value: 0,
|
|
58
|
+
// },
|
|
59
|
+
// {
|
|
60
|
+
// title: 'Trend Analysis',
|
|
61
|
+
// id: 'trend_analysis_flag',
|
|
62
|
+
// description:
|
|
63
|
+
// 'Displays all responsibilities that have been assigned to you.',
|
|
64
|
+
// widgetImage: ASSETS.trendAnalysisWidget,
|
|
65
|
+
// value: 0,
|
|
66
|
+
// },
|
|
67
|
+
// {
|
|
68
|
+
// title: 'Workroom Updates',
|
|
69
|
+
// id: 'workroom_alert_flag',
|
|
70
|
+
// description:
|
|
71
|
+
// 'Displays all responsibilities that have been assigned to you.',
|
|
72
|
+
// widgetImage: ASSETS.workroomUpdatesWidget,
|
|
73
|
+
// value: 0,
|
|
74
|
+
// },
|
|
75
|
+
// {
|
|
76
|
+
// title: 'Recent Activities',
|
|
77
|
+
// id: 'recent_activity_flag',
|
|
78
|
+
// description:
|
|
79
|
+
// 'Displays all responsibilities that have been assigned to you.',
|
|
80
|
+
// widgetImage: ASSETS.recentActivitiesWidget,
|
|
81
|
+
// value: 0,
|
|
82
|
+
// },
|
|
83
|
+
// {
|
|
84
|
+
// title: 'Exception Summary',
|
|
85
|
+
// id: 'exception_summary_flag',
|
|
86
|
+
// description:
|
|
87
|
+
// 'Displays all responsibilities that have been assigned to you.',
|
|
88
|
+
// widgetImage: ASSETS.exceptionSummaryWidget,
|
|
89
|
+
// value: 0,
|
|
90
|
+
// },
|
|
91
|
+
// ];
|
|
92
|
+
riskWidgetsData = [
|
|
93
|
+
{
|
|
94
|
+
title: 'Risk Overview',
|
|
95
|
+
id: 'risk_overview',
|
|
96
|
+
description: 'description',
|
|
97
|
+
// widgetImage: 'https://cdn.v-comply.com/libraries/configure-widget/assets/images/risk-overview.png',
|
|
98
|
+
widgetImage: ASSETS.riskOverviewWidget,
|
|
99
|
+
value: 0,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
title: 'Risk Appetite & Tolerance',
|
|
103
|
+
id: 'risk_appetite_tolerance',
|
|
104
|
+
description: 'description',
|
|
105
|
+
// widgetImage: 'https://cdn.v-comply.com/libraries/configure-widget/assets/images/appetite-tolerance.png',
|
|
106
|
+
widgetImage: ASSETS.appetiteToleranceWidget,
|
|
107
|
+
value: 0,
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
title: 'Risk Ratings',
|
|
111
|
+
id: 'risk_ratings',
|
|
112
|
+
description: 'Description.',
|
|
113
|
+
widgetImage: ASSETS.appetite_tolerance,
|
|
114
|
+
value: 0,
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
title: 'Risks Without Controls',
|
|
118
|
+
id: 'risks_without_controls',
|
|
119
|
+
description: 'Description',
|
|
120
|
+
widgetImage: ASSETS.appetite_tolerance,
|
|
121
|
+
value: 0,
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
title: 'Risks Exceeding Risk Tolerance',
|
|
125
|
+
id: 'exceeds_risk_tolerance',
|
|
126
|
+
description: 'description',
|
|
127
|
+
widgetImage: ASSETS.appetite_tolerance,
|
|
128
|
+
value: 0,
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
title: 'Inherent Risk Rating by Responsibility Centers ',
|
|
132
|
+
id: 'inherent_risk_rating_by_responsibility_centers',
|
|
133
|
+
description: 'Description.',
|
|
134
|
+
// widgetImage: 'https://cdn.v-comply.com/libraries/configure-widget/assets/images/inherent-RC.png',
|
|
135
|
+
widgetImage: ASSETS.inherentRCWidget,
|
|
136
|
+
value: 0,
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
title: 'Residual Risk Rating by Responsibility Centers ',
|
|
140
|
+
id: 'residual_risk_rating_by_responsibility_centers',
|
|
141
|
+
description: 'Description.',
|
|
142
|
+
// widgetImage: 'https://cdn.v-comply.com/libraries/configure-widget/assets/images/residual-RC.png',
|
|
143
|
+
widgetImage: ASSETS.residualRCWidget,
|
|
144
|
+
value: 0,
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
title: 'Risk Category Overview',
|
|
148
|
+
id: 'risk_category_overview',
|
|
149
|
+
description: 'description',
|
|
150
|
+
// widgetImage: 'https://cdn.v-comply.com/libraries/configure-widget/assets/images/risk-category-overview.png',
|
|
151
|
+
widgetImage: ASSETS.riskCategoryOverviewWidget,
|
|
152
|
+
value: 0,
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
title: 'Risk Heatmap',
|
|
156
|
+
id: 'risk_heatmap',
|
|
157
|
+
description: 'Description.',
|
|
158
|
+
widgetImage: ASSETS.riskHeatmapWidget,
|
|
159
|
+
value: 0,
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
title: 'Inherent Risk Rating by Categories',
|
|
163
|
+
id: 'inherent_risk_rating_by_categories',
|
|
164
|
+
description: 'Description.',
|
|
165
|
+
// widgetImage: 'https://cdn.v-comply.com/libraries/configure-widget/assets/images/inherent-categories.png',
|
|
166
|
+
widgetImage: ASSETS.inherentCategoriesWidget,
|
|
167
|
+
value: 0,
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
title: 'Residual Risk Rating by Categories',
|
|
171
|
+
id: 'residual_risk_rating_by_categories',
|
|
172
|
+
description: 'description',
|
|
173
|
+
// widgetImage: 'https://cdn.v-comply.com/libraries/configure-widget/assets/images/residual-categories.png',
|
|
174
|
+
widgetImage: ASSETS.residualCategoriesWidget,
|
|
175
|
+
value: 0,
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
title: 'Inherent Risk Rating Trend by Responsibility Centers',
|
|
179
|
+
id: 'inherent_risk_rating_trend_by_responsibility_centers',
|
|
180
|
+
description: 'Description.',
|
|
181
|
+
widgetImage: ASSETS.inherent_trend,
|
|
182
|
+
value: 0,
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
title: 'Residual Risk Rating Trend by Responsibility Centers',
|
|
186
|
+
id: 'residual_risk_rating_trend_by_responsibility_centers',
|
|
187
|
+
description: 'Description.',
|
|
188
|
+
widgetImage: ASSETS.residual_trend,
|
|
189
|
+
value: 0,
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
title: 'Risk Rating Trend by Categories',
|
|
193
|
+
id: 'risk_rating_trend_by_categories',
|
|
194
|
+
description: 'Description.',
|
|
195
|
+
widgetImage: ASSETS.risk_trend,
|
|
196
|
+
value: 0,
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
title: 'Top 5 Risk Ratings',
|
|
200
|
+
id: 'top_5_residual_risk_ratings',
|
|
201
|
+
description: 'Description.',
|
|
202
|
+
// widgetImage: 'https://cdn.v-comply.com/libraries/configure-widget/assets/images/5-risk-ratings.png',
|
|
203
|
+
widgetImage: ASSETS.tenRiskRatingsWidget,
|
|
204
|
+
value: 0,
|
|
205
|
+
},
|
|
206
|
+
];
|
|
207
|
+
auditWidgetsData = [];
|
|
208
|
+
policyWidgetsData = [];
|
|
209
|
+
// For dashboard view
|
|
210
|
+
dashBoardWidgetUpdate(widGetJson) {
|
|
211
|
+
return this.http
|
|
212
|
+
.put(this.env.OrganizationPut + 'dashboardWidgets', widGetJson)
|
|
213
|
+
.pipe(retry(2));
|
|
214
|
+
}
|
|
215
|
+
moduleType(identifier) {
|
|
216
|
+
if (JSON.stringify(this.riskWidgetsData).includes(identifier)) {
|
|
217
|
+
return 'RISK';
|
|
218
|
+
// } else if (JSON.stringify(this.complianceWidgetsData).includes(identifier)) {
|
|
219
|
+
// return 'COMPLIANCE';
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfigureWidgetsService, deps: [{ token: i1.HttpClient }, { token: i2.Configurations, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
223
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfigureWidgetsService, providedIn: 'root' });
|
|
224
|
+
}
|
|
225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfigureWidgetsService, decorators: [{
|
|
226
|
+
type: Injectable,
|
|
227
|
+
args: [{
|
|
228
|
+
providedIn: 'root',
|
|
229
|
+
}]
|
|
230
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
|
231
|
+
type: Optional
|
|
232
|
+
}] }]; } });
|
|
233
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlndXJlLXdpZGdldHMuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NyZWF0ZS1kYXNoYm9hcmQvc3JjL2xpYi9jcmVhdGUtZGFzaGJvYXJkLWNvbnRhaW5lci9zZXJ2aWNlcy9jb25maWd1cmUtd2lkZ2V0cy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBR3JELE9BQU8sRUFBbUIsS0FBSyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFJeEQsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLDhCQUE4QixDQUFDOzs7O0FBS3RELE1BQU0sT0FBTyx1QkFBdUI7SUFJeEI7SUFISCxHQUFHLENBQU87SUFFakIsWUFDVSxJQUFnQixFQUNaLE1BQXVCO1FBRDNCLFNBQUksR0FBSixJQUFJLENBQVk7UUFHeEIsSUFBSSxNQUFNLEVBQUU7WUFDVixJQUFJLENBQUMsR0FBRyxHQUFHLE1BQU0sQ0FBQyxTQUFTLENBQUM7U0FDN0I7SUFDSCxDQUFDO0lBRUQsNEJBQTRCO0lBQzVCLE1BQU07SUFDTix5QkFBeUI7SUFDekIsMkJBQTJCO0lBQzNCLG1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