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
package/src/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.scss
ADDED
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
.header-card{
|
|
2
|
+
border-radius: 6px;
|
|
3
|
+
border-bottom: 2px solid var(--Gray-200, #EAECF0);
|
|
4
|
+
background: radial-gradient(206.89% 107.47% at 16.16% 32.77%, rgba(255, 255, 255, 0.40) 0%, rgba(69, 187, 254, 0.20) 100%), #F2F4F7;
|
|
5
|
+
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
|
|
6
|
+
color: var(--Black, #101828);
|
|
7
|
+
font-size: 18px;
|
|
8
|
+
line-height: 32px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.text-card{
|
|
12
|
+
color: var(--Black, #101828);
|
|
13
|
+
font-size: 24px;
|
|
14
|
+
line-height: 32px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.bg-light-primary{
|
|
18
|
+
border-bottom: 1px solid var(--Primary-100, #DAF1FF) !important;
|
|
19
|
+
background: var(--Primary-25, #F6FCFF) !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.sub-title{
|
|
23
|
+
color: var(--Gray-500, #667085);
|
|
24
|
+
font-size: 12px;
|
|
25
|
+
font-weight: 500;
|
|
26
|
+
line-height: 18px;
|
|
27
|
+
}
|
|
28
|
+
.video-position{
|
|
29
|
+
position: absolute;
|
|
30
|
+
top: 50%;
|
|
31
|
+
transform: translateY(-50%);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.btn-success{
|
|
35
|
+
border: 1px solid var(--Success-700, #027A48) !important;
|
|
36
|
+
background: var(--Success-700, #027A48) !important;
|
|
37
|
+
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.btn.btn-success:hover:not(.btn-active), .btn.btn-success:active:not(.btn-active){
|
|
41
|
+
border: 1px solid var(--Success-700, #027A48) !important;
|
|
42
|
+
background: var(--Success-700, #027A48) !important;
|
|
43
|
+
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
table{
|
|
48
|
+
tr{
|
|
49
|
+
vertical-align: middle;
|
|
50
|
+
td{
|
|
51
|
+
color: var(--Gray-500, #667085) ;
|
|
52
|
+
font-size: 14px !important;
|
|
53
|
+
font-weight: 500;
|
|
54
|
+
line-height: 20px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.custom-dropdown {
|
|
60
|
+
position: relative;
|
|
61
|
+
width: 100%;
|
|
62
|
+
padding: 10px 16px;
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
border-radius: 8px;
|
|
65
|
+
font-size: 16px;
|
|
66
|
+
font-weight: 400;
|
|
67
|
+
line-height: 20px;
|
|
68
|
+
border: 1px solid var(--Gray-300, #D0D5DD);
|
|
69
|
+
background: var(--Gray-50, #F9FAFB);
|
|
70
|
+
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.dropdown-content {
|
|
74
|
+
position: absolute;
|
|
75
|
+
z-index: 1;
|
|
76
|
+
top: 100%;
|
|
77
|
+
left: 0;
|
|
78
|
+
border-radius: 6px;
|
|
79
|
+
width: 100%;
|
|
80
|
+
background: white;
|
|
81
|
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
82
|
+
display: flex;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.dropdown-content1{
|
|
86
|
+
position: absolute;
|
|
87
|
+
z-index: 1;
|
|
88
|
+
bottom: 100%;
|
|
89
|
+
left: 0;
|
|
90
|
+
border-radius: 6px;
|
|
91
|
+
width: 100%;
|
|
92
|
+
background: white;
|
|
93
|
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
94
|
+
display: flex;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.scroll-container {
|
|
98
|
+
display: flex;
|
|
99
|
+
width: 100%;
|
|
100
|
+
.item{
|
|
101
|
+
width:100%;
|
|
102
|
+
text-align: start;
|
|
103
|
+
}
|
|
104
|
+
.items:hover,
|
|
105
|
+
.tems.focus,
|
|
106
|
+
.items.active{
|
|
107
|
+
background: var(--Gray-50, #F9FAFB);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.label{
|
|
112
|
+
position:absolute;
|
|
113
|
+
top:-25%;
|
|
114
|
+
color: var(--Gray-700, #344054);
|
|
115
|
+
font-size: 12px;
|
|
116
|
+
line-height: 18px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.scroll-section {
|
|
120
|
+
width: 50%;
|
|
121
|
+
height: 200px;
|
|
122
|
+
overflow-y: auto;
|
|
123
|
+
text-align: center;
|
|
124
|
+
border-right: 1px solid #ddd;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.scroll-section:last-child {
|
|
128
|
+
border-right: none;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.scroll-section div {
|
|
132
|
+
padding: 8px;
|
|
133
|
+
cursor: pointer;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.scroll-section div.selected {
|
|
137
|
+
background: #007bff;
|
|
138
|
+
color: white;
|
|
139
|
+
}
|
|
140
|
+
.bg-primary{
|
|
141
|
+
border-radius: 8px;
|
|
142
|
+
border: 1px solid var(--Primary-600, #00A3FF) !important;
|
|
143
|
+
background: var(--Primary-600, #00A3FF) !important;
|
|
144
|
+
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.bg-danger{
|
|
148
|
+
background: var(--Primary-500, #D92D20) !important;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.text-primary{
|
|
152
|
+
color: var(--Primary-700, #009BF3) !important;
|
|
153
|
+
font-size: 12px !important;
|
|
154
|
+
font-weight: 500 !important;
|
|
155
|
+
line-height: 18px !important;
|
|
156
|
+
}
|
|
157
|
+
.text-primary1{
|
|
158
|
+
color: var(--Primary-700, #009BF3) !important;
|
|
159
|
+
font-size: 12px !important;
|
|
160
|
+
font-weight: 500 !important;
|
|
161
|
+
line-height: 18px !important;
|
|
162
|
+
text-overflow: ellipsis;
|
|
163
|
+
max-width: 200px;
|
|
164
|
+
overflow: hidden;
|
|
165
|
+
}
|
|
166
|
+
.text-select{
|
|
167
|
+
color: var(--Gray-500, #667085) !important;
|
|
168
|
+
font-size: 14.56px !important;
|
|
169
|
+
font-weight: 400;
|
|
170
|
+
line-height: 21.84px !important;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.custom-tooltip-content {
|
|
174
|
+
font-size: 12px !important;
|
|
175
|
+
text-align: left !important;
|
|
176
|
+
}
|
|
177
|
+
::ng-deep .tooltip-inner {
|
|
178
|
+
max-width: 500px !important;
|
|
179
|
+
white-space: normal;
|
|
180
|
+
}
|
|
181
|
+
.test-dark1{
|
|
182
|
+
color: var(--Success-700, #027A48) !important;
|
|
183
|
+
text-align: center;
|
|
184
|
+
font-size: 12px !important;
|
|
185
|
+
font-weight: 500 !important;
|
|
186
|
+
line-height: 18px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.engage-text{
|
|
190
|
+
color: var(--Primary-700, #009BF3) !important;
|
|
191
|
+
font-size: 14px !important;
|
|
192
|
+
font-weight: 600 !important;
|
|
193
|
+
line-height: 20px;
|
|
194
|
+
text-decoration-line: underline;
|
|
195
|
+
text-decoration-style: solid;
|
|
196
|
+
text-decoration-skip-ink: none;
|
|
197
|
+
text-decoration-thickness: auto;
|
|
198
|
+
text-underline-offset: auto;
|
|
199
|
+
text-underline-position: from-font;
|
|
200
|
+
text-transform: capitalize;
|
|
201
|
+
}
|
|
202
|
+
.disabled {
|
|
203
|
+
pointer-events: none;
|
|
204
|
+
opacity: 0.4;
|
|
205
|
+
cursor: not-allowed;
|
|
206
|
+
}
|
|
207
|
+
.h-auto{
|
|
208
|
+
height:400px !important;
|
|
209
|
+
object-fit: fill;
|
|
210
|
+
}
|
|
211
|
+
@media (min-width:1920px) and (max-width:2119px){
|
|
212
|
+
|
|
213
|
+
.h-500px{
|
|
214
|
+
height:600px !important;
|
|
215
|
+
}
|
|
216
|
+
.h-auto{
|
|
217
|
+
height:400px !important;
|
|
218
|
+
object-fit: fill;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
@media (min-width:1720px) and (max-width:1900px){
|
|
222
|
+
|
|
223
|
+
.h-auto{
|
|
224
|
+
height:400px !important;
|
|
225
|
+
object-fit: fill;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
@media (min-width:2120px) and (max-width:2800px){
|
|
229
|
+
|
|
230
|
+
.h-auto{
|
|
231
|
+
height:520px !important;
|
|
232
|
+
object-fit: fill;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
@media (min-width:1330px) and (max-width:1500px){
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
.h-auto{
|
|
239
|
+
height:370px !important;
|
|
240
|
+
object-fit: fill;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.ts700px {
|
|
245
|
+
min-height: auto !important;
|
|
246
|
+
max-height: 700px !important;
|
|
247
|
+
}
|
package/src/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.spec.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { StartAuditComponent } from './start-audit.component';
|
|
4
|
+
|
|
5
|
+
describe('StartAuditComponent', () => {
|
|
6
|
+
let component: StartAuditComponent;
|
|
7
|
+
let fixture: ComponentFixture<StartAuditComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [StartAuditComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(StartAuditComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
import { Component, OnInit, ChangeDetectorRef, ViewChild, OnDestroy, ElementRef } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, Subject, takeUntil } from 'rxjs';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { NgbActiveModal, NgbModal, NgbTooltip } from '@ng-bootstrap/ng-bootstrap';
|
|
5
|
+
import { EyeTestAuditService } from '../../services/eye-test-audit.service';
|
|
6
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
7
|
+
import { PageInfoService } from 'tango-app-ui-global';
|
|
8
|
+
import dayjs from 'dayjs';
|
|
9
|
+
import 'dayjs/locale/en';
|
|
10
|
+
import utc from 'dayjs/plugin/utc';
|
|
11
|
+
import { SendAlertComponent } from '../../eye-test/send-alert/send-alert.component';
|
|
12
|
+
@Component({
|
|
13
|
+
selector: 'lib-start-audit',
|
|
14
|
+
templateUrl: './start-audit.component.html',
|
|
15
|
+
styleUrl: './start-audit.component.scss'
|
|
16
|
+
})
|
|
17
|
+
export class StartAuditComponent implements OnInit, OnDestroy {
|
|
18
|
+
dayjs = dayjs
|
|
19
|
+
stepWiseProcess: any = [];
|
|
20
|
+
dropdownList: any = []
|
|
21
|
+
loading: boolean = true;
|
|
22
|
+
noData: boolean = false;
|
|
23
|
+
|
|
24
|
+
tableLoading = new BehaviorSubject<'initial' | 'loading' | 'loaded'>('initial')
|
|
25
|
+
historytableLoading = new BehaviorSubject<'initial' | 'loading' | 'loaded'>('initial')
|
|
26
|
+
|
|
27
|
+
selectedMinutes = '00';
|
|
28
|
+
selectedSeconds = '00';
|
|
29
|
+
minutesList: string[] = [];
|
|
30
|
+
secondsList: string[] = [];
|
|
31
|
+
|
|
32
|
+
auditDetails: any = [];
|
|
33
|
+
currentAuditType: any;
|
|
34
|
+
takeAudit: boolean = false;
|
|
35
|
+
storeId: any;
|
|
36
|
+
@ViewChild('tooltipContent') tooltipContent!: NgbTooltip;
|
|
37
|
+
@ViewChild('viewHistory') viewHistory: any;
|
|
38
|
+
@ViewChild('viewCancel') viewCancel: any;
|
|
39
|
+
private readonly destroy$ = new Subject();
|
|
40
|
+
historyData: any = [];
|
|
41
|
+
AuditId: any;
|
|
42
|
+
viewHistoryData: any;
|
|
43
|
+
spokenLanguage: any = 'English'
|
|
44
|
+
modalRef: any;
|
|
45
|
+
disablecancel: boolean = false
|
|
46
|
+
selectedStepIndex = 0;
|
|
47
|
+
conversationData: any = null;
|
|
48
|
+
constructor(private cd: ChangeDetectorRef, private pageInfo: PageInfoService, private toastService: ToastService, private route: ActivatedRoute, private $api: EyeTestAuditService, private modalService: NgbModal, private router: Router) {
|
|
49
|
+
|
|
50
|
+
}
|
|
51
|
+
viewHistoryModel(item: any) {
|
|
52
|
+
let payload = {
|
|
53
|
+
id: item._id
|
|
54
|
+
}
|
|
55
|
+
this.$api.viewAuditHistory(payload).pipe(takeUntil(this.destroy$)).subscribe({
|
|
56
|
+
next: (res: any) => {
|
|
57
|
+
if (res && res?.code == 200) {
|
|
58
|
+
this.viewHistoryData = res.data.result
|
|
59
|
+
const modalRef = this.modalService.open(this.viewHistory, {
|
|
60
|
+
size: 'xl',
|
|
61
|
+
centered: true,
|
|
62
|
+
scrollable: true,
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
})
|
|
67
|
+
}
|
|
68
|
+
auditData: any;
|
|
69
|
+
eyeTestType: any;
|
|
70
|
+
RmEmail: any;
|
|
71
|
+
cluster: any;
|
|
72
|
+
dataBackGet: any;
|
|
73
|
+
@ViewChild('videoPlayer') videoPlayer!: ElementRef<HTMLVideoElement>;
|
|
74
|
+
speeds = [0.5, 1, 1.25, 1.5, 2, 4, 6]; // available speeds
|
|
75
|
+
|
|
76
|
+
changePlaybackSpeed(speed: any) {
|
|
77
|
+
const video: HTMLVideoElement = this.videoPlayer.nativeElement;
|
|
78
|
+
video.playbackRate = Number(speed.target.value); // set playback speed
|
|
79
|
+
}
|
|
80
|
+
ngOnInit(): void {
|
|
81
|
+
this.setPageData();
|
|
82
|
+
this.auditData = this.$api.getAuditData();
|
|
83
|
+
// this.dataBackGet = this.$api.getValueRoutes();
|
|
84
|
+
this.takeAudit = false
|
|
85
|
+
this.stepWiseProcess = [];
|
|
86
|
+
this.route.queryParams.subscribe(params => {
|
|
87
|
+
this.storeId = params['storeId'];
|
|
88
|
+
this.currentAuditType = params['type'];
|
|
89
|
+
this.AuditId = params['_id'];
|
|
90
|
+
this.RmEmail = params['RMEmail'];
|
|
91
|
+
this.cluster = params['cluster'];
|
|
92
|
+
this.eyeTestType = params['eyeType'];
|
|
93
|
+
|
|
94
|
+
if (this.currentAuditType === 'remote') {
|
|
95
|
+
this.dropdownList = [{ key: 'Sentence Transcription okay, but not matching with Predicted Step', item: 'Sentence Transcription okay, but not matching with Predicted Step' }, { key: 'Sentence Transcription not accurate, but matching with Predicted Step', item: 'Sentence Transcription not accurate, but matching with Predicted Step' }, { key: 'Step not accurate, not matching with Predicted Step', item: 'Step not accurate, not matching with Predicted Step' }, { key: 'others', item: 'Others' }];
|
|
96
|
+
} else {
|
|
97
|
+
this.dropdownList = [{ key: 'Step Non-Compliance', item: 'Step Non-Compliance' }, { key: 'Power Bank Non-Compliance', item: 'Power Bank Non-Compliance' }, { key: 'Correct Instrument Not Used', item: 'Correct Instrument Not Used' }, { key: 'others', item: 'Others' }];
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// Load conversation details for all types
|
|
101
|
+
this.conversationData = null;
|
|
102
|
+
this.selectedStepIndex = 0;
|
|
103
|
+
this.$api.getConversationDetails(this.AuditId).pipe(takeUntil(this.destroy$)).subscribe({
|
|
104
|
+
next: (res: any) => {
|
|
105
|
+
if (res?.code === 200) {
|
|
106
|
+
this.conversationData = res.data.result;
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
error: () => { this.conversationData = null; }
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
this.getAuditdetails();
|
|
113
|
+
this.generateTimeOptions();
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
setPageData() {
|
|
117
|
+
this.pageInfo.setTitle('Eye Test')
|
|
118
|
+
|
|
119
|
+
this.pageInfo.setBreadcrumbs([
|
|
120
|
+
{ title: 'Tango Trax', path: '/manage/trax/dashboard', isActive: false, isSeparator: false },
|
|
121
|
+
{ title: 'Tango Trax', path: '/manage/trax/dashboard', isActive: false, isSeparator: true },
|
|
122
|
+
])
|
|
123
|
+
}
|
|
124
|
+
getAuditHistory() {
|
|
125
|
+
this.historytableLoading.next('loading');
|
|
126
|
+
let payload = {
|
|
127
|
+
id: this.currentAuditType === 'remote' ? this.auditDetails.engagementId : this.auditDetails.queueId,
|
|
128
|
+
type: this.currentAuditType
|
|
129
|
+
}
|
|
130
|
+
this.$api.getAuditHistory(payload).pipe(takeUntil(this.destroy$)).subscribe({
|
|
131
|
+
next: (res: any) => {
|
|
132
|
+
if (res && res?.code == 200) {
|
|
133
|
+
this.historyData = res.data.result
|
|
134
|
+
this.historytableLoading.next('loaded')
|
|
135
|
+
} else {
|
|
136
|
+
this.historyData = []
|
|
137
|
+
this.historytableLoading.next('loaded')
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
error: (err: any) => {
|
|
141
|
+
this.historyData = []
|
|
142
|
+
this.historytableLoading.next('loaded')
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
)
|
|
146
|
+
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
getAuditdetails() {
|
|
150
|
+
this.tableLoading.next('loading');
|
|
151
|
+
let payload = {
|
|
152
|
+
id: this.AuditId,
|
|
153
|
+
type: this.currentAuditType
|
|
154
|
+
}
|
|
155
|
+
this.$api.getAuditdetails(payload).pipe(takeUntil(this.destroy$)).subscribe({
|
|
156
|
+
next: (res: any) => {
|
|
157
|
+
if (res && res?.code == 200) {
|
|
158
|
+
this.disablecancel = false
|
|
159
|
+
this.auditDetails = res?.data?.result;
|
|
160
|
+
if (this.auditDetails.auditStatus === 'In-Progress') {
|
|
161
|
+
this.takeAudit = true
|
|
162
|
+
} else {
|
|
163
|
+
this.takeAudit = false
|
|
164
|
+
}
|
|
165
|
+
this.stepWiseProcess = this.auditDetails?.steps;
|
|
166
|
+
setTimeout(() => {
|
|
167
|
+
this.getAuditHistory()
|
|
168
|
+
}, 100)
|
|
169
|
+
this.cd.detectChanges();
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
})
|
|
173
|
+
|
|
174
|
+
this.tableLoading.next('loaded')
|
|
175
|
+
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
generateTimeOptions() {
|
|
179
|
+
this.minutesList = Array.from({ length: 60 }, (_, i) => this.formatNumber(i));
|
|
180
|
+
this.secondsList = Array.from({ length: 60 }, (_, i) => this.formatNumber(i));
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
formatNumber(num: number): string {
|
|
184
|
+
return num < 10 ? '0' + num : num.toString();
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
dropdownOpen: { [key: number]: { startTime: boolean; endTime: boolean; reason: boolean } } = {};
|
|
188
|
+
|
|
189
|
+
toggleDropdown(i: number, time: 'startTime' | 'endTime' | 'reason') {
|
|
190
|
+
const currentState = this.dropdownOpen[i]?.[time] ?? false;
|
|
191
|
+
|
|
192
|
+
Object.keys(this.dropdownOpen).forEach((key) => {
|
|
193
|
+
this.dropdownOpen[Number(key)] = { startTime: false, endTime: false, reason: false };
|
|
194
|
+
});
|
|
195
|
+
|
|
196
|
+
if (!this.dropdownOpen[i]) {
|
|
197
|
+
this.dropdownOpen[i] = { startTime: false, endTime: false, reason: false };
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
this.dropdownOpen[i][time] = !currentState;
|
|
201
|
+
}
|
|
202
|
+
getSecondsFromTime(time: string): number {
|
|
203
|
+
if (!time) return 0;
|
|
204
|
+
const [min, sec] = time.split(':').map(Number);
|
|
205
|
+
return (min * 60) + sec;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
selectMinute(index: any, min: string, time: 'startTime' | 'endTime' | 'reason') {
|
|
209
|
+
const previousTime = this.stepWiseProcess[index]?.[time] || '00:00';
|
|
210
|
+
|
|
211
|
+
this.selectedMinutes = min;
|
|
212
|
+
const newTime = `${this.selectedMinutes}:${this.selectedSeconds}`;
|
|
213
|
+
|
|
214
|
+
const startTime = this.getSecondsFromTime(
|
|
215
|
+
time === 'startTime' ? newTime : this.stepWiseProcess[index]?.startTime
|
|
216
|
+
);
|
|
217
|
+
const endTime = this.getSecondsFromTime(
|
|
218
|
+
time === 'endTime' ? newTime : this.stepWiseProcess[index]?.endTime
|
|
219
|
+
);
|
|
220
|
+
|
|
221
|
+
const isValid = (startTime === 0 || endTime === 0) || startTime < endTime;
|
|
222
|
+
|
|
223
|
+
if (!isValid && time !== 'reason') {
|
|
224
|
+
this.toastService.getWarningToast("Start time must be less than end time.");
|
|
225
|
+
|
|
226
|
+
const [prevMin, prevSec] = previousTime.split(':');
|
|
227
|
+
this.selectedMinutes = prevMin;
|
|
228
|
+
this.selectedSeconds = prevSec;
|
|
229
|
+
|
|
230
|
+
this.cd.detectChanges();
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
this.stepWiseProcess[index][time] = newTime;
|
|
236
|
+
this.cd.detectChanges();
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
selectSecond(index: any, sec: string, time: 'startTime' | 'endTime' | 'reason') {
|
|
240
|
+
const previousTime = this.stepWiseProcess[index]?.[time] || '00:00';
|
|
241
|
+
|
|
242
|
+
this.selectedSeconds = sec;
|
|
243
|
+
const newTime = `${this.selectedMinutes}:${this.selectedSeconds}`;
|
|
244
|
+
|
|
245
|
+
const startTime = this.getSecondsFromTime(
|
|
246
|
+
time === 'startTime' ? newTime : this.stepWiseProcess[index]?.startTime
|
|
247
|
+
);
|
|
248
|
+
const endTime = this.getSecondsFromTime(
|
|
249
|
+
time === 'endTime' ? newTime : this.stepWiseProcess[index]?.endTime
|
|
250
|
+
);
|
|
251
|
+
|
|
252
|
+
if ((time !== 'reason') && startTime !== 0 && endTime !== 0 && startTime >= endTime) {
|
|
253
|
+
this.toastService.getWarningToast("Start time must be less than end time.");
|
|
254
|
+
|
|
255
|
+
const [prevMin, prevSec] = previousTime.split(':');
|
|
256
|
+
this.selectedMinutes = prevMin;
|
|
257
|
+
this.selectedSeconds = prevSec;
|
|
258
|
+
|
|
259
|
+
this.cd.detectChanges();
|
|
260
|
+
return;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
this.stepWiseProcess[index][time] = newTime;
|
|
264
|
+
this.cd.detectChanges();
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
selectReason(index: number, key: any, time: any) {
|
|
270
|
+
this.stepWiseProcess[index][time] = key;
|
|
271
|
+
|
|
272
|
+
if (key === 'others') {
|
|
273
|
+
this.stepWiseProcess[index].otherReason = '';
|
|
274
|
+
} else {
|
|
275
|
+
this.stepWiseProcess[index].otherReason = null;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
this.cd.detectChanges();
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
selectHumanVerified(index: number, value: boolean) {
|
|
283
|
+
this.stepWiseProcess[index].auditedStatus = value;
|
|
284
|
+
}
|
|
285
|
+
findcount() {
|
|
286
|
+
let count = 0
|
|
287
|
+
this.stepWiseProcess.forEach((data: any) => {
|
|
288
|
+
if (data.auditedStatus !== data.AIStatus) {
|
|
289
|
+
count++
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
})
|
|
294
|
+
return count
|
|
295
|
+
}
|
|
296
|
+
getValidaForm() {
|
|
297
|
+
let errorCount = 0
|
|
298
|
+
this.stepWiseProcess.forEach((data: any) => {
|
|
299
|
+
if (data.reason === 'others') {
|
|
300
|
+
data.otherReason = data.otherReason.trim()
|
|
301
|
+
}
|
|
302
|
+
if (data.auditedStatus !== data.AIStatus) {
|
|
303
|
+
if (!data.reason || data.reason && data.reason === 'others' && !data.otherReason) {
|
|
304
|
+
errorCount++
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
})
|
|
308
|
+
if (errorCount > 0) {
|
|
309
|
+
this.disablecancel = false
|
|
310
|
+
this.toastService.getWarningToast("Comments are mandatory for inverse human audited responses")
|
|
311
|
+
}
|
|
312
|
+
return errorCount
|
|
313
|
+
}
|
|
314
|
+
onsubmit(isReSend?: boolean) {
|
|
315
|
+
|
|
316
|
+
this.disablecancel = true
|
|
317
|
+
// if((this.stepWiseProcess.filter((data:any)=>data.auditedStatus===true).length+this.stepWiseProcess.filter((data:any)=>data.auditedStatus===false).length)!==this.stepWiseProcess.length){
|
|
318
|
+
// this.toastService.getErrorToast("Oops! Looks like the eye test audit isn’t complete yet. Audit all eye test steps before submitting.")
|
|
319
|
+
// this.disablecancel = false
|
|
320
|
+
// return
|
|
321
|
+
// }
|
|
322
|
+
// if(this.getValidaForm()===0){
|
|
323
|
+
|
|
324
|
+
let payload = {
|
|
325
|
+
id: this.AuditId,
|
|
326
|
+
type: this.currentAuditType,
|
|
327
|
+
fileId: this.currentAuditType === 'remote' ? this.auditDetails.engagementId : this.auditDetails.queueId,
|
|
328
|
+
auditedSteps: this.stepWiseProcess.filter((data: any) => data.auditedStatus === true).length,
|
|
329
|
+
auditStatus: this.auditDetails?.auditType === 'Audit' ? "Audited" : "Re-Audited",
|
|
330
|
+
overRides: this.findcount(),
|
|
331
|
+
spokenLanguage: this.spokenLanguage,
|
|
332
|
+
steps: this.stepWiseProcess,
|
|
333
|
+
cluster: this.cluster,
|
|
334
|
+
RMEmail: this.RmEmail,
|
|
335
|
+
clientId: this.auditDetails?.storeId?.split("-")[0],
|
|
336
|
+
...(typeof isReSend != 'undefined' && { isReSend: isReSend })
|
|
337
|
+
}
|
|
338
|
+
this.$api.submitAudit(payload).pipe(takeUntil(this.destroy$)).subscribe({
|
|
339
|
+
next: (res: any) => {
|
|
340
|
+
console.log(res, 'res')
|
|
341
|
+
|
|
342
|
+
if (res && res?.code == 200) {
|
|
343
|
+
// this.disablecancel = false
|
|
344
|
+
if (res.message == "Do you want resend mail?") {
|
|
345
|
+
const dialogRef = this.modalService.open(SendAlertComponent);
|
|
346
|
+
dialogRef.componentInstance.message = res.message;
|
|
347
|
+
dialogRef.result.then((result) => {
|
|
348
|
+
this.onsubmit(result);
|
|
349
|
+
})
|
|
350
|
+
}
|
|
351
|
+
else {
|
|
352
|
+
setTimeout(() => {
|
|
353
|
+
this.getAuditdetails();
|
|
354
|
+
}, 1000)
|
|
355
|
+
this.toastService.getSuccessToast(`${this.auditDetails?.auditType} Submitted Successfully`)
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
error: (err: any) => {
|
|
361
|
+
|
|
362
|
+
this.toastService.getErrorToast(err?.error?.error ? err?.error?.error : err?.error?.message)
|
|
363
|
+
}
|
|
364
|
+
})
|
|
365
|
+
// }
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
}
|
|
369
|
+
startAudit(value: any) {
|
|
370
|
+
this.disablecancel = true
|
|
371
|
+
this.takeAudit = true;
|
|
372
|
+
this.auditDetails.auditStatus = 'Re-Audited'
|
|
373
|
+
let payload = {
|
|
374
|
+
id: this.AuditId
|
|
375
|
+
}
|
|
376
|
+
this.$api.getAuditFile(payload).pipe(takeUntil(this.destroy$)).subscribe({
|
|
377
|
+
next: (res: any) => {
|
|
378
|
+
if (res && res?.code == 200) {
|
|
379
|
+
|
|
380
|
+
this.getAuditdetails();
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
error: (err: any) => {
|
|
384
|
+
this.toastService.getErrorToast(err?.error?.error ? err?.error?.error : err?.error?.message)
|
|
385
|
+
}
|
|
386
|
+
})
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
onYes() {
|
|
392
|
+
let payload = {
|
|
393
|
+
id: this.AuditId,
|
|
394
|
+
type: this.currentAuditType,
|
|
395
|
+
fileId: this.currentAuditType === 'remote' ? this.auditDetails.engagementId : this.auditDetails.queueId,
|
|
396
|
+
}
|
|
397
|
+
this.$api.cancelAuditFile(payload).pipe(takeUntil(this.destroy$)).subscribe({
|
|
398
|
+
next: (res: any) => {
|
|
399
|
+
if (res && res?.code == 200) {
|
|
400
|
+
this.getAuditdetails();
|
|
401
|
+
this.toastService.getSuccessToast(`${this.auditDetails?.auditType} Cancelled Successfully`)
|
|
402
|
+
this.modalRef.dismiss();
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
error: (err: any) => {
|
|
406
|
+
this.toastService.getErrorToast(err?.error?.error ? err?.error?.error : err?.error?.message)
|
|
407
|
+
this.modalRef.dismiss();
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
|
|
411
|
+
this.takeAudit = false
|
|
412
|
+
}
|
|
413
|
+
cancel() {
|
|
414
|
+
this.modalRef = this.modalService.open(this.viewCancel, {
|
|
415
|
+
size: 'md',
|
|
416
|
+
centered: true,
|
|
417
|
+
scrollable: true,
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
OnCancel() {
|
|
421
|
+
this.modalRef.dismiss();
|
|
422
|
+
}
|
|
423
|
+
ngOnDestroy(): void {
|
|
424
|
+
this.destroy$.next(true);
|
|
425
|
+
this.destroy$.complete();
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
backNavigation() {
|
|
429
|
+
|
|
430
|
+
this.$api.auditFilterData = {
|
|
431
|
+
back: 'back',
|
|
432
|
+
auditDetails: this.auditDetails
|
|
433
|
+
};
|
|
434
|
+
this.router.navigate(['/manage/trax/audit'], {
|
|
435
|
+
queryParams: { date: this.dayjs(this.auditDetails.fileDate).format('YYYY-MM-DD'), typeValue: this.currentAuditType }
|
|
436
|
+
});
|
|
437
|
+
let data: any = JSON.parse(localStorage.getItem("header-filters") || "");
|
|
438
|
+
data.date = {
|
|
439
|
+
startDate: this.auditDetails?.fileDate,
|
|
440
|
+
endDate: this.auditDetails?.fileDate
|
|
441
|
+
};
|
|
442
|
+
localStorage.setItem("header-filters", JSON.stringify(data));
|
|
443
|
+
// this.$api.setValueRoutes(this.dataBackGet)
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
}
|