vc-create-dashboard 3.0.84 → 3.0.86
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 +239 -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 +6631 -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 +72 -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,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FilterPipe implements PipeTransform {
|
|
4
|
+
transform(items: any[], searchText: string): any[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SearchProgramPipe implements PipeTransform {
|
|
4
|
+
transform(items: any[], ...args: any[]): any[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchProgramPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SearchProgramPipe, "searchProgram", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SearchPipe implements PipeTransform {
|
|
4
|
+
transform(value: any, args?: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SearchPipe, "search", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TextCountPipe implements PipeTransform {
|
|
4
|
+
transform(value: any, ...args: any[]): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextCountPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TextCountPipe, "textCount", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const PROGRAM_TABLE_HEADERS: string[];
|
|
2
|
+
export declare const PAGINATION_OPTIONS: {
|
|
3
|
+
PAGE_SIZE: number;
|
|
4
|
+
DEFAULT_CURRENT_PAGE: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const PROGRAM_TYPE_LIST: {
|
|
7
|
+
name: string;
|
|
8
|
+
id: string;
|
|
9
|
+
}[];
|
|
10
|
+
export declare const PROGRAM_OBJECT: {
|
|
11
|
+
regulations: number;
|
|
12
|
+
standards: number;
|
|
13
|
+
internal_controls: number;
|
|
14
|
+
others: number;
|
|
15
|
+
};
|
|
16
|
+
export declare const PROGRAM_NO_DATA: {
|
|
17
|
+
programList: string;
|
|
18
|
+
categoryList: string;
|
|
19
|
+
search: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const PROGRAM_LIST_API: {
|
|
22
|
+
programList: string;
|
|
23
|
+
categoryList: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class InformationBlockComponent {
|
|
3
|
+
constructor();
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InformationBlockComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InformationBlockComponent, "app-information-block", never, {}, {}, never, never, false, never>;
|
|
6
|
+
}
|
package/lib/create-dashboard-container/program-list/list-container/list-container.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ListContainerComponent {
|
|
4
|
+
heading: string;
|
|
5
|
+
close: EventEmitter<void>;
|
|
6
|
+
onClose(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListContainerComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListContainerComponent, "app-list-container", never, { "heading": { "alias": "heading"; "required": false; }; }, { "close": "close"; }, never, ["[body]", "[footer]"], false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CheckSelectedItemsPipe implements PipeTransform {
|
|
4
|
+
transform(id: string, selectedItems: any): boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckSelectedItemsPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CheckSelectedItemsPipe, "checkSelectedItems", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ListItem } from '../interfaces/list-item.interface';
|
|
3
|
+
import { ListUtilsService } from '../services/list-utils.service';
|
|
4
|
+
import { ProgramListApiService } from '../services/program-list-api.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProgramListComponent<T extends ListItem> implements OnInit, OnChanges, OnDestroy {
|
|
7
|
+
private listUtils;
|
|
8
|
+
private programListApiService;
|
|
9
|
+
/** Array of items to be displayed in the list */
|
|
10
|
+
items: T[];
|
|
11
|
+
/** Object containing selected items, keyed by program ID */
|
|
12
|
+
selectedItems: any | null;
|
|
13
|
+
/** URL configuration object for API endpoints */
|
|
14
|
+
url: any;
|
|
15
|
+
/** Event emitted when an item is selected */
|
|
16
|
+
itemSelected: EventEmitter<T>;
|
|
17
|
+
/** Event emitted when an item is deselected */
|
|
18
|
+
itemDeselected: EventEmitter<T>;
|
|
19
|
+
/** Event emitted when the selection changes */
|
|
20
|
+
itemsSelectedChange: EventEmitter<T[]>;
|
|
21
|
+
tableHeaders: string[];
|
|
22
|
+
currentPage: number;
|
|
23
|
+
pageSize: number;
|
|
24
|
+
totalPages: number;
|
|
25
|
+
searchTerm: string;
|
|
26
|
+
paginatedItems: T[];
|
|
27
|
+
activeProgram: any | null;
|
|
28
|
+
categoryList: any;
|
|
29
|
+
programTypeList: any[];
|
|
30
|
+
selectedProgramType: any[];
|
|
31
|
+
loaderState: any;
|
|
32
|
+
appliedProgramType: any[];
|
|
33
|
+
PROGRAM_NO_DATA: any;
|
|
34
|
+
ASSETS: any;
|
|
35
|
+
programCategoryList: any;
|
|
36
|
+
/** Subject for handling debounced search */
|
|
37
|
+
private searchSubject;
|
|
38
|
+
/** Subject for cleanup subscriptions */
|
|
39
|
+
private destroy$;
|
|
40
|
+
constructor(listUtils: ListUtilsService, programListApiService: ProgramListApiService);
|
|
41
|
+
/** Initialize component by fetching program list */
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
/** Handle changes to inputs */
|
|
44
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
45
|
+
private focusFirstProgramWithSelections;
|
|
46
|
+
/** Fetch program list from API */
|
|
47
|
+
getProgramList(): void;
|
|
48
|
+
/**
|
|
49
|
+
* Load data and initialize pagination
|
|
50
|
+
* @param data Array of items to load
|
|
51
|
+
*/
|
|
52
|
+
loadData(data: any): void;
|
|
53
|
+
/**
|
|
54
|
+
* Handle item selection/deselection
|
|
55
|
+
* @param event Selection event
|
|
56
|
+
* @param item Item being selected/deselected
|
|
57
|
+
*/
|
|
58
|
+
selectItem(event: any, item: any): void;
|
|
59
|
+
/**
|
|
60
|
+
* Deselect a specific item
|
|
61
|
+
* @param item Item to deselect
|
|
62
|
+
*/
|
|
63
|
+
deselectItem(item: T): void;
|
|
64
|
+
/**
|
|
65
|
+
* Check if an item is selected
|
|
66
|
+
* @param item Item to check
|
|
67
|
+
* @returns Boolean indicating if item is selected
|
|
68
|
+
*/
|
|
69
|
+
isSelected(item: T): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Navigate to specific page
|
|
72
|
+
* @param page Page number to navigate to
|
|
73
|
+
* @param data Data to paginate
|
|
74
|
+
*/
|
|
75
|
+
goToPage(page: number, data: any): void;
|
|
76
|
+
/**
|
|
77
|
+
* Get array of page numbers for pagination
|
|
78
|
+
* @returns Array of page numbers
|
|
79
|
+
*/
|
|
80
|
+
getPageNumbers(): number[];
|
|
81
|
+
/**
|
|
82
|
+
* Paginate items and update view
|
|
83
|
+
* @param data Data to paginate
|
|
84
|
+
*/
|
|
85
|
+
paginateItems(data: any): void;
|
|
86
|
+
/**
|
|
87
|
+
* View categories for a selected program
|
|
88
|
+
* @param item Program to view categories for
|
|
89
|
+
*/
|
|
90
|
+
viewCategory(item?: any): void;
|
|
91
|
+
checkProgramCategoryExists(id: string): void;
|
|
92
|
+
fetchProgramCategoryList(id: string): void;
|
|
93
|
+
/**
|
|
94
|
+
* Add parent tree information to categories
|
|
95
|
+
* @param categories Array of categories
|
|
96
|
+
* @returns Categories with parent tree information
|
|
97
|
+
*/
|
|
98
|
+
addParentTreeToCategories(categories: any[]): any[];
|
|
99
|
+
/**
|
|
100
|
+
* Handle program type filter selection
|
|
101
|
+
* @param event Selection event
|
|
102
|
+
* @param item Program type being selected/deselected
|
|
103
|
+
*/
|
|
104
|
+
selectFilter(event: any, item: any): void;
|
|
105
|
+
/** Reset all applied filters */
|
|
106
|
+
resetFilter(): void;
|
|
107
|
+
/** Apply selected filters to the program list */
|
|
108
|
+
onFilterChange(): void;
|
|
109
|
+
checkCategoryAvailbility(): void;
|
|
110
|
+
/** Trigger debounced search */
|
|
111
|
+
search(): void;
|
|
112
|
+
/** Perform search on items */
|
|
113
|
+
private performSearch;
|
|
114
|
+
/** Cleanup subscriptions on component destruction */
|
|
115
|
+
ngOnDestroy(): void;
|
|
116
|
+
closePopover(event: any): void;
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListComponent<any>, never>;
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgramListComponent<any>, "app-program-list", never, { "items": { "alias": "items"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "url": { "alias": "url"; "required": false; }; }, { "itemSelected": "itemSelected"; "itemDeselected": "itemDeselected"; "itemsSelectedChange": "itemsSelectedChange"; }, never, never, false, never>;
|
|
119
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./program-list/program-list.component";
|
|
3
|
+
import * as i2 from "./pipes/check-selected-items.pipes";
|
|
4
|
+
import * as i3 from "./list-container/list-container.component";
|
|
5
|
+
import * as i4 from "../pipes/search-program.pipe";
|
|
6
|
+
import * as i5 from "./information-block/information-block.component";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "@angular/forms";
|
|
9
|
+
import * as i8 from "../../ui-kit/formgroup/formgroup.module";
|
|
10
|
+
import * as i9 from "../../ui-kit/no-data/no-data.module";
|
|
11
|
+
import * as i10 from "../../ui-kit/popover/popover.module";
|
|
12
|
+
import * as i11 from "../../ui-kit/loaders/loaders.module";
|
|
13
|
+
export declare class ProgramListModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgramListModule, [typeof i1.ProgramListComponent, typeof i2.CheckSelectedItemsPipe, typeof i3.ListContainerComponent, typeof i4.SearchProgramPipe, typeof i5.InformationBlockComponent], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i8.FormgroupModule, typeof i9.NoDataModule, typeof i10.PopoverModule, typeof i11.LoadersModule], [typeof i1.ProgramListComponent, typeof i3.ListContainerComponent, typeof i5.InformationBlockComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProgramListModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ListUtilsService {
|
|
3
|
+
paginate<T>(items: T[], currentPage: number, pageSize: number): T[];
|
|
4
|
+
getPageNumbers(totalItems: number, pageSize: number): number[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListUtilsService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ListUtilsService>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Configurations } from '../../../configurations';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ProgramListApiService {
|
|
6
|
+
private http;
|
|
7
|
+
env: any;
|
|
8
|
+
constructor(http: HttpClient, config?: Configurations);
|
|
9
|
+
getProgramList(apiUrl: string): Observable<any>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListApiService, [null, { optional: true; }]>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProgramListApiService>;
|
|
12
|
+
}
|
package/lib/create-dashboard-container/responsibility-center/responsibility-center.component.d.ts
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
2
|
+
import { DashboardFooterConfig } from '../../ui-kit/dashboard-footer/dashboard-footer-config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ResponsibilityCenterComponent implements OnInit, OnChanges {
|
|
5
|
+
saveSelectedList: EventEmitter<any>;
|
|
6
|
+
closeRcList: EventEmitter<any>;
|
|
7
|
+
responsibilityCentersList: never[];
|
|
8
|
+
selectedResponsibilityCenters: never[];
|
|
9
|
+
rcIdKey: string;
|
|
10
|
+
radioSelection: boolean;
|
|
11
|
+
ASSETS: {
|
|
12
|
+
dashBoardIcon: string;
|
|
13
|
+
dashBoardUsersIcon: string;
|
|
14
|
+
dashBoardRcIcon: string;
|
|
15
|
+
dashBoardProgramIcon: string;
|
|
16
|
+
dashBoardRiskIcon: string;
|
|
17
|
+
dashBoardTimeFrameIcon: string;
|
|
18
|
+
dashBoardEmailSummariesIcon: string;
|
|
19
|
+
configure_widget: string;
|
|
20
|
+
overviewWidget: string;
|
|
21
|
+
responsibilityCalenderWidget: string;
|
|
22
|
+
responsibilityCenterOverviewWidget: string;
|
|
23
|
+
myResponsibilitiesWidget: string;
|
|
24
|
+
keyResponsibilitiesWidget: string;
|
|
25
|
+
trendAnalysisWidget: string;
|
|
26
|
+
workroomUpdatesWidget: string;
|
|
27
|
+
recentActivitiesWidget: string;
|
|
28
|
+
exceptionSummaryWidget: string;
|
|
29
|
+
riskOverviewWidget: string;
|
|
30
|
+
appetiteToleranceWidget: string;
|
|
31
|
+
inherentRCWidget: string;
|
|
32
|
+
residualRCWidget: string;
|
|
33
|
+
riskCategoryOverviewWidget: string;
|
|
34
|
+
riskHeatmapWidget: string;
|
|
35
|
+
inherentCategoriesWidget: string;
|
|
36
|
+
residualCategoriesWidget: string;
|
|
37
|
+
tenRiskRatingsWidget: string;
|
|
38
|
+
search_data: string;
|
|
39
|
+
appetite_tolerance: string;
|
|
40
|
+
inherent_trend: string;
|
|
41
|
+
residual_trend: string;
|
|
42
|
+
risk_trend: string;
|
|
43
|
+
policyApproverView: string;
|
|
44
|
+
responsibilitiesByAssignee: string;
|
|
45
|
+
};
|
|
46
|
+
selectedIds: any[];
|
|
47
|
+
selectedIdLookup: Record<string, boolean>;
|
|
48
|
+
isAllSelected: boolean;
|
|
49
|
+
animation: boolean;
|
|
50
|
+
search: string;
|
|
51
|
+
footerDetails: DashboardFooterConfig;
|
|
52
|
+
constructor();
|
|
53
|
+
ngOnChanges(): void;
|
|
54
|
+
ngOnInit(): void;
|
|
55
|
+
isSelected(id: any): boolean;
|
|
56
|
+
selectRc(rc: any, mode: any): void;
|
|
57
|
+
deleteEvent(event: any): void;
|
|
58
|
+
selectAll(mode: any): void;
|
|
59
|
+
setList(): void;
|
|
60
|
+
private updateSelectionState;
|
|
61
|
+
private findRcById;
|
|
62
|
+
private getNodeId;
|
|
63
|
+
private resolveSelectedId;
|
|
64
|
+
private addSelectedIds;
|
|
65
|
+
private removeSelectedIds;
|
|
66
|
+
/** Direct and nested child RC ids for a selected parent. */
|
|
67
|
+
private getDescendantIds;
|
|
68
|
+
save(): void;
|
|
69
|
+
closeResponsibilityCenterList(): void;
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityCenterComponent, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResponsibilityCenterComponent, "app-responsibility-center", never, { "responsibilityCentersList": { "alias": "responsibilityCentersList"; "required": false; }; "selectedResponsibilityCenters": { "alias": "selectedResponsibilityCenters"; "required": false; }; "rcIdKey": { "alias": "rcIdKey"; "required": false; }; "radioSelection": { "alias": "radioSelection"; "required": false; }; }, { "saveSelectedList": "saveSelectedList"; "closeRcList": "closeRcList"; }, never, never, false, never>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface RiskCategoriesConfig {
|
|
2
|
+
strategic: {
|
|
3
|
+
list: [];
|
|
4
|
+
selectedList: any[];
|
|
5
|
+
};
|
|
6
|
+
operational: {
|
|
7
|
+
list: [];
|
|
8
|
+
selectedList: any[];
|
|
9
|
+
};
|
|
10
|
+
compliance: {
|
|
11
|
+
list: [];
|
|
12
|
+
selectedList: any[];
|
|
13
|
+
};
|
|
14
|
+
others: {
|
|
15
|
+
list: [];
|
|
16
|
+
selectedList: any[];
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { DashboardFooterConfig } from '../../ui-kit/dashboard-footer/dashboard-footer-config';
|
|
3
|
+
import { RiskCategoriesConfig } from './risk-categories-config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RiskCategoriesComponent implements OnInit {
|
|
6
|
+
ASSETS: {
|
|
7
|
+
dashBoardIcon: string;
|
|
8
|
+
dashBoardUsersIcon: string;
|
|
9
|
+
dashBoardRcIcon: string;
|
|
10
|
+
dashBoardProgramIcon: string;
|
|
11
|
+
dashBoardRiskIcon: string;
|
|
12
|
+
dashBoardTimeFrameIcon: string;
|
|
13
|
+
dashBoardEmailSummariesIcon: string;
|
|
14
|
+
configure_widget: string;
|
|
15
|
+
overviewWidget: string;
|
|
16
|
+
responsibilityCalenderWidget: string;
|
|
17
|
+
responsibilityCenterOverviewWidget: string;
|
|
18
|
+
myResponsibilitiesWidget: string;
|
|
19
|
+
keyResponsibilitiesWidget: string;
|
|
20
|
+
trendAnalysisWidget: string;
|
|
21
|
+
workroomUpdatesWidget: string;
|
|
22
|
+
recentActivitiesWidget: string;
|
|
23
|
+
exceptionSummaryWidget: string;
|
|
24
|
+
riskOverviewWidget: string;
|
|
25
|
+
appetiteToleranceWidget: string;
|
|
26
|
+
inherentRCWidget: string;
|
|
27
|
+
residualRCWidget: string;
|
|
28
|
+
riskCategoryOverviewWidget: string;
|
|
29
|
+
riskHeatmapWidget: string;
|
|
30
|
+
inherentCategoriesWidget: string;
|
|
31
|
+
residualCategoriesWidget: string;
|
|
32
|
+
tenRiskRatingsWidget: string;
|
|
33
|
+
search_data: string;
|
|
34
|
+
appetite_tolerance: string;
|
|
35
|
+
inherent_trend: string;
|
|
36
|
+
residual_trend: string;
|
|
37
|
+
risk_trend: string;
|
|
38
|
+
policyApproverView: string;
|
|
39
|
+
responsibilitiesByAssignee: string;
|
|
40
|
+
};
|
|
41
|
+
categoryList: RiskCategoriesConfig;
|
|
42
|
+
allCategories: any[];
|
|
43
|
+
categoryIdKey: any;
|
|
44
|
+
selectedCategories: any[];
|
|
45
|
+
search: string;
|
|
46
|
+
activeTab: 'strategic' | 'operational' | 'compliance' | 'others';
|
|
47
|
+
selectedIds: any[];
|
|
48
|
+
animation: boolean;
|
|
49
|
+
blockWidth: any;
|
|
50
|
+
footerDetails: DashboardFooterConfig;
|
|
51
|
+
saveSelectedCategory: EventEmitter<any>;
|
|
52
|
+
closeList: EventEmitter<any>;
|
|
53
|
+
closeCategoriesList: EventEmitter<any>;
|
|
54
|
+
constructor();
|
|
55
|
+
ngOnInit(): void;
|
|
56
|
+
selectCategory(mode: any, activeTab: any, category: any): void;
|
|
57
|
+
deleteEvent(event: any): void;
|
|
58
|
+
selectAll(mode: any, activeTab: string): void;
|
|
59
|
+
setList(): void;
|
|
60
|
+
setActiveTab(): void;
|
|
61
|
+
checkSelectAll(activeTab: string): boolean | undefined;
|
|
62
|
+
save(): void;
|
|
63
|
+
close(): void;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RiskCategoriesComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RiskCategoriesComponent, "app-risk-categories", never, { "categoryList": { "alias": "categoryList"; "required": false; }; "allCategories": { "alias": "allCategories"; "required": false; }; "categoryIdKey": { "alias": "categoryIdKey"; "required": false; }; "selectedCategories": { "alias": "selectedCategories"; "required": false; }; }, { "saveSelectedCategory": "saveSelectedCategory"; "closeList": "closeList"; "closeCategoriesList": "closeCategoriesList"; }, never, never, false, never>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Configurations } from '../../configurations';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ConfigureWidgetsService {
|
|
5
|
+
private http;
|
|
6
|
+
env: any;
|
|
7
|
+
constructor(http: HttpClient, config?: Configurations);
|
|
8
|
+
riskWidgetsData: {
|
|
9
|
+
title: string;
|
|
10
|
+
id: string;
|
|
11
|
+
description: string;
|
|
12
|
+
widgetImage: string;
|
|
13
|
+
value: number;
|
|
14
|
+
}[];
|
|
15
|
+
auditWidgetsData: never[];
|
|
16
|
+
policyWidgetsData: never[];
|
|
17
|
+
dashBoardWidgetUpdate(widGetJson: any): import("rxjs").Observable<Object>;
|
|
18
|
+
moduleType(identifier: string): "RISK" | undefined;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsService, [null, { optional: true; }]>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigureWidgetsService>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { HttpClient, HttpParams } from '@angular/common/http';
|
|
2
|
+
import { Configurations } from '../../configurations';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CreateDashboardService {
|
|
5
|
+
private http;
|
|
6
|
+
env: any;
|
|
7
|
+
httpOptions: any;
|
|
8
|
+
constructor(http: HttpClient, config?: Configurations);
|
|
9
|
+
getOrganizationUsers(url?: any): import("rxjs").Observable<any>;
|
|
10
|
+
/**
|
|
11
|
+
* Fetches the OrganizationUsers details of users List to set pagination details including number of
|
|
12
|
+
* pages and records limit per page,
|
|
13
|
+
* @param url contains info about type & search query
|
|
14
|
+
*/
|
|
15
|
+
getOrganizationUsersCount(url?: any): import("rxjs").Observable<any>;
|
|
16
|
+
getCategoryList(): import("rxjs").Observable<any[]>;
|
|
17
|
+
/**
|
|
18
|
+
* Fetches all users by making an API call
|
|
19
|
+
*/
|
|
20
|
+
getAllUsers(): import("rxjs").Observable<ArrayBuffer>;
|
|
21
|
+
/**
|
|
22
|
+
* Fetches all groups by making an API call
|
|
23
|
+
* */
|
|
24
|
+
getAllGroups(params?: HttpParams): import("rxjs").Observable<Object>;
|
|
25
|
+
/**
|
|
26
|
+
* Fetches responsibilityCentersList by making an API call
|
|
27
|
+
*/
|
|
28
|
+
getResponsibilityCenterList(): import("rxjs").Observable<any[]>;
|
|
29
|
+
getComplianceCategoriesList(): import("rxjs").Observable<any[]>;
|
|
30
|
+
getComplianceCategoriesListFromGlobal(): import("rxjs").Observable<any[]>;
|
|
31
|
+
submitDashboard(payload: any): import("rxjs").Observable<Object>;
|
|
32
|
+
/**
|
|
33
|
+
* Fetches the Dashboard details for data population to Edit the dashboard
|
|
34
|
+
* @param id
|
|
35
|
+
*/
|
|
36
|
+
/** @deprecated Legacy Global-Dashboard edit fetch; custom dashboards use fetchCustomDashboardById + getWidgets. */
|
|
37
|
+
fetchDashboard(id: any): import("rxjs").Observable<ArrayBuffer>;
|
|
38
|
+
/**
|
|
39
|
+
* Edit mode only — GET Global-Dashboard/getWidgets?dashboardId={cdid}
|
|
40
|
+
* @param cdid Custom dashboard id (e.g. 438F8KSK22), not numeric record id
|
|
41
|
+
*/
|
|
42
|
+
fetchCustomDashboardWidgetDetails(cdid: string): import("rxjs").Observable<{
|
|
43
|
+
widgetArr: any[];
|
|
44
|
+
allWidgetsArray: any[];
|
|
45
|
+
activeWidgetArr: any[];
|
|
46
|
+
}>;
|
|
47
|
+
normalizeWidgetDetailsResponse(res: any): {
|
|
48
|
+
widgetArr: any[];
|
|
49
|
+
allWidgetsArray: any[];
|
|
50
|
+
activeWidgetArr: any[];
|
|
51
|
+
};
|
|
52
|
+
getSailsProgramList(): import("rxjs").Observable<ArrayBuffer>;
|
|
53
|
+
getProgramCategories(programId: string | number): import("rxjs").Observable<ArrayBuffer>;
|
|
54
|
+
/** Full custom dashboard payload (includes responsibilityCenterId, programId, etc.). */
|
|
55
|
+
fetchCustomDashboardById(id: string | number): import("rxjs").Observable<ArrayBuffer>;
|
|
56
|
+
getUserInformation(): import("rxjs").Observable<ArrayBuffer>;
|
|
57
|
+
_ID(): any;
|
|
58
|
+
checkDuplicateDashboardName(payload: any): import("rxjs").Observable<ArrayBuffer>;
|
|
59
|
+
createDashboard(payload: any): import("rxjs").Observable<ArrayBuffer>;
|
|
60
|
+
updateDashboard(payload: any, id: any): import("rxjs").Observable<ArrayBuffer>;
|
|
61
|
+
saveWidgetDetails(payload: any): import("rxjs").Observable<ArrayBuffer>;
|
|
62
|
+
buildPayload(payload: any): {
|
|
63
|
+
dashboard: {
|
|
64
|
+
name: any;
|
|
65
|
+
description: any;
|
|
66
|
+
viewer: {
|
|
67
|
+
userId: any;
|
|
68
|
+
userGroupId: any;
|
|
69
|
+
};
|
|
70
|
+
responsibilityCenterId: any;
|
|
71
|
+
programId: any;
|
|
72
|
+
timeframe: {
|
|
73
|
+
from: any;
|
|
74
|
+
to: any;
|
|
75
|
+
} | null;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardService, [null, { optional: true; }]>;
|
|
79
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CreateDashboardService>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PaginationService {
|
|
4
|
+
currentPage: number;
|
|
5
|
+
searchValue: string;
|
|
6
|
+
currentValues: BehaviorSubject<{}>;
|
|
7
|
+
constructor();
|
|
8
|
+
setCurrentState(): void;
|
|
9
|
+
reset(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PaginationService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { DashboardFooterConfig } from '../../ui-kit/dashboard-footer/dashboard-footer-config';
|
|
3
|
+
import { CreateDashboardService } from '../services/create-dashboard.service';
|
|
4
|
+
import { PaginationService } from '../services/pagination.service';
|
|
5
|
+
import { UserListConfiguration } from './user-list.config';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UserListComponent implements OnInit {
|
|
8
|
+
paginationService: PaginationService;
|
|
9
|
+
private dashboardService;
|
|
10
|
+
closeUserList: EventEmitter<any>;
|
|
11
|
+
saveSelectedUsers: EventEmitter<any>;
|
|
12
|
+
selectionType: string;
|
|
13
|
+
listDetails: UserListConfiguration;
|
|
14
|
+
footerDetails: DashboardFooterConfig;
|
|
15
|
+
vLoader: boolean;
|
|
16
|
+
vLoaderGroups: boolean;
|
|
17
|
+
ASSETS: {
|
|
18
|
+
dashBoardIcon: string;
|
|
19
|
+
dashBoardUsersIcon: string;
|
|
20
|
+
dashBoardRcIcon: string;
|
|
21
|
+
dashBoardProgramIcon: string;
|
|
22
|
+
dashBoardRiskIcon: string;
|
|
23
|
+
dashBoardTimeFrameIcon: string;
|
|
24
|
+
dashBoardEmailSummariesIcon: string;
|
|
25
|
+
configure_widget: string;
|
|
26
|
+
overviewWidget: string;
|
|
27
|
+
responsibilityCalenderWidget: string;
|
|
28
|
+
responsibilityCenterOverviewWidget: string;
|
|
29
|
+
myResponsibilitiesWidget: string;
|
|
30
|
+
keyResponsibilitiesWidget: string;
|
|
31
|
+
trendAnalysisWidget: string;
|
|
32
|
+
workroomUpdatesWidget: string;
|
|
33
|
+
recentActivitiesWidget: string;
|
|
34
|
+
exceptionSummaryWidget: string;
|
|
35
|
+
riskOverviewWidget: string;
|
|
36
|
+
appetiteToleranceWidget: string;
|
|
37
|
+
inherentRCWidget: string;
|
|
38
|
+
residualRCWidget: string;
|
|
39
|
+
riskCategoryOverviewWidget: string;
|
|
40
|
+
riskHeatmapWidget: string;
|
|
41
|
+
inherentCategoriesWidget: string;
|
|
42
|
+
residualCategoriesWidget: string;
|
|
43
|
+
tenRiskRatingsWidget: string;
|
|
44
|
+
search_data: string;
|
|
45
|
+
appetite_tolerance: string;
|
|
46
|
+
inherent_trend: string;
|
|
47
|
+
residual_trend: string;
|
|
48
|
+
risk_trend: string;
|
|
49
|
+
policyApproverView: string;
|
|
50
|
+
responsibilitiesByAssignee: string;
|
|
51
|
+
};
|
|
52
|
+
totalPages: number;
|
|
53
|
+
limit: number;
|
|
54
|
+
totalList: number;
|
|
55
|
+
feature: any;
|
|
56
|
+
totalgroupscount: any;
|
|
57
|
+
searchList: never[];
|
|
58
|
+
searchValue: string;
|
|
59
|
+
searchFilter: string;
|
|
60
|
+
selectedIds: any[];
|
|
61
|
+
selectedList: any[];
|
|
62
|
+
groupdata: any[];
|
|
63
|
+
animation: boolean;
|
|
64
|
+
totalgroups: any;
|
|
65
|
+
total_group_pages: any;
|
|
66
|
+
selectedGroupIds: any[];
|
|
67
|
+
groupsEnabled: any;
|
|
68
|
+
selectedgroupList: any[];
|
|
69
|
+
currentPage: number;
|
|
70
|
+
constructor(paginationService: PaginationService, dashboardService: CreateDashboardService);
|
|
71
|
+
ngOnChanges(): void;
|
|
72
|
+
ngOnInit(): void;
|
|
73
|
+
cancelChanges(): void;
|
|
74
|
+
removeElement(event: any): void;
|
|
75
|
+
submitChanges(): void;
|
|
76
|
+
selectAll(event: any): void;
|
|
77
|
+
/**
|
|
78
|
+
* Selects all admins and managers at once by making api call.
|
|
79
|
+
* @param event consists boolean value to select of unselect.
|
|
80
|
+
*/
|
|
81
|
+
selectAllUsers(event: any): void;
|
|
82
|
+
selectAllGroups(event: any): void;
|
|
83
|
+
selectAllsearchgroups(event: any): void;
|
|
84
|
+
/**
|
|
85
|
+
* Selects checked item from the list.
|
|
86
|
+
* In case of user's list calculates number of admins/manages to set visibility(either to all admins/ admins and managers)
|
|
87
|
+
* @param data is the selected element
|
|
88
|
+
*/
|
|
89
|
+
selectElement(data: any): void;
|
|
90
|
+
selectGroupElement(data: any): void;
|
|
91
|
+
/**
|
|
92
|
+
* It is used to set and search value incase of backend driven list to differentiate search list and original list
|
|
93
|
+
*/
|
|
94
|
+
setSearchValue(): void;
|
|
95
|
+
/**
|
|
96
|
+
* it is used check select all condition incase of backend driven search
|
|
97
|
+
*/
|
|
98
|
+
checkSelectAll(): boolean;
|
|
99
|
+
/**
|
|
100
|
+
* it is used check select all groups condition incase of backend driven search
|
|
101
|
+
*/
|
|
102
|
+
checkSelectAllGroups(): boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Filter list user's list based on pagination by making api call
|
|
105
|
+
* @param event specifies a boolean value to call api
|
|
106
|
+
*/
|
|
107
|
+
paginationFilter(event: any): void;
|
|
108
|
+
/**
|
|
109
|
+
* Gets user's list by making api call
|
|
110
|
+
* @param url contains userlist filter details
|
|
111
|
+
*/
|
|
112
|
+
getUsersList(url: any): void;
|
|
113
|
+
getGroupsList(event: any): void;
|
|
114
|
+
/**
|
|
115
|
+
* on click on next button from the list, it emits the selected list of elements to parent component.
|
|
116
|
+
*/
|
|
117
|
+
onSubmit(): void;
|
|
118
|
+
currentTab: string;
|
|
119
|
+
switchTab(tab: string): void;
|
|
120
|
+
getOrganizationUsersCount(Url: any): void;
|
|
121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserListComponent, never>;
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserListComponent, "app-user-list", never, { "selectionType": { "alias": "selectionType"; "required": false; }; "listDetails": { "alias": "listDetails"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "totalList": { "alias": "totalList"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "totalgroupscount": { "alias": "totalgroupscount"; "required": false; }; }, { "closeUserList": "closeUserList"; "saveSelectedUsers": "saveSelectedUsers"; }, never, never, false, never>;
|
|
123
|
+
}
|