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,138 @@
|
|
|
1
|
+
|
|
2
|
+
export type AnswerType = 'descriptive' | 'yes/no' | 'multiplechoicesingle' | 'multiplechoicemultiple' | 'descriptiveImage' | 'image' | 'video' | 'multipleImage' | 'date' | 'linearscale' | 'time';
|
|
3
|
+
|
|
4
|
+
export type DescriptiveType = 'text' | 'number' | '' ;
|
|
5
|
+
|
|
6
|
+
export type ValidationType = 'Capture Image' | 'Descriptive Answer' | 'Capture Video' | '';
|
|
7
|
+
|
|
8
|
+
export interface ITask {
|
|
9
|
+
alert: {
|
|
10
|
+
usageExceeds: any | null;
|
|
11
|
+
alertsTo: any[];
|
|
12
|
+
};
|
|
13
|
+
_id: string;
|
|
14
|
+
type: string;
|
|
15
|
+
checkListNumber: number;
|
|
16
|
+
checkListName: string;
|
|
17
|
+
checkListDescription: string;
|
|
18
|
+
createdBy: string;
|
|
19
|
+
createdByName: string;
|
|
20
|
+
publish: boolean;
|
|
21
|
+
schedule: string;
|
|
22
|
+
scheduleRepeatedDay: string[];
|
|
23
|
+
scheduleStartTime: string;
|
|
24
|
+
scheduleEndTime: string;
|
|
25
|
+
configStartDate: string | null;
|
|
26
|
+
configEndDate: string | null;
|
|
27
|
+
specificDate: string[];
|
|
28
|
+
scheduleWeekDays: string[];
|
|
29
|
+
scheduleRepeatedMonthSetup: string;
|
|
30
|
+
scheduleRepeatedMonthDate: string;
|
|
31
|
+
allowedOverTime: boolean;
|
|
32
|
+
allowedStoreLocation: boolean;
|
|
33
|
+
detectionArea: any[];
|
|
34
|
+
client_id: string;
|
|
35
|
+
questionCount: number;
|
|
36
|
+
storeCount: number;
|
|
37
|
+
checkListType: string;
|
|
38
|
+
isdeleted: boolean;
|
|
39
|
+
markasread: boolean;
|
|
40
|
+
allowedMultiSubmit: boolean;
|
|
41
|
+
allowOnce: boolean;
|
|
42
|
+
scheduleRepeatedMonthWeek: string;
|
|
43
|
+
scheduleRepeatedType: string;
|
|
44
|
+
scheduleDate: string | null;
|
|
45
|
+
createdAt: string;
|
|
46
|
+
updatedAt: string;
|
|
47
|
+
locationCount: number;
|
|
48
|
+
publishDate: string;
|
|
49
|
+
scheduleEndTimeISO: string;
|
|
50
|
+
scheduleStartTimeISO: string;
|
|
51
|
+
assignedUsers: any[];
|
|
52
|
+
assign: any[];
|
|
53
|
+
removedUsers: any[];
|
|
54
|
+
sections: Section[];
|
|
55
|
+
approver: {id:string, email:string, userName:string}[],
|
|
56
|
+
priorityType:string,
|
|
57
|
+
restrictAttendance:boolean,
|
|
58
|
+
remainder?:number[]
|
|
59
|
+
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface Section {
|
|
63
|
+
id: string;
|
|
64
|
+
name: string;
|
|
65
|
+
questions: Question[];
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface Question {
|
|
69
|
+
qno?: number;
|
|
70
|
+
qname: string;
|
|
71
|
+
answerType: AnswerType;
|
|
72
|
+
runAI: boolean;
|
|
73
|
+
runAIDescription: string;
|
|
74
|
+
allowUploadfromGallery: boolean;
|
|
75
|
+
linkType: boolean;
|
|
76
|
+
questionReferenceImage: string;
|
|
77
|
+
answers: Answer[];
|
|
78
|
+
descriptivetype?:DescriptiveType
|
|
79
|
+
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export interface Answer {
|
|
83
|
+
answer: string;
|
|
84
|
+
answeroptionNumber?: number;
|
|
85
|
+
sopFlag: boolean;
|
|
86
|
+
validation: boolean;
|
|
87
|
+
validationType: ValidationType;
|
|
88
|
+
referenceImage: string;
|
|
89
|
+
showLinked: boolean;
|
|
90
|
+
linkedQuestion: number;
|
|
91
|
+
nestedQuestion:any[]
|
|
92
|
+
validationAnswer?:string,
|
|
93
|
+
allowUploadfromGallery?: boolean;
|
|
94
|
+
runAI?: boolean;
|
|
95
|
+
rangeStart?: number;
|
|
96
|
+
rangeEnd?: number;
|
|
97
|
+
descriptivetype?:DescriptiveType;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
interface DateRange {
|
|
102
|
+
startDate: string;
|
|
103
|
+
endDate: string;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
interface Store {
|
|
107
|
+
storeId: string;
|
|
108
|
+
storeName: string;
|
|
109
|
+
checked: boolean;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
interface Group {
|
|
113
|
+
city: string;
|
|
114
|
+
checked: boolean;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export interface HeaderFilter {
|
|
118
|
+
client: string;
|
|
119
|
+
clientName: string;
|
|
120
|
+
clients: string[];
|
|
121
|
+
store: null | string;
|
|
122
|
+
date: DateRange;
|
|
123
|
+
stores: Store[];
|
|
124
|
+
group: Group[];
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export interface UserAssignDetails {
|
|
128
|
+
id: string;
|
|
129
|
+
userName: string;
|
|
130
|
+
userEmail: string;
|
|
131
|
+
store_id: string;
|
|
132
|
+
storeName: string;
|
|
133
|
+
clusterName: string;
|
|
134
|
+
teamName: string;
|
|
135
|
+
userPhone: string;
|
|
136
|
+
city: string;
|
|
137
|
+
checkFlag: boolean;
|
|
138
|
+
}
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
<div class="col-lg-12 mt-4">
|
|
2
|
+
<div class="card">
|
|
3
|
+
<div class="card-header border-0 pt-3">
|
|
4
|
+
<div class="d-flex flex-column">
|
|
5
|
+
<div class="d-flex flex-wrap my-2 pe-2">
|
|
6
|
+
<a [routerLink]="['/manage/trax/dashboard/task']" class="d-flex align-items-center me-3 cursor-pointer">
|
|
7
|
+
<span><svg width="44" height="44" viewBox="0 0 44 44" fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
9
|
+
<g filter="url(#filter0_d_987_30898)">
|
|
10
|
+
<rect x="2" y="1" width="40" height="40" rx="8" fill="white" />
|
|
11
|
+
<rect x="2.5" y="1.5" width="39" height="39" rx="7.5" stroke="#D0D5DD" />
|
|
12
|
+
<path
|
|
13
|
+
d="M27.8346 21.0001H16.168M16.168 21.0001L22.0013 26.8334M16.168 21.0001L22.0013 15.1667"
|
|
14
|
+
stroke="#344054" stroke-width="1.67" stroke-linecap="round"
|
|
15
|
+
stroke-linejoin="round" />
|
|
16
|
+
</g>
|
|
17
|
+
<defs>
|
|
18
|
+
<filter id="filter0_d_987_30898" x="0" y="0" width="44" height="44"
|
|
19
|
+
filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
20
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
21
|
+
<feColorMatrix in="SourceAlpha" type="matrix"
|
|
22
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha" />
|
|
23
|
+
<feOffset dy="1" />
|
|
24
|
+
<feGaussianBlur stdDeviation="1" />
|
|
25
|
+
<feColorMatrix type="matrix"
|
|
26
|
+
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" />
|
|
27
|
+
<feBlend mode="normal" in2="BackgroundImageFix"
|
|
28
|
+
result="effect1_dropShadow_987_30898" />
|
|
29
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_987_30898"
|
|
30
|
+
result="shape" />
|
|
31
|
+
</filter>
|
|
32
|
+
</defs>
|
|
33
|
+
</svg>
|
|
34
|
+
</span>
|
|
35
|
+
</a>
|
|
36
|
+
<!-- <form class="mt-1 me-3 cursor-pointer" style="min-width: 200px;" [formGroup]="form">
|
|
37
|
+
<lib-select [items]="taskDropdown" [multi]="false" [searchField]="'checkListName'"
|
|
38
|
+
[idField]="'_id'" [selectedValues]="[selectedTask]" (selected)="onTaskSelect($event)">
|
|
39
|
+
</lib-select>
|
|
40
|
+
</form> -->
|
|
41
|
+
<div class="d-flex">
|
|
42
|
+
<input type="text" class="form-control ps-10 ms-4 footfallsearch" value="{{taskName}}" readonly/>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="checklist-details d-flex flex-wrap">
|
|
45
|
+
<div class="d-flex align-items-center me-3 checklisttext">
|
|
46
|
+
<span><svg class="mx-2 mb-1" xmlns="http://www.w3.org/2000/svg" width="16" height="16"
|
|
47
|
+
viewBox="0 0 16 16" fill="none">
|
|
48
|
+
<path
|
|
49
|
+
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"
|
|
50
|
+
stroke="#667085" stroke-width="1.4" stroke-linecap="round"
|
|
51
|
+
stroke-linejoin="round" />
|
|
52
|
+
</svg><span class="mt-2">{{ selectedTask?.createdByName || '--' }}</span></span>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<div class="d-flex align-items-center me-3 checklisttext">
|
|
56
|
+
<span><svg class="mx-2 mb-1" xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
57
|
+
viewBox="0 0 18 18" fill="none">
|
|
58
|
+
<path
|
|
59
|
+
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"
|
|
60
|
+
stroke="#667085" stroke-width="1.4" stroke-linecap="round"
|
|
61
|
+
stroke-linejoin="round" />
|
|
62
|
+
</svg> {{ totalItems || '--' }} {{selectedTask?.coverage === 'store' ? 'Stores' : 'Users'}}</span>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="d-flex align-items-center me-3 checklisttext">
|
|
65
|
+
<span><svg class="mx-2 mb-1" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none">
|
|
66
|
+
<path d="M13.0387 15.7501C12.2028 15.7501 11.4937 15.4591 10.9117 14.8771C10.3298 14.2941 10.0388 13.5851 10.0388 12.7501C10.0388 11.9151 10.3298 11.2061 10.9117 10.6231C11.4937 10.0411 12.2028 9.75005 13.0387 9.75005C13.8737 9.75005 14.5825 10.0411 15.165 10.6231C15.7475 11.2051 16.0388 11.9141 16.0387 12.7501C16.0387 13.5856 15.7475 14.2946 15.165 14.8771C14.5825 15.4596 13.8737 15.7506 13.0387 15.7501ZM13.3267 12.6263V10.8751C13.3267 10.7981 13.298 10.7306 13.2405 10.6726C13.1825 10.6151 13.115 10.5863 13.038 10.5863C12.9615 10.5863 12.8942 10.6153 12.8363 10.6733C12.7787 10.7308 12.75 10.7981 12.75 10.8751V12.6248C12.75 12.7013 12.764 12.7753 12.792 12.8468C12.82 12.9188 12.8665 12.9876 12.9315 13.0531L14.0753 14.1968C14.1313 14.2523 14.1973 14.2826 14.2733 14.2876C14.3492 14.2926 14.4198 14.2623 14.4847 14.1968C14.5503 14.1318 14.583 14.0636 14.583 13.9921C14.583 13.9206 14.5505 13.8523 14.4855 13.7873L13.3267 12.6263ZM4.21125 15.0001C3.87825 15.0001 3.59325 14.8813 3.35625 14.6438C3.11875 14.4068 3 14.1218 3 13.7888V4.2113C3 3.8783 3.11875 3.5933 3.35625 3.3563C3.59325 3.1188 3.87825 3.00005 4.21125 3.00005H7.689C7.759 2.70655 7.91475 2.46005 8.15625 2.26055C8.39775 2.06105 8.679 1.9613 9 1.9613C9.327 1.9613 9.6105 2.0613 9.8505 2.2613C10.0905 2.4603 10.2455 2.70655 10.3155 3.00005H13.788C14.1215 3.00005 14.4067 3.1188 14.6437 3.3563C14.8812 3.5933 15 3.8783 15 4.2113V8.7263C14.871 8.6598 14.749 8.60155 14.634 8.55155C14.519 8.50155 14.391 8.4568 14.25 8.4173V4.2113C14.25 4.0963 14.202 3.99055 14.106 3.89405C14.0095 3.79805 13.9038 3.75005 13.7887 3.75005H12V4.8173C12 4.9888 11.9425 5.1328 11.8275 5.2493C11.7125 5.3653 11.57 5.4233 11.4 5.4233H6.6C6.43 5.4233 6.2875 5.3653 6.1725 5.2493C6.0575 5.1328 6 4.9888 6 4.8173V3.75005H4.21125C4.09625 3.75005 3.9905 3.79805 3.894 3.89405C3.798 3.99055 3.75 4.0963 3.75 4.2113V13.7888C3.75 13.9233 3.79325 14.0338 3.87975 14.1203C3.96625 14.2068 4.07675 14.2501 4.21125 14.2501H8.8065C8.8465 14.3901 8.89375 14.5203 8.94825 14.6408C9.00325 14.7608 9.07325 14.8806 9.15825 15.0001H4.212H4.21125ZM9.00225 3.92255C9.17475 3.92255 9.3185 3.86455 9.4335 3.74855C9.5485 3.63155 9.606 3.48705 9.606 3.31505C9.606 3.14255 9.54775 2.9988 9.43125 2.8838C9.31425 2.7688 9.16975 2.7113 8.99775 2.7113C8.82525 2.7113 8.6815 2.7698 8.5665 2.8868C8.4515 3.0033 8.394 3.14755 8.394 3.31955C8.394 3.49205 8.4525 3.6358 8.5695 3.7508C8.686 3.8658 8.83025 3.92255 9.00225 3.92255Z" fill="#667085"/>
|
|
67
|
+
</svg><span ngbTooltip="Due Date" placement="top"
|
|
68
|
+
triggers="mouseenter:mouseleave"
|
|
69
|
+
tooltipClass="custom-tooltip">{{ selectedTask?.scheduleEndTime_iso || "--" }}</span></span>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
<!--end::Info-->
|
|
74
|
+
</div>
|
|
75
|
+
<div class="card-toolbar">
|
|
76
|
+
<div class="d-flex">
|
|
77
|
+
|
|
78
|
+
<div>
|
|
79
|
+
<form class="mt-1" [formGroup]="form">
|
|
80
|
+
<div class="col-md-4 w-200px">
|
|
81
|
+
<!-- *ngIf="refreshTaskDropdown" -->
|
|
82
|
+
<lib-reactive-select [formControl]="selectedlistselectControl" [idField]="'_id'"
|
|
83
|
+
[nameField]="'label'" [data]="statusselectControl" class="w-200px"
|
|
84
|
+
(valueChange)="onValueChangeStatusSelect($event)">
|
|
85
|
+
<ng-template let-item>
|
|
86
|
+
<div class="d-flex justify-content-between align-items-center">
|
|
87
|
+
<span>{{ item.label }}</span>
|
|
88
|
+
<span class="d-flex align-items-center">
|
|
89
|
+
<!-- <span class="status-text">Status</span> -->
|
|
90
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"
|
|
91
|
+
viewBox="0 0 20 20" fill="none">
|
|
92
|
+
<path d="M5 7.5L10 12.5L15 7.5" stroke="#344054" stroke-width="1.67"
|
|
93
|
+
stroke-linecap="round" stroke-linejoin="round" />
|
|
94
|
+
</svg>
|
|
95
|
+
</span>
|
|
96
|
+
</div>
|
|
97
|
+
</ng-template>
|
|
98
|
+
</lib-reactive-select>
|
|
99
|
+
</div>
|
|
100
|
+
</form>
|
|
101
|
+
</div>
|
|
102
|
+
<div class="d-flex align-items-center position-relative my-1">
|
|
103
|
+
<span class="svg-icon footfallsearch svg-icon-1 position-absolute ms-8">
|
|
104
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
|
105
|
+
fill="none">
|
|
106
|
+
<rect opacity="0.5" x="17.0365" y="15.1223" width="8.15546" height="2" rx="1"
|
|
107
|
+
transform="rotate(45 17.0365 15.1223)" fill="currentColor">
|
|
108
|
+
</rect>
|
|
109
|
+
<path
|
|
110
|
+
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"
|
|
111
|
+
fill="currentColor"></path>
|
|
112
|
+
</svg>
|
|
113
|
+
</span>
|
|
114
|
+
<!-- [disabled]="searchDisabled" -->
|
|
115
|
+
<input [(ngModel)]="searchInput" type="text" class="form-control ps-14 ms-4 footfallsearch"
|
|
116
|
+
placeholder="Search" autocomplete="off" (keyup.enter)="searchField()" />
|
|
117
|
+
<button type="button" (click)="onExport()"
|
|
118
|
+
class="btn-outline btn align-items-end text-nowrap invheader ms-4"
|
|
119
|
+
[disabled]="!TaskInfoData.length">
|
|
120
|
+
<!-- Export Icon -->
|
|
121
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"
|
|
122
|
+
fill="none">
|
|
123
|
+
<path
|
|
124
|
+
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"
|
|
125
|
+
stroke="#344054" stroke-width="1.67" stroke-linecap="round"
|
|
126
|
+
stroke-linejoin="round"></path>
|
|
127
|
+
</svg>
|
|
128
|
+
<span class="ms-2"></span> Export
|
|
129
|
+
</button>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
<div class="card-body p-0">
|
|
135
|
+
<div class="table-responsive">
|
|
136
|
+
|
|
137
|
+
<table *ngIf="!taskInfoLoading && !taskInfoNoData" class="table text-nowrap bottom-border">
|
|
138
|
+
<thead>
|
|
139
|
+
<tr>
|
|
140
|
+
<th class="cursor-pointer" (click)="sortData('storeName')">Store
|
|
141
|
+
<svg [ngClass]="sortColumName === 'storeName' && sortDirection === 1 ? 'rotate' : ''"
|
|
142
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
|
|
143
|
+
fill="none">
|
|
144
|
+
<path
|
|
145
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
146
|
+
[attr.stroke]="sortColumName === 'storeName' ? '#00A3FF' : '#667085'"
|
|
147
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
148
|
+
</svg>
|
|
149
|
+
</th>
|
|
150
|
+
<th class="cursor-pointer" (click)="sortData('userEmail')">User Name
|
|
151
|
+
<svg [ngClass]="sortColumName === 'userEmail' && sortDirection === 1 ? 'rotate' : ''"
|
|
152
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
|
|
153
|
+
fill="none">
|
|
154
|
+
<path
|
|
155
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
156
|
+
[attr.stroke]="sortColumName === 'userEmail' ? '#00A3FF' : '#667085'"
|
|
157
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
158
|
+
</svg>
|
|
159
|
+
</th>
|
|
160
|
+
<th class="cursor-pointer" (click)="sortData('userEmail')">User Email
|
|
161
|
+
<svg [ngClass]="sortColumName === 'userEmail' && sortDirection === 1 ? 'rotate' : ''"
|
|
162
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
|
|
163
|
+
fill="none">
|
|
164
|
+
<path
|
|
165
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
166
|
+
[attr.stroke]="sortColumName === 'userEmail' ? '#00A3FF' : '#667085'"
|
|
167
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
168
|
+
</svg>
|
|
169
|
+
</th>
|
|
170
|
+
<th *ngIf="showZoneData" class="cursor-pointer" (click)="sortData('zoneName')">Type
|
|
171
|
+
<svg [ngClass]="sortColumName === 'zoneName' && sortDirection === 1 ? 'rotate' : ''"
|
|
172
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
|
|
173
|
+
fill="none">
|
|
174
|
+
<path
|
|
175
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
176
|
+
[attr.stroke]="sortColumName === 'zoneName' ? '#00A3FF' : '#667085'"
|
|
177
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
178
|
+
</svg>
|
|
179
|
+
</th>
|
|
180
|
+
<th>Due on</th>
|
|
181
|
+
<th>Status</th>
|
|
182
|
+
<th class="cursor-pointer" (click)="sortData('submitTime_string')">Submitted On
|
|
183
|
+
<svg [ngClass]="sortColumName === 'submitTime_string' && sortDirection === 1 ? 'rotate' : ''"
|
|
184
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
|
|
185
|
+
fill="none">
|
|
186
|
+
<path
|
|
187
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
188
|
+
[attr.stroke]="sortColumName === 'submitTime_string' ? '#00A3FF' : '#667085'"
|
|
189
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
190
|
+
</svg>
|
|
191
|
+
</th>
|
|
192
|
+
<th >Approved By</th>
|
|
193
|
+
<!-- class="cursor-pointer" (click)="sortData('approvalTime_string')" -->
|
|
194
|
+
<th >Approved On
|
|
195
|
+
<!-- <svg [ngClass]="sortColumName === 'approvalTime_string' && sortDirection === 1 ? 'rotate' : ''"
|
|
196
|
+
xmlns="http://www.w3.org/2000/svg" width="16" height="16"
|
|
197
|
+
viewBox="0 0 16 16" fill="none">
|
|
198
|
+
<path
|
|
199
|
+
d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
|
|
200
|
+
[attr.stroke]="sortColumName === 'approvalTime_string' ? '#00A3FF' : '#667085'"
|
|
201
|
+
stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
|
|
202
|
+
</svg> -->
|
|
203
|
+
</th>
|
|
204
|
+
<th>Action</th>
|
|
205
|
+
</tr>
|
|
206
|
+
</thead>
|
|
207
|
+
<tbody>
|
|
208
|
+
<tr *ngFor="let taskinfo of TaskInfoData">
|
|
209
|
+
<!-- (click)="storeView(taskinfo)" -->
|
|
210
|
+
<td>
|
|
211
|
+
<span
|
|
212
|
+
class="table-title">{{ taskinfo.storeName || '--' }}</span>
|
|
213
|
+
</td>
|
|
214
|
+
<td>
|
|
215
|
+
<div class="table-title">
|
|
216
|
+
{{ taskinfo.userName || '--' }}
|
|
217
|
+
</div>
|
|
218
|
+
</td>
|
|
219
|
+
<td>
|
|
220
|
+
<div class="table-title">
|
|
221
|
+
{{ taskinfo.userEmail || '--' }}
|
|
222
|
+
</div>
|
|
223
|
+
</td>
|
|
224
|
+
<td *ngIf="showZoneData">
|
|
225
|
+
<div class="table-title">
|
|
226
|
+
{{ taskinfo.zoneName || '--' }}
|
|
227
|
+
</div>
|
|
228
|
+
</td>
|
|
229
|
+
<td>
|
|
230
|
+
<div class="table-title">{{ taskinfo.scheduleEndTime_iso ?
|
|
231
|
+
taskinfo.scheduleEndTime_iso.toLocaleString('en-US', {
|
|
232
|
+
minimumFractionDigits: 0 }) :
|
|
233
|
+
'--' }}</div>
|
|
234
|
+
</td>
|
|
235
|
+
<td>
|
|
236
|
+
<span class="badge" [ngClass]="{
|
|
237
|
+
'badge-light-danger': taskinfo.checklistStatus === 'Open',
|
|
238
|
+
'badge-light-primary': taskinfo.checklistStatus === 'In Progress',
|
|
239
|
+
'badge-light-success': taskinfo.checklistStatus === 'Submitted'
|
|
240
|
+
}"> <span *ngIf="taskinfo.redoStatus"><svg class="me-2" xmlns="http://www.w3.org/2000/svg" width="12" height="14" viewBox="0 0 12 14" fill="none">
|
|
241
|
+
<g clip-path="url(#clip0_7166_57025)">
|
|
242
|
+
<path
|
|
243
|
+
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"
|
|
244
|
+
[attr.stroke]="getRedoSvgColor(taskinfo.checklistStatus)"
|
|
245
|
+
stroke-width="2"
|
|
246
|
+
stroke-linecap="round"
|
|
247
|
+
stroke-linejoin="round" />
|
|
248
|
+
</g>
|
|
249
|
+
<defs>
|
|
250
|
+
<clipPath id="clip0_7166_57025">
|
|
251
|
+
<rect width="12" height="13" fill="white" transform="translate(0 0.5)" />
|
|
252
|
+
</clipPath>
|
|
253
|
+
</defs>
|
|
254
|
+
</svg></span>
|
|
255
|
+
{{ taskinfo.checklistStatus | titlecase }}
|
|
256
|
+
</span>
|
|
257
|
+
|
|
258
|
+
</td>
|
|
259
|
+
<td>
|
|
260
|
+
<div class="table-title">{{ taskinfo.submitTime_string ?
|
|
261
|
+
taskinfo.submitTime_string.toLocaleString('en-US', {
|
|
262
|
+
minimumFractionDigits: 0 }) :
|
|
263
|
+
'--' }}</div>
|
|
264
|
+
</td>
|
|
265
|
+
<td>
|
|
266
|
+
<div class="table-title">{{ taskinfo.approvalByEmail || "--" }}</div>
|
|
267
|
+
</td>
|
|
268
|
+
<td>
|
|
269
|
+
<div class="table-title">{{ taskinfo.approvalTime_string?.toLocaleString('en-US', {
|
|
270
|
+
minimumFractionDigits: 0 }) || '--' }}</div>
|
|
271
|
+
</td>
|
|
272
|
+
<td>
|
|
273
|
+
<div class="d-flex">
|
|
274
|
+
<a *ngIf="taskinfo.checklistStatus !== 'Open' && taskinfo.checklistStatus !== 'In Progress'"
|
|
275
|
+
(click)="navigateToGallery(taskinfo)" class="cursor-pointer table-title">
|
|
276
|
+
<span>
|
|
277
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"
|
|
278
|
+
viewBox="0 0 20 20" fill="none">
|
|
279
|
+
<path
|
|
280
|
+
d="M0.832031 9.99992C0.832031 9.99992 4.16536 3.33325 9.9987 3.33325C15.832 3.33325 19.1654 9.99992 19.1654 9.99992C19.1654 9.99992 15.832 16.6666 9.9987 16.6666C4.16536 16.6666 0.832031 9.99992 0.832031 9.99992Z"
|
|
281
|
+
stroke="#667085" stroke-width="1.66667" stroke-linecap="round"
|
|
282
|
+
stroke-linejoin="round" />
|
|
283
|
+
<path
|
|
284
|
+
d="M9.9987 12.4999C11.3794 12.4999 12.4987 11.3806 12.4987 9.99992C12.4987 8.61921 11.3794 7.49992 9.9987 7.49992C8.61799 7.49992 7.4987 8.61921 7.4987 9.99992C7.4987 11.3806 8.61799 12.4999 9.9987 12.4999Z"
|
|
285
|
+
stroke="#667085" stroke-width="1.66667" stroke-linecap="round"
|
|
286
|
+
stroke-linejoin="round" />
|
|
287
|
+
</svg>
|
|
288
|
+
</span></a>
|
|
289
|
+
<a *ngIf="taskinfo.checklistStatus === 'Open' || taskinfo.checklistStatus === 'In Progress' && taskinfo.checklistStatus !== 'Submitted'"
|
|
290
|
+
class="table-title">
|
|
291
|
+
<span ngbTooltip="Required Submitted status" placement="top"
|
|
292
|
+
triggers="mouseenter:mouseleave"
|
|
293
|
+
tooltipClass="custom-tooltip">
|
|
294
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"
|
|
295
|
+
viewBox="0 0 20 20" fill="none">
|
|
296
|
+
<path
|
|
297
|
+
d="M0.832031 9.99992C0.832031 9.99992 4.16536 3.33325 9.9987 3.33325C15.832 3.33325 19.1654 9.99992 19.1654 9.99992C19.1654 9.99992 15.832 16.6666 9.9987 16.6666C4.16536 16.6666 0.832031 9.99992 0.832031 9.99992Z"
|
|
298
|
+
stroke="#98A2B3" stroke-width="1.66667" stroke-linecap="round"
|
|
299
|
+
stroke-linejoin="round" />
|
|
300
|
+
<path
|
|
301
|
+
d="M9.9987 12.4999C11.3794 12.4999 12.4987 11.3806 12.4987 9.99992C12.4987 8.61921 11.3794 7.49992 9.9987 7.49992C8.61799 7.49992 7.4987 8.61921 7.4987 9.99992C7.4987 11.3806 8.61799 12.4999 9.9987 12.4999Z"
|
|
302
|
+
stroke="#98A2B3" stroke-width="1.66667" stroke-linecap="round"
|
|
303
|
+
stroke-linejoin="round" />
|
|
304
|
+
</svg>
|
|
305
|
+
</span></a>
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
<a *ngIf="taskinfo.checklistStatus !== 'Submitted' && (gs.userAccess | async)?.TangoTrax_Task_isEdit"
|
|
309
|
+
(click)="taskinfoedit(taskinfo)"
|
|
310
|
+
class="cursor-pointer ms-6">
|
|
311
|
+
<span>
|
|
312
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"
|
|
313
|
+
viewBox="0 0 20 20" fill="none">
|
|
314
|
+
<g clip-path="url(#clip0_5271_17556)">
|
|
315
|
+
<path
|
|
316
|
+
d="M14.168 2.49993C14.3868 2.28106 14.6467 2.10744 14.9326 1.98899C15.2186 1.87054 15.5251 1.80957 15.8346 1.80957C16.1442 1.80957 16.4507 1.87054 16.7366 1.98899C17.0226 2.10744 17.2824 2.28106 17.5013 2.49993C17.7202 2.7188 17.8938 2.97863 18.0122 3.2646C18.1307 3.55057 18.1917 3.85706 18.1917 4.16659C18.1917 4.47612 18.1307 4.78262 18.0122 5.06859C17.8938 5.35455 17.7202 5.61439 17.5013 5.83326L6.2513 17.0833L1.66797 18.3333L2.91797 13.7499L14.168 2.49993Z"
|
|
317
|
+
stroke="#667085" stroke-width="1.66667" stroke-linecap="round"
|
|
318
|
+
stroke-linejoin="round" />
|
|
319
|
+
</g>
|
|
320
|
+
<defs>
|
|
321
|
+
<clipPath id="clip0_5271_17556">
|
|
322
|
+
<rect width="20" height="20" fill="white" />
|
|
323
|
+
</clipPath>
|
|
324
|
+
</defs>
|
|
325
|
+
</svg>
|
|
326
|
+
</span></a>
|
|
327
|
+
<a *ngIf="taskinfo.checklistStatus === 'Submitted' && (gs.userAccess | async)?.TangoTrax_Task_isEdit" class="ms-6">
|
|
328
|
+
<span ngbTooltip="Required Open or In Progress status" placement="top"
|
|
329
|
+
triggers="mouseenter:mouseleave"
|
|
330
|
+
tooltipClass="custom-tooltip">
|
|
331
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"
|
|
332
|
+
viewBox="0 0 20 20" fill="none">
|
|
333
|
+
<g clip-path="url(#clip0_5271_17556)">
|
|
334
|
+
<path
|
|
335
|
+
d="M14.168 2.49993C14.3868 2.28106 14.6467 2.10744 14.9326 1.98899C15.2186 1.87054 15.5251 1.80957 15.8346 1.80957C16.1442 1.80957 16.4507 1.87054 16.7366 1.98899C17.0226 2.10744 17.2824 2.28106 17.5013 2.49993C17.7202 2.7188 17.8938 2.97863 18.0122 3.2646C18.1307 3.55057 18.1917 3.85706 18.1917 4.16659C18.1917 4.47612 18.1307 4.78262 18.0122 5.06859C17.8938 5.35455 17.7202 5.61439 17.5013 5.83326L6.2513 17.0833L1.66797 18.3333L2.91797 13.7499L14.168 2.49993Z"
|
|
336
|
+
stroke="#98A2B3" stroke-width="1.66667" stroke-linecap="round"
|
|
337
|
+
stroke-linejoin="round" />
|
|
338
|
+
</g>
|
|
339
|
+
<defs>
|
|
340
|
+
<clipPath id="clip0_5271_17556">
|
|
341
|
+
<rect width="20" height="20" fill="white" />
|
|
342
|
+
</clipPath>
|
|
343
|
+
</defs>
|
|
344
|
+
</svg>
|
|
345
|
+
</span></a>
|
|
346
|
+
</div>
|
|
347
|
+
</td>
|
|
348
|
+
</tr>
|
|
349
|
+
</tbody>
|
|
350
|
+
</table>
|
|
351
|
+
|
|
352
|
+
<ng-container *ngIf="taskInfoLoading">
|
|
353
|
+
<div class="row loader d-flex justify-content-center align-items-center">
|
|
354
|
+
<div class="shimmer">
|
|
355
|
+
<div class="wrapper">
|
|
356
|
+
<div class="stroke animate title"></div>
|
|
357
|
+
<div class="stroke animate link"></div>
|
|
358
|
+
<div class="stroke animate description"></div>
|
|
359
|
+
</div>
|
|
360
|
+
</div>
|
|
361
|
+
<div class="shimmer">
|
|
362
|
+
<div class="wrapper">
|
|
363
|
+
<div class="stroke animate title"></div>
|
|
364
|
+
<div class="stroke animate link"></div>
|
|
365
|
+
<div class="stroke animate description"></div>
|
|
366
|
+
</div>
|
|
367
|
+
</div>
|
|
368
|
+
</div>
|
|
369
|
+
</ng-container>
|
|
370
|
+
<ng-container *ngIf="taskInfoNoData && !taskInfoLoading">
|
|
371
|
+
<div class="row">
|
|
372
|
+
<div class="col-lg-12 my-6">
|
|
373
|
+
<div class="card-body d-flex justify-content-center align-items-center flex-column">
|
|
374
|
+
<img class="img-src" src="./assets/tango/Icons/Nodata1.svg" alt="">
|
|
375
|
+
<div class="nodatamaintext mt-3">No data found</div>
|
|
376
|
+
<div class="nodatasubtext">There is no result for Task Info</div>
|
|
377
|
+
</div>
|
|
378
|
+
</div>
|
|
379
|
+
</div>
|
|
380
|
+
</ng-container>
|
|
381
|
+
|
|
382
|
+
</div>
|
|
383
|
+
<div *ngIf="!taskInfoLoading && !taskInfoNoData">
|
|
384
|
+
<lib-pagination class="text-start" [itemsPerPage]="itemsPerPage" [currentPage]="currentPage"
|
|
385
|
+
[totalItems]="totalItems" [paginationSizes]="paginationSizes" [pageSize]="pageSize"
|
|
386
|
+
(pageChange)="onPageChange($event)" (pageSizeChange)="onPageSizeChange($event)"></lib-pagination>
|
|
387
|
+
</div>
|
|
388
|
+
</div>
|
|
389
|
+
</div>
|
|
390
|
+
</div>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.table-title{
|
|
2
|
+
color: var(--Gray-500, #667085);
|
|
3
|
+
font-size: 14px;
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 500;
|
|
6
|
+
line-height: 20px; /* 142.857% */
|
|
7
|
+
}
|
|
8
|
+
.table-title-primary{
|
|
9
|
+
color: var(--Primary-700, #009BF3) !important;
|
|
10
|
+
font-size: 14px;
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
line-height: 20px; /* 142.857% */
|
|
14
|
+
text-decoration-line: underline;
|
|
15
|
+
}
|
|
16
|
+
.taskname{
|
|
17
|
+
color: var(--Gray-900, #101828);
|
|
18
|
+
font-size: 18px;
|
|
19
|
+
font-style: normal;
|
|
20
|
+
font-weight: 600;
|
|
21
|
+
line-height: 28px; /* 155.556% */
|
|
22
|
+
}
|
|
23
|
+
.grey-badge{
|
|
24
|
+
border-radius: 16px;
|
|
25
|
+
background: var(--Gray-100, #F2F4F7);
|
|
26
|
+
display: flex;
|
|
27
|
+
padding: 2px 8px;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
align-items: center;
|
|
30
|
+
color: var(--Gray-700, #344054);
|
|
31
|
+
text-align: center;
|
|
32
|
+
font-size: 12px;
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-weight: 500;
|
|
35
|
+
line-height: 18px;
|
|
36
|
+
}
|
|
37
|
+
.checklisttext{
|
|
38
|
+
color: var(--Gray-500, #667085);
|
|
39
|
+
font-size: 12px;
|
|
40
|
+
font-style: normal;
|
|
41
|
+
font-weight: 500;
|
|
42
|
+
line-height: 18px; /* 150% */
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
::ng-deep .custom-tooltip{
|
|
46
|
+
border-radius: 8px;
|
|
47
|
+
background: var(--White, #FFF);
|
|
48
|
+
padding: 8px 12px;
|
|
49
|
+
color: var(--Gray-700, #344054);
|
|
50
|
+
text-align: center;
|
|
51
|
+
font-family: 'Inter';
|
|
52
|
+
font-size: 12px;
|
|
53
|
+
font-weight: 600;
|
|
54
|
+
line-height: 18px; /* 150% */
|
|
55
|
+
|
|
56
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { TaskInfoComponent } from './task-info.component';
|
|
4
|
+
|
|
5
|
+
describe('TaskInfoComponent', () => {
|
|
6
|
+
let component: TaskInfoComponent;
|
|
7
|
+
let fixture: ComponentFixture<TaskInfoComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [TaskInfoComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(TaskInfoComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|