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,1420 @@
|
|
|
1
|
+
<div *ngIf="receivedData === 'Checklist'" class="card mb-3">
|
|
2
|
+
<div class="card-body pt-2 pb-1">
|
|
3
|
+
<div class="d-flex flex-column">
|
|
4
|
+
<div class="d-flex flex-wrap my-2 pe-2">
|
|
5
|
+
<a [routerLink]="['/manage/trax/dashboard']" [queryParams]="{type: 'Checklist'}" class="d-flex align-items-center me-3 cursor-pointer">
|
|
6
|
+
<span><svg width="44" height="44" viewBox="0 0 44 44" fill="none"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
8
|
+
<g filter="url(#filter0_d_987_30898)">
|
|
9
|
+
<rect x="2" y="1" width="40" height="40" rx="8" fill="white" />
|
|
10
|
+
<rect x="2.5" y="1.5" width="39" height="39" rx="7.5" stroke="#D0D5DD" />
|
|
11
|
+
<path
|
|
12
|
+
d="M27.8346 21.0001H16.168M16.168 21.0001L22.0013 26.8334M16.168 21.0001L22.0013 15.1667"
|
|
13
|
+
stroke="#344054" stroke-width="1.67" stroke-linecap="round"
|
|
14
|
+
stroke-linejoin="round" />
|
|
15
|
+
</g>
|
|
16
|
+
<defs>
|
|
17
|
+
<filter id="filter0_d_987_30898" x="0" y="0" width="44" height="44"
|
|
18
|
+
filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
19
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
20
|
+
<feColorMatrix in="SourceAlpha" type="matrix"
|
|
21
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha" />
|
|
22
|
+
<feOffset dy="1" />
|
|
23
|
+
<feGaussianBlur stdDeviation="1" />
|
|
24
|
+
<feColorMatrix type="matrix"
|
|
25
|
+
values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.05 0" />
|
|
26
|
+
<feBlend mode="normal" in2="BackgroundImageFix"
|
|
27
|
+
result="effect1_dropShadow_987_30898" />
|
|
28
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_987_30898"
|
|
29
|
+
result="shape" />
|
|
30
|
+
</filter>
|
|
31
|
+
</defs>
|
|
32
|
+
</svg>
|
|
33
|
+
</span>
|
|
34
|
+
</a>
|
|
35
|
+
|
|
36
|
+
<form class="mt-1 me-3 cursor-pointer" style="min-width: 200px;" [formGroup]="form">
|
|
37
|
+
<!-- <div class="col-md-4 w-200px"> -->
|
|
38
|
+
<lib-select *ngIf="refreshDropdown" [items]="checklistDropdown" [multi]="false" [searchField]="'checkListName'"
|
|
39
|
+
[idField]="'_id'" [selectedValues]="[selectedChecklist]" (selected)="onChecklistSelect($event)">
|
|
40
|
+
</lib-select>
|
|
41
|
+
<!-- <ng-template let-item>
|
|
42
|
+
<div class="d-flex justify-content-between align-items-center no-border-custom-select">
|
|
43
|
+
<span>{{ item.checkListName }}</span>
|
|
44
|
+
<span class="d-flex align-items-center">
|
|
45
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
46
|
+
<path d="M4 6L8 10L12 6" stroke="#101828" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
47
|
+
</svg>
|
|
48
|
+
</span>
|
|
49
|
+
</div>
|
|
50
|
+
</ng-template> -->
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
<!-- <lib-reactive-select [formControl]="checklistselectControl" [idField]="'_id'"
|
|
54
|
+
[nameField]="'checkListName'" [data]="checklistDropdown" class="w-100 "
|
|
55
|
+
style="border: none !important; box-shadow: none !important;"
|
|
56
|
+
(valueChange)="onValueChangeChecklist($event)">
|
|
57
|
+
<ng-template let-item>
|
|
58
|
+
<div class="d-flex justify-content-between align-items-center no-border-custom-select">
|
|
59
|
+
<span>{{ item.checkListName }}</span>
|
|
60
|
+
<span class="d-flex align-items-center">
|
|
61
|
+
|
|
62
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
|
|
63
|
+
fill="none">
|
|
64
|
+
<path d="M4 6L8 10L12 6" stroke="#101828" stroke-width="2"
|
|
65
|
+
stroke-linecap="round" stroke-linejoin="round" />
|
|
66
|
+
</svg>
|
|
67
|
+
</span>
|
|
68
|
+
</div>
|
|
69
|
+
</ng-template>
|
|
70
|
+
</lib-reactive-select> -->
|
|
71
|
+
<!-- </div> -->
|
|
72
|
+
</form>
|
|
73
|
+
<div class="checklist-details d-flex flex-wrap mt-3">
|
|
74
|
+
<!-- <div class="d-flex align-items-center grey-badge me-3 my-3">
|
|
75
|
+
{{ selectedChecklist?.checkListName }}
|
|
76
|
+
</div> -->
|
|
77
|
+
|
|
78
|
+
<div class="d-flex align-items-center mb-2">
|
|
79
|
+
<span *ngIf="selectedChecklist?.publish">
|
|
80
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
|
|
81
|
+
fill="none">
|
|
82
|
+
<path
|
|
83
|
+
d="M7.9987 14.6666C11.6806 14.6666 14.6654 11.6818 14.6654 7.99992C14.6654 4.31802 11.6806 1.33325 7.9987 1.33325C4.3168 1.33325 1.33203 4.31802 1.33203 7.99992C1.33203 11.6818 4.3168 14.6666 7.9987 14.6666Z"
|
|
84
|
+
fill="#12B76A" />
|
|
85
|
+
</svg>
|
|
86
|
+
</span>
|
|
87
|
+
|
|
88
|
+
<span *ngIf="!selectedChecklist?.publish">
|
|
89
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none"
|
|
90
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
91
|
+
<path
|
|
92
|
+
d="M6.9987 13.6666C10.6806 13.6666 13.6654 10.6818 13.6654 6.99992C13.6654 3.31802 10.6806 0.333252 6.9987 0.333252C3.3168 0.333252 0.332031 3.31802 0.332031 6.99992C0.332031 10.6818 3.3168 13.6666 6.9987 13.6666Z"
|
|
93
|
+
fill="#F04438" />
|
|
94
|
+
</svg>
|
|
95
|
+
</span>
|
|
96
|
+
</div>
|
|
97
|
+
|
|
98
|
+
<div class="d-flex align-items-center me-3 checklisttext">
|
|
99
|
+
<span><svg class="mx-2 mb-1" xmlns="http://www.w3.org/2000/svg" width="16" height="16"
|
|
100
|
+
viewBox="0 0 16 16" fill="none">
|
|
101
|
+
<path
|
|
102
|
+
d="M13.3346 14V12.6667C13.3346 11.9594 13.0537 11.2811 12.5536 10.781C12.0535 10.281 11.3752 10 10.668 10H5.33464C4.62739 10 3.94911 10.281 3.44902 10.781C2.94892 11.2811 2.66797 11.9594 2.66797 12.6667V14M10.668 4.66667C10.668 6.13943 9.47406 7.33333 8.0013 7.33333C6.52854 7.33333 5.33464 6.13943 5.33464 4.66667C5.33464 3.19391 6.52854 2 8.0013 2C9.47406 2 10.668 3.19391 10.668 4.66667Z"
|
|
103
|
+
stroke="#667085" stroke-width="1.4" stroke-linecap="round"
|
|
104
|
+
stroke-linejoin="round" />
|
|
105
|
+
</svg><span class="mt-2">{{ selectedChecklist?.createdByName }}</span></span>
|
|
106
|
+
</div>
|
|
107
|
+
|
|
108
|
+
<div class="d-flex align-items-center me-3 checklisttext">
|
|
109
|
+
<span><svg class="mx-2 mb-1" xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
110
|
+
viewBox="0 0 18 18" fill="none">
|
|
111
|
+
<path
|
|
112
|
+
d="M12 3H13.5C13.8978 3 14.2794 3.15804 14.5607 3.43934C14.842 3.72064 15 4.10218 15 4.5V15C15 15.3978 14.842 15.7794 14.5607 16.0607C14.2794 16.342 13.8978 16.5 13.5 16.5H4.5C4.10218 16.5 3.72064 16.342 3.43934 16.0607C3.15804 15.7794 3 15.3978 3 15V4.5C3 4.10218 3.15804 3.72064 3.43934 3.43934C3.72064 3.15804 4.10218 3 4.5 3H6M6.75 1.5H11.25C11.6642 1.5 12 1.83579 12 2.25V3.75C12 4.16421 11.6642 4.5 11.25 4.5H6.75C6.33579 4.5 6 4.16421 6 3.75V2.25C6 1.83579 6.33579 1.5 6.75 1.5Z"
|
|
113
|
+
stroke="#667085" stroke-width="1.4" stroke-linecap="round"
|
|
114
|
+
stroke-linejoin="round" />
|
|
115
|
+
</svg> {{ selectedChecklist?.storeCount?.toLocaleString('en-US', { minimumFractionDigits: 0
|
|
116
|
+
}) || '--' }} {{selectedChecklist?.coverage === 'store' ? 'Stores' : 'Users'}}</span>
|
|
117
|
+
</div>
|
|
118
|
+
|
|
119
|
+
<div class="d-flex align-items-center me-3 checklisttext">
|
|
120
|
+
<span><svg class="mx-2 mb-1" xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
121
|
+
viewBox="0 0 18 18" fill="none">
|
|
122
|
+
<path
|
|
123
|
+
d="M12 1.5V4.5M6 1.5V4.5M2.25 7.5H15.75M3.75 3H14.25C15.0784 3 15.75 3.67157 15.75 4.5V15C15.75 15.8284 15.0784 16.5 14.25 16.5H3.75C2.92157 16.5 2.25 15.8284 2.25 15V4.5C2.25 3.67157 2.92157 3 3.75 3Z"
|
|
124
|
+
stroke="#667085" stroke-width="1.4" stroke-linecap="round"
|
|
125
|
+
stroke-linejoin="round" />
|
|
126
|
+
</svg>Repeats {{selectedChecklist?.scheduleRepeatedType === 'onetime' ? 'Single' : (selectedChecklist?.scheduleRepeatedType || '--' )}}</span>
|
|
127
|
+
</div>
|
|
128
|
+
|
|
129
|
+
<div class="d-flex align-items-center me-3 checklisttext">
|
|
130
|
+
<span><svg class="mx-2 mb-1" xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
131
|
+
viewBox="0 0 18 18" fill="none">
|
|
132
|
+
<g clip-path="url(#clip0_987_30895)">
|
|
133
|
+
<path
|
|
134
|
+
d="M9 4.5V9L12 10.5M16.5 9C16.5 13.1421 13.1421 16.5 9 16.5C4.85786 16.5 1.5 13.1421 1.5 9C1.5 4.85786 4.85786 1.5 9 1.5C13.1421 1.5 16.5 4.85786 16.5 9Z"
|
|
135
|
+
stroke="#667085" stroke-width="1.4" stroke-linecap="round"
|
|
136
|
+
stroke-linejoin="round" />
|
|
137
|
+
</g>
|
|
138
|
+
<defs>
|
|
139
|
+
<clipPath id="clip0_987_30895">
|
|
140
|
+
<rect width="18" height="18" fill="white" />
|
|
141
|
+
</clipPath>
|
|
142
|
+
</defs>
|
|
143
|
+
</svg> {{ selectedChecklist?.scheduleStartTime?.toLocaleString('en-US', {
|
|
144
|
+
minimumFractionDigits: 0 }) || '--' }} - {{
|
|
145
|
+
selectedChecklist?.scheduleEndTime?.toLocaleString('en-US', { minimumFractionDigits: 0 }) ||
|
|
146
|
+
'--' }}</span>
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
<!--end::Info-->
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
<div *ngIf="receivedData === 'User'" class="card mb-5">
|
|
155
|
+
<div class="card-body pt-2 pb-1">
|
|
156
|
+
<div class="d-flex flex-column">
|
|
157
|
+
<div class="d-flex flex-wrap my-2 pe-2">
|
|
158
|
+
<a [routerLink]="['/manage/trax/dashboard']" [queryParams]="{type: 'user'}" class="d-flex align-items-center me-3 cursor-pointer">
|
|
159
|
+
<span><svg width="44" height="44" viewBox="0 0 44 44" fill="none"
|
|
160
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
161
|
+
<g filter="url(#filter0_d_987_30898)">
|
|
162
|
+
<rect x="2" y="1" width="40" height="40" rx="8" fill="white" />
|
|
163
|
+
<rect x="2.5" y="1.5" width="39" height="39" rx="7.5" stroke="#D0D5DD" />
|
|
164
|
+
<path
|
|
165
|
+
d="M27.8346 21.0001H16.168M16.168 21.0001L22.0013 26.8334M16.168 21.0001L22.0013 15.1667"
|
|
166
|
+
stroke="#344054" stroke-width="1.67" stroke-linecap="round"
|
|
167
|
+
stroke-linejoin="round" />
|
|
168
|
+
</g>
|
|
169
|
+
<defs>
|
|
170
|
+
<filter id="filter0_d_987_30898" x="0" y="0" width="44" height="44"
|
|
171
|
+
filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
172
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
173
|
+
<feColorMatrix in="SourceAlpha" type="matrix"
|
|
174
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha" />
|
|
175
|
+
<feOffset dy="1" />
|
|
176
|
+
<feGaussianBlur stdDeviation="1" />
|
|
177
|
+
<feColorMatrix type="matrix"
|
|
178
|
+
values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.05 0" />
|
|
179
|
+
<feBlend mode="normal" in2="BackgroundImageFix"
|
|
180
|
+
result="effect1_dropShadow_987_30898" />
|
|
181
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_987_30898"
|
|
182
|
+
result="shape" />
|
|
183
|
+
</filter>
|
|
184
|
+
</defs>
|
|
185
|
+
</svg>
|
|
186
|
+
</span>
|
|
187
|
+
</a>
|
|
188
|
+
<div class="symbol symbol-35px symbol-circle">
|
|
189
|
+
<span class="symbol-label bg-light-primary text-primary me-2 mt-2">
|
|
190
|
+
{{ selectedUser?.userNameChar }}
|
|
191
|
+
</span>
|
|
192
|
+
</div>
|
|
193
|
+
<form class="mt-1 me-3 cursor-pointer" style="min-width: 200px;" [formGroup]="form">
|
|
194
|
+
<lib-select *ngIf="refreshuserDropdown"
|
|
195
|
+
[items]="userlistDropdown"
|
|
196
|
+
[multi]="false"
|
|
197
|
+
[searchField]="'userName'"
|
|
198
|
+
[idField]="'userEmail'"
|
|
199
|
+
[selectedValues]="[selectedUser]"
|
|
200
|
+
(selected)="onUserSelect($event)"
|
|
201
|
+
>
|
|
202
|
+
<!-- <ng-template let-item>
|
|
203
|
+
<div class="d-flex justify-content-between align-items-center no-border-custom-select">
|
|
204
|
+
<span>{{ item.userName }}</span>
|
|
205
|
+
<span class="d-flex align-items-center">
|
|
206
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
207
|
+
<path d="M4 6L8 10L12 6" stroke="#101828" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
208
|
+
</svg>
|
|
209
|
+
</span>
|
|
210
|
+
</div>
|
|
211
|
+
</ng-template> -->
|
|
212
|
+
</lib-select>
|
|
213
|
+
<!-- <div class="col-md-4 w-200px">
|
|
214
|
+
<lib-reactive-select [formControl]="userlistselectControl" [idField]="'userEmail'"
|
|
215
|
+
[nameField]="'userName'" [data]="userlistDropdown" class="w-100"
|
|
216
|
+
style="border: none !important; box-shadow: none !important;"
|
|
217
|
+
(valueChange)="onValueChangeUserChecklist($event)">
|
|
218
|
+
<ng-template let-item>
|
|
219
|
+
<div class="d-flex justify-content-between align-items-center no-border-custom-select">
|
|
220
|
+
<span>{{ item.userName }}</span>
|
|
221
|
+
<span class="d-flex align-items-center">
|
|
222
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
|
|
223
|
+
viewBox="0 0 16 16" fill="none">
|
|
224
|
+
<path d="M4 6L8 10L12 6" stroke="#101828" stroke-width="2"
|
|
225
|
+
stroke-linecap="round" stroke-linejoin="round" />
|
|
226
|
+
</svg>
|
|
227
|
+
</span>
|
|
228
|
+
</div>
|
|
229
|
+
</ng-template>
|
|
230
|
+
</lib-reactive-select>
|
|
231
|
+
</div> -->
|
|
232
|
+
</form>
|
|
233
|
+
|
|
234
|
+
<div *ngIf="selectedUser?.role" class="checklist-details d-flex flex-wrap mt-2">
|
|
235
|
+
<div class="d-flex align-items-center badge badge-light-primary me-3 my-3">
|
|
236
|
+
{{ selectedUser?.role }}
|
|
237
|
+
</div>
|
|
238
|
+
</div>
|
|
239
|
+
</div>
|
|
240
|
+
<!--end::Info-->
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
</div>
|
|
244
|
+
|
|
245
|
+
<div class="col-md-12">
|
|
246
|
+
<div class="row">
|
|
247
|
+
<div class="col-9">
|
|
248
|
+
<div *ngIf="receivedData === 'Checklist' || receivedData === 'User'" class="row">
|
|
249
|
+
<div class="col-4">
|
|
250
|
+
<div class="totalinfocard">
|
|
251
|
+
<div class="headingcard">
|
|
252
|
+
Total instances
|
|
253
|
+
</div>
|
|
254
|
+
<div class="row mt-5">
|
|
255
|
+
<div class="col-md-10 infocount mb-6">{{ infoCardsData?.totalInstances?.count !==null ?
|
|
256
|
+
infoCardsData?.totalInstances?.count.toLocaleString('en-US', { minimumFractionDigits: 0 }) :
|
|
257
|
+
'--'}}
|
|
258
|
+
<div>
|
|
259
|
+
<span *ngIf="infoComparisonCardsData?.totalInstances?.comparisonData">
|
|
260
|
+
<span class="mt-2"
|
|
261
|
+
*ngIf="infoComparisonCardsData?.totalInstances?.ComparisonFlag; else showArrow2">
|
|
262
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"
|
|
263
|
+
viewBox="0 0 12 12" fill="none" class="ng-star-inserted">
|
|
264
|
+
<g clip-path="url(#clip0_3216_118)">
|
|
265
|
+
<path d="M11.5 3L6.75 7.75L4.25 5.25L0.5 9M11.5 3H8.5M11.5 3V6"
|
|
266
|
+
stroke="#039855" stroke-width="1.5" stroke-linecap="round"
|
|
267
|
+
stroke-linejoin="round"></path>
|
|
268
|
+
</g>
|
|
269
|
+
<defs>
|
|
270
|
+
<clipPath id="clip0_3216_118">
|
|
271
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
272
|
+
</clipPath>
|
|
273
|
+
</defs>
|
|
274
|
+
</svg>
|
|
275
|
+
</span>
|
|
276
|
+
<ng-template #showArrow2>
|
|
277
|
+
<span class="arrow2">
|
|
278
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
279
|
+
viewBox="0 0 18 18" fill="none" class="ng-star-inserted">
|
|
280
|
+
<g clip-path="url(#clip0_2328_4654)">
|
|
281
|
+
<path d="M11.5 9L6.75 4.25L4.25 6.75L0.5 3M11.5 9H8.5M11.5 9V6"
|
|
282
|
+
stroke="#D92D20" stroke-width="1.5" stroke-linecap="round"
|
|
283
|
+
stroke-linejoin="round"></path>
|
|
284
|
+
</g>
|
|
285
|
+
<defs>
|
|
286
|
+
<clipPath id="clip0_2328_4654">
|
|
287
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
288
|
+
</clipPath>
|
|
289
|
+
</defs>
|
|
290
|
+
</svg>
|
|
291
|
+
</span>
|
|
292
|
+
</ng-template>
|
|
293
|
+
</span>
|
|
294
|
+
<span class="mt-2 ms-2">
|
|
295
|
+
|
|
296
|
+
<span class="percent-value">{{
|
|
297
|
+
infoComparisonCardsData?.totalInstances?.comparisonData !==null
|
|
298
|
+
?infoComparisonCardsData?.totalInstances?.comparisonData.toLocaleString('en-US',
|
|
299
|
+
{
|
|
300
|
+
minimumFractionDigits: 0 }) : '--' }}%</span>
|
|
301
|
+
<span class="week-font"> vs last <span *ngIf="dateType ==='daily'">day</span><span
|
|
302
|
+
*ngIf="dateType ==='weekly'">week</span> <span
|
|
303
|
+
*ngIf="dateType ==='monthly'">month</span></span>
|
|
304
|
+
</span>
|
|
305
|
+
</div>
|
|
306
|
+
</div>
|
|
307
|
+
<div *ngIf="headerData?.client !== '11'" class="col-md-1">
|
|
308
|
+
<div class="mt-1 cursor-pointer fs-5" [ngClass]="dateType ==='daily' ? 'text-primary' :''"
|
|
309
|
+
(click)="dateValue('daily')">1D</div>
|
|
310
|
+
<div class="mt-1 cursor-pointer fs-5" [ngClass]="dateType ==='weekly' ? 'text-primary' :''"
|
|
311
|
+
(click)="dateValue('weekly')">1W</div>
|
|
312
|
+
<div *ngIf="traxMonthlyComparisonData" class="mt-1 cursor-pointer fs-5" [ngClass]="dateType ==='monthly' ? 'text-primary' :''"
|
|
313
|
+
(click)="dateValue('monthly')">1M</div>
|
|
314
|
+
<!-- <div class="mt-1 cursor-pointer fs-5" [ngClass]="dateType ==='monthly' ? 'text-primary' :''" (click)="dateValue('monthly')">1M</div> -->
|
|
315
|
+
</div>
|
|
316
|
+
</div>
|
|
317
|
+
</div>
|
|
318
|
+
</div>
|
|
319
|
+
<div class="col-4">
|
|
320
|
+
<div class="totalinfocard">
|
|
321
|
+
<div class="headingcard">
|
|
322
|
+
Completed instances
|
|
323
|
+
</div>
|
|
324
|
+
<div class="row mt-5">
|
|
325
|
+
<div class="infocount mb-6">{{ infoCardsData?.completedInstances?.count !==null ?
|
|
326
|
+
infoCardsData?.completedInstances?.count.toLocaleString('en-US', { minimumFractionDigits: 0
|
|
327
|
+
}) : '--' }}
|
|
328
|
+
<div>
|
|
329
|
+
<span *ngIf="infoComparisonCardsData?.completedInstances?.comparisonData">
|
|
330
|
+
<span class="mt-2"
|
|
331
|
+
*ngIf="infoComparisonCardsData?.completedInstances?.ComparisonFlag; else showArrow2">
|
|
332
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"
|
|
333
|
+
viewBox="0 0 12 12" fill="none" class="ng-star-inserted">
|
|
334
|
+
<g clip-path="url(#clip0_3216_118)">
|
|
335
|
+
<path d="M11.5 3L6.75 7.75L4.25 5.25L0.5 9M11.5 3H8.5M11.5 3V6"
|
|
336
|
+
stroke="#039855" stroke-width="1.5" stroke-linecap="round"
|
|
337
|
+
stroke-linejoin="round"></path>
|
|
338
|
+
</g>
|
|
339
|
+
<defs>
|
|
340
|
+
<clipPath id="clip0_3216_118">
|
|
341
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
342
|
+
</clipPath>
|
|
343
|
+
</defs>
|
|
344
|
+
</svg>
|
|
345
|
+
</span>
|
|
346
|
+
<ng-template #showArrow2>
|
|
347
|
+
<span class="arrow2">
|
|
348
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
349
|
+
viewBox="0 0 18 18" fill="none" class="ng-star-inserted">
|
|
350
|
+
<g clip-path="url(#clip0_2328_4654)">
|
|
351
|
+
<path d="M11.5 9L6.75 4.25L4.25 6.75L0.5 3M11.5 9H8.5M11.5 9V6"
|
|
352
|
+
stroke="#D92D20" stroke-width="1.5" stroke-linecap="round"
|
|
353
|
+
stroke-linejoin="round"></path>
|
|
354
|
+
</g>
|
|
355
|
+
<defs>
|
|
356
|
+
<clipPath id="clip0_2328_4654">
|
|
357
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
358
|
+
</clipPath>
|
|
359
|
+
</defs>
|
|
360
|
+
</svg>
|
|
361
|
+
</span>
|
|
362
|
+
</ng-template>
|
|
363
|
+
</span>
|
|
364
|
+
<span class="mt-2 ms-2">
|
|
365
|
+
<span class="percent-value">{{
|
|
366
|
+
infoComparisonCardsData?.completedInstances?.comparisonData !==null
|
|
367
|
+
?infoComparisonCardsData?.completedInstances?.comparisonData.toLocaleString('en-US',
|
|
368
|
+
{
|
|
369
|
+
minimumFractionDigits: 0 }) : '--' }}%</span>
|
|
370
|
+
<span class="week-font"> vs last <span *ngIf="dateType ==='daily'">day</span><span
|
|
371
|
+
*ngIf="dateType ==='weekly'">week</span> <span
|
|
372
|
+
*ngIf="dateType ==='monthly'">month</span></span>
|
|
373
|
+
</span>
|
|
374
|
+
</div>
|
|
375
|
+
</div>
|
|
376
|
+
</div>
|
|
377
|
+
</div>
|
|
378
|
+
</div>
|
|
379
|
+
<div class="col-4">
|
|
380
|
+
<div class="totalinfocard">
|
|
381
|
+
<div class="headingcard">
|
|
382
|
+
Flags
|
|
383
|
+
</div>
|
|
384
|
+
<div class="row mt-5">
|
|
385
|
+
<div class="infocount mb-6">{{ infoCardsData?.flags?.count !==null ?
|
|
386
|
+
infoCardsData?.flags?.count.toLocaleString('en-US', { minimumFractionDigits: 0 }) : '--' }}
|
|
387
|
+
<div>
|
|
388
|
+
<span *ngIf="infoComparisonCardsData?.flags?.comparisonData">
|
|
389
|
+
<span class="mt-2"
|
|
390
|
+
*ngIf="infoComparisonCardsData?.flags?.ComparisonFlag; else showArrow2">
|
|
391
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"
|
|
392
|
+
viewBox="0 0 12 12" fill="none" class="ng-star-inserted">
|
|
393
|
+
<g clip-path="url(#clip0_3216_118)">
|
|
394
|
+
<path d="M11.5 3L6.75 7.75L4.25 5.25L0.5 9M11.5 3H8.5M11.5 3V6"
|
|
395
|
+
stroke="#039855" stroke-width="1.5" stroke-linecap="round"
|
|
396
|
+
stroke-linejoin="round"></path>
|
|
397
|
+
</g>
|
|
398
|
+
<defs>
|
|
399
|
+
<clipPath id="clip0_3216_118">
|
|
400
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
401
|
+
</clipPath>
|
|
402
|
+
</defs>
|
|
403
|
+
</svg>
|
|
404
|
+
</span>
|
|
405
|
+
<ng-template #showArrow2>
|
|
406
|
+
<span class="arrow2">
|
|
407
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
408
|
+
viewBox="0 0 18 18" fill="none" class="ng-star-inserted">
|
|
409
|
+
<g clip-path="url(#clip0_2328_4654)">
|
|
410
|
+
<path d="M11.5 9L6.75 4.25L4.25 6.75L0.5 3M11.5 9H8.5M11.5 9V6"
|
|
411
|
+
stroke="#D92D20" stroke-width="1.5" stroke-linecap="round"
|
|
412
|
+
stroke-linejoin="round"></path>
|
|
413
|
+
</g>
|
|
414
|
+
<defs>
|
|
415
|
+
<clipPath id="clip0_2328_4654">
|
|
416
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
417
|
+
</clipPath>
|
|
418
|
+
</defs>
|
|
419
|
+
</svg>
|
|
420
|
+
</span>
|
|
421
|
+
</ng-template>
|
|
422
|
+
</span>
|
|
423
|
+
<span class="mt-2 ms-2">
|
|
424
|
+
<span class="percent-value">{{ infoComparisonCardsData?.flags?.comparisonData
|
|
425
|
+
!==null ? infoComparisonCardsData?.flags?.comparisonData.toLocaleString('en-US',
|
|
426
|
+
{
|
|
427
|
+
minimumFractionDigits: 0 }) : '--' }}%</span>
|
|
428
|
+
<span class="week-font"> vs last <span *ngIf="dateType ==='daily'">day</span><span
|
|
429
|
+
*ngIf="dateType ==='weekly'">week</span> <span
|
|
430
|
+
*ngIf="dateType ==='monthly'">month</span></span>
|
|
431
|
+
</span>
|
|
432
|
+
</div>
|
|
433
|
+
<!-- <div class="avgcount">Avg Flag Rate : {{ infoCardsData.flags.count ? '50%' : 'N/A' }}</div> -->
|
|
434
|
+
</div>
|
|
435
|
+
</div>
|
|
436
|
+
</div>
|
|
437
|
+
</div>
|
|
438
|
+
</div>
|
|
439
|
+
<div *ngIf="receivedData === 'Checklist'" class="row my-3">
|
|
440
|
+
<div class="col-6">
|
|
441
|
+
<div class="subinfocard">
|
|
442
|
+
<div class="headingcard">
|
|
443
|
+
Completion Score
|
|
444
|
+
</div>
|
|
445
|
+
|
|
446
|
+
<div class="infocount">
|
|
447
|
+
{{ infoCardsData?.completionScore?.count !==null ?
|
|
448
|
+
infoCardsData?.completionScore?.count.toLocaleString('en-US', { minimumFractionDigits: 0 })
|
|
449
|
+
: '--' }}%
|
|
450
|
+
<div>
|
|
451
|
+
<span *ngIf="infoComparisonCardsData?.completionScore?.comparisonData">
|
|
452
|
+
<span class="mt-2"
|
|
453
|
+
*ngIf="infoComparisonCardsData?.completionScore?.ComparisonFlag; else showArrow2">
|
|
454
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"
|
|
455
|
+
viewBox="0 0 12 12" fill="none" class="ng-star-inserted">
|
|
456
|
+
<g clip-path="url(#clip0_3216_118)">
|
|
457
|
+
<path d="M11.5 3L6.75 7.75L4.25 5.25L0.5 9M11.5 3H8.5M11.5 3V6"
|
|
458
|
+
stroke="#039855" stroke-width="1.5" stroke-linecap="round"
|
|
459
|
+
stroke-linejoin="round"></path>
|
|
460
|
+
</g>
|
|
461
|
+
<defs>
|
|
462
|
+
<clipPath id="clip0_3216_118">
|
|
463
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
464
|
+
</clipPath>
|
|
465
|
+
</defs>
|
|
466
|
+
</svg>
|
|
467
|
+
</span>
|
|
468
|
+
<ng-template #showArrow2>
|
|
469
|
+
<span class="arrow2">
|
|
470
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
471
|
+
viewBox="0 0 18 18" fill="none" class="ng-star-inserted">
|
|
472
|
+
<g clip-path="url(#clip0_2328_4654)">
|
|
473
|
+
<path d="M11.5 9L6.75 4.25L4.25 6.75L0.5 3M11.5 9H8.5M11.5 9V6"
|
|
474
|
+
stroke="#D92D20" stroke-width="1.5" stroke-linecap="round"
|
|
475
|
+
stroke-linejoin="round"></path>
|
|
476
|
+
</g>
|
|
477
|
+
<defs>
|
|
478
|
+
<clipPath id="clip0_2328_4654">
|
|
479
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
480
|
+
</clipPath>
|
|
481
|
+
</defs>
|
|
482
|
+
</svg>
|
|
483
|
+
</span>
|
|
484
|
+
</ng-template>
|
|
485
|
+
</span>
|
|
486
|
+
<span class="mt-2 ms-2">
|
|
487
|
+
<span class="percent-value">{{
|
|
488
|
+
infoComparisonCardsData?.completionScore?.comparisonData !==null ?
|
|
489
|
+
infoComparisonCardsData?.completionScore?.comparisonData.toLocaleString('en-US',
|
|
490
|
+
{
|
|
491
|
+
minimumFractionDigits: 0 }) : '--' }} %</span>
|
|
492
|
+
<span class="week-font"> vs last <span *ngIf="dateType ==='daily'">day</span><span
|
|
493
|
+
*ngIf="dateType ==='weekly'">week</span> <span
|
|
494
|
+
*ngIf="dateType ==='monthly'">month</span></span>
|
|
495
|
+
</span>
|
|
496
|
+
</div>
|
|
497
|
+
</div>
|
|
498
|
+
</div>
|
|
499
|
+
</div>
|
|
500
|
+
<div class="col-6">
|
|
501
|
+
<div class="subinfocard">
|
|
502
|
+
<div class="headingcard">
|
|
503
|
+
Compliance Rate
|
|
504
|
+
</div>
|
|
505
|
+
<div class="infocount">
|
|
506
|
+
|
|
507
|
+
{{ infoCardsData?.complianceRate?.count !==null ?
|
|
508
|
+
infoCardsData?.complianceRate?.count.toLocaleString('en-US', {
|
|
509
|
+
minimumFractionDigits: 0 }) : '--' }} %
|
|
510
|
+
<div>
|
|
511
|
+
<span *ngIf="infoComparisonCardsData?.complianceRate?.comparisonData">
|
|
512
|
+
<span class="mt-2"
|
|
513
|
+
*ngIf="infoComparisonCardsData?.complianceRate?.ComparisonFlag; else showArrow2">
|
|
514
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"
|
|
515
|
+
viewBox="0 0 12 12" fill="none" class="ng-star-inserted">
|
|
516
|
+
<g clip-path="url(#clip0_3216_118)">
|
|
517
|
+
<path d="M11.5 3L6.75 7.75L4.25 5.25L0.5 9M11.5 3H8.5M11.5 3V6"
|
|
518
|
+
stroke="#039855" stroke-width="1.5" stroke-linecap="round"
|
|
519
|
+
stroke-linejoin="round"></path>
|
|
520
|
+
</g>
|
|
521
|
+
<defs>
|
|
522
|
+
<clipPath id="clip0_3216_118">
|
|
523
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
524
|
+
</clipPath>
|
|
525
|
+
</defs>
|
|
526
|
+
</svg>
|
|
527
|
+
</span>
|
|
528
|
+
<ng-template #showArrow2>
|
|
529
|
+
<span class="arrow2">
|
|
530
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
531
|
+
viewBox="0 0 18 18" fill="none" class="ng-star-inserted">
|
|
532
|
+
<g clip-path="url(#clip0_2328_4654)">
|
|
533
|
+
<path d="M11.5 9L6.75 4.25L4.25 6.75L0.5 3M11.5 9H8.5M11.5 9V6"
|
|
534
|
+
stroke="#D92D20" stroke-width="1.5" stroke-linecap="round"
|
|
535
|
+
stroke-linejoin="round"></path>
|
|
536
|
+
</g>
|
|
537
|
+
<defs>
|
|
538
|
+
<clipPath id="clip0_2328_4654">
|
|
539
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
540
|
+
</clipPath>
|
|
541
|
+
</defs>
|
|
542
|
+
</svg>
|
|
543
|
+
</span>
|
|
544
|
+
</ng-template>
|
|
545
|
+
</span>
|
|
546
|
+
<span class="mt-2 ms-2">
|
|
547
|
+
<span class="percent-value">{{
|
|
548
|
+
infoComparisonCardsData?.complianceRate?.comparisonData !==null
|
|
549
|
+
?infoComparisonCardsData?.complianceRate?.comparisonData.toLocaleString('en-US',
|
|
550
|
+
{
|
|
551
|
+
minimumFractionDigits: 0 }) : '--' }}%</span>
|
|
552
|
+
<span class="week-font"> vs last <span *ngIf="dateType ==='daily'">day</span><span
|
|
553
|
+
*ngIf="dateType ==='weekly'">week</span> <span
|
|
554
|
+
*ngIf="dateType ==='monthly'">month</span></span>
|
|
555
|
+
</span>
|
|
556
|
+
</div>
|
|
557
|
+
</div>
|
|
558
|
+
</div>
|
|
559
|
+
</div>
|
|
560
|
+
</div>
|
|
561
|
+
<div *ngIf="receivedData === 'User'" class="row my-3">
|
|
562
|
+
<div class="col-6">
|
|
563
|
+
<div class="totalinfocard">
|
|
564
|
+
<div class="headingcard">
|
|
565
|
+
Completion Score
|
|
566
|
+
</div>
|
|
567
|
+
<div class="row mt-5">
|
|
568
|
+
<div class="infocount mb-6">{{ infoCardsData?.completionScore?.count !==null ?
|
|
569
|
+
infoCardsData?.completionScore?.count.toLocaleString('en-US', {
|
|
570
|
+
minimumFractionDigits: 0 }) : '--'}} %
|
|
571
|
+
<div>
|
|
572
|
+
<span *ngIf="infoComparisonCardsData?.completionScore?.comparisonData">
|
|
573
|
+
<span class="mt-2"
|
|
574
|
+
*ngIf="infoComparisonCardsData?.completionScore?.ComparisonFlag; else showArrow2">
|
|
575
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"
|
|
576
|
+
viewBox="0 0 12 12" fill="none" class="ng-star-inserted">
|
|
577
|
+
<g clip-path="url(#clip0_3216_118)">
|
|
578
|
+
<path d="M11.5 3L6.75 7.75L4.25 5.25L0.5 9M11.5 3H8.5M11.5 3V6"
|
|
579
|
+
stroke="#039855" stroke-width="1.5" stroke-linecap="round"
|
|
580
|
+
stroke-linejoin="round"></path>
|
|
581
|
+
</g>
|
|
582
|
+
<defs>
|
|
583
|
+
<clipPath id="clip0_3216_118">
|
|
584
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
585
|
+
</clipPath>
|
|
586
|
+
</defs>
|
|
587
|
+
</svg>
|
|
588
|
+
</span>
|
|
589
|
+
<ng-template #showArrow2>
|
|
590
|
+
<span class="arrow2">
|
|
591
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
592
|
+
viewBox="0 0 18 18" fill="none" class="ng-star-inserted">
|
|
593
|
+
<g clip-path="url(#clip0_2328_4654)">
|
|
594
|
+
<path d="M11.5 9L6.75 4.25L4.25 6.75L0.5 3M11.5 9H8.5M11.5 9V6"
|
|
595
|
+
stroke="#D92D20" stroke-width="1.5" stroke-linecap="round"
|
|
596
|
+
stroke-linejoin="round"></path>
|
|
597
|
+
</g>
|
|
598
|
+
<defs>
|
|
599
|
+
<clipPath id="clip0_2328_4654">
|
|
600
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
601
|
+
</clipPath>
|
|
602
|
+
</defs>
|
|
603
|
+
</svg>
|
|
604
|
+
</span>
|
|
605
|
+
</ng-template>
|
|
606
|
+
</span>
|
|
607
|
+
<span class="mt-2 ms-2"><span class="percent-value">{{
|
|
608
|
+
infoComparisonCardsData?.completionScore?.comparisonData !==null ?
|
|
609
|
+
infoComparisonCardsData?.completionScore?.comparisonData.toLocaleString('en-US',
|
|
610
|
+
{
|
|
611
|
+
minimumFractionDigits: 0 }) : '--' }}%</span><span class="week-font"> vs last
|
|
612
|
+
<span *ngIf="dateType ==='daily'">day</span><span
|
|
613
|
+
*ngIf="dateType ==='weekly'">week</span> <span
|
|
614
|
+
*ngIf="dateType ==='monthly'">month</span></span></span>
|
|
615
|
+
</div>
|
|
616
|
+
</div>
|
|
617
|
+
</div>
|
|
618
|
+
</div>
|
|
619
|
+
</div>
|
|
620
|
+
<div class="col-6">
|
|
621
|
+
<div class="totalinfocard">
|
|
622
|
+
<div class="headingcard">
|
|
623
|
+
Compliance Rate
|
|
624
|
+
</div>
|
|
625
|
+
<div class="row mt-5">
|
|
626
|
+
<div class="infocount mb-6">{{ infoCardsData?.complianceRate?.count !==null ?
|
|
627
|
+
infoCardsData?.complianceRate?.count.toLocaleString('en-US', {
|
|
628
|
+
minimumFractionDigits: 0 }) : '--' }} %
|
|
629
|
+
<div>
|
|
630
|
+
<span *ngIf="infoComparisonCardsData?.complianceRate?.comparisonData">
|
|
631
|
+
<span class="mt-2"
|
|
632
|
+
*ngIf="infoComparisonCardsData?.complianceRate?.ComparisonFlag; else showArrow2">
|
|
633
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"
|
|
634
|
+
viewBox="0 0 12 12" fill="none" class="ng-star-inserted">
|
|
635
|
+
<g clip-path="url(#clip0_3216_118)">
|
|
636
|
+
<path d="M11.5 3L6.75 7.75L4.25 5.25L0.5 9M11.5 3H8.5M11.5 3V6"
|
|
637
|
+
stroke="#039855" stroke-width="1.5" stroke-linecap="round"
|
|
638
|
+
stroke-linejoin="round"></path>
|
|
639
|
+
</g>
|
|
640
|
+
<defs>
|
|
641
|
+
<clipPath id="clip0_3216_118">
|
|
642
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
643
|
+
</clipPath>
|
|
644
|
+
</defs>
|
|
645
|
+
</svg>
|
|
646
|
+
</span>
|
|
647
|
+
<ng-template #showArrow2>
|
|
648
|
+
<span class="arrow2">
|
|
649
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
650
|
+
viewBox="0 0 18 18" fill="none" class="ng-star-inserted">
|
|
651
|
+
<g clip-path="url(#clip0_2328_4654)">
|
|
652
|
+
<path d="M11.5 9L6.75 4.25L4.25 6.75L0.5 3M11.5 9H8.5M11.5 9V6"
|
|
653
|
+
stroke="#D92D20" stroke-width="1.5" stroke-linecap="round"
|
|
654
|
+
stroke-linejoin="round"></path>
|
|
655
|
+
</g>
|
|
656
|
+
<defs>
|
|
657
|
+
<clipPath id="clip0_2328_4654">
|
|
658
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
659
|
+
</clipPath>
|
|
660
|
+
</defs>
|
|
661
|
+
</svg>
|
|
662
|
+
</span>
|
|
663
|
+
</ng-template>
|
|
664
|
+
</span>
|
|
665
|
+
<span class="mt-2 ms-2"><span class="percent-value">{{
|
|
666
|
+
infoComparisonCardsData?.complianceRate?.comparisonData !==null ?
|
|
667
|
+
infoComparisonCardsData?.complianceRate?.comparisonData.toLocaleString('en-US',
|
|
668
|
+
{ minimumFractionDigits: 0 }) :
|
|
669
|
+
'--'}}%</span><span class="week-font"> vs last <span
|
|
670
|
+
*ngIf="dateType ==='daily'">day</span><span
|
|
671
|
+
*ngIf="dateType ==='weekly'">week</span> <span
|
|
672
|
+
*ngIf="dateType ==='monthly'">month</span></span></span>
|
|
673
|
+
</div>
|
|
674
|
+
</div>
|
|
675
|
+
</div>
|
|
676
|
+
|
|
677
|
+
</div>
|
|
678
|
+
</div>
|
|
679
|
+
<!-- <div class="col-4">
|
|
680
|
+
<div class="totalinfocard">
|
|
681
|
+
<div class="headingcard">
|
|
682
|
+
Assigned Tasks
|
|
683
|
+
</div>
|
|
684
|
+
<div class="infocount"><u>6</u>
|
|
685
|
+
<div><span class="mt-2"><svg xmlns="http://www.w3.org/2000/svg" width="12"
|
|
686
|
+
height="12" viewBox="0 0 12 12" fill="none" class="ng-star-inserted">
|
|
687
|
+
<g clip-path="url(#clip0_3216_118)">
|
|
688
|
+
<path d="M11.5 3L6.75 7.75L4.25 5.25L0.5 9M11.5 3H8.5M11.5 3V6"
|
|
689
|
+
stroke="#039855" stroke-width="1.5" stroke-linecap="round"
|
|
690
|
+
stroke-linejoin="round"></path>
|
|
691
|
+
</g>
|
|
692
|
+
<defs>
|
|
693
|
+
<clipPath id="clip0_3216_118">
|
|
694
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
695
|
+
</clipPath>
|
|
696
|
+
</defs>
|
|
697
|
+
</svg></span><span class="mt-2 ms-2"><span class="percent-value">13%</span><span
|
|
698
|
+
class="week-font"> vs
|
|
699
|
+
last week</span></span></div>
|
|
700
|
+
<div class="actiondownload">View All </div>
|
|
701
|
+
</div>
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
</div>
|
|
705
|
+
</div> -->
|
|
706
|
+
</div>
|
|
707
|
+
|
|
708
|
+
<!-- <ng-container *ngIf="infoCardDataLoading">
|
|
709
|
+
<div class="row loader d-flex justify-content-center align-items-center">
|
|
710
|
+
<div class="shimmer">
|
|
711
|
+
<div class="wrapper">
|
|
712
|
+
<div class="stroke animate title"></div>
|
|
713
|
+
<div class="stroke animate link"></div>
|
|
714
|
+
<div class="stroke animate description"></div>
|
|
715
|
+
</div>
|
|
716
|
+
</div>
|
|
717
|
+
<div class="shimmer">
|
|
718
|
+
<div class="wrapper">
|
|
719
|
+
<div class="stroke animate title"></div>
|
|
720
|
+
<div class="stroke animate link"></div>
|
|
721
|
+
<div class="stroke animate description"></div>
|
|
722
|
+
</div>
|
|
723
|
+
</div>
|
|
724
|
+
</div>
|
|
725
|
+
</ng-container>
|
|
726
|
+
<ng-container *ngIf="infoCardNoData && !infoCardDataLoading">
|
|
727
|
+
<div class="row">
|
|
728
|
+
<div class="col-lg-12 my-6">
|
|
729
|
+
<div class="card-body d-flex justify-content-center align-items-center flex-column">
|
|
730
|
+
<img class="img-src" src="./assets/tango/Icons/Nodata1.svg" alt="">
|
|
731
|
+
<div class="nodatamaintext mt-3">No data found</div>
|
|
732
|
+
<div class="nodatasubtext">There is no result for Checklist Performance Table
|
|
733
|
+
</div>
|
|
734
|
+
</div>
|
|
735
|
+
</div>
|
|
736
|
+
</div>
|
|
737
|
+
</ng-container> -->
|
|
738
|
+
|
|
739
|
+
</div>
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
<div *ngIf="receivedData === 'Checklist' || receivedData === 'User'" class="col-3">
|
|
743
|
+
<lib-monthlyperformance-datepicker
|
|
744
|
+
[monthlyperformce]="selectedSourceCheckListId"></lib-monthlyperformance-datepicker>
|
|
745
|
+
</div>
|
|
746
|
+
|
|
747
|
+
</div>
|
|
748
|
+
</div>
|
|
749
|
+
|
|
750
|
+
<div *ngIf="receivedData === 'Store'" class="row mb-4 d-flex justify-content-between align-items-stretch">
|
|
751
|
+
<div class="col-2 px-2">
|
|
752
|
+
<div class="card card-border pt-2 h-100">
|
|
753
|
+
<div class="card-header ellipse1 border-0 px-3">
|
|
754
|
+
<h3 class="card-title align-items-start flex-column">
|
|
755
|
+
<span class="cardcount">{{ infoCardsData?.activeUnique !==null ?
|
|
756
|
+
infoCardsData?.activeUnique?.toLocaleString('en-US', { minimumFractionDigits: 0 }) : '--'
|
|
757
|
+
}}</span>
|
|
758
|
+
<span class="cardtext">Active Checklists</span>
|
|
759
|
+
</h3>
|
|
760
|
+
</div>
|
|
761
|
+
<div class="card-body p-0">
|
|
762
|
+
<div class="h-auto py-3 px-3">
|
|
763
|
+
<div class="cardsubcount my-2">{{ infoCardsData?.totalInstances?.count !==null ?
|
|
764
|
+
infoCardsData?.totalInstances?.count?.toLocaleString('en-US', { minimumFractionDigits: 0 }) :
|
|
765
|
+
'--' }}</div>
|
|
766
|
+
<div class="cardtext">Checklist Instances</div>
|
|
767
|
+
</div>
|
|
768
|
+
</div>
|
|
769
|
+
</div>
|
|
770
|
+
</div>
|
|
771
|
+
<div class="col-5 px-2">
|
|
772
|
+
<div class="card card-border pt-2 h-100">
|
|
773
|
+
<div class="card-header ellipse1 border-0 px-3">
|
|
774
|
+
<h3 class="card-title align-items-start flex-column">
|
|
775
|
+
<span class="cardcount">{{ infoCardsData?.notSubmittedInstances?.count !==null ?
|
|
776
|
+
infoCardsData?.notSubmittedInstances?.count?.toLocaleString('en-US', { minimumFractionDigits: 0
|
|
777
|
+
}) : '--' }}</span>
|
|
778
|
+
<span class="cardtext">Not Submitted Checklists</span>
|
|
779
|
+
</h3>
|
|
780
|
+
</div>
|
|
781
|
+
<div class="card-body p-0">
|
|
782
|
+
<div class="row h-auto py-3 px-3">
|
|
783
|
+
<div class="col-md-6">
|
|
784
|
+
<div class="cardsubcount my-2">{{ infoCardsData?.notSubmittedInstances?.open !==null ?
|
|
785
|
+
infoCardsData?.notSubmittedInstances?.open?.toLocaleString('en-US', { minimumFractionDigits:
|
|
786
|
+
0 }) : '--' }}</div>
|
|
787
|
+
<div class="cardtext">Open Checklists</div>
|
|
788
|
+
</div>
|
|
789
|
+
<div class="col-md-6">
|
|
790
|
+
<div class="cardsubcount my-2">{{ infoCardsData?.notSubmittedInstances?.inprogress !==null ?
|
|
791
|
+
infoCardsData?.notSubmittedInstances?.inprogress?.toLocaleString('en-US', {
|
|
792
|
+
minimumFractionDigits: 0 }) : '--' }}</div>
|
|
793
|
+
<div class="cardtext">In Progress Checklists</div>
|
|
794
|
+
</div>
|
|
795
|
+
<!-- <div class="col-md-4">
|
|
796
|
+
<div class="cardsubcount my-2">{{ infoCardsData?.notSubmittedInstances?.delay ?
|
|
797
|
+
infoCardsData?.notSubmittedInstances?.delay.toLocaleString('en-US', { minimumFractionDigits:
|
|
798
|
+
0 }) : '--' }}</div>
|
|
799
|
+
<div class="cardtext">Delay in Submission</div>
|
|
800
|
+
</div> -->
|
|
801
|
+
</div>
|
|
802
|
+
</div>
|
|
803
|
+
</div>
|
|
804
|
+
</div>
|
|
805
|
+
<div class="col-5 px-2">
|
|
806
|
+
<div class="card card-border pt-2 h-100">
|
|
807
|
+
<div class="card-header ellipse1 border-0 px-3">
|
|
808
|
+
<h3 class="card-title align-items-start flex-column">
|
|
809
|
+
<span class="cardcount">{{ infoCardsData?.completedInstances?.count !==null ?
|
|
810
|
+
infoCardsData?.completedInstances?.count?.toLocaleString('en-US', { minimumFractionDigits: 0 }) :
|
|
811
|
+
'--' }}</span>
|
|
812
|
+
<span class="cardtext">Submitted Checklists</span>
|
|
813
|
+
</h3>
|
|
814
|
+
</div>
|
|
815
|
+
<div class="card-body p-0">
|
|
816
|
+
<div class="row h-auto py-3 px-3">
|
|
817
|
+
<div class="col-md-11">
|
|
818
|
+
<div class="row">
|
|
819
|
+
<div class="col-md-4">
|
|
820
|
+
<div class="cardsubcount my-2">{{ infoCardsData?.completionScore?.count !==null ?
|
|
821
|
+
infoCardsData?.completionScore?.count?.toLocaleString('en-US', {
|
|
822
|
+
minimumFractionDigits: 0 })
|
|
823
|
+
: '--' }}%</div>
|
|
824
|
+
<div class="cardtext">Completion Score</div>
|
|
825
|
+
<div class="mt-2">
|
|
826
|
+
<span *ngIf="infoComparisonCardsData?.completionScore?.comparisonData">
|
|
827
|
+
<span class="mt-2"
|
|
828
|
+
*ngIf="infoComparisonCardsData?.completionScore?.ComparisonFlag; else showArrow2">
|
|
829
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"
|
|
830
|
+
viewBox="0 0 12 12" fill="none" class="ng-star-inserted">
|
|
831
|
+
<g clip-path="url(#clip0_3216_118)">
|
|
832
|
+
<path d="M11.5 3L6.75 7.75L4.25 5.25L0.5 9M11.5 3H8.5M11.5 3V6"
|
|
833
|
+
stroke="#039855" stroke-width="1.5" stroke-linecap="round"
|
|
834
|
+
stroke-linejoin="round"></path>
|
|
835
|
+
</g>
|
|
836
|
+
<defs>
|
|
837
|
+
<clipPath id="clip0_3216_118">
|
|
838
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
839
|
+
</clipPath>
|
|
840
|
+
</defs>
|
|
841
|
+
</svg>
|
|
842
|
+
</span>
|
|
843
|
+
<ng-template #showArrow2>
|
|
844
|
+
<span class="arrow2">
|
|
845
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
846
|
+
viewBox="0 0 18 18" fill="none" class="ng-star-inserted">
|
|
847
|
+
<g clip-path="url(#clip0_2328_4654)">
|
|
848
|
+
<path d="M11.5 9L6.75 4.25L4.25 6.75L0.5 3M11.5 9H8.5M11.5 9V6"
|
|
849
|
+
stroke="#D92D20" stroke-width="1.5" stroke-linecap="round"
|
|
850
|
+
stroke-linejoin="round"></path>
|
|
851
|
+
</g>
|
|
852
|
+
<defs>
|
|
853
|
+
<clipPath id="clip0_2328_4654">
|
|
854
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
855
|
+
</clipPath>
|
|
856
|
+
</defs>
|
|
857
|
+
</svg>
|
|
858
|
+
</span>
|
|
859
|
+
</ng-template>
|
|
860
|
+
</span>
|
|
861
|
+
<span class="mt-2 ms-2"><span class="percent-value">{{
|
|
862
|
+
infoComparisonCardsData?.completionScore?.comparisonData !==null?
|
|
863
|
+
infoComparisonCardsData?.completionScore?.comparisonData?.toLocaleString('en-US',
|
|
864
|
+
{
|
|
865
|
+
minimumFractionDigits: 0 }) : '--' }}%</span><span class="week-font"> vs
|
|
866
|
+
last <span *ngIf="dateType ==='daily'">day</span><span
|
|
867
|
+
*ngIf="dateType ==='weekly'">week</span> <span
|
|
868
|
+
*ngIf="dateType ==='monthly'">month</span></span></span>
|
|
869
|
+
</div>
|
|
870
|
+
</div>
|
|
871
|
+
<div class="col-md-4">
|
|
872
|
+
<div class="cardsubcount my-2">{{ infoCardsData?.complianceRate?.count !==null ?
|
|
873
|
+
infoCardsData?.complianceRate?.count?.toLocaleString('en-US', {
|
|
874
|
+
minimumFractionDigits: 0 }) : '--' }}%</div>
|
|
875
|
+
<div class="cardtext">Compliance Score</div>
|
|
876
|
+
<div class="mt-2">
|
|
877
|
+
<span *ngIf="infoComparisonCardsData?.complianceRate?.comparisonData">
|
|
878
|
+
<span class="mt-2"
|
|
879
|
+
*ngIf="infoComparisonCardsData?.complianceRate?.ComparisonFlag; else showArrow2">
|
|
880
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"
|
|
881
|
+
viewBox="0 0 12 12" fill="none" class="ng-star-inserted">
|
|
882
|
+
<g clip-path="url(#clip0_3216_118)">
|
|
883
|
+
<path d="M11.5 3L6.75 7.75L4.25 5.25L0.5 9M11.5 3H8.5M11.5 3V6"
|
|
884
|
+
stroke="#039855" stroke-width="1.5" stroke-linecap="round"
|
|
885
|
+
stroke-linejoin="round"></path>
|
|
886
|
+
</g>
|
|
887
|
+
<defs>
|
|
888
|
+
<clipPath id="clip0_3216_118">
|
|
889
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
890
|
+
</clipPath>
|
|
891
|
+
</defs>
|
|
892
|
+
</svg>
|
|
893
|
+
</span>
|
|
894
|
+
<ng-template #showArrow2>
|
|
895
|
+
<span class="arrow2">
|
|
896
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
897
|
+
viewBox="0 0 18 18" fill="none" class="ng-star-inserted">
|
|
898
|
+
<g clip-path="url(#clip0_2328_4654)">
|
|
899
|
+
<path d="M11.5 9L6.75 4.25L4.25 6.75L0.5 3M11.5 9H8.5M11.5 9V6"
|
|
900
|
+
stroke="#D92D20" stroke-width="1.5" stroke-linecap="round"
|
|
901
|
+
stroke-linejoin="round"></path>
|
|
902
|
+
</g>
|
|
903
|
+
<defs>
|
|
904
|
+
<clipPath id="clip0_2328_4654">
|
|
905
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
906
|
+
</clipPath>
|
|
907
|
+
</defs>
|
|
908
|
+
</svg>
|
|
909
|
+
</span>
|
|
910
|
+
</ng-template>
|
|
911
|
+
</span>
|
|
912
|
+
<span class="mt-2 ms-2"><span class="percent-value">{{
|
|
913
|
+
infoComparisonCardsData?.complianceRate?.comparisonData !==null?
|
|
914
|
+
infoComparisonCardsData?.complianceRate?.comparisonData?.toLocaleString('en-US',
|
|
915
|
+
{
|
|
916
|
+
minimumFractionDigits: 0 }) : '--' }}%</span><span class="week-font"> vs
|
|
917
|
+
last <span *ngIf="dateType ==='daily'">day</span><span
|
|
918
|
+
*ngIf="dateType ==='weekly'">week</span> <span
|
|
919
|
+
*ngIf="dateType ==='monthly'">month</span></span></span>
|
|
920
|
+
</div>
|
|
921
|
+
</div>
|
|
922
|
+
<div class="col-md-4">
|
|
923
|
+
<div *ngIf="infoCardsData?.flags?.count; else noDataFlagged" [routerLink]="['/manage/trax/flags']" class="cardsubcount my-2 cursor-pointer">
|
|
924
|
+
<u>{{
|
|
925
|
+
infoCardsData?.flags?.count !==null ?
|
|
926
|
+
infoCardsData?.flags?.count?.toLocaleString('en-US', {
|
|
927
|
+
minimumFractionDigits: 0 }) : '--' }}</u></div>
|
|
928
|
+
<ng-template #noDataFlagged>
|
|
929
|
+
<div class="cardsubcount my-2">--</div>
|
|
930
|
+
</ng-template>
|
|
931
|
+
<div class="cardtext">Total Flags</div>
|
|
932
|
+
<div class="mt-2">
|
|
933
|
+
<span *ngIf="infoComparisonCardsData?.flags?.comparisonData">
|
|
934
|
+
<span class="mt-2"
|
|
935
|
+
*ngIf="infoComparisonCardsData?.flags?.ComparisonFlag; else showArrow2">
|
|
936
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"
|
|
937
|
+
viewBox="0 0 12 12" fill="none" class="ng-star-inserted">
|
|
938
|
+
<g clip-path="url(#clip0_3216_118)">
|
|
939
|
+
<path d="M11.5 3L6.75 7.75L4.25 5.25L0.5 9M11.5 3H8.5M11.5 3V6"
|
|
940
|
+
stroke="#039855" stroke-width="1.5" stroke-linecap="round"
|
|
941
|
+
stroke-linejoin="round"></path>
|
|
942
|
+
</g>
|
|
943
|
+
<defs>
|
|
944
|
+
<clipPath id="clip0_3216_118">
|
|
945
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
946
|
+
</clipPath>
|
|
947
|
+
</defs>
|
|
948
|
+
</svg>
|
|
949
|
+
</span>
|
|
950
|
+
<ng-template #showArrow2>
|
|
951
|
+
<span class="arrow2">
|
|
952
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
953
|
+
viewBox="0 0 18 18" fill="none" class="ng-star-inserted">
|
|
954
|
+
<g clip-path="url(#clip0_2328_4654)">
|
|
955
|
+
<path d="M11.5 9L6.75 4.25L4.25 6.75L0.5 3M11.5 9H8.5M11.5 9V6"
|
|
956
|
+
stroke="#D92D20" stroke-width="1.5" stroke-linecap="round"
|
|
957
|
+
stroke-linejoin="round"></path>
|
|
958
|
+
</g>
|
|
959
|
+
<defs>
|
|
960
|
+
<clipPath id="clip0_2328_4654">
|
|
961
|
+
<rect width="12" height="12" fill="white"></rect>
|
|
962
|
+
</clipPath>
|
|
963
|
+
</defs>
|
|
964
|
+
</svg>
|
|
965
|
+
</span>
|
|
966
|
+
</ng-template>
|
|
967
|
+
</span>
|
|
968
|
+
<span class="mt-2 ms-2"><span class="percent-value">{{
|
|
969
|
+
infoComparisonCardsData?.flags?.comparisonData !==null ?
|
|
970
|
+
infoComparisonCardsData?.flags?.comparisonData?.toLocaleString('en-US', {
|
|
971
|
+
minimumFractionDigits: 0 }) : '--' }}%</span><span class="week-font"> vs
|
|
972
|
+
last <span *ngIf="dateType ==='daily'">day</span><span
|
|
973
|
+
*ngIf="dateType ==='weekly'">week</span> <span
|
|
974
|
+
*ngIf="dateType ==='monthly'">month</span></span></span>
|
|
975
|
+
</div>
|
|
976
|
+
</div>
|
|
977
|
+
</div>
|
|
978
|
+
</div>
|
|
979
|
+
<div *ngIf="headerData?.client !== '11'" class="col-md-1 mt-3">
|
|
980
|
+
<div class="mt-1 cursor-pointer fs-5" [ngClass]="dateType ==='daily' ? 'text-primary' :''"
|
|
981
|
+
(click)="dateValue('daily')">1D</div>
|
|
982
|
+
<div class="mt-1 cursor-pointer fs-5" [ngClass]="dateType ==='weekly' ? 'text-primary' :''"
|
|
983
|
+
(click)="dateValue('weekly')">1W</div>
|
|
984
|
+
<div *ngIf="traxMonthlyComparisonData" class="mt-1 cursor-pointer fs-5" [ngClass]="dateType ==='monthly' ? 'text-primary' :''"
|
|
985
|
+
(click)="dateValue('monthly')">1M</div>
|
|
986
|
+
<!-- <div class="mt-1 cursor-pointer fs-5" [ngClass]="dateType ==='monthly' ? 'text-primary' :''" (click)="dateValue('monthly')">1M</div> -->
|
|
987
|
+
</div>
|
|
988
|
+
</div>
|
|
989
|
+
</div>
|
|
990
|
+
</div>
|
|
991
|
+
</div>
|
|
992
|
+
</div>
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
<div class="row">
|
|
996
|
+
<div class="col-lg-12">
|
|
997
|
+
<div class="card">
|
|
998
|
+
<div class="col-lg-12">
|
|
999
|
+
<div class="card-header border-0 pt-3">
|
|
1000
|
+
<h3 class="card-title align-items-start flex-column">
|
|
1001
|
+
<!-- {{receivedData}} -->
|
|
1002
|
+
<span class="card-label mb-2">Checklist Info <span class="badge badge-light-primary">{{totalItems}} Total</span></span>
|
|
1003
|
+
<span class="text-sub mb-2"> Based on {{ headerData?.date?.startDate | date: 'MMM d' }} - {{
|
|
1004
|
+
headerData?.date?.endDate | date: 'MMM d, y' }}
|
|
1005
|
+
</span>
|
|
1006
|
+
</h3>
|
|
1007
|
+
<div class="card-toolbar">
|
|
1008
|
+
<div class="d-flex">
|
|
1009
|
+
<div>
|
|
1010
|
+
<form class="mt-1" [formGroup]="form">
|
|
1011
|
+
<div class="col-md-4 w-200px">
|
|
1012
|
+
<lib-reactive-select [formControl]="selectedlistselectControl" [idField]="'_id'"
|
|
1013
|
+
[nameField]="'label'" [data]="statusselectControl" class="w-200px"
|
|
1014
|
+
(valueChange)="onValueChangeStatusSelect($event)">
|
|
1015
|
+
<ng-template let-item>
|
|
1016
|
+
<div class="d-flex justify-content-between align-items-center">
|
|
1017
|
+
<span>{{ item.label }}</span>
|
|
1018
|
+
<span class="d-flex align-items-center">
|
|
1019
|
+
<!-- <span class="status-text">Status</span> -->
|
|
1020
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"
|
|
1021
|
+
viewBox="0 0 20 20" fill="none">
|
|
1022
|
+
<path d="M5 7.5L10 12.5L15 7.5" stroke="#344054"
|
|
1023
|
+
stroke-width="1.67" stroke-linecap="round"
|
|
1024
|
+
stroke-linejoin="round" />
|
|
1025
|
+
</svg>
|
|
1026
|
+
</span>
|
|
1027
|
+
</div>
|
|
1028
|
+
</ng-template>
|
|
1029
|
+
</lib-reactive-select>
|
|
1030
|
+
</div>
|
|
1031
|
+
</form>
|
|
1032
|
+
</div>
|
|
1033
|
+
<div *ngIf="receivedData === 'Checklist'"
|
|
1034
|
+
class="d-flex align-items-center position-relative">
|
|
1035
|
+
<span class="svg-icon footfallsearch svg-icon-1 position-absolute ms-8">
|
|
1036
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
|
1037
|
+
fill="none">
|
|
1038
|
+
<rect opacity="0.5" x="17.0365" y="15.1223" width="8.15546" height="2" rx="1"
|
|
1039
|
+
transform="rotate(45 17.0365 15.1223)" fill="currentColor">
|
|
1040
|
+
</rect>
|
|
1041
|
+
<path
|
|
1042
|
+
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"
|
|
1043
|
+
fill="currentColor"></path>
|
|
1044
|
+
</svg>
|
|
1045
|
+
</span>
|
|
1046
|
+
<!-- [disabled]="searchDisabled" -->
|
|
1047
|
+
<input [(ngModel)]="searchInput" type="text"
|
|
1048
|
+
class="form-control ps-14 ms-4 footfallsearch" placeholder="Search"
|
|
1049
|
+
autocomplete="off" (keyup.enter)="searchField()" />
|
|
1050
|
+
<button type="button" (click)="onExport()"
|
|
1051
|
+
class="btn-outline btn align-items-end text-nowrap invheader ms-4"
|
|
1052
|
+
[disabled]="!infoChecklistData.length">
|
|
1053
|
+
<!-- Export Icon -->
|
|
1054
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"
|
|
1055
|
+
fill="none">
|
|
1056
|
+
<path
|
|
1057
|
+
d="M17.5 12.5V15.8333C17.5 16.2754 17.3244 16.6993 17.0118 17.0118C16.6993 17.3244 16.2754 17.5 15.8333 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V12.5M14.1667 6.66667L10 2.5M10 2.5L5.83333 6.66667M10 2.5V12.5"
|
|
1058
|
+
stroke="#344054" stroke-width="1.67" stroke-linecap="round"
|
|
1059
|
+
stroke-linejoin="round"></path>
|
|
1060
|
+
</svg>
|
|
1061
|
+
<span class="ms-2"></span> Export
|
|
1062
|
+
</button>
|
|
1063
|
+
|
|
1064
|
+
</div>
|
|
1065
|
+
<div *ngIf="receivedData !== 'Checklist'"
|
|
1066
|
+
class="d-flex align-items-center position-relative">
|
|
1067
|
+
<span class="svg-icon footfallsearch svg-icon-1 position-absolute ms-8">
|
|
1068
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
|
1069
|
+
fill="none">
|
|
1070
|
+
<rect opacity="0.5" x="17.0365" y="15.1223" width="8.15546" height="2" rx="1"
|
|
1071
|
+
transform="rotate(45 17.0365 15.1223)" fill="currentColor">
|
|
1072
|
+
</rect>
|
|
1073
|
+
<path
|
|
1074
|
+
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"
|
|
1075
|
+
fill="currentColor"></path>
|
|
1076
|
+
</svg>
|
|
1077
|
+
</span>
|
|
1078
|
+
<!-- [disabled]="searchDisabled" -->
|
|
1079
|
+
<input [(ngModel)]="searchInput" type="text"
|
|
1080
|
+
class="form-control ps-14 ms-4 footfallsearch" placeholder="Search by checklist"
|
|
1081
|
+
autocomplete="off" (keyup.enter)="searchField()" />
|
|
1082
|
+
<button type="button" (click)="onExport()"
|
|
1083
|
+
class="btn-outline btn align-items-end text-nowrap invheader ms-4"
|
|
1084
|
+
[disabled]="!infoChecklistData.length">
|
|
1085
|
+
<!-- Export Icon -->
|
|
1086
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"
|
|
1087
|
+
fill="none">
|
|
1088
|
+
<path
|
|
1089
|
+
d="M17.5 12.5V15.8333C17.5 16.2754 17.3244 16.6993 17.0118 17.0118C16.6993 17.3244 16.2754 17.5 15.8333 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V12.5M14.1667 6.66667L10 2.5M10 2.5L5.83333 6.66667M10 2.5V12.5"
|
|
1090
|
+
stroke="#344054" stroke-width="1.67" stroke-linecap="round"
|
|
1091
|
+
stroke-linejoin="round"></path>
|
|
1092
|
+
</svg>
|
|
1093
|
+
<span class="ms-2"></span> Export
|
|
1094
|
+
</button>
|
|
1095
|
+
</div>
|
|
1096
|
+
<div *ngIf="(gs.userAccess | async)?.TangoTrax_checklist_isAdd">
|
|
1097
|
+
<a [routerLink]="['/manage/trax/createChecklist']" *ngIf="receivedData === 'Store'"
|
|
1098
|
+
type="button" class="btn btn-primary ms-4 rounded-3 text-nowrap ng-star-inserted"
|
|
1099
|
+
tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"
|
|
1100
|
+
viewBox="0 0 20 20" fill="none">
|
|
1101
|
+
<path d="M10.0001 4.16663V15.8333M4.16675 9.99996H15.8334" stroke="white"
|
|
1102
|
+
stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
1103
|
+
</svg><span class="ms-2 text-white">Create Checklist</span></a>
|
|
1104
|
+
</div>
|
|
1105
|
+
<!-- <div >
|
|
1106
|
+
<a (click)="sendAlert()"
|
|
1107
|
+
type="button" class="btn btn-primary ms-4 rounded-3 text-nowrap ng-star-inserted"
|
|
1108
|
+
tabindex="0"><span class="ms-2 text-white">Send Alert</span></a>
|
|
1109
|
+
</div> -->
|
|
1110
|
+
<div>
|
|
1111
|
+
<a (click)="sendAlert()"
|
|
1112
|
+
type="button"
|
|
1113
|
+
class="btn btn-primary ms-4 rounded-3 text-nowrap ng-star-inserted"
|
|
1114
|
+
[class.disabled]="!isSendAlertEnabled"
|
|
1115
|
+
[attr.aria-disabled]="!isSendAlertEnabled"
|
|
1116
|
+
[tabindex]="isSendAlertEnabled ? 0 : -1">
|
|
1117
|
+
<span class="ms-2 text-white">Send Alert</span>
|
|
1118
|
+
</a>
|
|
1119
|
+
</div>
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
</div>
|
|
1124
|
+
</div>
|
|
1125
|
+
</div>
|
|
1126
|
+
<div *ngIf="selectAll" class="filtercard m-4">
|
|
1127
|
+
<span><svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1128
|
+
<rect x="2" y="2" width="32" height="32" rx="16" fill="#DAF1FF"/>
|
|
1129
|
+
<rect x="2" y="2" width="32" height="32" rx="16" stroke="#EAF8FF" stroke-width="4"/>
|
|
1130
|
+
<g clip-path="url(#clip0_6978_12777)">
|
|
1131
|
+
<path d="M24.6654 17.3867V18.0001C24.6645 19.4377 24.199 20.8365 23.3383 21.988C22.4775 23.1394 21.2676 23.9817 19.8889 24.3893C18.5103 24.797 17.0369 24.748 15.6883 24.2498C14.3398 23.7516 13.1885 22.8308 12.406 21.6248C11.6235 20.4188 11.2519 18.9921 11.3465 17.5576C11.4411 16.1231 11.9968 14.7576 12.9309 13.6648C13.8649 12.572 15.1272 11.8103 16.5295 11.4935C17.9318 11.1767 19.3989 11.3216 20.712 11.9067M24.6654 12.6667L17.9987 19.3401L15.9987 17.3401" stroke="#00A3FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1132
|
+
</g>
|
|
1133
|
+
<defs>
|
|
1134
|
+
<clipPath id="clip0_6978_12777">
|
|
1135
|
+
<rect width="16" height="16" fill="white" transform="translate(10 10)"/>
|
|
1136
|
+
</clipPath>
|
|
1137
|
+
</defs>
|
|
1138
|
+
</svg>
|
|
1139
|
+
<span class="selectedtext ms-2">All {{ totalItems }} Users on this page are selected.</span></span>
|
|
1140
|
+
</div>
|
|
1141
|
+
<!-- <span class="table-title-primary mx-2">Select all {{ totalItems }} Users filtered</span><span class="selectedtext ms-2">Alerts will only send for Open and Inprogress</span></span> -->
|
|
1142
|
+
|
|
1143
|
+
<div class="card-body p-0">
|
|
1144
|
+
<div class="table-responsive">
|
|
1145
|
+
|
|
1146
|
+
<table *ngIf="!checklistLoading && !checklistNoData" class="table text-nowrap bottom-border">
|
|
1147
|
+
<thead>
|
|
1148
|
+
<tr>
|
|
1149
|
+
<th>
|
|
1150
|
+
<input class="form-check-input h-14px w-14px c-checkbox"
|
|
1151
|
+
type="checkbox"
|
|
1152
|
+
[(ngModel)]="selectAll"
|
|
1153
|
+
[disabled]="!isTodaySelected || selectedlistselectControl.value === 'submit'"
|
|
1154
|
+
(change)="toggleSelectAll()"
|
|
1155
|
+
/>
|
|
1156
|
+
|
|
1157
|
+
</th>
|
|
1158
|
+
<th *ngIf="receivedData === 'Checklist' || receivedData === 'User' "
|
|
1159
|
+
class="cursor-pointer" (click)="sortData('date_string')">Date
|
|
1160
|
+
<svg [ngClass]="sortColumName === 'date_string' && sortDirection === 1 ? 'rotate' : ''"
|
|
1161
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16"
|
|
1162
|
+
viewBox="0 0 16 16" fill="none">
|
|
1163
|
+
<path
|
|
1164
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
1165
|
+
[attr.stroke]="sortColumName === 'date_string' ? '#00A3FF' : '#667085'"
|
|
1166
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
1167
|
+
</svg>
|
|
1168
|
+
</th>
|
|
1169
|
+
<th *ngIf="receivedData === 'Store' || receivedData === 'User'"
|
|
1170
|
+
class="cursor-pointer" (click)="sortData('checkListName')">CheckList Name
|
|
1171
|
+
<svg [ngClass]="sortColumName === 'checkListName' && sortDirection === 1 ? 'rotate' : ''"
|
|
1172
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16"
|
|
1173
|
+
viewBox="0 0 16 16" fill="none">
|
|
1174
|
+
<path
|
|
1175
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
1176
|
+
[attr.stroke]="sortColumName === 'date_string' ? '#00A3FF' : '#667085'"
|
|
1177
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
1178
|
+
</svg>
|
|
1179
|
+
</th>
|
|
1180
|
+
<th *ngIf="(receivedData === 'Checklist' || receivedData === 'User')"
|
|
1181
|
+
class="cursor-pointer" (click)="sortData('storeName')">Store Name
|
|
1182
|
+
<svg [ngClass]="sortColumName === 'storeName' && sortDirection === 1 ? 'rotate' : ''"
|
|
1183
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16"
|
|
1184
|
+
viewBox="0 0 16 16" fill="none">
|
|
1185
|
+
<path
|
|
1186
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
1187
|
+
[attr.stroke]="sortColumName === 'storeName' ? '#00A3FF' : '#667085'"
|
|
1188
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
1189
|
+
</svg>
|
|
1190
|
+
</th>
|
|
1191
|
+
<th *ngIf="(receivedData === 'Checklist' || receivedData === 'User')"
|
|
1192
|
+
class="cursor-pointer" (click)="sortData('userName')">User Name
|
|
1193
|
+
<svg [ngClass]="sortColumName === 'userName' && sortDirection === 1 ? 'rotate' : ''"
|
|
1194
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16"
|
|
1195
|
+
viewBox="0 0 16 16" fill="none">
|
|
1196
|
+
<path
|
|
1197
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
1198
|
+
[attr.stroke]="sortColumName === 'userName' ? '#00A3FF' : '#667085'"
|
|
1199
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
1200
|
+
</svg>
|
|
1201
|
+
</th>
|
|
1202
|
+
<th>Status</th>
|
|
1203
|
+
<!-- <th *ngIf="selectedChecklist?.coverage === 'store'">User Name</th> -->
|
|
1204
|
+
<th *ngIf="receivedData !== 'User'">Submitted By</th>
|
|
1205
|
+
<th class="cursor-pointer" (click)="sortData('submitTime_string')">Submitted On
|
|
1206
|
+
<svg [ngClass]="sortColumName === 'submitTime_string' && sortDirection === 1 ? 'rotate' : ''"
|
|
1207
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16"
|
|
1208
|
+
viewBox="0 0 16 16" fill="none">
|
|
1209
|
+
<path
|
|
1210
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
1211
|
+
[attr.stroke]="sortColumName === 'submitTime_string' ? '#00A3FF' : '#667085'"
|
|
1212
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
1213
|
+
</svg>
|
|
1214
|
+
</th>
|
|
1215
|
+
<th class="cursor-pointer" (click)="sortData('submitCount')" >Submission Count
|
|
1216
|
+
<svg [ngClass]="sortColumName === 'submitCount' && sortDirection === 1 ? 'rotate' : ''"
|
|
1217
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16"
|
|
1218
|
+
viewBox="0 0 16 16" fill="none">
|
|
1219
|
+
<path
|
|
1220
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
1221
|
+
[attr.stroke]="sortColumName === 'submitCount' ? '#00A3FF' : '#667085'"
|
|
1222
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
1223
|
+
</svg>
|
|
1224
|
+
</th>
|
|
1225
|
+
<th>Flags</th>
|
|
1226
|
+
<th >Approved By</th>
|
|
1227
|
+
<!-- class="cursor-pointer" (click)="sortData('approvalTime')" -->
|
|
1228
|
+
<th >Approved On
|
|
1229
|
+
<!-- <svg [ngClass]="sortColumName === 'approvalTime' && sortDirection === 1 ? 'rotate' : ''"
|
|
1230
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16"
|
|
1231
|
+
viewBox="0 0 16 16" fill="none">
|
|
1232
|
+
<path
|
|
1233
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
1234
|
+
[attr.stroke]="sortColumName === 'approvalTime' ? '#00A3FF' : '#667085'"
|
|
1235
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
1236
|
+
</svg> -->
|
|
1237
|
+
</th>
|
|
1238
|
+
<th>Action</th>
|
|
1239
|
+
</tr>
|
|
1240
|
+
</thead>
|
|
1241
|
+
<tbody>
|
|
1242
|
+
<tr *ngFor="let item of infoChecklistData">
|
|
1243
|
+
<td>
|
|
1244
|
+
<input class="form-check-input h-14px w-14px c-checkbox"
|
|
1245
|
+
type="checkbox"
|
|
1246
|
+
[(ngModel)]="item.selected"
|
|
1247
|
+
[disabled]="!isTodaySelected || item.checklistStatus === 'Submitted'"
|
|
1248
|
+
(change)="updateSelectAllState()"
|
|
1249
|
+
/>
|
|
1250
|
+
</td>
|
|
1251
|
+
<td *ngIf="receivedData === 'Checklist' || receivedData === 'User' ">
|
|
1252
|
+
<div class="table-title">{{ item.date_string }}</div>
|
|
1253
|
+
</td>
|
|
1254
|
+
<td *ngIf="receivedData === 'Store' || receivedData === 'User'">
|
|
1255
|
+
<div class="symbol symbol-35px symbol-circle">
|
|
1256
|
+
<span class="symbol-label bg-light-primary text-primary me-2">
|
|
1257
|
+
{{ item.checkListChar || '--' }}
|
|
1258
|
+
</span>
|
|
1259
|
+
</div>
|
|
1260
|
+
<span class="table-titlechecklist">{{
|
|
1261
|
+
item.checkListName }}</span>
|
|
1262
|
+
</td>
|
|
1263
|
+
|
|
1264
|
+
<td *ngIf="receivedData === 'Checklist' || receivedData === 'User'">
|
|
1265
|
+
<div class="table-title">{{ item?.coverage === 'store' ? item.storeName : '--' }}</div>
|
|
1266
|
+
</td>
|
|
1267
|
+
<td *ngIf="(receivedData === 'Checklist' || receivedData === 'User')">
|
|
1268
|
+
<div class="table-title">{{ item.userName }}</div>
|
|
1269
|
+
</td>
|
|
1270
|
+
<td class="table-title">
|
|
1271
|
+
<span class="badge" [ngClass]="{
|
|
1272
|
+
'badge-light-success': item.checklistStatus === 'Submitted',
|
|
1273
|
+
'badge-light-warning': item.checklistStatus === 'In Progress',
|
|
1274
|
+
'badge-light-primary': item.checklistStatus === 'Open',
|
|
1275
|
+
'badge-light-danger': item.checklistStatus === 'delayed'
|
|
1276
|
+
}"><span *ngIf="item.redoStatus"><svg class="me-2" xmlns="http://www.w3.org/2000/svg" width="12" height="14" viewBox="0 0 12 14" fill="none">
|
|
1277
|
+
<g clip-path="url(#clip0_7166_57025)">
|
|
1278
|
+
<path
|
|
1279
|
+
d="M0.5 2.66674V5.91674M0.5 5.91674H3.5M0.5 5.91674L2.82 3.55507C3.51046 2.80834 4.40623 2.32493 5.37234 2.17768C6.33845 2.03042 7.32257 2.22731 8.17642 2.73865C9.03026 3.25 9.70758 4.04812 10.1063 5.01275C10.505 5.97738 10.6036 7.05627 10.3871 8.08685C10.1706 9.11744 9.65084 10.0439 8.90606 10.7266C8.16129 11.4093 7.23187 11.8113 6.25786 11.8721C5.28384 11.9328 4.31799 11.649 3.50583 11.0633C2.69367 10.4777 2.0792 9.62195 1.755 8.62507"
|
|
1280
|
+
[attr.stroke]="getSvgColor(item.checklistStatus)"
|
|
1281
|
+
stroke-width="2"
|
|
1282
|
+
stroke-linecap="round"
|
|
1283
|
+
stroke-linejoin="round" />
|
|
1284
|
+
</g>
|
|
1285
|
+
<defs>
|
|
1286
|
+
<clipPath id="clip0_7166_57025">
|
|
1287
|
+
<rect width="12" height="13" fill="white" transform="translate(0 0.5)" />
|
|
1288
|
+
</clipPath>
|
|
1289
|
+
</defs>
|
|
1290
|
+
</svg></span>{{ item.checklistStatus | titlecase }}</span>
|
|
1291
|
+
</td>
|
|
1292
|
+
<td *ngIf="receivedData !== 'User'">
|
|
1293
|
+
<div class="table-title">{{ item.userEmail }}</div>
|
|
1294
|
+
</td>
|
|
1295
|
+
|
|
1296
|
+
<td>
|
|
1297
|
+
<div class="table-title">{{ item.submitTime_string?.toLocaleString('en-US', {
|
|
1298
|
+
minimumFractionDigits: 0 }) || '--' }}</div>
|
|
1299
|
+
</td>
|
|
1300
|
+
<td >
|
|
1301
|
+
<div class="table-title">{{ item?.submitCount || 0}}</div>
|
|
1302
|
+
</td>
|
|
1303
|
+
|
|
1304
|
+
<td>
|
|
1305
|
+
<div class="table-title">
|
|
1306
|
+
{{ item.flaggedChecklist !==null ? item?.flaggedChecklist?.toLocaleString('en-US', {
|
|
1307
|
+
minimumFractionDigits: 0 }) : '--' }}
|
|
1308
|
+
</div>
|
|
1309
|
+
</td>
|
|
1310
|
+
|
|
1311
|
+
<td>
|
|
1312
|
+
<div class="table-title">{{ item.approvalByEmail || "--" }}</div>
|
|
1313
|
+
</td>
|
|
1314
|
+
<td>
|
|
1315
|
+
<div class="table-title">{{ item.approvalTime_string?.toLocaleString('en-US', {
|
|
1316
|
+
minimumFractionDigits: 0 }) || '--' }}</div>
|
|
1317
|
+
</td>
|
|
1318
|
+
|
|
1319
|
+
<td>
|
|
1320
|
+
<div class="table-title d-flex">
|
|
1321
|
+
<ng-container *ngIf="item.checklistStatus === 'Submitted'">
|
|
1322
|
+
<!-- <span [routerLink]="['/manage/trax/gallery']"
|
|
1323
|
+
[queryParams]="{ storeId: item.store_id, checklistType: item.checkListType, ChecklistDate: item.checklistDate, checklistId: item.sourceCheckList_id }"
|
|
1324
|
+
class="actionview me-4 cursor-pointer">View</span> -->
|
|
1325
|
+
<span (click)="navigateToGallery(item)"
|
|
1326
|
+
class="actionview me-4 cursor-pointer">View</span>
|
|
1327
|
+
<span (click)="download('pdf',item )"
|
|
1328
|
+
class="actiondownload cursor-pointer">Download</span>
|
|
1329
|
+
</ng-container>
|
|
1330
|
+
|
|
1331
|
+
<ng-container>
|
|
1332
|
+
<span *ngIf="checklistInfoDate === item.date_string && !item.reinitiateStatus && item.checklistStatus !== 'Submitted' && item.timeFlag > 0"
|
|
1333
|
+
(click)="reinitiate(item._id)" class="actiondownload cursor-pointer">
|
|
1334
|
+
Reinitiate
|
|
1335
|
+
</span>
|
|
1336
|
+
<span *ngIf="checklistInfoDate === item.date_string && item.reinitiateStatus && item.checklistStatus !== 'Submitted' && item.timeFlag > 0"
|
|
1337
|
+
class="actionview disabled">
|
|
1338
|
+
Reinitiate
|
|
1339
|
+
</span>
|
|
1340
|
+
|
|
1341
|
+
<span
|
|
1342
|
+
*ngIf="checklistInfoDate === item.date_string && item.reinitiateStatus && item.checklistStatus !== 'Submitted' && item.timeFlag > 0"
|
|
1343
|
+
(click)="sendAlert(item._id)"
|
|
1344
|
+
class="actiondownload cursor-pointer ms-3">
|
|
1345
|
+
SendAlert
|
|
1346
|
+
</span>
|
|
1347
|
+
</ng-container>
|
|
1348
|
+
|
|
1349
|
+
<ng-container>
|
|
1350
|
+
<div *ngIf="item.checklistStatus !== 'Submitted' && item.timeFlag <= 0"
|
|
1351
|
+
[class.disabled]="item.date_string !== todayDate || selectedCheckboxCount > 1"
|
|
1352
|
+
[attr.aria-disabled]="item.date_string !== todayDate || selectedCheckboxCount > 1"
|
|
1353
|
+
[tabindex]="item.date_string !== todayDate || selectedCheckboxCount > 1 ? -1 : 0">
|
|
1354
|
+
<span
|
|
1355
|
+
(click)="(item.date_string === todayDate && selectedCheckboxCount <= 1) ? sendAlert(item._id) : $event.stopPropagation()"
|
|
1356
|
+
class="actiondownload cursor-pointer">
|
|
1357
|
+
SendAlert
|
|
1358
|
+
</span>
|
|
1359
|
+
</div>
|
|
1360
|
+
</ng-container>
|
|
1361
|
+
|
|
1362
|
+
<!-- <ng-container>
|
|
1363
|
+
<div *ngIf="checklistInfoDate === item.date_string && item.checklistStatus !== 'Submitted' && isTodaySelected"
|
|
1364
|
+
[class.disabled]="selectedCheckboxCount > 1"
|
|
1365
|
+
[attr.aria-disabled]="selectedCheckboxCount > 1"
|
|
1366
|
+
[tabindex]="selectedCheckboxCount > 1 ? -1 : 0">
|
|
1367
|
+
<span (click)="selectedCheckboxCount <= 1 ? sendAlert(item._id) : $event.stopPropagation()"
|
|
1368
|
+
class="actiondownload cursor-pointer">
|
|
1369
|
+
SendAlert
|
|
1370
|
+
</span>
|
|
1371
|
+
</div>
|
|
1372
|
+
</ng-container> -->
|
|
1373
|
+
</div>
|
|
1374
|
+
</td>
|
|
1375
|
+
</tr>
|
|
1376
|
+
</tbody>
|
|
1377
|
+
</table>
|
|
1378
|
+
<ng-container *ngIf="checklistLoading">
|
|
1379
|
+
<div class="row loader d-flex justify-content-center align-items-center">
|
|
1380
|
+
<div class="shimmer">
|
|
1381
|
+
<div class="wrapper">
|
|
1382
|
+
<div class="stroke animate title"></div>
|
|
1383
|
+
<div class="stroke animate link"></div>
|
|
1384
|
+
<div class="stroke animate description"></div>
|
|
1385
|
+
</div>
|
|
1386
|
+
</div>
|
|
1387
|
+
<div class="shimmer">
|
|
1388
|
+
<div class="wrapper">
|
|
1389
|
+
<div class="stroke animate title"></div>
|
|
1390
|
+
<div class="stroke animate link"></div>
|
|
1391
|
+
<div class="stroke animate description"></div>
|
|
1392
|
+
</div>
|
|
1393
|
+
</div>
|
|
1394
|
+
</div>
|
|
1395
|
+
</ng-container>
|
|
1396
|
+
<ng-container *ngIf="checklistNoData && !checklistLoading">
|
|
1397
|
+
<div class="row">
|
|
1398
|
+
<div class="col-lg-12 my-6">
|
|
1399
|
+
<div class="card-body d-flex justify-content-center align-items-center flex-column">
|
|
1400
|
+
<img class="img-src" src="./assets/tango/Icons/Nodata1.svg" alt="">
|
|
1401
|
+
<div class="nodatamaintext mt-3">No data found</div>
|
|
1402
|
+
<div class="nodatasubtext">There is no result for Performance Table
|
|
1403
|
+
</div>
|
|
1404
|
+
</div>
|
|
1405
|
+
</div>
|
|
1406
|
+
</div>
|
|
1407
|
+
</ng-container>
|
|
1408
|
+
|
|
1409
|
+
</div>
|
|
1410
|
+
<div *ngIf="!checklistLoading && !checklistNoData">
|
|
1411
|
+
<lib-pagination class="text-start" [itemsPerPage]="itemsPerPage" [currentPage]="currentPage"
|
|
1412
|
+
[totalItems]="totalItems" [paginationSizes]="paginationSizes" [pageSize]="pageSize"
|
|
1413
|
+
(pageChange)="onPageChange($event)"
|
|
1414
|
+
(pageSizeChange)="onPageSizeChange($event)"></lib-pagination>
|
|
1415
|
+
</div>
|
|
1416
|
+
</div>
|
|
1417
|
+
</div>
|
|
1418
|
+
</div>
|
|
1419
|
+
</div>
|
|
1420
|
+
</div>
|