tango-app-ui-analyse-trax 3.9.2 → 3.9.3
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/.eslintrc.json +37 -0
- package/ng-package.json +7 -0
- package/package.json +12 -25
- package/src/lib/components/action-centre/action-centre.component.html +607 -0
- package/src/lib/components/action-centre/action-centre.component.scss +185 -0
- package/src/lib/components/action-centre/action-centre.component.spec.ts +23 -0
- package/src/lib/components/action-centre/action-centre.component.ts +279 -0
- package/src/lib/components/activity-log/activity-log.component.html +84 -0
- package/src/lib/components/activity-log/activity-log.component.scss +33 -0
- package/src/lib/components/activity-log/activity-log.component.spec.ts +23 -0
- package/src/lib/components/activity-log/activity-log.component.ts +137 -0
- package/src/lib/components/activity-log-v2/activity-log-v2.component.html +189 -0
- package/src/lib/components/activity-log-v2/activity-log-v2.component.scss +162 -0
- package/src/lib/components/activity-log-v2/activity-log-v2.component.spec.ts +23 -0
- package/src/lib/components/activity-log-v2/activity-log-v2.component.ts +517 -0
- package/src/lib/components/activity-log-v2/log-view-popup/date-range-picker/date-range-picker.component.html +19 -0
- package/src/lib/components/activity-log-v2/log-view-popup/date-range-picker/date-range-picker.component.scss +148 -0
- package/src/lib/components/activity-log-v2/log-view-popup/date-range-picker/date-range-picker.component.spec.ts +23 -0
- package/src/lib/components/activity-log-v2/log-view-popup/date-range-picker/date-range-picker.component.ts +141 -0
- package/src/lib/components/activity-log-v2/log-view-popup/store-user-dropdown/store-user-dropdown.component.html +42 -0
- package/src/lib/components/activity-log-v2/log-view-popup/store-user-dropdown/store-user-dropdown.component.scss +49 -0
- package/src/lib/components/activity-log-v2/log-view-popup/store-user-dropdown/store-user-dropdown.component.spec.ts +23 -0
- package/src/lib/components/activity-log-v2/log-view-popup/store-user-dropdown/store-user-dropdown.component.ts +22 -0
- package/src/lib/components/activity-log-v2/log-view-popup/view-action/view-action.component.html +724 -0
- package/src/lib/components/activity-log-v2/log-view-popup/view-action/view-action.component.scss +217 -0
- package/src/lib/components/activity-log-v2/log-view-popup/view-action/view-action.component.spec.ts +23 -0
- package/src/lib/components/activity-log-v2/log-view-popup/view-action/view-action.component.ts +122 -0
- package/src/lib/components/add-checklist/add-checklist.component.html +1459 -0
- package/src/lib/components/add-checklist/add-checklist.component.scss +1205 -0
- package/src/lib/components/add-checklist/add-checklist.component.spec.ts +23 -0
- package/src/lib/components/add-checklist/add-checklist.component.ts +2460 -0
- package/src/lib/components/add-checklist/checklist-popup/checklist-popup.component.html +207 -0
- package/src/lib/components/add-checklist/checklist-popup/checklist-popup.component.scss +213 -0
- package/src/lib/components/add-checklist/checklist-popup/checklist-popup.component.spec.ts +23 -0
- package/src/lib/components/add-checklist/checklist-popup/checklist-popup.component.ts +621 -0
- package/src/lib/components/add-checklist/counter/counter.component.html +43 -0
- package/src/lib/components/add-checklist/counter/counter.component.scss +49 -0
- package/src/lib/components/add-checklist/counter/counter.component.spec.ts +23 -0
- package/src/lib/components/add-checklist/counter/counter.component.ts +123 -0
- package/src/lib/components/add-multitask/add-multitask.component.html +705 -0
- package/src/lib/components/add-multitask/add-multitask.component.scss +296 -0
- package/src/lib/components/add-multitask/add-multitask.component.spec.ts +23 -0
- package/src/lib/components/add-multitask/add-multitask.component.ts +611 -0
- package/src/lib/components/add-multitask/ascending-validator.ts +13 -0
- package/src/lib/components/add-multitask/bulkcreationmodel/bulkcreationmodel.component.html +197 -0
- package/src/lib/components/add-multitask/bulkcreationmodel/bulkcreationmodel.component.scss +31 -0
- package/src/lib/components/add-multitask/bulkcreationmodel/bulkcreationmodel.component.spec.ts +23 -0
- package/src/lib/components/add-multitask/bulkcreationmodel/bulkcreationmodel.component.ts +285 -0
- package/src/lib/components/add-multitask/create-task.data.ts +374 -0
- package/src/lib/components/add-multitask/create-task.interface.ts +177 -0
- package/src/lib/components/add-multitask/unique-string-validator.ts +13 -0
- package/src/lib/components/add-multitask/whitespace-validator.ts +11 -0
- package/src/lib/components/add-task/add-task.component.html +654 -0
- package/src/lib/components/add-task/add-task.component.scss +536 -0
- package/src/lib/components/add-task/add-task.component.spec.ts +23 -0
- package/src/lib/components/add-task/add-task.component.ts +569 -0
- package/src/lib/components/add-task/ascending-validator.ts +13 -0
- package/src/lib/components/add-task/create-task.data.ts +374 -0
- package/src/lib/components/add-task/create-task.interface.ts +192 -0
- package/src/lib/components/add-task/unique-string-validator.ts +13 -0
- package/src/lib/components/add-task/whitespace-validator.ts +11 -0
- package/src/lib/components/approval-popup/approval-popup.component.html +25 -0
- package/src/lib/components/approval-popup/approval-popup.component.scss +3 -0
- package/src/lib/components/approval-popup/approval-popup.component.spec.ts +23 -0
- package/src/lib/components/approval-popup/approval-popup.component.ts +26 -0
- package/src/lib/components/checklist/checklist.component.html +330 -0
- package/src/lib/components/checklist/checklist.component.scss +112 -0
- package/src/lib/components/checklist/checklist.component.spec.ts +23 -0
- package/src/lib/components/checklist/checklist.component.ts +344 -0
- package/src/lib/components/checklist-configure/assign/assign.component.html +665 -0
- package/src/lib/components/checklist-configure/assign/assign.component.scss +219 -0
- package/src/lib/components/checklist-configure/assign/assign.component.spec.ts +23 -0
- package/src/lib/components/checklist-configure/assign/assign.component.ts +932 -0
- package/src/lib/components/checklist-configure/checklist-configure.component.html +4340 -0
- package/src/lib/components/checklist-configure/checklist-configure.component.scss +2338 -0
- package/src/lib/components/checklist-configure/checklist-configure.component.spec.ts +23 -0
- package/src/lib/components/checklist-configure/checklist-configure.component.ts +4659 -0
- package/src/lib/components/checklistlayout/checklistlayout.component.html +30 -0
- package/src/lib/components/checklistlayout/checklistlayout.component.scss +15 -0
- package/src/lib/components/checklistlayout/checklistlayout.component.spec.ts +23 -0
- package/src/lib/components/checklistlayout/checklistlayout.component.ts +47 -0
- package/src/lib/components/chip-dropdown/chip-dropdown.component.html +36 -0
- package/src/lib/components/chip-dropdown/chip-dropdown.component.scss +97 -0
- package/src/lib/components/chip-dropdown/chip-dropdown.component.spec.ts +23 -0
- package/src/lib/components/chip-dropdown/chip-dropdown.component.ts +125 -0
- package/src/lib/components/create-task/create-task.component.html +2003 -0
- package/src/lib/components/create-task/create-task.component.scss +272 -0
- package/src/lib/components/create-task/create-task.component.spec.ts +23 -0
- package/src/lib/components/create-task/create-task.component.ts +614 -0
- package/src/lib/components/create-task/create-task.data.ts +372 -0
- package/src/lib/components/create-task/create-task.interface.ts +182 -0
- package/src/lib/components/create-task/validators/ascending-validator.ts +13 -0
- package/src/lib/components/create-task/validators/unique-string-validator.ts +13 -0
- package/src/lib/components/create-task/validators/whitespace-validator.ts +11 -0
- package/src/lib/components/custom-select/custom-select.component.html +44 -0
- package/src/lib/components/custom-select/custom-select.component.scss +144 -0
- package/src/lib/components/custom-select/custom-select.component.spec.ts +23 -0
- package/src/lib/components/custom-select/custom-select.component.ts +265 -0
- package/src/lib/components/dashboard/dashboard.component.html +1076 -0
- package/src/lib/components/dashboard/dashboard.component.scss +237 -0
- package/src/lib/components/dashboard/dashboard.component.spec.ts +23 -0
- package/src/lib/components/dashboard/dashboard.component.ts +539 -0
- package/src/lib/components/dashboard-info/dashboard-info.component.html +1420 -0
- package/src/lib/components/dashboard-info/dashboard-info.component.scss +409 -0
- package/src/lib/components/dashboard-info/dashboard-info.component.spec.ts +23 -0
- package/src/lib/components/dashboard-info/dashboard-info.component.ts +772 -0
- package/src/lib/components/dashboard-info/monthlyperformance-datepicker/monthlyperformance-datepicker.component.html +110 -0
- package/src/lib/components/dashboard-info/monthlyperformance-datepicker/monthlyperformance-datepicker.component.scss +260 -0
- package/src/lib/components/dashboard-info/monthlyperformance-datepicker/monthlyperformance-datepicker.component.spec.ts +23 -0
- package/src/lib/components/dashboard-info/monthlyperformance-datepicker/monthlyperformance-datepicker.component.ts +143 -0
- package/src/lib/components/dashboard-layout/dashboard-layout.component.html +1 -0
- package/src/lib/components/dashboard-layout/dashboard-layout.component.scss +0 -0
- package/src/lib/components/dashboard-layout/dashboard-layout.component.spec.ts +23 -0
- package/src/lib/components/dashboard-layout/dashboard-layout.component.ts +10 -0
- package/src/lib/components/disabled-select/disabled-select.component.html +44 -0
- package/src/lib/components/disabled-select/disabled-select.component.scss +149 -0
- package/src/lib/components/disabled-select/disabled-select.component.spec.ts +23 -0
- package/src/lib/components/disabled-select/disabled-select.component.ts +146 -0
- package/src/lib/components/export-gallery/export-gallery.component.html +175 -0
- package/src/lib/components/export-gallery/export-gallery.component.scss +200 -0
- package/src/lib/components/export-gallery/export-gallery.component.spec.ts +23 -0
- package/src/lib/components/export-gallery/export-gallery.component.ts +263 -0
- package/src/lib/components/eye-test-audit/chip-dropdown/chip-dropdown.component.html +36 -0
- package/src/lib/components/eye-test-audit/chip-dropdown/chip-dropdown.component.scss +97 -0
- package/src/lib/components/eye-test-audit/chip-dropdown/chip-dropdown.component.spec.ts +23 -0
- package/src/lib/components/eye-test-audit/chip-dropdown/chip-dropdown.component.ts +104 -0
- package/src/lib/components/eye-test-audit/custom-select/custom-select.component.html +44 -0
- package/src/lib/components/eye-test-audit/custom-select/custom-select.component.scss +144 -0
- package/src/lib/components/eye-test-audit/custom-select/custom-select.component.spec.ts +23 -0
- package/src/lib/components/eye-test-audit/custom-select/custom-select.component.ts +265 -0
- package/src/lib/components/eye-test-audit/eye-test/eye-test.component.html +1804 -0
- package/src/lib/components/eye-test-audit/eye-test/eye-test.component.scss +806 -0
- package/src/lib/components/eye-test-audit/eye-test/eye-test.component.spec.ts +23 -0
- package/src/lib/components/eye-test-audit/eye-test/eye-test.component.ts +1890 -0
- package/src/lib/components/eye-test-audit/eye-test/send-alert/send-alert.component.html +25 -0
- package/src/lib/components/eye-test-audit/eye-test/send-alert/send-alert.component.scss +0 -0
- package/src/lib/components/eye-test-audit/eye-test/send-alert/send-alert.component.spec.ts +23 -0
- package/src/lib/components/eye-test-audit/eye-test/send-alert/send-alert.component.ts +20 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/eye-test-audit-routing.module.ts +26 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.component.html +1 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.component.scss +0 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.component.spec.ts +23 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.component.ts +24 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.module.ts +44 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/settings-audit/settings-audit.component.html +490 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/settings-audit/settings-audit.component.scss +721 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/settings-audit/settings-audit.component.spec.ts +23 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/settings-audit/settings-audit.component.ts +1017 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.html +708 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.scss +247 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.spec.ts +23 -0
- package/src/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.ts +446 -0
- package/src/lib/components/eye-test-audit/group-select/group-select.component.html +44 -0
- package/src/lib/components/eye-test-audit/group-select/group-select.component.scss +144 -0
- package/src/lib/components/eye-test-audit/group-select/group-select.component.spec.ts +23 -0
- package/src/lib/components/eye-test-audit/group-select/group-select.component.ts +147 -0
- package/src/lib/components/eye-test-audit/reactive-select/reactive-select.component.html +18 -0
- package/src/lib/components/eye-test-audit/reactive-select/reactive-select.component.scss +49 -0
- package/src/lib/components/eye-test-audit/reactive-select/reactive-select.component.spec.ts +23 -0
- package/src/lib/components/eye-test-audit/reactive-select/reactive-select.component.ts +104 -0
- package/src/lib/components/eye-test-audit/select-drop/select-drop.component.html +44 -0
- package/src/lib/components/eye-test-audit/select-drop/select-drop.component.scss +144 -0
- package/src/lib/components/eye-test-audit/select-drop/select-drop.component.spec.ts +23 -0
- package/src/lib/components/eye-test-audit/select-drop/select-drop.component.ts +152 -0
- package/src/lib/components/eye-test-audit/services/eye-test-audit.service.spec.ts +16 -0
- package/src/lib/components/eye-test-audit/services/eye-test-audit.service.ts +190 -0
- package/src/lib/components/flag-layout/flag-layout.component.html +1 -0
- package/src/lib/components/flag-layout/flag-layout.component.scss +0 -0
- package/src/lib/components/flag-layout/flag-layout.component.spec.ts +23 -0
- package/src/lib/components/flag-layout/flag-layout.component.ts +10 -0
- package/src/lib/components/flags/flags.component.html +473 -0
- package/src/lib/components/flags/flags.component.scss +86 -0
- package/src/lib/components/flags/flags.component.spec.ts +23 -0
- package/src/lib/components/flags/flags.component.ts +280 -0
- package/{lib/components/flags/flags.interface.d.ts → src/lib/components/flags/flags.interface.ts} +73 -65
- package/src/lib/components/flags-info/flags-info.component.html +6012 -0
- package/src/lib/components/flags-info/flags-info.component.scss +278 -0
- package/src/lib/components/flags-info/flags-info.component.spec.ts +23 -0
- package/src/lib/components/flags-info/flags-info.component.ts +490 -0
- package/src/lib/components/flags-info/flags-info.interface.ts +441 -0
- package/src/lib/components/flags-info/unattended-pie-chart/unattended-pie-chart.component.html +1 -0
- package/src/lib/components/flags-info/unattended-pie-chart/unattended-pie-chart.component.scss +4 -0
- package/src/lib/components/flags-info/unattended-pie-chart/unattended-pie-chart.component.ts +78 -0
- package/src/lib/components/flags-new/flags-new.component.html +904 -0
- package/src/lib/components/flags-new/flags-new.component.scss +121 -0
- package/src/lib/components/flags-new/flags-new.component.spec.ts +23 -0
- package/src/lib/components/flags-new/flags-new.component.ts +357 -0
- package/{lib/components/flags-new/flags-new.interface.d.ts → src/lib/components/flags-new/flags-new.interface.ts} +90 -81
- package/src/lib/components/gallery/gallery.component.html +3660 -0
- package/src/lib/components/gallery/gallery.component.scss +930 -0
- package/src/lib/components/gallery/gallery.component.ts +3527 -0
- package/src/lib/components/group-select/group-select.component.html +44 -0
- package/src/lib/components/group-select/group-select.component.scss +144 -0
- package/src/lib/components/group-select/group-select.component.spec.ts +23 -0
- package/src/lib/components/group-select/group-select.component.ts +145 -0
- package/src/lib/components/image-popup/image-popup.component.html +11 -0
- package/src/lib/components/image-popup/image-popup.component.scss +5 -0
- package/src/lib/components/image-popup/image-popup.component.ts +18 -0
- package/src/lib/components/lib/custom-select/custom-select.component.html +42 -0
- package/src/lib/components/lib/custom-select/custom-select.component.scss +131 -0
- package/src/lib/components/lib/custom-select/custom-select.component.spec.ts +23 -0
- package/src/lib/components/lib/custom-select/custom-select.component.ts +151 -0
- package/src/lib/components/manage-task/manage-task.component.html +265 -0
- package/src/lib/components/manage-task/manage-task.component.scss +69 -0
- package/src/lib/components/manage-task/manage-task.component.spec.ts +23 -0
- package/src/lib/components/manage-task/manage-task.component.ts +267 -0
- package/src/lib/components/managechecklist/managechecklist.component.html +176 -0
- package/src/lib/components/managechecklist/managechecklist.component.scss +43 -0
- package/src/lib/components/managechecklist/managechecklist.component.spec.ts +23 -0
- package/src/lib/components/managechecklist/managechecklist.component.ts +176 -0
- package/src/lib/components/multi-chip-dropdown/multi-chip-dropdown.component.html +46 -0
- package/src/lib/components/multi-chip-dropdown/multi-chip-dropdown.component.scss +181 -0
- package/src/lib/components/multi-chip-dropdown/multi-chip-dropdown.component.spec.ts +23 -0
- package/src/lib/components/multi-chip-dropdown/multi-chip-dropdown.component.ts +221 -0
- package/src/lib/components/multi-date-datepicker/multi-date-datepicker.component.html +36 -0
- package/src/lib/components/multi-date-datepicker/multi-date-datepicker.component.scss +89 -0
- package/src/lib/components/multi-date-datepicker/multi-date-datepicker.component.spec.ts +23 -0
- package/src/lib/components/multi-date-datepicker/multi-date-datepicker.component.ts +118 -0
- package/src/lib/components/orders/orders.component.html +203 -0
- package/src/lib/components/orders/orders.component.scss +180 -0
- package/src/lib/components/orders/orders.component.spec.ts +25 -0
- package/src/lib/components/orders/orders.component.ts +197 -0
- package/src/lib/components/pagination/pagination.component.html +28 -0
- package/src/lib/components/pagination/pagination.component.scss +6 -0
- package/src/lib/components/pagination/pagination.component.spec.ts +23 -0
- package/src/lib/components/pagination/pagination.component.ts +54 -0
- package/src/lib/components/reactive-select/reactive-select.component.html +18 -0
- package/src/lib/components/reactive-select/reactive-select.component.scss +48 -0
- package/src/lib/components/reactive-select/reactive-select.component.spec.ts +23 -0
- package/src/lib/components/reactive-select/reactive-select.component.ts +104 -0
- package/src/lib/components/reports/date-picker/date-picker.component.html +54 -0
- package/src/lib/components/reports/date-picker/date-picker.component.scss +156 -0
- package/src/lib/components/reports/date-picker/date-picker.component.spec.ts +23 -0
- package/src/lib/components/reports/date-picker/date-picker.component.ts +60 -0
- package/src/lib/components/reports/reports.component.html +225 -0
- package/src/lib/components/reports/reports.component.scss +69 -0
- package/src/lib/components/reports/reports.component.spec.ts +23 -0
- package/src/lib/components/reports/reports.component.ts +334 -0
- package/{lib/components/reports/reports.interface.d.ts → src/lib/components/reports/reports.interface.ts} +50 -46
- package/src/lib/components/tango-analyse-trax/tango-analyse-trax.component.html +1 -0
- package/src/lib/components/tango-analyse-trax/tango-analyse-trax.component.scss +15 -0
- package/src/lib/components/tango-analyse-trax/tango-analyse-trax.component.spec.ts +23 -0
- package/src/lib/components/tango-analyse-trax/tango-analyse-trax.component.ts +31 -0
- package/src/lib/components/task/task.component.html +322 -0
- package/src/lib/components/task/task.component.scss +169 -0
- package/src/lib/components/task/task.component.spec.ts +23 -0
- package/src/lib/components/task/task.component.ts +340 -0
- package/src/lib/components/task-configure/task-configure.component.html +737 -0
- package/src/lib/components/task-configure/task-configure.component.scss +569 -0
- package/src/lib/components/task-configure/task-configure.component.spec.ts +23 -0
- package/src/lib/components/task-configure/task-configure.component.ts +1603 -0
- package/src/lib/components/task-configure/task-configure.interface.ts +138 -0
- package/src/lib/components/task-info/task-info.component.html +390 -0
- package/src/lib/components/task-info/task-info.component.scss +56 -0
- package/src/lib/components/task-info/task-info.component.spec.ts +23 -0
- package/src/lib/components/task-info/task-info.component.ts +400 -0
- package/src/lib/components/task-info/taskinfo-edit/taskinfo-edit.component.html +141 -0
- package/src/lib/components/task-info/taskinfo-edit/taskinfo-edit.component.scss +460 -0
- package/src/lib/components/task-info/taskinfo-edit/taskinfo-edit.component.spec.ts +23 -0
- package/src/lib/components/task-info/taskinfo-edit/taskinfo-edit.component.ts +202 -0
- package/src/lib/components/task-layout/task-layout.component.html +1 -0
- package/src/lib/components/task-layout/task-layout.component.scss +0 -0
- package/src/lib/components/task-layout/task-layout.component.spec.ts +23 -0
- package/src/lib/components/task-layout/task-layout.component.ts +10 -0
- package/src/lib/components/task-logs/task-logs.component.html +97 -0
- package/src/lib/components/task-logs/task-logs.component.scss +301 -0
- package/src/lib/components/task-logs/task-logs.component.spec.ts +23 -0
- package/src/lib/components/task-logs/task-logs.component.ts +80 -0
- package/src/lib/components/trax-run-ai-popup/trax-run-ai-popup.component.html +84 -0
- package/src/lib/components/trax-run-ai-popup/trax-run-ai-popup.component.scss +229 -0
- package/src/lib/components/trax-run-ai-popup/trax-run-ai-popup.component.spec.ts +23 -0
- package/src/lib/components/trax-run-ai-popup/trax-run-ai-popup.component.ts +111 -0
- package/src/lib/components/trax-store/trax-store.component.html +78 -0
- package/src/lib/components/trax-store/trax-store.component.scss +134 -0
- package/src/lib/components/trax-store/trax-store.component.spec.ts +23 -0
- package/src/lib/components/trax-store/trax-store.component.ts +172 -0
- package/src/lib/components/traxpopup/traxpopup.component.html +130 -0
- package/src/lib/components/traxpopup/traxpopup.component.scss +225 -0
- package/src/lib/components/traxpopup/traxpopup.component.spec.ts +23 -0
- package/src/lib/components/traxpopup/traxpopup.component.ts +71 -0
- package/src/lib/services/trax.service.spec.ts +16 -0
- package/src/lib/services/trax.service.ts +789 -0
- package/src/lib/tango-analyse-trax-routing.module.ts +151 -0
- package/src/lib/tango-analyse-trax.module.ts +140 -0
- package/{public-api.d.ts → src/public-api.ts} +6 -2
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/lib/components/action-centre/action-centre.component.mjs +0 -288
- package/esm2022/lib/components/activity-log/activity-log.component.mjs +0 -150
- package/esm2022/lib/components/activity-log-v2/activity-log-v2.component.mjs +0 -502
- package/esm2022/lib/components/activity-log-v2/log-view-popup/date-range-picker/date-range-picker.component.mjs +0 -114
- package/esm2022/lib/components/activity-log-v2/log-view-popup/store-user-dropdown/store-user-dropdown.component.mjs +0 -24
- package/esm2022/lib/components/activity-log-v2/log-view-popup/view-action/view-action.component.mjs +0 -126
- package/esm2022/lib/components/add-checklist/add-checklist.component.mjs +0 -2352
- package/esm2022/lib/components/add-checklist/checklist-popup/checklist-popup.component.mjs +0 -612
- package/esm2022/lib/components/add-checklist/counter/counter.component.mjs +0 -138
- package/esm2022/lib/components/add-multitask/add-multitask.component.mjs +0 -604
- package/esm2022/lib/components/add-multitask/ascending-validator.mjs +0 -11
- package/esm2022/lib/components/add-multitask/bulkcreationmodel/bulkcreationmodel.component.mjs +0 -297
- package/esm2022/lib/components/add-multitask/create-task.data.mjs +0 -372
- package/esm2022/lib/components/add-multitask/create-task.interface.mjs +0 -2
- package/esm2022/lib/components/add-multitask/unique-string-validator.mjs +0 -10
- package/esm2022/lib/components/add-multitask/whitespace-validator.mjs +0 -10
- package/esm2022/lib/components/add-task/add-task.component.mjs +0 -561
- package/esm2022/lib/components/add-task/ascending-validator.mjs +0 -11
- package/esm2022/lib/components/add-task/create-task.data.mjs +0 -372
- package/esm2022/lib/components/add-task/create-task.interface.mjs +0 -2
- package/esm2022/lib/components/add-task/unique-string-validator.mjs +0 -10
- package/esm2022/lib/components/add-task/whitespace-validator.mjs +0 -10
- package/esm2022/lib/components/approval-popup/approval-popup.component.mjs +0 -30
- package/esm2022/lib/components/checklist/checklist.component.mjs +0 -327
- package/esm2022/lib/components/checklist-configure/assign/assign.component.mjs +0 -912
- package/esm2022/lib/components/checklist-configure/checklist-configure.component.mjs +0 -4161
- package/esm2022/lib/components/checklistlayout/checklistlayout.component.mjs +0 -44
- package/esm2022/lib/components/chip-dropdown/chip-dropdown.component.mjs +0 -120
- package/esm2022/lib/components/create-task/create-task.component.mjs +0 -585
- package/esm2022/lib/components/create-task/create-task.data.mjs +0 -372
- package/esm2022/lib/components/create-task/create-task.interface.mjs +0 -2
- package/esm2022/lib/components/create-task/validators/ascending-validator.mjs +0 -11
- package/esm2022/lib/components/create-task/validators/unique-string-validator.mjs +0 -10
- package/esm2022/lib/components/create-task/validators/whitespace-validator.mjs +0 -10
- package/esm2022/lib/components/custom-select/custom-select.component.mjs +0 -240
- package/esm2022/lib/components/dashboard/dashboard.component.mjs +0 -532
- package/esm2022/lib/components/dashboard-info/dashboard-info.component.mjs +0 -741
- package/esm2022/lib/components/dashboard-info/monthlyperformance-datepicker/monthlyperformance-datepicker.component.mjs +0 -155
- package/esm2022/lib/components/dashboard-layout/dashboard-layout.component.mjs +0 -12
- package/esm2022/lib/components/disabled-select/disabled-select.component.mjs +0 -158
- package/esm2022/lib/components/export-gallery/export-gallery.component.mjs +0 -266
- package/esm2022/lib/components/eye-test-audit/chip-dropdown/chip-dropdown.component.mjs +0 -105
- package/esm2022/lib/components/eye-test-audit/custom-select/custom-select.component.mjs +0 -240
- package/esm2022/lib/components/eye-test-audit/eye-test/eye-test.component.mjs +0 -1733
- package/esm2022/lib/components/eye-test-audit/eye-test/send-alert/send-alert.component.mjs +0 -24
- package/esm2022/lib/components/eye-test-audit/eye-test-audit/eye-test-audit-routing.module.mjs +0 -34
- package/esm2022/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.component.mjs +0 -27
- package/esm2022/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.module.mjs +0 -71
- package/esm2022/lib/components/eye-test-audit/eye-test-audit/settings-audit/settings-audit.component.mjs +0 -823
- package/esm2022/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.mjs +0 -412
- package/esm2022/lib/components/eye-test-audit/group-select/group-select.component.mjs +0 -157
- package/esm2022/lib/components/eye-test-audit/reactive-select/reactive-select.component.mjs +0 -105
- package/esm2022/lib/components/eye-test-audit/select-drop/select-drop.component.mjs +0 -162
- package/esm2022/lib/components/eye-test-audit/services/eye-test-audit.service.mjs +0 -166
- package/esm2022/lib/components/flag-layout/flag-layout.component.mjs +0 -12
- package/esm2022/lib/components/flags/flags.component.mjs +0 -263
- package/esm2022/lib/components/flags/flags.interface.mjs +0 -2
- package/esm2022/lib/components/flags-info/flags-info.component.mjs +0 -452
- package/esm2022/lib/components/flags-info/flags-info.interface.mjs +0 -2
- package/esm2022/lib/components/flags-info/unattended-pie-chart/unattended-pie-chart.component.mjs +0 -71
- package/esm2022/lib/components/flags-new/flags-new.component.mjs +0 -335
- package/esm2022/lib/components/flags-new/flags-new.interface.mjs +0 -2
- package/esm2022/lib/components/gallery/gallery.component.mjs +0 -3402
- package/esm2022/lib/components/group-select/group-select.component.mjs +0 -155
- package/esm2022/lib/components/image-popup/image-popup.component.mjs +0 -25
- package/esm2022/lib/components/lib/custom-select/custom-select.component.mjs +0 -158
- package/esm2022/lib/components/manage-task/manage-task.component.mjs +0 -264
- package/esm2022/lib/components/managechecklist/managechecklist.component.mjs +0 -186
- package/esm2022/lib/components/multi-chip-dropdown/multi-chip-dropdown.component.mjs +0 -229
- package/esm2022/lib/components/multi-date-datepicker/multi-date-datepicker.component.mjs +0 -124
- package/esm2022/lib/components/orders/orders.component.mjs +0 -171
- package/esm2022/lib/components/pagination/pagination.component.mjs +0 -62
- package/esm2022/lib/components/reactive-select/reactive-select.component.mjs +0 -108
- package/esm2022/lib/components/reports/date-picker/date-picker.component.mjs +0 -60
- package/esm2022/lib/components/reports/reports.component.mjs +0 -300
- package/esm2022/lib/components/reports/reports.interface.mjs +0 -2
- package/esm2022/lib/components/tango-analyse-trax/tango-analyse-trax.component.mjs +0 -32
- package/esm2022/lib/components/task/task.component.mjs +0 -341
- package/esm2022/lib/components/task-configure/task-configure.component.mjs +0 -1532
- package/esm2022/lib/components/task-configure/task-configure.interface.mjs +0 -2
- package/esm2022/lib/components/task-info/task-info.component.mjs +0 -375
- package/esm2022/lib/components/task-info/taskinfo-edit/taskinfo-edit.component.mjs +0 -208
- package/esm2022/lib/components/task-layout/task-layout.component.mjs +0 -12
- package/esm2022/lib/components/task-logs/task-logs.component.mjs +0 -104
- package/esm2022/lib/components/trax-run-ai-popup/trax-run-ai-popup.component.mjs +0 -107
- package/esm2022/lib/components/trax-store/trax-store.component.mjs +0 -179
- package/esm2022/lib/components/traxpopup/traxpopup.component.mjs +0 -70
- package/esm2022/lib/services/trax.service.mjs +0 -559
- package/esm2022/lib/tango-analyse-trax-routing.module.mjs +0 -153
- package/esm2022/lib/tango-analyse-trax.module.mjs +0 -221
- package/esm2022/public-api.mjs +0 -6
- package/esm2022/tango-app-ui-analyse-trax.mjs +0 -5
- package/fesm2022/tango-app-ui-analyse-trax.mjs +0 -28896
- package/fesm2022/tango-app-ui-analyse-trax.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/action-centre/action-centre.component.d.ts +0 -68
- package/lib/components/activity-log/activity-log.component.d.ts +0 -39
- package/lib/components/activity-log-v2/activity-log-v2.component.d.ts +0 -78
- package/lib/components/activity-log-v2/log-view-popup/date-range-picker/date-range-picker.component.d.ts +0 -24
- package/lib/components/activity-log-v2/log-view-popup/store-user-dropdown/store-user-dropdown.component.d.ts +0 -9
- package/lib/components/activity-log-v2/log-view-popup/view-action/view-action.component.d.ts +0 -34
- package/lib/components/add-checklist/add-checklist.component.d.ts +0 -121
- package/lib/components/add-checklist/checklist-popup/checklist-popup.component.d.ts +0 -45
- package/lib/components/add-checklist/counter/counter.component.d.ts +0 -29
- package/lib/components/add-multitask/add-multitask.component.d.ts +0 -102
- package/lib/components/add-multitask/ascending-validator.d.ts +0 -2
- package/lib/components/add-multitask/bulkcreationmodel/bulkcreationmodel.component.d.ts +0 -45
- package/lib/components/add-multitask/create-task.data.d.ts +0 -293
- package/lib/components/add-multitask/create-task.interface.d.ts +0 -159
- package/lib/components/add-multitask/unique-string-validator.d.ts +0 -2
- package/lib/components/add-multitask/whitespace-validator.d.ts +0 -2
- package/lib/components/add-task/add-task.component.d.ts +0 -89
- package/lib/components/add-task/ascending-validator.d.ts +0 -2
- package/lib/components/add-task/create-task.data.d.ts +0 -293
- package/lib/components/add-task/create-task.interface.d.ts +0 -161
- package/lib/components/add-task/unique-string-validator.d.ts +0 -2
- package/lib/components/add-task/whitespace-validator.d.ts +0 -2
- package/lib/components/approval-popup/approval-popup.component.d.ts +0 -14
- package/lib/components/checklist/checklist.component.d.ts +0 -40
- package/lib/components/checklist-configure/assign/assign.component.d.ts +0 -105
- package/lib/components/checklist-configure/checklist-configure.component.d.ts +0 -325
- package/lib/components/checklistlayout/checklistlayout.component.d.ts +0 -15
- package/lib/components/chip-dropdown/chip-dropdown.component.d.ts +0 -28
- package/lib/components/create-task/create-task.component.d.ts +0 -76
- package/lib/components/create-task/create-task.data.d.ts +0 -293
- package/lib/components/create-task/create-task.interface.d.ts +0 -163
- package/lib/components/create-task/validators/ascending-validator.d.ts +0 -2
- package/lib/components/create-task/validators/unique-string-validator.d.ts +0 -2
- package/lib/components/create-task/validators/whitespace-validator.d.ts +0 -2
- package/lib/components/custom-select/custom-select.component.d.ts +0 -35
- package/lib/components/dashboard/dashboard.component.d.ts +0 -80
- package/lib/components/dashboard-info/dashboard-info.component.d.ts +0 -117
- package/lib/components/dashboard-info/monthlyperformance-datepicker/monthlyperformance-datepicker.component.d.ts +0 -41
- package/lib/components/dashboard-layout/dashboard-layout.component.d.ts +0 -5
- package/lib/components/disabled-select/disabled-select.component.d.ts +0 -34
- package/lib/components/export-gallery/export-gallery.component.d.ts +0 -44
- package/lib/components/eye-test-audit/chip-dropdown/chip-dropdown.component.d.ts +0 -26
- package/lib/components/eye-test-audit/custom-select/custom-select.component.d.ts +0 -35
- package/lib/components/eye-test-audit/eye-test/eye-test.component.d.ts +0 -218
- package/lib/components/eye-test-audit/eye-test/send-alert/send-alert.component.d.ts +0 -12
- package/lib/components/eye-test-audit/eye-test-audit/eye-test-audit-routing.module.d.ts +0 -7
- package/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.component.d.ts +0 -11
- package/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.module.d.ts +0 -21
- package/lib/components/eye-test-audit/eye-test-audit/settings-audit/settings-audit.component.d.ts +0 -129
- package/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.d.ts +0 -86
- package/lib/components/eye-test-audit/group-select/group-select.component.d.ts +0 -33
- package/lib/components/eye-test-audit/reactive-select/reactive-select.component.d.ts +0 -32
- package/lib/components/eye-test-audit/select-drop/select-drop.component.d.ts +0 -33
- package/lib/components/eye-test-audit/services/eye-test-audit.service.d.ts +0 -47
- package/lib/components/flag-layout/flag-layout.component.d.ts +0 -5
- package/lib/components/flags/flags.component.d.ts +0 -52
- package/lib/components/flags-info/flags-info.component.d.ts +0 -73
- package/lib/components/flags-info/flags-info.interface.d.ts +0 -430
- package/lib/components/flags-info/unattended-pie-chart/unattended-pie-chart.component.d.ts +0 -13
- package/lib/components/flags-new/flags-new.component.d.ts +0 -60
- package/lib/components/gallery/gallery.component.d.ts +0 -261
- package/lib/components/group-select/group-select.component.d.ts +0 -33
- package/lib/components/image-popup/image-popup.component.d.ts +0 -11
- package/lib/components/lib/custom-select/custom-select.component.d.ts +0 -33
- package/lib/components/manage-task/manage-task.component.d.ts +0 -47
- package/lib/components/managechecklist/managechecklist.component.d.ts +0 -33
- package/lib/components/multi-chip-dropdown/multi-chip-dropdown.component.d.ts +0 -40
- package/lib/components/multi-date-datepicker/multi-date-datepicker.component.d.ts +0 -27
- package/lib/components/orders/orders.component.d.ts +0 -38
- package/lib/components/pagination/pagination.component.d.ts +0 -16
- package/lib/components/reactive-select/reactive-select.component.d.ts +0 -32
- package/lib/components/reports/date-picker/date-picker.component.d.ts +0 -23
- package/lib/components/reports/reports.component.d.ts +0 -55
- package/lib/components/tango-analyse-trax/tango-analyse-trax.component.d.ts +0 -14
- package/lib/components/task/task.component.d.ts +0 -70
- package/lib/components/task-configure/task-configure.component.d.ts +0 -142
- package/lib/components/task-configure/task-configure.interface.d.ts +0 -128
- package/lib/components/task-info/task-info.component.d.ts +0 -76
- package/lib/components/task-info/taskinfo-edit/taskinfo-edit.component.d.ts +0 -61
- package/lib/components/task-layout/task-layout.component.d.ts +0 -5
- package/lib/components/task-logs/task-logs.component.d.ts +0 -27
- package/lib/components/trax-run-ai-popup/trax-run-ai-popup.component.d.ts +0 -26
- package/lib/components/trax-store/trax-store.component.d.ts +0 -45
- package/lib/components/traxpopup/traxpopup.component.d.ts +0 -24
- package/lib/services/trax.service.d.ts +0 -175
- package/lib/tango-analyse-trax-routing.module.d.ts +0 -7
- package/lib/tango-analyse-trax.module.d.ts +0 -68
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { GlobalStateService, PageInfoService } from 'tango-app-ui-global';
|
|
3
|
+
import { TraxService } from '../../services/trax.service';
|
|
4
|
+
import { Subject, debounceTime, takeUntil } from "rxjs";
|
|
5
|
+
import { Router } from '@angular/router';
|
|
6
|
+
import dayjs from 'dayjs';
|
|
7
|
+
@Component({
|
|
8
|
+
selector: 'lib-activity-log',
|
|
9
|
+
templateUrl: './activity-log.component.html',
|
|
10
|
+
styleUrl: './activity-log.component.scss'
|
|
11
|
+
})
|
|
12
|
+
export class ActivityLogComponent implements OnInit,OnDestroy {
|
|
13
|
+
private destroy$ = new Subject();
|
|
14
|
+
headerData: any;
|
|
15
|
+
activityLogLoading: boolean = true;
|
|
16
|
+
activityLogNoData: boolean = false;
|
|
17
|
+
itemsPerPage = 10
|
|
18
|
+
currentPage = 1
|
|
19
|
+
totalItems = 0
|
|
20
|
+
sortColumName: string = '';
|
|
21
|
+
sortBy: any = '';
|
|
22
|
+
sortDirection: any = '';
|
|
23
|
+
paginationSizes:any[] = [];
|
|
24
|
+
pageSize = 10
|
|
25
|
+
activityLog: any[] = [];
|
|
26
|
+
dayjs = dayjs;
|
|
27
|
+
date: any;
|
|
28
|
+
userEmailes: any = [];
|
|
29
|
+
|
|
30
|
+
constructor(public gs: GlobalStateService,private pageInfo: PageInfoService,private TraxService: TraxService,
|
|
31
|
+
private changeDetector: ChangeDetectorRef, private router: Router,
|
|
32
|
+
) {
|
|
33
|
+
this.userEmailes = JSON.parse(localStorage.getItem("usersEmail-info") || "[]" )
|
|
34
|
+
}
|
|
35
|
+
ngOnDestroy(): void {
|
|
36
|
+
this.destroy$.next(true);
|
|
37
|
+
this.destroy$.complete();
|
|
38
|
+
}
|
|
39
|
+
ngOnInit(): void {
|
|
40
|
+
this.date = this.dayjs().format('YYYY-MM-DD');
|
|
41
|
+
this.gs.dataRangeValue
|
|
42
|
+
.pipe(takeUntil(this.destroy$), debounceTime(300))
|
|
43
|
+
.subscribe((data: any) => {
|
|
44
|
+
this.headerData = data;
|
|
45
|
+
this.getActivityLog()
|
|
46
|
+
})
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
getActivityLog(): void {
|
|
50
|
+
this.activityLogLoading = true;
|
|
51
|
+
this.activityLogNoData = true;
|
|
52
|
+
const requestData = {
|
|
53
|
+
// fromDate: this.headerData.date.startDate,
|
|
54
|
+
// toDate: this.headerData.date.endDate,
|
|
55
|
+
storeId: this.headerData.stores.filter((store: any) => store.checked).map((store: any) => store.storeId),
|
|
56
|
+
userEmailes: this.userEmailes,
|
|
57
|
+
clientId:this.headerData.client,
|
|
58
|
+
limit: this.itemsPerPage,
|
|
59
|
+
offset: this.currentPage,
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
this.TraxService.getActivityLog(requestData)
|
|
63
|
+
.pipe(takeUntil(this.destroy$))
|
|
64
|
+
.subscribe((response: any) => {
|
|
65
|
+
this.activityLogLoading = false;
|
|
66
|
+
if (response?.code === 200 && response?.status === "success") {
|
|
67
|
+
this.activityLog = response.data[0]?.activityLogData || []
|
|
68
|
+
this.totalItems = response.data[0]?.count[0]?.total || 0;
|
|
69
|
+
this.setPaginationSizes()
|
|
70
|
+
this.activityLogLoading = false;
|
|
71
|
+
this.activityLogNoData = false;
|
|
72
|
+
} else {
|
|
73
|
+
this.activityLog = [];
|
|
74
|
+
this.activityLogLoading = false;
|
|
75
|
+
this.activityLogNoData = true;
|
|
76
|
+
this.activityLog = []
|
|
77
|
+
this.totalItems = 0
|
|
78
|
+
this.changeDetector.detectChanges()
|
|
79
|
+
}
|
|
80
|
+
}, error => {
|
|
81
|
+
this.activityLog = []
|
|
82
|
+
this.changeDetector.detectChanges()
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
onPageSizeChange(pageSize: any) {
|
|
86
|
+
this.currentPage = 1;
|
|
87
|
+
this.itemsPerPage = pageSize;
|
|
88
|
+
this.pageSize = pageSize;
|
|
89
|
+
this.changeDetector.detectChanges();
|
|
90
|
+
this.getActivityLog()
|
|
91
|
+
}
|
|
92
|
+
onPageChange(pageOffset: any) {
|
|
93
|
+
this.currentPage = pageOffset
|
|
94
|
+
this.getActivityLog()
|
|
95
|
+
}
|
|
96
|
+
setPaginationSizes() {
|
|
97
|
+
if (this.totalItems > 10) {
|
|
98
|
+
this.paginationSizes = [10, 20, 30];
|
|
99
|
+
} else {
|
|
100
|
+
this.paginationSizes = [this.totalItems];
|
|
101
|
+
this.pageSize = this.totalItems;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
navigateToGallery(log: any): void {
|
|
106
|
+
let formattedDate = dayjs(log.createdAt).format('YYYY-MM-DD');
|
|
107
|
+
let checklistType: string;
|
|
108
|
+
if (log.type === 'custom') {
|
|
109
|
+
checklistType = 'custom';
|
|
110
|
+
} else if (['task', 'checklistTask', 'cctv'].includes(log.type)) {
|
|
111
|
+
checklistType = 'task';
|
|
112
|
+
} else {
|
|
113
|
+
checklistType = log.type || '--';
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
let queryParams:any= {}
|
|
117
|
+
if(log.store_id&&log.store_id!=''){
|
|
118
|
+
queryParams = {
|
|
119
|
+
ChecklistDate: formattedDate,
|
|
120
|
+
checklistType: checklistType,
|
|
121
|
+
storeId: log.store_id,
|
|
122
|
+
sourceCheckList_id: log.checklistId,
|
|
123
|
+
};
|
|
124
|
+
}else{
|
|
125
|
+
queryParams = {
|
|
126
|
+
ChecklistDate: formattedDate,
|
|
127
|
+
checklistType: checklistType,
|
|
128
|
+
userEmail: log.userEmail,
|
|
129
|
+
sourceCheckList_id: log.checklistId,
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
if (log.redoStatus) {
|
|
133
|
+
queryParams.redoStatus = true;
|
|
134
|
+
}
|
|
135
|
+
this.router.navigate(['/manage/trax/gallery'], { queryParams });
|
|
136
|
+
}
|
|
137
|
+
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
<div class="col-lg-12 mt-4">
|
|
2
|
+
<div class="card">
|
|
3
|
+
<div class="card-header border-0 pt-3">
|
|
4
|
+
<h3 class="card-title align-items-start flex-column">
|
|
5
|
+
<span class="card-label mb-2">Activity Log </span>
|
|
6
|
+
</h3>
|
|
7
|
+
<div class="card-toolbar">
|
|
8
|
+
<div class="d-flex">
|
|
9
|
+
<div class="d-flex align-items-center position-relative my-1">
|
|
10
|
+
<span class="svg-icon footfallsearch svg-icon-1 position-absolute ms-8">
|
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
|
12
|
+
fill="none">
|
|
13
|
+
<rect opacity="0.5" x="17.0365" y="15.1223" width="8.15546" height="2" rx="1"
|
|
14
|
+
transform="rotate(45 17.0365 15.1223)" fill="currentColor">
|
|
15
|
+
</rect>
|
|
16
|
+
<path
|
|
17
|
+
d="M11 19C6.55556 19 3 15.4444 3 11C3 6.55556 6.55556 3 11 3C15.4444 3 19 6.55556 19 11C19 15.4444 15.4444 19 11 19ZM11 5C7.53333 5 5 7.53333 5 11C5 14.4667 7.53333 17 11 17C14.4667 17 17 14.4667 17 11C17 7.53333 14.4667 5 11 5Z"
|
|
18
|
+
fill="currentColor"></path>
|
|
19
|
+
</svg>
|
|
20
|
+
</span>
|
|
21
|
+
<input *ngIf="receivedData === 'checklist'" [(ngModel)]="searchInput" type="text" class="form-control ps-14 mx-2 logsearch"
|
|
22
|
+
placeholder="Search with Store, Email, Checklist" autocomplete="off" (keyup.enter)="searchField()" />
|
|
23
|
+
<input *ngIf="receivedData === 'task'" [(ngModel)]="searchInput" type="text" class="form-control ps-14 mx-2 logsearch"
|
|
24
|
+
placeholder="Search with Store, Email, Task" autocomplete="off" (keyup.enter)="searchField()" />
|
|
25
|
+
<!-- datepicker start -->
|
|
26
|
+
<lib-date-range-picker (dateChange)="datechange($event)" [value]="count"></lib-date-range-picker>
|
|
27
|
+
<!-- datepicker end -->
|
|
28
|
+
<lib-filters [dataObject]="dataObject" (appliedFilters)="applyFilters($event)"></lib-filters>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="d-flex overflow-auto mb-2 mx-4">
|
|
34
|
+
<ul
|
|
35
|
+
class="nav nav-stretch nav-line-tabs1 nav-line-tabs-2x justify-content-center align-items-center border-transparent flex-nowrap">
|
|
36
|
+
<li class="nav-item cursor-pointer" (click)="Selecttabs('checklist')" [routerLink]="['/manage/trax/actioncenter']" [queryParams]="{ type: 'checklist' }">
|
|
37
|
+
<a [ngClass]="receivedData === 'checklist'?'btn activebtn':''" class="fw-semibold nav-link me-6">
|
|
38
|
+
Checklist
|
|
39
|
+
</a>
|
|
40
|
+
</li>
|
|
41
|
+
<li class="nav-item cursor-pointer" (click)="Selecttabs('task')" [routerLink]="['/manage/trax/actioncenter']" [queryParams]="{ type: 'task' }">
|
|
42
|
+
<a [ngClass]="receivedData === 'task' || receivedData === 'Group Details Value'? 'btn activebtn':''"
|
|
43
|
+
class="nav-link me-6">Task
|
|
44
|
+
</a>
|
|
45
|
+
</li>
|
|
46
|
+
</ul>
|
|
47
|
+
<!-- <lib-view-action [receivedData]="receivedData"></lib-view-action> -->
|
|
48
|
+
</div>
|
|
49
|
+
<div class="card-body p-0">
|
|
50
|
+
<div class="table-responsive">
|
|
51
|
+
<table *ngIf="!taskLoading && !taskNoData" class="table text-nowrap bottom-border">
|
|
52
|
+
<thead>
|
|
53
|
+
<tr>
|
|
54
|
+
<th class="cursor-pointer" (click)="sortData('datetime')">Date & Time<svg
|
|
55
|
+
[ngClass]="sortColumName === 'datetime' && sortDirection === 1 ? 'rotate' : ''"
|
|
56
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
|
|
57
|
+
fill="none">
|
|
58
|
+
<path
|
|
59
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
60
|
+
[attr.stroke]="sortColumName === 'datetime' ? '#00A3FF' : '#667085'"
|
|
61
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
62
|
+
</svg>
|
|
63
|
+
</th>
|
|
64
|
+
|
|
65
|
+
<th *ngIf="receivedData === 'checklist'">Checklist Name</th>
|
|
66
|
+
<th *ngIf="receivedData === 'task'">Task Name</th>
|
|
67
|
+
<th>Action Performed</th>
|
|
68
|
+
<th>Performed by</th>
|
|
69
|
+
<th>Name</th>
|
|
70
|
+
<th>Actions</th>
|
|
71
|
+
</tr>
|
|
72
|
+
</thead>
|
|
73
|
+
<tbody>
|
|
74
|
+
|
|
75
|
+
<tr *ngFor="let log of activityLogTableData">
|
|
76
|
+
<td>
|
|
77
|
+
<span class="table-title" [innerHTML]="formatDateTime(log._source.createAt)"></span>
|
|
78
|
+
|
|
79
|
+
</td>
|
|
80
|
+
<td>
|
|
81
|
+
<div *ngIf="!(log._source.type === 'task' && log._source.fromCheckListName)">
|
|
82
|
+
<span class="table-title me-2">
|
|
83
|
+
{{ log._source.checkListName || '--' }}
|
|
84
|
+
</span>
|
|
85
|
+
</div>
|
|
86
|
+
<div *ngIf="log._source.type === 'task' && log._source.fromCheckListName">
|
|
87
|
+
<span class="table-title me-2">
|
|
88
|
+
{{ log._source.checkListName || '--' }} <br>
|
|
89
|
+
<span class="mx-2"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
90
|
+
<path d="M11.6654 7.50016L7.4987 3.3335M7.4987 3.3335L3.33203 7.50016M7.4987 3.3335V13.3335C7.4987 14.2176 7.84989 15.0654 8.47501 15.6905C9.10013 16.3156 9.94798 16.6668 10.832 16.6668H16.6654" stroke="#667085" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
91
|
+
</svg></span><span class="mx-2"><svg xmlns="http://www.w3.org/2000/svg" width="23" height="23" viewBox="0 0 23 23" fill="none">
|
|
92
|
+
<path d="M8.41448 4.52303C8.69518 4.80371 8.69518 5.2588 8.41448 5.53948L5.53948 8.41448C5.2588 8.69518 4.80371 8.69518 4.52303 8.41448L3.08553 6.97698C2.80482 6.6963 2.80482 6.24121 3.08553 5.96053C3.36621 5.67982 3.8213 5.67982 4.10198 5.96053L5.03125 6.88978L7.39803 4.52303C7.67871 4.24232 8.1338 4.24232 8.41448 4.52303Z" fill="#667085"/>
|
|
93
|
+
<path d="M8.41448 11.7105C8.69518 11.9912 8.69518 12.4463 8.41448 12.727L5.53948 15.602C5.2588 15.8826 4.80371 15.8826 4.52303 15.602L3.08553 14.1645C2.80482 13.8838 2.80482 13.4287 3.08553 13.1479C3.36621 12.8673 3.8213 12.8673 4.10198 13.1479L5.03125 14.0773L7.39803 11.7105C7.67871 11.4299 8.1338 11.4299 8.41448 11.7105Z" fill="#667085"/>
|
|
94
|
+
<path d="M10.0625 6.46875C10.0625 6.0718 10.3844 5.75 10.7812 5.75H15.0938C15.4906 5.75 15.8125 6.0718 15.8125 6.46875C15.8125 6.8657 15.4906 7.1875 15.0938 7.1875H10.7812C10.3844 7.1875 10.0625 6.8657 10.0625 6.46875Z" fill="#667085"/>
|
|
95
|
+
<path d="M3.59375 0C1.60898 0 0 1.60898 0 3.59375V16.5312C0 18.516 1.60898 20.125 3.59375 20.125H9.48708C9.25429 19.6696 9.06436 19.1886 8.92261 18.6875H3.59375C2.40288 18.6875 1.4375 17.7221 1.4375 16.5312V3.59375C1.4375 2.40288 2.40288 1.4375 3.59375 1.4375H16.5312C17.7221 1.4375 18.6875 2.40288 18.6875 3.59375V8.92261C19.1886 9.06436 19.6696 9.25429 20.125 9.48708V3.59375C20.125 1.60898 18.516 0 16.5312 0H3.59375Z" fill="#667085"/>
|
|
96
|
+
<path d="M16.5313 23C20.1039 23 23 20.1039 23 16.5313C23 12.9586 20.1039 10.0625 16.5313 10.0625C12.9586 10.0625 10.0625 12.9586 10.0625 16.5313C10.0625 20.1039 12.9586 23 16.5313 23ZM16.5313 12.9375C16.9281 12.9375 17.25 13.2594 17.25 13.6563V15.8125H19.4063C19.8031 15.8125 20.125 16.1344 20.125 16.5313C20.125 16.9281 19.8031 17.25 19.4063 17.25H17.25V19.4063C17.25 19.8031 16.9281 20.125 16.5313 20.125C16.1344 20.125 15.8125 19.8031 15.8125 19.4063V17.25H13.6563C13.2594 17.25 12.9375 16.9281 12.9375 16.5313C12.9375 16.1344 13.2594 15.8125 13.6563 15.8125H15.8125V13.6563C15.8125 13.2594 16.1344 12.9375 16.5313 12.9375Z" fill="#667085"/>
|
|
97
|
+
</svg></span><span class="table-title"> {{ log._source.fromCheckListName || '--' }} </span>
|
|
98
|
+
</span>
|
|
99
|
+
</div>
|
|
100
|
+
</td>
|
|
101
|
+
<td>
|
|
102
|
+
<div class="table-title">
|
|
103
|
+
<span class="table-title badge-light" [ngClass]="getActionBadgeClass(log._source.action)">
|
|
104
|
+
{{ getActionLabel(log._source.action) }}
|
|
105
|
+
</span>
|
|
106
|
+
</div>
|
|
107
|
+
|
|
108
|
+
</td>
|
|
109
|
+
<td>
|
|
110
|
+
<div
|
|
111
|
+
class="table-title d-flex"><span class="me-3"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
112
|
+
<path d="M16.6654 17.5V15.8333C16.6654 14.9493 16.3142 14.1014 15.6891 13.4763C15.0639 12.8512 14.2161 12.5 13.332 12.5H6.66536C5.78131 12.5 4.93346 12.8512 4.30834 13.4763C3.68322 14.1014 3.33203 14.9493 3.33203 15.8333V17.5M13.332 5.83333C13.332 7.67428 11.8396 9.16667 9.9987 9.16667C8.15775 9.16667 6.66536 7.67428 6.66536 5.83333C6.66536 3.99238 8.15775 2.5 9.9987 2.5C11.8396 2.5 13.332 3.99238 13.332 5.83333Z" stroke="#667085" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
113
|
+
</svg></span><span>{{ log._source.createdByEmail }}</span></div>
|
|
114
|
+
</td>
|
|
115
|
+
<td>
|
|
116
|
+
<div
|
|
117
|
+
class="table-title d-flex"><span *ngIf="log._source?.coverage === 'store' || (!log._source?.coverage && log._source?.storeName) "><span class="me-3" *ngIf="log._source?.storeName"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
118
|
+
<path d="M2.67893 5.80366L2.62568 5.88683C2.06764 6.87388 2.66347 8.1213 3.73508 8.2644C3.83217 8.27627 3.92251 8.28255 4.01078 8.28255C4.58893 8.28255 5.1001 8.03453 5.45637 7.6478L6.0097 7.04718L6.56116 7.64953C6.9131 8.03395 7.42311 8.28255 8.00517 8.28255C8.58461 8.28255 9.09755 8.0336 9.44917 7.64953L10.0024 7.04529L10.5555 7.64953C10.9072 8.0336 11.4201 8.28255 11.9996 8.28255C12.579 8.28255 13.0919 8.0336 13.4436 7.64953L13.9967 7.04529L14.5499 7.64953C14.9016 8.0336 15.4145 8.28255 15.9939 8.28255C16.0793 8.28255 16.1724 8.27625 16.2688 8.2645C17.3639 8.11518 17.9618 6.80091 17.323 5.80416C17.323 5.8041 17.323 5.80405 17.3229 5.80399L15.5648 3.06258L15.5648 3.06258L15.5638 3.06111C15.5486 3.03728 15.5112 3.01172 15.464 3.01172H4.53458C4.48744 3.01172 4.44995 3.03728 4.43474 3.06111L4.43413 3.06208L2.67893 5.80366ZM15.6504 10.7369V13.8689V14.6189H14.9004H5.09821H4.34821V13.8689V10.7374C4.23798 10.7456 4.12646 10.7498 4.01384 10.7498C3.97154 10.7498 3.92952 10.7492 3.88778 10.748V13.8689V15.8034C3.88778 16.4468 4.42168 16.9879 5.09821 16.9879H14.9004C15.5769 16.9879 16.1108 16.4468 16.1108 15.8034V13.8689V10.7482C16.071 10.7493 16.031 10.7498 15.9909 10.7498C15.8765 10.7498 15.7629 10.7455 15.6504 10.7369Z" stroke="#667085" stroke-width="1.5"/>
|
|
119
|
+
</svg></span><span>{{ log._source.storeName || '-' }}</span></span>
|
|
120
|
+
<span *ngIf="log._source?.coverage === 'user' || (!log._source?.coverage && log._source?.userEmail)">
|
|
121
|
+
<span class="me-3" *ngIf="log._source?.userEmail"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
122
|
+
<path d="M16.6654 17.5V15.8333C16.6654 14.9493 16.3142 14.1014 15.6891 13.4763C15.0639 12.8512 14.2161 12.5 13.332 12.5H6.66536C5.78131 12.5 4.93346 12.8512 4.30834 13.4763C3.68322 14.1014 3.33203 14.9493 3.33203 15.8333V17.5M13.332 5.83333C13.332 7.67428 11.8396 9.16667 9.9987 9.16667C8.15775 9.16667 6.66536 7.67428 6.66536 5.83333C6.66536 3.99238 8.15775 2.5 9.9987 2.5C11.8396 2.5 13.332 3.99238 13.332 5.83333Z" stroke="#667085" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
123
|
+
</svg></span><span>{{ log._source?.userEmail || '-'}}</span>
|
|
124
|
+
</span>
|
|
125
|
+
</div>
|
|
126
|
+
</td>
|
|
127
|
+
<td>
|
|
128
|
+
<div class="table-title">
|
|
129
|
+
<!-- "['updated', 'edited', 'draft'].includes(log._source.action)" -->
|
|
130
|
+
<span *ngIf="['updated', 'edited'].includes(log._source.action) || (log._source.action === 'draft' && log._source.logDetails && !isLogDetailsEmpty(log._source.logDetails))"
|
|
131
|
+
(click)="viewAction(log._source)"
|
|
132
|
+
class="text-primary cursor-pointer">
|
|
133
|
+
<u>View</u>
|
|
134
|
+
</span>
|
|
135
|
+
<span *ngIf="log._source.action === 'submit'"
|
|
136
|
+
(click)="navigateToGallery(log._source)"
|
|
137
|
+
class="text-primary cursor-pointer">
|
|
138
|
+
<u>View</u>
|
|
139
|
+
</span>
|
|
140
|
+
<!-- *ngIf="!['updated', 'edited', 'submit', 'draft'].includes(log._source.action)" -->
|
|
141
|
+
<span *ngIf="!['updated', 'edited', 'submit'].includes(log._source.action) && !(log._source.action === 'draft' && log._source.logDetails && !isLogDetailsEmpty(log._source.logDetails))">-</span>
|
|
142
|
+
</div>
|
|
143
|
+
</td>
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
</tr>
|
|
147
|
+
</tbody>
|
|
148
|
+
</table>
|
|
149
|
+
|
|
150
|
+
<ng-container *ngIf="taskLoading">
|
|
151
|
+
<div class="row loader d-flex justify-content-center align-items-center">
|
|
152
|
+
<div class="shimmer">
|
|
153
|
+
<div class="wrapper">
|
|
154
|
+
<div class="stroke animate title"></div>
|
|
155
|
+
<div class="stroke animate link"></div>
|
|
156
|
+
<div class="stroke animate description"></div>
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
159
|
+
<div class="shimmer">
|
|
160
|
+
<div class="wrapper">
|
|
161
|
+
<div class="stroke animate title"></div>
|
|
162
|
+
<div class="stroke animate link"></div>
|
|
163
|
+
<div class="stroke animate description"></div>
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
</div>
|
|
167
|
+
</ng-container>
|
|
168
|
+
<ng-container *ngIf="taskNoData && !taskLoading">
|
|
169
|
+
<div class="row">
|
|
170
|
+
<div class="col-lg-12 my-6">
|
|
171
|
+
<div class="card-body d-flex justify-content-center align-items-center flex-column">
|
|
172
|
+
<img class="img-src" src="./assets/tango/Icons/Nodata1.svg" alt="">
|
|
173
|
+
<div class="nodatamaintext mt-3">No data found</div>
|
|
174
|
+
<div class="nodatasubtext">There is no result for Activity Log</div>
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
</ng-container>
|
|
179
|
+
|
|
180
|
+
</div>
|
|
181
|
+
<div *ngIf="!taskLoading && !taskNoData">
|
|
182
|
+
<lib-pagination class="text-start" [itemsPerPage]="itemsPerPage" [currentPage]="currentPage"
|
|
183
|
+
[totalItems]="totalItems" [paginationSizes]="paginationSizes" [pageSize]="pageSize"
|
|
184
|
+
(pageChange)="onPageChange($event)"
|
|
185
|
+
(pageSizeChange)="onPageSizeChange($event)"></lib-pagination>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
.table-title{
|
|
2
|
+
color: var(--Gray-500, #667085);
|
|
3
|
+
font-size: 14px;
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 500;
|
|
6
|
+
line-height: 20px; /* 142.857% */
|
|
7
|
+
}
|
|
8
|
+
.table-title-primary{
|
|
9
|
+
color: var(--Primary-700, #009BF3) !important;
|
|
10
|
+
font-size: 14px;
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
line-height: 20px; /* 142.857% */
|
|
14
|
+
text-decoration-line: underline;
|
|
15
|
+
}
|
|
16
|
+
.card .card-header{
|
|
17
|
+
padding: 0px 1.50rem;
|
|
18
|
+
}
|
|
19
|
+
// .nav-group-outline {
|
|
20
|
+
// border-radius: 8px;
|
|
21
|
+
// border: 1px solid var(--Primary-300, #6BCAFF);
|
|
22
|
+
// box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
|
|
23
|
+
// }
|
|
24
|
+
// .nav-group .btn.activePlanBtn {
|
|
25
|
+
// border-right: 1px solid var(--Primary-300, #6BCAFF);
|
|
26
|
+
// background: var(--Primary-600, #00A3FF);
|
|
27
|
+
// color: white;
|
|
28
|
+
// }
|
|
29
|
+
// .nav-group .btn.inactivePlanBtn {
|
|
30
|
+
// background-color: white;
|
|
31
|
+
// color: #333;
|
|
32
|
+
// border: 1px solid #dcdcdc;
|
|
33
|
+
// }
|
|
34
|
+
.nav-item{
|
|
35
|
+
.nav-link{
|
|
36
|
+
color: var(--Gray-500, #667085);
|
|
37
|
+
font-size: 16px;
|
|
38
|
+
font-weight: 500;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.activebtn{
|
|
42
|
+
color: var(--Primary-700, #009BF3) !important;
|
|
43
|
+
border-radius: 6px !important;
|
|
44
|
+
background: var(--Primary-50, #EAF8FF) !important;
|
|
45
|
+
font-size: 16px !important;
|
|
46
|
+
font-weight: 500 !important;
|
|
47
|
+
}
|
|
48
|
+
.daterange {
|
|
49
|
+
color: var(--Gray-500, #667085);
|
|
50
|
+
font-size: 16px;
|
|
51
|
+
font-style: normal;
|
|
52
|
+
font-weight: 600;
|
|
53
|
+
line-height: 24px;
|
|
54
|
+
/* 150% */
|
|
55
|
+
}
|
|
56
|
+
.nodatamaintext {
|
|
57
|
+
font-family: 'Inter';
|
|
58
|
+
font-size: 16px;
|
|
59
|
+
font-weight: 600;
|
|
60
|
+
line-height: 24px;
|
|
61
|
+
text-align: center;
|
|
62
|
+
color: #101828;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.nodatasubtext {
|
|
66
|
+
font-family: 'Inter';
|
|
67
|
+
font-size: 14px;
|
|
68
|
+
font-weight: 400;
|
|
69
|
+
line-height: 20px;
|
|
70
|
+
text-align: center;
|
|
71
|
+
color: #667085;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.rotate {
|
|
75
|
+
transform: rotate(180deg);
|
|
76
|
+
}
|
|
77
|
+
.logsearch{
|
|
78
|
+
width: 370px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.loader {
|
|
82
|
+
.title {
|
|
83
|
+
width: 65%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.link {
|
|
87
|
+
width: 85%;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.description {
|
|
91
|
+
width: 95%;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.shimmer {
|
|
95
|
+
padding: 15px;
|
|
96
|
+
width: 95%;
|
|
97
|
+
height: 120px;
|
|
98
|
+
margin: 10px auto;
|
|
99
|
+
background: #ffffff;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.shimmer .image-card {
|
|
103
|
+
height: 90px;
|
|
104
|
+
width: 90px;
|
|
105
|
+
float: right;
|
|
106
|
+
border-radius: 8px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.stroke {
|
|
110
|
+
height: 15px;
|
|
111
|
+
background: #777;
|
|
112
|
+
margin-top: 20px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.wrapper {
|
|
116
|
+
width: 0px;
|
|
117
|
+
animation: fullView 0.5s forwards linear;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@keyframes fullView {
|
|
121
|
+
100% {
|
|
122
|
+
width: 100%;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.animate {
|
|
127
|
+
animation: shimmer 3s;
|
|
128
|
+
animation-iteration-count: infinite;
|
|
129
|
+
background: linear-gradient(to right, #e6e6e6 5%, #cccccc 25%, #e6e6e6 35%);
|
|
130
|
+
background-size: 1000px 100%;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@keyframes shimmer {
|
|
134
|
+
from {
|
|
135
|
+
background-position: -1000px 0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
to {
|
|
139
|
+
background-position: 1000px 0;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
/* Common badge styles */
|
|
144
|
+
.badge-light {
|
|
145
|
+
display: flex;
|
|
146
|
+
padding: 8px 16px;
|
|
147
|
+
justify-content: center;
|
|
148
|
+
align-items: center;
|
|
149
|
+
flex: 1 0 0;
|
|
150
|
+
border-radius: 16px;
|
|
151
|
+
opacity: 0.8;
|
|
152
|
+
font-weight: 500;
|
|
153
|
+
width: 70%;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* Individual badge colors */
|
|
157
|
+
.badge-light-default { background: var(--Gray-100, #F2F4F7); color: var(--Gray-700, #344054); }
|
|
158
|
+
.badge-light-primary1 {background: var(--Blue-50, #EFF8FF); color: var(--Blue-700, #175CD3 );}
|
|
159
|
+
.badge-light-success { background: var(--Success-50, #ECFDF3); color: var(--Success-700, #027A48); }
|
|
160
|
+
.badge-light-warning { background: var(--Warning-50, #FFFAEB); color: var(--Warning-700, #B54708); }
|
|
161
|
+
.badge-light-delete { background: var(--Error-50, #FEF3F2); color: var(----Error-700, #B42318); }
|
|
162
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { ActivityLogV2Component } from './activity-log-v2.component';
|
|
4
|
+
|
|
5
|
+
describe('ActivityLogV2Component', () => {
|
|
6
|
+
let component: ActivityLogV2Component;
|
|
7
|
+
let fixture: ComponentFixture<ActivityLogV2Component>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ActivityLogV2Component]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(ActivityLogV2Component);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|