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,372 @@
|
|
|
1
|
+
export const descriptive_question_template = {
|
|
2
|
+
"qname": "",
|
|
3
|
+
"answerType": "descriptive",
|
|
4
|
+
"runAI": false,
|
|
5
|
+
"runAIDescription": "",
|
|
6
|
+
"allowUploadfromGallery": false,
|
|
7
|
+
"linkType": false,
|
|
8
|
+
"questionReferenceImage": [],
|
|
9
|
+
"descriptivetype": "text",
|
|
10
|
+
"answers": [
|
|
11
|
+
{
|
|
12
|
+
"answer": "",
|
|
13
|
+
"sopFlag": false,
|
|
14
|
+
"validation": false,
|
|
15
|
+
"validationType": "",
|
|
16
|
+
"validationAnswer": "",
|
|
17
|
+
"referenceImage": [],
|
|
18
|
+
"showLinked": false,
|
|
19
|
+
"linkedQuestion": 0,
|
|
20
|
+
"nestedQuestion": []
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
export const yesorno_question_template = {
|
|
25
|
+
"qname": "",
|
|
26
|
+
"answerType": "yes/no",
|
|
27
|
+
"runAI": false,
|
|
28
|
+
"runAIDescription": "",
|
|
29
|
+
"allowUploadfromGallery": false,
|
|
30
|
+
"linkType": false,
|
|
31
|
+
"questionReferenceImage": [],
|
|
32
|
+
"answers": [
|
|
33
|
+
{
|
|
34
|
+
"answer": "Yes",
|
|
35
|
+
"sopFlag": false,
|
|
36
|
+
"validation": false,
|
|
37
|
+
"validationType": "",
|
|
38
|
+
"linkedQuestion": 0,
|
|
39
|
+
"showLinked": false,
|
|
40
|
+
"referenceImage": [],
|
|
41
|
+
"runAI": false,
|
|
42
|
+
"allowUploadfromGallery": false,
|
|
43
|
+
"descriptivetype": "",
|
|
44
|
+
"nestedQuestion": []
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"answer": "No",
|
|
48
|
+
"sopFlag": false,
|
|
49
|
+
"validation": false,
|
|
50
|
+
"validationType": "",
|
|
51
|
+
"linkedQuestion": 0,
|
|
52
|
+
"showLinked": false,
|
|
53
|
+
"referenceImage": [],
|
|
54
|
+
"runAI": false,
|
|
55
|
+
"allowUploadfromGallery": false,
|
|
56
|
+
"descriptivetype": "",
|
|
57
|
+
"nestedQuestion": []
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
export const multiplechoicesingle_question_template = {
|
|
62
|
+
"qname": "",
|
|
63
|
+
"answerType": "multiplechoicesingle",
|
|
64
|
+
"runAI": false,
|
|
65
|
+
"runAIDescription": "",
|
|
66
|
+
"allowUploadfromGallery": false,
|
|
67
|
+
"linkType": false,
|
|
68
|
+
"questionReferenceImage": [],
|
|
69
|
+
"answers": [
|
|
70
|
+
{
|
|
71
|
+
"answer": "",
|
|
72
|
+
"sopFlag": false,
|
|
73
|
+
"validation": false,
|
|
74
|
+
"validationType": "",
|
|
75
|
+
"linkedQuestion": 0,
|
|
76
|
+
"showLinked": false,
|
|
77
|
+
"referenceImage": [],
|
|
78
|
+
"runAI": false,
|
|
79
|
+
"allowUploadfromGallery": false,
|
|
80
|
+
"descriptivetype": "",
|
|
81
|
+
"nestedQuestion": []
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"answer": "",
|
|
85
|
+
"sopFlag": false,
|
|
86
|
+
"validation": false,
|
|
87
|
+
"validationType": "",
|
|
88
|
+
"linkedQuestion": 0,
|
|
89
|
+
"showLinked": false,
|
|
90
|
+
"referenceImage": [],
|
|
91
|
+
"runAI": false,
|
|
92
|
+
"allowUploadfromGallery": false,
|
|
93
|
+
"descriptivetype": "",
|
|
94
|
+
"nestedQuestion": []
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
export const dropdown_question_template = {
|
|
99
|
+
"qname": "",
|
|
100
|
+
"answerType": "dropdown",
|
|
101
|
+
"allowMultiple": false,
|
|
102
|
+
"runAI": false,
|
|
103
|
+
"runAIDescription": "",
|
|
104
|
+
"allowUploadfromGallery": false,
|
|
105
|
+
"linkType": false,
|
|
106
|
+
"questionReferenceImage": [],
|
|
107
|
+
"answers": [
|
|
108
|
+
{
|
|
109
|
+
"answer": "",
|
|
110
|
+
"sopFlag": false,
|
|
111
|
+
"validation": false,
|
|
112
|
+
"validationType": "",
|
|
113
|
+
"linkedQuestion": 0,
|
|
114
|
+
"showLinked": false,
|
|
115
|
+
"referenceImage": [],
|
|
116
|
+
"runAI": false,
|
|
117
|
+
"allowUploadfromGallery": false,
|
|
118
|
+
"descriptivetype": "",
|
|
119
|
+
"nestedQuestion": []
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"answer": "",
|
|
123
|
+
"sopFlag": false,
|
|
124
|
+
"validation": false,
|
|
125
|
+
"validationType": "",
|
|
126
|
+
"linkedQuestion": 0,
|
|
127
|
+
"showLinked": false,
|
|
128
|
+
"referenceImage": [],
|
|
129
|
+
"runAI": false,
|
|
130
|
+
"allowUploadfromGallery": false,
|
|
131
|
+
"descriptivetype": "",
|
|
132
|
+
"nestedQuestion": []
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
export const multiplechoice_answer_template = {
|
|
137
|
+
"answer": "",
|
|
138
|
+
"sopFlag": false,
|
|
139
|
+
"validation": false,
|
|
140
|
+
"validationType": "",
|
|
141
|
+
"referenceImage": [],
|
|
142
|
+
"runAI": false,
|
|
143
|
+
"allowUploadfromGallery": false,
|
|
144
|
+
"descriptivetype": "",
|
|
145
|
+
"showLinked": false,
|
|
146
|
+
"linkedQuestion": 0,
|
|
147
|
+
"nestedQuestion": []
|
|
148
|
+
}
|
|
149
|
+
export const multiplechoicemultiple_question_template = {
|
|
150
|
+
"qname": "",
|
|
151
|
+
"answerType": "multiplechoicemultiple",
|
|
152
|
+
"runAI": false,
|
|
153
|
+
"runAIDescription": "",
|
|
154
|
+
"allowUploadfromGallery": false,
|
|
155
|
+
"linkType": false,
|
|
156
|
+
"questionReferenceImage": [],
|
|
157
|
+
"answers": [
|
|
158
|
+
{
|
|
159
|
+
"answer": "",
|
|
160
|
+
"sopFlag": false,
|
|
161
|
+
"validation": false,
|
|
162
|
+
"validationType": "",
|
|
163
|
+
"referenceImage": [],
|
|
164
|
+
"runAI": false,
|
|
165
|
+
"allowUploadfromGallery": false,
|
|
166
|
+
"descriptivetype": "",
|
|
167
|
+
"showLinked": false,
|
|
168
|
+
"linkedQuestion": 0,
|
|
169
|
+
"nestedQuestion": []
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"answer": "",
|
|
173
|
+
"sopFlag": false,
|
|
174
|
+
"validation": false,
|
|
175
|
+
"validationType": "",
|
|
176
|
+
"referenceImage": [],
|
|
177
|
+
"runAI": false,
|
|
178
|
+
"allowUploadfromGallery": false,
|
|
179
|
+
"descriptivetype": "",
|
|
180
|
+
"showLinked": false,
|
|
181
|
+
"linkedQuestion": 0,
|
|
182
|
+
"nestedQuestion": []
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export const descriptiveImage_question_template = {
|
|
188
|
+
"qname": "",
|
|
189
|
+
"answerType": "descriptiveImage",
|
|
190
|
+
"runAI": false,
|
|
191
|
+
"runAIDescription": "",
|
|
192
|
+
"allowUploadfromGallery": false,
|
|
193
|
+
"linkType": false,
|
|
194
|
+
"questionReferenceImage": [],
|
|
195
|
+
"answers": [
|
|
196
|
+
{
|
|
197
|
+
"answer": "",
|
|
198
|
+
"sopFlag": false,
|
|
199
|
+
"validation": false,
|
|
200
|
+
"validationType": "",
|
|
201
|
+
"validationAnswer": "",
|
|
202
|
+
"referenceImage": [],
|
|
203
|
+
"showLinked": false,
|
|
204
|
+
"linkedQuestion": 0,
|
|
205
|
+
"nestedQuestion": []
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
}
|
|
209
|
+
export const image_question_template = {
|
|
210
|
+
"qname": "",
|
|
211
|
+
"answerType": "image",
|
|
212
|
+
"runAI": false,
|
|
213
|
+
"runAIDescription": "",
|
|
214
|
+
"allowUploadfromGallery": false,
|
|
215
|
+
"linkType": false,
|
|
216
|
+
"questionReferenceImage": [],
|
|
217
|
+
"answers": [
|
|
218
|
+
{
|
|
219
|
+
"answer": "",
|
|
220
|
+
"sopFlag": false,
|
|
221
|
+
"validation": false,
|
|
222
|
+
"validationType": "",
|
|
223
|
+
"validationAnswer": "",
|
|
224
|
+
"referenceImage": [],
|
|
225
|
+
"showLinked": false,
|
|
226
|
+
"linkedQuestion": 0,
|
|
227
|
+
"nestedQuestion": []
|
|
228
|
+
}
|
|
229
|
+
]
|
|
230
|
+
}
|
|
231
|
+
export const video_question_template = {
|
|
232
|
+
"qname": "",
|
|
233
|
+
"answerType": "video",
|
|
234
|
+
"runAI": false,
|
|
235
|
+
"runAIDescription": "",
|
|
236
|
+
"allowUploadfromGallery": false,
|
|
237
|
+
"linkType": false,
|
|
238
|
+
"questionReferenceImage": [],
|
|
239
|
+
"answers": [
|
|
240
|
+
{
|
|
241
|
+
"answer": "",
|
|
242
|
+
"sopFlag": false,
|
|
243
|
+
"validation": false,
|
|
244
|
+
"validationType": "",
|
|
245
|
+
"validationAnswer": "",
|
|
246
|
+
"referenceImage": [],
|
|
247
|
+
"showLinked": false,
|
|
248
|
+
"linkedQuestion": 0,
|
|
249
|
+
"nestedQuestion": []
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
}
|
|
253
|
+
export const multipleImage_question_template = {
|
|
254
|
+
"qname": "",
|
|
255
|
+
"answerType": "multipleImage",
|
|
256
|
+
"runAI": false,
|
|
257
|
+
"runAIDescription": "",
|
|
258
|
+
"allowUploadfromGallery": false,
|
|
259
|
+
"linkType": false,
|
|
260
|
+
"questionReferenceImage": [],
|
|
261
|
+
"descriptivetype": "text",
|
|
262
|
+
"answers": [
|
|
263
|
+
{
|
|
264
|
+
"answer": "",
|
|
265
|
+
"sopFlag": false,
|
|
266
|
+
"validation": false,
|
|
267
|
+
"validationType": "",
|
|
268
|
+
"validationAnswer": "",
|
|
269
|
+
"referenceImage": [],
|
|
270
|
+
"showLinked": false,
|
|
271
|
+
"linkedQuestion": 0,
|
|
272
|
+
"descriptivetype": "",
|
|
273
|
+
"nestedQuestion": []
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
}
|
|
277
|
+
export const date_question_template = {
|
|
278
|
+
"qname": "",
|
|
279
|
+
"answerType": "date",
|
|
280
|
+
"runAI": false,
|
|
281
|
+
"runAIDescription": "",
|
|
282
|
+
"allowUploadfromGallery": false,
|
|
283
|
+
"linkType": false,
|
|
284
|
+
"questionReferenceImage": [],
|
|
285
|
+
"answers": [
|
|
286
|
+
{
|
|
287
|
+
"answer": "",
|
|
288
|
+
"sopFlag": false,
|
|
289
|
+
"validation": false,
|
|
290
|
+
"validationType": "",
|
|
291
|
+
"validationAnswer": "",
|
|
292
|
+
"referenceImage": [],
|
|
293
|
+
"showLinked": false,
|
|
294
|
+
"linkedQuestion": 0,
|
|
295
|
+
"nestedQuestion": [],
|
|
296
|
+
"historicDate": false
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
export const linearscale_question_template = {
|
|
301
|
+
"qname": "",
|
|
302
|
+
"answerType": "linearscale",
|
|
303
|
+
"runAI": false,
|
|
304
|
+
"runAIDescription": "",
|
|
305
|
+
"allowUploadfromGallery": false,
|
|
306
|
+
"linkType": false,
|
|
307
|
+
"questionReferenceImage": [],
|
|
308
|
+
"answers": [
|
|
309
|
+
{
|
|
310
|
+
"answer": "",
|
|
311
|
+
"sopFlag": false,
|
|
312
|
+
"validation": false,
|
|
313
|
+
"validationType": "",
|
|
314
|
+
"validationAnswer": "",
|
|
315
|
+
"referenceImage": [],
|
|
316
|
+
"showLinked": false,
|
|
317
|
+
"linkedQuestion": 0,
|
|
318
|
+
"rangeStart": 0,
|
|
319
|
+
"rangeEnd": 100,
|
|
320
|
+
"linearType": "degree",
|
|
321
|
+
"nestedQuestion": []
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
|
+
}
|
|
325
|
+
export const time_question_template = {
|
|
326
|
+
"qname": "",
|
|
327
|
+
"answerType": "time",
|
|
328
|
+
"runAI": false,
|
|
329
|
+
"runAIDescription": "",
|
|
330
|
+
"allowUploadfromGallery": false,
|
|
331
|
+
"linkType": false,
|
|
332
|
+
"questionReferenceImage": [],
|
|
333
|
+
"answers": [
|
|
334
|
+
{
|
|
335
|
+
"answer": "",
|
|
336
|
+
"sopFlag": false,
|
|
337
|
+
"validation": false,
|
|
338
|
+
"validationType": "",
|
|
339
|
+
"validationAnswer": "",
|
|
340
|
+
"referenceImage": [],
|
|
341
|
+
"showLinked": false,
|
|
342
|
+
"linkedQuestion": 0,
|
|
343
|
+
"nestedQuestion": []
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
}
|
|
347
|
+
export const image_video_question_template = {
|
|
348
|
+
"qname": "",
|
|
349
|
+
"answerType": "image/video",
|
|
350
|
+
"runAI": false,
|
|
351
|
+
"runAIDescription": "",
|
|
352
|
+
"allowUploadfromGallery": false,
|
|
353
|
+
"linkType": false,
|
|
354
|
+
"questionReferenceImage": [],
|
|
355
|
+
"answers": [
|
|
356
|
+
{
|
|
357
|
+
"answer": "",
|
|
358
|
+
"sopFlag": false,
|
|
359
|
+
"validation": false,
|
|
360
|
+
"validationType": "",
|
|
361
|
+
"validationAnswer": "",
|
|
362
|
+
"referenceImage": [],
|
|
363
|
+
"showLinked": false,
|
|
364
|
+
"linkedQuestion": 0,
|
|
365
|
+
"nestedQuestion": [],
|
|
366
|
+
"allowUploadfromGallery": false,
|
|
367
|
+
"limit": false,
|
|
368
|
+
"imageLimit": 1,
|
|
369
|
+
"videoLimit": 1
|
|
370
|
+
}
|
|
371
|
+
]
|
|
372
|
+
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { FormGroup, FormArray, FormControl } from '@angular/forms';
|
|
2
|
+
|
|
3
|
+
export type AnswerType = 'descriptive' | 'yes/no' | 'multiplechoicesingle' | 'multiplechoicemultiple' | 'descriptiveImage' | 'image' | 'video' | 'multipleImage' | 'date' | 'linearscale' | 'time' | 'dropdown' | 'image/video';
|
|
4
|
+
|
|
5
|
+
export type DescriptiveType = 'text' | 'number' | '' ;
|
|
6
|
+
|
|
7
|
+
export type ValidationType = 'Capture Image' | 'Descriptive Answer' | 'Capture Video' | '';
|
|
8
|
+
|
|
9
|
+
export interface ITask {
|
|
10
|
+
alert: {
|
|
11
|
+
usageExceeds: any | null;
|
|
12
|
+
alertsTo: any[];
|
|
13
|
+
};
|
|
14
|
+
_id: string;
|
|
15
|
+
type: string;
|
|
16
|
+
checkListNumber: number;
|
|
17
|
+
checkListName: string;
|
|
18
|
+
checkListDescription: string;
|
|
19
|
+
createdBy: string;
|
|
20
|
+
createdByName: string;
|
|
21
|
+
publish: boolean;
|
|
22
|
+
schedule: string;
|
|
23
|
+
scheduleRepeatedDay: string[];
|
|
24
|
+
scheduleStartTime: string;
|
|
25
|
+
scheduleEndTime: string;
|
|
26
|
+
configStartDate: string | null;
|
|
27
|
+
configEndDate: string | null;
|
|
28
|
+
specificDate: string[];
|
|
29
|
+
scheduleWeekDays: string[];
|
|
30
|
+
scheduleRepeatedMonthSetup: string;
|
|
31
|
+
scheduleRepeatedMonthDate: string;
|
|
32
|
+
allowedOverTime: boolean;
|
|
33
|
+
allowedStoreLocation: boolean;
|
|
34
|
+
detectionArea: any[];
|
|
35
|
+
client_id: string;
|
|
36
|
+
questionCount: number;
|
|
37
|
+
storeCount: number;
|
|
38
|
+
checkListType: string;
|
|
39
|
+
isdeleted: boolean;
|
|
40
|
+
markasread: boolean;
|
|
41
|
+
allowedMultiSubmit: boolean;
|
|
42
|
+
allowOnce: boolean;
|
|
43
|
+
scheduleRepeatedMonthWeek: string;
|
|
44
|
+
scheduleRepeatedType: string;
|
|
45
|
+
scheduleDate: string | null;
|
|
46
|
+
createdAt: string;
|
|
47
|
+
updatedAt: string;
|
|
48
|
+
locationCount: number;
|
|
49
|
+
publishDate: string;
|
|
50
|
+
scheduleEndTimeISO: string;
|
|
51
|
+
scheduleStartTimeISO: string;
|
|
52
|
+
assignedUsers: any[];
|
|
53
|
+
removedUsers: any[];
|
|
54
|
+
sections: Section[]
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface Section {
|
|
58
|
+
id: string;
|
|
59
|
+
name: string;
|
|
60
|
+
questions: Question[];
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface Question {
|
|
64
|
+
qno?: number;
|
|
65
|
+
qname: string;
|
|
66
|
+
answerType: AnswerType;
|
|
67
|
+
allowMultiple?: boolean;
|
|
68
|
+
runAI: boolean;
|
|
69
|
+
runAIDescription: string;
|
|
70
|
+
allowUploadfromGallery: boolean;
|
|
71
|
+
linkType: boolean;
|
|
72
|
+
questionReferenceImage: string[];
|
|
73
|
+
answers: Answer[];
|
|
74
|
+
descriptivetype?:DescriptiveType
|
|
75
|
+
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface Answer {
|
|
79
|
+
answer: string;
|
|
80
|
+
answeroptionNumber?: number;
|
|
81
|
+
sopFlag: boolean;
|
|
82
|
+
validation: boolean;
|
|
83
|
+
validationType: ValidationType;
|
|
84
|
+
referenceImage: string[];
|
|
85
|
+
showLinked: boolean;
|
|
86
|
+
linkedQuestion: number;
|
|
87
|
+
nestedQuestion:any[]
|
|
88
|
+
validationAnswer?:string,
|
|
89
|
+
allowUploadfromGallery?: boolean;
|
|
90
|
+
runAI?: boolean;
|
|
91
|
+
rangeStart?: number;
|
|
92
|
+
rangeEnd?: number;
|
|
93
|
+
linearType?: 'degree' | 'number' | 'percentage';
|
|
94
|
+
descriptivetype?:DescriptiveType;
|
|
95
|
+
index?:number;
|
|
96
|
+
limit?: boolean;
|
|
97
|
+
imageLimit?: number;
|
|
98
|
+
videoLimit?: number;
|
|
99
|
+
historicDate?: boolean;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export interface TaskForm {
|
|
103
|
+
checklistName: FormControl<string | null>;
|
|
104
|
+
checklistDescription: FormControl<string | null>;
|
|
105
|
+
sections: FormArray<FormGroup<SectionForm>> ;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
export interface SectionForm {
|
|
110
|
+
id: FormControl<string | null>;
|
|
111
|
+
name: FormControl<string | null>;
|
|
112
|
+
oldName?: FormControl<string[] | null | undefined>;
|
|
113
|
+
questions: FormArray<FormGroup<QuestionForm>>;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export interface QuestionForm {
|
|
117
|
+
qno: FormControl<number | null>;
|
|
118
|
+
qname: FormControl<string | null>;
|
|
119
|
+
oldQname?: FormControl<string[] | null | undefined>;
|
|
120
|
+
answerType: FormControl<AnswerType | null>;
|
|
121
|
+
allowMultiple?: FormControl<boolean | null>;
|
|
122
|
+
runAI: FormControl<boolean | null>;
|
|
123
|
+
runAIDescription: FormControl<string | null>;
|
|
124
|
+
allowUploadfromGallery: FormControl<boolean | null>;
|
|
125
|
+
linkType: FormControl<boolean | null>;
|
|
126
|
+
questionReferenceImage: FormControl<string[] | null>;
|
|
127
|
+
descriptivetype?: FormControl<DescriptiveType | null >;
|
|
128
|
+
answers: FormArray<FormGroup<AnswerForm>>;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
export interface AnswerForm {
|
|
134
|
+
answer: FormControl<string | null>;
|
|
135
|
+
answeroptionNumber: FormControl<number | null>;
|
|
136
|
+
sopFlag: FormControl<boolean | null>;
|
|
137
|
+
validation: FormControl<boolean | null>;
|
|
138
|
+
validationType: FormControl<ValidationType | null>;
|
|
139
|
+
referenceImage: FormControl<string[] | null>;
|
|
140
|
+
showLinked: FormControl<boolean | null>;
|
|
141
|
+
linkedQuestion: FormControl<number | null>;
|
|
142
|
+
nestedQuestion:FormControl<any | null>
|
|
143
|
+
validationAnswer?: FormControl<string | null>,
|
|
144
|
+
descriptivetype?: FormControl<DescriptiveType | null>;
|
|
145
|
+
allowUploadfromGallery?: FormControl<boolean | null>;
|
|
146
|
+
runAI?: FormControl<boolean | null>;
|
|
147
|
+
rangeStart?: FormControl<number | null>;
|
|
148
|
+
rangeEnd?: FormControl<number | null>;
|
|
149
|
+
linearType?: FormControl<'degree' | 'number' | 'percentage' | null>;
|
|
150
|
+
index: FormControl<number | null>;
|
|
151
|
+
limit?: FormControl<boolean | null>;
|
|
152
|
+
imageLimit?: FormControl<number | null>;
|
|
153
|
+
videoLimit?: FormControl<number | null>;
|
|
154
|
+
historicDate?: FormControl<boolean | null>;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
interface DateRange {
|
|
159
|
+
startDate: string;
|
|
160
|
+
endDate: string;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
interface Store {
|
|
164
|
+
storeId: string;
|
|
165
|
+
storeName: string;
|
|
166
|
+
checked: boolean;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
interface Group {
|
|
170
|
+
city: string;
|
|
171
|
+
checked: boolean;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export interface HeaderFilter {
|
|
175
|
+
client: string;
|
|
176
|
+
clientName: string;
|
|
177
|
+
clients: string[];
|
|
178
|
+
store: null | string;
|
|
179
|
+
date: DateRange;
|
|
180
|
+
stores: Store[];
|
|
181
|
+
group: Group[];
|
|
182
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
2
|
+
|
|
3
|
+
export function rangeValidator(): ValidatorFn {
|
|
4
|
+
return (control: AbstractControl): ValidationErrors | null => {
|
|
5
|
+
const rangeStart = control.get('rangeStart')?.value;
|
|
6
|
+
const rangeEnd = control.get('rangeEnd')?.value;
|
|
7
|
+
|
|
8
|
+
if (rangeStart != null && rangeEnd != null && rangeStart >= rangeEnd) {
|
|
9
|
+
return { invalidRange: true };
|
|
10
|
+
}
|
|
11
|
+
return null;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
2
|
+
|
|
3
|
+
export function uniqueStringValidator(): ValidatorFn {
|
|
4
|
+
return (formArray: AbstractControl): ValidationErrors | null => {
|
|
5
|
+
if (!formArray || !formArray.value) return null;
|
|
6
|
+
|
|
7
|
+
const answers = formArray.value.map((group: any) => group.answer?.trim().toLowerCase());
|
|
8
|
+
const duplicates = answers.filter((answer: string, index: number) => answer && answers.indexOf(answer) !== index);
|
|
9
|
+
|
|
10
|
+
return duplicates.length > 0 ? { duplicateString: true } : null;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
2
|
+
|
|
3
|
+
export function noWhitespaceValidator(): ValidatorFn {
|
|
4
|
+
return (control: AbstractControl): ValidationErrors | null => {
|
|
5
|
+
if (typeof control.value !== 'string') {
|
|
6
|
+
return null;
|
|
7
|
+
}
|
|
8
|
+
const isValid = control.value.trim().length > 0;
|
|
9
|
+
return isValid ? null : { whitespace: true };
|
|
10
|
+
};
|
|
11
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<div class="outer-container">
|
|
2
|
+
<div [ngClass]="disabled ? 'disable-input':''" (click)="openDropdown($event)" class="form-select">
|
|
3
|
+
<ng-container *ngIf="multi" >
|
|
4
|
+
<span *ngIf="selectedValues?.length" class="select-value mx-2"> {{selectedValues?.[0]?.[searchField]}}</span>
|
|
5
|
+
<!-- <span *ngIf="selectedValues?.length > 1" class="select-value mx-2"><img class="me-2" alt="Pic" src="./assets/tango/Image/users-teams.svg">{{selectedValues?.[1]?.[searchField]}}</span> -->
|
|
6
|
+
<span class="select-value mx-2" *ngIf="selectedValues?.length > 1">+{{selectedValues?.length -1}}</span> {{label}}
|
|
7
|
+
</ng-container>
|
|
8
|
+
<ng-container *ngIf="!multi" >
|
|
9
|
+
{{selectedValues?.[0]?.[searchField]}}
|
|
10
|
+
</ng-container>
|
|
11
|
+
</div>
|
|
12
|
+
<div [ngClass]="showDropdown ? '' : 'd-none'" class="input-container dropdown" >
|
|
13
|
+
<div class="w-100 input-wrapper">
|
|
14
|
+
<input [(ngModel)]="searchValue" placeholder="Search" (input)="onInput($event)" type="text">
|
|
15
|
+
<svg class="search-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none">
|
|
16
|
+
<path d="M14 14.5L11.1 11.6M12.6667 7.83333C12.6667 10.7789 10.2789 13.1667 7.33333 13.1667C4.38781 13.1667 2 10.7789 2 7.83333C2 4.88781 4.38781 2.5 7.33333 2.5C10.2789 2.5 12.6667 4.88781 12.6667 7.83333Z" stroke="#667085" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
17
|
+
</svg>
|
|
18
|
+
</div>
|
|
19
|
+
<ul>
|
|
20
|
+
<li *ngIf="multi && filteredValues?.length">
|
|
21
|
+
<label class="form-check" [for]="instanceId">
|
|
22
|
+
<input (change)="onSelectAll($event)" [checked]="checkIfAllSelected()" class="form-check-input me-3" type="checkbox"
|
|
23
|
+
[id]="instanceId">
|
|
24
|
+
<span class="form-check-label" >
|
|
25
|
+
Select All
|
|
26
|
+
</span>
|
|
27
|
+
</label>
|
|
28
|
+
</li>
|
|
29
|
+
<li *ngFor="let item of filteredValues" [ngClass]="item.isSelected && !multi ? 'selected' : ''" >
|
|
30
|
+
<label [for]="item[idField] + instanceId" [ngClass]="multi ? '': 'ps-0'" class="form-check">
|
|
31
|
+
<input [ngClass]="multi ? '': 'd-none'" (change)="onSelect($event, item)" [(ngModel)]="item.isSelected" class="form-check-input me-3" type="checkbox" value=""
|
|
32
|
+
[id]="item[idField] + instanceId">
|
|
33
|
+
<span class="form-check-label" >
|
|
34
|
+
{{item[searchField]}}
|
|
35
|
+
</span>
|
|
36
|
+
</label>
|
|
37
|
+
</li>
|
|
38
|
+
<li *ngIf="!filteredValues?.length" >
|
|
39
|
+
<span class="d-flex align-items-center justify-content-center" >No data found</span>
|
|
40
|
+
</li>
|
|
41
|
+
</ul>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
</div>
|