vc-create-dashboard 3.0.5 → 3.0.61
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/karma.conf.js +44 -0
- package/ng-package.json +7 -0
- package/package.json +3 -17
- 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 +589 -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 +36 -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 +1276 -0
- package/src/lib/create-dashboard-container/create-dashboard.component.less +1453 -0
- package/src/lib/create-dashboard-container/create-dashboard.component.ts +1333 -0
- package/src/lib/create-dashboard-container/create-dashboard.module.ts +75 -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} +1 -1
- package/src/lib/create-dashboard-container/pipes/filter.pipe.ts +25 -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 +15 -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 +245 -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 +220 -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 +357 -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} +6 -6
- 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 +1 -0
- package/src/lib/ui-kit/action-dialog/active/active.component.less +0 -0
- package/src/lib/ui-kit/action-dialog/active/active.component.ts +12 -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 +23 -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 +12 -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 +114 -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/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 +124 -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 +33 -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 -551
- 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 -34
- package/esm2022/lib/create-dashboard-container/create-dashboard-config.mjs +0 -2
- package/esm2022/lib/create-dashboard-container/create-dashboard.component.mjs +0 -1121
- package/esm2022/lib/create-dashboard-container/create-dashboard.module.mjs +0 -132
- 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.pipe.mjs +0 -25
- package/esm2022/lib/create-dashboard-container/pipes/text-count.pipe.mjs +0 -19
- 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 -230
- package/esm2022/lib/create-dashboard-container/services/create-dashboard.service.mjs +0 -160
- package/esm2022/lib/create-dashboard-container/services/pagination.service.mjs +0 -28
- package/esm2022/lib/create-dashboard-container/services/urlConfig.service.mjs +0 -29
- 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.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 -99
- 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/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 -142
- 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 -5527
- 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 -64
- package/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.d.ts +0 -121
- 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 -33
- package/lib/create-dashboard-container/create-dashboard-config.d.ts +0 -18
- package/lib/create-dashboard-container/create-dashboard.component.d.ts +0 -178
- package/lib/create-dashboard-container/create-dashboard.module.d.ts +0 -40
- 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.pipe.d.ts +0 -7
- package/lib/create-dashboard-container/pipes/text-count.pipe.d.ts +0 -7
- package/lib/create-dashboard-container/responsibility-center/responsibility-center.component.d.ts +0 -60
- 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 -64
- package/lib/create-dashboard-container/services/auth.service.d.ts +0 -11
- package/lib/create-dashboard-container/services/configure-widgets.service.d.ts +0 -38
- package/lib/create-dashboard-container/services/create-dashboard.service.d.ts +0 -45
- package/lib/create-dashboard-container/services/pagination.service.d.ts +0 -12
- package/lib/create-dashboard-container/services/urlConfig.service.d.ts +0 -10
- package/lib/create-dashboard-container/user-list/user-list.component.d.ts +0 -121
- 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/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,75 @@
|
|
|
1
|
+
import { ModuleWithProviders, NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule, NgOptimizedImage } from '@angular/common';
|
|
3
|
+
import { VcomplyEditorModule } from '@vcomply/editor';
|
|
4
|
+
import { DpDatePickerModule } from 'ng2-date-picker';
|
|
5
|
+
import { FormsModule } from '@angular/forms';
|
|
6
|
+
import { CreateDashboardComponent } from './create-dashboard.component';
|
|
7
|
+
import { SelectModule } from '../ui-kit/select/select.module';
|
|
8
|
+
import { UserListComponent } from './user-list/user-list.component';
|
|
9
|
+
import { ResponsibilityCenterComponent } from './responsibility-center/responsibility-center.component';
|
|
10
|
+
import { CategoriesComponent } from './categories/categories.component';
|
|
11
|
+
import { FrequencyComponent } from './frequency/frequency.component';
|
|
12
|
+
import { PaginationModule } from '../ui-kit/pagination/pagination.module';
|
|
13
|
+
import { FormgroupModule } from '../ui-kit/formgroup/formgroup.module';
|
|
14
|
+
import { DashboardFooterModule } from '../ui-kit/dashboard-footer/dashboard-footer.module';
|
|
15
|
+
import { FormGroupComponent } from './form-group/form-group.component';
|
|
16
|
+
import { TooltipModule } from '../ui-kit/tooltip/tooltip.module';
|
|
17
|
+
import { FloatingBarModule } from '../ui-kit/floating-bar/floating-bar.module';
|
|
18
|
+
import { DialogModule } from '../ui-kit/dialog/dialog.module';
|
|
19
|
+
import { Configurations } from '../configurations';
|
|
20
|
+
import { FilterPipe } from './pipes/filter.pipe';
|
|
21
|
+
import { RiskCategoriesComponent } from './risk-categories/risk-categories.component';
|
|
22
|
+
import { ConfigureWidgetsModule } from './configure-widgets/configure-widgets.module';
|
|
23
|
+
import { PopoverModule } from '../ui-kit/popover/popover.module';
|
|
24
|
+
import { VLoaderModule } from '../ui-kit/v-loader/v-loader.module';
|
|
25
|
+
import { SnackBarModule } from '../ui-kit/snack-bar/snack-bar.module';
|
|
26
|
+
import { NoDataModule } from '../ui-kit/no-data/no-data.module';
|
|
27
|
+
import { DirectivesModule } from './directives/directives.module';
|
|
28
|
+
import { SmileyDialogModule } from '../ui-kit/smiley-dialog/smiley-dialog.module';
|
|
29
|
+
import { TextCountPipe } from './pipes/text-count.pipe';
|
|
30
|
+
import { ConfigureBaseUrlService } from './services/urlConfig.service';
|
|
31
|
+
@NgModule({
|
|
32
|
+
declarations: [
|
|
33
|
+
CreateDashboardComponent,
|
|
34
|
+
UserListComponent,
|
|
35
|
+
FormGroupComponent,
|
|
36
|
+
ResponsibilityCenterComponent,
|
|
37
|
+
CategoriesComponent,
|
|
38
|
+
RiskCategoriesComponent,
|
|
39
|
+
FrequencyComponent,
|
|
40
|
+
FilterPipe,
|
|
41
|
+
TextCountPipe,
|
|
42
|
+
],
|
|
43
|
+
imports: [
|
|
44
|
+
CommonModule,
|
|
45
|
+
VcomplyEditorModule,
|
|
46
|
+
FormgroupModule,
|
|
47
|
+
FormsModule,
|
|
48
|
+
TooltipModule,
|
|
49
|
+
SelectModule,
|
|
50
|
+
DashboardFooterModule,
|
|
51
|
+
PaginationModule,
|
|
52
|
+
FloatingBarModule,
|
|
53
|
+
DialogModule,
|
|
54
|
+
ConfigureWidgetsModule,
|
|
55
|
+
PopoverModule,
|
|
56
|
+
VLoaderModule,
|
|
57
|
+
SnackBarModule,
|
|
58
|
+
NoDataModule,
|
|
59
|
+
DirectivesModule,
|
|
60
|
+
SmileyDialogModule,
|
|
61
|
+
DpDatePickerModule,
|
|
62
|
+
NgOptimizedImage,
|
|
63
|
+
],
|
|
64
|
+
exports: [CreateDashboardComponent],
|
|
65
|
+
})
|
|
66
|
+
export class CreateDashboardModule {
|
|
67
|
+
public static forRoot(
|
|
68
|
+
environmentConfig: Configurations
|
|
69
|
+
): ModuleWithProviders<CreateDashboardModule> {
|
|
70
|
+
return {
|
|
71
|
+
ngModule: CreateDashboardModule,
|
|
72
|
+
providers: [{ provide: Configurations, useValue: environmentConfig }],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ScrollInViewDirective } from './scroll-in-view.directive';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@NgModule({
|
|
8
|
+
declarations: [
|
|
9
|
+
ScrollInViewDirective
|
|
10
|
+
],
|
|
11
|
+
imports: [
|
|
12
|
+
CommonModule
|
|
13
|
+
],
|
|
14
|
+
exports:[
|
|
15
|
+
ScrollInViewDirective
|
|
16
|
+
]
|
|
17
|
+
})
|
|
18
|
+
export class DirectivesModule { }
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AfterViewInit, Directive, ElementRef, Input, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Directive({
|
|
4
|
+
selector: '[appScrollInView]'
|
|
5
|
+
})
|
|
6
|
+
export class ScrollInViewDirective implements OnChanges {
|
|
7
|
+
@Input() appScrollInView = false;
|
|
8
|
+
constructor(private el: ElementRef) {
|
|
9
|
+
}
|
|
10
|
+
ngOnChanges(change:SimpleChanges){
|
|
11
|
+
if(change?.appScrollInView && change?.appScrollInView?.currentValue === true){
|
|
12
|
+
this.scroll();
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
ngAfterViewInit() {
|
|
16
|
+
// Otherwise Angular throws error: Expression has changed after it was checked.
|
|
17
|
+
this.scroll();
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
scroll(){
|
|
21
|
+
if(this.appScrollInView){
|
|
22
|
+
window.setTimeout(() => {
|
|
23
|
+
this.el.nativeElement.scrollIntoView({behavior: 'smooth', block: 'center'});
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
}
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
<!-- <p>form-group works!</p> -->
|
|
2
|
+
<div class="form-group" [class.disabled]="disabled">
|
|
3
|
+
<div class="vx-dialog-body-container" (scroll)="animateImage()">
|
|
4
|
+
<div class="form-group-row">
|
|
5
|
+
<div class="image">
|
|
6
|
+
<img [ngSrc]="ASSETS.dashBoardIcon" alt="" width="36" height="36" />
|
|
7
|
+
</div>
|
|
8
|
+
<div class="form">
|
|
9
|
+
<div class="vx-form-group">
|
|
10
|
+
<label class="vx-control-panel"
|
|
11
|
+
>Dashboard Name<span class="required">*</span></label
|
|
12
|
+
>
|
|
13
|
+
<div class="vx-input-group">
|
|
14
|
+
<input
|
|
15
|
+
type="text"
|
|
16
|
+
placeholder="Add dashboard name (Max limit: 30 characters)."
|
|
17
|
+
[(ngModel)]="dashboardName"
|
|
18
|
+
/>
|
|
19
|
+
<span class="counter" *ngIf="dashboardName?.length > 0">{{
|
|
20
|
+
30 - dashboardName?.length
|
|
21
|
+
}}</span>
|
|
22
|
+
</div>
|
|
23
|
+
<p class="vx-txt-error">{{ dashboardNameError }}</p>
|
|
24
|
+
<div class="vx-input-group">
|
|
25
|
+
<vcomply-editor
|
|
26
|
+
[editorConfig]="dashboardDescription"
|
|
27
|
+
[(ngModel)]="dashboardDescriptionText"
|
|
28
|
+
></vcomply-editor>
|
|
29
|
+
<span
|
|
30
|
+
class="counter"
|
|
31
|
+
*ngIf="dashboardDescriptionText?.length > 0"
|
|
32
|
+
>{{ 250 - dashboardDescriptionText?.length }}</span
|
|
33
|
+
>
|
|
34
|
+
</div>
|
|
35
|
+
<p class="vx-txt-error">{{ dashboardDescriptionError }}</p>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="form-group-row">
|
|
40
|
+
<div class="image">
|
|
41
|
+
<img
|
|
42
|
+
[ngSrc]="ASSETS.dashBoardUsersIcon"
|
|
43
|
+
alt=""
|
|
44
|
+
width="36"
|
|
45
|
+
height="36"
|
|
46
|
+
/>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="form">
|
|
49
|
+
<div class="vx-form-group">
|
|
50
|
+
<label class="vx-control-panel"
|
|
51
|
+
>Who can view this dashboard?<span class="required">*</span></label
|
|
52
|
+
>
|
|
53
|
+
<div class="selectbox">
|
|
54
|
+
<input
|
|
55
|
+
type="text"
|
|
56
|
+
placeholder="Who can view this dashboard?"
|
|
57
|
+
readonly
|
|
58
|
+
(click)="selectWhoCanViewThis()"
|
|
59
|
+
/>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="selected">
|
|
62
|
+
<div class="left">
|
|
63
|
+
<div class="chip-container">
|
|
64
|
+
<span class="chip">
|
|
65
|
+
<span class="value">Samantha Jones</span>
|
|
66
|
+
</span>
|
|
67
|
+
<span class="chip">
|
|
68
|
+
<i class="icons"></i>
|
|
69
|
+
<span class="value">Angel Kleven</span>
|
|
70
|
+
</span>
|
|
71
|
+
</div>
|
|
72
|
+
<button class="count">+10</button>
|
|
73
|
+
</div>
|
|
74
|
+
<button class="edit"><i class="icons"></i> Edit</button>
|
|
75
|
+
</div>
|
|
76
|
+
<!-- <p class="vx-txt-error">Enter a value for this input box.</p> -->
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="form-group-row">
|
|
81
|
+
<div class="image">
|
|
82
|
+
<img [ngSrc]="ASSETS.dashBoardRcIcon" alt="" width="36" height="36" />
|
|
83
|
+
</div>
|
|
84
|
+
<div class="form">
|
|
85
|
+
<div class="vx-form-group">
|
|
86
|
+
<label class="vx-control-panel">RESPONSIBILITY CENTER(S)</label>
|
|
87
|
+
<div class="selectbox">
|
|
88
|
+
<div
|
|
89
|
+
class="custom-input"
|
|
90
|
+
aria-placeholder="Select the Responsibility Center(s) that you would like displayed in the Dashboard, if any."
|
|
91
|
+
(click)="selectResponsibilityCenter()"
|
|
92
|
+
></div>
|
|
93
|
+
</div>
|
|
94
|
+
<!-- <p class="vx-txt-error">Enter a value for this input box.</p> -->
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
<div class="form-group-row">
|
|
99
|
+
<div class="image">
|
|
100
|
+
<img
|
|
101
|
+
[ngSrc]="ASSETS.dashBoardProgramIcon"
|
|
102
|
+
alt=""
|
|
103
|
+
width="36"
|
|
104
|
+
height="36"
|
|
105
|
+
/>
|
|
106
|
+
</div>
|
|
107
|
+
<div class="form">
|
|
108
|
+
<div class="vx-form-group">
|
|
109
|
+
<label class="vx-control-panel">PROGRAM</label>
|
|
110
|
+
<div class="selectbox">
|
|
111
|
+
<div
|
|
112
|
+
class="custom-input"
|
|
113
|
+
aria-placeholder="Select the Program that this responsibility relates to."
|
|
114
|
+
(click)="selectCategories()"
|
|
115
|
+
></div>
|
|
116
|
+
</div>
|
|
117
|
+
<!-- <p class="vx-txt-error">Enter a value for this input box.</p> -->
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="form-group-row">
|
|
122
|
+
<div class="image">
|
|
123
|
+
<img [ngSrc]="ASSETS.dashBoardRiskIcon" alt="" width="36" height="36" />
|
|
124
|
+
</div>
|
|
125
|
+
<div class="form">
|
|
126
|
+
<div class="vx-form-group">
|
|
127
|
+
<label class="vx-control-panel">RISK CATEGORIES</label>
|
|
128
|
+
<div class="selectbox">
|
|
129
|
+
<div
|
|
130
|
+
class="custom-input"
|
|
131
|
+
aria-placeholder="Select the Risk Categories that you would like displayed in the Dashboard, if any."
|
|
132
|
+
(click)="selectCategories()"
|
|
133
|
+
></div>
|
|
134
|
+
</div>
|
|
135
|
+
<!-- <p class="vx-txt-error">Enter a value for this input box.</p> -->
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
<div class="form-group-row">
|
|
140
|
+
<div class="image">
|
|
141
|
+
<img
|
|
142
|
+
[ngSrc]="ASSETS.dashBoardUsersIcon"
|
|
143
|
+
alt=""
|
|
144
|
+
width="36"
|
|
145
|
+
height="36"
|
|
146
|
+
/>
|
|
147
|
+
</div>
|
|
148
|
+
<div class="form">
|
|
149
|
+
<div class="vx-form-group">
|
|
150
|
+
<label class="vx-control-panel">DISPLAY CRITERIA</label>
|
|
151
|
+
<div class="radio-group">
|
|
152
|
+
<app-cs-radio
|
|
153
|
+
(checkedEvent)="
|
|
154
|
+
displayCriteriaSelected($event, 'BOTH_RC_AND_CATEGORY')
|
|
155
|
+
"
|
|
156
|
+
>Those responsibilities that have been assigned to both the
|
|
157
|
+
selected Responsibility Center(s) and the selected
|
|
158
|
+
Categories.</app-cs-radio
|
|
159
|
+
>
|
|
160
|
+
<app-cs-radio
|
|
161
|
+
(checkedEvent)="displayCriteriaSelected($event, 'RC_OR_CATEGORY')"
|
|
162
|
+
>Those responsibilities that have been assigned to either the
|
|
163
|
+
selected Responsibility Center(s) or the selected
|
|
164
|
+
Categories.</app-cs-radio
|
|
165
|
+
>
|
|
166
|
+
</div>
|
|
167
|
+
<!-- <p class="vx-txt-error">Enter a value for this input box.</p> -->
|
|
168
|
+
</div>
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="form-group-row">
|
|
172
|
+
<div class="image">
|
|
173
|
+
<img
|
|
174
|
+
[ngSrc]="ASSETS.dashBoardTimeFrameIcon"
|
|
175
|
+
alt=""
|
|
176
|
+
width="36"
|
|
177
|
+
height="36"
|
|
178
|
+
/>
|
|
179
|
+
</div>
|
|
180
|
+
<div class="form">
|
|
181
|
+
<div class="vx-form-group">
|
|
182
|
+
<label class="vx-control-panel">TIMEFRAME</label>
|
|
183
|
+
<label class="vx-control-panel-sub-label"
|
|
184
|
+
>Select how long you would like the information selected to be
|
|
185
|
+
displayed for. If no timeframe is selected, the information will be
|
|
186
|
+
displayed permanently.</label
|
|
187
|
+
>
|
|
188
|
+
<div class="input-group vx-d-flex vx-justify-between">
|
|
189
|
+
<div class="date-select">
|
|
190
|
+
<i class="icons"></i>
|
|
191
|
+
<input
|
|
192
|
+
type="text"
|
|
193
|
+
[value]="selectedFromDate | date : 'dd MMM yyyy'"
|
|
194
|
+
[placeholder]="'From'"
|
|
195
|
+
(click)="openFromDatePicker()"
|
|
196
|
+
readonly
|
|
197
|
+
/>
|
|
198
|
+
<dp-date-picker
|
|
199
|
+
#fromDatePicker
|
|
200
|
+
[(ngModel)]="selectedFromDate"
|
|
201
|
+
placeholder="Select Date"
|
|
202
|
+
(onSelect)="closeFromDatePicker(); datePickerOverlay = false"
|
|
203
|
+
[config]="fromDatePickerConfig"
|
|
204
|
+
></dp-date-picker>
|
|
205
|
+
<div
|
|
206
|
+
class="overlay"
|
|
207
|
+
(click)="closeFromDatePicker()"
|
|
208
|
+
*ngIf="datePickerOverlay"
|
|
209
|
+
></div>
|
|
210
|
+
</div>
|
|
211
|
+
<div class="date-select">
|
|
212
|
+
<i class="icons"></i>
|
|
213
|
+
<input
|
|
214
|
+
type="text"
|
|
215
|
+
[value]="selectedToDate | date : 'dd MMM yyyy'"
|
|
216
|
+
[placeholder]="'To'"
|
|
217
|
+
(click)="openToDatePicker()"
|
|
218
|
+
readonly
|
|
219
|
+
/>
|
|
220
|
+
<dp-date-picker
|
|
221
|
+
#toDatePicker
|
|
222
|
+
[(ngModel)]="selectedToDate"
|
|
223
|
+
placeholder="Select Date"
|
|
224
|
+
(onSelect)="closeToDatePicker(); datePickerOverlay = false"
|
|
225
|
+
[config]="toDatePickerConfig"
|
|
226
|
+
></dp-date-picker>
|
|
227
|
+
<div
|
|
228
|
+
class="overlay"
|
|
229
|
+
(click)="closeToDatePicker()"
|
|
230
|
+
*ngIf="datePickerOverlay"
|
|
231
|
+
></div>
|
|
232
|
+
</div>
|
|
233
|
+
</div>
|
|
234
|
+
<!-- <p class="vx-txt-error">Enter a value for this input box.</p> -->
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
</div>
|
|
238
|
+
<div class="form-group-row">
|
|
239
|
+
<!--active class will appear on open list-->
|
|
240
|
+
<div class="image">
|
|
241
|
+
<img
|
|
242
|
+
[ngSrc]="ASSETS.dashBoardEmailSummariesIcon"
|
|
243
|
+
alt=""
|
|
244
|
+
width="36"
|
|
245
|
+
height="36"
|
|
246
|
+
/>
|
|
247
|
+
</div>
|
|
248
|
+
<div class="form">
|
|
249
|
+
<div class="vx-form-group">
|
|
250
|
+
<label class="vx-control-panel">
|
|
251
|
+
Email Summaries
|
|
252
|
+
<i
|
|
253
|
+
class="icons"
|
|
254
|
+
[arTooltip]="'This is a test tooltip'"
|
|
255
|
+
placement="bottom-left"
|
|
256
|
+
type="white"
|
|
257
|
+
delay="0"
|
|
258
|
+
[tooltipMandatory]="true"
|
|
259
|
+
></i
|
|
260
|
+
></label
|
|
261
|
+
>
|
|
262
|
+
<label class="vx-control-panel-sub-label">
|
|
263
|
+
If you would like to send a summary of this Dashboard, please select
|
|
264
|
+
a frequency(By default VComply sends a weekly Summary).
|
|
265
|
+
</label>
|
|
266
|
+
<div class="selectbox">
|
|
267
|
+
<input
|
|
268
|
+
type="text"
|
|
269
|
+
placeholder="Email Summaries"
|
|
270
|
+
readonly
|
|
271
|
+
(click)="selectFrequency()"
|
|
272
|
+
/>
|
|
273
|
+
</div>
|
|
274
|
+
<!-- <p class="vx-txt-error">Enter a value for this input box.</p> -->
|
|
275
|
+
</div>
|
|
276
|
+
</div>
|
|
277
|
+
</div>
|
|
278
|
+
</div>
|
|
279
|
+
<div class="button-block">
|
|
280
|
+
<button
|
|
281
|
+
class="vx-btn block primary"
|
|
282
|
+
[disabled]="disabled"
|
|
283
|
+
(click)="configureDashboard()"
|
|
284
|
+
>
|
|
285
|
+
Next: Configure Widgets
|
|
286
|
+
</button>
|
|
287
|
+
</div>
|
|
288
|
+
</div>
|