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,172 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, Component, HostListener, Input, OnInit } from '@angular/core';
|
|
2
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
4
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
5
|
+
import {Subject, takeUntil} from 'rxjs';
|
|
6
|
+
import { TraxService } from '../../services/trax.service';
|
|
7
|
+
|
|
8
|
+
@Component({
|
|
9
|
+
selector: 'lib-trax-store',
|
|
10
|
+
templateUrl: './trax-store.component.html',
|
|
11
|
+
styleUrl: './trax-store.component.scss'
|
|
12
|
+
})
|
|
13
|
+
export class TraxStoreComponent implements OnInit,AfterViewInit {
|
|
14
|
+
@Input() data:any;
|
|
15
|
+
@Input() client:any;
|
|
16
|
+
storeList:any = [];
|
|
17
|
+
store:[];
|
|
18
|
+
selectedStore:any = {};
|
|
19
|
+
showDropDown:boolean= false;
|
|
20
|
+
searchStore:any;
|
|
21
|
+
multiSelectSettings = {
|
|
22
|
+
idField: 'id',
|
|
23
|
+
textField: 'name',
|
|
24
|
+
itemsShowLimit: 1,
|
|
25
|
+
allowSearchFilter: true,
|
|
26
|
+
singleSelection :true
|
|
27
|
+
};
|
|
28
|
+
userName:string = ''
|
|
29
|
+
userEmail:string = ''
|
|
30
|
+
city:string=''
|
|
31
|
+
private detach = new Subject();
|
|
32
|
+
private readonly destroy$ = new Subject();
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
@HostListener("document:click", ["$event"])
|
|
36
|
+
clickOutside(event: MouseEvent): void {
|
|
37
|
+
const clickedInside = (event.target as HTMLElement).closest(
|
|
38
|
+
".dropdown-close"
|
|
39
|
+
);
|
|
40
|
+
if (!clickedInside) {
|
|
41
|
+
this.closeDropDown();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
constructor(private changedetector:ChangeDetectorRef,private SopService:TraxService,private dialogRef:NgbActiveModal,private toast:ToastService,private gs:GlobalStateService,public Activemodel: NgbActiveModal) { }
|
|
46
|
+
|
|
47
|
+
ngAfterViewInit(): void {
|
|
48
|
+
let data = {
|
|
49
|
+
"clientId": [this.client],
|
|
50
|
+
"offset": 1,
|
|
51
|
+
"limit": 10000,
|
|
52
|
+
"sortColumName": "storeId",
|
|
53
|
+
"sortBy": -1,
|
|
54
|
+
"searchValue": "",
|
|
55
|
+
"export": false,
|
|
56
|
+
"status": [
|
|
57
|
+
"Live",
|
|
58
|
+
"onboarded",
|
|
59
|
+
"deployed",
|
|
60
|
+
"paired",
|
|
61
|
+
"installationfailed",
|
|
62
|
+
"Infra Issue"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
this.SopService.getStoreList(data).subscribe((res: any) => {
|
|
66
|
+
if(res && res.code == 200 && res.data.result.length) {
|
|
67
|
+
let stores:any = [];
|
|
68
|
+
res.data.result.forEach((item:any) => {
|
|
69
|
+
stores.push({
|
|
70
|
+
name:item.storeName,
|
|
71
|
+
city:item.city
|
|
72
|
+
})
|
|
73
|
+
})
|
|
74
|
+
this.storeList = this.store = stores;
|
|
75
|
+
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
this.storeList = [];
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
ngOnInit(): void {
|
|
84
|
+
let storageDetails = JSON.parse(localStorage.getItem('header-filters') || '{}');
|
|
85
|
+
if(!storageDetails?.client) {
|
|
86
|
+
storageDetails = JSON.parse(localStorage.getItem('client-details') || '{}');
|
|
87
|
+
storageDetails.client = storageDetails.clientId;
|
|
88
|
+
}
|
|
89
|
+
if(storageDetails?.client) {
|
|
90
|
+
this.client= storageDetails.client;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
toggleDropDown() {
|
|
95
|
+
this.showDropDown = true;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
selectStore(event:any) {
|
|
99
|
+
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
filterSearch() {
|
|
103
|
+
if(this.searchStore.trim().length) {
|
|
104
|
+
let store = this.searchStore.split(',');
|
|
105
|
+
if(store.length > 1) {
|
|
106
|
+
store = store.map((item:any) => item.trim().toLowerCase())
|
|
107
|
+
this.storeList = this.store.filter((item:any) => store.includes(item.name.toLowerCase()))
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
this.storeList = this.store.filter((item:any) => item.name.toLowerCase().includes(this.searchStore.trim().toLowerCase()))
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
this.storeList = [...this.store]
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
updateSelectedStore(index:number){
|
|
119
|
+
this.selectedStore = this.storeList[index];
|
|
120
|
+
this.closeDropDown();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
closeDropDown() {
|
|
124
|
+
this.showDropDown = false;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
updatedStore() {
|
|
128
|
+
if(!this.selectedStore.name && this.data?.coverage ==='store') {
|
|
129
|
+
this.toast.getErrorToast('Please Select a Store');
|
|
130
|
+
return false;
|
|
131
|
+
}
|
|
132
|
+
if(!this.userName.trim()) {
|
|
133
|
+
this.toast.getErrorToast('User Name is Required');
|
|
134
|
+
return false;
|
|
135
|
+
}
|
|
136
|
+
if(!this.userEmail.trim()) {
|
|
137
|
+
this.toast.getErrorToast('User Email is Required');
|
|
138
|
+
return false;
|
|
139
|
+
}
|
|
140
|
+
if(!this.userEmail.match(/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/)) {
|
|
141
|
+
this.toast.getErrorToast('Invalid Email Format');
|
|
142
|
+
return false;
|
|
143
|
+
}
|
|
144
|
+
// if(!this.selectedStore?.city.trim()) {
|
|
145
|
+
// this.toast.getErrorToast('City is Required');
|
|
146
|
+
// return false;
|
|
147
|
+
// }
|
|
148
|
+
if (this.data?.coverage === 'store') {
|
|
149
|
+
let userData = [{
|
|
150
|
+
storeName: this.selectedStore?.name,
|
|
151
|
+
userName: this?.userName?.trim(),
|
|
152
|
+
userEmail: this?.userEmail?.toLowerCase()?.trim(),
|
|
153
|
+
userPhone: '',
|
|
154
|
+
checkFlag: true,
|
|
155
|
+
city:this.selectedStore?.city || ''
|
|
156
|
+
}]
|
|
157
|
+
this.dialogRef.close(userData);
|
|
158
|
+
} else {
|
|
159
|
+
let userData = [{
|
|
160
|
+
// storeName: this.selectedStore?.name,
|
|
161
|
+
userName: this?.userName?.trim(),
|
|
162
|
+
userEmail: this?.userEmail?.toLowerCase()?.trim(),
|
|
163
|
+
userPhone: '',
|
|
164
|
+
checkFlag: true,
|
|
165
|
+
city:this.selectedStore?.city || ''
|
|
166
|
+
}]
|
|
167
|
+
this.dialogRef.close(userData);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
|
|
2
|
+
<div class="text-start p-9" *ngIf="data.type !== 'image'">
|
|
3
|
+
<div [innerHTML]="data.imagesrc"></div>
|
|
4
|
+
<div class="customtitle mt-4">
|
|
5
|
+
{{data.title}}
|
|
6
|
+
</div>
|
|
7
|
+
<div class="content mt-4" [innerHtml]="data.content">
|
|
8
|
+
</div>
|
|
9
|
+
<div class="error mt-5 p-5 pt-0 h-auto mh-200px overflow-scroll" *ngIf="data?.error">
|
|
10
|
+
<div class="mt-5" *ngFor="let error of data?.error;let i =index">
|
|
11
|
+
<span>{{i + 1}}.) {{error}}</span>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="subtitle storesubtitle mb-4">
|
|
15
|
+
{{data.subtitle}}
|
|
16
|
+
</div>
|
|
17
|
+
<div class="subtitle storesubtitle mb-3" *ngIf="data?.location?.length">
|
|
18
|
+
<div class="content mb-2">Location is required on below stores</div>
|
|
19
|
+
{{data.location}}
|
|
20
|
+
</div>
|
|
21
|
+
<div class="subtitle storesubtitle mb-3" *ngIf="data?.inactiveStores?.length">
|
|
22
|
+
<div class="content mb-2">Inactive stores found in the csv.</div>
|
|
23
|
+
{{data.inactiveStores}}
|
|
24
|
+
</div>
|
|
25
|
+
<div *ngIf="data.buttontype === 'Invite'" class="content" [ngClass]="data.user.length > 4 ? 'addScroll' : ''">
|
|
26
|
+
<div class="d-flex align-items-center position-relative mb-5" *ngFor="let user of data.user;let i= index">
|
|
27
|
+
<div class="form-check form-check-custom form-check-solid mx-2 me-4">
|
|
28
|
+
<input class="form-check-input" type="checkbox" value="" [checked]="user.invite"
|
|
29
|
+
(change)="updateCheck($event,i)">
|
|
30
|
+
</div>
|
|
31
|
+
<div class="symbol symbol-35px symbol-circle">
|
|
32
|
+
<span class="symbol-label bg-light-primary text-primary me-2">
|
|
33
|
+
{{user.userName.slice(0,2)}} </span>
|
|
34
|
+
</div>
|
|
35
|
+
<div>
|
|
36
|
+
<a class="invitemain">{{user.userName}}</a>
|
|
37
|
+
<div class="invitesub">
|
|
38
|
+
{{user.userEmail}}
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
<div *ngIf="data.input1" class="mt-5">
|
|
45
|
+
<label *ngIf="data.inputlabel2" for="inputmodel" class="label">{{data.inputlabel1}}</label><br>
|
|
46
|
+
<input class="inputlabel" id="inputmodel" placeholder="{{data.placeholder1}}" type="{{data.inputtype1}}"
|
|
47
|
+
disabled>
|
|
48
|
+
</div>
|
|
49
|
+
<div *ngIf="data.input2" class="mt-5">
|
|
50
|
+
<label *ngIf="data.inputlabel2" for="inputmodel" class="label">{{data.inputlabel2}}</label>
|
|
51
|
+
<input class="inputlabel" id="inputmodel" placeholder="{{data.placeholder2}}" [(ngModel)]="requestText"
|
|
52
|
+
type="{{data.inputtype2}}">
|
|
53
|
+
</div>
|
|
54
|
+
<div *ngIf="data.buttontype === 'delete'" class="d-flex text-center justify-content-between">
|
|
55
|
+
<button class="btn min-width-popup btn-outline" (click)="closepopup()">Cancel</button>
|
|
56
|
+
<button class="btn min-width-popup btn-outline active btn-active-danger" (click)="deletepopup()">Delete</button>
|
|
57
|
+
</div>
|
|
58
|
+
<div *ngIf="data.buttontype === 'duplicate'" class="d-flex text-center justify-content-between mt-5">
|
|
59
|
+
<button class="btn min-width-popup btn-outline" (click)="closepopup()">Cancel</button>
|
|
60
|
+
<button class="btn min-width-popup btn-outline active btn-active-danger"
|
|
61
|
+
(click)="duplicatepopup()">Duplicate</button>
|
|
62
|
+
</div>
|
|
63
|
+
<div *ngIf="data.buttontype === 'draft'" class="d-flex text-center justify-content-between mt-5">
|
|
64
|
+
<button class="btn min-width-popup btn-outline" (click)="closepopup()">Cancel</button>
|
|
65
|
+
<button class="btn min-width-popup btn-outline active btn-active-primary" (click)="confirmpopup()">Save As
|
|
66
|
+
Draft</button>
|
|
67
|
+
</div>
|
|
68
|
+
<div *ngIf="data.buttontype === 'Request'" class="d-flex text-center justify-content-between mt-5">
|
|
69
|
+
<button class="btn min-width-popup btn-outline" (click)="closepopup()">Cancel</button>
|
|
70
|
+
<button class="btn min-width-popup btn-outline active btn-active-primary"
|
|
71
|
+
(click)="confirmpopup()">Request</button>
|
|
72
|
+
</div>
|
|
73
|
+
<div *ngIf="data.buttontype === 'confirm'" class="d-flex text-center justify-content-between mt-5">
|
|
74
|
+
<button class="btn min-width-popup btn-outline" (click)="closepopup()">Cancel</button>
|
|
75
|
+
<button class="btn min-width-popup btn-outline active btn-active-primary"
|
|
76
|
+
(click)="confirmpopup()">Confirm</button>
|
|
77
|
+
</div>
|
|
78
|
+
<div *ngIf="data.buttontype === 'Reinitiate'" class="d-flex text-center justify-content-between">
|
|
79
|
+
<button class="btn min-width-popup btn-outline" (click)="closepopup()">Cancel</button>
|
|
80
|
+
<button class="btn min-width-popup btn-outline active btn-active-primary"
|
|
81
|
+
(click)="confirmpopup()">Reinitiate</button>
|
|
82
|
+
</div>
|
|
83
|
+
<div *ngIf="data.buttontype === 'Remove'" class="d-flex text-center justify-content-between">
|
|
84
|
+
<button class="btn min-width-popup btn-outline" (click)="closepopup()">Cancel</button>
|
|
85
|
+
<button class="btn min-width-popup btn-outline active btn-active-danger"
|
|
86
|
+
(click)="confirmpopup()">Remove</button>
|
|
87
|
+
</div>
|
|
88
|
+
<div *ngIf="data.buttontype === 'Reupload'" class="d-flex text-center justify-content-between mt-5">
|
|
89
|
+
<button class="btn min-width-popup btn-outline" (click)="closepopup()">Cancel</button>
|
|
90
|
+
<button class="btn min-width-popup btn-outline active btn-active-primary"
|
|
91
|
+
(click)="confirmpopup()">Reupload</button>
|
|
92
|
+
</div>
|
|
93
|
+
<div *ngIf="data.buttontype === 'Invite'" class="d-flex text-center justify-content-between mt-8">
|
|
94
|
+
<button class="btn min-width-popup btn-outline" (click)="skipEntries()">Skip New Entries</button>
|
|
95
|
+
<button class="btn min-width-popup btn-outline active btn-active-primary" (click)="invitepopup()">Invite
|
|
96
|
+
Selected</button>
|
|
97
|
+
</div>
|
|
98
|
+
<div *ngIf="data.buttontype === 'Addstore'" class="d-flex text-center justify-content-between">
|
|
99
|
+
<button class="btn min-width-popup btn-outline" (click)="skipEntries()">Skip New Entries</button>
|
|
100
|
+
<button class="btn min-width-popup btn-outline active btn-active-primary" (click)="confirmStorepopup()">Add
|
|
101
|
+
Store</button>
|
|
102
|
+
</div>
|
|
103
|
+
<div *ngIf="data.buttontype === 'Activestore'" class="d-flex text-center justify-content-between">
|
|
104
|
+
<button class="btn min-width-popup btn-outline" (click)="skipEntries()">Skip New Entries</button>
|
|
105
|
+
<button class="btn min-width-popup btn-outline active btn-active-primary" (click)="activeStorepopup()">Active
|
|
106
|
+
Store</button>
|
|
107
|
+
</div>
|
|
108
|
+
<div *ngIf="data.buttontype === 'error'" class="d-flex text-center justify-content-between">
|
|
109
|
+
<button class="btn min-width-popup btn-outline" (click)="closepopup()">Cancel</button>
|
|
110
|
+
<button class="btn min-width-popup btn-outline active btn-active-danger"
|
|
111
|
+
(click)="dialogRef.close('reupload')">Reupload</button>
|
|
112
|
+
</div>
|
|
113
|
+
<div *ngIf="data.buttontype === 'reAssign'" class="d-flex text-center justify-content-between">
|
|
114
|
+
<button class="btn min-width-popup btn-outline" (click)="closepopup()">No, don’t</button>
|
|
115
|
+
<button class="btn min-width-popup btn-outline active btn-active-danger"
|
|
116
|
+
(click)="dialogRef.close('confirm')">Yes, Re-Assign</button>
|
|
117
|
+
</div>
|
|
118
|
+
<div *ngIf="data.buttontype === 'remove'" class="d-flex text-center justify-content-between">
|
|
119
|
+
<button class="btn min-width-popup btn-outline" (click)="removepopup()">Cancel</button>
|
|
120
|
+
<button class="btn min-width-popup btn-outline active btn-active-danger" (click)="deletepopup()">Remove</button>
|
|
121
|
+
</div>
|
|
122
|
+
<div *ngIf="data.buttontype === 'compliance'" class="d-flex text-center justify-content-between">
|
|
123
|
+
<button class="btn min-width-popup btn-outline" (click)="removepopup()">Cancel</button>
|
|
124
|
+
<button class="btn min-width-popup btn-outline active btn-active-primary" (click)="confirmpopup()">Yes, Proceed</button>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
<div *ngIf="data.type === 'image'">
|
|
128
|
+
<img src="{{data.image}}" style="width:100%;height:100%"/>
|
|
129
|
+
|
|
130
|
+
</div>
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
.Overlay {
|
|
2
|
+
top: 0;
|
|
3
|
+
left: 0;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
z-index: 200 !important;
|
|
7
|
+
position: fixed;
|
|
8
|
+
background: rgba(88, 87, 87, 0.6);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
input[type='checkbox'] {
|
|
12
|
+
width: 16px !important;
|
|
13
|
+
height: 16px !important;
|
|
14
|
+
margin: 5px;
|
|
15
|
+
border-radius: 4px !important;
|
|
16
|
+
-webkit-appearance: none;
|
|
17
|
+
-moz-appearance: none;
|
|
18
|
+
-o-appearance: none;
|
|
19
|
+
appearance: none;
|
|
20
|
+
outline: 1px solid var(--gray-600, #D0D5DD) !important;
|
|
21
|
+
box-shadow: none;
|
|
22
|
+
font-size: 0.5em;
|
|
23
|
+
text-align: center;
|
|
24
|
+
line-height: 1em;
|
|
25
|
+
background: white;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.form-check.form-check-solid .form-check-input:checked {
|
|
29
|
+
background-color: var(--primary-50, #EAF8FF) !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
input[type='checkbox']:checked {
|
|
33
|
+
outline: 1px solid var(--primary-600, #00A3FF) !important;
|
|
34
|
+
background-color: var(--primary-50, #EAF8FF);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
input[type='checkbox']:checked:after {
|
|
38
|
+
content: '';
|
|
39
|
+
transform: rotate(45deg);
|
|
40
|
+
border-bottom: 2px solid #00A3FF;
|
|
41
|
+
border-right: 2px solid #00A3FF;
|
|
42
|
+
display: inline-block;
|
|
43
|
+
width: 0.5em;
|
|
44
|
+
padding-left: 3px;
|
|
45
|
+
padding-top: 10px;
|
|
46
|
+
padding-right: 0px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.min-width-popup {
|
|
50
|
+
min-width: 47% !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.content {
|
|
54
|
+
color: var(--gray-500, #667085);
|
|
55
|
+
font-family: 'Inter';
|
|
56
|
+
font-size: 14px;
|
|
57
|
+
padding: 0px !important;
|
|
58
|
+
font-style: normal;
|
|
59
|
+
font-weight: 400;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.label {
|
|
63
|
+
color: var(--gray-700, #344054);
|
|
64
|
+
font-family: Inter;
|
|
65
|
+
font-size: 14px;
|
|
66
|
+
font-style: normal;
|
|
67
|
+
font-weight: 500;
|
|
68
|
+
line-height: 20px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
input {
|
|
72
|
+
font-size: 16px;
|
|
73
|
+
color: var(--gray-900, #101828);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.inputlabel {
|
|
77
|
+
width: 100%;
|
|
78
|
+
margin-top: 5px;
|
|
79
|
+
padding: 10px 14px;
|
|
80
|
+
border-radius: 8px;
|
|
81
|
+
border: 1px solid var(--gray-300, #D0D5DD);
|
|
82
|
+
background: var(--white, #FFF);
|
|
83
|
+
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.inputlabel:focus {
|
|
87
|
+
outline: 1px solid var(--gray-300, #D0D5DD) !important;
|
|
88
|
+
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
|
|
89
|
+
border: #F9FAFB !important;
|
|
90
|
+
outline: 1px solid var(--primary-300, #6BCAFF) !important;
|
|
91
|
+
box-shadow: 0px 0px 0px 4px #D5EFFE, 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
|
|
92
|
+
color: #101828;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.popup {
|
|
96
|
+
position: absolute;
|
|
97
|
+
top: 50%;
|
|
98
|
+
left: 50%;
|
|
99
|
+
opacity: 1;
|
|
100
|
+
transform: translate(-50%, -50%);
|
|
101
|
+
background: var(--white, #FFF);
|
|
102
|
+
border-radius: 12px !important;
|
|
103
|
+
border-radius: 12px;
|
|
104
|
+
box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, 0.03), 0px 20px 24px -4px rgba(16, 24, 40, 0.08);
|
|
105
|
+
padding: 30px;
|
|
106
|
+
width: 400px;
|
|
107
|
+
height: fit-content;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.btn-outline {
|
|
111
|
+
border: 1px solid lightgrey;
|
|
112
|
+
padding: calc(0.75rem + 1px) calc(1.5rem + 1px);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.fs-18px {
|
|
116
|
+
font-size: 18px;
|
|
117
|
+
color: var(--black, #000);
|
|
118
|
+
font-family: inter;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.fw-600 {
|
|
122
|
+
font-weight: 600 !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
::ng-deep .mat-dialog-container {
|
|
126
|
+
box-shadow: none;
|
|
127
|
+
background: #fff;
|
|
128
|
+
color: rgba(0, 0, 0, .87);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.symbol-label {
|
|
132
|
+
color: var(--primary-600, #00A3FF);
|
|
133
|
+
text-align: center;
|
|
134
|
+
|
|
135
|
+
/* Text sm/Medium */
|
|
136
|
+
font-family: 'Inter';
|
|
137
|
+
font-size: 14px;
|
|
138
|
+
font-style: normal;
|
|
139
|
+
font-weight: 500;
|
|
140
|
+
line-height: 20px;
|
|
141
|
+
/* 142.857% */
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.invitemain {
|
|
145
|
+
color: var(--gray-700, #344054);
|
|
146
|
+
|
|
147
|
+
/* Text sm/Semibold */
|
|
148
|
+
font-family: 'Inter';
|
|
149
|
+
font-size: 14px;
|
|
150
|
+
font-style: normal;
|
|
151
|
+
font-weight: 600;
|
|
152
|
+
line-height: 20px;
|
|
153
|
+
/* 142.857% */
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.invitesub {
|
|
157
|
+
color: var(--gray-500, #667085);
|
|
158
|
+
|
|
159
|
+
/* Text sm/Regular */
|
|
160
|
+
font-family: 'Inter';
|
|
161
|
+
font-size: 14px;
|
|
162
|
+
font-style: normal;
|
|
163
|
+
font-weight: 400;
|
|
164
|
+
line-height: 20px;
|
|
165
|
+
/* 142.857% */
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.subtitle {
|
|
169
|
+
color: var(--Black, #101828);
|
|
170
|
+
|
|
171
|
+
/* Text sm/Medium */
|
|
172
|
+
font-family: 'Inter';
|
|
173
|
+
font-size: 14px;
|
|
174
|
+
font-style: normal;
|
|
175
|
+
font-weight: 500;
|
|
176
|
+
line-height: 20px;
|
|
177
|
+
/* 142.857% */
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.customtitle {
|
|
181
|
+
color: var(--gray-900, #101828);
|
|
182
|
+
|
|
183
|
+
/* Text lg/Semibold */
|
|
184
|
+
font-family: 'Inter';
|
|
185
|
+
font-size: 18px;
|
|
186
|
+
font-style: normal;
|
|
187
|
+
font-weight: 600;
|
|
188
|
+
line-height: 28px;
|
|
189
|
+
/* 155.556% */
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.addScroll {
|
|
193
|
+
height: 300px;
|
|
194
|
+
overflow-y: scroll;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.storesubtitle {
|
|
198
|
+
word-break: break-all;
|
|
199
|
+
padding-top: .5em;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
::ng-deep.mat-dialog-container {
|
|
203
|
+
display: block;
|
|
204
|
+
padding: 24px;
|
|
205
|
+
border-radius: 12px;
|
|
206
|
+
box-sizing: border-box;
|
|
207
|
+
overflow: auto;
|
|
208
|
+
outline: 0;
|
|
209
|
+
width: 100%;
|
|
210
|
+
height: 100%;
|
|
211
|
+
min-height: inherit;
|
|
212
|
+
max-height: inherit;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.error {
|
|
216
|
+
color: var(--Error-700, #B42318);
|
|
217
|
+
font-family: Inter;
|
|
218
|
+
font-size: 14px;
|
|
219
|
+
font-style: normal;
|
|
220
|
+
font-weight: 500;
|
|
221
|
+
line-height: 20px;
|
|
222
|
+
border-radius: 8px;
|
|
223
|
+
border: 1px solid var(--Error-300, #FDA29B);
|
|
224
|
+
background: var(--Error-25, #FFFBFA);
|
|
225
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { TraxpopupComponent } from './traxpopup.component';
|
|
4
|
+
|
|
5
|
+
describe('TraxpopupComponent', () => {
|
|
6
|
+
let component: TraxpopupComponent;
|
|
7
|
+
let fixture: ComponentFixture<TraxpopupComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [TraxpopupComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(TraxpopupComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Component, Input, OnInit } from '@angular/core';
|
|
2
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'lib-traxpopup',
|
|
7
|
+
templateUrl: './traxpopup.component.html',
|
|
8
|
+
styleUrl: './traxpopup.component.scss'
|
|
9
|
+
})
|
|
10
|
+
export class TraxpopupComponent implements OnInit {
|
|
11
|
+
requestText: string = '';
|
|
12
|
+
@Input() data:any;
|
|
13
|
+
constructor( public dialogRef: NgbActiveModal,private sanitizer: DomSanitizer) { }
|
|
14
|
+
|
|
15
|
+
ngOnInit(): void {
|
|
16
|
+
if(this.data?.user) {
|
|
17
|
+
this.data.user.forEach((item:any) =>{
|
|
18
|
+
item.invite = true
|
|
19
|
+
})
|
|
20
|
+
}
|
|
21
|
+
this.data.imagesrc = this.sanitizer.bypassSecurityTrustHtml(this.data.imagesrc);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
closepopup(){
|
|
25
|
+
this.dialogRef.close();
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
deletepopup(){
|
|
29
|
+
this.dialogRef.close('delete');
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
duplicatepopup(){
|
|
33
|
+
this.dialogRef.close('duplicate');
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
confirmpopup() {
|
|
37
|
+
let res: any =
|
|
38
|
+
(this.data.resType && this.data.resType == 'custom') ?
|
|
39
|
+
{status: 'confirm',data: {requestText: this.requestText}} :
|
|
40
|
+
'confirm';
|
|
41
|
+
this.dialogRef.close(res);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
confirmStorepopup() {
|
|
45
|
+
this.dialogRef.close('confirmStore');
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
activeStorepopup() {
|
|
49
|
+
this.dialogRef.close('activeStore');
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
skipEntries() {
|
|
53
|
+
this.dialogRef.close('skip');
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
invitepopup() {
|
|
57
|
+
let data = {
|
|
58
|
+
message:'confirm',
|
|
59
|
+
user: this.data.user
|
|
60
|
+
}
|
|
61
|
+
this.dialogRef.close(data)
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
updateCheck(event:any,index:any) {
|
|
65
|
+
this.data.user[index].invite = event.target.checked;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
removepopup(){
|
|
69
|
+
this.dialogRef.close('remove');
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { TraxService } from './trax.service';
|
|
4
|
+
|
|
5
|
+
describe('TraxService', () => {
|
|
6
|
+
let service: TraxService;
|
|
7
|
+
|
|
8
|
+
beforeEach(() => {
|
|
9
|
+
TestBed.configureTestingModule({});
|
|
10
|
+
service = TestBed.inject(TraxService);
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
it('should be created', () => {
|
|
14
|
+
expect(service).toBeTruthy();
|
|
15
|
+
});
|
|
16
|
+
});
|