vc-create-dashboard 3.0.67 → 3.0.68
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 +551 -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 +36 -0
- package/esm2022/lib/create-dashboard-container/create-dashboard-config.mjs +2 -0
- package/esm2022/lib/create-dashboard-container/create-dashboard.component.mjs +1119 -0
- package/esm2022/lib/create-dashboard-container/create-dashboard.module.mjs +123 -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.pipe.mjs +25 -0
- package/esm2022/lib/create-dashboard-container/pipes/text-count.pipe.mjs +19 -0
- package/esm2022/lib/create-dashboard-container/responsibility-center/responsibility-center.component.mjs +149 -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/auth.service.mjs +31 -0
- package/esm2022/lib/create-dashboard-container/services/configure-widgets.service.mjs +230 -0
- package/esm2022/lib/create-dashboard-container/services/create-dashboard.service.mjs +160 -0
- package/esm2022/lib/create-dashboard-container/services/pagination.service.mjs +28 -0
- package/esm2022/lib/create-dashboard-container/services/urlConfig.service.mjs +29 -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.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 +99 -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/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 +142 -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 +5494 -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 +65 -0
- package/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.d.ts +122 -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 +34 -0
- package/lib/create-dashboard-container/create-dashboard-config.d.ts +18 -0
- package/lib/create-dashboard-container/create-dashboard.component.d.ts +178 -0
- package/lib/create-dashboard-container/create-dashboard.module.d.ts +36 -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.pipe.d.ts +7 -0
- package/lib/create-dashboard-container/pipes/text-count.pipe.d.ts +7 -0
- package/lib/create-dashboard-container/responsibility-center/responsibility-center.component.d.ts +61 -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 +65 -0
- package/lib/create-dashboard-container/services/auth.service.d.ts +11 -0
- package/lib/create-dashboard-container/services/configure-widgets.service.d.ts +38 -0
- package/lib/create-dashboard-container/services/create-dashboard.service.d.ts +45 -0
- package/lib/create-dashboard-container/services/pagination.service.d.ts +12 -0
- package/lib/create-dashboard-container/services/urlConfig.service.d.ts +10 -0
- package/lib/create-dashboard-container/user-list/user-list.component.d.ts +122 -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.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/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 +17 -3
- 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 -589
- 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 -36
- 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 -1276
- package/src/lib/create-dashboard-container/create-dashboard.component.less +0 -1453
- package/src/lib/create-dashboard-container/create-dashboard.component.ts +0 -1333
- package/src/lib/create-dashboard-container/create-dashboard.module.ts +0 -75
- 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.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 -15
- 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 -245
- 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 -220
- 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.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 -1
- package/src/lib/ui-kit/action-dialog/active/active.component.less +0 -0
- package/src/lib/ui-kit/action-dialog/active/active.component.ts +0 -12
- 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 -23
- 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 -12
- 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 -114
- 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/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 -124
- 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 -33
- 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
|
@@ -1,451 +0,0 @@
|
|
|
1
|
-
@import url("https://cdn.v-comply.com/design-system/css/icons/icons.css");
|
|
2
|
-
@import url("https://cdn.v-comply.com/design-system/css/display/display.css");
|
|
3
|
-
@import url("https://cdn.v-comply.com/design-system/css/alignment/alignment.css");
|
|
4
|
-
@import url("https://cdn.v-comply.com/design-system/css/text/text.css");
|
|
5
|
-
@import url("https://cdn.v-comply.com/design-system/css/color/color.css");
|
|
6
|
-
@import url("https://cdn.v-comply.com/design-system/css/width/width.css");
|
|
7
|
-
@import url("https://cdn.v-comply.com/design-system/css/margin/margin.css");
|
|
8
|
-
@import url("https://cdn.v-comply.com/design-system/css/margin/margin-top.css");
|
|
9
|
-
@import url("https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css");
|
|
10
|
-
@import url("https://cdn.v-comply.com/design-system/css/margin/margin-left.css");
|
|
11
|
-
@import url("https://cdn.v-comply.com/design-system/css/margin/margin-right.css");
|
|
12
|
-
@import url("https://cdn.v-comply.com/design-system/css/padding/padding.css");
|
|
13
|
-
@import url("https://cdn.v-comply.com/design-system/css/padding/padding-top.css");
|
|
14
|
-
@import url("https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css");
|
|
15
|
-
@import url("https://cdn.v-comply.com/design-system/css/padding/padding-left.css");
|
|
16
|
-
@import url("https://cdn.v-comply.com/design-system/css/padding/padding-right.css");
|
|
17
|
-
|
|
18
|
-
::ng-deep .user-list {
|
|
19
|
-
background: #FFFFFF;
|
|
20
|
-
border-right: 1px solid #F1F1F1;
|
|
21
|
-
position: fixed;
|
|
22
|
-
top: 0;
|
|
23
|
-
right: 500px;
|
|
24
|
-
bottom: 0;
|
|
25
|
-
left: 0;
|
|
26
|
-
|
|
27
|
-
&-head {
|
|
28
|
-
background: #fbfbfb;
|
|
29
|
-
height: 2.75rem;
|
|
30
|
-
border-bottom: 1px solid #f1f1f1;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&-body {
|
|
34
|
-
height: calc(100vh - 2.75rem);
|
|
35
|
-
padding: 2rem;
|
|
36
|
-
position: relative;
|
|
37
|
-
|
|
38
|
-
&-top {
|
|
39
|
-
display : flex;
|
|
40
|
-
justify-content: space-between;
|
|
41
|
-
padding : 0 0 16px 0;
|
|
42
|
-
|
|
43
|
-
app-cs-checkbox {
|
|
44
|
-
display: flex;
|
|
45
|
-
|
|
46
|
-
label {
|
|
47
|
-
span.value {
|
|
48
|
-
margin-left: 9px !important;
|
|
49
|
-
|
|
50
|
-
strong {
|
|
51
|
-
color : #161b2f;
|
|
52
|
-
font-size : 12px;
|
|
53
|
-
font-weight: 600;
|
|
54
|
-
white-space: nowrap;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.selection-list {
|
|
62
|
-
height: calc(100vh - 16rem);
|
|
63
|
-
overflow : hidden;
|
|
64
|
-
overflow-y: auto;
|
|
65
|
-
|
|
66
|
-
&::-webkit-scrollbar-track {
|
|
67
|
-
background: transparent;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&.with-pagination {
|
|
71
|
-
height: calc(100vh - 18rem);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&.with-group {
|
|
75
|
-
height: calc(100vh - 18.1rem);
|
|
76
|
-
|
|
77
|
-
&.with-pagination {
|
|
78
|
-
height: calc(100vh - 20.1rem);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&.with-noData {
|
|
82
|
-
height: calc(100vh - 16.1rem);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
ul {
|
|
87
|
-
padding: 0;
|
|
88
|
-
margin: 0;
|
|
89
|
-
display : flex;
|
|
90
|
-
align-items: flex-start;
|
|
91
|
-
flex-wrap : wrap;
|
|
92
|
-
|
|
93
|
-
li {
|
|
94
|
-
width : 50%;
|
|
95
|
-
padding : 0 20px 4px 0;
|
|
96
|
-
margin-bottom: 12px;
|
|
97
|
-
list-style: none;
|
|
98
|
-
|
|
99
|
-
app-cs-checkbox,
|
|
100
|
-
app-cs-radio {
|
|
101
|
-
display: flex;
|
|
102
|
-
|
|
103
|
-
label {
|
|
104
|
-
width: 100%;
|
|
105
|
-
|
|
106
|
-
span.value {
|
|
107
|
-
width : auto;
|
|
108
|
-
justify-content: flex-start;
|
|
109
|
-
flex-wrap : wrap;
|
|
110
|
-
margin-left: 8px !important;
|
|
111
|
-
color: #161b2f !important;
|
|
112
|
-
font-size: 12px !important;
|
|
113
|
-
|
|
114
|
-
span {
|
|
115
|
-
&.name {
|
|
116
|
-
color : #161b2f;
|
|
117
|
-
font-weight: 400;
|
|
118
|
-
line-height: 20px;
|
|
119
|
-
display : block;
|
|
120
|
-
width : 100%;
|
|
121
|
-
font-size : 13px;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&.position {
|
|
125
|
-
border-radius : 2px;
|
|
126
|
-
display : inline-flex;
|
|
127
|
-
height : 12px;
|
|
128
|
-
align-items : center;
|
|
129
|
-
padding : 0 2px;
|
|
130
|
-
text-transform: uppercase;
|
|
131
|
-
font-size : 9px;
|
|
132
|
-
line-height : 12px;
|
|
133
|
-
font-weight : 500;
|
|
134
|
-
|
|
135
|
-
&.admin {
|
|
136
|
-
background: #fff9e6;
|
|
137
|
-
color : #f2bf19;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&.key-admin {
|
|
141
|
-
background: #dff2e1;
|
|
142
|
-
color : #34aa44;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&.manager {
|
|
146
|
-
background: #d4e2fc;
|
|
147
|
-
color : #4681ef;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
&.executive {
|
|
151
|
-
color : #747576;
|
|
152
|
-
background: #f1f1f1;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.pagination-box {
|
|
164
|
-
app-pagination {
|
|
165
|
-
.pagination-box {
|
|
166
|
-
margin-bottom: .5rem !important;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.list-of-user {
|
|
172
|
-
app-no-data {
|
|
173
|
-
.no-data-wrapper {
|
|
174
|
-
height: calc(100vh - 16.125rem);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
&-search {
|
|
181
|
-
position: relative;
|
|
182
|
-
|
|
183
|
-
input {
|
|
184
|
-
height : 2.75rem;
|
|
185
|
-
line-height : 1.5rem;
|
|
186
|
-
padding : .5rem 1rem .5rem 2.5rem;
|
|
187
|
-
outline : none;
|
|
188
|
-
border : 1px solid #7475763f;
|
|
189
|
-
border-radius: .25rem;
|
|
190
|
-
width : 100%;
|
|
191
|
-
font-size : 14px;
|
|
192
|
-
color : #747576;
|
|
193
|
-
|
|
194
|
-
&:focus {
|
|
195
|
-
border-color: #1e5dd3;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
i {
|
|
200
|
-
position: absolute;
|
|
201
|
-
left: 1rem;
|
|
202
|
-
top: 1rem;
|
|
203
|
-
pointer-events: none;
|
|
204
|
-
color: #f1f1f1;
|
|
205
|
-
font-size: 12px;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
&-tab {
|
|
210
|
-
border-bottom: 1px solid #dbdbdb;
|
|
211
|
-
|
|
212
|
-
button {
|
|
213
|
-
&.tab-btn {
|
|
214
|
-
background: transparent;
|
|
215
|
-
border-radius: 0;
|
|
216
|
-
border: none;
|
|
217
|
-
border-bottom: 3px solid transparent;
|
|
218
|
-
margin-right: 1.75rem !important;
|
|
219
|
-
padding-bottom: 6px !important;
|
|
220
|
-
|
|
221
|
-
span {
|
|
222
|
-
border-radius: 1.25rem;
|
|
223
|
-
color: #74757680;
|
|
224
|
-
min-width: 1.5rem;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
&.active {
|
|
229
|
-
pointer-events: none;
|
|
230
|
-
|
|
231
|
-
&.tab-btn {
|
|
232
|
-
border-color: #1E5DD3;
|
|
233
|
-
color: #1E5DD3;
|
|
234
|
-
|
|
235
|
-
span {
|
|
236
|
-
background: #1E5DD3;
|
|
237
|
-
color: #fff;
|
|
238
|
-
font-weight: 500;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
&-mid {
|
|
246
|
-
width: calc(100% + .75rem);
|
|
247
|
-
height: calc(100vh - 15.6rem);
|
|
248
|
-
overflow: auto;
|
|
249
|
-
padding-right: .75rem;
|
|
250
|
-
|
|
251
|
-
&::-webkit-scrollbar-track {
|
|
252
|
-
background-color: #fff;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
&.with-pagination {
|
|
256
|
-
height: calc(100vh - 17.6rem);
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.user-list {
|
|
260
|
-
&-select {
|
|
261
|
-
background: #fff;
|
|
262
|
-
position: sticky;
|
|
263
|
-
top: 0;
|
|
264
|
-
z-index: 1;
|
|
265
|
-
|
|
266
|
-
app-cs-checkbox,
|
|
267
|
-
app-cs-checkbox-indeterminate {
|
|
268
|
-
display: flex;
|
|
269
|
-
|
|
270
|
-
.checkbox-item {
|
|
271
|
-
position: relative;
|
|
272
|
-
padding-left: 1.5rem;
|
|
273
|
-
width: 100%;
|
|
274
|
-
|
|
275
|
-
.checkbox {
|
|
276
|
-
position: absolute !important;
|
|
277
|
-
left: 0;
|
|
278
|
-
top: 0;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.checkmark {
|
|
282
|
-
position: absolute !important;
|
|
283
|
-
left: 0;
|
|
284
|
-
top: 0;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
span {
|
|
288
|
-
justify-content: unset !important;
|
|
289
|
-
margin: 0 !important;
|
|
290
|
-
|
|
291
|
-
&.value {
|
|
292
|
-
color: #747576 !important;
|
|
293
|
-
font-size: 11px !important;
|
|
294
|
-
font-weight: 600 !important;
|
|
295
|
-
text-transform: uppercase !important;
|
|
296
|
-
width: 100%;
|
|
297
|
-
|
|
298
|
-
.user-name {
|
|
299
|
-
text-overflow: ellipsis;
|
|
300
|
-
white-space: nowrap;
|
|
301
|
-
overflow: hidden;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
&-item {
|
|
310
|
-
ul {
|
|
311
|
-
list-style-type: none;
|
|
312
|
-
align-items: flex-start;
|
|
313
|
-
flex-wrap: wrap;
|
|
314
|
-
|
|
315
|
-
li {
|
|
316
|
-
width: 50%;
|
|
317
|
-
|
|
318
|
-
app-cs-checkbox {
|
|
319
|
-
width: calc(100% - 4.5rem);
|
|
320
|
-
display: flex;
|
|
321
|
-
|
|
322
|
-
.checkbox-item {
|
|
323
|
-
position: relative;
|
|
324
|
-
padding-left: 1.5rem;
|
|
325
|
-
width: 100%;
|
|
326
|
-
|
|
327
|
-
.checkbox {
|
|
328
|
-
position: absolute !important;
|
|
329
|
-
left: 0;
|
|
330
|
-
top: 0;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.checkmark {
|
|
334
|
-
position: absolute !important;
|
|
335
|
-
left: 0;
|
|
336
|
-
top: 0;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
span {
|
|
340
|
-
justify-content: unset !important;
|
|
341
|
-
margin: 0 !important;
|
|
342
|
-
|
|
343
|
-
&.value {
|
|
344
|
-
color: #161b2f !important;
|
|
345
|
-
font-size: 12px !important;
|
|
346
|
-
width: 100%;
|
|
347
|
-
|
|
348
|
-
.user-name {
|
|
349
|
-
text-overflow: ellipsis;
|
|
350
|
-
white-space: nowrap;
|
|
351
|
-
overflow: hidden;
|
|
352
|
-
|
|
353
|
-
.group-name{
|
|
354
|
-
text-overflow: ellipsis;
|
|
355
|
-
white-space: nowrap;
|
|
356
|
-
overflow: hidden;
|
|
357
|
-
max-width: calc(100% - 40px);
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
.counter {
|
|
363
|
-
background: #f1f1f1;
|
|
364
|
-
border-radius: .125rem;
|
|
365
|
-
color: #042E7D;
|
|
366
|
-
margin-left: .5rem !important;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
app-no-data {
|
|
379
|
-
.no-data-wrapper {
|
|
380
|
-
height: calc(100vh - 15.625rem);
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
::ng-deep .user-floating-bar {
|
|
387
|
-
&-container {
|
|
388
|
-
height: 48px;
|
|
389
|
-
border-radius: 4px;
|
|
390
|
-
box-shadow: 0 6px 12px #4681ef26;
|
|
391
|
-
border: 1px solid #f8f8f8;
|
|
392
|
-
padding: 8px 12px;
|
|
393
|
-
position: relative;
|
|
394
|
-
background: #FFFFFF;
|
|
395
|
-
width: 100%;
|
|
396
|
-
|
|
397
|
-
.left {
|
|
398
|
-
.counter {
|
|
399
|
-
background: #34AA44;
|
|
400
|
-
border-radius: 1.25rem;
|
|
401
|
-
border: none;
|
|
402
|
-
min-width: 1.5rem;
|
|
403
|
-
height: 1rem;
|
|
404
|
-
|
|
405
|
-
&.group {
|
|
406
|
-
background: #1e5dd3;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.right {
|
|
412
|
-
display : flex;
|
|
413
|
-
align-items: center;
|
|
414
|
-
|
|
415
|
-
button {
|
|
416
|
-
border-radius: 2px;
|
|
417
|
-
height: 24px;
|
|
418
|
-
background: #1e5dd3!important;
|
|
419
|
-
display: flex;
|
|
420
|
-
justify-content: center;
|
|
421
|
-
align-items: center;
|
|
422
|
-
cursor: pointer;
|
|
423
|
-
color: #fff!important;
|
|
424
|
-
text-transform: uppercase;
|
|
425
|
-
font-size: 11px;
|
|
426
|
-
font-weight: 500;
|
|
427
|
-
border: none!important;
|
|
428
|
-
padding: 0 8px;
|
|
429
|
-
margin: 0 0 0 8px;
|
|
430
|
-
|
|
431
|
-
i {
|
|
432
|
-
margin-left: 8px;
|
|
433
|
-
font-size: 11px;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
&:disabled {
|
|
437
|
-
filter : unset;
|
|
438
|
-
background: #F1F1F1!important;
|
|
439
|
-
color: #747576!important;
|
|
440
|
-
opacity: 1;
|
|
441
|
-
pointer-events: none;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
&.cancel {
|
|
445
|
-
background: transparent!important;
|
|
446
|
-
color: #eb2424!important;
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { HttpClientModule } from '@angular/common/http';
|
|
2
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
3
|
-
|
|
4
|
-
import { UserListComponent } from './user-list.component';
|
|
5
|
-
import { FormsModule } from '@angular/forms';
|
|
6
|
-
import { DashboardFooterModule } from '../../ui-kit/dashboard-footer/dashboard-footer.module';
|
|
7
|
-
import { FloatingBarModule } from '../../ui-kit/floating-bar/floating-bar.module';
|
|
8
|
-
import { SelectModule } from '../../ui-kit/select/select.module';
|
|
9
|
-
import { TooltipModule } from '../../ui-kit/tooltip/tooltip.module';
|
|
10
|
-
import { FilterPipe } from '../pipes/filter.pipe';
|
|
11
|
-
import { CommonModule } from '@angular/common';
|
|
12
|
-
// import { CreateDashboardService } from 'projects/create-dashboard/src/public-api';
|
|
13
|
-
import { CreateDashboardService } from '../services/create-dashboard.service';
|
|
14
|
-
import { PaginationService } from '../services/pagination.service';
|
|
15
|
-
import { of } from 'rxjs';
|
|
16
|
-
import { By } from '@angular/platform-browser';
|
|
17
|
-
import { FeatureFlagService } from 'src/app/layout/featureFlag/feature-flag.service';
|
|
18
|
-
describe('UserListComponent', () => {
|
|
19
|
-
let component: UserListComponent;
|
|
20
|
-
let fixture: ComponentFixture<UserListComponent>;
|
|
21
|
-
let mockCreateDashboardService: CreateDashboardService;
|
|
22
|
-
let mockPaginationService: any;
|
|
23
|
-
let groupsIds = [860, 857]
|
|
24
|
-
let groupslist = [{ "old_group_id": 0, "member_ids": [18282, 18262, 18503, 18521, 17924], "removed_member_ids": [], "group_type": "vcomply", "state": 1, "_id": "63807db50067e1000852d62b", "group_name": "abc", "group_description": "", "roles": [{ "_id": "638d923ebb03890008a2c7b9", "roleId": { "_id": "6387478a721ddf000839fcda", "roleName": "Manage Program Permission Group", "licenseType": "power users", "id": "6387478a721ddf000839fcda" } }], "associatedUsers": [{ "_id": "638d923ebb03890008a2c7b4", "userId": { "profile_pic": "", "license_type": "power users", "_id": "6361fbe19f6cda0008120e49", "member_name": "A3", "member_email": "a3@fdfd.com", "member_id": 18282 } }, { "_id": "638d923ebb03890008a2c7b5", "userId": { "profile_pic": "", "license_type": "power users", "_id": "63523a540aa9a200094da903", "member_name": "A2", "member_email": "a2@fdfd.com", "member_id": 18262 } }, { "_id": "638d923ebb03890008a2c7b6", "userId": { "profile_pic": "", "license_type": "power users", "_id": "637f59bd9b20b00008e763a3", "member_name": "LightUser1", "member_email": "light@fdfd.com", "member_id": 18503 } }, { "_id": "638d923ebb03890008a2c7b7", "userId": { "profile_pic": "", "license_type": "power users", "_id": "6388501a057eaf000886b647", "member_name": "A4", "member_email": "a4@fdfd.com", "member_id": 18521 } }, { "_id": "638d923ebb03890008a2c7b8", "userId": { "profile_pic": "", "license_type": "power users", "_id": "623ac9fa46968d0009c8f0ed", "member_name": "A1", "member_email": "a1@fdfd.com", "member_id": 17924 } }], "organisation_id": 3452, "created_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "modified_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "created_at": 1669365173, "updated_at": 1670222398, "member_count": 5, "group_id": 853, "__v": 0 },
|
|
25
|
-
{ "old_group_id": 0, "member_ids": [17924, 18262], "removed_member_ids": [], "group_type": "vcomply", "state": 1, "_id": "638b19553d93f900082d5f51", "group_name": "check group with reviewer", "group_description": "", "roles": [{ "_id": "638b19553d93f900082d5f52", "roleId": { "_id": "6387478a721ddf000839fcda", "roleName": "Manage Program Permission Group", "licenseType": "power users", "id": "6387478a721ddf000839fcda" } }, { "_id": "638b19553d93f900082d5f53", "roleId": { "_id": "623ac7cb249833000910502c", "roleName": "Manager", "licenseType": "power users", "id": "623ac7cb249833000910502c" } }, { "_id": "638b19553d93f900082d5f54", "roleId": { "_id": "623ac7cb249833000910506c", "roleName": "Admin", "licenseType": "power users", "id": "623ac7cb249833000910506c" } }], "associatedUsers": [{ "_id": "638b19553d93f900082d5f55", "userId": { "profile_pic": "", "license_type": "power users", "_id": "623ac9fa46968d0009c8f0ed", "member_name": "A1", "member_email": "a1@fdfd.com", "member_id": 17924 } }, { "_id": "638b19553d93f900082d5f56", "userId": { "profile_pic": "", "license_type": "power users", "_id": "63523a540aa9a200094da903", "member_name": "A2", "member_email": "a2@fdfd.com", "member_id": 18262 } }], "organisation_id": 3452, "created_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "modified_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "created_at": 1670060373, "updated_at": 1670060373, "member_count": 2, "group_id": 860, "__v": 0 }]
|
|
26
|
-
let service: FeatureFlagService;
|
|
27
|
-
beforeEach(async () => {
|
|
28
|
-
// mockCreateDashboardService = jasmine.createSpyObj(['getAllUsers', 'getOrganizationUsers','getAllGroups']);
|
|
29
|
-
mockPaginationService = jasmine.createSpyObj(['currentPage', 'searchValue']);
|
|
30
|
-
|
|
31
|
-
await TestBed.configureTestingModule({
|
|
32
|
-
declarations: [UserListComponent, FilterPipe],
|
|
33
|
-
imports: [HttpClientModule,
|
|
34
|
-
CommonModule,
|
|
35
|
-
FormsModule,
|
|
36
|
-
TooltipModule,
|
|
37
|
-
SelectModule,
|
|
38
|
-
DashboardFooterModule,
|
|
39
|
-
FloatingBarModule,],
|
|
40
|
-
providers: [
|
|
41
|
-
{ provide: CreateDashboardService, useValue: { getOrganizationUsers: () => of(), getAllGroups: () => of() } },
|
|
42
|
-
{ provide: PaginationService, useValue: mockPaginationService },
|
|
43
|
-
{
|
|
44
|
-
provide: FeatureFlagService,
|
|
45
|
-
useValue: {
|
|
46
|
-
isFeatureEnabled: () => of({
|
|
47
|
-
"ff_groups_improvements": {
|
|
48
|
-
"enabled": true
|
|
49
|
-
}
|
|
50
|
-
})
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
|
|
55
|
-
})
|
|
56
|
-
.compileComponents();
|
|
57
|
-
mockCreateDashboardService = TestBed.inject(CreateDashboardService);
|
|
58
|
-
service = TestBed.inject(FeatureFlagService);
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
beforeEach(() => {
|
|
62
|
-
fixture = TestBed.createComponent(UserListComponent);
|
|
63
|
-
component = fixture.componentInstance;
|
|
64
|
-
fixture.detectChanges();
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
it('should create', () => {
|
|
68
|
-
expect(component).toBeTruthy();
|
|
69
|
-
});
|
|
70
|
-
it("Select All should work as for user group", () => {
|
|
71
|
-
spyOn(mockCreateDashboardService, 'getAllGroups').and.returnValue(of({ "items_from": 1, "total_items": 3, "total_pages": 1, "items_to": 3, "data": [{ "old_group_id": 0, "member_ids": [17924, 18262], "removed_member_ids": [], "group_type": "vcomply", "state": 1, "_id": "638b19553d93f900082d5f51", "group_name": "check group with reviewer", "group_description": "", "roles": [{ "_id": "638b19553d93f900082d5f52", "roleId": { "_id": "6387478a721ddf000839fcda", "roleName": "Manage Program Permission Group", "licenseType": "power users", "id": "6387478a721ddf000839fcda" } }, { "_id": "638b19553d93f900082d5f53", "roleId": { "_id": "623ac7cb249833000910502c", "roleName": "Manager", "licenseType": "power users", "id": "623ac7cb249833000910502c" } }, { "_id": "638b19553d93f900082d5f54", "roleId": { "_id": "623ac7cb249833000910506c", "roleName": "Admin", "licenseType": "power users", "id": "623ac7cb249833000910506c" } }], "associatedUsers": [{ "_id": "638b19553d93f900082d5f55", "userId": { "profile_pic": "", "license_type": "power users", "_id": "623ac9fa46968d0009c8f0ed", "member_name": "A1", "member_email": "a1@fdfd.com", "member_id": 17924 } }, { "_id": "638b19553d93f900082d5f56", "userId": { "profile_pic": "", "license_type": "power users", "_id": "63523a540aa9a200094da903", "member_name": "A2", "member_email": "a2@fdfd.com", "member_id": 18262 } }], "organisation_id": 3452, "created_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "modified_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "created_at": 1670060373, "updated_at": 1670060373, "member_count": 2, "group_id": 860, "__v": 0 }] }));
|
|
72
|
-
component.groupsEnabled = true;
|
|
73
|
-
component.selectAllGroups(true);
|
|
74
|
-
component.listDetails.groupIdkey = 'group_id'
|
|
75
|
-
component.selectedGroupIds = groupsIds
|
|
76
|
-
fixture.detectChanges();
|
|
77
|
-
expect(component.selectedGroupIds).toEqual(groupsIds)
|
|
78
|
-
})
|
|
79
|
-
it('deselectAll should work as for user group', () => {
|
|
80
|
-
spyOn(mockCreateDashboardService, 'getAllGroups').and.returnValue(of({ "items_from": 1, "total_items": 3, "total_pages": 1, "items_to": 3, "data": [{ "old_group_id": 0, "member_ids": [17924, 18262], "removed_member_ids": [], "group_type": "vcomply", "state": 1, "_id": "638b19553d93f900082d5f51", "group_name": "check group with reviewer", "group_description": "", "roles": [{ "_id": "638b19553d93f900082d5f52", "roleId": { "_id": "6387478a721ddf000839fcda", "roleName": "Manage Program Permission Group", "licenseType": "power users", "id": "6387478a721ddf000839fcda" } }, { "_id": "638b19553d93f900082d5f53", "roleId": { "_id": "623ac7cb249833000910502c", "roleName": "Manager", "licenseType": "power users", "id": "623ac7cb249833000910502c" } }, { "_id": "638b19553d93f900082d5f54", "roleId": { "_id": "623ac7cb249833000910506c", "roleName": "Admin", "licenseType": "power users", "id": "623ac7cb249833000910506c" } }], "associatedUsers": [{ "_id": "638b19553d93f900082d5f55", "userId": { "profile_pic": "", "license_type": "power users", "_id": "623ac9fa46968d0009c8f0ed", "member_name": "A1", "member_email": "a1@fdfd.com", "member_id": 17924 } }, { "_id": "638b19553d93f900082d5f56", "userId": { "profile_pic": "", "license_type": "power users", "_id": "63523a540aa9a200094da903", "member_name": "A2", "member_email": "a2@fdfd.com", "member_id": 18262 } }], "organisation_id": 3452, "created_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "modified_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "created_at": 1670060373, "updated_at": 1670060373, "member_count": 2, "group_id": 860, "__v": 0 }] }));
|
|
81
|
-
component.selectAllGroups(false);
|
|
82
|
-
fixture.detectChanges();
|
|
83
|
-
expect(component.selectedGroupIds).toEqual([])
|
|
84
|
-
})
|
|
85
|
-
it('check selectGroup ', () => {
|
|
86
|
-
component.groupsEnabled = true;
|
|
87
|
-
component.selectedGroupIds = [860]
|
|
88
|
-
component.listDetails.groupIdkey = 'group_id'
|
|
89
|
-
component.selectGroupElement(groupslist)
|
|
90
|
-
fixture.detectChanges()
|
|
91
|
-
expect(component.selectedGroupIds.length).toEqual(2)
|
|
92
|
-
})
|
|
93
|
-
it('switchtab for user and user groups', () => {
|
|
94
|
-
spyOn(mockCreateDashboardService, 'getAllGroups').and.returnValue(of({ "items_from": 1, "total_items": 3, "total_pages": 1, "items_to": 3, "data": [{ "old_group_id": 0, "member_ids": [17924, 18262], "removed_member_ids": [], "group_type": "vcomply", "state": 1, "_id": "638b19553d93f900082d5f51", "group_name": "check group with reviewer", "group_description": "", "roles": [{ "_id": "638b19553d93f900082d5f52", "roleId": { "_id": "6387478a721ddf000839fcda", "roleName": "Manage Program Permission Group", "licenseType": "power users", "id": "6387478a721ddf000839fcda" } }, { "_id": "638b19553d93f900082d5f53", "roleId": { "_id": "623ac7cb249833000910502c", "roleName": "Manager", "licenseType": "power users", "id": "623ac7cb249833000910502c" } }, { "_id": "638b19553d93f900082d5f54", "roleId": { "_id": "623ac7cb249833000910506c", "roleName": "Admin", "licenseType": "power users", "id": "623ac7cb249833000910506c" } }], "associatedUsers": [{ "_id": "638b19553d93f900082d5f55", "userId": { "profile_pic": "", "license_type": "power users", "_id": "623ac9fa46968d0009c8f0ed", "member_name": "A1", "member_email": "a1@fdfd.com", "member_id": 17924 } }, { "_id": "638b19553d93f900082d5f56", "userId": { "profile_pic": "", "license_type": "power users", "_id": "63523a540aa9a200094da903", "member_name": "A2", "member_email": "a2@fdfd.com", "member_id": 18262 } }], "organisation_id": 3452, "created_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "modified_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "created_at": 1670060373, "updated_at": 1670060373, "member_count": 2, "group_id": 860, "__v": 0 }] }));
|
|
95
|
-
component.groupsEnabled = true;
|
|
96
|
-
component.switchTab('GROUP')
|
|
97
|
-
const value = fixture.debugElement.nativeElement.querySelector('#switchtab');
|
|
98
|
-
fixture.detectChanges()
|
|
99
|
-
expect(component.currentTab).toEqual('GROUP')
|
|
100
|
-
expect(component.searchValue).toEqual('')
|
|
101
|
-
expect(component.totalgroups).toEqual(3)
|
|
102
|
-
})
|
|
103
|
-
it('verify the pagination for User Group', () => {
|
|
104
|
-
spyOn(mockCreateDashboardService, 'getAllGroups').and.returnValue(of({ "items_from": 1, "total_items": 3, "total_pages": 1, "items_to": 3, "data": [{ "old_group_id": 0, "member_ids": [17924, 18262], "removed_member_ids": [], "group_type": "vcomply", "state": 1, "_id": "638b19553d93f900082d5f51", "group_name": "check group with reviewer", "group_description": "", "roles": [{ "_id": "638b19553d93f900082d5f52", "roleId": { "_id": "6387478a721ddf000839fcda", "roleName": "Manage Program Permission Group", "licenseType": "power users", "id": "6387478a721ddf000839fcda" } }, { "_id": "638b19553d93f900082d5f53", "roleId": { "_id": "623ac7cb249833000910502c", "roleName": "Manager", "licenseType": "power users", "id": "623ac7cb249833000910502c" } }, { "_id": "638b19553d93f900082d5f54", "roleId": { "_id": "623ac7cb249833000910506c", "roleName": "Admin", "licenseType": "power users", "id": "623ac7cb249833000910506c" } }], "associatedUsers": [{ "_id": "638b19553d93f900082d5f55", "userId": { "profile_pic": "", "license_type": "power users", "_id": "623ac9fa46968d0009c8f0ed", "member_name": "A1", "member_email": "a1@fdfd.com", "member_id": 17924 } }, { "_id": "638b19553d93f900082d5f56", "userId": { "profile_pic": "", "license_type": "power users", "_id": "63523a540aa9a200094da903", "member_name": "A2", "member_email": "a2@fdfd.com", "member_id": 18262 } }], "organisation_id": 3452, "created_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "modified_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "created_at": 1670060373, "updated_at": 1670060373, "member_count": 2, "group_id": 860, "__v": 0 }] }));
|
|
105
|
-
component.groupsEnabled = true;
|
|
106
|
-
component.currentTab = 'GROUP';
|
|
107
|
-
component.paginationFilter(true)
|
|
108
|
-
component.getGroupsList({ page: 1, groupName: "check" })
|
|
109
|
-
expect(component.totalPages).toEqual(1)
|
|
110
|
-
expect(component.totalgroups).toEqual(3)
|
|
111
|
-
})
|
|
112
|
-
it('verify the search for User Group', () => {
|
|
113
|
-
spyOn(mockCreateDashboardService, 'getAllGroups').and.returnValue(of({ "items_from": 1, "total_items": 3, "total_pages": 1, "items_to": 3, "data": [{ "old_group_id": 0, "member_ids": [17924, 18262], "removed_member_ids": [], "group_type": "vcomply", "state": 1, "_id": "638b19553d93f900082d5f51", "group_name": "check group with reviewer", "group_description": "", "roles": [{ "_id": "638b19553d93f900082d5f52", "roleId": { "_id": "6387478a721ddf000839fcda", "roleName": "Manage Program Permission Group", "licenseType": "power users", "id": "6387478a721ddf000839fcda" } }, { "_id": "638b19553d93f900082d5f53", "roleId": { "_id": "623ac7cb249833000910502c", "roleName": "Manager", "licenseType": "power users", "id": "623ac7cb249833000910502c" } }, { "_id": "638b19553d93f900082d5f54", "roleId": { "_id": "623ac7cb249833000910506c", "roleName": "Admin", "licenseType": "power users", "id": "623ac7cb249833000910506c" } }], "associatedUsers": [{ "_id": "638b19553d93f900082d5f55", "userId": { "profile_pic": "", "license_type": "power users", "_id": "623ac9fa46968d0009c8f0ed", "member_name": "A1", "member_email": "a1@fdfd.com", "member_id": 17924 } }, { "_id": "638b19553d93f900082d5f56", "userId": { "profile_pic": "", "license_type": "power users", "_id": "63523a540aa9a200094da903", "member_name": "A2", "member_email": "a2@fdfd.com", "member_id": 18262 } }], "organisation_id": 3452, "created_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "modified_by": { "profile_pic": "", "_id": "623ac7c92498330009104f71", "member_name": "D1", "member_email": "test@fdfd.com", "member_id": 17923 }, "created_at": 1670060373, "updated_at": 1670060373, "member_count": 2, "group_id": 860, "__v": 0 }] }));
|
|
114
|
-
component.groupsEnabled = true;
|
|
115
|
-
component.currentTab = 'GROUP';
|
|
116
|
-
component.paginationFilter(true)
|
|
117
|
-
component.getGroupsList({ groupName: "check" })
|
|
118
|
-
component.searchValue = 'check'
|
|
119
|
-
fixture.detectChanges()
|
|
120
|
-
expect(component.groupdata[0].group_name).toEqual('check group with reviewer');
|
|
121
|
-
})
|
|
122
|
-
it('verify the count of the user groups coming from the create dashboard ', () => {
|
|
123
|
-
component.groupsEnabled = true;
|
|
124
|
-
component.totalgroupscount = 3;
|
|
125
|
-
component.switchTab('GROUP')
|
|
126
|
-
component.currentTab = 'GROUP';
|
|
127
|
-
fixture.detectChanges()
|
|
128
|
-
const value = fixture.debugElement.query(By.css('#groupscount'))
|
|
129
|
-
expect(value.nativeElement.innerText).toEqual('3')
|
|
130
|
-
})
|
|
131
|
-
it('verify the users count of user groups ', () => {
|
|
132
|
-
component.groupsEnabled = true;
|
|
133
|
-
component.currentTab = 'GROUP';
|
|
134
|
-
component.groupdata = groupslist
|
|
135
|
-
component.selectGroupElement(1)
|
|
136
|
-
fixture.detectChanges()
|
|
137
|
-
const value = fixture.debugElement.query(By.css('#usersofgroup'))
|
|
138
|
-
expect(value.nativeElement.innerText).toEqual('5 USERS')
|
|
139
|
-
})
|
|
140
|
-
it("verify the selectAll search ",()=>{
|
|
141
|
-
component.selectAllsearchgroups(false);
|
|
142
|
-
fixture.detectChanges()
|
|
143
|
-
expect(component.selectedgroupList).toEqual([])
|
|
144
|
-
expect(component.selectedGroupIds).toEqual([])
|
|
145
|
-
})
|
|
146
|
-
it('verify checkSelectAllgroups',()=>{
|
|
147
|
-
component.checkSelectAllGroups()
|
|
148
|
-
component.groupdata=groupslist
|
|
149
|
-
component.selectedGroupIds = [853,860]
|
|
150
|
-
component.listDetails.groupIdkey = 'group_id'
|
|
151
|
-
expect(component.checkSelectAllGroups()).toBeTrue();
|
|
152
|
-
})
|
|
153
|
-
});
|