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,149 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
.outer-container {
|
|
8
|
+
// z-index: 1;
|
|
9
|
+
position: relative;
|
|
10
|
+
background-color: white;
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
.form-select {
|
|
14
|
+
font-size: 1.1rem;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
border-radius: 8px !important;
|
|
17
|
+
color: var(--Gray-500, #344054);
|
|
18
|
+
border: 1px solid var(--Gray-300, #D0D5DD) !important;
|
|
19
|
+
height: 42.5px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.disable-input{
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
background-color: #F9FAFB !important;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.input-container {
|
|
28
|
+
position: absolute;
|
|
29
|
+
width: 100%;
|
|
30
|
+
z-index: 1;
|
|
31
|
+
|
|
32
|
+
.input-wrapper {
|
|
33
|
+
padding: 8px 10px;
|
|
34
|
+
background-color: white;
|
|
35
|
+
border-top-right-radius: 8px;
|
|
36
|
+
border-top-left-radius: 8px;
|
|
37
|
+
border-top: 1px solid rgba(16, 24, 40, 0.08);
|
|
38
|
+
border-right: 1px solid rgba(16, 24, 40, 0.08);
|
|
39
|
+
border-left: 1px solid rgba(16, 24, 40, 0.08);
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
input {
|
|
43
|
+
width: 100%;
|
|
44
|
+
border-radius: 8px;
|
|
45
|
+
border: 1px solid var(--Gray-300, #D0D5DD);
|
|
46
|
+
background: var(--White, #FFF);
|
|
47
|
+
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
|
|
48
|
+
padding: 10px 14px 10px 30px;
|
|
49
|
+
outline: none;
|
|
50
|
+
|
|
51
|
+
::placeholder {
|
|
52
|
+
color: var(--Gray-500, #667085);
|
|
53
|
+
font-family: Inter;
|
|
54
|
+
font-size: 14px;
|
|
55
|
+
font-weight: 500;
|
|
56
|
+
line-height: 20px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.search-icon {
|
|
61
|
+
position: absolute;
|
|
62
|
+
left: 20px;
|
|
63
|
+
top: 20px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
ul {
|
|
68
|
+
position: relative;
|
|
69
|
+
background-color: white;
|
|
70
|
+
margin: 0;
|
|
71
|
+
padding: 0;
|
|
72
|
+
max-height: 200px;
|
|
73
|
+
min-height: auto;
|
|
74
|
+
overflow-y: auto;
|
|
75
|
+
border-bottom-right-radius: 8px;
|
|
76
|
+
border-bottom-left-radius: 8px;
|
|
77
|
+
border-bottom: 1px solid rgba(16, 24, 40, 0.08);
|
|
78
|
+
border-right: 1px solid rgba(16, 24, 40, 0.08);
|
|
79
|
+
border-left: 1px solid rgba(16, 24, 40, 0.08);
|
|
80
|
+
|
|
81
|
+
.selected{
|
|
82
|
+
background: #F9FAFB;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
li {
|
|
86
|
+
list-style: none;
|
|
87
|
+
padding: 10px 16px;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
|
|
90
|
+
label{
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
li:hover{
|
|
97
|
+
background: #F9FAFB;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
}
|
|
105
|
+
.disabled-dropdown ul,
|
|
106
|
+
.disabled-dropdown li {
|
|
107
|
+
pointer-events: none; /* Prevents clicks */
|
|
108
|
+
// opacity: 0.5; /* Makes it look disabled */
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.form-check {
|
|
112
|
+
display: flex;
|
|
113
|
+
align-items: center;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.form-check-input {
|
|
117
|
+
height: 16px;
|
|
118
|
+
width: 16px;
|
|
119
|
+
border-radius: 4px;
|
|
120
|
+
border: 1px solid var(--Primary-600, #00A3FF);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.form-check-input:checked {
|
|
124
|
+
--bs-form-check-bg-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB4SURBVHgBhY7NDUBQEIRnqcJNKXTg6qYTStCB+Isy6IQSNMDa9SLh5eWZZPcw+81kCX/quABhD73QyKXsGoyIvNCJSto2hEhNtY4N9cwYeMXEsVqB1GaSauRQOpty2tSmO3FgloAmF5nEhgyoesMO6CuFW66fn2xdFyA3ZzcRLrMAAAAASUVORK5CYII=');
|
|
125
|
+
background-color: #EAF8FF;
|
|
126
|
+
border-color: #00A3FF;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.form-check-label {
|
|
130
|
+
color: var(--Gray-700, #344054);
|
|
131
|
+
font-family: Inter;
|
|
132
|
+
font-size: 14px;
|
|
133
|
+
font-style: normal;
|
|
134
|
+
font-weight: 500;
|
|
135
|
+
line-height: 20px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.select-value{
|
|
139
|
+
border-radius: 16px !important;
|
|
140
|
+
background: var(--Gray-100, #F2F4F7) !important;
|
|
141
|
+
mix-blend-mode: multiply;
|
|
142
|
+
color: var(--Gray-700, #344054) !important;
|
|
143
|
+
text-align: center;
|
|
144
|
+
font-size: 14px;
|
|
145
|
+
font-style: normal;
|
|
146
|
+
font-weight: 500;
|
|
147
|
+
line-height: 20px;
|
|
148
|
+
padding: 4px 12px 4px 6px;
|
|
149
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { DisabledSelectComponent } from './disabled-select.component';
|
|
4
|
+
|
|
5
|
+
describe('DisabledSelectComponent', () => {
|
|
6
|
+
let component: DisabledSelectComponent;
|
|
7
|
+
let fixture: ComponentFixture<DisabledSelectComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [DisabledSelectComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(DisabledSelectComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, HostListener, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { TraxService } from '../../services/trax.service';
|
|
3
|
+
@Component({
|
|
4
|
+
selector: 'lib-disabled-select',
|
|
5
|
+
templateUrl: './disabled-select.component.html',
|
|
6
|
+
styleUrl: './disabled-select.component.scss'
|
|
7
|
+
})
|
|
8
|
+
export class DisabledSelectComponent {
|
|
9
|
+
@HostListener('document:click', ['$event'])
|
|
10
|
+
onClick(event: MouseEvent) {
|
|
11
|
+
const target = event.target as HTMLElement;
|
|
12
|
+
if (!target.closest('.dropdown')) {
|
|
13
|
+
this.showDropdown = false;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@Input() items: any
|
|
18
|
+
@Input() searchField: string
|
|
19
|
+
@Input() multi: boolean
|
|
20
|
+
@Input() idField: string
|
|
21
|
+
@Input() selectedValues: any = []
|
|
22
|
+
@Input() disabled: boolean | undefined
|
|
23
|
+
@Input() dropDowndisabled: boolean | undefined
|
|
24
|
+
@Input() label: string
|
|
25
|
+
@Output() selected = new EventEmitter<any>()
|
|
26
|
+
filteredValues: any = []
|
|
27
|
+
showDropdown: boolean
|
|
28
|
+
searchValue: string
|
|
29
|
+
instanceId: any;
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
constructor(private cd: ChangeDetectorRef, private authService:TraxService) { }
|
|
33
|
+
ngOnInit(): void {
|
|
34
|
+
this.instanceId = crypto.randomUUID();
|
|
35
|
+
this.authService.dropDownTrigger.subscribe((e)=>{
|
|
36
|
+
if(e !== this.instanceId){
|
|
37
|
+
this.showDropdown = false
|
|
38
|
+
this.cd.detectChanges()
|
|
39
|
+
}
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
ngOnChanges(changes: SimpleChanges): void {
|
|
44
|
+
|
|
45
|
+
if (changes['items'] && this.items?.length) {
|
|
46
|
+
this.initializeItems();
|
|
47
|
+
}
|
|
48
|
+
if (changes['selectedValues'] && Array.isArray(changes['selectedValues']?.currentValue) && changes['selectedValues']?.currentValue?.length > 0 && changes['selectedValues']?.currentValue[0]) {
|
|
49
|
+
this.updateSelectedValues();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
initializeItems() {
|
|
54
|
+
this.filteredValues = this.items.map((item: any) => ({ ...item }));
|
|
55
|
+
this.updateSelectedValues()
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
updateSelectedValues() {
|
|
59
|
+
this.selectedValues?.forEach((selectedItem: any) => {
|
|
60
|
+
const item = this.filteredValues?.find((filteredItem: any) => filteredItem?.[this.idField] === selectedItem?.[this.idField]);
|
|
61
|
+
if (item) {
|
|
62
|
+
item.isSelected = true;
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
openDropdown(event: any) {
|
|
69
|
+
this.authService.dropDownTrigger.next(this.instanceId)
|
|
70
|
+
event.stopPropagation();
|
|
71
|
+
this.showDropdown = !this.showDropdown;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
onInput(event: any) {
|
|
75
|
+
if (!event.target.value) {
|
|
76
|
+
this.filteredValues = [...this.items];
|
|
77
|
+
} else {
|
|
78
|
+
const searchTerm = event.target.value.toLowerCase();
|
|
79
|
+
this.filteredValues = this.items.filter((item: any) =>
|
|
80
|
+
item[this.searchField].toLowerCase().includes(searchTerm)
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
this.updateSelectedValues();
|
|
84
|
+
this.cd.detectChanges();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
onSelect(event: any, item: any) {
|
|
88
|
+
if (this.multi) {
|
|
89
|
+
if (event.currentTarget.checked) {
|
|
90
|
+
this.selectedValues.push(item );
|
|
91
|
+
} else {
|
|
92
|
+
this.selectedValues = this.selectedValues.filter((elem: any) => elem[this.idField] !== item[this.idField]);
|
|
93
|
+
}
|
|
94
|
+
} else {
|
|
95
|
+
this.selectedValues = [{ ...item }];
|
|
96
|
+
this.filteredValues.forEach((element:any) => {
|
|
97
|
+
if(element[this.idField] !== item[this.idField]){
|
|
98
|
+
element.isSelected = false
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
this.showDropdown = false;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
const valuesToEmit = this.selectedValues.map((value: any) => {
|
|
105
|
+
const selectedItem = { ...value };
|
|
106
|
+
delete selectedItem.isSelected;
|
|
107
|
+
return selectedItem;
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
this.cd.detectChanges();
|
|
111
|
+
this.emitSelectedValues(valuesToEmit);
|
|
112
|
+
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
onSelectAll(event: any) {
|
|
116
|
+
const selectAll = event.currentTarget.checked;
|
|
117
|
+
this.filteredValues.forEach((item: any) => item.isSelected = selectAll);
|
|
118
|
+
|
|
119
|
+
if (selectAll) {
|
|
120
|
+
this.selectedValues = [...this.filteredValues];
|
|
121
|
+
} else {
|
|
122
|
+
this.selectedValues = [];
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
const valuesToEmit = this.selectedValues.map((value: any) => {
|
|
126
|
+
const { isSelected, ...selectedItem } = value;
|
|
127
|
+
return selectedItem;
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
this.cd.detectChanges();
|
|
131
|
+
this.emitSelectedValues(valuesToEmit);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
emitSelectedValues(values: any[]) {
|
|
136
|
+
if (this.multi) {
|
|
137
|
+
this.selected.emit(values);
|
|
138
|
+
} else {
|
|
139
|
+
this.selected.emit(values[0]);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
checkIfAllSelected() {
|
|
144
|
+
return this.filteredValues.every((item: any) => item.isSelected);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
<div class="card group-delete py-0 scroll">
|
|
2
|
+
<div class="card-body py-0 d-flex flex-start flex-column p-9 ">
|
|
3
|
+
<div class="my-5">
|
|
4
|
+
<div class="symbol symbol-75px symbol-circle">
|
|
5
|
+
<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6
|
+
<rect x="4" y="4" width="48" height="48" rx="24" fill="#DAF1FF" />
|
|
7
|
+
<rect x="4" y="4" width="48" height="48" rx="24" stroke="#EAF8FF" stroke-width="8" />
|
|
8
|
+
<path
|
|
9
|
+
d="M37 31V35C37 35.5304 36.7893 36.0391 36.4142 36.4142C36.0391 36.7893 35.5304 37 35 37H21C20.4696 37 19.9609 36.7893 19.5858 36.4142C19.2107 36.0391 19 35.5304 19 35V31M23 26L28 31M28 31L33 26M28 31V19"
|
|
10
|
+
stroke="#00A3FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
11
|
+
</svg>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<a class="fs-4 text-gray-800 text-hover-primary fw-bold mb-0 title cursor-pointer">{{type}}</a>
|
|
15
|
+
|
|
16
|
+
<span *ngIf="type ==='Export as CSV'" class="fw-normal mt-2"><span class="dark-line1">One of your team has
|
|
17
|
+
requested edit access to your project</span> <span class="dark-line ms-1">Website Design.</span></span>
|
|
18
|
+
<div *ngIf="type ==='Export as CSV'" class="col-md-12 position-relative mt-3 h-350px">
|
|
19
|
+
<span style="top: 2%;" class="svg-icon svg-icon-1 position-absolute ms-3">
|
|
20
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
21
|
+
<path
|
|
22
|
+
d="M13.3333 1.66663V4.99996M6.66667 1.66663V4.99996M2.5 8.33329H17.5M4.16667 3.33329H15.8333C16.7538 3.33329 17.5 4.07948 17.5 4.99996V16.6666C17.5 17.5871 16.7538 18.3333 15.8333 18.3333H4.16667C3.24619 18.3333 2.5 17.5871 2.5 16.6666V4.99996C2.5 4.07948 3.24619 3.33329 4.16667 3.33329Z"
|
|
23
|
+
stroke="#344054" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round" />
|
|
24
|
+
</svg>
|
|
25
|
+
</span>
|
|
26
|
+
<input class="fx-date-range form-control ps-14 " #dateRangePickerInput
|
|
27
|
+
style="min-width: 260px !important; z-index: 1050 !important;" type="text" matInput ngxDaterangepickerMd
|
|
28
|
+
[drops]="'down'" [opens]="'right'" [alwaysShowCalendars]="false" [keepCalendarOpeningWithRange]="true"
|
|
29
|
+
[showCancel]="false" autocomplete="off" [(ngModel)]="selectedDateRange" (click)="dateheight()"
|
|
30
|
+
[ngModelOptions]="{standalone: true}" (datesUpdated)="datechange($event)" [autoApply]="true"
|
|
31
|
+
(startDateChanged)="onStartDateChange($event)" [isCustomDate]="isCustomDate"
|
|
32
|
+
[locale]="{ format: 'DD-MM-YYYY', firstDay: 1, monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] }"
|
|
33
|
+
name="daterange" [readonly]="true" />
|
|
34
|
+
<div class="col-md-8 mb-4 mt-4">
|
|
35
|
+
<div class="select-wrapper">
|
|
36
|
+
<div class="placeholder-overlay" *ngIf="this.payload.filtertype==='Clusters'">
|
|
37
|
+
Select Stores
|
|
38
|
+
</div>
|
|
39
|
+
<lib-stores-select *ngIf="this.payload.filtertype==='Clusters'" [items]="storeList"
|
|
40
|
+
[disabled]="false" [multi]="true" [searchField]="'storeName'" [idField]="'storeId'"
|
|
41
|
+
(selected)="onStoreSelect($event)" [selectedValues]="selectedStore"></lib-stores-select>
|
|
42
|
+
|
|
43
|
+
<div class="placeholder-overlay" *ngIf="this.payload.filtertype==='Teams'">
|
|
44
|
+
Select Users
|
|
45
|
+
</div>
|
|
46
|
+
<lib-stores-select *ngIf="this.payload.filtertype==='Teams'" [items]="userList" [disabled]="false"
|
|
47
|
+
[multi]="true" [searchField]="'userName'" [idField]="'userName'"
|
|
48
|
+
(selected)="onuserSelect($event)" [selectedValues]="selectedusers"></lib-stores-select>
|
|
49
|
+
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
<span *ngIf="type ==='Export as CSV'" [ngClass]="maxdaysReached ? 'flagclour':''"
|
|
59
|
+
class="dark-line1 fw-normal mt-2">Data downloads are limited to one month at a time.</span>
|
|
60
|
+
<span *ngIf="type ==='Export as PDF'" class="dark-line1 fw-normal mt-2">This blog post has been published. Team
|
|
61
|
+
members will be able to edit this post and republish changes.</span>
|
|
62
|
+
<div *ngIf="type==='Export as PDF'" class="col-md-12 mt-3">
|
|
63
|
+
<label class="label">Select checklist</label>
|
|
64
|
+
<select class="form-control">
|
|
65
|
+
<option><span><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"
|
|
66
|
+
fill="none">
|
|
67
|
+
<path
|
|
68
|
+
d="M11.6654 1.66602H4.9987C4.55667 1.66602 4.13275 1.84161 3.82019 2.15417C3.50763 2.46673 3.33203 2.89065 3.33203 3.33268V16.666C3.33203 17.108 3.50763 17.532 3.82019 17.8445C4.13275 18.1571 4.55667 18.3327 4.9987 18.3327H14.9987C15.4407 18.3327 15.8646 18.1571 16.1772 17.8445C16.4898 17.532 16.6654 17.108 16.6654 16.666V6.66602M11.6654 1.66602L16.6654 6.66602M11.6654 1.66602V6.66602H16.6654M13.332 10.8327H6.66536M13.332 14.166H6.66536M8.33203 7.49935H6.66536"
|
|
69
|
+
stroke="#667085" stroke-width="1.66667" stroke-linecap="round"
|
|
70
|
+
stroke-linejoin="round" />
|
|
71
|
+
</svg></span>Store Operation checklist</option>
|
|
72
|
+
</select>
|
|
73
|
+
</div>
|
|
74
|
+
<div *ngIf="type==='Export as PDF'" class="col-md-12 mt-3">
|
|
75
|
+
<label class="label">Select Store</label>
|
|
76
|
+
<select class="form-control">
|
|
77
|
+
<option></option>
|
|
78
|
+
</select>
|
|
79
|
+
</div>
|
|
80
|
+
|
|
81
|
+
<div *ngIf="type==='Export as PDF'" class="col-md-12 position-relative mt-5">
|
|
82
|
+
<span style="top: 20%;" class="svg-icon svg-icon-1 position-absolute ms-3">
|
|
83
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
84
|
+
<path
|
|
85
|
+
d="M13.3333 1.66663V4.99996M6.66667 1.66663V4.99996M2.5 8.33329H17.5M4.16667 3.33329H15.8333C16.7538 3.33329 17.5 4.07948 17.5 4.99996V16.6666C17.5 17.5871 16.7538 18.3333 15.8333 18.3333H4.16667C3.24619 18.3333 2.5 17.5871 2.5 16.6666V4.99996C2.5 4.07948 3.24619 3.33329 4.16667 3.33329Z"
|
|
86
|
+
stroke="#344054" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round" />
|
|
87
|
+
</svg>
|
|
88
|
+
</span>
|
|
89
|
+
<input class="fx-date-range form-control ps-14" #dateRangePickerInput
|
|
90
|
+
style="min-width: 260px !important; z-index: 1050 !important;" type="text" matInput ngxDaterangepickerMd
|
|
91
|
+
[drops]="'down'" [singleDatePicker]="true" [opens]="'right'" [alwaysShowCalendars]="false"
|
|
92
|
+
[keepCalendarOpeningWithRange]="true" [showCancel]="false" autocomplete="off"
|
|
93
|
+
[(ngModel)]="selectedDateRange" [ngModelOptions]="{standalone: true}"
|
|
94
|
+
(datesUpdated)="datechange($event)" [autoApply]="true" (startDateChanged)="onStartDateChange($event)"
|
|
95
|
+
[isCustomDate]="isCustomDate"
|
|
96
|
+
[locale]="{ format: 'DD-MM-YYYY', firstDay: 1, monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] }"
|
|
97
|
+
name="daterange" [readonly]="true" />
|
|
98
|
+
<span class="sub-title fw-normal mt-2">Only 1 day data can be downloaded</span>
|
|
99
|
+
</div>
|
|
100
|
+
<div *ngIf="type==='Export as PPT'||type==='Export as ZIP'">
|
|
101
|
+
|
|
102
|
+
<div class="d-flex flex-wrap mt-5">
|
|
103
|
+
<div class="border rounded min-w-200px cursor-pointer py-3 px-4 me-6 mb-3"
|
|
104
|
+
[ngClass]="previewType === 'image' ? 'nav-line-tabs1' : 'border-gray-300'"
|
|
105
|
+
(click)="onSelect('image')">
|
|
106
|
+
<div class="d-flex align-items-center mb-5">
|
|
107
|
+
<svg *ngIf="previewType === 'image'" xmlns="http://www.w3.org/2000/svg" width="24" height="24"
|
|
108
|
+
viewBox="0 0 24 24" fill="none">
|
|
109
|
+
<path
|
|
110
|
+
d="M5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21ZM5 21L16 10L21 15M10 8.5C10 9.32843 9.32843 10 8.5 10C7.67157 10 7 9.32843 7 8.5C7 7.67157 7.67157 7 8.5 7C9.32843 7 10 7.67157 10 8.5Z"
|
|
111
|
+
stroke="#009BF3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
112
|
+
</svg>
|
|
113
|
+
<svg *ngIf="previewType === 'video'" xmlns="http://www.w3.org/2000/svg" width="24" height="24"
|
|
114
|
+
viewBox="0 0 24 24" fill="none">
|
|
115
|
+
<path
|
|
116
|
+
d="M5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21ZM5 21L16 10L21 15M10 8.5C10 9.32843 9.32843 10 8.5 10C7.67157 10 7 9.32843 7 8.5C7 7.67157 7.67157 7 8.5 7C9.32843 7 10 7.67157 10 8.5Z"
|
|
117
|
+
stroke="#101828" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
118
|
+
</svg>
|
|
119
|
+
</div>
|
|
120
|
+
<div [ngClass]="previewType === 'image' ? 'text-border-priamry' : 'textvalue'">Image</div>
|
|
121
|
+
</div>
|
|
122
|
+
<div class="border rounded min-w-200px cursor-pointer py-3 px-4 mb-3"
|
|
123
|
+
[ngClass]="previewType === 'video' ? 'nav-line-tabs1' : 'border-gray-300'"
|
|
124
|
+
(click)="onSelect('video')">
|
|
125
|
+
<div class="d-flex align-items-center mb-5">
|
|
126
|
+
<svg *ngIf="previewType === 'image'" xmlns="http://www.w3.org/2000/svg" width="24" height="24"
|
|
127
|
+
viewBox="0 0 24 24" fill="none">
|
|
128
|
+
<path
|
|
129
|
+
d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"
|
|
130
|
+
stroke="#101828" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
131
|
+
<path d="M10 8L16 12L10 16V8Z" stroke="#101828" stroke-width="2" stroke-linecap="round"
|
|
132
|
+
stroke-linejoin="round" />
|
|
133
|
+
</svg>
|
|
134
|
+
<svg *ngIf="previewType === 'video'" xmlns="http://www.w3.org/2000/svg" width="24" height="24"
|
|
135
|
+
viewBox="0 0 24 24" fill="none">
|
|
136
|
+
<path
|
|
137
|
+
d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"
|
|
138
|
+
stroke="#009BF3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
139
|
+
<path d="M10 8L16 12L10 16V8Z" stroke="#009BF3" stroke-width="2" stroke-linecap="round"
|
|
140
|
+
stroke-linejoin="round" />
|
|
141
|
+
</svg>
|
|
142
|
+
</div>
|
|
143
|
+
<div [ngClass]="previewType === 'video' ? 'text-border-priamry' : 'textvalue'">Video</div>
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
</div>
|
|
147
|
+
<!-- <label for="dropdown" class="m-4 fs-4">Choose an option: </label> -->
|
|
148
|
+
<!-- <select id="dropdown" class="form-control" [(ngModel)]="previewType" (change)="onSelect($event)">
|
|
149
|
+
<option [value]="'image'">Image</option>
|
|
150
|
+
<option [value]="'video'">Video</option>
|
|
151
|
+
</select> -->
|
|
152
|
+
</div>
|
|
153
|
+
<div *ngIf="type ==='Export as CSV'" class="row w-100">
|
|
154
|
+
<div class="col-md-8"></div>
|
|
155
|
+
<div class="col-md-4 mt-2 text-end">
|
|
156
|
+
<div role="group" class="d-flex mt-3 mb-15">
|
|
157
|
+
<button class="btn btn-outline w-100 me-2" (click)="cancel()">Cancel</button>
|
|
158
|
+
<button id="alert-toast" class="btn btn-primary w-100 ms-2" [disabled]="maxdaysReached||getstore"
|
|
159
|
+
(click)="onSubmit()">Confirm</button>
|
|
160
|
+
</div>
|
|
161
|
+
|
|
162
|
+
</div>
|
|
163
|
+
</div>
|
|
164
|
+
<div *ngIf="type !=='Export as CSV'" class="mt-2 w-100 text-end">
|
|
165
|
+
|
|
166
|
+
<div role="group" class="d-flex mt-3 mb-15">
|
|
167
|
+
<button class="btn btn-outline w-100 me-2" (click)="cancel()">Cancel</button>
|
|
168
|
+
<button id="alert-toast" class="btn btn-primary w-100 ms-2" [disabled]="maxdaysReached||getstore"
|
|
169
|
+
(click)="onSubmit()">Confirm</button>
|
|
170
|
+
</div>
|
|
171
|
+
|
|
172
|
+
</div>
|
|
173
|
+
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|