vc-create-dashboard 3.0.82 → 3.0.84
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/README.md +24 -24
- package/karma.conf.js +44 -0
- package/ng-package.json +7 -0
- package/package.json +11 -25
- package/src/lib/categoryList.ts +23 -0
- package/src/lib/configurations.ts +8 -0
- package/src/lib/create-dashboard-container/categories/categories-config.ts +18 -0
- package/src/lib/create-dashboard-container/categories/categories.component.html +150 -0
- package/src/lib/create-dashboard-container/categories/categories.component.less +252 -0
- package/src/lib/create-dashboard-container/categories/categories.component.spec.ts +43 -0
- package/src/lib/create-dashboard-container/categories/categories.component.ts +220 -0
- package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.html +141 -0
- package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.less +381 -0
- package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.spec.ts +48 -0
- package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.ts +392 -0
- package/src/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.ts +9 -0
- package/src/lib/create-dashboard-container/configure-widgets/configure-widgets.module.ts +30 -0
- package/src/lib/create-dashboard-container/constants/assets.constant.ts +37 -0
- package/src/lib/create-dashboard-container/create-dashboard-config.ts +24 -0
- package/src/lib/create-dashboard-container/create-dashboard-mockData.ts +341 -0
- package/src/lib/create-dashboard-container/create-dashboard.component.html +660 -0
- package/src/lib/create-dashboard-container/create-dashboard.component.less +1579 -0
- package/src/lib/create-dashboard-container/create-dashboard.component.ts +1886 -0
- package/src/lib/create-dashboard-container/create-dashboard.module.ts +76 -0
- package/src/lib/create-dashboard-container/directives/directives.module.ts +18 -0
- package/src/lib/create-dashboard-container/directives/scroll-in-view.directive.ts +28 -0
- package/src/lib/create-dashboard-container/form-group/form-group.component.html +288 -0
- package/src/lib/create-dashboard-container/form-group/form-group.component.less +450 -0
- package/src/lib/create-dashboard-container/form-group/form-group.component.spec.ts +90 -0
- package/src/lib/create-dashboard-container/form-group/form-group.component.ts +163 -0
- package/src/lib/create-dashboard-container/frequency/frequency.component.html +61 -0
- package/src/lib/create-dashboard-container/frequency/frequency.component.less +183 -0
- package/src/lib/create-dashboard-container/frequency/frequency.component.spec.ts +120 -0
- package/src/lib/create-dashboard-container/frequency/frequency.component.ts +303 -0
- package/{lib/create-dashboard-container/interfaces/widget-data-model.d.ts → src/lib/create-dashboard-container/interfaces/widget-data-model.ts} +8 -8
- package/src/lib/create-dashboard-container/pipes/filter.pipe.ts +25 -0
- package/src/lib/create-dashboard-container/pipes/search-program.pipe.ts +31 -0
- package/src/lib/create-dashboard-container/pipes/search.pipe.ts +23 -0
- package/src/lib/create-dashboard-container/pipes/text-count.pipe.spec.ts +8 -0
- package/src/lib/create-dashboard-container/pipes/text-count.pipe.ts +14 -0
- package/src/lib/create-dashboard-container/program-list/constant.ts +36 -0
- package/src/lib/create-dashboard-container/program-list/information-block/information-block.component.html +9 -0
- package/src/lib/create-dashboard-container/program-list/information-block/information-block.component.less +63 -0
- package/src/lib/create-dashboard-container/program-list/information-block/information-block.component.ts +15 -0
- package/src/lib/create-dashboard-container/program-list/interfaces/data-source.interface.ts +6 -0
- package/src/lib/create-dashboard-container/program-list/interfaces/list-item.interface.ts +8 -0
- package/src/lib/create-dashboard-container/program-list/interfaces/selection-predicate.interface.ts +4 -0
- package/src/lib/create-dashboard-container/program-list/list-container/list-container.component.less +57 -0
- package/src/lib/create-dashboard-container/program-list/list-container/list-container.component.ts +30 -0
- package/src/lib/create-dashboard-container/program-list/pipes/check-selected-items.pipes.ts +19 -0
- package/src/lib/create-dashboard-container/program-list/program-list/program-list.component.html +158 -0
- package/src/lib/create-dashboard-container/program-list/program-list/program-list.component.less +679 -0
- package/src/lib/create-dashboard-container/program-list/program-list/program-list.component.ts +342 -0
- package/src/lib/create-dashboard-container/program-list/program-list.module.ts +36 -0
- package/src/lib/create-dashboard-container/program-list/services/list-utils.service.ts +22 -0
- package/src/lib/create-dashboard-container/program-list/services/program-list-api.service.ts +24 -0
- package/src/lib/create-dashboard-container/responsibility-center/responsibility-center.component.html +70 -0
- package/src/lib/create-dashboard-container/responsibility-center/responsibility-center.component.less +181 -0
- package/src/lib/create-dashboard-container/responsibility-center/responsibility-center.component.spec.ts +41 -0
- package/src/lib/create-dashboard-container/responsibility-center/responsibility-center.component.ts +154 -0
- package/src/lib/create-dashboard-container/risk-categories/risk-categories-config.ts +18 -0
- package/src/lib/create-dashboard-container/risk-categories/risk-categories.component.html +152 -0
- package/src/lib/create-dashboard-container/risk-categories/risk-categories.component.less +230 -0
- package/src/lib/create-dashboard-container/risk-categories/risk-categories.component.spec.ts +39 -0
- package/src/lib/create-dashboard-container/risk-categories/risk-categories.component.ts +209 -0
- package/src/lib/create-dashboard-container/services/auth.service.ts +27 -0
- package/src/lib/create-dashboard-container/services/configure-widgets.service.spec.ts +19 -0
- package/src/lib/create-dashboard-container/services/configure-widgets.service.ts +235 -0
- package/src/lib/create-dashboard-container/services/create-dashboard.service.spec.ts +19 -0
- package/src/lib/create-dashboard-container/services/create-dashboard.service.ts +287 -0
- package/src/lib/create-dashboard-container/services/pagination.service.spec.ts +16 -0
- package/src/lib/create-dashboard-container/services/pagination.service.ts +25 -0
- package/src/lib/create-dashboard-container/services/urlConfig.service.ts +21 -0
- package/src/lib/create-dashboard-container/user-list/user-list.component.html +358 -0
- package/src/lib/create-dashboard-container/user-list/user-list.component.less +451 -0
- package/src/lib/create-dashboard-container/user-list/user-list.component.spec.ts +153 -0
- package/src/lib/create-dashboard-container/user-list/user-list.component.ts +472 -0
- package/{lib/create-dashboard-container/user-list/user-list.config.d.ts → src/lib/create-dashboard-container/user-list/user-list.config.ts} +13 -13
- package/src/lib/create-dashboard-container/utils/dashboard-edit.utils.ts +235 -0
- package/src/lib/create-dashboard.service.ts +8 -0
- package/src/lib/ui-kit/action-dialog/access-capability/access-capability.component.html +22 -0
- package/src/lib/ui-kit/action-dialog/access-capability/access-capability.component.less +218 -0
- package/src/lib/ui-kit/action-dialog/access-capability/access-capability.component.ts +30 -0
- package/src/lib/ui-kit/action-dialog/action-dialog.module.ts +53 -0
- package/src/lib/ui-kit/action-dialog/active/active.component.html +25 -0
- package/src/lib/ui-kit/action-dialog/active/active.component.less +168 -0
- package/src/lib/ui-kit/action-dialog/active/active.component.ts +31 -0
- package/src/lib/ui-kit/action-dialog/assesment-confirmation/assesment-confirmation.component.html +18 -0
- package/src/lib/ui-kit/action-dialog/assesment-confirmation/assesment-confirmation.component.less +98 -0
- package/src/lib/ui-kit/action-dialog/assesment-confirmation/assesment-confirmation.component.ts +18 -0
- package/src/lib/ui-kit/action-dialog/confirmation/confirmation.component.html +20 -0
- package/src/lib/ui-kit/action-dialog/confirmation/confirmation.component.less +325 -0
- package/src/lib/ui-kit/action-dialog/confirmation/confirmation.component.ts +26 -0
- package/src/lib/ui-kit/action-dialog/delete/delete.component.html +24 -0
- package/src/lib/ui-kit/action-dialog/delete/delete.component.less +240 -0
- package/src/lib/ui-kit/action-dialog/delete/delete.component.ts +22 -0
- package/src/lib/ui-kit/action-dialog/error/error.component.html +20 -0
- package/src/lib/ui-kit/action-dialog/error/error.component.less +103 -0
- package/src/lib/ui-kit/action-dialog/error/error.component.ts +18 -0
- package/src/lib/ui-kit/action-dialog/inactive/inactive.component.html +25 -0
- package/src/lib/ui-kit/action-dialog/inactive/inactive.component.less +167 -0
- package/src/lib/ui-kit/action-dialog/inactive/inactive.component.ts +29 -0
- package/src/lib/ui-kit/action-dialog/link/link.component.html +57 -0
- package/src/lib/ui-kit/action-dialog/link/link.component.less +222 -0
- package/src/lib/ui-kit/action-dialog/link/link.component.ts +18 -0
- package/src/lib/ui-kit/action-dialog/move/move.component.html +43 -0
- package/src/lib/ui-kit/action-dialog/move/move.component.less +157 -0
- package/src/lib/ui-kit/action-dialog/move/move.component.ts +25 -0
- package/src/lib/ui-kit/action-dialog/my-rating/my-rating.component.html +19 -0
- package/src/lib/ui-kit/action-dialog/my-rating/my-rating.component.less +97 -0
- package/src/lib/ui-kit/action-dialog/my-rating/my-rating.component.ts +18 -0
- package/src/lib/ui-kit/action-dialog/upload/upload.component.html +19 -0
- package/src/lib/ui-kit/action-dialog/upload/upload.component.less +97 -0
- package/src/lib/ui-kit/action-dialog/upload/upload.component.ts +12 -0
- package/src/lib/ui-kit/chart/bar/bar.component.html +28 -0
- package/src/lib/ui-kit/chart/bar/bar.component.less +13 -0
- package/src/lib/ui-kit/chart/bar/bar.component.ts +44 -0
- package/src/lib/ui-kit/chart/chart.module.ts +12 -0
- package/src/lib/ui-kit/chart/pipes/segmenter.pipe.ts +28 -0
- package/src/lib/ui-kit/chart/pipes/x-calculator.pipe.ts +22 -0
- package/src/lib/ui-kit/circle-progresss/circle/circle.component.html +37 -0
- package/src/lib/ui-kit/circle-progresss/circle/circle.component.less +1448 -0
- package/src/lib/ui-kit/circle-progresss/circle/circle.component.ts +19 -0
- package/src/lib/ui-kit/circle-progresss/circle-progresss.module.ts +10 -0
- package/src/lib/ui-kit/click-outside/click-outside.directive.ts +16 -0
- package/src/lib/ui-kit/click-outside/click-outside.module.ts +16 -0
- package/src/lib/ui-kit/color-palette/color-palette.component.html +110 -0
- package/src/lib/ui-kit/color-palette/color-palette.component.less +54 -0
- package/src/lib/ui-kit/color-palette/color-palette.component.ts +28 -0
- package/src/lib/ui-kit/color-palette/color-palette.module.ts +10 -0
- package/src/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.html +37 -0
- package/src/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.less +335 -0
- package/src/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.spec.ts +25 -0
- package/src/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.ts +44 -0
- package/src/lib/ui-kit/dashboard-footer/dashboard-footer-config.ts +11 -0
- package/src/lib/ui-kit/dashboard-footer/dashboard-footer.module.ts +22 -0
- package/src/lib/ui-kit/dialog/dialog-config.ts +6 -0
- package/src/lib/ui-kit/dialog/dialog-injector.ts +18 -0
- package/src/lib/ui-kit/dialog/dialog-ref.ts +12 -0
- package/src/lib/ui-kit/dialog/dialog.component.css +89 -0
- package/src/lib/ui-kit/dialog/dialog.component.html +27 -0
- package/src/lib/ui-kit/dialog/dialog.component.ts +112 -0
- package/src/lib/ui-kit/dialog/dialog.module.ts +11 -0
- package/src/lib/ui-kit/dialog/dialog.service.ts +57 -0
- package/src/lib/ui-kit/dialog/insertion.directive.ts +8 -0
- package/src/lib/ui-kit/floating-bar/floating-bar.component.html +42 -0
- package/src/lib/ui-kit/floating-bar/floating-bar.component.less +355 -0
- package/src/lib/ui-kit/floating-bar/floating-bar.component.spec.ts +25 -0
- package/src/lib/ui-kit/floating-bar/floating-bar.component.ts +40 -0
- package/src/lib/ui-kit/floating-bar/floating-bar.module.ts +22 -0
- package/src/lib/ui-kit/formgroup/click-outside.directive.ts +16 -0
- package/src/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.html +11 -0
- package/src/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.less +102 -0
- package/src/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.ts +19 -0
- package/src/lib/ui-kit/formgroup/cs-radio/cs-radio.component.html +11 -0
- package/src/lib/ui-kit/formgroup/cs-radio/cs-radio.component.less +125 -0
- package/src/lib/ui-kit/formgroup/cs-radio/cs-radio.component.ts +21 -0
- package/src/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.html +4 -0
- 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 +12 -0
- package/src/lib/ui-kit/formgroup/cs-select/cs-select.component.html +78 -0
- package/src/lib/ui-kit/formgroup/cs-select/cs-select.component.less +259 -0
- package/src/lib/ui-kit/formgroup/cs-select/cs-select.component.ts +92 -0
- package/src/lib/ui-kit/formgroup/cs-switch/cs-switch.component.html +30 -0
- package/src/lib/ui-kit/formgroup/cs-switch/cs-switch.component.less +103 -0
- package/src/lib/ui-kit/formgroup/cs-switch/cs-switch.component.ts +23 -0
- package/src/lib/ui-kit/formgroup/formgroup.module.ts +35 -0
- package/src/lib/ui-kit/formgroup/pipes/pascal.pipe.ts +13 -0
- package/src/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.ts +18 -0
- package/src/lib/ui-kit/line-loader/line-loader.component.html +3 -0
- package/src/lib/ui-kit/line-loader/line-loader.component.less +34 -0
- package/src/lib/ui-kit/line-loader/line-loader.component.ts +14 -0
- package/src/lib/ui-kit/line-loader/line-loader.module.ts +10 -0
- package/src/lib/ui-kit/loaders/loaders.module.ts +18 -0
- package/src/lib/ui-kit/loaders/table-loader/table-loader.component.html +17 -0
- package/src/lib/ui-kit/loaders/table-loader/table-loader.component.less +136 -0
- package/src/lib/ui-kit/loaders/table-loader/table-loader.component.ts +17 -0
- package/src/lib/ui-kit/longpress/longpress.directive.ts +28 -0
- package/src/lib/ui-kit/longpress/longpress.module.ts +10 -0
- package/src/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.html +51 -0
- package/src/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.less +367 -0
- package/src/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.spec.ts +24 -0
- package/src/lib/ui-kit/multi-select/cs-multiselect/cs-multiselect.component.ts +141 -0
- package/src/lib/ui-kit/multi-select/cs-multiselect-option/cs-multiselect-option.component.html +9 -0
- package/src/lib/ui-kit/multi-select/cs-multiselect-option/cs-multiselect-option.component.less +105 -0
- package/src/lib/ui-kit/multi-select/cs-multiselect-option/cs-multiselect-option.component.spec.ts +27 -0
- package/src/lib/ui-kit/multi-select/cs-multiselect-option/cs-multiselect-option.component.ts +24 -0
- package/src/lib/ui-kit/multi-select/multi-select.module.ts +24 -0
- package/src/lib/ui-kit/multi-select/multi-select.service.ts +10 -0
- package/src/lib/ui-kit/no-data/no-data.component.html +14 -0
- package/src/lib/ui-kit/no-data/no-data.component.less +86 -0
- package/src/lib/ui-kit/no-data/no-data.component.ts +26 -0
- package/src/lib/ui-kit/no-data/no-data.module.ts +10 -0
- package/src/lib/ui-kit/pagination/pagination.component.html +11 -0
- package/src/lib/ui-kit/pagination/pagination.component.less +72 -0
- package/src/lib/ui-kit/pagination/pagination.component.spec.ts +25 -0
- package/src/lib/ui-kit/pagination/pagination.component.ts +138 -0
- package/src/lib/ui-kit/pagination/pagination.module.ts +10 -0
- package/src/lib/ui-kit/pipes/pipes.module.ts +10 -0
- package/src/lib/ui-kit/pipes/safeHTML.pipe.ts +12 -0
- package/src/lib/ui-kit/pipes/trim.pipe.ts +10 -0
- package/src/lib/ui-kit/popover/popover.component.html +6 -0
- package/src/lib/ui-kit/popover/popover.component.less +20 -0
- package/src/lib/ui-kit/popover/popover.component.ts +127 -0
- package/src/lib/ui-kit/popover/popover.directive.ts +72 -0
- package/src/lib/ui-kit/popover/popover.module.ts +13 -0
- package/src/lib/ui-kit/popover/popover.service.ts +17 -0
- package/src/lib/ui-kit/ripple/ripple.directive.ts +36 -0
- package/src/lib/ui-kit/ripple/ripple.module.ts +10 -0
- package/src/lib/ui-kit/select/cs-option/cs-option.component.html +8 -0
- package/src/lib/ui-kit/select/cs-option/cs-option.component.less +49 -0
- package/src/lib/ui-kit/select/cs-option/cs-option.component.ts +31 -0
- package/src/lib/ui-kit/select/cs-select/cs-select.component.html +16 -0
- package/src/lib/ui-kit/select/cs-select/cs-select.component.less +142 -0
- package/src/lib/ui-kit/select/cs-select/cs-select.component.ts +98 -0
- package/src/lib/ui-kit/select/safe-html.pipe.ts +13 -0
- package/src/lib/ui-kit/select/select.module.ts +13 -0
- package/src/lib/ui-kit/services/cs-select.service.ts +10 -0
- package/src/lib/ui-kit/smiley-dialog/smiley-dialog.component.html +30 -0
- package/src/lib/ui-kit/smiley-dialog/smiley-dialog.component.less +442 -0
- package/src/lib/ui-kit/smiley-dialog/smiley-dialog.component.ts +40 -0
- package/src/lib/ui-kit/smiley-dialog/smiley-dialog.module.ts +11 -0
- package/src/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.html +10 -0
- package/src/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.less +110 -0
- package/src/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.ts +42 -0
- package/src/lib/ui-kit/snack-bar/snack-bar.module.ts +10 -0
- package/src/lib/ui-kit/snack-bar/snack-bar.service.ts +18 -0
- package/src/lib/ui-kit/time-filter/time-filter.component.html +126 -0
- package/src/lib/ui-kit/time-filter/time-filter.component.less +482 -0
- package/src/lib/ui-kit/time-filter/time-filter.component.ts +284 -0
- package/src/lib/ui-kit/time-filter/time-filter.module.ts +10 -0
- package/src/lib/ui-kit/tooltip/tooltip.directive.ts +150 -0
- package/src/lib/ui-kit/tooltip/tooltip.module.ts +10 -0
- package/src/lib/ui-kit/v-loader/loader/loader.component.html +6 -0
- package/src/lib/ui-kit/v-loader/loader/loader.component.less +52 -0
- package/src/lib/ui-kit/v-loader/loader/loader.component.ts +22 -0
- package/src/lib/ui-kit/v-loader/loader-inline/loader-inline.component.html +6 -0
- package/src/lib/ui-kit/v-loader/loader-inline/loader-inline.component.less +52 -0
- package/src/lib/ui-kit/v-loader/loader-inline/loader-inline.component.ts +22 -0
- package/src/lib/ui-kit/v-loader/v-loader.module.ts +11 -0
- package/src/public-api.ts +11 -0
- package/src/test.ts +28 -0
- package/tsconfig.lib.json +20 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2022/lib/configurations.mjs +0 -7
- package/esm2022/lib/create-dashboard-container/categories/categories-config.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/categories/categories.component.mjs +0 -212
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.mjs +0 -350
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets.module.mjs +0 -47
- package/esm2022/lib/create-dashboard-container/constants/assets.constant.mjs +0 -37
- package/esm2022/lib/create-dashboard-container/create-dashboard-config.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/create-dashboard.component.mjs +0 -1561
- package/esm2022/lib/create-dashboard-container/create-dashboard.module.mjs +0 -127
- package/esm2022/lib/create-dashboard-container/directives/directives.module.mjs +0 -24
- package/esm2022/lib/create-dashboard-container/directives/scroll-in-view.directive.mjs +0 -36
- package/esm2022/lib/create-dashboard-container/form-group/form-group.component.mjs +0 -153
- package/esm2022/lib/create-dashboard-container/frequency/frequency.component.mjs +0 -309
- package/esm2022/lib/create-dashboard-container/interfaces/widget-data-model.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/pipes/filter.pipe.mjs +0 -30
- package/esm2022/lib/create-dashboard-container/pipes/search-program.pipe.mjs +0 -37
- package/esm2022/lib/create-dashboard-container/pipes/search.pipe.mjs +0 -25
- package/esm2022/lib/create-dashboard-container/pipes/text-count.pipe.mjs +0 -19
- package/esm2022/lib/create-dashboard-container/program-list/constant.mjs +0 -31
- package/esm2022/lib/create-dashboard-container/program-list/information-block/information-block.component.mjs +0 -13
- package/esm2022/lib/create-dashboard-container/program-list/interfaces/list-item.interface.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/program-list/list-container/list-container.component.mjs +0 -50
- package/esm2022/lib/create-dashboard-container/program-list/pipes/check-selected-items.pipes.mjs +0 -23
- package/esm2022/lib/create-dashboard-container/program-list/program-list/program-list.component.mjs +0 -294
- package/esm2022/lib/create-dashboard-container/program-list/program-list.module.mjs +0 -60
- package/esm2022/lib/create-dashboard-container/program-list/services/list-utils.service.mjs +0 -27
- package/esm2022/lib/create-dashboard-container/program-list/services/program-list-api.service.mjs +0 -35
- package/esm2022/lib/create-dashboard-container/responsibility-center/responsibility-center.component.mjs +0 -149
- package/esm2022/lib/create-dashboard-container/risk-categories/risk-categories-config.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/risk-categories/risk-categories.component.mjs +0 -206
- package/esm2022/lib/create-dashboard-container/services/auth.service.mjs +0 -31
- package/esm2022/lib/create-dashboard-container/services/configure-widgets.service.mjs +0 -238
- package/esm2022/lib/create-dashboard-container/services/create-dashboard.service.mjs +0 -243
- package/esm2022/lib/create-dashboard-container/services/pagination.service.mjs +0 -28
- package/esm2022/lib/create-dashboard-container/user-list/user-list.component.mjs +0 -440
- package/esm2022/lib/create-dashboard-container/user-list/user-list.config.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/utils/dashboard-edit.utils.mjs +0 -181
- package/esm2022/lib/create-dashboard.service.mjs +0 -14
- package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.mjs +0 -52
- package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer-config.mjs +0 -2
- package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer.module.mjs +0 -32
- package/esm2022/lib/ui-kit/dialog/dialog-config.mjs +0 -7
- package/esm2022/lib/ui-kit/dialog/dialog-injector.mjs +0 -17
- package/esm2022/lib/ui-kit/dialog/dialog-ref.mjs +0 -11
- package/esm2022/lib/ui-kit/dialog/dialog.component.mjs +0 -96
- package/esm2022/lib/ui-kit/dialog/dialog.module.mjs +0 -20
- package/esm2022/lib/ui-kit/dialog/dialog.service.mjs +0 -56
- package/esm2022/lib/ui-kit/dialog/insertion.directive.mjs +0 -17
- package/esm2022/lib/ui-kit/floating-bar/floating-bar.component.mjs +0 -57
- package/esm2022/lib/ui-kit/floating-bar/floating-bar.module.mjs +0 -32
- package/esm2022/lib/ui-kit/formgroup/click-outside.directive.mjs +0 -30
- package/esm2022/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.mjs +0 -29
- package/esm2022/lib/ui-kit/formgroup/cs-radio/cs-radio.component.mjs +0 -34
- package/esm2022/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.mjs +0 -14
- package/esm2022/lib/ui-kit/formgroup/cs-select/cs-select.component.mjs +0 -119
- package/esm2022/lib/ui-kit/formgroup/cs-switch/cs-switch.component.mjs +0 -39
- package/esm2022/lib/ui-kit/formgroup/formgroup.module.mjs +0 -55
- package/esm2022/lib/ui-kit/formgroup/pipes/pascal.pipe.mjs +0 -19
- package/esm2022/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.mjs +0 -24
- package/esm2022/lib/ui-kit/loaders/loaders.module.mjs +0 -24
- package/esm2022/lib/ui-kit/loaders/table-loader/table-loader.component.mjs +0 -18
- package/esm2022/lib/ui-kit/no-data/no-data.component.mjs +0 -47
- package/esm2022/lib/ui-kit/no-data/no-data.module.mjs +0 -18
- package/esm2022/lib/ui-kit/pagination/pagination.component.mjs +0 -130
- package/esm2022/lib/ui-kit/pagination/pagination.module.mjs +0 -18
- package/esm2022/lib/ui-kit/popover/popover.component.mjs +0 -129
- package/esm2022/lib/ui-kit/popover/popover.directive.mjs +0 -93
- package/esm2022/lib/ui-kit/popover/popover.module.mjs +0 -21
- package/esm2022/lib/ui-kit/popover/popover.service.mjs +0 -23
- package/esm2022/lib/ui-kit/select/cs-option/cs-option.component.mjs +0 -41
- package/esm2022/lib/ui-kit/select/cs-select/cs-select.component.mjs +0 -107
- package/esm2022/lib/ui-kit/select/safe-html.pipe.mjs +0 -21
- package/esm2022/lib/ui-kit/select/select.module.mjs +0 -21
- package/esm2022/lib/ui-kit/services/cs-select.service.mjs +0 -16
- package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.component.mjs +0 -52
- package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.module.mjs +0 -18
- package/esm2022/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.mjs +0 -46
- package/esm2022/lib/ui-kit/snack-bar/snack-bar.module.mjs +0 -18
- package/esm2022/lib/ui-kit/snack-bar/snack-bar.service.mjs +0 -23
- package/esm2022/lib/ui-kit/tooltip/tooltip.directive.mjs +0 -168
- package/esm2022/lib/ui-kit/tooltip/tooltip.module.mjs +0 -18
- package/esm2022/lib/ui-kit/v-loader/loader/loader.component.mjs +0 -24
- package/esm2022/lib/ui-kit/v-loader/loader-inline/loader-inline.component.mjs +0 -24
- package/esm2022/lib/ui-kit/v-loader/v-loader.module.mjs +0 -19
- package/esm2022/public-api.mjs +0 -10
- package/esm2022/vc-create-dashboard.mjs +0 -5
- package/fesm2022/vc-create-dashboard.mjs +0 -6552
- package/fesm2022/vc-create-dashboard.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/configurations.d.ts +0 -4
- package/lib/create-dashboard-container/categories/categories-config.d.ts +0 -18
- package/lib/create-dashboard-container/categories/categories.component.d.ts +0 -66
- package/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.d.ts +0 -113
- package/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.d.ts +0 -9
- package/lib/create-dashboard-container/configure-widgets/configure-widgets.module.d.ts +0 -14
- package/lib/create-dashboard-container/constants/assets.constant.d.ts +0 -35
- package/lib/create-dashboard-container/create-dashboard-config.d.ts +0 -18
- package/lib/create-dashboard-container/create-dashboard.component.d.ts +0 -219
- package/lib/create-dashboard-container/create-dashboard.module.d.ts +0 -37
- package/lib/create-dashboard-container/directives/directives.module.d.ts +0 -8
- package/lib/create-dashboard-container/directives/scroll-in-view.directive.d.ts +0 -12
- package/lib/create-dashboard-container/form-group/form-group.component.d.ts +0 -48
- package/lib/create-dashboard-container/frequency/frequency.component.d.ts +0 -39
- package/lib/create-dashboard-container/pipes/filter.pipe.d.ts +0 -7
- package/lib/create-dashboard-container/pipes/search-program.pipe.d.ts +0 -7
- package/lib/create-dashboard-container/pipes/search.pipe.d.ts +0 -7
- package/lib/create-dashboard-container/pipes/text-count.pipe.d.ts +0 -7
- package/lib/create-dashboard-container/program-list/constant.d.ts +0 -24
- package/lib/create-dashboard-container/program-list/information-block/information-block.component.d.ts +0 -6
- package/lib/create-dashboard-container/program-list/interfaces/list-item.interface.d.ts +0 -5
- package/lib/create-dashboard-container/program-list/list-container/list-container.component.d.ts +0 -9
- package/lib/create-dashboard-container/program-list/pipes/check-selected-items.pipes.d.ts +0 -7
- package/lib/create-dashboard-container/program-list/program-list/program-list.component.d.ts +0 -119
- package/lib/create-dashboard-container/program-list/program-list.module.d.ts +0 -17
- package/lib/create-dashboard-container/program-list/services/list-utils.service.d.ts +0 -7
- package/lib/create-dashboard-container/program-list/services/program-list-api.service.d.ts +0 -14
- package/lib/create-dashboard-container/responsibility-center/responsibility-center.component.d.ts +0 -62
- package/lib/create-dashboard-container/risk-categories/risk-categories-config.d.ts +0 -18
- package/lib/create-dashboard-container/risk-categories/risk-categories.component.d.ts +0 -66
- package/lib/create-dashboard-container/services/auth.service.d.ts +0 -11
- package/lib/create-dashboard-container/services/configure-widgets.service.d.ts +0 -23
- package/lib/create-dashboard-container/services/create-dashboard.service.d.ts +0 -82
- package/lib/create-dashboard-container/services/pagination.service.d.ts +0 -12
- package/lib/create-dashboard-container/user-list/user-list.component.d.ts +0 -123
- package/lib/create-dashboard-container/utils/dashboard-edit.utils.d.ts +0 -16
- package/lib/create-dashboard.service.d.ts +0 -6
- package/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.d.ts +0 -17
- package/lib/ui-kit/dashboard-footer/dashboard-footer-config.d.ts +0 -11
- package/lib/ui-kit/dashboard-footer/dashboard-footer.module.d.ts +0 -10
- package/lib/ui-kit/dialog/dialog-config.d.ts +0 -6
- package/lib/ui-kit/dialog/dialog-injector.d.ts +0 -7
- package/lib/ui-kit/dialog/dialog-ref.d.ts +0 -7
- package/lib/ui-kit/dialog/dialog.component.d.ts +0 -33
- package/lib/ui-kit/dialog/dialog.module.d.ts +0 -9
- package/lib/ui-kit/dialog/dialog.service.d.ts +0 -17
- package/lib/ui-kit/dialog/insertion.directive.d.ts +0 -8
- package/lib/ui-kit/floating-bar/floating-bar.component.d.ts +0 -20
- package/lib/ui-kit/floating-bar/floating-bar.module.d.ts +0 -10
- package/lib/ui-kit/formgroup/click-outside.directive.d.ts +0 -10
- package/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.d.ts +0 -13
- package/lib/ui-kit/formgroup/cs-radio/cs-radio.component.d.ts +0 -15
- package/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.d.ts +0 -8
- package/lib/ui-kit/formgroup/cs-select/cs-select.component.d.ts +0 -36
- package/lib/ui-kit/formgroup/cs-switch/cs-switch.component.d.ts +0 -15
- package/lib/ui-kit/formgroup/formgroup.module.d.ts +0 -17
- package/lib/ui-kit/formgroup/pipes/pascal.pipe.d.ts +0 -7
- package/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.d.ts +0 -7
- package/lib/ui-kit/loaders/loaders.module.d.ts +0 -8
- package/lib/ui-kit/loaders/table-loader/table-loader.component.d.ts +0 -9
- package/lib/ui-kit/no-data/no-data.component.d.ts +0 -19
- package/lib/ui-kit/no-data/no-data.module.d.ts +0 -8
- package/lib/ui-kit/pagination/pagination.component.d.ts +0 -21
- package/lib/ui-kit/pagination/pagination.module.d.ts +0 -8
- package/lib/ui-kit/popover/popover.component.d.ts +0 -28
- package/lib/ui-kit/popover/popover.directive.d.ts +0 -17
- package/lib/ui-kit/popover/popover.module.d.ts +0 -9
- package/lib/ui-kit/popover/popover.service.d.ts +0 -13
- package/lib/ui-kit/select/cs-option/cs-option.component.d.ts +0 -16
- package/lib/ui-kit/select/cs-select/cs-select.component.d.ts +0 -32
- package/lib/ui-kit/select/safe-html.pipe.d.ts +0 -10
- package/lib/ui-kit/select/select.module.d.ts +0 -11
- package/lib/ui-kit/services/cs-select.service.d.ts +0 -7
- package/lib/ui-kit/smiley-dialog/smiley-dialog.component.d.ts +0 -17
- package/lib/ui-kit/smiley-dialog/smiley-dialog.module.d.ts +0 -8
- package/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.d.ts +0 -17
- package/lib/ui-kit/snack-bar/snack-bar.module.d.ts +0 -8
- package/lib/ui-kit/snack-bar/snack-bar.service.d.ts +0 -9
- package/lib/ui-kit/tooltip/tooltip.directive.d.ts +0 -28
- package/lib/ui-kit/tooltip/tooltip.module.d.ts +0 -8
- package/lib/ui-kit/v-loader/loader/loader.component.d.ts +0 -11
- package/lib/ui-kit/v-loader/loader-inline/loader-inline.component.d.ts +0 -11
- package/lib/ui-kit/v-loader/v-loader.module.d.ts +0 -9
- package/public-api.d.ts +0 -3
|
@@ -0,0 +1,660 @@
|
|
|
1
|
+
<app-snack-bar></app-snack-bar>
|
|
2
|
+
<div class="create-dashboard" *ngIf="!openConfigureWidgets">
|
|
3
|
+
<div class="create-dashboard-container vx-d-flex vx-justify-end" [class.animate-slideInRight]="animation">
|
|
4
|
+
<div class="more-option" *ngIf="activeSelector && activeSelector !== 'name'">
|
|
5
|
+
<app-user-list *ngIf="activeSelector === 'whoCanView'"
|
|
6
|
+
(saveSelectedUsers)="saveSelectedList('whoCanView', $event)" (closeUserList)="activateSelector('', false)"
|
|
7
|
+
[totalPages]="totalPages" [totalList]="totalList" [listDetails]="listDetails" [totalgroupscount]="totalgroups"
|
|
8
|
+
[feature]="feature"></app-user-list>
|
|
9
|
+
<app-responsibility-center *ngIf="activeSelector === 'rcList'"
|
|
10
|
+
[responsibilityCentersList]="responsibilityCentersList" [radioSelection]="false"
|
|
11
|
+
[selectedResponsibilityCenters]="
|
|
12
|
+
dashboardForm.selectedResponsibilityCenters
|
|
13
|
+
" [rcIdKey]="'item_id'" (saveSelectedList)="saveSelectedList('rc', $event)"
|
|
14
|
+
(closeRcList)="activateSelector('', false)">
|
|
15
|
+
</app-responsibility-center>
|
|
16
|
+
<!-- <app-categories *ngIf="activeSelector === 'responsibilityCategories'"
|
|
17
|
+
[categoryList]="responsibilityCategoriesTree" [allCategories]="allComplianceCategories"
|
|
18
|
+
[categoryIdKey]="'category_id'" [selectedCategories]="dashboardForm.selectedResponsibilityCategories"
|
|
19
|
+
(saveSelectedCategory)="
|
|
20
|
+
saveSelectedList('responsibilityCategories', $event)
|
|
21
|
+
" (closeCategoriesList)="activateSelector('', false)"></app-categories> -->
|
|
22
|
+
<app-list-container list *ngIf="activeSelector === 'responsibilityCategories'"
|
|
23
|
+
(close)="activateSelector('', false)">
|
|
24
|
+
<app-program-list body (itemsSelectedChange)="onProgramSelectionChange($event)"
|
|
25
|
+
[selectedItems]="selectedPrograms" [url]="programListUrl"></app-program-list>
|
|
26
|
+
<div class="vx-d-flex vx-align-center vx-justify-between vx-w-100" footer>
|
|
27
|
+
<div class="left-side vx-fs-12 vx-d-flex">
|
|
28
|
+
<ng-container *ngIf="allProgamSelected?.length > 0">
|
|
29
|
+
<button
|
|
30
|
+
class="selected-count-box vx-fs-9 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-lh-4">
|
|
31
|
+
{{ allProgamSelected.length }}
|
|
32
|
+
</button>
|
|
33
|
+
<span class="selected-text">
|
|
34
|
+
Program
|
|
35
|
+
{{ allProgamSelected.length > 1 ? "Categories" : "Category" }}
|
|
36
|
+
Selected</span>
|
|
37
|
+
</ng-container>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="right-side vx-d-flex">
|
|
40
|
+
<button class="cancelBtn" (click)="activateSelector('', false)">Cancel</button>
|
|
41
|
+
<button class="nextBtn" (click)="activateSelector('', false);">
|
|
42
|
+
Next <i class="icons"></i>
|
|
43
|
+
</button>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</app-list-container>
|
|
47
|
+
|
|
48
|
+
</div>
|
|
49
|
+
<div class="vx-dialog-container side-dialog" [class.tablet-width]="activeSelector && activeSelector !== 'name'">
|
|
50
|
+
<app-loader-inline *ngIf="vLoader"></app-loader-inline>
|
|
51
|
+
|
|
52
|
+
<div class="form-group" [class.disabled]="disabled">
|
|
53
|
+
<div class="vx-dialog-body-container" (scroll)="animateImage()"
|
|
54
|
+
[class.hidden-scroll]="popoverService.stopScroll">
|
|
55
|
+
<!-- Dashboard Name -->
|
|
56
|
+
<div class="form-group-row" [class.disabled]="activeSelector && activeSelector !== 'name'">
|
|
57
|
+
<div class="image">
|
|
58
|
+
<img [ngSrc]="ASSETS.dashBoardIcon" *ngIf="
|
|
59
|
+
!dashboardForm.dashboardName || activeSelector === 'name'
|
|
60
|
+
" alt="" width="36" height="36" />
|
|
61
|
+
<svg class="checkIcon" *ngIf="dashboardForm.dashboardName && activeSelector !== 'name'"
|
|
62
|
+
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52 52">
|
|
63
|
+
<circle class="checkIcon__circle" cx="26" cy="26" r="25" fill="none" />
|
|
64
|
+
<path class="checkIcon__check" fill="none" d="M14.1 27.2l7.1 7.2 16.7-16.8" />
|
|
65
|
+
</svg>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="form">
|
|
68
|
+
<div class="vx-form-group vx-d-block vx-mb-4">
|
|
69
|
+
<label
|
|
70
|
+
class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4">Dashboard
|
|
71
|
+
Name
|
|
72
|
+
<span class="require vx-txt-red vx-fs-16 vx-fw-400">*</span></label>
|
|
73
|
+
<div class="vx-input-group">
|
|
74
|
+
<input class="textField" placeholder="Add dashboard name (Max limit: 30 characters)."
|
|
75
|
+
[(ngModel)]="dashboardForm.dashboardName" (keydown)="activeSelector = 'name'"
|
|
76
|
+
(focusin)="activateSelector('name', true)" (focusout)="activateSelector('name', false)" />
|
|
77
|
+
|
|
78
|
+
<span class="counter" *ngIf="dashboardForm?.dashboardName?.length > 0">{{ 30 -
|
|
79
|
+
dashboardForm.dashboardName.length }}</span>
|
|
80
|
+
</div>
|
|
81
|
+
|
|
82
|
+
<p class="vx-txt-error" [appScrollInView]="true" *ngIf="
|
|
83
|
+
submitted &&
|
|
84
|
+
(dashboardForm?.dashboardName?.length > 30 ||
|
|
85
|
+
!dashboardForm?.dashboardName)
|
|
86
|
+
">
|
|
87
|
+
{{
|
|
88
|
+
dashboardForm.dashboardName.length > 30
|
|
89
|
+
? "You have exceeded the maximum character limit of 30 characters."
|
|
90
|
+
: "Please enter a name for this Dashboard."
|
|
91
|
+
}}
|
|
92
|
+
</p>
|
|
93
|
+
|
|
94
|
+
<div class="vx-input-group vx-mt-2">
|
|
95
|
+
<vcomply-editor [editorConfig]="dashboardDescription"
|
|
96
|
+
[(ngModel)]="dashboardForm.dashboardDescriptionText"></vcomply-editor>
|
|
97
|
+
<span class="counter" *ngIf="dashboardForm?.dashboardDescriptionText?.length > 0">{{
|
|
98
|
+
250 -
|
|
99
|
+
(dashboardForm?.dashboardDescriptionText | textCount)
|
|
100
|
+
}}</span>
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
<p class="vx-txt-error" [appScrollInView]="true" *ngIf="
|
|
104
|
+
submitted &&
|
|
105
|
+
(dashboardForm?.dashboardDescriptionText | textCount) > 250
|
|
106
|
+
">
|
|
107
|
+
You have exceeded the maximum character limit of 250
|
|
108
|
+
characters.
|
|
109
|
+
</p>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
|
|
114
|
+
<!-- Dashboard Display Criteria -->
|
|
115
|
+
<span class="head-label vx-fs-10 vx-fw-500 vx-txt-white vx-tt-uppercase vx-pl-1 vx-pr-1 vx-lh-4">
|
|
116
|
+
Dashboard Display Criteria
|
|
117
|
+
</span>
|
|
118
|
+
<app-information-block></app-information-block>
|
|
119
|
+
|
|
120
|
+
<!-- Who -->
|
|
121
|
+
<div class="form-group-row" [class.active]="activeSelector === 'whoCanView'" [class.disabled]="
|
|
122
|
+
activeSelector &&
|
|
123
|
+
activeSelector !== 'whoCanView' &&
|
|
124
|
+
activeSelector !== 'name'
|
|
125
|
+
">
|
|
126
|
+
<div class="image">
|
|
127
|
+
<img [ngSrc]="ASSETS.dashBoardUsersIcon" *ngIf="
|
|
128
|
+
dashboardForm?.selectedViewers?.length == 0 ||
|
|
129
|
+
activeSelector === 'whoCanView'
|
|
130
|
+
" alt="" width="36" height="36" />
|
|
131
|
+
<svg class="checkIcon" *ngIf="
|
|
132
|
+
dashboardForm?.selectedViewers?.length > 0 &&
|
|
133
|
+
activeSelector !== 'whoCanView'
|
|
134
|
+
" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52 52">
|
|
135
|
+
<circle class="checkIcon__circle" cx="26" cy="26" r="25" fill="none" />
|
|
136
|
+
<path class="checkIcon__check" fill="none" d="M14.1 27.2l7.1 7.2 16.7-16.8" />
|
|
137
|
+
</svg>
|
|
138
|
+
</div>
|
|
139
|
+
<div class="form">
|
|
140
|
+
<div class="vx-form-group vx-d-block vx-mb-4">
|
|
141
|
+
<label class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4">Who
|
|
142
|
+
can view this dashboard?<span class="require vx-txt-red vx-fs-16 vx-fw-400">*</span></label>
|
|
143
|
+
<div *ngIf="dashboardForm?.selectedViewers?.length == 0"
|
|
144
|
+
class="selectBoxEnable vx-pl-3 vx-pr-3 vx-d-flex vx-align-center"
|
|
145
|
+
(click)="activateSelector('whoCanView', true)">
|
|
146
|
+
<div class="selectBoxPlacehoder vx-fs-13 vx-paragraph-txt vx-lh-4">
|
|
147
|
+
Who can view this dashboard?
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
|
|
151
|
+
<div *ngIf="dashboardForm?.selectedViewers?.length > 0"
|
|
152
|
+
class="selectBoxSuccess vx-pl-2 vx-pr-3 vx-d-flex vx-align-center vx-justify-between">
|
|
153
|
+
<ng-container *ngIf="!groupsEnabled" id="onlyuserslist">
|
|
154
|
+
<div class="chipContainer vx-d-flex vx-align-center vx-pl-2 vx-pr-2" *ngFor="
|
|
155
|
+
let user of dashboardForm?.selectedViewers?.slice(0, 1)
|
|
156
|
+
">
|
|
157
|
+
<i class="icons cross vx-fs-12 vx-paragraph-txt vx-mr-1" *ngIf="
|
|
158
|
+
!listDetails.nonRemovableUsersList.includes(
|
|
159
|
+
user.member_id
|
|
160
|
+
)
|
|
161
|
+
" (click)="remove('whoCanView', user)"></i>
|
|
162
|
+
<span class="chipName vx-fs-11 vx-label-txt" [arTooltip]="user.member_name"
|
|
163
|
+
placement="bottom-left" delay="0" type="black" [tooltipMandatory]="false">{{ user.member_name
|
|
164
|
+
}}</span>
|
|
165
|
+
<button *ngIf="
|
|
166
|
+
dashboardForm?.selectedViewers?.length > 1 &&
|
|
167
|
+
!groupsEnabled
|
|
168
|
+
"
|
|
169
|
+
class="countBtn greenBg vx-fs-9 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-lh-4"
|
|
170
|
+
appPopover (click)="userList.popover()" placement="left">
|
|
171
|
+
+{{ dashboardForm?.selectedViewers?.slice(1).length }}
|
|
172
|
+
</button>
|
|
173
|
+
</div>
|
|
174
|
+
<app-popover #userList [dontCloseonClick]="true">
|
|
175
|
+
<div class="action-list">
|
|
176
|
+
<ul class="action-item">
|
|
177
|
+
<li *ngFor="
|
|
178
|
+
let user of dashboardForm?.selectedViewers
|
|
179
|
+
| slice : 1;
|
|
180
|
+
let j = index
|
|
181
|
+
">
|
|
182
|
+
<div class="avatar-card">
|
|
183
|
+
<span class="value" [arTooltip]="user?.member_name" placement="bottom-left" delay="0"
|
|
184
|
+
type="black" [tooltipMandatory]="false">
|
|
185
|
+
<i class="icons cross-icon" *ngIf="
|
|
186
|
+
!listDetails.nonRemovableUsersList.includes(
|
|
187
|
+
user.member_id
|
|
188
|
+
) && !groupsEnabled
|
|
189
|
+
" (click)="remove('whoCanView', user)"></i>
|
|
190
|
+
{{ user?.member_name }}
|
|
191
|
+
</span>
|
|
192
|
+
</div>
|
|
193
|
+
</li>
|
|
194
|
+
</ul>
|
|
195
|
+
</div>
|
|
196
|
+
</app-popover>
|
|
197
|
+
</ng-container>
|
|
198
|
+
|
|
199
|
+
<div *ngIf="groupsEnabled" class="vx-d-flex vx-align-center">
|
|
200
|
+
<div class="chipContainer vx-d-flex vx-align-center vx-pl-2 vx-pr-2">
|
|
201
|
+
<span class="chipName vx-fs-11 vx-label-txt">USER(S)</span>
|
|
202
|
+
<button
|
|
203
|
+
class="countBtn greenBg vx-fs-9 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-lh-4"
|
|
204
|
+
appPopover (click)="userCount.popover()" placement="left">
|
|
205
|
+
{{ dashboardForm?.selectedViewers?.length }}
|
|
206
|
+
</button>
|
|
207
|
+
</div>
|
|
208
|
+
<span class="vx-fs-12 vx-paragraph-txt vx-ml-2 vx-mr-2" *ngIf="
|
|
209
|
+
dashboardForm?.selectedGroup?.length &&
|
|
210
|
+
dashboardForm?.selectedViewers?.length
|
|
211
|
+
">&</span>
|
|
212
|
+
<div *ngIf="dashboardForm?.selectedGroup?.length" id="usersandgroups"
|
|
213
|
+
class="chipContainer vx-d-flex vx-align-center vx-pl-2 vx-pr-2">
|
|
214
|
+
<span class="chipName vx-fs-11 vx-label-txt">USER GROUP(S)</span>
|
|
215
|
+
<button
|
|
216
|
+
class="countBtn vx-fs-9 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-lh-4"
|
|
217
|
+
appPopover (click)="groupCount.popover()" placement="right">
|
|
218
|
+
{{ dashboardForm?.selectedGroup?.length }}
|
|
219
|
+
</button>
|
|
220
|
+
</div>
|
|
221
|
+
|
|
222
|
+
<app-popover #userCount [dontCloseonClick]="true">
|
|
223
|
+
<div class="action-list">
|
|
224
|
+
<ul class="action-item">
|
|
225
|
+
<li *ngFor="let data of dashboardForm?.selectedViewers">
|
|
226
|
+
<div class="avatar-card">
|
|
227
|
+
<span class="value" [arTooltip]="data.member_name" placement="bottom-left" delay="0"
|
|
228
|
+
type="black" [tooltipMandatory]="false">
|
|
229
|
+
<i class="icons cross-icon" *ngIf="
|
|
230
|
+
!listDetails.nonRemovableUsersList.includes(
|
|
231
|
+
data.member_id
|
|
232
|
+
)
|
|
233
|
+
" (click)="remove('whoCanView', data)"></i>
|
|
234
|
+
{{ data.member_name }}
|
|
235
|
+
</span>
|
|
236
|
+
</div>
|
|
237
|
+
</li>
|
|
238
|
+
</ul>
|
|
239
|
+
</div>
|
|
240
|
+
</app-popover>
|
|
241
|
+
|
|
242
|
+
<app-popover #groupCount [dontCloseonClick]="true">
|
|
243
|
+
<div class="action-list">
|
|
244
|
+
<ul class="action-item">
|
|
245
|
+
<li *ngFor="let data of dashboardForm?.selectedGroup">
|
|
246
|
+
<div class="avatar-card">
|
|
247
|
+
<span class="value" [arTooltip]="data.group_name" placement="bottom-left" delay="0"
|
|
248
|
+
type="black" [tooltipMandatory]="false">
|
|
249
|
+
<i class="icons cross-icon" (click)="remove('whoCanViewGroup', data)"></i>
|
|
250
|
+
{{ data.group_name }}
|
|
251
|
+
</span>
|
|
252
|
+
</div>
|
|
253
|
+
</li>
|
|
254
|
+
</ul>
|
|
255
|
+
</div>
|
|
256
|
+
</app-popover>
|
|
257
|
+
</div>
|
|
258
|
+
|
|
259
|
+
<button *ngIf="activeSelector !== 'whoCanView'"
|
|
260
|
+
class="editBtn vx-fs-11 vx-fw-600 vx-txt-blue vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center"
|
|
261
|
+
(click)="activateSelector('whoCanView', true)">
|
|
262
|
+
<i class="icons vx-mr-1"></i> EDIT
|
|
263
|
+
</button>
|
|
264
|
+
</div>
|
|
265
|
+
</div>
|
|
266
|
+
</div>
|
|
267
|
+
</div>
|
|
268
|
+
|
|
269
|
+
<!-- Responsibility Center -->
|
|
270
|
+
<div class="form-group-row" [class.active]="activeSelector === 'rcList'" [class.disabled]="
|
|
271
|
+
activeSelector &&
|
|
272
|
+
activeSelector !== 'rcList' &&
|
|
273
|
+
activeSelector !== 'name'
|
|
274
|
+
">
|
|
275
|
+
<div class="image">
|
|
276
|
+
<img *ngIf="
|
|
277
|
+
dashboardForm?.selectedResponsibilityCenters?.length == 0 ||
|
|
278
|
+
activeSelector === 'rcList'
|
|
279
|
+
" [ngSrc]="ASSETS.dashBoardRcIcon" alt="" width="36" height="36" />
|
|
280
|
+
<svg *ngIf="
|
|
281
|
+
dashboardForm?.selectedResponsibilityCenters?.length > 0 &&
|
|
282
|
+
activeSelector !== 'rcList'
|
|
283
|
+
" class="checkIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52 52">
|
|
284
|
+
<circle class="checkIcon__circle" cx="26" cy="26" r="25" fill="none" />
|
|
285
|
+
<path class="checkIcon__check" fill="none" d="M14.1 27.2l7.1 7.2 16.7-16.8" />
|
|
286
|
+
</svg>
|
|
287
|
+
</div>
|
|
288
|
+
<div class="form">
|
|
289
|
+
<div class="vx-form-group vx-d-block vx-mb-4">
|
|
290
|
+
<label
|
|
291
|
+
class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4">RESPONSIBILITY
|
|
292
|
+
CENTER(S)</label>
|
|
293
|
+
<div *ngIf="
|
|
294
|
+
dashboardForm?.selectedResponsibilityCenters?.length == 0
|
|
295
|
+
" class="selectBoxEnable vx-pl-3 vx-pr-3 vx-d-flex vx-align-center"
|
|
296
|
+
(click)="activateSelector('rcList', true)" [class.error]="
|
|
297
|
+
submitted &&
|
|
298
|
+
dashboardForm?.selectedResponsibilityCenters?.length == 0 &&
|
|
299
|
+
allProgamSelected?.length ==
|
|
300
|
+
0 &&
|
|
301
|
+
dashboardForm?.selectedRiskCategories?.length == 0
|
|
302
|
+
">
|
|
303
|
+
<div class="selectBoxPlacehoder vx-fs-13 vx-paragraph-txt vx-lh-4">
|
|
304
|
+
Select the Responsibility Center(s) that you would like<br />displayed
|
|
305
|
+
in the Dashboard, if any.
|
|
306
|
+
</div>
|
|
307
|
+
</div>
|
|
308
|
+
|
|
309
|
+
<div *ngIf="
|
|
310
|
+
dashboardForm?.selectedResponsibilityCenters?.length > 0
|
|
311
|
+
" class="selectBoxSuccess vx-pl-2 vx-pr-3 vx-d-flex vx-align-center vx-justify-between">
|
|
312
|
+
<div class="chipContainer vx-d-flex vx-align-center vx-pl-2 vx-pr-2" *ngFor="
|
|
313
|
+
let rc of dashboardForm?.selectedResponsibilityCenters?.slice(
|
|
314
|
+
0,
|
|
315
|
+
1
|
|
316
|
+
)
|
|
317
|
+
">
|
|
318
|
+
<i class="icons cross vx-fs-12 vx-paragraph-txt vx-mr-1" (click)="remove('rc', rc)"></i>
|
|
319
|
+
<span class="chipName vx-fs-11 vx-label-txt" [arTooltip]="rc.item_name" placement="bottom-left"
|
|
320
|
+
delay="0" type="black" [tooltipMandatory]="false">{{ rc.item_name }}</span>
|
|
321
|
+
<button *ngIf="
|
|
322
|
+
dashboardForm?.selectedResponsibilityCenters?.length > 1
|
|
323
|
+
"
|
|
324
|
+
class="countBtn vx-fs-9 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-lh-4"
|
|
325
|
+
appPopover (click)="rcList.popover()" placement="left">
|
|
326
|
+
+{{
|
|
327
|
+
dashboardForm?.selectedResponsibilityCenters?.slice(1)
|
|
328
|
+
.length
|
|
329
|
+
}}
|
|
330
|
+
</button>
|
|
331
|
+
|
|
332
|
+
<app-popover #rcList [dontCloseonClick]="true">
|
|
333
|
+
<div class="action-list">
|
|
334
|
+
<ul class="action-item">
|
|
335
|
+
<li *ngFor="
|
|
336
|
+
let rc of dashboardForm?.selectedResponsibilityCenters
|
|
337
|
+
| slice : 1;
|
|
338
|
+
let j = index
|
|
339
|
+
">
|
|
340
|
+
<div class="avatar-card">
|
|
341
|
+
<span class="value" [arTooltip]="rc?.item_name" placement="bottom-left" delay="0"
|
|
342
|
+
type="black" [tooltipMandatory]="false">
|
|
343
|
+
<i class="icons cross-icon" (click)="remove('rc', rc)"></i>
|
|
344
|
+
{{ rc?.item_name }}
|
|
345
|
+
</span>
|
|
346
|
+
</div>
|
|
347
|
+
</li>
|
|
348
|
+
</ul>
|
|
349
|
+
</div>
|
|
350
|
+
</app-popover>
|
|
351
|
+
</div>
|
|
352
|
+
|
|
353
|
+
<button *ngIf="activeSelector !== 'rcList'"
|
|
354
|
+
class="editBtn vx-fs-11 vx-fw-600 vx-txt-blue vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center"
|
|
355
|
+
(click)="activateSelector('rcList', true)">
|
|
356
|
+
<i class="icons vx-mr-1"></i> EDIT
|
|
357
|
+
</button>
|
|
358
|
+
</div>
|
|
359
|
+
</div>
|
|
360
|
+
</div>
|
|
361
|
+
</div>
|
|
362
|
+
|
|
363
|
+
<!-- Program -->
|
|
364
|
+
<div class="form-group-row" [class.active]="activeSelector === 'responsibilityCategories'" [class.disabled]="
|
|
365
|
+
activeSelector &&
|
|
366
|
+
activeSelector !== 'responsibilityCategories' &&
|
|
367
|
+
activeSelector !== 'name'
|
|
368
|
+
">
|
|
369
|
+
<div class="image">
|
|
370
|
+
<img *ngIf="
|
|
371
|
+
allProgamSelected?.length ==
|
|
372
|
+
0 || activeSelector === 'responsibilityCategories'
|
|
373
|
+
" [ngSrc]="ASSETS.dashBoardProgramIcon" alt="" width="36" height="36" />
|
|
374
|
+
<svg *ngIf="
|
|
375
|
+
allProgamSelected?.length > 0 &&
|
|
376
|
+
activeSelector !== 'responsibilityCategories'
|
|
377
|
+
" class="checkIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52 52">
|
|
378
|
+
<circle class="checkIcon__circle" cx="26" cy="26" r="25" fill="none" />
|
|
379
|
+
<path class="checkIcon__check" fill="none" d="M14.1 27.2l7.1 7.2 16.7-16.8" />
|
|
380
|
+
</svg>
|
|
381
|
+
</div>
|
|
382
|
+
<div class="form">
|
|
383
|
+
<div class="vx-form-group vx-d-block vx-mb-4">
|
|
384
|
+
<label
|
|
385
|
+
class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4">PROGRAM</label>
|
|
386
|
+
<div *ngIf="
|
|
387
|
+
allProgamSelected?.length == 0
|
|
388
|
+
" class="selectBoxEnable vx-pl-3 vx-pr-3 vx-d-flex vx-align-center"
|
|
389
|
+
(click)="activateSelector('responsibilityCategories', true)" [class.error]="
|
|
390
|
+
submitted &&
|
|
391
|
+
dashboardForm?.selectedResponsibilityCenters?.length == 0 &&
|
|
392
|
+
allProgamSelected?.length ==
|
|
393
|
+
0 &&
|
|
394
|
+
dashboardForm?.selectedRiskCategories?.length == 0
|
|
395
|
+
">
|
|
396
|
+
<div class="selectBoxPlacehoder vx-fs-13 vx-paragraph-txt vx-lh-4">
|
|
397
|
+
Select the Program(s) that you would like displayed in
|
|
398
|
+
the<br />Dashboard, if any.
|
|
399
|
+
</div>
|
|
400
|
+
</div>
|
|
401
|
+
|
|
402
|
+
<div *ngIf="
|
|
403
|
+
allProgamSelected?.length > 0
|
|
404
|
+
" class="selectBoxSuccess vx-pl-2 vx-pr-3 vx-d-flex vx-align-center vx-justify-between">
|
|
405
|
+
<div class="chipContainer vx-d-flex vx-align-center vx-pl-2 vx-pr-2" *ngFor="
|
|
406
|
+
let rCategory of allProgamSelected?.slice(
|
|
407
|
+
0,
|
|
408
|
+
1
|
|
409
|
+
)
|
|
410
|
+
">
|
|
411
|
+
<i class="icons cross vx-fs-12 vx-paragraph-txt vx-mr-1"
|
|
412
|
+
(click)="remove('responsibilityCategories', rCategory)"></i>
|
|
413
|
+
<span class="chipName vx-fs-11 vx-label-txt" [arTooltip]="rCategory.item_name"
|
|
414
|
+
placement="bottom-left" delay="0" type="black" [tooltipMandatory]="false">{{ rCategory.name
|
|
415
|
+
}}</span>
|
|
416
|
+
<button *ngIf="
|
|
417
|
+
allProgamSelected
|
|
418
|
+
?.length > 1
|
|
419
|
+
"
|
|
420
|
+
class="countBtn vx-fs-9 vx-fw-500 vx-txt-white vx-d-flex vx-align-center vx-justify-center vx-lh-4"
|
|
421
|
+
appPopover (click)="rCategoryList.popover()" placement="left">
|
|
422
|
+
+{{
|
|
423
|
+
allProgamSelected?.slice(
|
|
424
|
+
1
|
|
425
|
+
).length
|
|
426
|
+
}}
|
|
427
|
+
</button>
|
|
428
|
+
|
|
429
|
+
<app-popover #rCategoryList [dontCloseonClick]="true">
|
|
430
|
+
<div class="action-list">
|
|
431
|
+
<ul class="action-item">
|
|
432
|
+
<li *ngFor="
|
|
433
|
+
let rCategory of allProgamSelected
|
|
434
|
+
| slice : 1;
|
|
435
|
+
let j = index
|
|
436
|
+
">
|
|
437
|
+
<div class="avatar-card">
|
|
438
|
+
<span class="value" [arTooltip]="rCategory?.name" placement="bottom-left" delay="0"
|
|
439
|
+
type="black" [tooltipMandatory]="false">
|
|
440
|
+
<i class="icons cross-icon" (click)="
|
|
441
|
+
remove(
|
|
442
|
+
'responsibilityCategories',
|
|
443
|
+
rCategory
|
|
444
|
+
)
|
|
445
|
+
"></i>
|
|
446
|
+
{{ rCategory?.name }}
|
|
447
|
+
</span>
|
|
448
|
+
</div>
|
|
449
|
+
</li>
|
|
450
|
+
</ul>
|
|
451
|
+
</div>
|
|
452
|
+
</app-popover>
|
|
453
|
+
</div>
|
|
454
|
+
|
|
455
|
+
<button *ngIf="activeSelector !== 'responsibilityCategories'"
|
|
456
|
+
class="editBtn vx-fs-11 vx-fw-600 vx-txt-blue vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center"
|
|
457
|
+
(click)="activateSelector('responsibilityCategories', true)">
|
|
458
|
+
<i class="icons vx-mr-1"></i> EDIT
|
|
459
|
+
</button>
|
|
460
|
+
</div>
|
|
461
|
+
</div>
|
|
462
|
+
</div>
|
|
463
|
+
</div>
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
<!-- Timeframe -->
|
|
467
|
+
<div class="form-group-row" [class.disabled]="activeSelector && activeSelector !== 'name'">
|
|
468
|
+
<div class="image">
|
|
469
|
+
<img *ngIf="
|
|
470
|
+
!dashboardForm?.selectedFromDate ||
|
|
471
|
+
!dashboardForm?.selectedToDate
|
|
472
|
+
" [ngSrc]="ASSETS.dashBoardTimeFrameIcon" alt="" width="36" height="36" />
|
|
473
|
+
<svg *ngIf="
|
|
474
|
+
dashboardForm?.selectedFromDate &&
|
|
475
|
+
dashboardForm?.selectedToDate
|
|
476
|
+
" class="checkIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52 52">
|
|
477
|
+
<circle class="checkIcon__circle" cx="26" cy="26" r="25" fill="none" />
|
|
478
|
+
<path class="checkIcon__check" fill="none" d="M14.1 27.2l7.1 7.2 16.7-16.8" />
|
|
479
|
+
</svg>
|
|
480
|
+
</div>
|
|
481
|
+
<div class="form">
|
|
482
|
+
<div class="vx-form-group vx-d-block vx-mb-4">
|
|
483
|
+
<label
|
|
484
|
+
class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4">TIMEFRAME</label>
|
|
485
|
+
<label class="vx-control-panel-sub-label">Select how long the selected information should be displayed.
|
|
486
|
+
Once the selected timeframe expires, the dashboard will automatically be deactivated and no longer
|
|
487
|
+
displayed to users. If no timeframe is selected, the information
|
|
488
|
+
will be displayed permanently.</label>
|
|
489
|
+
<div class="input-group vx-d-flex vx-justify-between">
|
|
490
|
+
<div class="date-select">
|
|
491
|
+
<i class="icons"></i>
|
|
492
|
+
<input type="text" id="from_date" [value]="
|
|
493
|
+
dashboardForm?.selectedFromDate | date : 'dd MMM yyyy'
|
|
494
|
+
" [placeholder]="'From'" (click)="openFromDatePicker()" readonly />
|
|
495
|
+
<dp-date-picker #fromDatePicker [(ngModel)]="dashboardForm.selectedFromDate"
|
|
496
|
+
placeholder="Select Date" (onSelect)="
|
|
497
|
+
closeFromDatePicker(); datePickerOverlay = false
|
|
498
|
+
" [config]="fromDatePickerConfig"></dp-date-picker>
|
|
499
|
+
<div class="overlay" (click)="closeFromDatePicker()" *ngIf="datePickerOverlay"></div>
|
|
500
|
+
</div>
|
|
501
|
+
<div class="date-select" *ngIf="!hideToDate" [class.disabled]="!dashboardForm?.selectedFromDate">
|
|
502
|
+
<i class="icons"></i>
|
|
503
|
+
<input type="text" id="to_date" [value]="
|
|
504
|
+
dashboardForm?.selectedToDate | date : 'dd MMM yyyy'
|
|
505
|
+
" [placeholder]="'To'" (click)="openToDatePicker()" readonly />
|
|
506
|
+
<dp-date-picker #toDatePicker [(ngModel)]="dashboardForm.selectedToDate" placeholder="Select Date"
|
|
507
|
+
(onSelect)="
|
|
508
|
+
closeToDatePicker(); datePickerOverlay = false
|
|
509
|
+
" [config]="toDatePickerConfig"></dp-date-picker>
|
|
510
|
+
<div class="overlay" (click)="closeToDatePicker()" *ngIf="datePickerOverlay"></div>
|
|
511
|
+
</div>
|
|
512
|
+
</div>
|
|
513
|
+
<p class="vx-txt-error" [appScrollInView]="true" *ngIf="
|
|
514
|
+
submitted &&
|
|
515
|
+
dashboardForm.selectedFromDate &&
|
|
516
|
+
!dashboardForm.selectedToDate
|
|
517
|
+
">
|
|
518
|
+
Select a time-frame.
|
|
519
|
+
</p>
|
|
520
|
+
</div>
|
|
521
|
+
</div>
|
|
522
|
+
</div>
|
|
523
|
+
|
|
524
|
+
<!-- Email Summary -->
|
|
525
|
+
<!-- <div
|
|
526
|
+
class="form-group-row"
|
|
527
|
+
[class.active]="activeSelector === 'frequency'"
|
|
528
|
+
[class.disabled]="
|
|
529
|
+
activeSelector &&
|
|
530
|
+
activeSelector !== 'frequency' &&
|
|
531
|
+
activeSelector !== 'name'
|
|
532
|
+
"
|
|
533
|
+
>
|
|
534
|
+
<div class="image">
|
|
535
|
+
<img
|
|
536
|
+
*ngIf="!dashboardForm.frequencyMessage"
|
|
537
|
+
[ngSrc]="ASSETS.dashBoardEmailSummariesIcon"
|
|
538
|
+
alt=""
|
|
539
|
+
width="36"
|
|
540
|
+
height="36"
|
|
541
|
+
/>
|
|
542
|
+
<svg
|
|
543
|
+
*ngIf="dashboardForm.frequencyMessage"
|
|
544
|
+
class="checkIcon"
|
|
545
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
546
|
+
viewBox="0 0 52 52"
|
|
547
|
+
>
|
|
548
|
+
<circle
|
|
549
|
+
class="checkIcon__circle"
|
|
550
|
+
cx="26"
|
|
551
|
+
cy="26"
|
|
552
|
+
r="25"
|
|
553
|
+
fill="none"
|
|
554
|
+
/>
|
|
555
|
+
<path
|
|
556
|
+
class="checkIcon__check"
|
|
557
|
+
fill="none"
|
|
558
|
+
d="M14.1 27.2l7.1 7.2 16.7-16.8"
|
|
559
|
+
/>
|
|
560
|
+
</svg>
|
|
561
|
+
</div>
|
|
562
|
+
<div class="form">
|
|
563
|
+
<div class="vx-form-group vx-d-block">
|
|
564
|
+
<label
|
|
565
|
+
class="vx-fs-11 vx-fw-500 vx-label-txt vx-d-block vx-tt-uppercase vx-mb-2 vx-w-100 vx-lh-4"
|
|
566
|
+
>Email Summaries</label
|
|
567
|
+
>
|
|
568
|
+
<label class="vx-control-panel-sub-label"
|
|
569
|
+
>If you would like to send a summary of this Dashboard, please
|
|
570
|
+
select a frequency(By default VComply sends a weekly
|
|
571
|
+
Summary).</label
|
|
572
|
+
>
|
|
573
|
+
<div
|
|
574
|
+
*ngIf="!dashboardForm.frequencyMessage"
|
|
575
|
+
class="selectBoxEnable vx-pl-3 vx-pr-3 vx-d-flex vx-align-center"
|
|
576
|
+
(click)="activateSelector('frequency', true)"
|
|
577
|
+
>
|
|
578
|
+
<div
|
|
579
|
+
class="selectBoxPlacehoder vx-fs-13 vx-paragraph-txt vx-lh-4"
|
|
580
|
+
>
|
|
581
|
+
Email Summaries
|
|
582
|
+
</div>
|
|
583
|
+
</div>
|
|
584
|
+
|
|
585
|
+
<div
|
|
586
|
+
*ngIf="dashboardForm.frequencyMessage"
|
|
587
|
+
class="selectBoxSuccess vx-pl-2 vx-pr-3 vx-d-flex vx-align-center vx-justify-between"
|
|
588
|
+
>
|
|
589
|
+
<div
|
|
590
|
+
class="selectBoxText vx-fs-13 vx-paragraph-txt"
|
|
591
|
+
[arTooltip]="dashboardForm.frequencyMessage"
|
|
592
|
+
placement="bottom-left"
|
|
593
|
+
type="black"
|
|
594
|
+
delay="0"
|
|
595
|
+
[tooltipMandatory]="false"
|
|
596
|
+
[innerHTML]="dashboardForm.frequencyMessage"
|
|
597
|
+
></div>
|
|
598
|
+
|
|
599
|
+
<button
|
|
600
|
+
*ngIf="
|
|
601
|
+
dashboardForm.frequencyMessage &&
|
|
602
|
+
activeSelector !== 'frequency'
|
|
603
|
+
"
|
|
604
|
+
class="editBtn vx-fs-11 vx-fw-600 vx-txt-blue vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center"
|
|
605
|
+
(click)="activateSelector('frequency', true)"
|
|
606
|
+
>
|
|
607
|
+
<i class="icons vx-mr-1"></i> EDIT
|
|
608
|
+
</button>
|
|
609
|
+
</div>
|
|
610
|
+
</div>
|
|
611
|
+
</div>
|
|
612
|
+
</div> -->
|
|
613
|
+
</div>
|
|
614
|
+
<div class="button-block">
|
|
615
|
+
<button class="vx-btn block primary" [disabled]="activeSelector && activeSelector !== 'name'"
|
|
616
|
+
(click)="configureDashboard()">
|
|
617
|
+
Next: Configure Widgets
|
|
618
|
+
</button>
|
|
619
|
+
</div>
|
|
620
|
+
</div>
|
|
621
|
+
|
|
622
|
+
<button class="close-dialog" type="button" [disabled]="activeSelector && activeSelector !== 'name'"
|
|
623
|
+
(click)="close.emit({ mode: 'discard' })" [arTooltip]="'[Esc] to close'" placement="left" type="black" delay="0"
|
|
624
|
+
[tooltipMandatory]="true" [class.hide]="activeSelector && activeSelector !== 'name'">
|
|
625
|
+
<i class="icons"></i>
|
|
626
|
+
</button>
|
|
627
|
+
<div class="global-confirmation-alert" *ngIf="
|
|
628
|
+
submitted &&
|
|
629
|
+
dashboardForm?.selectedResponsibilityCenters?.length == 0
|
|
630
|
+
">
|
|
631
|
+
<div class="global-confirmation-alert-top">
|
|
632
|
+
<span class="icon-block">
|
|
633
|
+
<i class="icons"></i>
|
|
634
|
+
</span>
|
|
635
|
+
<p class="text" *ngIf="showRiskCategory">
|
|
636
|
+
Select a Responsibility Center or Risk Category.
|
|
637
|
+
</p>
|
|
638
|
+
<p class="text" *ngIf="!showRiskCategory">
|
|
639
|
+
Select a Responsibility Center.
|
|
640
|
+
</p>
|
|
641
|
+
</div>
|
|
642
|
+
<div class="global-confirmation-alert-bottom">
|
|
643
|
+
<p class="message"></p>
|
|
644
|
+
<div class="button-group">
|
|
645
|
+
<button class="fill" type="button" (click)="submitted = false">
|
|
646
|
+
OKAY
|
|
647
|
+
</button>
|
|
648
|
+
</div>
|
|
649
|
+
</div>
|
|
650
|
+
</div>
|
|
651
|
+
</div>
|
|
652
|
+
</div>
|
|
653
|
+
</div>
|
|
654
|
+
|
|
655
|
+
<app-smiley-dialog *ngIf="isSmiley" [message]="smileyMessage"></app-smiley-dialog>
|
|
656
|
+
|
|
657
|
+
<app-configure-widgets *ngIf="openConfigureWidgets" [mode]="mode" [displayedWidgets]="displayedWidgets"
|
|
658
|
+
[showRisk]="showRiskWidgets" [showCompliance]="!showComplianceWidgets" [selectedWidgetsData]="selectedWidgets"
|
|
659
|
+
(widgetsDataModified)="setSelectedWidgets($event)"
|
|
660
|
+
(closeConfigureWidgets)="closeConfigureWidgets($event)"></app-configure-widgets>
|