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ACFo4G,EAAI50G,MAAMwd,MAAQhhB,EAAK+I,EAAI,KAC3BqvG,EAAI50G,MAAMyd,OAASjhB,EAAKy5G,EAAI,KAEhC,IAGF/B,EAAMt/B,MAAQ,SAAU7uE,GACtB,OAAO,IAAImuG,EAAME,MAAMruG,EACzB,EAEAmuG,EAAME,MAAM1tE,UAAU3gC,QAAQ+tE,QAC5B,o6D","sources":["webpack://kkts-portal/./src/components/UI/Avatar.vue?2505","webpack://kkts-portal/./src/components/UI/Avatar.vue?0ec1","webpack://kkts-portal/./src/components/UI/Avatar.vue?1dc6","webpack://kkts-portal/./src/components/UI/Avatar.vue","webpack://kkts-portal/./src/components/UI/Button.vue?4b55","webpack://kkts-portal/./src/components/UI/Button.vue?46ed","webpack://kkts-portal/./src/components/UI/Button.vue?c0a8","webpack://kkts-portal/./src/components/UI/Button.vue","webpack://kkts-portal/./src/components/UI/DropZone.vue?ef1f","webpack://kkts-portal/./src/components/UI/DropZone.vue?01cd","webpack://kkts-portal/./src/components/UI/DropZone.vue?91ea","webpack://kkts-portal/./src/components/UI/DropZone.vue","webpack://kkts-portal/./src/components/UI/GlobalLoader.vue?bfbc","webpack://kkts-portal/./src/components/UI/GlobalLoader.vue?b7c9","webpack://kkts-portal/./src/components/UI/GlobalLoader.vue?35f1","webpack://kkts-portal/./src/components/UI/GlobalLoader.vue","webpack://kkts-portal/./src/components/UI/Icon.vue?caaa","webpack://kkts-portal/./src/components/UI/Icon.vue?a6b2","webpack://kkts-portal/./src/components/UI/Icon.vue?fbdd","webpack://kkts-portal/./src/components/UI/Icon.vue","webpack://kkts-portal/./src/components/UI/InputIntegers.vue?44df","webpack://kkts-portal/./src/components/UI/InputIntegers.vue?1e79","webpack://kkts-portal/./src/components/UI/InputIntegers.vue?3d90","webpack://kkts-portal/./src/components/UI/InputIntegers.vue","webpack://kkts-portal/./src/components/UI/InputPositiveNumbers.vue?da08","webpack://kkts-portal/./src/components/UI/InputPositiveNumbers.vue?5b45","webpack://kkts-portal/./src/components/UI/InputPositiveNumbers.vue?2dbb","webpack://kkts-portal/./src/components/UI/InputPositiveNumbers.vue","webpack://kkts-portal/./src/components/UI/LookupAddresses.vue?0fe7","webpack://kkts-portal/./src/components/UI/LookupAddresses.vue?b9ff","webpack://kkts-portal/./src/components/UI/LookupAddresses.vue?cc18","webpack://kkts-portal/./src/components/UI/LookupAddresses.vue","webpack://kkts-portal/./src/components/UI/LookupCustomerCode.vue?ea84","webpack://kkts-portal/./src/components/UI/LookupCustomerCode.vue?6786","webpack://kkts-portal/./src/components/UI/LookupCustomerCode.vue?e847","webpack://kkts-portal/./src/components/UI/LookupCustomerCode.vue","webpack://kkts-portal/./src/components/UI/LookupMailbox.vue?ec82","webpack://kkts-portal/./src/components/UI/LookupMailbox.vue?e0bd","webpack://kkts-portal/./src/components/UI/LookupMailbox.vue?4403","webpack://kkts-portal/./src/components/UI/LookupMailbox.vue","webpack://kkts-portal/./src/components/UI/LookupSuburb.vue?85c7","webpack://kkts-portal/./src/components/UI/LookupSuburb.vue?3849","webpack://kkts-portal/./src/components/UI/LookupSuburb.vue?6067","webpack://kkts-portal/./src/components/UI/LookupSuburb.vue","webpack://kkts-portal/./src/components/UI/LookupWarehouses.vue?10e1","webpack://kkts-portal/./src/components/UI/LookupWarehouses.vue?3101","webpack://kkts-portal/./src/components/UI/LookupWarehouses.vue?c678","webpack://kkts-portal/./src/components/UI/LookupWarehouses.vue","webpack://kkts-portal/./src/components/UI/Notification.vue?3290","webpack://kkts-portal/./src/components/UI/Notification.vue?4e9a","webpack://kkts-portal/./src/components/UI/Notification.vue?6ac5","webpack://kkts-portal/./src/components/UI/Notification.vue","webpack://kkts-portal/./src/components/UI/ReloadButton.vue?a7b6","webpack://kkts-portal/./src/components/UI/ReloadButton.vue?d98c","webpack://kkts-portal/./src/components/UI/ReloadButton.vue?0f02","webpack://kkts-portal/./src/components/UI/ReloadButton.vue","webpack://kkts-portal/./src/components/UI/ToggleButton.vue?6dfd","webpack://kkts-portal/./src/components/UI/ToggleButton.vue?d7e8","webpack://kkts-portal/./src/components/UI/ToggleButton.vue?4f9a","webpack://kkts-portal/./src/components/UI/ToggleButton.vue","webpack://kkts-portal/./src/components/UI/ToggleTableCell.vue?8332","webpack://kkts-portal/./src/components/UI/ToggleTableCell.vue?8ca3","webpack://kkts-portal/./src/components/UI/ToggleTableCell.vue?bd47","webpack://kkts-portal/./src/components/UI/ToggleTableCell.vue","webpack://kkts-portal/./src/components/UI/Tooltip.vue?786f","webpack://kkts-portal/./src/components/UI/Tooltip.vue?5a64","webpack://kkts-portal/./src/components/UI/Tooltip.vue?126f","webpack://kkts-portal/./src/components/UI/Tooltip.vue","webpack://kkts-portal/./src/components/UI/UploadAttachments/UploadAttachments.vue?f9b2","webpack://kkts-portal/./src/components/UI/UploadAttachments/UploadAttachments.vue?32d7","webpack://kkts-portal/./src/components/UI/UploadAttachments/UploadAttachments.vue?5d97","webpack://kkts-portal/./src/components/UI/UploadAttachments/UploadAttachments.vue","webpack://kkts-portal/./src/components/UI/avatar/Avatar.vue?0c8b","webpack://kkts-portal/./src/components/UI/avatar/Avatar.vue?dfde","webpack://kkts-portal/./src/components/UI/avatar/Avatar.vue?3666","webpack://kkts-portal/./src/components/UI/avatar/Avatar.vue","webpack://kkts-portal/./src/components/UI/backButton/BackButton.vue?945b","webpack://kkts-portal/./src/components/UI/backButton/BackButton.vue?baec","webpack://kkts-portal/./src/components/UI/backButton/BackButton.vue?e344","webpack://kkts-portal/./src/components/UI/backButton/BackButton.vue","webpack://kkts-portal/./src/components/UI/button/Button.vue?8c6c","webpack://kkts-portal/./src/components/UI/button/Button.vue?273c","webpack://kkts-portal/./src/components/UI/button/Button.vue?da3d","webpack://kkts-portal/./src/components/UI/button/Button.vue","webpack://kkts-portal/./src/components/UI/button/ButtonDownload.vue?ba10","webpack://kkts-portal/./src/components/UI/button/ButtonDownload.vue?02b9","webpack://kkts-portal/./src/components/UI/button/ButtonDownload.vue?c615","webpack://kkts-portal/./src/components/UI/button/ButtonDownload.vue","webpack://kkts-portal/./src/components/UI/chip/Chip.vue?0abe","webpack://kkts-portal/./src/components/UI/chip/Chip.vue?ca37","webpack://kkts-portal/./src/components/UI/chip/Chip.vue?0b8d","webpack://kkts-portal/./src/components/UI/chip/Chip.vue","webpack://kkts-portal/./src/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue?42a4","webpack://kkts-portal/./src/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue?a145","webpack://kkts-portal/./src/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue?957c","webpack://kkts-portal/./src/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue","webpack://kkts-portal/./src/components/UI/dropZone/DropZone.vue?f604","webpack://kkts-portal/./src/components/UI/dropZone/DropZone.vue?d573","webpack://kkts-portal/./src/components/UI/dropZone/DropZone.vue?0bba","webpack://kkts-portal/./src/components/UI/dropZone/DropZone.vue","webpack://kkts-portal/./src/components/UI/filesTable/FilesTable.vue?044c","webpack://kkts-portal/./src/components/UI/filesTable/FilesTable.vue?657d","webpack://kkts-portal/./src/components/UI/filesTable/FilesTable.vue?4e66","webpack://kkts-portal/./src/components/UI/filesTable/FilesTable.vue","webpack://kkts-portal/./src/components/UI/iconWithTooltip/IconWithTooltip.vue?9cb6","webpack://kkts-portal/./src/components/UI/iconWithTooltip/IconWithTooltip.vue?62a8","webpack://kkts-portal/./src/components/UI/iconWithTooltip/IconWithTooltip.vue?983f","webpack://kkts-portal/./src/components/UI/iconWithTooltip/IconWithTooltip.vue","webpack://kkts-portal/./src/components/UI/lookups/LookupSuburb.vue?208a","webpack://kkts-portal/./src/components/UI/lookups/LookupSuburb.vue?f832","webpack://kkts-portal/./src/components/UI/lookups/LookupSuburb.vue?3fc9","webpack://kkts-portal/./src/components/UI/lookups/LookupSuburb.vue","webpack://kkts-portal/./src/components/airRoad/datePicker/DatePicker.vue?0ec9","webpack://kkts-portal/./src/components/airRoad/datePicker/DatePicker.vue?b8e0","webpack://kkts-portal/./src/components/airRoad/datePicker/DatePicker.vue?66db","webpack://kkts-portal/./src/components/airRoad/datePicker/DatePicker.vue","webpack://kkts-portal/./src/components/btns/OpenSchedulerBoardFromJobLink.vue?fbf4","webpack://kkts-portal/./src/components/btns/OpenSchedulerBoardFromJobLink.vue?554e","webpack://kkts-portal/./src/components/btns/OpenSchedulerBoardFromJobLink.vue?2c55","webpack://kkts-portal/./src/components/btns/OpenSchedulerBoardFromJobLink.vue","webpack://kkts-portal/./src/components/btns/PrintActionBtn.vue?2b53","webpack://kkts-portal/./src/components/dialogs/PrinterListDialog.vue?5d49","webpack://kkts-portal/./src/components/windows/PrinterListWindow.vue?4887","webpack://kkts-portal/./src/components/windows/PrinterListWindow.vue?c55c","webpack://kkts-portal/./src/components/windows/PrinterListWindow.vue?e160","webpack://kkts-portal/./src/components/windows/PrinterListWindow.vue","webpack://kkts-portal/./src/components/jobDetailed/printerList/PrinterListHeader.vue?8fc7","webpack://kkts-portal/./src/components/jobDetailed/printerList/PrinterListHeader.vue?41a3","webpack://kkts-portal/./src/components/jobDetailed/printerList/PrinterListHeader.vue?665c","webpack://kkts-portal/./src/components/jobDetailed/printerList/PrinterListHeader.vue","webpack://kkts-portal/./src/components/jobDetailed/printerList/PrinterListLoadBody.vue?c3b6","webpack://kkts-portal/./src/components/jobDetailed/printerList/PrinterListBody.vue?2307","webpack://kkts-portal/./src/components/btns/PrintBtn.vue?bf47","webpack://kkts-portal/./src/components/btns/PrintBtn.vue?3117","webpack://kkts-portal/./src/components/btns/PrintBtn.vue?98d6","webpack://kkts-portal/./src/components/btns/PrintBtn.scss","webpack://kkts-portal/./src/components/btns/PrintBtn.vue","webpack://kkts-portal/./src/components/jobDetailed/printerList/PrinterListBody.vue?a93b","webpack://kkts-portal/./src/components/jobDetailed/printerList/PrinterListBody.vue?bebb","webpack://kkts-portal/./src/components/jobDetailed/printerList/PrinterListBody.scss","webpack://kkts-portal/./src/components/jobDetailed/printerList/PrinterListBody.vue","webpack://kkts-portal/./src/components/jobDetailed/printerList/PrinterListLoadBody.vue?70f0","webpack://kkts-portal/./src/components/jobDetailed/printerList/PrinterListLoadBody.vue?ae78","webpack://kkts-portal/./src/components/jobDetailed/printerList/PrinterListLoadBody.vue","webpack://kkts-portal/./src/components/dialogs/PrinterListDialog.vue?2c8b","webpack://kkts-portal/./src/components/dialogs/PrinterListDialog.vue?a756","webpack://kkts-portal/./src/components/dialogs/PrinterListDialog.scss","webpack://kkts-portal/./src/components/dialogs/PrinterListDialog.vue","webpack://kkts-portal/./src/components/btns/PrintActionBtn.vue?7d3f","webpack://kkts-portal/./src/components/btns/PrintActionBtn.vue?fbb0","webpack://kkts-portal/./src/components/btns/PrintActionBtn.vue","webpack://kkts-portal/./src/components/btns/TInputCloseBtn.vue?a13e","webpack://kkts-portal/./src/components/btns/TInputCloseBtn.vue?cac2","webpack://kkts-portal/./src/components/btns/TInputCloseBtn.vue?13d6","webpack://kkts-portal/./src/components/btns/TInputCloseBtn.vue","webpack://kkts-portal/./src/components/dashBoard/jobTable/JobTable.vue?b664","webpack://kkts-portal/./src/components/dashBoard/jobTable/JobTable.vue?1a85","webpack://kkts-portal/./src/components/dashBoard/jobTable/JobTable.vue?96aa","webpack://kkts-portal/./src/components/dashBoard/jobTable/JobTable.vue","webpack://kkts-portal/./src/components/dashBoard/jobTable/components/KJobTimeline/KJobTimeline.vue?05d2","webpack://kkts-portal/./src/components/dashBoard/jobTable/components/KJobTimeline/KJobTimeline.vue?28d5","webpack://kkts-portal/./src/components/dashBoard/jobTable/components/KJobTimeline/KJobTimeline.vue?fbe9","webpack://kkts-portal/./src/components/dashBoard/jobTable/components/KJobTimeline/KJobTimeline.vue","webpack://kkts-portal/./src/components/dashBoard/jobTable/components/KStatusChart/KStatusChart.vue?fdbb","webpack://kkts-portal/./src/components/dashBoard/jobTable/components/KStatusChart/KStatusChart.vue?666a","webpack://kkts-portal/./src/components/dashBoard/jobTable/components/KStatusChart/KStatusChart.vue?cead","webpack://kkts-portal/./src/components/dashBoard/jobTable/components/KStatusChart/KStatusChart.vue","webpack://kkts-portal/./src/components/dashBoard/reloadButton/ReloadButton.vue?dd35","webpack://kkts-portal/./src/components/dashBoard/reloadButton/ReloadButton.vue?1409","webpack://kkts-portal/./src/components/dashBoard/reloadButton/ReloadButton.vue?e2ad","webpack://kkts-portal/./src/components/dashBoard/reloadButton/ReloadButton.vue","webpack://kkts-portal/./src/components/dashBoard/selectsFields/SelectFields.vue?21fb","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/DriversSelect/DriverBfixSelect.vue?2268","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/DriversSelect/DriverBfixSelect.vue?40e2","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/DriversSelect/DriverBfixSelect.vue?0e47","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/DriversSelect/DriverBfixSelect.vue","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/DriversSelect/DriversSelect.vue?9b9e","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/DriversSelect/DriversSelect.vue?186f","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/DriversSelect/DriversSelect.vue?ecb7","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/DriversSelect/DriversSelect.vue","webpack://kkts-portal/./src/components/dashBoard/selectsFields/SelectFields.vue?8838","webpack://kkts-portal/./src/components/dashBoard/selectsFields/SelectFields.vue?9657","webpack://kkts-portal/./src/components/dashBoard/selectsFields/SelectFields.vue","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/DateSelect/DateSelect.vue?d0b5","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/DateSelect/DateSelect.vue?d50e","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/DateSelect/DateSelect.vue?0ee3","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/DateSelect/DateSelect.vue","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/StateSelect/StateSelect.vue?5c84","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/StateSelect/StateSelect.vue?720a","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/StateSelect/StateSelect.vue?219a","webpack://kkts-portal/./src/components/dashBoard/selectsFields/components/StateSelect/StateSelect.vue","webpack://kkts-portal/./src/components/dashBoard/statusButtons/StatusButtons.vue?9569","webpack://kkts-portal/./src/components/dashBoard/statusButtons/components/statusButton/StatusButton.vue?11c0","webpack://kkts-portal/./src/components/dashBoard/statusButtons/components/statusButton/StatusButton.vue?796d","webpack://kkts-portal/./src/components/dashBoard/statusButtons/components/statusButton/StatusButton.vue?7116","webpack://kkts-portal/./src/components/dashBoard/statusButtons/components/statusButton/StatusButton.vue","webpack://kkts-portal/./src/components/dashBoard/statusButtons/StatusButtons.vue?e521","webpack://kkts-portal/./src/components/dashBoard/statusButtons/StatusButtons.vue?8947","webpack://kkts-portal/./src/components/dashBoard/statusButtons/StatusButtons.vue","webpack://kkts-portal/./src/components/fieldGroups/CustomerDetailsFieldGroup.vue?045c","webpack://kkts-portal/./src/components/fieldGroups/CustomerDetailsFieldGroup.vue?cafc","webpack://kkts-portal/./src/components/fieldGroups/CustomerDetailsFieldGroup.vue?244b","webpack://kkts-portal/./src/components/fieldGroups/CustomerDetailsFieldGroup.scss","webpack://kkts-portal/./src/components/fieldGroups/CustomerDetailsFieldGroup.vue","webpack://kkts-portal/./src/components/fields/AttachmentsField.vue?c876","webpack://kkts-portal/./src/components/fields/AttachmentsField.vue?dce3","webpack://kkts-portal/./src/components/fields/AttachmentsField.vue?ef26","webpack://kkts-portal/./src/components/fields/AttachmentsField.vue","webpack://kkts-portal/./src/components/forms/JobbookingCreateForm.vue?1aee","webpack://kkts-portal/./src/components/fieldsets/CustomerDetailsFieldset.vue?0f33","webpack://kkts-portal/./src/components/fieldsets/CustomerDetailsFieldset.vue?537c","webpack://kkts-portal/./src/components/fieldsets/CustomerDetailsFieldset.vue?0d3a","webpack://kkts-portal/./src/components/fieldsets/CustomerDetailsFieldset.vue","webpack://kkts-portal/./src/components/fieldsets/ChooseAddressFieldset.vue?6027","webpack://kkts-portal/./src/components/fieldsets/ChooseAddressStopFieldset.vue?463b","webpack://kkts-portal/./src/components/fields/CompanyNameComboboxField.vue?30b3","webpack://kkts-portal/./src/components/selectItems/NoDataSelectItem.vue?f6e7","webpack://kkts-portal/./src/components/selectItems/NoDataSelectItem.scss","webpack://kkts-portal/./src/components/selectItems/NoDataSelectItem.vue","webpack://kkts-portal/./src/components/selectItems/CommonSelectItem.vue?0382","webpack://kkts-portal/./src/components/selectItems/CommonSelectItem.scss","webpack://kkts-portal/./src/components/selectItems/CommonSelectItem.vue","webpack://kkts-portal/./src/helpers/validationRules.ts","webpack://kkts-portal/./src/components/fields/CompanyNameComboboxField.vue?5041","webpack://kkts-portal/./src/components/fields/CompanyNameComboboxField.vue?67ad","webpack://kkts-portal/./src/components/fields/CompanyNameComboboxField.vue","webpack://kkts-portal/./src/components/fields/StreetAddressTextField.vue?853e","webpack://kkts-portal/./src/components/fields/StreetAddressTextField.vue?e1d0","webpack://kkts-portal/./src/components/fields/StreetAddressTextField.vue?a4cd","webpack://kkts-portal/./src/components/fields/StreetAddressTextField.vue","webpack://kkts-portal/./src/components/fields/RoomLevelUnitTextField.vue?4ecf","webpack://kkts-portal/./src/components/fields/RoomLevelUnitTextField.vue?a68c","webpack://kkts-portal/./src/components/fields/RoomLevelUnitTextField.vue?0f2a","webpack://kkts-portal/./src/components/fields/RoomLevelUnitTextField.vue","webpack://kkts-portal/./src/components/fields/SuburbAutocompleteField.vue?6ca0","webpack://kkts-portal/./src/components/fields/SuburbAutocompleteField.vue?5c00","webpack://kkts-portal/./src/components/fields/SuburbAutocompleteField.vue?7f33","webpack://kkts-portal/./src/components/fields/SuburbAutocompleteField.scss","webpack://kkts-portal/./src/components/fields/SuburbAutocompleteField.vue","webpack://kkts-portal/./src/components/fields/ContactDetailsNoteNameTextField.vue?ff6e","webpack://kkts-portal/./src/components/fields/ContactDetailsNoteNameTextField.vue?8d48","webpack://kkts-portal/./src/components/fields/ContactDetailsNoteNameTextField.vue?e4c2","webpack://kkts-portal/./src/components/fields/ContactDetailsNoteNameTextField.vue","webpack://kkts-portal/./src/components/fields/ContactDetailsNotePhoneTextField.vue?0484","webpack://kkts-portal/./src/components/fields/ContactDetailsNotePhoneTextField.vue?ba6c","webpack://kkts-portal/./src/components/fields/ContactDetailsNotePhoneTextField.vue?c3a8","webpack://kkts-portal/./src/components/fields/ContactDetailsNotePhoneTextField.vue","webpack://kkts-portal/./src/components/fields/ContactDetailsNoteTextTextareaField.vue?3a6e","webpack://kkts-portal/./src/components/fields/ContactDetailsNoteTextTextareaField.vue?a672","webpack://kkts-portal/./src/components/fields/ContactDetailsNoteTextTextareaField.vue?d22b","webpack://kkts-portal/./src/components/fields/ContactDetailsNoteTextTextareaField.vue","webpack://kkts-portal/./src/components/fieldsets/AttributesFieldset.vue?d0ff","webpack://kkts-portal/./src/components/fields/AttributesAutocompleteField.vue?6964","webpack://kkts-portal/./src/components/fields/AttributesAutocompleteField.vue?6820","webpack://kkts-portal/./src/components/fields/AttributesAutocompleteField.vue?9baa","webpack://kkts-portal/./src/components/fields/AttributesAutocompleteField.scss","webpack://kkts-portal/./src/components/fields/AttributesAutocompleteField.vue","webpack://kkts-portal/./src/components/btns/AttributesTextBtn.vue?497e","webpack://kkts-portal/./src/components/btns/AttributesTextBtn.vue?d60c","webpack://kkts-portal/./src/components/btns/AttributesTextBtn.vue?04d1","webpack://kkts-portal/./src/components/btns/AttributesTextBtn.scss","webpack://kkts-portal/./src/components/btns/AttributesTextBtn.vue","webpack://kkts-portal/./src/components/fieldsets/AttributesFieldset.vue?a017","webpack://kkts-portal/./src/components/fieldsets/AttributesFieldset.vue?5694","webpack://kkts-portal/./src/components/fieldsets/AttributesFieldset.scss","webpack://kkts-portal/./src/components/fieldsets/AttributesFieldset.vue","webpack://kkts-portal/./src/components/fieldsets/DateTimesFieldset.vue?84c8","webpack://kkts-portal/./src/components/fields/TDatepickerDateField.vue?9fb1","webpack://kkts-portal/./src/components/fields/TDatepickerDateField.vue?53ff","webpack://kkts-portal/./src/components/fields/TDatepickerDateField.vue?7ed3","webpack://kkts-portal/./src/components/fields/TDatepickerDateField.vue","webpack://kkts-portal/./src/components/fields/TDatepickerTimeField.vue?4a48","webpack://kkts-portal/./src/components/fields/TDatepickerTimeField.vue?855d","webpack://kkts-portal/./src/components/fields/TDatepickerTimeField.vue?7e45","webpack://kkts-portal/./src/components/fields/TDatepickerTimeField.vue","webpack://kkts-portal/./src/components/fieldsets/DateTimesFieldset.vue?c7a7","webpack://kkts-portal/./src/components/fieldsets/DateTimesFieldset.vue?d5e8","webpack://kkts-portal/./src/components/fieldsets/DateTimesFieldset.scss","webpack://kkts-portal/./src/components/fieldsets/DateTimesFieldset.vue","webpack://kkts-portal/./src/components/fieldsets/ChooseAddressStopFieldset.vue?380b","webpack://kkts-portal/./src/components/fieldsets/ChooseAddressStopFieldset.vue?66d5","webpack://kkts-portal/./src/components/fieldsets/ChooseAddressStopFieldset.scss","webpack://kkts-portal/./src/components/fieldsets/ChooseAddressStopFieldset.vue","webpack://kkts-portal/./src/components/fieldsets/ChooseAddressFieldset.vue?08cf","webpack://kkts-portal/./src/components/fieldsets/ChooseAddressFieldset.vue?aad0","webpack://kkts-portal/./src/components/fieldsets/ChooseAddressFieldset.scss","webpack://kkts-portal/./src/components/fieldsets/ChooseAddressFieldset.vue","webpack://kkts-portal/./src/components/fieldsets/LegsFieldset.vue?249d","webpack://kkts-portal/./src/components/fieldsets/ProductsFieldset.vue?0c67","webpack://kkts-portal/./src/components/fields/ProductsModelComboboxField.vue?1944","webpack://kkts-portal/./src/components/fields/ProductsModelComboboxField.vue?2fc7","webpack://kkts-portal/./src/components/fields/ProductsModelComboboxField.vue?0695","webpack://kkts-portal/./src/components/fields/ProductsModelComboboxField.vue","webpack://kkts-portal/./src/components/fields/ProductsDescriptionTextField.vue?682b","webpack://kkts-portal/./src/components/fields/ProductsDescriptionTextField.vue?9ee3","webpack://kkts-portal/./src/components/fields/ProductsDescriptionTextField.vue?0986","webpack://kkts-portal/./src/components/fields/ProductsDescriptionTextField.vue","webpack://kkts-portal/./src/components/fields/ProductsSerialTextField.vue?931a","webpack://kkts-portal/./src/components/fields/ProductsSerialTextField.vue?1c1e","webpack://kkts-portal/./src/components/fields/ProductsSerialTextField.vue?0e90","webpack://kkts-portal/./src/components/fields/ProductsSerialTextField.vue","webpack://kkts-portal/./src/components/fields/ProductsQuantityNumberField.vue?e113","webpack://kkts-portal/./src/components/fields/ProductsQuantityNumberField.vue?599c","webpack://kkts-portal/./src/components/fields/ProductsQuantityNumberField.vue?0285","webpack://kkts-portal/./src/components/fields/ProductsQuantityNumberField.vue","webpack://kkts-portal/./src/components/fields/ProductsGoodsTypeAutocompleteField.vue?af09","webpack://kkts-portal/./src/components/fields/ProductsGoodsTypeAutocompleteField.vue?d430","webpack://kkts-portal/./src/components/fields/ProductsGoodsTypeAutocompleteField.vue?defb","webpack://kkts-portal/./src/components/fields/ProductsGoodsTypeAutocompleteField.vue","webpack://kkts-portal/./src/components/fields/ProductsCommonNumberField.vue?2acb","webpack://kkts-portal/./src/components/fields/ProductsCommonNumberField.vue?a6f5","webpack://kkts-portal/./src/components/fields/ProductsCommonNumberField.vue?447f","webpack://kkts-portal/./src/components/fields/ProductsCommonNumberField.vue","webpack://kkts-portal/./src/components/btns/LegsBlockBtn.vue?5762","webpack://kkts-portal/./src/components/btns/LegsBlockBtn.vue?221d","webpack://kkts-portal/./src/components/btns/LegsBlockBtn.vue?dbdf","webpack://kkts-portal/./src/components/btns/LegsBlockBtn.scss","webpack://kkts-portal/./src/components/btns/LegsBlockBtn.vue","webpack://kkts-portal/./src/components/btns/LegsSmallRoundBtn.vue?b49f","webpack://kkts-portal/./src/components/btns/LegsSmallRoundBtn.vue?306d","webpack://kkts-portal/./src/components/btns/LegsSmallRoundBtn.vue?bbde","webpack://kkts-portal/./src/components/btns/LegsSmallRoundBtn.scss","webpack://kkts-portal/./src/components/btns/LegsSmallRoundBtn.vue","webpack://kkts-portal/./src/components/fieldsets/ProductsFieldset.vue?8494","webpack://kkts-portal/./src/components/fieldsets/ProductsFieldset.vue?cf7c","webpack://kkts-portal/./src/components/fieldsets/ProductsFieldset.scss","webpack://kkts-portal/./src/components/fieldsets/ProductsFieldset.vue","webpack://kkts-portal/./src/components/fieldsets/ServiceCodesFieldset.vue?83cb","webpack://kkts-portal/./src/components/fields/ServiceCodesServiceAutocompleteField.vue?5712","webpack://kkts-portal/./src/components/fields/ServiceCodesServiceAutocompleteField.vue?990c","webpack://kkts-portal/./src/components/fields/ServiceCodesServiceAutocompleteField.vue?b832","webpack://kkts-portal/./src/components/fields/ServiceCodesServiceAutocompleteField.vue","webpack://kkts-portal/./src/components/fields/ServiceCodesQuantityNumberField.vue?2797","webpack://kkts-portal/./src/components/fields/ServiceCodesQuantityNumberField.vue?544a","webpack://kkts-portal/./src/components/fields/ServiceCodesQuantityNumberField.vue?8f88","webpack://kkts-portal/./src/components/fields/ServiceCodesQuantityNumberField.vue","webpack://kkts-portal/./src/components/fieldsets/ServiceCodesFieldset.vue?eec2","webpack://kkts-portal/./src/components/fieldsets/ServiceCodesFieldset.vue?9eb9","webpack://kkts-portal/./src/components/fieldsets/ServiceCodesFieldset.scss","webpack://kkts-portal/./src/components/fieldsets/ServiceCodesFieldset.vue","webpack://kkts-portal/./src/components/fieldsets/LegsFieldset.vue?75bf","webpack://kkts-portal/./src/components/fieldsets/LegsFieldset.vue?c37e","webpack://kkts-portal/./src/components/fieldsets/LegsFieldset.scss","webpack://kkts-portal/./src/components/fieldsets/LegsFieldset.vue","webpack://kkts-portal/./src/components/btns/JobbookingCreateSubmitBtn.vue?f9da","webpack://kkts-portal/./src/components/btns/JobbookingCreateSubmitBtn.vue?cafa","webpack://kkts-portal/./src/components/btns/JobbookingCreateSubmitBtn.vue?399e","webpack://kkts-portal/./src/components/btns/JobbookingCreateSubmitBtn.scss","webpack://kkts-portal/./src/components/btns/JobbookingCreateSubmitBtn.vue","webpack://kkts-portal/./src/components/forms/JobbookingCreateForm.vue?a2c2","webpack://kkts-portal/./src/components/forms/JobbookingCreateForm.vue?558f","webpack://kkts-portal/./src/components/forms/JobbookingCreateForm.vue","webpack://kkts-portal/./src/components/jobBooking/AdvancedJobBooking/LookupCustomerCode.vue?872f","webpack://kkts-portal/./src/components/jobBooking/AdvancedJobBooking/LookupCustomerCode.vue?8f95","webpack://kkts-portal/./src/components/jobBooking/AdvancedJobBooking/LookupCustomerCode.vue?32e6","webpack://kkts-portal/./src/components/jobBooking/AdvancedJobBooking/LookupCustomerCode.vue","webpack://kkts-portal/./src/components/jobBooking/DateTimes/DateTimes.vue?2e35","webpack://kkts-portal/./src/components/jobBooking/DateTimes/DateTimes.vue?f93a","webpack://kkts-portal/./src/components/jobBooking/DateTimes/DateTimes.vue?043a","webpack://kkts-portal/./src/components/jobBooking/DateTimes/DateTimes.vue","webpack://kkts-portal/./src/components/jobBooking/FileUploader/FileUploader.vue?15bd","webpack://kkts-portal/./src/components/jobBooking/FileUploader/FileUploader.vue?f068","webpack://kkts-portal/./src/components/jobBooking/FileUploader/FileUploader.vue?5db5","webpack://kkts-portal/./src/components/jobBooking/FileUploader/FileUploader.vue","webpack://kkts-portal/./src/components/jobBooking/Goods/Autocomplete.vue?c2c1","webpack://kkts-portal/./src/components/jobBooking/Goods/Autocomplete.vue?701a","webpack://kkts-portal/./src/components/jobBooking/Goods/Autocomplete.vue?38e5","webpack://kkts-portal/./src/components/jobBooking/Goods/Autocomplete.vue","webpack://kkts-portal/./src/components/jobBooking/Goods/AutocompleteFinisher.vue?e536","webpack://kkts-portal/./src/components/jobBooking/Goods/AutocompleteFinisher.vue?1d3c","webpack://kkts-portal/./src/components/jobBooking/Goods/AutocompleteFinisher.vue?0bf9","webpack://kkts-portal/./src/components/jobBooking/Goods/AutocompleteFinisher.vue","webpack://kkts-portal/./src/components/jobBooking/Header/Header.vue?2043","webpack://kkts-portal/./src/components/jobBooking/Header/Header.vue?8d8f","webpack://kkts-portal/./src/components/jobBooking/Header/Header.vue?4589","webpack://kkts-portal/./src/components/jobBooking/Header/Header.vue","webpack://kkts-portal/./src/components/jobDetailed/POD/POD.vue?a6df","webpack://kkts-portal/./src/components/jobDetailed/POD/POD.vue?8aa5","webpack://kkts-portal/./src/components/jobDetailed/POD/POD.vue?6bef","webpack://kkts-portal/./src/components/jobDetailed/POD/POD.vue","webpack://kkts-portal/./src/components/jobDetailed/StopDrawing/StopDrawing.vue?f957","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/StopCompleteDialog.vue?27c1","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/StopCompleteDialog.vue?26f4","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/StopCompleteDialog.vue?99fd","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/StopCompleteDialog.vue","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/StopCompleteLastStopDialog.vue?0378","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/StopCompleteLastStopDialog.vue?9bde","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/StopCompleteLastStopDialog.vue?f548","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/StopCompleteLastStopDialog.vue?d2ff","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/StopCompleteLastStopDialog.vue","webpack://kkts-portal/./src/components/jobDetailed/StopDrawing/StopDrawing.vue?1f0e","webpack://kkts-portal/./src/components/jobDetailed/StopDrawing/StopDrawing.vue?8e1c","webpack://kkts-portal/./src/components/jobDetailed/StopDrawing/StopDrawing.vue","webpack://kkts-portal/./src/components/jobDetailed/StopServices.vue?4068","webpack://kkts-portal/./src/components/jobDetailed/StopServices.vue?aa98","webpack://kkts-portal/./src/components/jobDetailed/StopServices.vue?2125","webpack://kkts-portal/./src/components/jobDetailed/StopServices.vue","webpack://kkts-portal/./src/components/jobDetailed/ZammadList.vue?ef98","webpack://kkts-portal/./src/components/jobDetailed/ZammadList.vue?e9e9","webpack://kkts-portal/./src/components/jobDetailed/ZammadList.vue?fb24","webpack://kkts-portal/./src/components/jobDetailed/ZammadList.vue","webpack://kkts-portal/./src/components/jobDetailed/ZammadTicket.vue?407c","webpack://kkts-portal/./src/components/UI/UserInfoCard.vue?aba0","webpack://kkts-portal/./src/components/UI/UserInfoCard.vue?28d0","webpack://kkts-portal/./src/components/UI/UserInfoCard.vue?2626","webpack://kkts-portal/./src/components/UI/UserInfoCard.vue","webpack://kkts-portal/./src/components/jobDetailed/ZammadTicketImgPlaceholder.vue?4fa0","webpack://kkts-portal/./src/components/jobDetailed/ZammadTicketImgPlaceholder.vue?719e","webpack://kkts-portal/./src/components/jobDetailed/ZammadTicketImgPlaceholder.vue?1988","webpack://kkts-portal/./src/components/jobDetailed/ZammadTicketImgPlaceholder.vue","webpack://kkts-portal/./src/components/jobDetailed/ZammadTicket.vue?6b19","webpack://kkts-portal/./src/components/jobDetailed/ZammadTicket.vue?908a","webpack://kkts-portal/./src/components/jobDetailed/ZammadTicket.vue","webpack://kkts-portal/./src/components/jobDetailed/ZammadTicketCreationForm.vue?394a","webpack://kkts-portal/./src/components/jobDetailed/ZammadTicketCreationForm.vue?9f67","webpack://kkts-portal/./src/components/jobDetailed/ZammadTicketCreationForm.vue?d2da","webpack://kkts-portal/./src/components/jobDetailed/ZammadTicketCreationForm.vue","webpack://kkts-portal/./src/components/scheduler/Card/SchedulerCard.vue?52d4","webpack://kkts-portal/./src/components/scheduler/Card/SchedulerCard.vue?7d7e","webpack://kkts-portal/./src/components/scheduler/Card/SchedulerCard.vue?ee75","webpack://kkts-portal/./src/components/scheduler/Card/SchedulerCard.vue","webpack://kkts-portal/./src/components/scheduler/DriversLookup.vue?347c","webpack://kkts-portal/./src/components/scheduler/DriversLookup.vue?1c2b","webpack://kkts-portal/./src/components/scheduler/DriversLookup.vue?a0df","webpack://kkts-portal/./src/components/scheduler/DriversLookup.vue","webpack://kkts-portal/./src/components/scheduler/LookupSuburb.vue?8cb1","webpack://kkts-portal/./src/components/scheduler/LookupSuburb.vue?c335","webpack://kkts-portal/./src/components/scheduler/LookupSuburb.vue?accc","webpack://kkts-portal/./src/components/scheduler/LookupSuburb.vue","webpack://kkts-portal/./src/components/searchPage/DatePicker.vue?0706","webpack://kkts-portal/./src/components/searchPage/DatePicker.vue?28a1","webpack://kkts-portal/./src/components/searchPage/DatePicker.vue?a4d6","webpack://kkts-portal/./src/components/searchPage/DatePicker.vue","webpack://kkts-portal/./src/components/searchPage/DateRangeCustom.vue?cf8c","webpack://kkts-portal/./src/components/searchPage/DateRangeCustom.vue?7b4a","webpack://kkts-portal/./src/components/searchPage/DateRangeCustom.vue?ff6a","webpack://kkts-portal/./src/components/searchPage/DateRangeCustom.vue","webpack://kkts-portal/./src/components/searchPage/Input.vue?e70d","webpack://kkts-portal/./src/components/searchPage/Input.vue?71f9","webpack://kkts-portal/./src/components/searchPage/Input.vue?0936","webpack://kkts-portal/./src/components/searchPage/Input.vue","webpack://kkts-portal/./src/components/searchPage/components/StateSelect/StateSelect.vue?09c7","webpack://kkts-portal/./src/components/searchPage/components/StateSelect/StateSelect.vue?33d0","webpack://kkts-portal/./src/components/searchPage/components/StateSelect/StateSelect.vue?61f9","webpack://kkts-portal/./src/components/searchPage/components/StateSelect/StateSelect.vue","webpack://kkts-portal/./src/layouts/DefaultLayout.vue?2033","webpack://kkts-portal/./src/components/sideMenu/SideMenu.vue?58c9","webpack://kkts-portal/./src/components/auth/LogoutBtn.vue?ca58","webpack://kkts-portal/./src/components/auth/LogoutBtn.vue?439a","webpack://kkts-portal/./src/components/auth/LogoutBtn.vue?4c0c","webpack://kkts-portal/./src/components/auth/LogoutBtn.vue","webpack://kkts-portal/./src/components/notificationsPanel/NotificationsPanel.vue?8f0f","webpack://kkts-portal/./src/components/notificationsPanel/NotificationsPanel.vue?bec6","webpack://kkts-portal/./src/components/notificationsPanel/NotificationsPanel.vue?c677","webpack://kkts-portal/./src/components/notificationsPanel/NotificationsPanel.vue","webpack://kkts-portal/./src/components/sideMenu/SideMenu.vue?a064","webpack://kkts-portal/./src/components/sideMenu/SideMenu.vue?5671","webpack://kkts-portal/./src/components/sideMenu/SideMenu.vue","webpack://kkts-portal/./src/components/UI/buttonToTop/ButtonToTop.vue?ebb1","webpack://kkts-portal/./src/components/UI/buttonToTop/ButtonToTop.vue?f463","webpack://kkts-portal/./src/components/UI/buttonToTop/ButtonToTop.vue?e967","webpack://kkts-portal/./src/components/UI/buttonToTop/ButtonToTop.vue","webpack://kkts-portal/./src/layouts/DefaultLayout.vue?1759","webpack://kkts-portal/./src/layouts/DefaultLayout.vue?43e9","webpack://kkts-portal/./src/layouts/DefaultLayout.vue","webpack://kkts-portal/./src/layouts/InitialLayout.vue?70fc","webpack://kkts-portal/./src/layouts/InitialLayout.vue?d51a","webpack://kkts-portal/./src/layouts/InitialLayout.vue?bb68","webpack://kkts-portal/./src/layouts/InitialLayout.vue","webpack://kkts-portal/./src/views/AirRoad/AirRoadBooked.vue?f733","webpack://kkts-portal/./src/components/airRoad/AirRoadJobsTable.vue?79b2","webpack://kkts-portal/./src/components/airRoad/AirRoadJobsTable.vue?15fd","webpack://kkts-portal/./src/components/airRoad/AirRoadJobsTable.vue?a768","webpack://kkts-portal/./src/components/airRoad/AirRoadJobsTable.vue","webpack://kkts-portal/./src/views/AirRoad/AirRoadBooked.vue?060f","webpack://kkts-portal/./src/views/AirRoad/AirRoadBooked.vue?9892","webpack://kkts-portal/./src/views/AirRoad/AirRoadBooked.vue","webpack://kkts-portal/./src/views/AirRoad/AirRoadJobs.vue?36d4","webpack://kkts-portal/./src/views/AirRoad/components/Header.vue?3b6f","webpack://kkts-portal/./src/views/AirRoad/components/Header.vue?9bf3","webpack://kkts-portal/./src/views/AirRoad/components/Header.vue?89bf","webpack://kkts-portal/./src/views/AirRoad/components/Header.vue","webpack://kkts-portal/./src/views/AirRoad/components/Filters.vue?c5c8","webpack://kkts-portal/./src/views/AirRoad/components/Filters.vue?c67b","webpack://kkts-portal/./src/views/AirRoad/components/Filters.vue?e32a","webpack://kkts-portal/./src/views/AirRoad/components/Filters.vue","webpack://kkts-portal/./src/views/AirRoad/components/JobsTable.vue?356f","webpack://kkts-portal/./src/components/UI/TableList.vue?6ccb","webpack://kkts-portal/./src/components/UI/TableList.vue?2827","webpack://kkts-portal/./src/components/UI/TableList.vue?dab1","webpack://kkts-portal/./src/components/UI/TableList.vue","webpack://kkts-portal/./src/views/AirRoad/components/JobsTable.vue?1bc2","webpack://kkts-portal/./src/views/AirRoad/components/JobsTable.vue?1c20","webpack://kkts-portal/./src/views/AirRoad/components/JobsTable.vue","webpack://kkts-portal/./src/views/AirRoad/components/LegChoose.vue?ef9f","webpack://kkts-portal/./src/views/AirRoad/components/LegChoose.vue?9366","webpack://kkts-portal/./src/views/AirRoad/components/LegChoose.vue?bfee","webpack://kkts-portal/./src/views/AirRoad/components/LegChoose.vue","webpack://kkts-portal/./src/views/AirRoad/components/PackageStep.vue?9730","webpack://kkts-portal/./src/views/AirRoad/components/PackageStep.vue?193b","webpack://kkts-portal/./src/views/AirRoad/components/PackageStep.vue?364e","webpack://kkts-portal/./src/views/AirRoad/components/PackageStep.vue","webpack://kkts-portal/./src/views/AirRoad/components/Services.vue?edd4","webpack://kkts-portal/./src/views/AirRoad/components/ServicesForm.vue?e797","webpack://kkts-portal/./src/views/AirRoad/components/ServicesForm.vue?b503","webpack://kkts-portal/./src/views/AirRoad/components/ServicesForm.vue?6604","webpack://kkts-portal/./src/views/AirRoad/components/ServicesForm.vue","webpack://kkts-portal/./src/views/AirRoad/components/Services.vue?5157","webpack://kkts-portal/./src/views/AirRoad/components/Services.vue?dc5f","webpack://kkts-portal/./src/views/AirRoad/components/Services.vue","webpack://kkts-portal/./src/views/AirRoad/components/ConfirmStep.vue?865e","webpack://kkts-portal/./src/views/AirRoad/components/ConfirmStep.vue?e48a","webpack://kkts-portal/./src/views/AirRoad/components/ConfirmStep.vue?ddce","webpack://kkts-portal/./src/views/AirRoad/components/ConfirmStep.vue","webpack://kkts-portal/./src/views/AirRoad/components/PendingStep.vue?71df","webpack://kkts-portal/./src/views/AirRoad/components/PendingStep.vue?6ed9","webpack://kkts-portal/./src/views/AirRoad/components/PendingStep.vue?a2ff","webpack://kkts-portal/./src/views/AirRoad/components/PendingStep.vue","webpack://kkts-portal/./src/views/AirRoad/AirRoadJobs.vue?5db2","webpack://kkts-portal/./src/views/AirRoad/AirRoadJobs.vue?15c9","webpack://kkts-portal/./src/views/AirRoad/AirRoadJobs.vue","webpack://kkts-portal/./src/views/BfixDashboard/BfixDash.vue?340d","webpack://kkts-portal/./src/components/dashBoard/jobBfixTable/JobBfixTable.vue?dd53","webpack://kkts-portal/./src/components/dashBoard/jobBfixTable/JobBfixTable.vue?b9c9","webpack://kkts-portal/./src/components/dashBoard/jobBfixTable/JobBfixTable.vue?cfd3","webpack://kkts-portal/./src/components/dashBoard/jobBfixTable/JobBfixTable.vue","webpack://kkts-portal/./src/views/BfixDashboard/BfixDash.vue?6ec9","webpack://kkts-portal/./src/views/BfixDashboard/BfixDash.vue?16d7","webpack://kkts-portal/./src/views/BfixDashboard/BfixDash.vue","webpack://kkts-portal/./src/views/Dashboard/Dashboard.vue?6c23","webpack://kkts-portal/./src/components/dashBoard/filtersBar/FiltersBar.vue?db8c","webpack://kkts-portal/./src/components/dashBoard/filtersBar/FiltersBar.vue?5daf","webpack://kkts-portal/./src/components/dashBoard/filtersBar/FiltersBar.vue?0f9c","webpack://kkts-portal/./src/components/dashBoard/filtersBar/FiltersBar.vue","webpack://kkts-portal/./src/components/dashBoard/requestForChangeIndicator/RequestForChangeIndicator.vue?a184","webpack://kkts-portal/./src/components/dashBoard/requestForChangeIndicator/RequestForChangeIndicator.vue?5e6f","webpack://kkts-portal/./src/components/dashBoard/requestForChangeIndicator/RequestForChangeIndicator.vue?ed0a","webpack://kkts-portal/./src/components/dashBoard/requestForChangeIndicator/RequestForChangeIndicator.vue","webpack://kkts-portal/./src/components/UI/CounterWithIcon.vue?c56e","webpack://kkts-portal/./src/components/UI/CounterWithIcon.vue?4dad","webpack://kkts-portal/./src/components/UI/CounterWithIcon.vue?5461","webpack://kkts-portal/./src/components/UI/CounterWithIcon.vue","webpack://kkts-portal/./src/views/Dashboard/Dashboard.vue?d055","webpack://kkts-portal/./src/views/Dashboard/Dashboard.vue?e040","webpack://kkts-portal/./src/views/Dashboard/Dashboard.vue","webpack://kkts-portal/./src/views/Errors.vue?4cee","webpack://kkts-portal/./src/views/Errors.vue?032b","webpack://kkts-portal/./src/views/Errors.vue?c2c6","webpack://kkts-portal/./src/views/Errors.vue","webpack://kkts-portal/./src/views/Homepage/HomePage.vue?280a","webpack://kkts-portal/./src/views/Homepage/HomePage.vue?93a7","webpack://kkts-portal/./src/views/Homepage/HomePage.vue?3744","webpack://kkts-portal/./src/views/Homepage/HomePage.vue","webpack://kkts-portal/./src/views/JobBooking/CloneJobbookingView.vue?9102","webpack://kkts-portal/./src/views/JobBooking/CloneJobbookingView.vue?63e7","webpack://kkts-portal/./src/views/JobBooking/CloneJobbookingView.vue?cfae","webpack://kkts-portal/./src/views/JobBooking/CloneJobbookingView.vue","webpack://kkts-portal/./src/views/JobBooking/Drafts/Drafts.vue?584b","webpack://kkts-portal/./src/views/JobBooking/Drafts/Drafts.vue?8f74","webpack://kkts-portal/./src/views/JobBooking/Drafts/Drafts.vue?fc55","webpack://kkts-portal/./src/views/JobBooking/Drafts/Drafts.vue","webpack://kkts-portal/./src/views/JobBooking/JobBooking.vue?17ba","webpack://kkts-portal/./src/components/jobBooking/pageCard/PageCard.vue?bc27","webpack://kkts-portal/./src/components/jobBooking/pageCard/PageCard.vue?4c99","webpack://kkts-portal/./src/components/jobBooking/pageCard/PageCard.vue?dfed","webpack://kkts-portal/./src/components/jobBooking/pageCard/PageCard.vue","webpack://kkts-portal/./src/views/JobBooking/JobBooking.vue?d63e","webpack://kkts-portal/./src/views/JobBooking/JobBooking.vue?89fa","webpack://kkts-portal/./src/views/JobBooking/JobBooking.vue","webpack://kkts-portal/./src/views/JobBooking/JobBookingAdvanced/JobBookingAdvanced.vue?8279","webpack://kkts-portal/./src/components/jobBooking/DeliveryDetails/DeliveryDetails.vue?e77e","webpack://kkts-portal/./src/components/jobBooking/DeliveryDetails/DeliveryDetails.vue?31de","webpack://kkts-portal/./src/components/jobBooking/DeliveryDetails/DeliveryDetails.vue?3371","webpack://kkts-portal/./src/components/jobBooking/DeliveryDetails/DeliveryDetails.vue","webpack://kkts-portal/./src/components/jobBooking/Goods/Goods.vue?baed","webpack://kkts-portal/./src/components/jobBooking/Goods/Goods.vue?834e","webpack://kkts-portal/./src/components/jobBooking/Goods/Goods.vue?6f6d","webpack://kkts-portal/./src/components/jobBooking/Goods/Goods.vue","webpack://kkts-portal/./src/views/JobBooking/JobBookingAdvanced/JobBookingAdvanced.vue?5914","webpack://kkts-portal/./src/views/JobBooking/JobBookingAdvanced/JobBookingAdvanced.vue?222d","webpack://kkts-portal/./src/views/JobBooking/JobBookingAdvanced/JobBookingAdvanced.vue","webpack://kkts-portal/./src/views/JobBooking/JobBookingAdvanced/JobBookingWarehouseToWarehouse.vue?ac46","webpack://kkts-portal/./src/components/jobBooking/Goods/ProductsWarehouse.vue?7e65","webpack://kkts-portal/./src/components/jobBooking/Goods/ProductsWarehouse.vue?c764","webpack://kkts-portal/./src/components/jobBooking/Goods/ProductsWarehouse.vue?6c9d","webpack://kkts-portal/./src/components/jobBooking/Goods/ProductsWarehouse.vue","webpack://kkts-portal/./src/views/JobBooking/JobBookingAdvanced/JobBookingWarehouseFieldSet.vue?7970","webpack://kkts-portal/./src/views/JobBooking/JobBookingAdvanced/JobBookingWarehouseFieldSet.vue?c1cc","webpack://kkts-portal/./src/views/JobBooking/JobBookingAdvanced/JobBookingWarehouseFieldSet.vue?894b","webpack://kkts-portal/./src/views/JobBooking/JobBookingAdvanced/JobBookingWarehouseFieldSet.vue","webpack://kkts-portal/./src/views/JobBooking/JobBookingAdvanced/JobBookingWarehouseToWarehouse.vue?8417","webpack://kkts-portal/./src/views/JobBooking/JobBookingAdvanced/JobBookingWarehouseToWarehouse.vue?c159","webpack://kkts-portal/./src/views/JobBooking/JobBookingAdvanced/JobBookingWarehouseToWarehouse.vue","webpack://kkts-portal/./src/views/JobBooking/JobBookingGeneral.vue?acb2","webpack://kkts-portal/./src/components/UI/PageTabs.vue?adac","webpack://kkts-portal/./src/components/UI/PageTabs.vue?7ac6","webpack://kkts-portal/./src/components/UI/PageTabs.vue?4c7f","webpack://kkts-portal/./src/components/UI/PageTabs.vue","webpack://kkts-portal/./src/components/UI/BookingHeader.vue?80c7","webpack://kkts-portal/./src/components/UI/BookingHeader.vue?895d","webpack://kkts-portal/./src/components/UI/BookingHeader.vue?6905","webpack://kkts-portal/./src/components/UI/BookingHeader.vue","webpack://kkts-portal/./src/views/JobBooking/JobBookingGeneral.vue?ac07","webpack://kkts-portal/./src/views/JobBooking/JobBookingGeneral.vue?c5bf","webpack://kkts-portal/./src/views/JobBooking/JobBookingGeneral.vue","webpack://kkts-portal/./src/views/JobBooking/JobBookingSiteInspection/JobBookingSiteInspection.vue?bcec","webpack://kkts-portal/./src/views/JobBooking/JobBookingSiteInspection/JobBookingSiteInspection.vue?aeb7","webpack://kkts-portal/./src/views/JobBooking/JobBookingSiteInspection/JobBookingSiteInspection.vue?3be5","webpack://kkts-portal/./src/views/JobBooking/JobBookingSiteInspection/JobBookingSiteInspection.vue","webpack://kkts-portal/./src/views/JobBooking/JobCompliance.vue?8de5","webpack://kkts-portal/./src/components/jobBooking/JobComplianceModal.vue?fb56","webpack://kkts-portal/./src/components/UI/LookupProductModel.vue?560b","webpack://kkts-portal/./src/components/UI/LookupProductModel.vue?09d0","webpack://kkts-portal/./src/components/UI/LookupProductModel.vue?c396","webpack://kkts-portal/./src/components/UI/LookupProductModel.vue","webpack://kkts-portal/./src/components/UI/LookupServices.vue?4b4e","webpack://kkts-portal/./src/components/UI/LookupServices.vue?9e68","webpack://kkts-portal/./src/components/UI/LookupServices.vue?a01a","webpack://kkts-portal/./src/components/UI/LookupServices.vue","webpack://kkts-portal/./src/components/UI/LookupDriver.vue?933a","webpack://kkts-portal/./src/components/UI/LookupDriver.vue?b3f1","webpack://kkts-portal/./src/components/UI/LookupDriver.vue?e588","webpack://kkts-portal/./src/components/UI/LookupDriver.vue","webpack://kkts-portal/./src/components/UI/LookupProductTypes.vue?8405","webpack://kkts-portal/./src/components/UI/LookupProductTypes.vue?2a04","webpack://kkts-portal/./src/components/UI/LookupProductTypes.vue?7b02","webpack://kkts-portal/./src/components/UI/LookupProductTypes.vue","webpack://kkts-portal/./src/components/UI/LookupProductPrefix.vue?af50","webpack://kkts-portal/./src/components/UI/LookupProductPrefix.vue?d5ba","webpack://kkts-portal/./src/components/UI/LookupProductPrefix.vue?2299","webpack://kkts-portal/./src/components/UI/LookupProductPrefix.vue","webpack://kkts-portal/./src/components/UI/SelectAttributes.vue?8fe6","webpack://kkts-portal/./src/components/UI/SelectAttributes.vue?37b2","webpack://kkts-portal/./src/components/UI/SelectAttributes.vue?9a4d","webpack://kkts-portal/./src/components/UI/SelectAttributes.vue","webpack://kkts-portal/./src/components/UI/SectionEditPlaceholder.vue?1b20","webpack://kkts-portal/./src/components/UI/SectionEditPlaceholder.vue?65a4","webpack://kkts-portal/./src/components/UI/SectionEditPlaceholder.vue?cc6e","webpack://kkts-portal/./src/components/UI/SectionEditPlaceholder.vue","webpack://kkts-portal/./src/components/jobBooking/JobActions/SplitToBase.vue?3256","webpack://kkts-portal/./src/components/jobBooking/JobActions/SplitToBase.vue?1649","webpack://kkts-portal/./src/components/jobBooking/JobActions/SplitToBase.vue?f769","webpack://kkts-portal/./src/components/jobBooking/JobActions/SplitToBase.vue","webpack://kkts-portal/./src/components/jobBooking/JobActions/Add3rdStop.vue?eb13","webpack://kkts-portal/./src/components/jobBooking/JobActions/Add3rdStop.vue?91ef","webpack://kkts-portal/./src/components/jobBooking/JobActions/Add3rdStop.vue?0986","webpack://kkts-portal/./src/components/jobBooking/JobActions/Add3rdStop.vue","webpack://kkts-portal/./src/components/jobBooking/JobActions/Remove3rdStop.vue?3fd8","webpack://kkts-portal/./src/components/jobBooking/JobActions/Remove3rdStop.vue?acc1","webpack://kkts-portal/./src/components/jobBooking/JobActions/Remove3rdStop.vue?9221","webpack://kkts-portal/./src/components/jobBooking/JobActions/Remove3rdStop.vue","webpack://kkts-portal/./src/components/jobBooking/JobActions/AddStairsService.vue?8e3e","webpack://kkts-portal/./src/components/jobBooking/JobActions/AddStairsService.vue?7b89","webpack://kkts-portal/./src/components/jobBooking/JobActions/AddStairsService.vue?8925","webpack://kkts-portal/./src/components/jobBooking/JobActions/AddStairsService.vue","webpack://kkts-portal/./src/components/jobBooking/JobActions/JobCancel.vue?c82e","webpack://kkts-portal/./src/components/jobBooking/JobActions/JobCancel.vue?f3c4","webpack://kkts-portal/./src/components/jobBooking/JobActions/JobCancel.vue?9315","webpack://kkts-portal/./src/components/jobBooking/JobActions/JobCancel.vue","webpack://kkts-portal/./src/components/jobBooking/JobActions/JobCloseAsFutile.vue?668e","webpack://kkts-portal/./src/components/jobBooking/JobActions/JobCloseAsFutile.vue?ee7b","webpack://kkts-portal/./src/components/jobBooking/JobActions/JobCloseAsFutile.vue?9f22","webpack://kkts-portal/./src/components/jobBooking/JobActions/JobCloseAsFutile.vue","webpack://kkts-portal/./src/components/fields/JobAttachmentsField.vue?e530","webpack://kkts-portal/./src/components/fields/JobAttachmentsField.vue?c0d1","webpack://kkts-portal/./src/components/fields/JobAttachmentsField.vue?4dfa","webpack://kkts-portal/./src/components/fields/JobAttachmentsField.vue","webpack://kkts-portal/./src/components/jobBooking/JobComplianceModal.vue?a8ee","webpack://kkts-portal/./src/components/jobBooking/JobComplianceModal.vue?5983","webpack://kkts-portal/./src/components/jobBooking/JobComplianceModal.vue","webpack://kkts-portal/./src/components/jobBooking/AddRolledServiceCodeDialog.vue?32ce","webpack://kkts-portal/./src/components/jobBooking/AddRolledServiceCodeDialog.vue?0f05","webpack://kkts-portal/./src/components/jobBooking/AddRolledServiceCodeDialog.vue?4d93","webpack://kkts-portal/./src/components/jobBooking/AddRolledServiceCodeDialog.vue","webpack://kkts-portal/./src/views/JobBooking/JobCompliance.vue?3c46","webpack://kkts-portal/./src/views/JobBooking/JobCompliance.vue?7a13","webpack://kkts-portal/./src/views/JobBooking/JobCompliance.vue","webpack://kkts-portal/./src/views/JobBooking/NewJobbookingView.vue?fd53","webpack://kkts-portal/./src/views/JobBooking/NewJobbookingView.vue?e275","webpack://kkts-portal/./src/views/JobBooking/NewJobbookingView.vue?b7be","webpack://kkts-portal/./src/views/JobBooking/NewJobbookingView.vue","webpack://kkts-portal/./src/views/JobBooking/SpreadSheet/SpreadSheet.vue?22e5","webpack://kkts-portal/./src/views/JobBooking/SpreadSheet/SpreadSheet.vue?e8f1","webpack://kkts-portal/./src/views/JobBooking/SpreadSheet/SpreadSheet.vue?0a86","webpack://kkts-portal/./src/views/JobBooking/SpreadSheet/SpreadSheet.vue","webpack://kkts-portal/./src/views/JobBooking/SpreadSheet/SpreadSheetB2B.vue?ac1c","webpack://kkts-portal/./src/views/JobBooking/SpreadSheet/SpreadSheetB2B.vue?77e1","webpack://kkts-portal/./src/views/JobBooking/SpreadSheet/SpreadSheetB2B.vue?8b72","webpack://kkts-portal/./src/views/JobBooking/SpreadSheet/SpreadSheetB2B.vue","webpack://kkts-portal/./src/views/JobDetailed/JobDetailed.vue?ad68","webpack://kkts-portal/./src/components/jobDetailed/Header/Header.vue?fe81","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/SplitToBaseDialog.vue?043b","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/SplitToBaseDialog.vue?ff83","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/SplitToBaseDialog.vue?ff87","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/SplitToBaseDialog.vue?ab96","webpack://kkts-portal/./src/components/jobDetailed/StopCompleteDialog/SplitToBaseDialog.vue","webpack://kkts-portal/./src/components/jobDetailed/Header/Header.vue?8fa0","webpack://kkts-portal/./src/components/jobDetailed/Header/Header.vue?b968","webpack://kkts-portal/./src/components/jobDetailed/Header/Header.vue","webpack://kkts-portal/./src/components/jobDetailed/Messages/Messages.vue?9717","webpack://kkts-portal/./src/components/jobDetailed/Messages/Messages.vue?6bc6","webpack://kkts-portal/./src/components/jobDetailed/Messages/Messages.vue?80d7","webpack://kkts-portal/./src/components/jobDetailed/Messages/Messages.vue","webpack://kkts-portal/./src/components/jobDetailed/Note/Note.vue?cd8d","webpack://kkts-portal/./src/components/jobDetailed/Note/Note.vue?8e7c","webpack://kkts-portal/./src/components/jobDetailed/Note/Note.vue?1fc0","webpack://kkts-portal/./src/components/jobDetailed/Note/Note.vue","webpack://kkts-portal/./src/components/jobDetailed/Products/Products.vue?b881","webpack://kkts-portal/./src/components/jobDetailed/Products/Products.vue?0090","webpack://kkts-portal/./src/components/jobDetailed/Products/Products.vue?562b","webpack://kkts-portal/./src/components/jobDetailed/Products/Products.vue","webpack://kkts-portal/./src/components/jobDetailed/Stop/Stop.vue?d699","webpack://kkts-portal/./src/components/jobDetailed/Stop/Stop.vue?0ef0","webpack://kkts-portal/./src/components/jobDetailed/Stop/Stop.vue?495f","webpack://kkts-portal/./src/components/jobDetailed/Stop/Stop.vue","webpack://kkts-portal/./src/components/jobDetailed/AirRoad/AirRoadJobsDetailed.vue?5e49","webpack://kkts-portal/./src/components/jobDetailed/AirRoad/AirRoadJobsDetailed.vue?596b","webpack://kkts-portal/./src/components/jobDetailed/AirRoad/AirRoadJobsDetailed.vue?20e7","webpack://kkts-portal/./src/components/jobDetailed/AirRoad/AirRoadJobsDetailed.vue","webpack://kkts-portal/./src/views/JobDetailed/JobDetailed.vue?d17a","webpack://kkts-portal/./src/views/JobDetailed/JobDetailed.vue?d1d7","webpack://kkts-portal/./src/views/JobDetailed/JobDetailed.vue","webpack://kkts-portal/./src/views/JobDetailed/JobHistory.vue?0ac7","webpack://kkts-portal/./src/views/JobDetailed/JobHistory.vue?057f","webpack://kkts-portal/./src/views/JobDetailed/JobHistory.vue?1936","webpack://kkts-portal/./src/views/JobDetailed/JobHistory.vue","webpack://kkts-portal/./src/views/JobDetailed/ZammadTicketPage.vue?8a27","webpack://kkts-portal/./src/components/jobDetailed/zammadTicketPage/headerItems/AffiliatedJobsHeaderItem.vue?2341","webpack://kkts-portal/./src/components/jobDetailed/zammadTicketPage/AffiliatedJobsDialogLink.vue?cacc","webpack://kkts-portal/./src/components/dialogs/AffiliatedJobsPreviewJobDialog.vue?65a6","webpack://kkts-portal/./src/components/windows/TooltipWindow.vue?c907","webpack://kkts-portal/./src/components/windows/TooltipWindow.vue","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobHeader.vue?4819","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobHeader.vue?5d4f","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobHeader.vue?f9e0","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobHeader.vue","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobLoadBody.vue?a4bf","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobBody.vue?712b","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobStopDrawing.vue?95fb","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobStopDrawing.vue?7e5c","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobStopDrawing.vue?78fa","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobStopDrawing.vue","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobBody.vue?da8f","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobBody.vue?9676","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobBody.vue","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobLoadBody.vue?7a97","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobLoadBody.vue?4ce5","webpack://kkts-portal/./src/components/jobDetailed/previewJob/PreviewJobLoadBody.vue","webpack://kkts-portal/./src/components/dialogs/AffiliatedJobsPreviewJobDialog.vue?736e","webpack://kkts-portal/./src/components/dialogs/AffiliatedJobsPreviewJobDialog.vue?d5f2","webpack://kkts-portal/./src/components/dialogs/AffiliatedJobsPreviewJobDialog.scss","webpack://kkts-portal/./src/components/dialogs/AffiliatedJobsPreviewJobDialog.vue","webpack://kkts-portal/./src/components/jobDetailed/zammadTicketPage/AffiliatedJobsDialogLink.vue?5a9d","webpack://kkts-portal/./src/components/jobDetailed/zammadTicketPage/AffiliatedJobsDialogLink.vue?0a1b","webpack://kkts-portal/./src/components/jobDetailed/zammadTicketPage/AffiliatedJobsDialogLink.vue","webpack://kkts-portal/./src/components/jobDetailed/zammadTicketPage/AffiliatedJobsTooltipLink.vue?fdb3","webpack://kkts-portal/./src/components/jobDetailed/zammadTicketPage/AffiliatedJobsTooltipLink.vue?629f","webpack://kkts-portal/./src/components/jobDetailed/zammadTicketPage/AffiliatedJobsTooltipLink.vue?84cf","webpack://kkts-portal/./src/components/jobDetailed/zammadTicketPage/AffiliatedJobsTooltipLink.scss","webpack://kkts-portal/./src/components/jobDetailed/zammadTicketPage/AffiliatedJobsTooltipLink.vue","webpack://kkts-portal/./src/components/jobDetailed/zammadTicketPage/headerItems/AffiliatedJobsHeaderItem.vue?21c6","webpack://kkts-portal/./src/components/jobDetailed/zammadTicketPage/headerItems/AffiliatedJobsHeaderItem.vue?76df","webpack://kkts-portal/./src/components/jobDetailed/zammadTicketPage/headerItems/AffiliatedJobsHeaderItem.vue","webpack://kkts-portal/./src/views/JobDetailed/ZammadTicketPage.vue?83cf","webpack://kkts-portal/./src/views/JobDetailed/ZammadTicketPage.vue?5a1c","webpack://kkts-portal/./src/views/JobDetailed/ZammadTicketPage.vue","webpack://kkts-portal/./src/views/JobbookingView.vue?ba2f","webpack://kkts-portal/./src/views/JobbookingView.vue?87a0","webpack://kkts-portal/./src/views/JobbookingView.vue?adb5","webpack://kkts-portal/./src/views/JobbookingView.scss","webpack://kkts-portal/./src/views/JobbookingView.vue","webpack://kkts-portal/./src/views/JobsBooked/JobsBooked.vue?1159","webpack://kkts-portal/./src/views/JobsBooked/JobsBooked.vue?5cd0","webpack://kkts-portal/./src/views/JobsBooked/JobsBooked.vue?c4c8","webpack://kkts-portal/./src/views/JobsBooked/JobsBooked.vue","webpack://kkts-portal/./src/views/Location/DatePicker.vue?6ef1","webpack://kkts-portal/./src/views/Location/DatePicker.vue?e299","webpack://kkts-portal/./src/views/Location/DatePicker.vue?9d10","webpack://kkts-portal/./src/views/Location/DatePicker.vue","webpack://kkts-portal/./src/views/Location/Location.vue?ecdc","webpack://kkts-portal/./src/views/Location/DriverByDayLookup.vue?c5c6","webpack://kkts-portal/./src/views/Location/DriverByDayLookup.vue?c1a0","webpack://kkts-portal/./src/views/Location/DriverByDayLookup.vue?451c","webpack://kkts-portal/./src/views/Location/DriverByDayLookup.vue","webpack://kkts-portal/./src/views/Location/Location.vue?68ba","webpack://kkts-portal/./src/views/Location/Location.vue?7fb2","webpack://kkts-portal/./src/views/Location/Location.vue","webpack://kkts-portal/./src/views/Location/NextDayMap.vue?c109","webpack://kkts-portal/./src/views/Location/NextDayMap.vue?9137","webpack://kkts-portal/./src/views/Location/NextDayMap.vue?6963","webpack://kkts-portal/./src/views/Location/NextDayMap.vue","webpack://kkts-portal/./src/views/Login.vue?16ba","webpack://kkts-portal/./src/views/Login.vue?e010","webpack://kkts-portal/./src/views/Login.vue?7926","webpack://kkts-portal/./src/views/Login.vue","webpack://kkts-portal/./src/views/NewQuote/NewQuote.vue?36f4","webpack://kkts-portal/./src/components/newQuote/deliveryDetails/DeliveryDetails.vue?c7c8","webpack://kkts-portal/./src/components/newQuote/deliveryDetails/components/Autocomplete.vue?b92b","webpack://kkts-portal/./src/components/newQuote/deliveryDetails/components/Autocomplete.vue?020a","webpack://kkts-portal/./src/components/newQuote/deliveryDetails/components/Autocomplete.vue?1f9f","webpack://kkts-portal/./src/components/newQuote/deliveryDetails/components/Autocomplete.vue","webpack://kkts-portal/./src/components/newQuote/deliveryDetails/DeliveryDetails.vue?3449","webpack://kkts-portal/./src/components/newQuote/deliveryDetails/DeliveryDetails.vue?905d","webpack://kkts-portal/./src/components/newQuote/deliveryDetails/DeliveryDetails.vue","webpack://kkts-portal/./src/components/newQuote/goods/Goods.vue?37fb","webpack://kkts-portal/./src/components/newQuote/goods/Goods.vue?58db","webpack://kkts-portal/./src/components/newQuote/goods/Goods.vue?edaf","webpack://kkts-portal/./src/components/newQuote/goods/Goods.vue","webpack://kkts-portal/./src/components/newQuote/showInstructions/ShowInstructions.vue?0e8f","webpack://kkts-portal/./src/components/newQuote/showInstructions/ShowInstructions.vue?ca36","webpack://kkts-portal/./src/components/newQuote/showInstructions/ShowInstructions.vue?a19f","webpack://kkts-portal/./src/components/newQuote/showInstructions/ShowInstructions.vue","webpack://kkts-portal/./src/views/NewQuote/NewQuote.vue?ed22","webpack://kkts-portal/./src/views/NewQuote/NewQuote.vue?1308","webpack://kkts-portal/./src/views/NewQuote/NewQuote.vue","webpack://kkts-portal/./src/views/Profile/Profile.vue?5606","webpack://kkts-portal/./src/views/Profile/Profile.vue?e36a","webpack://kkts-portal/./src/views/Profile/Profile.vue?05ec","webpack://kkts-portal/./src/views/Profile/Profile.vue","webpack://kkts-portal/./src/views/Quotes/Quotes.vue?9278","webpack://kkts-portal/./src/views/Quotes/Quotes.vue?375c","webpack://kkts-portal/./src/views/Quotes/Quotes.vue?32e7","webpack://kkts-portal/./src/views/Quotes/Quotes.vue","webpack://kkts-portal/./src/views/QuotesDetailed/QuotesDetailed.vue?ac3a","webpack://kkts-portal/./src/views/QuotesDetailed/QuotesDetailed.vue?4013","webpack://kkts-portal/./src/views/QuotesDetailed/QuotesDetailed.vue?02d7","webpack://kkts-portal/./src/views/QuotesDetailed/QuotesDetailed.vue","webpack://kkts-portal/./src/views/Reports/BulkReports/BulkReports.vue?084c","webpack://kkts-portal/./src/views/Reports/BulkReports/BulkReports.vue?aca3","webpack://kkts-portal/./src/views/Reports/BulkReports/BulkReports.vue?02f9","webpack://kkts-portal/./src/views/Reports/BulkReports/BulkReports.vue","webpack://kkts-portal/./src/views/Reports/DailyJobs/DailyJobs.vue?ca96","webpack://kkts-portal/./src/views/Reports/DailyJobs/DailyJobs.vue?25f9","webpack://kkts-portal/./src/views/Reports/DailyJobs/DailyJobs.vue?3368","webpack://kkts-portal/./src/views/Reports/DailyJobs/DailyJobs.vue","webpack://kkts-portal/./src/views/Reports/Driver/Driver.vue?b2bc","webpack://kkts-portal/./src/views/Reports/Driver/Driver.vue?7023","webpack://kkts-portal/./src/views/Reports/Driver/Driver.vue?b777","webpack://kkts-portal/./src/views/Reports/Driver/Driver.vue","webpack://kkts-portal/./src/views/Reports/ETAReport/ETA.vue?a33e","webpack://kkts-portal/./src/views/Reports/ETAReport/ETA.vue?9c80","webpack://kkts-portal/./src/views/Reports/ETAReport/ETA.vue?a147","webpack://kkts-portal/./src/views/Reports/ETAReport/ETA.vue","webpack://kkts-portal/./src/views/Reports/KPI/KPI.vue?1d03","webpack://kkts-portal/./src/views/Reports/KPI/KPI.vue?3ead","webpack://kkts-portal/./src/views/Reports/KPI/KPI.vue?e612","webpack://kkts-portal/./src/views/Reports/KPI/KPI.vue","webpack://kkts-portal/./src/views/Reports/RunSheet/RunSheet.vue?05b6","webpack://kkts-portal/./src/views/Reports/RunSheet/RunSheet.vue?9bc6","webpack://kkts-portal/./src/views/Reports/RunSheet/RunSheet.vue?fadd","webpack://kkts-portal/./src/views/Reports/RunSheet/RunSheet.vue","webpack://kkts-portal/./src/views/Reports/Stats/Stats.vue?064e","webpack://kkts-portal/./src/views/Reports/Stats/Stats.vue?260d","webpack://kkts-portal/./src/views/Reports/Stats/Stats.vue?e99e","webpack://kkts-portal/./src/views/Reports/Stats/Stats.vue","webpack://kkts-portal/./src/views/Reports/Tomorrow/Tomorrow.vue?c530","webpack://kkts-portal/./src/views/Reports/Tomorrow/Tomorrow.vue?d48c","webpack://kkts-portal/./src/views/Reports/Tomorrow/Tomorrow.vue?4333","webpack://kkts-portal/./src/views/Reports/Tomorrow/Tomorrow.vue","webpack://kkts-portal/./src/views/Reports/Transfers/Transfers.vue?48bc","webpack://kkts-portal/./src/views/Reports/Transfers/Transfers.vue?b6c8","webpack://kkts-portal/./src/views/Reports/Transfers/Transfers.vue?32d8","webpack://kkts-portal/./src/views/Reports/Transfers/Transfers.vue","webpack://kkts-portal/./src/views/SearchPage/SearchPage.vue?1cf5","webpack://kkts-portal/./src/components/searchPage/components/Autocomplete/Autocomplete.vue?e313","webpack://kkts-portal/./src/components/searchPage/components/Autocomplete/Autocomplete.vue?ae5e","webpack://kkts-portal/./src/components/searchPage/components/Autocomplete/Autocomplete.vue?697f","webpack://kkts-portal/./src/components/searchPage/components/Autocomplete/Autocomplete.vue","webpack://kkts-portal/./src/components/searchPage/InputText.vue?b625","webpack://kkts-portal/./src/components/searchPage/InputText.vue?5654","webpack://kkts-portal/./src/components/searchPage/InputText.vue?983e","webpack://kkts-portal/./src/components/searchPage/InputText.vue","webpack://kkts-portal/./src/components/searchPage/InputSelected.vue?311c","webpack://kkts-portal/./src/components/searchPage/InputSelected.vue?f422","webpack://kkts-portal/./src/components/searchPage/InputSelected.vue?e781","webpack://kkts-portal/./src/components/searchPage/InputSelected.vue","webpack://kkts-portal/./src/views/SearchPage/SearchPage.vue?541a","webpack://kkts-portal/./src/views/SearchPage/SearchPage.vue?73f5","webpack://kkts-portal/./src/views/SearchPage/SearchPage.vue","webpack://kkts-portal/./src/views/SearchPostcode/SearchPostcode.vue?f041","webpack://kkts-portal/./src/components/searchPage/components/LookupPostcode/LookupPostcode.vue?3cc2","webpack://kkts-portal/./src/components/searchPage/components/LookupPostcode/LookupPostcode.vue?c440","webpack://kkts-portal/./src/components/searchPage/components/LookupPostcode/LookupPostcode.vue?d104","webpack://kkts-portal/./src/components/searchPage/components/LookupPostcode/LookupPostcode.vue","webpack://kkts-portal/./src/views/SearchPostcode/SearchPostcode.vue?3876","webpack://kkts-portal/./src/views/SearchPostcode/SearchPostcode.vue?70df","webpack://kkts-portal/./src/views/SearchPostcode/SearchPostcode.vue","webpack://kkts-portal/./src/views/Suburbs/Suburbs.vue?fd9f","webpack://kkts-portal/./src/components/fields/SuburbSearchField.vue?9e07","webpack://kkts-portal/./src/components/fields/SuburbSearchField.vue?eb0e","webpack://kkts-portal/./src/components/fields/SuburbSearchField.vue?5ecf","webpack://kkts-portal/./src/components/fields/SuburbSearchField.vue","webpack://kkts-portal/./src/views/Suburbs/Suburbs.vue?da85","webpack://kkts-portal/./src/views/Suburbs/Suburbs.vue?656a","webpack://kkts-portal/./src/views/Suburbs/Suburbs.vue","webpack://kkts-portal/./src/views/Technicians/Technicians.vue?6cb5","webpack://kkts-portal/./src/views/Technicians/Technicians.vue?b896","webpack://kkts-portal/./src/views/Technicians/Technicians.vue?3c6d","webpack://kkts-portal/./src/views/Technicians/Technicians.vue","webpack://kkts-portal/./src/views/Technicians/TechniciansCatalog.vue?fa22","webpack://kkts-portal/./src/views/Technicians/TechniciansCatalog.vue?e353","webpack://kkts-portal/./src/views/Technicians/TechniciansCatalog.vue?1c44","webpack://kkts-portal/./src/views/Technicians/TechniciansCatalog.vue","webpack://kkts-portal/./src/views/Test/Mailbox.vue?f105","webpack://kkts-portal/./src/views/Test/Mailbox.vue?8a9f","webpack://kkts-portal/./src/views/Test/Mailbox.vue?a9c0","webpack://kkts-portal/./src/views/Test/Mailbox.vue","webpack://kkts-portal/./src/views/TicketsDashboard.vue?e809","webpack://kkts-portal/./src/components/fields/TicketSearchField.vue?7d5e","webpack://kkts-portal/./src/components/fields/TicketSearchField.vue?1ba7","webpack://kkts-portal/./src/components/fields/TicketSearchField.vue?c68e","webpack://kkts-portal/./src/components/fields/TicketSearchField.vue","webpack://kkts-portal/./src/views/TicketsDashboard.vue?3c29","webpack://kkts-portal/./src/views/TicketsDashboard.vue?310c","webpack://kkts-portal/./src/views/TicketsDashboard.vue","webpack://kkts-portal/./src/views/User/AddressBook.vue?3afc","webpack://kkts-portal/./src/components/addressBook/addressesTable/AddressesTable.vue?3124","webpack://kkts-portal/./src/components/addressBook/addressesTable/AddressesTable.vue?387c","webpack://kkts-portal/./src/components/addressBook/addressesTable/AddressesTable.vue?d4cc","webpack://kkts-portal/./src/components/addressBook/addressesTable/AddressesTable.vue","webpack://kkts-portal/./src/views/User/AddressBook.vue?88fc","webpack://kkts-portal/./src/views/User/AddressBook.vue?89b6","webpack://kkts-portal/./src/views/User/AddressBook.vue","webpack://kkts-portal/./src/views/Warehouse/QuantPage.vue?8ac8","webpack://kkts-portal/./src/views/Warehouse/QuantPage.vue?cc88","webpack://kkts-portal/./src/views/Warehouse/QuantPage.vue?d269","webpack://kkts-portal/./src/views/Warehouse/QuantPage.vue","webpack://kkts-portal/./src/components/tailWindConfig.ts","webpack://kkts-portal/./src/helpers/booking.ts","webpack://kkts-portal/./src/helpers/fetchers.ts","webpack://kkts-portal/./src/helpers/notifiers.ts","webpack://kkts-portal/./src/helpers/sentry.ts","webpack://kkts-portal/./src/helpers/throwables.ts","webpack://kkts-portal/./src/plugins/casl.ts","webpack://kkts-portal/./src/plugins/posthog.ts","webpack://kkts-portal/./src/plugins/vuetify.ts","webpack://kkts-portal/./src/router/index.ts","webpack://kkts-portal/./src/router/routeNames.ts","webpack://kkts-portal/./src/store/actions.ts","webpack://kkts-portal/./src/store/getters.ts","webpack://kkts-portal/./src/helpers/HelperStorage.ts","webpack://kkts-portal/./src/store/modules/authData.ts","webpack://kkts-portal/./src/store/modules/notifications/notifications.ts","webpack://kkts-portal/./src/store/modules/scheduler.ts","webpack://kkts-portal/./src/store/modules/socket/socket.ts","webpack://kkts-portal/./src/store/modules/staticData/staticData.ts","webpack://kkts-portal/./src/store/modules/user.ts","webpack://kkts-portal/./src/store/mutations.ts","webpack://kkts-portal/./src/store/state.ts","webpack://kkts-portal/./src/store/index.ts","webpack://kkts-portal/./src/utils/Common.ts","webpack://kkts-portal/./src/utils/InputProcessingUtilities.ts","webpack://kkts-portal/./src/utils/PortalConstants.ts","webpack://kkts-portal/./src/utils/abortController.ts","webpack://kkts-portal/./src/views/Location/Lglyph.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex justify-center items-center w-16 h-16 rounded-full text-5xl uppercase text-white ring-1 overflow-hidden\",class:`bg-${_vm.color}${_vm.colorIntensity ? '-' + _vm.colorIntensity : ''} ring-${_vm.color}${\n _vm.colorIntensity ? '-' + _vm.colorIntensity : ''\n }`},[(_vm.img)?_c('img',{staticClass:\"object-cover w-full h-full\",attrs:{\"src\":_vm.URL,\"alt\":\"\"}}):(_vm.firstName && _vm.lastName)?_c('span',{staticClass:\"text-3xl\"},[_vm._v(_vm._s(_vm.firstName[0] + _vm.lastName[0])+\" \")]):(_vm.firstName)?_c('span',{staticClass:\"text-3xl\"},[_vm._v(_vm._s(_vm.firstName[0])+\" \")]):(_vm.lastName)?_c('span',{staticClass:\"text-3xl\"},[_vm._v(_vm._s(_vm.lastName[0])+\" \")]):_c('span',{staticClass:\"text-3xl\"},[_vm._v(\"ME\")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class Avatar extends Vue {\n @Prop({ type: String, required: false, default: 'purple' }) public color: string;\n @Prop({ type: String, required: false, default: '400' }) public colorIntensity: string;\n @Prop({ type: String, required: false, default: null }) public img: string;\n @Prop({ type: String, required: false, default: null }) public firstName: string;\n @Prop({ type: String, required: false, default: null }) public lastName: string;\n\n public get URL(): string {\n const url = process.env.VUE_APP_API?.replace(/api/i, '');\n const fullUrl = url + this.img;\n return fullUrl;\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Avatar.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Avatar.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Avatar.vue?vue&type=template&id=9f51bec2\"\nimport script from \"./Avatar.vue?vue&type=script&lang=ts\"\nexport * from \"./Avatar.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('button',{class:`border border-solid border-${_vm.color}${\n _vm.colorIntensity ? '-' + _vm.colorIntensity : ''\n } rounded-full flex align-center justify-between\n ${_vm.size === 'small' ? 'h-10' : ''}\n ${_vm.size === 'normal' ? 'h-12' : ''}\n ${_vm.loading || _vm.disabled ? `opacity-50 cursor-not-allowed` : `transform active:translate-y-0.5`}\n hover:shadow-md\n transition duration-150 ease-in-out`,attrs:{\"disabled\":_vm.loading || _vm.disabled}},[_c('div',{class:`pl-4 pr-2 flex align-center justify-center text-lg whitespace-nowrap text-${_vm.color}${\n _vm.colorIntensity ? '-' + _vm.colorIntensity : ''\n }`},[_vm._v(\" \"+_vm._s(_vm.text)+\" \")]),_c('div',{class:`m-1 rounded-full\n ${_vm.size === 'small' ? 'w-8 h-8' : ''}\n ${_vm.size === 'normal' ? 'w-9 h-9' : ''}\n bg-${_vm.color}${_vm.colorIntensity ? '-' + _vm.colorIntensity : ''} flex align-center justify-center`},[(_vm.loading)?_c('Icon',{staticClass:\"animate-spin\",attrs:{\"name\":\"mdi-loading\",\"color\":\"white\",\"size\":\"2xl\"}}):_c('Icon',{attrs:{\"name\":_vm.icon,\"color\":\"white\",\"size\":\"2xl\"}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\n\n@Component({\n components: {\n Icon,\n },\n})\nexport default class Button extends Vue {\n @Prop({ type: String, required: false, default: 'normal' }) public size: string;\n @Prop({ type: String, required: false, default: 'purple' }) public color: string;\n @Prop({ type: String, required: false, default: '' }) public colorIntensity: string;\n @Prop({ type: String, required: false, default: 'Done' }) public text: string;\n @Prop({ type: String, required: false, default: 'mdi-check' }) public icon: string;\n @Prop({ type: Boolean, required: false, default: false }) public loading: boolean;\n @Prop({ type: Boolean, required: false, default: false }) public disabled: boolean;\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Button.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Button.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Button.vue?vue&type=template&id=273ec07c\"\nimport script from \"./Button.vue?vue&type=script&lang=ts\"\nexport * from \"./Button.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"relative w-full flex justify-between items-center bg-purple-50 border border-dashed border-purple-200 text-center rounded cursor-pointer\",on:{\"click\":_vm.openFileSelection,\"dragover\":_vm.onDragOver,\"drop\":_vm.onDrop}},[_c('div',{staticClass:\"flex justify-center items-center py-4 text-gray-400\",class:_vm.type !== 'one-line' ? 'flex-col' : ''},[(_vm.type === 'one-line')?_c('span',{staticClass:\"text mr-1\"},[_vm._v(_vm._s(_vm.text))]):_c('div',{class:_vm.type !== 'one-line' ? 'flex flex-col' : ''},[_c('span',{staticClass:\"text\"},[_vm._v(\"Drop files here\")]),_c('span',[_vm._v(\"or\")])]),_c('span',{staticClass:\"underline hover:no-underline cursor-pointer\"},[_vm._v(_vm._s(_vm.link))])]),_c('input',{ref:\"fileInput\",staticClass:\"hidden\",attrs:{\"type\":\"file\",\"multiple\":_vm.multiple},on:{\"change\":_vm.onFileChanged}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport store from '@/store';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\ntype UserFile = File & {\n data: string;\n filename: string;\n};\n\n@Component\nexport default class DropZone extends Vue {\n @Prop({ type: String, required: false, default: 'Drop files here or ' }) public text!: string;\n @Prop({ type: String, required: false, default: 'choose from device' }) public link!: string;\n @Prop({ type: String, required: false, default: 'default' }) public type!: string;\n @Prop({ type: Array, required: false, default: () => [] }) public allowedFormats!: string;\n @Prop({ type: Boolean, required: false, default: true }) public multiple!: boolean;\n\n private highlight = false;\n public openFileSelection(): void {\n const fileInput = this.$refs.fileInput as HTMLElement;\n fileInput.click();\n }\n\n public onDragOver(event: DragEvent): void {\n event.preventDefault();\n }\n\n public onDrop(event: DragEvent): void {\n event.preventDefault();\n const dataTransfer = event.dataTransfer;\n if (dataTransfer) {\n const files: FileList = dataTransfer.files as FileList;\n const result: File[] = [];\n for (const file of files) {\n const fileType: string = file.type;\n if (this.allowedFormats.indexOf(fileType) > -1 || this.allowedFormats.length === 0) {\n const reader = new FileReader();\n // zammad requires base64 encoding for files\n reader.onloadend = () => {\n let b64;\n b64 = reader.result as string;\n b64 = b64.replace(/^data:.+;base64,/, '');\n (file as UserFile).data = b64;\n };\n reader.readAsDataURL(file);\n file['mime-type'] = file.type;\n (file as UserFile).filename = file.name;\n result.push(file);\n this.highlight = false;\n } else {\n store.dispatch('setNetworkError', 'Wrong file format');\n }\n }\n if (files.length > 0) {\n this.$emit('filesAdded', result);\n }\n } else {\n store.dispatch('setNetworkError', 'Something went wrong');\n }\n }\n\n public onFileChanged(event: Event): void {\n const files: FileList = (event.target as HTMLInputElement).files as FileList;\n const result: File[] = [];\n for (const file of files) {\n const fileType: string = file.type;\n if (this.allowedFormats.indexOf(fileType) > -1 || this.allowedFormats.length === 0) {\n const reader = new FileReader();\n // zammad requires base64 encoding for files\n reader.onloadend = () => {\n let b64;\n b64 = reader.result as string;\n b64 = b64.replace(/^data:.+;base64,/, '');\n (file as UserFile).data = b64;\n };\n reader.readAsDataURL(file);\n\n file['mime-type'] = file.type;\n (file as UserFile).filename = file.name;\n result.push(file);\n } else {\n store.dispatch('setNetworkError', 'Wrong file format');\n }\n }\n if (files.length > 0) {\n this.$emit('filesAdded', result);\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DropZone.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DropZone.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DropZone.vue?vue&type=template&id=8ed6ad62\"\nimport script from \"./DropZone.vue?vue&type=script&lang=ts\"\nexport * from \"./DropZone.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.isLoadingGlobal)?_c(VProgressLinear,{staticClass:\"mainLoader\",attrs:{\"color\":\"purple\"},model:{value:(_vm.progress),callback:function ($$v) {_vm.progress=$$v},expression:\"progress\"}}):_vm._e(),(_vm.isLoadingGlobal && _vm.progress >= _vm.endingPoint)?_c(VProgressLinear,{staticClass:\"backLoader\",style:(`width: ${_vm.progress}%`),attrs:{\"indeterminate\":\"\",\"color\":\"purple\"},model:{value:(_vm.progress),callback:function ($$v) {_vm.progress=$$v},expression:\"progress\"}}):_vm._e(),(_vm.isLoadingGlobal)?_c(VProgressCircular,{staticClass:\"spinner\",attrs:{\"indeterminate\":\"\",\"size\":\"20\",\"width\":\"3\",\"color\":\"purple\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport random from 'lodash';\nimport { mapState } from 'vuex';\n\n@Component({\n computed: {\n ...mapState(['isLoadingGlobal']),\n },\n})\nexport default class GlobalLoader extends Vue {\n public isLoadingGlobal: boolean;\n private defaultDuration = 10000;\n private defaultInterval = 800; // update frequently\n private variation = 0.5; // grow interval (0 - 1)\n private startingPoint = 0;\n public endingPoint = 97;\n public progress = this.startingPoint;\n public timeoutId?: ReturnType = undefined;\n\n private loop() {\n if (this.timeoutId) {\n clearTimeout(this.timeoutId);\n }\n if (this.progress >= this.endingPoint) {\n return;\n }\n const size = (this.endingPoint - this.startingPoint) / (this.defaultDuration / this.defaultInterval);\n const p = Math.round(this.progress + random(size * (1 - this.variation), size * (1 + this.variation)));\n this.progress = Math.min(p, this.endingPoint);\n this.timeoutId = setTimeout(\n this.loop,\n random(this.defaultInterval * (1 - this.variation), this.defaultInterval * (1 + this.variation)),\n );\n }\n\n private start() {\n this.progress = this.startingPoint;\n this.loop();\n }\n\n private stop() {\n this.progress = 100;\n clearTimeout(this.timeoutId);\n }\n\n @Watch('isLoadingGlobal')\n private onGlobalLoading() {\n this.isLoadingGlobal ? this.start() : this.stop();\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GlobalLoader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GlobalLoader.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./GlobalLoader.vue?vue&type=template&id=646c0745&scoped=true\"\nimport script from \"./GlobalLoader.vue?vue&type=script&lang=ts\"\nexport * from \"./GlobalLoader.vue?vue&type=script&lang=ts\"\nimport style0 from \"./GlobalLoader.vue?vue&type=style&index=0&id=646c0745&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"646c0745\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mdi leading-none\",class:`${_vm.name} text-${_vm.color}${_vm.colorIntensity ? '-' + _vm.colorIntensity : ''} text-${_vm.size}`})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class Icon extends Vue {\n @Prop({ type: String, required: true, default: 'mdi-check' }) public name: string;\n @Prop({ type: String, required: false, default: 'black' }) public color: string;\n @Prop({ type: String, required: false, default: '' }) public colorIntensity: string;\n @Prop({ type: String, required: false, default: 'base' }) public size: string;\n //\n // Tailwind font default sizes:\n //\n // text-xs \tfont-size: 0.75rem; /* 12px */\n // line-height: 1rem; /* 16px */\n // text-sm \tfont-size: 0.875rem; /* 14px */\n // line-height: 1.25rem; /* 20px */\n // text-base \tfont-size: 1rem; /* 16px */\n // line-height: 1.5rem; /* 24px */\n // text-lg \tfont-size: 1.125rem; /* 18px */\n // line-height: 1.75rem; /* 28px */\n // text-xl \tfont-size: 1.25rem; /* 20px */\n // line-height: 1.75rem; /* 28px */\n // text-2xl \tfont-size: 1.5rem; /* 24px */\n // line-height: 2rem; /* 32px */\n // text-3xl \tfont-size: 1.875rem; /* 30px */\n // line-height: 2.25rem; /* 36px */\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Icon.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Icon.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Icon.vue?vue&type=template&id=253aac5e\"\nimport script from \"./Icon.vue?vue&type=script&lang=ts\"\nexport * from \"./Icon.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('validation-provider',{attrs:{\"rules\":{ required: _vm.validation }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"relative w-full h-full\"},[(_vm.disabled)?_c('div',{staticClass:\"absolute top-0 left-0 w-full h-full bg-gray-100 opacity-50 z-3 cursor-not-allowed\"}):_vm._e(),_c('t-input-label',{staticClass:\"w-full h-full border\",attrs:{\"min\":_vm.minValue,\"step\":\"1\",\"variant\":{\n [_vm.variant]: true,\n },\"disabled\":_vm.disabled},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:\"inputValue\"}}),_c('div',{staticClass:\"flex flex-col align-center justify-center absolute top-3.5 right-1\"},[_c('div',{staticClass:\"cursor-pointer\",on:{\"click\":_vm.incrementValue}},[_c('Icon',{attrs:{\"name\":\"mdi-triangle\",\"color\":\"purple\",\"colorIntensity\":\"200\",\"size\":\"2xs\"}})],1),_c('div',{staticClass:\"cursor-pointer mt-1\",on:{\"click\":_vm.decrementValue}},[_c('Icon',{staticStyle:{\"transform\":\"rotate(180deg)\"},attrs:{\"name\":\"mdi-triangle\",\"color\":\"purple\",\"colorIntensity\":\"200\",\"size\":\"2xs\"}})],1)])],1),_c('span',{staticClass:\"text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0] ? 'Required' : ''))])]}}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\n\n@Component({\n components: {\n Icon,\n },\n})\nexport default class InputIntegers extends Vue {\n @Prop({ type: Number, required: false, default: 0 }) public minValue: number;\n @Prop({ type: String, required: false, default: '0' }) public id: string;\n @Prop({ type: String, required: false, default: '' }) public variant: string;\n @Prop({ type: Number, required: false, default: 4 }) public digitsNumberBefore: number;\n @Prop({ type: Boolean, required: false, default: false }) public validation: boolean;\n @Prop({ type: Boolean, required: false, default: false }) public disabled: boolean;\n\n @Prop({ type: String, required: false, default: '' }) public value: string;\n\n public inputValue = '';\n\n public incrementValue(): void {\n this.inputValue = String(Number(this.inputValue) + 1);\n }\n public decrementValue(): void {\n if (Number(this.inputValue) - 1 >= this.minValue) {\n this.inputValue = String(Number(this.inputValue) - 1);\n }\n }\n\n private applyValueFromParent(item: string): void {\n this.inputValue = item;\n this.$forceUpdate();\n }\n\n @Watch('value', { immediate: true })\n private watchPropValue() {\n this.inputValue = this.value;\n }\n\n @Watch('inputValue')\n private watchValue() {\n const newValue = this.inputValue.replace(/[^\\d.]|\\.(?=.*\\.)/g, '');\n let newString = '';\n\n if (newValue.length === 1 && newValue[0] === '.') {\n // First symbol is '.'\n newString = '';\n } else if (newValue[newValue.length - 1] === '.') {\n // Last symbol is '.'\n newString = newValue.split('.')[0].substring(0, this.digitsNumberBefore);\n } else if (newValue.indexOf('.') >= 0 && newValue[newValue.length - 1] !== '.') {\n // Decimal\n newString = newValue.split('.')[0].substring(0, this.digitsNumberBefore);\n } else {\n // Just a number\n newString = newValue.substring(0, this.digitsNumberBefore);\n }\n\n this.inputValue = newString;\n\n this.$emit('changed', newString, this.id);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InputIntegers.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InputIntegers.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InputIntegers.vue?vue&type=template&id=4fba92c0\"\nimport script from \"./InputIntegers.vue?vue&type=script&lang=ts\"\nexport * from \"./InputIntegers.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"relative w-full h-full\"},[(_vm.disabled)?_c('div',{staticClass:\"absolute top-0 left-0 w-full h-full bg-gray-100 opacity-50 z-3 cursor-not-allowed\"}):_vm._e(),(_vm.validation)?_c('validation-provider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input',{staticClass:\"w-full h-full border\",class:errors.length > 0 ? 'border-red-700 border-2' : 'border-purple-200',attrs:{\"min\":_vm.minValue,\"disabled\":_vm.disabled},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:\"inputValue\"}}),_c('span',{staticClass:\"text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0] ? 'Required' : ''))])]}}],null,false,3173543999)}):_c('t-input',{staticClass:\"w-full h-full border border-gray-400\",attrs:{\"min\":_vm.minValue,\"disabled\":_vm.disabled},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:\"inputValue\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n@Component({})\nexport default class InputPositiveNumbers extends Vue {\n @Prop({ type: Number, required: false, default: 0 }) public minValue: number;\n @Prop({ type: String, required: false, default: '0' }) public id: string;\n @Prop({ type: Number, required: false, default: 4 }) public digitsNumberBefore: number;\n @Prop({ type: Number, required: false, default: 2 }) public digitsNumberAfter: number;\n @Prop({ type: Boolean, required: false, default: false }) public validation: boolean;\n @Prop({ type: Number, required: false, default: '' }) public value: number;\n @Prop({ type: Boolean, required: false, default: false }) public disabled: boolean;\n\n private inputValue = '';\n\n @Watch('value', { immediate: true })\n private watchPropValue() {\n this.inputValue = String(this.value);\n }\n\n @Watch('inputValue')\n private watchValue() {\n const newValue = this.inputValue.replace(/[^\\d.]|\\.(?=.*\\.)/g, '');\n let newString = '';\n\n if (newValue.length === 1 && newValue[0] === '.') {\n // First symbol is '.'\n newString = '';\n } else if (newValue[newValue.length - 1] === '.') {\n // Last symbol is '.'\n newString = newValue.split('.')[0].substring(0, this.digitsNumberBefore) + '.';\n } else if (newValue.indexOf('.') >= 0 && newValue[newValue.length - 1] !== '.') {\n // Decimal\n const strBefore = newValue.split('.')[0].substring(0, this.digitsNumberBefore);\n const strAfter = newValue.split('.')[1].substring(0, this.digitsNumberAfter);\n newString = strBefore + '.' + strAfter;\n } else {\n // Just a number\n newString = newValue.substring(0, this.digitsNumberBefore);\n }\n\n this.inputValue = newString;\n\n this.$emit('changed', newString, this.id);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InputPositiveNumbers.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InputPositiveNumbers.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InputPositiveNumbers.vue?vue&type=template&id=249a59d1\"\nimport script from \"./InputPositiveNumbers.vue?vue&type=script&lang=ts\"\nexport * from \"./InputPositiveNumbers.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.clickedOutside),expression:\"clickedOutside\"}],staticClass:\"relative\"},[_c('div',{staticClass:\"relative w-full\"},[_c('validation-provider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"flex flex-col floating-label-inset\"},[_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":_vm.name,\"name\":_vm.name,\"type\":\"text\",\"placeholder\":\"Company name\",\"autocomplete\":\"off\",\"variant\":{\n error: !!errors[0],\n },\"maxlength\":30},on:{\"focus\":_vm.inputFocused,\"input\":_vm.handleInput,\"keydown\":_vm.inputKeyPressed,\"blur\":_vm.inputBlured},model:{value:(_vm.addressValue),callback:function ($$v) {_vm.addressValue=$$v},expression:\"addressValue\"}}),_c('label',{staticClass:\"cursor-text\",attrs:{\"for\":_vm.name}},[_c('span',[_vm._v(\" Company name \")])]),(errors[0])?_c('span',{staticClass:\"mt-0 ml-2.5 text-sm text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()],1),_c('div',{staticClass:\"absolute top-2 right-2 bg-white pl-2\"},[(_vm.addressValue.length >= 1)?_c(VIcon,{staticClass:\"mr-0 cursor-pointer\",attrs:{\"size\":\"18\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":_vm.clearInput}},[_vm._v(\"mdi-close\")]):_vm._e(),(_vm.showOptions)?_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":function($event){_vm.showOptions = false}}},[_vm._v(\"mdi-chevron-up\")]):_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":_vm.inputFocused}},[_vm._v(\"mdi-chevron-down\")])],1)]}}])})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showOptions),expression:\"showOptions\"}],staticClass:\"absolute w-80 z-3 bg-white border border-solid border-purple-400 top-9 ml-0.5 mh-48 overflow-hidden overflow-y-scroll rounded shadow-md p-0\"},[_c('div',[(_vm.loading)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.loading && _vm.selectItems.length === 0)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" No such data \")]):_c('div',{ref:\"scrollContainer\",staticClass:\"flex flex-col mh-48 overflow-y-scroll\"},_vm._l((_vm.selectItems),function(item,idx){return _c('div',{key:idx,ref:\"options\",refInFor:true,staticClass:\"px-4 py-2 leading-4 cursor-pointer hover:bg-purple-50\",class:_vm.arrowIdx === idx ? 'bg-purple-100 focus:bg-purple-100' : '',on:{\"click\":function($event){return _vm.handleItemClick(item)}}},[_vm._v(\" \"+_vm._s(item)+\" \")])}),0)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\n\nimport { ValidationProvider, extend } from 'vee-validate';\n\nimport { required } from 'vee-validate/dist/rules';\n\nimport { AddressBookAirRoadStop } from '@/models/addressBook';\n\nextend('required', {\n ...required,\n message: 'This field is required',\n});\n\n@Component({\n components: {\n ValidationProvider,\n },\n})\nexport default class LookupAddresses extends Vue {\n @Prop({ type: Array, required: true }) public addressData: AddressBookAirRoadStop[];\n @Prop({ type: String, required: true }) public name: string;\n\n public loading = false;\n\n public addressValue = '';\n public selectItems: string[] = [];\n\n public showOptions = false;\n public addressChosen: AddressBookAirRoadStop = {\n city: null,\n line1: '',\n line2: '',\n line3: null,\n name: '',\n suburb: {\n id: 0,\n name: '',\n postcode: '',\n state: '',\n },\n id: 0,\n warehouse: false,\n };\n private addressChosenDefault: AddressBookAirRoadStop = { ...this.addressChosen };\n\n public arrowIdx = -1;\n\n @Watch('addressChosen', { deep: true })\n private watchAddressChosen() {\n this.$emit('changed', this.addressChosen, this.name.slice(-1));\n }\n\n private applyValueFromParent(item: AddressBookAirRoadStop): void {\n this.addressChosen = item;\n this.showOptions = false;\n this.addressValue = item.name;\n this.$forceUpdate();\n }\n\n public handleInput(evt: string): void {\n const filterdAdresses = this.addressData.filter(\n x => `${x.name}, ${x.suburb.name}`.toUpperCase().indexOf(evt.toUpperCase()) >= 0,\n );\n this.selectItems = [...filterdAdresses.map(address => `${address.name}, ${address.suburb.name}`)];\n this.$emit('changed', evt, this.name.slice(-1));\n }\n\n public inputKeyPressed(evt: KeyboardEvent): void {\n // Open dropdown on Focus\n if (!this.showOptions) {\n this.showOptions = true;\n this.arrowIdx = -1;\n }\n // Close dropdown when \"Escape\" pressed\n if (evt.code === 'Escape') {\n this.showOptions = false;\n this.arrowIdx = -1;\n }\n // ArrowDown / ArrowUp pressed\n if (evt.code === 'ArrowDown' && this.arrowIdx < this.selectItems.length - 1) {\n this.arrowIdx += 1;\n this.fixScrolling();\n }\n if (evt.code === 'ArrowUp' && this.arrowIdx >= 1) {\n this.arrowIdx -= 1;\n this.fixScrolling();\n }\n // Enter pressed\n if (evt.code === 'Enter' && this.arrowIdx >= 0) {\n evt.preventDefault();\n const chosenAddress = this.addressData.find(\n x => `${x.name}, ${x.suburb.name}`.substring(0, 30) === this.selectItems[this.arrowIdx].substring(0, 30),\n );\n if (chosenAddress) {\n this.addressChosen = chosenAddress;\n this.showOptions = false;\n this.addressValue = this.selectItems[this.arrowIdx];\n this.arrowIdx = -1;\n }\n }\n }\n\n private fixScrolling() {\n const options = this.$refs.options as HTMLFormElement;\n const scrollContainer = this.$refs.scrollContainer as HTMLFormElement;\n if (options && scrollContainer) {\n const liH = options[this.arrowIdx].clientHeight;\n scrollContainer.scrollTop = liH * this.arrowIdx;\n }\n }\n\n public clearInput(): void {\n this.addressValue = '';\n this.showOptions = false;\n this.addressChosen = { ...this.addressChosenDefault };\n this.addressChosen.warehouse = false;\n this.arrowIdx = -1;\n this.selectItems = [];\n }\n\n public inputFocused(): void {\n this.showOptions = true;\n this.selectItems = this.addressData.map(address => `${address.name}, ${address.suburb.name}`);\n }\n\n public inputBlured(): void {\n setTimeout(() => {\n this.showOptions = false;\n }, 200);\n }\n\n public handleItemClick(item: string): void {\n const chosenAddress = this.addressData.find(\n x => `${x.name}, ${x.suburb.name}`.substring(0, 30) === item.substring(0, 30),\n );\n if (chosenAddress) {\n this.addressChosen = chosenAddress;\n this.showOptions = false;\n this.addressValue = item;\n }\n }\n\n public clickedOutside(): void {\n this.showOptions = false;\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupAddresses.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupAddresses.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupAddresses.vue?vue&type=template&id=2f4d77e8&scoped=true\"\nimport script from \"./LookupAddresses.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupAddresses.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LookupAddresses.vue?vue&type=style&index=0&id=2f4d77e8&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2f4d77e8\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.clickedOutside),expression:\"clickedOutside\"}],staticClass:\"relative\",on:{\"blur\":_vm.inputBlured}},[_c('div',{staticClass:\"relative w-full\"},[_c('validation-provider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"flex flex-col floating-label-inset\"},[_c('t-input-label',{ref:\"input\",staticClass:\"rounded\",attrs:{\"id\":\"ccode\",\"value\":_vm.codeValue,\"name\":\"ccode\",\"placeholder\":\"Customer code\",\"autocomplete\":\"off\",\"variant\":{\n error: !!errors[0],\n }},on:{\"focus\":_vm.inputFocused,\"blur\":_vm.inputBlured,\"input\":_vm.handleInput,\"keydown\":_vm.inputKeyPressed}}),_c('label',{staticClass:\"cursor-text\",attrs:{\"for\":\"ccode\"}},[_c('span',[_vm._v(\" Customer code \")])]),(errors[0])?_c('span',{staticClass:\"ml-2.5 text-sm text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()],1),_c('div',{staticClass:\"absolute top-1.5 right-2 bg-white pl-2\"},[(_vm.codeValue.length >= 1)?_c(VIcon,{staticClass:\"mr-0 cursor-pointer\",attrs:{\"size\":\"18\",\"tabindex\":\"-1\",\"color\":\"black\"},on:{\"click\":_vm.clearInput}},[_vm._v(\"mdi-close\")]):_vm._e(),(_vm.showOptions)?_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":function($event){_vm.showOptions = false}}},[_vm._v(\"mdi-chevron-up\")]):_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":function($event){_vm.showOptions = true}}},[_vm._v(\"mdi-chevron-down\")])],1)]}}])})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showOptions),expression:\"showOptions\"}],staticClass:\"absolute w-52 z-3 bg-white border border-solid border-purple-400 top-9 ml-0.5 mh-48 overflow-hidden overflow-y-scroll rounded shadow-md p-0\"},[(_vm.codeValue.length < 1)?_c('div',{staticClass:\"h-16 px-3 leading-4 text-center flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" Enter more than 1 character \")]):_c('div',[(_vm.loading)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.loading && _vm.selectItems.length === 0)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" No such data \")]):_c('div',{ref:\"scrollContainer\",staticClass:\"flex flex-col mh-48 overflow-y-scroll\"},_vm._l((_vm.selectItems),function(item,idx){return _c('div',{key:idx,ref:\"options\",refInFor:true,staticClass:\"px-4 py-2 leading-4 cursor-pointer hover:bg-purple-50\",class:_vm.arrowIdx === idx ? 'bg-purple-100 focus:bg-purple-100' : '',on:{\"click\":function($event){return _vm.handleItemClick(item)}}},[_vm._v(\" \"+_vm._s(item)+\" \")])}),0)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Watch } from 'vue-property-decorator';\n\nimport { ValidationProvider, extend } from 'vee-validate';\nimport { required } from 'vee-validate/dist/rules';\n\nextend('required', {\n ...required,\n message: 'This field is required',\n});\n\nimport { lookupCustomer } from '@/api';\n@Component({\n components: {\n ValidationProvider,\n },\n})\nexport default class LookupCustomerCode extends Vue {\n public loading = false;\n\n public codeValue = '';\n public selectItems: string[] = [];\n\n public showOptions = false;\n public codeChosen = '';\n public arrowIdx = -1;\n\n @Watch('codeChosen', { deep: true })\n private watchCodeChosen() {\n this.$emit('changed', this.codeChosen);\n }\n\n public async handleInput(evt: string): Promise {\n if (evt || evt === '') {\n this.codeValue = evt;\n }\n if (this.codeValue.length >= 1) {\n this.loading = true;\n await lookupCustomer({\n customer_code: this.codeValue,\n })\n .then(data => {\n this.selectItems = data;\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n }\n }\n\n public inputKeyPressed(evt: KeyboardEvent): void {\n // Open dropdown on Focus\n if (!this.showOptions) {\n this.showOptions = true;\n this.arrowIdx = -1;\n }\n // Close dropdown when \"Escape\" pressed\n if (evt.code === 'Escape') {\n this.showOptions = false;\n this.arrowIdx = -1;\n }\n // ArrowDown / ArrowUp pressed\n if (evt.code === 'ArrowDown' && this.arrowIdx < this.selectItems.length - 1) {\n this.arrowIdx += 1;\n this.fixScrolling();\n }\n if (evt.code === 'ArrowUp' && this.arrowIdx >= 1) {\n this.arrowIdx -= 1;\n this.fixScrolling();\n }\n // Enter pressed\n if (evt.code === 'Enter' && this.arrowIdx >= 0) {\n evt.preventDefault();\n this.codeChosen = this.selectItems[this.arrowIdx];\n this.showOptions = false;\n this.codeValue = this.selectItems[this.arrowIdx];\n this.arrowIdx = -1;\n }\n }\n\n private fixScrolling() {\n const options = this.$refs.options as HTMLFormElement;\n const scrollContainer = this.$refs.scrollContainer as HTMLFormElement;\n if (options && scrollContainer) {\n const liH = options[this.arrowIdx].clientHeight;\n scrollContainer.scrollTop = liH * this.arrowIdx;\n }\n }\n\n public clearInput(): void {\n this.codeValue = '';\n this.showOptions = false;\n this.codeChosen = '';\n this.arrowIdx = -1;\n this.selectItems = [];\n }\n\n public inputFocused(): void {\n this.showOptions = true;\n }\n\n public inputBlured(): void {\n setTimeout(() => {\n this.showOptions = false;\n if (!this.codeChosen) {\n this.codeValue = '';\n } else {\n this.codeValue = this.codeChosen;\n }\n }, 200);\n }\n\n public handleItemClick(item: string): void {\n this.codeChosen = item;\n this.showOptions = false;\n this.codeValue = item;\n }\n\n public clickedOutside(): void {\n this.showOptions = false;\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupCustomerCode.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupCustomerCode.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupCustomerCode.vue?vue&type=template&id=4166fb14&scoped=true\"\nimport script from \"./LookupCustomerCode.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupCustomerCode.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LookupCustomerCode.vue?vue&type=style&index=0&id=4166fb14&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4166fb14\",\n null\n \n)\n\nexport default component.exports","import ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.clickedOutside),expression:\"clickedOutside\"}],staticClass:\"flex flex-col relative\"},[_c('div',{ref:\"chipsSection\",staticClass:\"flex flex-wrap relative h-full min-h-5 p-1 pt-4 pr-3 content-between border rounded\",class:[_vm.hasError ? 'border-red-700' : 'border-purple-200']},[_vm._l((_vm.chips),function(chip,index){return _c('div',{key:index,ref:`chip${index}`,refInFor:true,staticClass:\"m-1 px-2 py-1 mr-1 flex-none flex items-center rounded cursor-pointer outline-none break-all\",class:[_vm.activeChipIdx === index ? 'bg-purple-400' : 'bg-purple-300'],staticStyle:{\"white-space\":\"nowrap\",\"max-width\":\"min-content\"},attrs:{\"tabindex\":0},on:{\"click\":function($event){_vm.activeChipIdx = index},\"keydown\":_vm.handleChipsKeyDown,\"focusin\":function($event){return _vm.chipFocused(index)}}},[_c('span',{staticClass:\"text-base text-white leading-4\"},[_vm._v(_vm._s(chip))]),_c('Icon',{staticClass:\"mt-0.5 ml-1 cursor-pointer\",attrs:{\"name\":\"mdi-close\",\"color\":\"white\",\"size\":\"base\",\"tabindex\":-1},nativeOn:{\"click\":function($event){return _vm.deleteChip(index)}}})],1)}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.inputValue),expression:\"inputValue\"}],ref:\"mailboxInput\",staticClass:\"w-24 min-h-5 p-1 flex-auto border-none outline-none transition-all z-3\",domProps:{\"value\":(_vm.inputValue)},on:{\"keydown\":_vm.handleInputKeyDown,\"focus\":_vm.inputFocused,\"input\":[function($event){if($event.target.composing)return;_vm.inputValue=$event.target.value},_vm.inputChanged]}}),_c('label',{staticClass:\"absolute left-2 transition-all z-1\",class:[\n _vm.isInputActive || _vm.isChipSectionActive || _vm.chips?.length > 0 || _vm.inputValue.length > 0\n ? 'top-0 text-sm'\n : 'top-3.5 text-base',\n ]},[_c('span',{staticClass:\"text-gray-600\"},[_vm._v(\" \"+_vm._s(_vm.label.charAt(0).toUpperCase() + _vm.label.slice(1))+\": \")])])],2),_c('div',{staticClass:\"relative\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isInputActive && _vm.activeChipIdx === -1),expression:\"isInputActive && activeChipIdx === -1\"}],ref:\"scrollContainer\",staticClass:\"absolute left-1 -top-1 w-11/12 z-10 bg-white border border-solid border-purple-200 rounded shadow-md p-0 overflow-x-hidden overflow-y-scroll\"},[(_vm.inputValue.length < 3)?_c('div',{staticClass:\"h-10 px-3 leading-4 text-center flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" Enter 3 or more characters \")]):_c('div',{staticClass:\"h-full\"},[(_vm.loading)?_c('div',{staticClass:\"h-10 flex align-center justify-center text-base text-gray-500 py-2\"},[_c('Icon',{staticClass:\"animate-spin\",attrs:{\"name\":\"mdi-loading\",\"color\":\"purple\",\"size\":\"2xl\"}})],1):(!_vm.loading && _vm.selectItems.length === 0)?_c('div',{staticClass:\"h-10 px-3 leading-4 text-center flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" No such data \")]):_c('div',{staticClass:\"flex flex-col min-h-48 h-48\"},_vm._l((_vm.selectItems),function(item,idx){return _c('div',{key:idx,ref:\"options\",refInFor:true,staticClass:\"px-4 py-2 leading-4 cursor-pointer hover:bg-purple-50\",class:_vm.arrowIdx === idx ? 'bg-purple-100 focus:bg-purple-100' : '',on:{\"click\":function($event){return _vm.handleItemClick(item)}}},[_vm._v(\" \"+_vm._s(item)+\" \")])}),0)])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { fetchZammadEmailLookup } from '@/helpers/fetchers';\nimport Icon from '@/components/UI/Icon.vue';\nimport { validateEmail, uuidv4 } from '@/utils/Common';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport { useDebounceFn } from '@vueuse/core';\n\n@Component({\n components: {\n Icon,\n },\n})\nexport default class LookupMailbox extends Vue {\n @Prop({ type: String, required: true, default: 'To' }) public label: string;\n @Prop({ type: Boolean, required: false, default: false }) public hasError: boolean;\n @Prop({ type: Array, required: false }) public chipsProp: string[];\n\n private signalState: { [x: number]: AbortController }[] = [];\n\n public loading = false;\n\n // DEBOUNCE\n private debouncedRequest = useDebounceFn(() => 'response', 600);\n\n public clickedOutside(): void {\n this.isInputActive = false;\n this.isChipSectionActive = false;\n this.arrowIdx = -1;\n this.activeChipIdx = -1;\n }\n\n //\n // CHIPS SECTION\n //\n\n public chips: string[] = [];\n public activeChipIdx = -1;\n public selectItems: string[] = [];\n public arrowIdx = -1;\n public isChipSectionActive = false;\n public isInputActive = false;\n\n public inputValue = '';\n\n // Chips:\n @Watch('chipsProp', { immediate: true })\n private watchToChips(): void {\n if (this.chipsProp) {\n this.chips = this.chipsProp;\n }\n }\n\n //\n public chipFocused(idx) {\n this.activeChipIdx = idx;\n }\n\n //\n public deleteChip(index) {\n if (this.activeChipIdx > 0) {\n this.activeChipIdx--;\n this.setFocusOnChip(this.activeChipIdx);\n }\n this.chips.splice(index, 1);\n if (this.chips.length === 0) {\n this.setFocusOnInput();\n }\n }\n\n private setFocusOnChip(idx) {\n const chip = this.$refs[`chip${idx}`] as HTMLElement;\n if (chip) {\n chip[0].focus();\n }\n }\n\n public handleChipsKeyDown(event) {\n const key = event.key;\n const maxIndex = this.chips.length - 1;\n switch (key) {\n case 'ArrowLeft':\n if (this.activeChipIdx > 0) {\n this.activeChipIdx--;\n this.setFocusOnChip(this.activeChipIdx);\n }\n break;\n case 'ArrowRight':\n if (this.activeChipIdx < maxIndex) {\n this.activeChipIdx++;\n this.setFocusOnChip(this.activeChipIdx);\n } else {\n this.activeChipIdx = -1;\n this.setFocusOnInput();\n }\n break;\n case 'Backspace':\n this.deleteChip(this.activeChipIdx);\n break;\n case 'Escape':\n this.activeChipIdx = -1;\n break;\n case 'Tab':\n this.activeChipIdx = -1;\n break;\n }\n }\n\n // Input:\n public inputFocused() {\n this.isInputActive = true;\n this.isChipSectionActive = false;\n this.activeChipIdx = -1;\n }\n\n private setFocusOnInput() {\n const mailboxInput = this.$refs.mailboxInput as HTMLFormElement;\n if (mailboxInput) {\n mailboxInput.focus();\n this.isInputActive = true;\n }\n }\n\n public handleInputKeyDown(event) {\n //\n if (!this.isInputActive) {\n this.isInputActive = true;\n this.arrowIdx = -1;\n this.activeChipIdx = -1;\n }\n //\n switch (event.code) {\n case 'ArrowLeft':\n if (this.inputValue.length <= 0) {\n this.activeChipIdx = this.chips.length - 1;\n this.setFocusOnChip(this.activeChipIdx);\n }\n break;\n case 'Backspace':\n if (this.inputValue.length <= 0) {\n this.activeChipIdx = this.chips.length - 1;\n this.setFocusOnChip(this.activeChipIdx);\n }\n break;\n case 'ArrowDown':\n if (this.arrowIdx < this.selectItems.length - 1) {\n this.arrowIdx += 1;\n this.fixScrolling();\n }\n break;\n case 'ArrowUp':\n if (this.arrowIdx >= 1) {\n this.arrowIdx -= 1;\n this.fixScrolling();\n }\n break;\n case 'Enter':\n if (this.arrowIdx >= 0) {\n event.preventDefault();\n const item = this.selectItems[this.arrowIdx];\n this.chips.push(item);\n this.$emit('setChips', this.label, this.chips);\n this.inputValue = '';\n this.arrowIdx = -1;\n this.isInputActive = false;\n } else {\n this.saveChip();\n }\n break;\n case 'Tab':\n this.arrowIdx = -1;\n this.isInputActive = false;\n // if ()\n this.saveChip();\n break;\n case 'Escape':\n this.isInputActive = false;\n this.arrowIdx = -1;\n break;\n }\n //\n }\n\n public saveChip() {\n const { chips, inputValue } = this;\n if (inputValue.length >= 1 && validateEmail(inputValue)) {\n chips.push(inputValue);\n this.$emit('setChips', this.label, this.chips);\n this.inputValue = '';\n }\n }\n\n public handleItemClick(item: string): void {\n this.chips.push(item);\n this.$emit('setChips', this.label, this.chips);\n this.inputValue = '';\n this.setFocusOnInput();\n }\n\n public async inputChanged(): Promise {\n if (this.inputValue.length >= 3) {\n const debounce = await this.debouncedRequest();\n if (debounce) {\n // TODO: Confirm no await needed\n this.getMailboxes();\n }\n }\n }\n\n private fixScrolling() {\n let scrollVal = 0;\n if (this.$refs.options) {\n const options = this.$refs.options as HTMLFormElement;\n // Find current option item\n options.map((option, idx) => {\n if (idx < this.arrowIdx) {\n scrollVal += option.clientHeight;\n }\n });\n // Scroll to top\n const scrollContainer = this.$refs.scrollContainer as HTMLFormElement;\n if (scrollContainer) {\n scrollContainer.scrollTop = scrollVal;\n }\n }\n }\n\n // Get emails/mailboxes\n private getMailboxes() {\n this.loading = true;\n const inputValue = this.inputValue;\n const controller = new AbortController();\n const idx = uuidv4();\n this.signalState.push({\n [idx]: controller,\n });\n if (this.inputValue.length === 0) {\n return;\n }\n return fetchZammadEmailLookup(inputValue, controller.signal)\n .then(data => {\n // Ignore results if inputs has changed\n if (inputValue === this.inputValue) {\n // Cancel requests\n this.signalState.map(signal => Object.values(signal)[0].abort());\n this.signalState = [];\n // Apply data\n this.selectItems = data;\n }\n })\n .catch(() => null)\n .finally(() => {\n this.loading = false;\n });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupMailbox.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupMailbox.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupMailbox.vue?vue&type=template&id=69dcbbe9\"\nimport script from \"./LookupMailbox.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupMailbox.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.clickedOutside),expression:\"clickedOutside\"}],staticClass:\"relative\",on:{\"blur\":_vm.inputBlured}},[_c('div',{staticClass:\"relative w-full\"},[_c('validation-provider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"flex flex-col floating-label-suburb\"},[_c('t-input-label',{ref:_vm.name,staticClass:\"rounded\",class:[_vm.disabled ? 'cursor-not-allowed' : 'cursor-text'],attrs:{\"id\":_vm.name,\"value\":_vm.inputValue,\"name\":_vm.name,\"disabled\":_vm.disabled,\"placeholder\":\"Suburb\",\"autocomplete\":\"off\",\"variant\":{\n error: !!errors[0],\n }},on:{\"focus\":_vm.inputFocused,\"blur\":_vm.inputBlured,\"input\":_vm.handleInput,\"keydown\":_vm.inputKeyPressed}}),_c('label',{staticClass:\"w-min\",class:[_vm.disabled ? 'cursor-not-allowed' : 'cursor-text'],attrs:{\"for\":_vm.name}},[_c('span',[_vm._v(\" Suburb \")])]),(errors[0])?_c('span',{staticClass:\"mt-0 ml-2.5 text-sm text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()],1),(_vm.suburbChosen.state && !!_vm.suburbChosen.postcode)?_c('div',{staticClass:\"absolute bottom-0.5 left-2.5\",class:[_vm.disabled ? 'cursor-not-allowed' : 'cursor-text']},[_c('div',{staticClass:\"text-xs text-gray-600\"},[_vm._v(_vm._s(_vm.suburbChosen.state)+\", \"+_vm._s(_vm.suburbChosen.postcode))])]):_vm._e(),_c('div',{staticClass:\"absolute top-3 right-2 bg-white pl-2\",class:[_vm.disabled ? 'cursor-not-allowed' : 'cursor-text']},[(_vm.inputValue.length >= 1 && !_vm.disabled)?_c(VIcon,{staticClass:\"mr-0 cursor-pointer\",attrs:{\"size\":\"18\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":_vm.clearInput}},[_vm._v(\"mdi-close\")]):_vm._e(),(_vm.showOptions)?_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\",\"disabled\":_vm.disabled},on:{\"click\":function($event){!_vm.disabled ? (_vm.showOptions = false) : null}}},[_vm._v(\"mdi-chevron-up\")]):_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\",\"disabled\":_vm.disabled},on:{\"click\":function($event){_vm.showOptions = true}}},[_vm._v(\"mdi-chevron-down\")])],1)]}}])})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showOptions),expression:\"showOptions\"}],staticClass:\"absolute w-full z-3 bg-white border border-solid border-purple-400 top-12 mt-0.5 ml-0.5 mh-48 overflow-hidden overflow-y-scroll rounded shadow-md p-0\"},[(_vm.inputValue.length < 3)?_c('div',{staticClass:\"h-16 px-3 leading-4 text-center flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" Enter more than 3 character \")]):_c('div',[(_vm.loading)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.loading && _vm.selectItems.length === 0)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" No such data \")]):_c('div',{ref:\"scrollContainer\",staticClass:\"flex flex-col mh-48 overflow-y-scroll\"},_vm._l((_vm.selectItems),function(item,idx){return _c('div',{key:idx,ref:\"options\",refInFor:true,staticClass:\"px-4 py-2 leading-4 cursor-pointer hover:bg-purple-50\",class:_vm.arrowIdx === idx ? 'bg-purple-100 focus:bg-purple-100' : '',on:{\"click\":function($event){return _vm.handleItemClick(item)}}},[_vm._v(\" \"+_vm._s(item.name)+\", \"+_vm._s(item.state)+\", \"+_vm._s(item.postcode)+\" \")])}),0)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\nimport { getSuburb } from '@/api';\n\nimport { ISelectSuburb } from '@/models/jbAdvanced';\n\n@Component({})\nexport default class LookupSuburb extends Vue {\n @Prop({ type: Object, required: false }) public chosenSuburb: ISelectSuburb;\n @Prop({ type: String, required: false }) public name: string;\n @Prop({ type: Boolean, required: false }) public disabled: boolean;\n\n public loading = false;\n\n public inputValue = '';\n public selectItems: ISelectSuburb[] = [];\n\n public showOptions = false;\n public suburbChosen: ISelectSuburb = {\n name: '',\n id: -1,\n postcode: '',\n state: '',\n };\n public arrowIdx = -1;\n\n public async handleInput(evt: string): Promise {\n if (evt || evt === '') {\n this.inputValue = evt;\n }\n if (this.inputValue.length >= 3) {\n this.loading = true;\n await getSuburb(this.inputValue)\n .then(data => {\n this.selectItems = data;\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n }\n }\n\n public inputKeyPressed(evt: KeyboardEvent): void {\n if (!this.showOptions) {\n this.showOptions = true;\n this.arrowIdx = -1;\n }\n if (evt.code === 'Escape') {\n this.showOptions = false;\n this.arrowIdx = -1;\n }\n // ArrowDown / ArrowUp\n if (evt.code === 'ArrowDown' && this.arrowIdx < this.selectItems.length - 1) {\n this.arrowIdx += 1;\n this.fixScrolling();\n }\n if (evt.code === 'ArrowUp' && this.arrowIdx >= 1) {\n this.arrowIdx -= 1;\n this.fixScrolling();\n }\n if (evt.code === 'Enter' && this.arrowIdx >= 0) {\n evt.preventDefault();\n const item = this.selectItems[this.arrowIdx];\n this.suburbChosen = item;\n this.inputValue = `${item.name}`;\n this.showOptions = false;\n this.$emit('changed', item, this.name.slice(-1));\n this.arrowIdx = -1;\n }\n }\n\n // noinspection JSUnusedGlobalSymbols\n /**\n * Function that should be called from parent component where it's used to pass a reselected suburb\n * For example it is used when a suburb comes from the user's address book, and we don't have to make a real lookup\n * @param item\n * @private\n */\n private applyValueFromParent(item: ISelectSuburb): void {\n this.suburbChosen = item;\n this.inputValue = `${item.name}`;\n this.$forceUpdate();\n }\n\n private fixScrolling() {\n let scrollVal = 0;\n if (this.$refs.options) {\n const options = this.$refs.options as HTMLFormElement;\n // Find current option item\n options.map((option, idx) => {\n if (idx < this.arrowIdx) {\n scrollVal += option.clientHeight;\n }\n });\n // Scroll to top\n const scrollContainer = this.$refs.scrollContainer as HTMLFormElement;\n if (scrollContainer) {\n scrollContainer.scrollTop = scrollVal;\n }\n }\n }\n\n public clearInput(): void {\n this.inputValue = '';\n this.showOptions = false;\n this.suburbChosen = {\n name: '',\n id: -1,\n postcode: '',\n state: '',\n };\n this.arrowIdx = -1;\n this.selectItems = [];\n }\n\n public inputFocused(): void {\n this.showOptions = true;\n }\n\n public inputBlured(): void {\n setTimeout(() => {\n this.showOptions = false;\n\n if (!this.suburbChosen) {\n this.inputValue = '';\n } else {\n if (typeof this.suburbChosen === 'object') {\n this.inputValue = `${this.suburbChosen.name}`;\n } else {\n this.inputValue = this.suburbChosen;\n }\n }\n }, 200);\n }\n\n public handleItemClick(item: ISelectSuburb): void {\n this.suburbChosen = item;\n this.showOptions = false;\n this.inputValue = `${item.name}`;\n this.$emit('changed', item, this.name.slice(-1));\n }\n\n public clickedOutside(): void {\n this.showOptions = false;\n }\n}\n// };\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupSuburb.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupSuburb.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupSuburb.vue?vue&type=template&id=1266e3ca&scoped=true\"\nimport script from \"./LookupSuburb.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupSuburb.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LookupSuburb.vue?vue&type=style&index=0&id=1266e3ca&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1266e3ca\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.clickedOutside),expression:\"clickedOutside\"}],staticClass:\"relative\"},[_c('div',{staticClass:\"relative w-full\"},[_c('validation-provider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"floating-label-inset\"},[_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":`warehouse-${_vm.stop_number}`,\"name\":`warehouse-${_vm.stop_number}`,\"type\":\"text\",\"placeholder\":\"Warehouse\",\"autocomplete\":\"off\",\"variant\":{\n error: !!errors[0],\n },\"maxlength\":30},on:{\"focus\":_vm.inputFocused,\"input\":_vm.handleInput,\"keydown\":_vm.inputKeyPressed},model:{value:(_vm.addressValue),callback:function ($$v) {_vm.addressValue=$$v},expression:\"addressValue\"}}),_c('label',{attrs:{\"for\":`warehouse-${_vm.stop_number}`}},[_c('span',[_vm._v(\" Warehouse \")])])],1),_c('div',{staticClass:\"absolute top-2 right-2 bg-white pl-2\"},[(_vm.addressValue.length >= 1)?_c(VIcon,{staticClass:\"mr-0 cursor-pointer\",attrs:{\"size\":\"18\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":_vm.clearInput}},[_vm._v(\"mdi-close\")]):_vm._e(),(_vm.showOptions)?_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":function($event){_vm.showOptions = false}}},[_vm._v(\"mdi-chevron-up\")]):_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":function($event){_vm.showOptions = true}}},[_vm._v(\"mdi-chevron-down\")])],1),(errors[0])?_c('span',{staticClass:\"ml-4 text-sm text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showOptions),expression:\"showOptions\"}],staticClass:\"absolute w-80 z-3 bg-white border border-solid border-purple-400 top-9 ml-0.5 mh-48 overflow-hidden overflow-y-scroll rounded shadow-md p-0\"},[_c('div',[(_vm.loading)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.loading && _vm.selectItems.length === 0)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" No such data \")]):_c('div',{ref:\"scrollContainer\",staticClass:\"flex flex-col mh-48 overflow-y-scroll\"},_vm._l((_vm.selectItems),function(item,idx){return _c('div',{key:idx,ref:\"options\",refInFor:true,staticClass:\"px-4 py-2 leading-4 cursor-pointer hover:bg-purple-50\",class:_vm.arrowIdx === idx ? 'bg-purple-100 focus:bg-purple-100' : '',on:{\"click\":function($event){return _vm.handleItemClick(item)}}},[_vm._v(\" \"+_vm._s(item)+\" \")])}),0)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { ValidationProvider, extend } from 'vee-validate';\nimport { required } from 'vee-validate/dist/rules';\n\nextend('required', {\n ...required,\n message: 'This field is required',\n});\n\n@Component({\n components: {\n ValidationProvider,\n },\n})\nexport default class LookupWarehouses extends Vue {\n @Prop({ type: Array, required: true }) public lookupData: string[];\n @Prop({ type: Number, required: true }) public stop_number: number;\n\n public loading = false;\n\n public addressValue = '';\n public selectItems: string[] = [];\n\n public showOptions = false;\n public addressChosen = '';\n private addressChosenDefault: '';\n\n public arrowIdx = -1;\n\n @Watch('addressChosen', { deep: true })\n private watchAddressChosen() {\n this.$emit('changed', this.addressChosen, this.stop_number);\n }\n\n private applyValueFromParent(item: string): void {\n this.addressChosen = item;\n this.addressValue = item;\n this.showOptions = false;\n this.$forceUpdate();\n }\n\n public async handleInput(evt: string): Promise {\n this.selectItems = this.lookupData.filter(x => x.toUpperCase().indexOf(evt.toUpperCase()) >= 0);\n }\n\n public inputKeyPressed(evt: KeyboardEvent): void {\n // Open dropdown on Focus\n if (!this.showOptions) {\n this.showOptions = true;\n this.arrowIdx = -1;\n }\n // Close dropdown when \"Escape\" pressed\n if (evt.code === 'Escape') {\n this.showOptions = false;\n this.arrowIdx = -1;\n }\n // ArrowDown / ArrowUp pressed\n if (evt.code === 'ArrowDown' && this.arrowIdx < this.selectItems.length - 1) {\n this.arrowIdx += 1;\n this.fixScrolling();\n }\n if (evt.code === 'ArrowUp' && this.arrowIdx >= 1) {\n this.arrowIdx -= 1;\n this.fixScrolling();\n }\n // Enter pressed\n if (evt.code === 'Enter' && this.arrowIdx >= 0) {\n evt.preventDefault();\n this.addressChosen = this.selectItems[this.arrowIdx];\n this.addressValue = this.selectItems[this.arrowIdx];\n this.showOptions = false;\n this.arrowIdx = -1;\n }\n }\n\n private fixScrolling() {\n const options = this.$refs.options as HTMLFormElement;\n const scrollContainer = this.$refs.scrollContainer as HTMLFormElement;\n if (options && scrollContainer) {\n const liH = options[this.arrowIdx].clientHeight;\n scrollContainer.scrollTop = liH * this.arrowIdx;\n }\n }\n\n public clearInput(): void {\n this.addressValue = '';\n this.showOptions = false;\n this.addressChosen = this.addressChosenDefault;\n this.arrowIdx = -1;\n this.selectItems = [];\n }\n\n public inputFocused(): void {\n this.showOptions = true;\n this.selectItems = this.lookupData;\n }\n\n public handleItemClick(item: string): void {\n this.addressChosen = item;\n this.addressValue = item;\n this.showOptions = false;\n }\n\n public clickedOutside(): void {\n this.showOptions = false;\n }\n\n private mounted(): void {\n if (this.lookupData.length) {\n this.addressValue = this.lookupData[0];\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupWarehouses.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupWarehouses.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupWarehouses.vue?vue&type=template&id=717832e7&scoped=true\"\nimport script from \"./LookupWarehouses.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupWarehouses.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LookupWarehouses.vue?vue&type=style&index=0&id=717832e7&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"717832e7\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('transition',{attrs:{\"name\":\"slide-fade\"}},[_c(VSnackbar,{attrs:{\"color\":`${_vm.color} darken-1`,\"multi-line\":\"\",\"right\":\"\",\"bottom\":\"\",\"timeout\":_vm.timeout},scopedSlots:_vm._u([{key:\"action\",fn:function({ attrs }){return [(_vm.close)?_c(VBtn,_vm._b({attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.isVisible = false}}},'v-btn',attrs,false),[_c(VIcon,[_vm._v(\"mdi-close\")])],1):_vm._e()]}}]),model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v},expression:\"isVisible\"}},[_c('span',[_vm._v(_vm._s(_vm.text))])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n@Component({})\nexport default class Notification extends Vue {\n @Prop({ type: Boolean, required: true }) public model!: boolean;\n @Prop(Boolean) public close!: boolean;\n @Prop({ type: Number, default: 3000 }) public timeout!: number;\n @Prop({ type: String, default: 'red' }) public color!: string;\n @Prop({ type: String, default: 'Error' }) public text!: string;\n private isVisible = false;\n\n @Watch('model', { immediate: true })\n private watchToModel() {\n this.isVisible = this.model;\n }\n\n @Watch('isVisible', { immediate: true })\n private watchToIsVisible() {\n if (!this.isVisible) {\n this.$emit('change');\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Notification.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Notification.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Notification.vue?vue&type=template&id=555f7023&scoped=true\"\nimport script from \"./Notification.vue?vue&type=script&lang=ts\"\nexport * from \"./Notification.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"555f7023\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"transition duration-150 ease-in-out flex justify-center items-center absolute -bottom-7 right-2 w-14 h-14 rounded-full shadow-sm\",class:[\n _vm.disabled ? 'bg-purple-200 cursor-not-allowed' : 'transform active:translate-y-0.5 bg-purple-400 cursor-pointer',\n ]},[_c('Icon',{class:[_vm.loading ? 'animate-spin' : ''],attrs:{\"name\":_vm.loading ? 'mdi-loading' : 'mdi-reload',\"color\":\"white\",\"size\":\"3xl\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\n\n@Component({\n components: {\n Icon,\n },\n})\nexport default class ReloadButton extends Vue {\n @Prop({ type: Boolean, required: false, default: false }) public loading!: boolean;\n @Prop({ type: Boolean, required: false, default: false }) public disabled!: boolean;\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ReloadButton.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ReloadButton.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ReloadButton.vue?vue&type=template&id=34e159d1\"\nimport script from \"./ReloadButton.vue?vue&type=script&lang=ts\"\nexport * from \"./ReloadButton.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex h-14 bg-purple-100 rounded border-2 border-purple-400\",class:_vm.disabled ? 'opacity-50' : 'cursor-pointer'},[_c('div',{staticClass:\"flex justify-center items-center px-3 min-w-12\",class:_vm.value === false ? 'bg-purple-400' : 'bg-white rounded-l',on:{\"click\":function($event){return _vm.toggleClicked(false)}}},[_c('div',{staticClass:\"whitespace-nowrap ma-0\",class:_vm.value === false ? 'text-white' : 'text-purple-500'},[_vm._v(\" \"+_vm._s(_vm.option1)+\" \")]),(_vm.value === false)?_c(VIcon,{staticClass:\"ml-1\",attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-checkbox-marked-circle\")]):_vm._e()],1),_c('div',{staticClass:\"flex justify-center items-center px-3 border-l-2 border-purple-400\",class:_vm.value === true ? 'bg-purple-400' : 'bg-white rounded-r',on:{\"click\":function($event){return _vm.toggleClicked(true)}}},[_c('div',{staticClass:\"whitespace-nowrap ma-0\",class:_vm.value === true ? 'text-white' : 'text-purple-500'},[_vm._v(_vm._s(_vm.option2))]),(_vm.value === true)?_c(VIcon,{staticClass:\"ml-1\",attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-checkbox-marked-circle\")]):_vm._e()],1),(_vm.option_all)?_c('div',{staticClass:\"flex justify-center items-center px-9 border-l-2 border-purple-400\",class:_vm.value === null ? 'bg-purple-400' : 'bg-white rounded-r',on:{\"click\":function($event){return _vm.toggleClicked(null)}}},[_c('div',{staticClass:\"whitespace-nowrap text-center ma-0\",class:_vm.value === null ? 'text-white' : 'text-purple-500'},[_vm._v(\" All \")]),(_vm.value === null)?_c(VIcon,{staticClass:\"ml-1\",attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-checkbox-marked-circle\")]):_vm._e()],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class ToggleButton extends Vue {\n @Prop({ type: String, required: true }) public option1: string;\n @Prop({ type: String, required: true }) public option2: string;\n @Prop({ type: Boolean, required: false }) public option_all: boolean;\n @Prop({ type: Boolean, required: false }) public readonly disabled: boolean;\n @Prop() public value: boolean | null;\n\n public toggleClicked(value) {\n if (!this.disabled) {\n this.$emit('changed', value);\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ToggleButton.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ToggleButton.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ToggleButton.vue?vue&type=template&id=44291f2d\"\nimport script from \"./ToggleButton.vue?vue&type=script&lang=ts\"\nexport * from \"./ToggleButton.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VSwitch } from 'vuetify/lib/components/VSwitch';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-min h-10 flex px-3 pt-2 border rounded\",class:[_vm.value === true ? 'border-green-600' : 'border-gray-400']},[_c(VSwitch,{staticClass:\"shift-switch ma-0 pa-0 text-green-600\",attrs:{\"value\":_vm.value,\"color\":_vm.value === true ? '#166534' : '#D1D5DB'},on:{\"change\":function($event){return _vm.toggleClicked(_vm.value)}}}),_c('span',{staticClass:\"whitespace-nowrap cursor-pointer select-none\",class:[_vm.value === true ? 'text-green-600' : 'text-gray-400'],on:{\"click\":function($event){return _vm.toggleClicked(_vm.value)}}},[_vm._v(\"Available\")])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class ToggleTableCell extends Vue {\n @Prop({ type: Boolean, required: true }) public value: boolean;\n @Prop({ type: Number, required: true }) public idx: number;\n @Prop({ type: Boolean, required: false }) public readonly disabled: boolean;\n\n public toggleClicked(value: boolean) {\n if (!this.disabled) {\n this.$emit('changed', value, this.idx);\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ToggleTableCell.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ToggleTableCell.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ToggleTableCell.vue?vue&type=template&id=7e674b10\"\nimport script from \"./ToggleTableCell.vue?vue&type=script&lang=ts\"\nexport * from \"./ToggleTableCell.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{ref:\"reference\",on:{\"mouseenter\":_vm.showTooltip,\"mouseleave\":_vm.hideTooltip}},[_vm._t(\"default\")],2),_c('transition',{attrs:{\"name\":\"fade\"}},[_c('div',{ref:\"tooltip\",class:[\n 'tooltip bg-gray-600 my-0.5 px-2 py-0.5 text-sm rounded shadow-md text-center z-10',\n _vm.show ? 'block' : 'hidden',\n _vm.className,\n ]},[_vm._v(\" \"+_vm._s(_vm.text)+\" \"),(_vm.arrow)?_c('div',{staticClass:\"arrow\",attrs:{\"data-popper-arrow\":\"\"}}):_vm._e()])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { createPopper } from '@popperjs/core';\nimport type { Instance, VirtualElement, StrictModifiers } from '@popperjs/core';\nimport { Placement } from '@popperjs/core/lib/enums';\n\n@Component\nexport default class Tooltip extends Vue {\n @Prop({ type: String, required: true }) public text: string;\n @Prop({ type: String, required: false, default: 'text-white' }) public className: string;\n @Prop({ type: String, required: false, default: 'top' }) public direction: Placement;\n @Prop({ type: Number, required: false, default: 500 }) public delay: number;\n @Prop({ type: Number, required: false, default: 100 }) public delayHide: number;\n @Prop({ type: Boolean, required: false, default: false }) public arrow: boolean;\n\n private popper: Instance;\n public show = false;\n private showTimeout: null | ReturnType = null;\n\n public showTooltip() {\n this.showTimeout = setTimeout(() => {\n this.show = true;\n this.popper.update();\n }, this.delay);\n }\n\n public hideTooltip() {\n if (this.showTimeout) {\n clearTimeout(this.showTimeout);\n }\n setTimeout(() => {\n this.show = false;\n }, this.delayHide);\n }\n\n private mounted() {\n const reference = this.$refs.reference as Element | VirtualElement;\n const tooltip = this.$refs.tooltip as HTMLElement;\n if (reference && tooltip) {\n this.popper = createPopper(reference, tooltip, {\n placement: this.direction,\n modifiers: [\n {\n name: 'offset',\n options: {\n offset: [0, 4],\n },\n },\n ],\n });\n }\n }\n\n private beforeDestroy() {\n this.popper.destroy();\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Tooltip.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Tooltip.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Tooltip.vue?vue&type=template&id=17992665&scoped=true\"\nimport script from \"./Tooltip.vue?vue&type=script&lang=ts\"\nexport * from \"./Tooltip.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Tooltip.vue?vue&type=style&index=0&id=17992665&prod&lang=postcss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"17992665\",\n null\n \n)\n\nexport default component.exports","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VDialog,{attrs:{\"persistent\":\"\",\"max-width\":\"800\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({}){return [_c('div',[_c('Button',{staticClass:\"mb-13\",staticStyle:{\"width\":\"200px\"},attrs:{\"size\":\"normal\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-cloud-upload-outline\",\"text\":\"Upload files\"},nativeOn:{\"click\":function($event){_vm.modal = true}}})],1)]}}]),model:{value:(_vm.modal),callback:function ($$v) {_vm.modal=$$v},expression:\"modal\"}},[_c(VCard,{staticClass:\"px-5 pt-10\"},[_c('div',{staticClass:\"modal-header pb-5 d-flex justify-space-between align-center\"},[_c('div',[_vm._v(\"Upload files \"),_c('span',{staticClass:\"modal-header-desk\"},[_vm._v(\"/ 5 files limit\")])]),_c(VIcon,{attrs:{\"color\":\"black\",\"size\":\"40\"},on:{\"click\":function($event){_vm.modal = false}}},[_vm._v(\"mdi-close\")])],1),(_vm.warning)?_c('div',{staticClass:\"upload-warning\"},[_c(VIcon,{staticClass:\"icon mt-1\",attrs:{\"size\":\"32\",\"color\":\"orange\"}},[_vm._v(\"mdi-alert-box\")]),_c('p',{staticClass:\"warning-title ma-0 mt-2\"},[_vm._v(_vm._s(_vm.warning))])],1):_vm._e(),_c('DropZone',{on:{\"filesAdded\":_vm.onFilesAdded}}),_c(VExpandTransition,[(_vm.files.length > 0)?_c(VDataTable,{staticClass:\"mt-8 dropZone-table\",attrs:{\"headers\":_vm.filesHeaders,\"items\":_vm.filesObjectsForTable,\"hide-default-footer\":\"\",\"disable-sort\":\"\",\"disable-pagination\":\"\"},scopedSlots:_vm._u([{key:`item.size`,fn:function({ item }){return [(item.size < 1024)?_c('span',[_vm._v(_vm._s(item.size.toFixed(1))+\" b\")]):(item.size / 1024 < 1024)?_c('span',[_vm._v(_vm._s((item.size / 1024).toFixed(1))+\" kb\")]):_c('span',[_vm._v(_vm._s((item.size / 1024 / 1024).toFixed(1))+\" mb\")])]}},{key:`item.delete`,fn:function({ item }){return [_c(VIcon,{attrs:{\"size\":\"20\"},on:{\"click\":function($event){return _vm.deleteFiles(item)}}},[_vm._v(\"mdi-trash-can-outline\")])]}}],null,true)}):_vm._e()],1),_c(VExpandTransition,[(_vm.uploadError.length > 0)?_c('p',{staticClass:\"mt-4 text-right red--text\"},[_vm._v(_vm._s(_vm.uploadError))]):_vm._e()]),_c('div',{staticClass:\"d-flex justify-end pb-5 pt-10\"},[_c('Button',{staticStyle:{\"width\":\"240px\"},attrs:{\"size\":\"big\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-check\",\"text\":\"Attach files\"},nativeOn:{\"click\":function($event){return _vm.uploadFiles.apply(null, arguments)}}})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Button from '@/components/UI/button/Button.vue';\nimport DropZone from '@/components/UI/dropZone/DropZone.vue';\nimport { Header, UploadingFilesObjectForTable } from '@/models/main';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n@Component({\n components: {\n Button,\n DropZone,\n },\n})\nexport default class UploadAttachments extends Vue {\n @Prop(Array) private readonly PFiles: File[];\n @Prop(String) private readonly warning: string;\n\n private modal = false;\n private files: File[] = [];\n private filesObjectsForTable: UploadingFilesObjectForTable[] = [];\n private uploadError = '';\n\n private filesHeaders: Header[] = [\n { text: 'Name', value: 'name' },\n { text: 'Size', value: 'size', align: 'center' },\n { text: 'Delete', value: 'delete', align: 'center' },\n ];\n\n @Watch('PFiles', { immediate: true, deep: true })\n private watchToPFiles() {\n if (!this.PFiles) {\n this.files = [];\n this.filesObjectsForTable = [];\n }\n }\n\n private onFilesAdded(files: File[]): void {\n this.uploadError = '';\n this.filesObjectsForTable = [];\n this.files = [...this.files, ...files];\n if (this.files.length > 5) {\n this.uploadError = 'You are only allowed to upload a maximum of 5 files';\n this.files.splice(5);\n }\n this.files.map(file => {\n this.filesObjectsForTable.push({\n name: file.name,\n size: file.size,\n });\n });\n }\n\n private deleteFiles(item: File): void {\n this.files.splice(this.files.indexOf(item), 1);\n this.filesObjectsForTable.splice(this.files.indexOf(item), 1);\n this.uploadError = '';\n }\n\n private uploadFiles(): void {\n this.modal = false;\n this.$emit('changeFiles', this.files);\n this.files = [];\n this.filesObjectsForTable = [];\n this.uploadError = '';\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UploadAttachments.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UploadAttachments.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UploadAttachments.vue?vue&type=template&id=2efedbbc&scoped=true\"\nimport script from \"./UploadAttachments.vue?vue&type=script&lang=ts\"\nexport * from \"./UploadAttachments.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UploadAttachments.scss?vue&type=style&index=0&id=2efedbbc&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2efedbbc\",\n null\n \n)\n\nexport default component.exports","import { VAvatar } from 'vuetify/lib/components/VAvatar';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VAvatar,{class:['app-avatar', `color-${_vm.color}`, `bg-${_vm.background}`],attrs:{\"size\":_vm.size}},[(_vm.imageURL)?_c('img',{staticClass:\"image\",attrs:{\"src\":_vm.URL,\"alt\":\"Avatar\"}}):_c('span',{style:(`font-size: ${_vm.size / 1.5}px`)},[_vm._v(\" \"+_vm._s(_vm.text ? _vm.text.replace(/\"/, '')[0].toUpperCase() : 'ME'))])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class Avatar extends Vue {\n @Prop({ type: String, required: false, default: '64' }) public size!: string;\n @Prop({ type: String, required: false, default: 'purple' }) public background!: string;\n @Prop({ type: String, required: false, default: 'white' }) public color!: string;\n @Prop({ type: String, required: false, default: 'ME' }) public text!: string;\n @Prop(String) public imageURL!: string;\n @Prop(String) public newImage!: string | ArrayBuffer | null;\n\n private get URL() {\n const url = process.env.VUE_APP_API?.replace(/api/i, '');\n return this.newImage ? this.newImage : `${url}${this.imageURL}`;\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Avatar.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Avatar.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Avatar.vue?vue&type=template&id=5ebb8883&scoped=true\"\nimport script from \"./Avatar.vue?vue&type=script&lang=ts\"\nexport * from \"./Avatar.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Avatar.scss?vue&type=style&index=0&id=5ebb8883&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5ebb8883\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"back-btn\",on:{\"click\":function($event){_vm.routePath ? _vm.$router.push(_vm.routePath) : _vm.$router.back()}}},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-arrow-left\")]),_c('span',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.text))])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class BackButton extends Vue {\n @Prop({ type: String, default: 'Back' }) private readonly text!: string;\n @Prop(String) private readonly routePath!: string;\n @Prop({ type: String, default: 'white' }) private readonly color!: string;\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BackButton.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BackButton.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BackButton.vue?vue&type=template&id=3d71f056&scoped=true\"\nimport script from \"./BackButton.vue?vue&type=script&lang=ts\"\nexport * from \"./BackButton.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BackButton.scss?vue&type=style&index=0&id=3d71f056&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3d71f056\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VBtn,{class:[\n 'app-button',\n _vm.size,\n `bg-${_vm.background}`,\n `color-${_vm.color}`,\n `circle-color-${_vm.circleColor}\n ${_vm.disabled ? 'disabled' : ''}`,\n ],attrs:{\"disabled\":_vm.disabled}},[_c('div',{staticClass:\"bg\"}),_c('span',{staticClass:\"text\",class:!_vm.icon ? 'text-center' : ''},[_vm._v(_vm._s(_vm.text))]),(_vm.icon)?_c('div',{staticClass:\"circle\"},[(!_vm.loading)?_c(VIcon,[_vm._v(_vm._s(_vm.icon))]):_c(VIcon,{staticClass:\"mdi-spin\"},[_vm._v(\"mdi-loading\")])],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class Button extends Vue {\n @Prop({ type: String, required: false, default: 'medium' }) public size!: string;\n @Prop({ type: String, required: false, default: 'green' }) public background!: string;\n @Prop({ type: String, required: false, default: 'white' }) public color!: string;\n @Prop({ type: String, required: false, default: 'white' }) public circleColor!: string;\n @Prop({ type: String, required: false, default: '' }) public icon!: string;\n @Prop({ type: String, required: false, default: 'Submit' }) public text!: string;\n @Prop({ type: Boolean, required: false, default: false }) public loading!: boolean;\n @Prop({ type: Boolean, required: false, default: false }) public disabled!: boolean;\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Button.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Button.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Button.vue?vue&type=template&id=075b95ad&scoped=true\"\nimport script from \"./Button.vue?vue&type=script&lang=ts\"\nexport * from \"./Button.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Button.scss?vue&type=style&index=0&id=075b95ad&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"075b95ad\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"app-button normal bg-purple circle-purple\",on:{\"click\":function($event){return _vm.downloadFile(_vm.link)}}},[_c('div',{staticClass:\"bg\"}),_c('span',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.text))]),_c('div',{staticClass:\"circle\"},[_c(VIcon,[_vm._v(\"mdi-download\")])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getFileFromUrl } from '@/api';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { notificationErrorText } from '@/utils/PortalConstants';\n\n@Component({})\nexport default class Button extends Vue {\n @Prop({ type: String, required: false, default: '#' }) public link!: string;\n @Prop({ type: String, required: false, default: 'Download' }) public text!: string;\n\n private downloadFile(link): void {\n const fileName = link.substring(link.lastIndexOf('/') + 1);\n getFileFromUrl(link)\n .then(res => {\n const blob = new Blob([res]);\n const downloadLink = document.createElement('a');\n downloadLink.href = URL.createObjectURL(blob);\n downloadLink.download = fileName;\n downloadLink.click();\n URL.revokeObjectURL(downloadLink.href);\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error downloading the file',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ButtonDownload.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ButtonDownload.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ButtonDownload.vue?vue&type=template&id=7bbc97b7&scoped=true\"\nimport script from \"./ButtonDownload.vue?vue&type=script&lang=ts\"\nexport * from \"./ButtonDownload.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Button.scss?vue&type=style&index=0&id=7bbc97b7&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7bbc97b7\",\n null\n \n)\n\nexport default component.exports","import { VChip } from 'vuetify/lib/components/VChip';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VChip,{class:[\n 'app-chip',\n `circle-color-${_vm.circleColor}`,\n `bg-${_vm.background}`,\n _vm.disabled ? 'opacity-50 cursor-not-allowed' : 'cursor-pointer',\n ],attrs:{\"text-color\":_vm.color}},[_c('div',{staticClass:\"circle\"},[_c(VIcon,{attrs:{\"color\":_vm.background}},[_vm._v(_vm._s(_vm.icon))])],1),_vm._v(\" \"+_vm._s(_vm.text)+\" \")])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class Chip extends Vue {\n @Prop({ type: String, required: false, default: 'purple' }) public background!: string;\n @Prop({ type: String, required: false, default: 'white' }) public color!: string;\n @Prop({ type: String, required: false, default: 'white' }) public circleColor!: string;\n @Prop({ type: String, required: false, default: 'mdi-axis-z-arrow' }) public icon!: string;\n @Prop({ type: String, required: false, default: 'process' }) public text!: string;\n @Prop({ type: Boolean, required: false, default: false }) public disabled!: boolean;\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Chip.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Chip.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Chip.vue?vue&type=template&id=2a144640&scoped=true\"\nimport script from \"./Chip.vue?vue&type=script&lang=ts\"\nexport * from \"./Chip.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Chip.scss?vue&type=style&index=0&id=2a144640&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2a144640\",\n null\n \n)\n\nexport default component.exports","import { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"date-wrapper\"},[_c('div',{staticClass:\"date\"},[_vm._v(_vm._s(_vm.formattedDate))]),_c('div',{staticClass:\"zone ml-1\",on:{\"click\":_vm.dateToggle}},[(_vm.userTimezone !== _vm.localTimezone)?_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_vm._v(_vm._s(_vm.chosenTimezoneCode))])]}}],null,false,3396389768)},[_c('span',[_vm._v(\"Switch to \"+_vm._s(_vm.chosenTimezone !== _vm.localTimezone ? _vm.localTimezoneCode : _vm.userTimezoneCode))])]):_c('span',[_vm._v(_vm._s(_vm.chosenTimezoneCode))])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { mapState } from 'vuex';\nimport { User } from '@/models/main';\nimport { statesTimeZonesList } from '@/utils/PortalConstants';\n\n@Component({\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class DateTimezoneToggle extends Vue {\n @Prop({ type: String, default: '', required: true }) private readonly dateString!: string;\n @Prop({ type: String, default: 'yyyy-MM-dd hh:mm:ss a' }) private readonly pattern!: string;\n @Prop({ type: String }) private readonly state!: string;\n\n private user: User;\n private statesTimeZonesList = statesTimeZonesList;\n private formattedDate = '';\n\n // dates & codes:\n // we get dates in Australia/Sydney time zone\n private defaultTimezone = 'Australia/Sydney';\n // user time zone\n private userTimezone = '';\n private userTimezoneCode = '';\n // job local time zone\n private localTimezone = '';\n private localTimezoneCode = '';\n // chosen time zone\n private chosenTimezone = '';\n private chosenTimezoneCode = '';\n\n // converting date to Australia/Sydney UTC and the to the local date\n private convertStringToDateTimezoneFormat(dateString: string, timezone: string, pattern: string): void {\n const date = new Date(dateString);\n const dateTimeZoned = utcToZonedTime(date, timezone);\n this.formattedDate = format(dateTimeZoned, pattern);\n }\n\n private setDefaultValues(): void {\n // user time zone\n this.userTimezone = this.user.timezone || this.defaultTimezone;\n // default is user time zone\n this.chosenTimezone = this.userTimezone;\n // job local time zone\n let stateCode = '';\n this.state ? (stateCode = this.state) : (stateCode = 'NSW');\n this.localTimezone = this.statesTimeZonesList[stateCode].timezone;\n this.localTimezoneCode = this.statesTimeZonesList[stateCode].code;\n\n // setting time zone codes\n const chosenTimezoneCodeIdx = Object.values(this.statesTimeZonesList).findIndex(\n x => x.timezone === this.chosenTimezone,\n );\n if (chosenTimezoneCodeIdx >= 0) {\n const stateCode = Object.keys(this.statesTimeZonesList)[chosenTimezoneCodeIdx];\n this.userTimezoneCode = this.statesTimeZonesList[stateCode].code;\n this.chosenTimezoneCode = this.userTimezoneCode;\n }\n\n // setting the date\n this.convertStringToDateTimezoneFormat(this.dateString, this.chosenTimezone, this.pattern);\n }\n\n private dateToggle(): void {\n if (this.userTimezone !== this.localTimezone) {\n // toggle user / local time zone\n this.chosenTimezone === this.localTimezone\n ? (this.chosenTimezone = this.user.timezone || this.defaultTimezone)\n : (this.chosenTimezone = this.localTimezone);\n\n // setting state codes\n const chosenTimezoneCodeIdx = Object.values(this.statesTimeZonesList).findIndex(\n x => x.timezone === this.chosenTimezone,\n );\n if (chosenTimezoneCodeIdx >= 0) {\n const stateCode = Object.keys(this.statesTimeZonesList)[chosenTimezoneCodeIdx];\n this.chosenTimezoneCode = this.statesTimeZonesList[stateCode].code;\n }\n\n // setting the date\n this.convertStringToDateTimezoneFormat(this.dateString, this.chosenTimezone, this.pattern);\n }\n }\n\n // watcher for the dashboard (drill-down clearing)\n @Watch('dateString', { immediate: true })\n private dateWatch() {\n this.setDefaultValues();\n }\n\n private mounted(): void {\n this.setDefaultValues();\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DateTimezoneToggle.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DateTimezoneToggle.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DateTimezoneToggle.vue?vue&type=template&id=9a51b624&scoped=true\"\nimport script from \"./DateTimezoneToggle.vue?vue&type=script&lang=ts\"\nexport * from \"./DateTimezoneToggle.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DateTimezoneToggle.scss?vue&type=style&index=0&id=9a51b624&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9a51b624\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.type === 'one-line' ? 'dropzone one-line' : 'dropzone',on:{\"click\":_vm.openFileSelection,\"dragover\":_vm.onDragOver,\"dragleave\":_vm.onDragLeave,\"drop\":_vm.onDrop}},[_c('div',{staticClass:\"texts py-4\"},[(_vm.type === 'one-line')?_c('p',{staticClass:\"text mr-2\"},[_vm._v(_vm._s(_vm.text))]):_c('div',[_c('p',{staticClass:\"text\"},[_vm._v(\"Drop files here\")]),_c('p',[_vm._v(\"or\")])]),_c('p',{staticClass:\"link\"},[_vm._v(_vm._s(_vm.link))])]),_c('input',{ref:\"fileInput\",staticClass:\"file-input\",attrs:{\"type\":\"file\",\"multiple\":_vm.multiple},on:{\"change\":_vm.onFileChanged}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport store from '@/store';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\ntype UserFile = File & {\n data: string;\n filename: string;\n};\n\n@Component\nexport default class DropZone extends Vue {\n @Prop({ type: String, required: false, default: 'Drop files here or ' }) public text!: string;\n @Prop({ type: String, required: false, default: 'choose from device' }) public link!: string;\n @Prop({ type: String, required: false, default: 'default' }) public type!: string;\n @Prop({ type: Array, required: false, default: () => [] }) public allowedFormats!: string;\n @Prop({ type: Boolean, required: false, default: true }) public multiple!: boolean;\n\n private highlight = false;\n private openFileSelection(): void {\n const fileInput = this.$refs.fileInput as HTMLElement;\n fileInput.click();\n }\n\n private onDragOver(event: DragEvent): void {\n event.preventDefault();\n this.highlight = true;\n }\n\n private onDragLeave(): void {\n this.highlight = false;\n }\n\n private onDrop(event: DragEvent): void {\n event.preventDefault();\n const dataTransfer = event.dataTransfer;\n if (dataTransfer) {\n const files: FileList = dataTransfer.files as FileList;\n const result: File[] = [];\n for (const file of files) {\n const fileType: string = file.type;\n if (this.allowedFormats.indexOf(fileType) > -1 || this.allowedFormats.length === 0) {\n const reader = new FileReader();\n // zammad requires base64 encoding for files\n reader.onloadend = () => {\n let b64;\n b64 = reader.result as string;\n b64 = b64.replace(/^data:.+;base64,/, '');\n (file as UserFile).data = b64;\n };\n reader.readAsDataURL(file);\n file['mime-type'] = file.type;\n (file as UserFile).filename = file.name;\n result.push(file);\n this.highlight = false;\n } else {\n store.dispatch('setNetworkError', 'Wrong file format');\n }\n }\n if (files.length > 0) {\n this.$emit('filesAdded', result);\n }\n } else {\n store.dispatch('setNetworkError', 'Something went wrong');\n }\n }\n private onFileChanged(event: Event) {\n const files: FileList = (event.target as HTMLInputElement).files as FileList;\n const result: File[] = [];\n for (const file of files) {\n const fileType: string = file.type;\n if (this.allowedFormats.indexOf(fileType) > -1 || this.allowedFormats.length === 0) {\n const reader = new FileReader();\n // zammad requires base64 encoding for files\n reader.onloadend = () => {\n let b64;\n b64 = reader.result as string;\n b64 = b64.replace(/^data:.+;base64,/, '');\n (file as UserFile).data = b64;\n };\n reader.readAsDataURL(file);\n\n file['mime-type'] = file.type;\n (file as UserFile).filename = file.name;\n result.push(file);\n } else {\n store.dispatch('setNetworkError', 'Wrong file format');\n }\n }\n\n if (files.length > 0) {\n this.$emit('filesAdded', result);\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DropZone.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DropZone.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DropZone.vue?vue&type=template&id=c488469c&scoped=true\"\nimport script from \"./DropZone.vue?vue&type=script&lang=ts\"\nexport * from \"./DropZone.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DropZone.scss?vue&type=style&index=0&id=c488469c&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c488469c\",\n null\n \n)\n\nexport default component.exports","import { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.files.length > 0)?_c(VDataTable,{staticClass:\"tableFiles\",attrs:{\"headers\":_vm.filesHeaders,\"items\":_vm.filesObjectsForTable,\"hide-default-header\":\"\",\"hide-default-footer\":\"\",\"disable-sort\":\"\",\"disable-pagination\":\"\"},scopedSlots:_vm._u([{key:`item.size`,fn:function({ item }){return [(item.size < 1024)?_c('span',[_vm._v(_vm._s(item.size.toFixed(1))+\" b\")]):(item.size / 1024 < 1024)?_c('span',[_vm._v(_vm._s((item.size / 1024).toFixed(1))+\" kb\")]):_c('span',[_vm._v(_vm._s((item.size / 1024 / 1024).toFixed(1))+\" mb\")])]}},{key:`item.delete`,fn:function({ item }){return [_c(VIcon,{attrs:{\"size\":\"20\"},on:{\"click\":function($event){return _vm.deleteFile(item)}}},[_vm._v(\"mdi-trash-can-outline\")])]}}],null,true)}):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Header, UploadingFilesObjectForTable } from '@/models/main';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n@Component({})\nexport default class FilesTable extends Vue {\n @Prop(Array) private readonly files: File[];\n\n private filesObjectsForTable: UploadingFilesObjectForTable[] = [];\n private filesHeaders: Header[] = [\n { text: 'Size', value: 'size', align: 'left' },\n { text: 'Name', value: 'name', align: 'left' },\n { text: 'Delete', value: 'delete', align: 'center' },\n ];\n\n @Watch('files', { immediate: true, deep: true })\n private watchToFiles() {\n if (this.files && this.files.length > 0 && this.filesObjectsForTable) {\n this.filesObjectsForTable = [];\n this.files.map(file => {\n this.filesObjectsForTable.push({\n name: file.name,\n size: file.size,\n });\n });\n }\n }\n private deleteFile(item: File): void {\n this.$emit('deleteFile', this.filesObjectsForTable.indexOf(item));\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FilesTable.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FilesTable.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FilesTable.vue?vue&type=template&id=4b33a65b&scoped=true\"\nimport script from \"./FilesTable.vue?vue&type=script&lang=ts\"\nexport * from \"./FilesTable.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FilesTable.scss?vue&type=style&index=0&id=4b33a65b&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4b33a65b\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"500\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c('div',{staticClass:\"icon-wrapper\"},[(_vm.content)?_c('span',{style:(`color: ${_vm.color}; font-size: ${_vm.size}px; font-weight: 600`)},[_vm._v(_vm._s(_vm.content))]):_c(VIcon,{attrs:{\"color\":_vm.color,\"size\":_vm.size}},[_vm._v(_vm._s(_vm.icon))])],1)])]}}])},[_c('span',[_c('p',{staticClass:\"tooltip-text ma-0 pa-0\"},[_vm._v(\" \"+_vm._s(_vm.description)+\" \")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class IconWithTooltip extends Vue {\n @Prop({ type: String, required: true, default: 'mdi-wrench' }) public icon!: string;\n @Prop({ type: String, required: true, default: 'white' }) public description!: string;\n @Prop({ type: Number, required: false, default: 16 }) public size!: number;\n @Prop({ type: String, required: false, default: 'white' }) public color!: string;\n @Prop({ type: String, required: false, default: '' }) public content!: string;\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./IconWithTooltip.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./IconWithTooltip.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./IconWithTooltip.vue?vue&type=template&id=28e9d000&scoped=true\"\nimport script from \"./IconWithTooltip.vue?vue&type=script&lang=ts\"\nexport * from \"./IconWithTooltip.vue?vue&type=script&lang=ts\"\nimport style0 from \"./IconWithTooltip.scss?vue&type=style&index=0&id=28e9d000&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"28e9d000\",\n null\n \n)\n\nexport default component.exports","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full\"},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"500\",\"disabled\":_vm.selectedSuburb?.id <= -1},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({staticClass:\"w-full\"},'span',attrs,false),on),[_c(VAutocomplete,{class:_vm.shift_id ? 'dense' : '',attrs:{\"items\":_vm.itemSearch,\"item-text\":\"name\",\"item-value\":\"id\",\"return-object\":\"\",\"loading\":_vm.loading,\"outlined\":\"\",\"clearable\":\"\",\"label\":\"Suburb\",\"required\":\"\",\"dense\":_vm.shift_id ? true : false,\"rules\":[v => (!!v && v.name.length >= 1) || 'Suburb is required field'],\"tabindex\":_vm.tabIndex,\"disabled\":_vm.disabled,\"readonly\":_vm.selectedSuburb.id >= 0,\"append-icon\":_vm.selectedSuburb.id >= 0 ? null : '$dropdown',\"autofill\":\"no\"},on:{\"update:search-input\":_vm.search,\"change\":_vm.change},scopedSlots:_vm._u([{key:\"selection\",fn:function({ item }){return [_c('p',{staticClass:\"text-select ma-0 mt-2 pa-0 whitespace-nowrap overflow-ellipsis overflow-hidden leading-3\"},[_vm._v(\" \"+_vm._s(item.name)+\", \"+_vm._s(item.state)+\", \"+_vm._s(item.postcode)+\" \")])]}},{key:\"item\",fn:function({ item }){return [_c('p',{staticClass:\"text-select text-select--list ma-0 pa-0\"},[_vm._v(\" \"+_vm._s(item.name)+\", \"+_vm._s(item.state)+\", \"+_vm._s(item.postcode)+\" \")])]}},{key:\"no-data\",fn:function(){return [_c(VListItem,[(_vm.loading)?_c(VListItemTitle,[_vm._v(\"Loading...\")]):(!_vm.loading && _vm.inputText && _vm.inputText !== '' && _vm.inputText.length >= 3)?_c(VListItemTitle,[_vm._v(\"Not found\")]):_c(VListItemTitle,[_vm._v(\"Enter more than 3 characters\")])],1)]},proxy:true}],null,true),model:{value:(_vm.selectedSuburb),callback:function ($$v) {_vm.selectedSuburb=$$v},expression:\"selectedSuburb\"}})],1)]}}])},[_c('span',[_vm._v(\" \"+_vm._s(_vm.selectedSuburb.name)+\", \"+_vm._s(_vm.selectedSuburb.state)+\", \"+_vm._s(_vm.selectedSuburb.postcode)+\" \")])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { SuburbLookupData } from '@/models/main';\nimport { AddressBookData } from '@/models/addressBook';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n@Component({})\nexport default class LookupSuburb extends Vue {\n @Prop({ type: Number, required: true }) private readonly stop!: number;\n @Prop({ type: Number, required: false }) private readonly shift_id!: number;\n @Prop({ type: Number, required: false }) private readonly editedItem!: number;\n @Prop({ type: Boolean, required: true }) private readonly disabled!: boolean;\n @Prop({ type: Object, required: false }) private readonly chosen!: AddressBookData;\n @Prop({ type: Number, required: false }) private readonly tabIndex!: number;\n @Prop({ type: Function, required: true }) private autocomplete!: (params: string) => Promise;\n\n private loading = false;\n private inputText = '';\n private itemSearch: SuburbLookupData[] = [];\n private selectedSuburbDefault = {\n id: -1,\n name: '',\n postcode: '',\n state: '',\n zone: '',\n };\n private selectedSuburb = this.selectedSuburbDefault;\n\n private search(val) {\n this.inputText = val;\n if (val?.length >= 3) {\n this.itemSearch = [];\n this.loading = true;\n this.autocomplete(val)\n .then(data => {\n this.itemSearch = data;\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n }\n }\n\n private change() {\n if (!this.selectedSuburb) {\n this.itemSearch = [];\n this.selectedSuburb = this.selectedSuburbDefault;\n this.$emit('clear', this.shift_id ? this.shift_id : this.stop);\n } else {\n this.$emit('change', this.shift_id ? this.shift_id : this.stop, this.selectedSuburb);\n }\n }\n\n @Watch('chosen', { immediate: true, deep: true })\n private watchToChosen() {\n // Clear the suburb if the parent has been cleared\n if (this.chosen.suburbId === -1) {\n this.selectedSuburb = { ...this.selectedSuburbDefault };\n }\n if (\n this.chosen.suburb &&\n typeof this.chosen.suburb === 'string' &&\n this.selectedSuburb &&\n (this.chosen.suburbId !== this.selectedSuburb.id || this.chosen.suburbId === -1)\n ) {\n this.loading = true;\n this.autocomplete(this.chosen.suburb)\n .then(data => {\n this.itemSearch = data;\n const find = data.find(x => x.id === this.chosen.suburbId || x.state === this.chosen.state);\n if (find) {\n this.selectedSuburb = find;\n // maybe better to add 'suburb_id' to the backend ?\n this.$emit('change', this.stop, this.selectedSuburb);\n }\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n } else if (this.itemSearch.length >= 1 && this.editedItem === -1 && this.chosen.suburbId === -1) {\n this.itemSearch = [];\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupSuburb.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupSuburb.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupSuburb.vue?vue&type=template&id=3cbf1a6a&scoped=true\"\nimport script from \"./LookupSuburb.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupSuburb.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LookupSuburb.vue?vue&type=style&index=0&id=3cbf1a6a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3cbf1a6a\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VMenu,{attrs:{\"close-on-content-click\":false,\"nudge-right\":40,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"max-width\":\"auto\",\"min-width\":\"auto\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on }){return [_c(VTextField,_vm._g({attrs:{\"background-color\":\"white\",\"prepend-icon\":\"mdi-calendar\",\"readonly\":\"\",\"outlined\":\"\",\"label\":\"Date\"},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v},expression:\"date\"}},on))]}}]),model:{value:(_vm.datePickerOpen),callback:function ($$v) {_vm.datePickerOpen=$$v},expression:\"datePickerOpen\"}},[_c(VDatePicker,{attrs:{\"show-current\":_vm.today,\"no-title\":\"\",\"scrollable\":\"\",\"first-day-of-week\":\"1\"},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v},expression:\"date\"}},[_c('div',{staticClass:\"btns flex justify-end\"},[_c(VBtn,{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.dateChanged}},[_vm._v(\"Ok\")])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport { User } from '@/models/main';\nimport { isValid } from 'date-fns';\nimport * as routeNames from '@/router/routeNames';\n\n@Component({\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class DatePicker extends Vue {\n private user!: User;\n public datePickerOpen = false;\n public date = '';\n public today = '';\n\n public dateChanged(): void {\n this.datePickerOpen = false;\n this.$emit('changeDate', this.date);\n }\n\n private mounted(): void {\n if (\n this.$route.name === routeNames.SCHEDULER_SHIFTS &&\n this.$route.params.date &&\n isValid(new Date(this.$route.params?.date))\n ) {\n this.date = this.$route.params.date;\n } else {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.date = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n this.today = this.date;\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DatePicker.vue?vue&type=template&id=693f2850&scoped=true\"\nimport script from \"./DatePicker.vue?vue&type=script&lang=ts\"\nexport * from \"./DatePicker.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"693f2850\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex w-72 h-12 mt-1 ml-5 pl-5 border-l border-purple-200\"},[_c('div',{staticClass:\"flex flex-col w-min pr-8\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"On board:\")]),_c('router-link',{attrs:{\"to\":{\n path: `/scheduler/board/${_vm.scheduleBoard.name.split('/')[0].toLowerCase()}/${_vm.date}/`,\n },\"target\":\"_blank\"}},[_c('span',{staticClass:\"flex text-lg font-semibold leading-6 whitespace-nowrap\"},[_vm._v(_vm._s(_vm.scheduleBoard.name)+\" \"),_c('Icon',{staticClass:\"ml-2 mt-0.5 cursor-pointer\",attrs:{\"name\":\"mdi-open-in-new\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"lg\"}})],1)])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\nimport { JobComplianceScheduledBoardData } from '@/models/JobComplianceTypes';\n\n@Component({\n components: {\n Icon,\n },\n})\nexport default class OpenSchedulerBoardFromJobLink extends Vue {\n @Prop({ type: Object, required: true }) public scheduleBoard: JobComplianceScheduledBoardData;\n @Prop({ type: String, required: true }) public date: string;\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OpenSchedulerBoardFromJobLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OpenSchedulerBoardFromJobLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./OpenSchedulerBoardFromJobLink.vue?vue&type=template&id=0a0f05dc\"\nimport script from \"./OpenSchedulerBoardFromJobLink.vue?vue&type=script&lang=ts\"\nexport * from \"./OpenSchedulerBoardFromJobLink.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"printActionBtn\"},[(_vm.isAirRoadBooked)?_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,{staticClass:\"ml-2\",attrs:{\"color\":\"purple\",\"size\":\"28\"},on:{\"click\":_vm.handlePrintClick}},[_vm._v(\"mdi-printer\")])],1)]}}],null,false,3415534886)},[_c('span',[_vm._v(\" Print \")])]):_c('Tooltip',{attrs:{\"text\":\"Print\",\"class-name\":\"text-white whitespace-nowrap\"}},[_c(VBtn,{staticClass:\"btn-detailed ma-1\",attrs:{\"fab\":\"\",\"small\":\"\",\"color\":\"primary\"},on:{\"click\":_vm.handlePrintClick}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-printer\")])],1)],1),_c('PrinterListDialog',{attrs:{\"arJob\":_vm.arJob,\"isShow\":_vm.isShow,\"close\":_vm.handleDialogClose}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VDialog } from 'vuetify/lib/components/VDialog';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VDialog,{attrs:{\"scrollable\":true,\"content-class\":_vm.$style.printerListDialog},on:{\"input\":_vm.handleInput},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('PrinterListWindow',{attrs:{\"close\":_vm.close},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('PrinterListHeader',{attrs:{\"arJob\":_vm.arJob}})]},proxy:true}])},[_c('PrinterListLoadBody',{attrs:{\"arJob\":_vm.arJob,\"isShow\":_vm.isShow,\"close\":_vm.close}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"printerListWindow\"},[_c('div',{staticClass:\"header\"},[_c('div',[_vm._t(\"header\")],2),_c('div',[_c(VBtn,{staticClass:\"iconBtn\",attrs:{\"icon\":\"\"},on:{\"click\":_vm.close}},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-close\")])],1)],1)]),_c('div',{staticClass:\"main\"},[_vm._t(\"default\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class PrinterListLoadBody extends Vue {\n @Prop(Function) public close: () => void;\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrinterListWindow.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrinterListWindow.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PrinterListWindow.vue?vue&type=template&id=560ef5e4&scoped=true\"\nimport script from \"./PrinterListWindow.vue?vue&type=script&lang=ts\"\nexport * from \"./PrinterListWindow.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PrinterListWindow.scss?vue&type=style&index=0&id=560ef5e4&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"560ef5e4\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"printerListHeader\"},[_vm._v(\"AirRoad job \"+_vm._s(_vm.arJob.connote)+\": Choose a printer\")])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { AirroadJobDetailed } from '@/models/airRoad';\n\n@Component({})\nexport default class PrinterListHeader extends Vue {\n @Prop(Object) public arJob: AirroadJobDetailed;\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrinterListHeader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrinterListHeader.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PrinterListHeader.vue?vue&type=template&id=58abfbf2&scoped=true\"\nimport script from \"./PrinterListHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./PrinterListHeader.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PrinterListHeader.scss?vue&type=style&index=0&id=58abfbf2&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"58abfbf2\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.loading)?_c('Loading',{attrs:{\"active\":_vm.loading,\"is-full-page\":false,\"opacity\":0},on:{\"update:active\":function($event){_vm.loading=$event}}}):_c('PrinterListBody',{attrs:{\"printers\":_vm.printers,\"arJob\":_vm.arJob,\"close\":_vm.close}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.$style.printerListBody},[(!_vm.printers.length)?_c('center',{staticClass:\"m-10 font-semibold\"},[_vm._v(\"Printers Not Found\")]):_c('table',{class:_vm.$style.printersTable},[_c('thead',[_c('tr',[_c('td',[_vm._v(\"Name\")]),_c('td',[_vm._v(\"State\")]),_c('td',[_vm._v(\"Location\")])])]),_c('tbody',_vm._l((_vm.printers),function(printer){return _c('tr',{key:printer.id,class:printer.id === _vm.selectedPrinterId && _vm.$style.selectedTr,on:{\"click\":function($event){return _vm.handleTrClick(printer.id)}}},[_c('td',[_vm._v(_vm._s(printer.name || '—'))]),_c('td',[_vm._v(_vm._s(printer.state || '—'))]),_c('td',[_vm._v(_vm._s(printer.location || '—'))])])}),0)]),_c('div',{class:_vm.$style.footer},[_c('div',{staticClass:\"mr-5 text-red-700\"},[_vm._v(_vm._s(_vm.error))]),_c('PrintBtn',{attrs:{\"disabled\":!_vm.selectedPrinterId,\"isLoading\":_vm.loading},on:{\"click\":_vm.handleBtnClick}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VBtn,{class:_vm.$style.printBtn,attrs:{\"rounded\":\"\",\"outlined\":\"\",\"disabled\":_vm.isLoading || _vm.disabled},on:{\"click\":_vm.handleClick}},[_c('span',{class:_vm.$style.text},[_vm._v(\"Print\")]),_c('span',{class:_vm.$style.iconWrapper},[(_vm.isLoading)?_c(VIcon,{class:_vm.$style.icon + ' mdi-spin'},[_vm._v(\"mdi-loading\")]):_c(VIcon,{class:_vm.$style.icon},[_vm._v(\"mdi-printer-outline\")])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class PrintBtn extends Vue {\n @Prop(Boolean) public disabled: boolean;\n @Prop(Boolean) public isLoading: boolean;\n\n public handleClick() {\n this.$emit('click');\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrintBtn.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrintBtn.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"PrintBtn_sidemenu_vfU1U\",\"layout-wrapper\":\"PrintBtn_layout-wrapper_x5_47\",\"wrapper-portal\":\"PrintBtn_wrapper-portal_tFLi8\",\"wrapper-portal-dash\":\"PrintBtn_wrapper-portal-dash_C0Wij\",\"container\":\"PrintBtn_container_GlVdl\",\"b-fa\":\"PrintBtn_b-fa_WJZPq\",\"mdi-stairs\":\"PrintBtn_mdi-stairs_PLidL\",\"mdi-progress-wrench\":\"PrintBtn_mdi-progress-wrench_zzrIF\",\"mdi-wrench\":\"PrintBtn_mdi-wrench__j3UC\",\"mdi-file-document\":\"PrintBtn_mdi-file-document_LK_1J\",\"mdi-account\":\"PrintBtn_mdi-account_pSDw8\",\"mdi-caravan\":\"PrintBtn_mdi-caravan_qPu7K\",\"mdi-forklift\":\"PrintBtn_mdi-forklift_ueUul\",\"mdi-account-plus\":\"PrintBtn_mdi-account-plus_wsuw4\",\"mdi-format-align-bottom\":\"PrintBtn_mdi-format-align-bottom_hMc9o\",\"mdi-clock-alert\":\"PrintBtn_mdi-clock-alert_ffjH8\",\"mdi-school\":\"PrintBtn_mdi-school_Is1W4\",\"mdi-face-mask\":\"PrintBtn_mdi-face-mask_EORSP\",\"fa\":\"PrintBtn_fa_XyMjO\",\"fa-angle-up\":\"PrintBtn_fa-angle-up_zahdD\",\"fa-angle-left\":\"PrintBtn_fa-angle-left_O2RmE\",\"fa-search\":\"PrintBtn_fa-search_qZi5r\",\"fa-consolidate\":\"PrintBtn_fa-consolidate__etOU\",\"fa-split\":\"PrintBtn_fa-split_oZ9Ha\",\"mdi-food-fork-drink\":\"PrintBtn_mdi-food-fork-drink_JNGVZ\",\"mdi-package-variant\":\"PrintBtn_mdi-package-variant_jIVcz\",\"mdi-call-merge\":\"PrintBtn_mdi-call-merge_zhIDh\",\"mdi-tray-arrow-up\":\"PrintBtn_mdi-tray-arrow-up_j5I1E\",\"fa-arrow-circle-up\":\"PrintBtn_fa-arrow-circle-up_WmHBq\",\"fa-arrow-circle-down\":\"PrintBtn_fa-arrow-circle-down_XdhbV\",\"mdi-calendar-check\":\"PrintBtn_mdi-calendar-check_PF6Xd\",\"mdi-calendar-remove\":\"PrintBtn_mdi-calendar-remove_x3azy\",\"stop-tooltip\":\"PrintBtn_stop-tooltip_cq8Vg\",\"bold\":\"PrintBtn_bold_wStaR\",\"tooltip-header\":\"PrintBtn_tooltip-header_FyNxV\",\"tooltip-content\":\"PrintBtn_tooltip-content_B_lrD\",\"stops\":\"PrintBtn_stops_vZVXh\",\"tooltip-attrs\":\"PrintBtn_tooltip-attrs_jd2oQ\",\"attr\":\"PrintBtn_attr_XUtJ8\",\"warnings\":\"PrintBtn_warnings_SH_o4\",\"b-panel-body-wrap\":\"PrintBtn_b-panel-body-wrap_usH9_\",\"b-panel-content\":\"PrintBtn_b-panel-content_yWYIl\",\"b-tooltip-content\":\"PrintBtn_b-tooltip-content_UqIEW\",\"t-radio\":\"PrintBtn_t-radio_A0lQG\",\"t-checkbox\":\"PrintBtn_t-checkbox_zB7gM\",\"floating-label\":\"PrintBtn_floating-label_uuIZz\",\"floating-label-inset\":\"PrintBtn_floating-label-inset_QcbQC\",\"printBtn\":\"PrintBtn_printBtn_skvcg\",\"text\":\"PrintBtn_text_t0u1a\",\"iconWrapper\":\"PrintBtn_iconWrapper_lKy2l\",\"icon\":\"PrintBtn_icon_QlTUX\"};","import { render, staticRenderFns } from \"./PrintBtn.vue?vue&type=template&id=23849363\"\nimport script from \"./PrintBtn.vue?vue&type=script&lang=ts\"\nexport * from \"./PrintBtn.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PrintBtn.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { UserPrintersData } from '@/models/main';\nimport PrintBtn from '@/components/btns/PrintBtn.vue';\nimport { sendError } from '@/helpers/sentry';\nimport { printAirRoad } from '@/api';\nimport { AirroadJobDetailed } from '@/models/airRoad';\n\n@Component({\n components: {\n PrintBtn,\n },\n})\nexport default class PreviewJobDialogBody extends Vue {\n @Prop(Object) public arJob: AirroadJobDetailed;\n @Prop(Array) public printers: UserPrintersData[];\n @Prop(Function) public close: () => void;\n\n public selectedPrinterId = NaN;\n public loading = false;\n public error = '';\n\n @Watch('printers', { immediate: true })\n private watchPrinters(printers: UserPrintersData[]) {\n if (printers.length === 1) {\n this.selectedPrinterId = printers[0].id;\n }\n }\n\n public handleBtnClick() {\n this.loading = true;\n this.error = '';\n printAirRoad({ id: this.arJob.id, printer_id: this.selectedPrinterId })\n .then(res => {\n if (res.status === 200) {\n this.close();\n } else {\n throw new Error(`res.status: ${res.status}`);\n }\n })\n .catch(err => {\n this.error = 'Error';\n sendError(err, 'PrinterListBody');\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n handleTrClick(printerId: number) {\n this.selectedPrinterId = printerId;\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrinterListBody.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrinterListBody.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"PrinterListBody_sidemenu_h2_CH\",\"layout-wrapper\":\"PrinterListBody_layout-wrapper_PK5_s\",\"wrapper-portal\":\"PrinterListBody_wrapper-portal_njYyW\",\"wrapper-portal-dash\":\"PrinterListBody_wrapper-portal-dash_Mv92w\",\"container\":\"PrinterListBody_container_spSsg\",\"b-fa\":\"PrinterListBody_b-fa_Q4DbC\",\"mdi-stairs\":\"PrinterListBody_mdi-stairs_eZF0H\",\"mdi-progress-wrench\":\"PrinterListBody_mdi-progress-wrench_d2dA7\",\"mdi-wrench\":\"PrinterListBody_mdi-wrench_Lbix4\",\"mdi-file-document\":\"PrinterListBody_mdi-file-document_kgvVs\",\"mdi-account\":\"PrinterListBody_mdi-account_twmIa\",\"mdi-caravan\":\"PrinterListBody_mdi-caravan_zpPEK\",\"mdi-forklift\":\"PrinterListBody_mdi-forklift_Zz6cN\",\"mdi-account-plus\":\"PrinterListBody_mdi-account-plus_u0oSM\",\"mdi-format-align-bottom\":\"PrinterListBody_mdi-format-align-bottom_iLg8C\",\"mdi-clock-alert\":\"PrinterListBody_mdi-clock-alert_B9lbG\",\"mdi-school\":\"PrinterListBody_mdi-school_KYFQI\",\"mdi-face-mask\":\"PrinterListBody_mdi-face-mask_VwnJ5\",\"fa\":\"PrinterListBody_fa_tj8qb\",\"fa-angle-up\":\"PrinterListBody_fa-angle-up_tM5rq\",\"fa-angle-left\":\"PrinterListBody_fa-angle-left_uRAQH\",\"fa-search\":\"PrinterListBody_fa-search_llSJS\",\"fa-consolidate\":\"PrinterListBody_fa-consolidate_Ifq42\",\"fa-split\":\"PrinterListBody_fa-split_Lz0ES\",\"mdi-food-fork-drink\":\"PrinterListBody_mdi-food-fork-drink_G3b8P\",\"mdi-package-variant\":\"PrinterListBody_mdi-package-variant_iFOnb\",\"mdi-call-merge\":\"PrinterListBody_mdi-call-merge_cghd7\",\"mdi-tray-arrow-up\":\"PrinterListBody_mdi-tray-arrow-up_z7BRN\",\"fa-arrow-circle-up\":\"PrinterListBody_fa-arrow-circle-up_VvXwB\",\"fa-arrow-circle-down\":\"PrinterListBody_fa-arrow-circle-down_kPSLx\",\"mdi-calendar-check\":\"PrinterListBody_mdi-calendar-check_H8ZXV\",\"mdi-calendar-remove\":\"PrinterListBody_mdi-calendar-remove_uN8S2\",\"stop-tooltip\":\"PrinterListBody_stop-tooltip_wTQk4\",\"bold\":\"PrinterListBody_bold_a1Jya\",\"tooltip-header\":\"PrinterListBody_tooltip-header_WjAWp\",\"tooltip-content\":\"PrinterListBody_tooltip-content_WJOFd\",\"stops\":\"PrinterListBody_stops_FIdkq\",\"tooltip-attrs\":\"PrinterListBody_tooltip-attrs_uwIhm\",\"attr\":\"PrinterListBody_attr_Azq3P\",\"warnings\":\"PrinterListBody_warnings_lleq2\",\"b-panel-body-wrap\":\"PrinterListBody_b-panel-body-wrap_KHtAn\",\"b-panel-content\":\"PrinterListBody_b-panel-content_wT8zQ\",\"b-tooltip-content\":\"PrinterListBody_b-tooltip-content_WbC4g\",\"t-radio\":\"PrinterListBody_t-radio_irNSc\",\"t-checkbox\":\"PrinterListBody_t-checkbox_Py7Rc\",\"floating-label\":\"PrinterListBody_floating-label_fkxnL\",\"floating-label-inset\":\"PrinterListBody_floating-label-inset_XsVSx\",\"printersTable\":\"PrinterListBody_printersTable_iyyAO\",\"selectedTr\":\"PrinterListBody_selectedTr_tYcQ8\",\"footer\":\"PrinterListBody_footer_mEWfq\"};","import { render, staticRenderFns } from \"./PrinterListBody.vue?vue&type=template&id=b8383d1a\"\nimport script from \"./PrinterListBody.vue?vue&type=script&lang=ts\"\nexport * from \"./PrinterListBody.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PrinterListBody.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { sendError } from '@/helpers/sentry';\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport PrinterListBody from '@/components/jobDetailed/printerList/PrinterListBody.vue';\nimport { getUserPrinters } from '@/api';\nimport { UserPrintersData } from '@/models/main';\nimport { AirroadJobDetailed } from '@/models/airRoad';\n\n@Component({\n components: {\n PrinterListBody,\n },\n})\nexport default class PrinterListLoadBody extends Vue {\n @Prop(Object) public arJob: AirroadJobDetailed;\n @Prop(Boolean) public isShow: boolean;\n @Prop(Function) public close: () => void;\n\n public loading = false;\n public printers: UserPrintersData[] = [];\n\n @Watch('isShow', { immediate: true })\n private watchIsShow(isShow: boolean) {\n if (isShow) {\n this.fetchData();\n }\n }\n\n private fetchData(): void {\n this.loading = true;\n this.printers = [];\n getUserPrinters()\n .then((printers: UserPrintersData[]) => {\n this.printers = printers;\n })\n .catch(err => {\n sendError(err, 'PrinterListLoadBody');\n })\n .finally(() => {\n this.loading = false;\n });\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrinterListLoadBody.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrinterListLoadBody.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PrinterListLoadBody.vue?vue&type=template&id=39bb9506\"\nimport script from \"./PrinterListLoadBody.vue?vue&type=script&lang=ts\"\nexport * from \"./PrinterListLoadBody.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport PrinterListWindow from '@/components/windows/PrinterListWindow.vue';\nimport PrinterListHeader from '@/components/jobDetailed/printerList/PrinterListHeader.vue';\nimport PrinterListLoadBody from '@/components/jobDetailed/printerList/PrinterListLoadBody.vue';\nimport { AirroadJobDetailed } from '@/models/airRoad';\n\n@Component({\n components: {\n PrinterListWindow,\n PrinterListHeader,\n PrinterListLoadBody,\n },\n})\nexport default class PrinterListDialog extends Vue {\n @Prop(Object) public arJob: AirroadJobDetailed;\n @Prop(Boolean) public isShow: boolean;\n @Prop(Function) public close: () => void;\n\n public dialog = false;\n\n @Watch('isShow', { immediate: true })\n private watchIsShow(isShow: boolean) {\n this.dialog = isShow;\n }\n\n public handleInput(dialog: boolean) {\n if (!dialog) {\n this.close();\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrinterListDialog.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrinterListDialog.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"PrinterListDialog_sidemenu_Eyk9_\",\"layout-wrapper\":\"PrinterListDialog_layout-wrapper_Xl0PG\",\"wrapper-portal\":\"PrinterListDialog_wrapper-portal_T4T8S\",\"wrapper-portal-dash\":\"PrinterListDialog_wrapper-portal-dash_WUGWt\",\"container\":\"PrinterListDialog_container__GaVz\",\"b-fa\":\"PrinterListDialog_b-fa_ZCAmg\",\"mdi-stairs\":\"PrinterListDialog_mdi-stairs_Kpecy\",\"mdi-progress-wrench\":\"PrinterListDialog_mdi-progress-wrench_IF94C\",\"mdi-wrench\":\"PrinterListDialog_mdi-wrench_zcMNG\",\"mdi-file-document\":\"PrinterListDialog_mdi-file-document_Cv1oo\",\"mdi-account\":\"PrinterListDialog_mdi-account_UEE84\",\"mdi-caravan\":\"PrinterListDialog_mdi-caravan_ivixZ\",\"mdi-forklift\":\"PrinterListDialog_mdi-forklift_HoPDl\",\"mdi-account-plus\":\"PrinterListDialog_mdi-account-plus_vC4DD\",\"mdi-format-align-bottom\":\"PrinterListDialog_mdi-format-align-bottom_mxzWc\",\"mdi-clock-alert\":\"PrinterListDialog_mdi-clock-alert_C_C_M\",\"mdi-school\":\"PrinterListDialog_mdi-school_dmbSS\",\"mdi-face-mask\":\"PrinterListDialog_mdi-face-mask_o5TLT\",\"fa\":\"PrinterListDialog_fa_IcyYO\",\"fa-angle-up\":\"PrinterListDialog_fa-angle-up_hsnh0\",\"fa-angle-left\":\"PrinterListDialog_fa-angle-left_GV_na\",\"fa-search\":\"PrinterListDialog_fa-search_zJwyM\",\"fa-consolidate\":\"PrinterListDialog_fa-consolidate_q0BiB\",\"fa-split\":\"PrinterListDialog_fa-split_lIPMO\",\"mdi-food-fork-drink\":\"PrinterListDialog_mdi-food-fork-drink_p5wMG\",\"mdi-package-variant\":\"PrinterListDialog_mdi-package-variant_C8vOI\",\"mdi-call-merge\":\"PrinterListDialog_mdi-call-merge_pB6PI\",\"mdi-tray-arrow-up\":\"PrinterListDialog_mdi-tray-arrow-up_mqKMy\",\"fa-arrow-circle-up\":\"PrinterListDialog_fa-arrow-circle-up_O9dmJ\",\"fa-arrow-circle-down\":\"PrinterListDialog_fa-arrow-circle-down_y9fBb\",\"mdi-calendar-check\":\"PrinterListDialog_mdi-calendar-check_FpeEU\",\"mdi-calendar-remove\":\"PrinterListDialog_mdi-calendar-remove_GoLWe\",\"stop-tooltip\":\"PrinterListDialog_stop-tooltip_cwyP8\",\"bold\":\"PrinterListDialog_bold_jOnYT\",\"tooltip-header\":\"PrinterListDialog_tooltip-header_mzK7U\",\"tooltip-content\":\"PrinterListDialog_tooltip-content_w_IHD\",\"stops\":\"PrinterListDialog_stops_RQDt8\",\"tooltip-attrs\":\"PrinterListDialog_tooltip-attrs_A24O3\",\"attr\":\"PrinterListDialog_attr_IYU_x\",\"warnings\":\"PrinterListDialog_warnings_IFq5J\",\"b-panel-body-wrap\":\"PrinterListDialog_b-panel-body-wrap_NPdzd\",\"b-panel-content\":\"PrinterListDialog_b-panel-content_e6wly\",\"b-tooltip-content\":\"PrinterListDialog_b-tooltip-content_Vq5wH\",\"t-radio\":\"PrinterListDialog_t-radio_y5NC1\",\"t-checkbox\":\"PrinterListDialog_t-checkbox_Kf1Je\",\"floating-label\":\"PrinterListDialog_floating-label_h5Du7\",\"floating-label-inset\":\"PrinterListDialog_floating-label-inset_kr8zY\",\"printerListDialog\":\"PrinterListDialog_printerListDialog_WMrV5\"};","import { render, staticRenderFns } from \"./PrinterListDialog.vue?vue&type=template&id=14392dcc\"\nimport script from \"./PrinterListDialog.vue?vue&type=script&lang=ts\"\nexport * from \"./PrinterListDialog.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PrinterListDialog.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport Tooltip from '@/components/UI/Tooltip.vue';\nimport PrinterListDialog from '@/components/dialogs/PrinterListDialog.vue';\nimport { AirroadJobDetailed } from '@/models/airRoad';\n\n@Component({\n components: {\n Tooltip,\n PrinterListDialog,\n },\n})\nexport default class PrintActionBtn extends Vue {\n @Prop(Object) public arJob: AirroadJobDetailed;\n @Prop(Boolean) public isAirRoadBooked: boolean;\n\n public isShow = false;\n\n public handlePrintClick(event: Event) {\n event.stopPropagation();\n this.isShow = true;\n }\n\n public handleDialogClose() {\n this.isShow = false;\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrintActionBtn.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrintActionBtn.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PrintActionBtn.vue?vue&type=template&id=6e5a50ff&scoped=true\"\nimport script from \"./PrintActionBtn.vue?vue&type=script&lang=ts\"\nexport * from \"./PrintActionBtn.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PrintActionBtn.scss?vue&type=style&index=0&id=6e5a50ff&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6e5a50ff\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.searchValue.length >= 1)?_c('Icon',{staticClass:\"mt-3 cursor-pointer\",attrs:{\"name\":\"mdi-close\",\"color\":\"black\",\"size\":\"base\"},nativeOn:{\"click\":function($event){_vm.searchValue = ''}}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\n\n@Component({\n components: {\n Icon,\n },\n})\nexport default class TInputCloseBtn extends Vue {\n @Prop(String) public value: string;\n\n get searchValue() {\n return this.value;\n }\n\n set searchValue(value) {\n this.$emit('input', value);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TInputCloseBtn.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TInputCloseBtn.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TInputCloseBtn.vue?vue&type=template&id=110efe00\"\nimport script from \"./TInputCloseBtn.vue?vue&type=script&lang=ts\"\nexport * from \"./TInputCloseBtn.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{attrs:{\"fluid\":\"\"}},[_c(VCard,{staticClass:\"mr-2\"},[_c(VDataTable,{staticClass:\"elevation-1 jobTable\",attrs:{\"headers\":_vm.headers,\"items\":_vm.jobs,\"loading\":_vm.loading,\"single-expand\":\"\",\"expanded\":_vm.expanded,\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"sort-desc\":false,\"disable-sort\":_vm.disableSort,\"search\":_vm.search,\"item-class\":_vm.rowClasses,\"item-key\":\"unique_id\"},on:{\"click:row\":function($event){return _vm.expandRow($event)}},scopedSlots:_vm._u([{key:`item.id`,fn:function({ item }){return [_c('div',{staticClass:\"slot-wrapper\"},[(_vm.showSplitToBase(item))?_c('div',{staticClass:\"mr-1\"},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c('div',{staticClass:\"icon-wrapper\"},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-call-split\")])],1)])]}}],null,true)},[_c('span',[_vm._v(_vm._s(item.split_base))])])],1):_vm._e(),(item.is_futile)?_c('div',{staticClass:\"mr-1\"},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c('div',{staticClass:\"icon-wrapper\"},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-account-alert\")])],1)])]}}],null,true)},[_c('span',[_vm._v(\"Is futile\")])])],1):_vm._e(),_c('p',{staticClass:\"ma-0 ml-2\"},[_vm._v(_vm._s(item.id))]),(_vm.$can('staff', 'Job') && item.edited === 1)?_c(VIcon,{staticClass:\"pl-2\"},[_vm._v(\"mdi-pencil\")]):_vm._e()],1)]}},{key:`item.job_date`,fn:function({ item }){return [_vm._v(\" \"+_vm._s(item.job_date === _vm.today ? 'Today' : _vm.formatDateStringWithTZ(item.job_date, _vm.user.timezone, 'yyyy-MM-dd'))+\" \")]}},{key:`item.ref1`,fn:function({ item }){return [_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_vm._v(_vm._s(item.ref1))])]}}],null,true)},[_c('span',[_vm._v(\" \"+_vm._s(item.ref1_prompt)+\" \")])])]}},{key:`item.stop2_name`,fn:function({ item }){return [_c('span',[_vm._v(_vm._s(item.main_stop === 1 ? item.suburb_name1 : item.suburb_name2))])]}},{key:`item.suburb_state2`,fn:function({ item }){return [_c('span',[_vm._v(_vm._s(item.main_stop === 1 ? item.suburb_state1 : item.suburb_state2))])]}},{key:`item.suburb_name2`,fn:function({ item }){return [_c('span',[_vm._v(_vm._s(item.main_stop === 1 ? item.stop1_name : item.stop2_name))])]}},{key:`item.driver2`,fn:function({ item }){return [_c('span',[_vm._v(_vm._s(_vm.currDriver(item)))])]}},{key:`item.currDelay`,fn:function({ item }){return [_c('span',[_vm._v(_vm._s(_vm.currDelay(item)))])]}},{key:`item.wh_status`,fn:function({ item }){return [(item.wh_status)?_c('div',{on:{\"click\":function($event){$event.preventDefault();return _vm.wareHouseLinkClick(item)}}},[(item.wh_status)?_c('IconWithTooltip',{attrs:{\"icon\":\"\",\"content\":item.wh_status,\"description\":_vm.warehouseStatusList[item.wh_status.toUpperCase()] || 'Unknown',\"size\":14,\"color\":\"white\"}}):_vm._e()],1):_vm._e()]}},{key:`item.attributes`,fn:function({ item }){return [_c('div',{staticClass:\"attrs-wrapper\"},[_vm._l((item.attributes),function(attr){return _c('div',{key:attr.id,staticClass:\"item\"},[(_vm.jobCodesData[attr])?_c('IconWithTooltip',{attrs:{\"icon\":_vm.jobCodesData[attr].icon,\"description\":_vm.jobCodesData[attr].description,\"size\":18,\"color\":\"white\"}}):_vm._e()],1)}),(item.has_attachment)?_c('IconWithTooltip',{attrs:{\"icon\":\"mdi-attachment\",\"description\":\"Has attachments\",\"size\":18,\"color\":\"white\"}}):_vm._e()],2)]}},{key:`item.status`,fn:function({ item }){return [_c('span',[_vm._v(_vm._s(_vm.statusChartLabels[item.status]))])]}},{key:`item.cost_service`,fn:function({ item }){return [_c('span',[_vm._v(_vm._s(item.cost_service))])]}},{key:`item.actions`,fn:function({ item }){return [_c('div',{staticClass:\"flex\"},[_c('span',[_c(VBtn,{staticClass:\"search-btn\",attrs:{\"small\":\"\",\"fab\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){$event.stopPropagation();}}},[_c('router-link',{attrs:{\"to\":{\n path: `detailed-job?job_id=${item.id}&job_date=${item.job_date}`,\n }}},[_c(VIcon,{staticClass:\"search-icon\"},[_vm._v(\"mdi-card-search\")])],1)],1)],1),(_vm.showJobEditBtn && _vm.$can('staff', 'Edit'))?_c(VBtn,{staticClass:\"search-btn ml-1\",attrs:{\"small\":\"\",\"fab\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.openInEditModalClicked(item.unique_id)}}},[_c(VIcon,{staticClass:\"search-icon\"},[_vm._v(\"mdi-file-document-edit-outline\")])],1):_vm._e()],1)]}},{key:`item.statusBar`,fn:function({ item }){return [_c('KStatusChart',{attrs:{\"job\":item,\"job_date\":_vm.today,\"showEdit\":_vm.showEdit,\"statusChartLabels\":_vm.statusChartLabels}})]}},{key:\"expanded-item\",fn:function({ item, headers }){return [_c('td',{staticClass:\"py-3\",attrs:{\"colspan\":headers.length}},[_c('KJobTimeline',{attrs:{\"job\":item,\"showEdit\":_vm.showEdit}})],1)]}}],null,true)})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { Header, Job, User } from '@/models/main';\n\nimport KJobTimeline from './components/KJobTimeline/KJobTimeline.vue';\nimport KStatusChart from './components/KStatusChart/KStatusChart.vue';\n\nimport IconWithTooltip from '@/components/UI/iconWithTooltip/IconWithTooltip.vue';\nimport { jobCodesData, warehouseStatusList } from '@/utils/PortalConstants';\n\nimport { mapState } from 'vuex';\n\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { timeZoneDefault, statusChartLabels } from '@/utils/PortalConstants';\nimport { formatDateStringWithTZ } from '@/utils/InputProcessingUtilities';\n\n@Component({\n components: {\n IconWithTooltip,\n KStatusChart,\n KJobTimeline,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n data() {\n return {\n jobCodesData,\n warehouseStatusList,\n statusChartLabels,\n };\n },\n})\nexport default class JobTable extends Vue {\n @Prop({ type: Boolean, default: false }) private readonly loading: boolean | undefined;\n @Prop(Boolean) private readonly showEdit: boolean | undefined;\n @Prop(Boolean) public readonly showJobEditBtn: boolean;\n @Prop(Boolean) private readonly disableSort: boolean | undefined;\n @Prop(String) private readonly search: string | undefined;\n @Prop(Array) private readonly jobs: Job | undefined;\n @Prop(Array) private readonly headersProps: Header[];\n\n private user!: User;\n private today = '';\n // to use func in the template\n private formatDateStringWithTZ = formatDateStringWithTZ;\n\n private expanded: Job[] = [];\n private headers: Header[] = [\n { text: 'Id', value: 'id', align: 'left custom' },\n { text: 'Customer Code', value: 'customer_code', align: 'left custom' },\n { text: 'Reference 1', value: 'ref1', align: 'left custom' },\n { text: 'Suburb Name', value: 'stop2_name', align: 'left custom' },\n { text: 'Suburb State', value: 'suburb_state2', align: 'left custom' },\n { text: 'Stop Name', value: 'suburb_name2', align: 'left custom' },\n { text: 'Stop Number', value: 'main_stop', align: 'left custom' },\n { text: 'Driver', value: 'driver2', align: 'left custom' },\n { text: 'Delay Time', value: 'currDelay', align: 'left custom', sortable: false },\n { text: 'Warehouse', value: 'wh_status', align: 'left custom', sortable: false },\n { text: 'Actions', value: 'actions', align: 'left custom' },\n { text: 'Attributes', value: 'attributes', align: 'left custom', sortable: false },\n {\n text: 'Booked ─ Allocated ─ Stop1 ── Stop2 ── POD ─── Completed',\n value: 'statusBar',\n sortable: false,\n align: 'left custom',\n filterable: false,\n },\n ];\n\n public env = process.env.NODE_ENV;\n\n public openInEditModalClicked(unique_id: string): void {\n this.$emit('openInEditModal', unique_id);\n }\n\n private wareHouseLinkClick(item): void {\n // correct direct link to the quant in Odoo (Only for \"D\" warehouses)\n if (item.wh_status && item.wh_status === 'D' && item.quant_id) {\n window.open(\n `${process.env.VUE_APP_URL}/web#id=${item.quant_id}&view_type=form&model=stock.quant&action=176`,\n '_blank',\n );\n }\n }\n\n private hideNotForStaffColumns(): void {\n this.headers = this.headers.filter((h: Header) => {\n return (\n h.text !== 'Customer Code' &&\n h.text !== 'Driver' &&\n h.text !== 'Delay Time' &&\n h.text !== 'Warehouse' &&\n h.text !== 'Action'\n );\n });\n }\n\n // Show current driver on the table\n // Sometimes drivers could be different on different stops (ex. Split-to-Base jobs)\n private currDriver(item: Job): string {\n const driverVal = item.main_stop === 1 ? item.driver1 : item.driver2;\n return driverVal !== 'None' ? driverVal.toString() : '';\n }\n\n // Show current job delay in hours. Backend sends it in seconds\n private currDelay(item: Job) {\n if (item.delay_time && item.main_stop !== 1) {\n const numHours = Math.floor(parseInt(item.delay_time, 10) / 60 / 60);\n return `${numHours} ${numHours > 1 ? 'hrs' : 'hr'}`;\n } else {\n return '';\n }\n }\n\n private expandRow(job: Job): void {\n if (this.expanded[0] === job) {\n this.expanded = [];\n } else {\n this.expanded = [];\n this.expanded.push(job);\n }\n }\n private rowClasses(item) {\n if (item.priority) {\n return ['rowTable', 'priority'];\n }\n if (item.is_rfc) {\n return ['rowTable', 'changeRequest'];\n }\n return ['rowTable'];\n }\n private mounted(): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.today = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n if (this.headersProps) {\n this.headers = this.headersProps;\n }\n if (!this.$ability.can('staff', 'Job')) {\n this.hideNotForStaffColumns();\n }\n }\n\n // If these conditions change, we need to change the job filtering in the same way\n // function \"filteredItems\" in Dashboard.vue\n private showSplitToBase(item) {\n if (\n item.split_base &&\n item.split_base !== '' &&\n (!item.driver2 || item.driver2 === 0 || item.driver2 === 'NOT ALLOCATED')\n ) {\n return true;\n }\n return false;\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobTable.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobTable.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobTable.vue?vue&type=template&id=158bf2a0&scoped=true\"\nimport script from \"./JobTable.vue?vue&type=script&lang=ts\"\nexport * from \"./JobTable.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobTable.scss?vue&type=style&index=0&id=158bf2a0&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"158bf2a0\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTimeline } from 'vuetify/lib/components/VTimeline';\nimport { VTimelineItem } from 'vuetify/lib/components/VTimeline';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VCard,{staticClass:\"timeline-wrapper\",attrs:{\"flat\":\"\"}},[_c(VCardText,{staticClass:\"py-0\"},[_c(VRow,[_c(VCol,[_c(VTimeline,{staticClass:\"timeline\",attrs:{\"dense\":\"\"}},[_c(VTimelineItem,{attrs:{\"hide-dot\":\"\"}},[_c('span',[_c('strong',[_vm._v(_vm._s(_vm.job.cost_service))]),_c('span',[_vm._v(\"(\"+_vm._s(_vm.services)+\")\")])])]),_c(VTimelineItem,{staticClass:\"mt-n3\",attrs:{\"color\":_vm.job.booked != null ? 'green darken-1' : 'grey lighten-1',\"small\":\"\"}},[_c(VRow,{staticClass:\"mb-n3\"},[_c(VCol,{attrs:{\"cols\":\"7\"}},[_c('strong',[_vm._v(\"Booked\")])]),_c(VCol,{staticClass:\"text-right\",attrs:{\"cols\":\"5\"}},[(_vm.job.booked != null)?_c('div',{staticClass:\"ml-4 mb-1\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.booked,\"state\":_vm.job.suburb_state1}})],1):_vm._e()])],1),_c(VDivider)],1),_c(VTimelineItem,{staticClass:\"mt-n5\",attrs:{\"color\":_vm.job.allocated != null || _vm.job.equipment_code1 !== '' ? 'green darken-1' : 'grey lighten-1',\"small\":\"\"}},[_c(VRow,{staticClass:\"mb-n3\"},[_c(VCol,{attrs:{\"cols\":\"7\"}},[(\n _vm.job.status !== 6 &&\n _vm.job.allocated === 'None' &&\n ((_vm.isStop1Main() &&\n (_vm.job.driver1 === 0 || _vm.job.driver1 === 'NOT UNALLOCATED' || _vm.job.driver1 === '0')) ||\n (!_vm.isStop1Main() &&\n (_vm.job.driver2 === 0 || _vm.job.driver2 === 'NOT UNALLOCATED' || _vm.job.driver2 === '0')))\n )?_c('strong',[_vm._v(\"Unallocated\")]):_c('strong',[_vm._v(\"Allocated\")])]),_c(VCol,{staticClass:\"text-right\",attrs:{\"cols\":\"5\"}},[(_vm.job.arrived1 != null)?_c('div',{staticClass:\"ml-4 mb-1\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.assigned1,\"state\":_vm.job.suburb_state1}})],1):_vm._e(),(_vm.job.arrived2 != null)?_c('div',{staticClass:\"ml-4 mb-1\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.assigned2,\"state\":_vm.job.suburb_state1}})],1):_vm._e()])],1),_c(VDivider)],1),_c(VTimelineItem,{staticClass:\"mt-0\",attrs:{\"color\":_vm.job.arrived1 != null ? 'green darken-1' : 'grey lighten-1',\"small\":\"\"}},[_c(VRow,{staticClass:\"mt-0\"},[_c(VCol,{attrs:{\"cols\":\"5\"}},[_c('strong',[_vm._v(\"Stop1\")]),_c('span',[_vm._v(\"(\"+_vm._s(_vm.job.stop1_name)+\")\")])]),_c(VCol,{attrs:{\"cols\":\"5\"}},[_c('span',[_vm._v(\"Predicted\")])]),_c(VCol,{staticClass:\"text-right\",attrs:{\"cols\":\"2\"}},[(_vm.job.required1 != null)?_c('div',{staticClass:\"ml-4 mb-1\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.required1,\"state\":_vm.job.suburb_state1}})],1):_vm._e()])],1),(_vm.job.arrived1 != null)?_c(VRow,{staticClass:\"mb-0 mt-0\"},[_c(VCol,{attrs:{\"cols\":\"5\"}}),_c(VCol,{attrs:{\"cols\":\"5\"}},[_c('span',[_vm._v(\"Arrived\")])]),_c(VCol,{staticClass:\"text-right\",attrs:{\"cols\":\"2\"}},[(_vm.job.arrived1 != null)?_c('div',{staticClass:\"ml-4 mb-1\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.arrived1,\"state\":_vm.job.suburb_state1}})],1):_vm._e()])],1):_vm._e(),(_vm.job.departed1 != null && _vm.$can('staff', 'Job'))?_c(VRow,{staticClass:\"mt-0\"},[_c(VCol,{attrs:{\"cols\":\"5\"}},[(_vm.job.driver1 != null)?_c('strong',[_c(VIcon,{staticClass:\"icon-truck pr-2\"},[_vm._v(\"mdi-truck\")]),_vm._v(\" \"+_vm._s(_vm.job.driver1)+\" \")],1):_vm._e()]),_c(VCol,{attrs:{\"cols\":\"5\"}},[_c('span',[_vm._v(\"Departed\")])]),_c(VCol,{staticClass:\"text-right\",attrs:{\"cols\":\"2\"}},[(_vm.job.departed1 != null)?_c('div',{staticClass:\"ml-4 mb-1\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.departed1,\"state\":_vm.job.suburb_state1}})],1):_vm._e()])],1):_vm._e(),(_vm.job.pod_time1 != null && (_vm.$can('staff', 'Job') || Number(_vm.customerStopNumber) === 1))?_c(VRow,{staticClass:\"mb-n3\"},[_c(VCol,{attrs:{\"cols\":\"5\"}}),_c(VCol,{attrs:{\"cols\":\"5\"}},[_c('span',[_vm._v(\"POD\")])]),_c(VCol,{staticClass:\"text-right\",attrs:{\"cols\":\"2\"}},[(_vm.job.pod_time1 != null)?_c('div',{staticClass:\"ml-4 mb-1\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.pod_time1,\"state\":_vm.job.suburb_state1}})],1):_vm._e()])],1):_vm._e(),_c(VDivider)],1),_c(VTimelineItem,{staticClass:\"mt-5\",attrs:{\"color\":_vm.job.arrived2 != null ? 'green darken-1' : 'grey lighten-1',\"small\":\"\"}},[_c(VRow,{staticClass:\"mb-n3\"},[_c(VCol,{attrs:{\"cols\":\"5\"}},[_c('strong',[_vm._v(\"Stop2\")]),_c('span',[_vm._v(\"(\"+_vm._s(_vm.job.stop2_name)+\")\")])]),_c(VCol,{attrs:{\"cols\":\"5\"}},[_c('span',[_vm._v(\"Predicted\")])]),_c(VCol,{staticClass:\"text-right\",attrs:{\"cols\":\"2\"}},[(_vm.job.required2 != null)?_c('div',{staticClass:\"ml-4 mb-1\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.required2,\"state\":_vm.job.suburb_state1}})],1):_vm._e()])],1),(_vm.job.arrived2 != null)?_c(VRow,{staticClass:\"mb-n3\"},[_c(VCol,{attrs:{\"cols\":\"5\"}}),_c(VCol,{attrs:{\"cols\":\"5\"}},[_c('span',[_vm._v(\"Arrived\")])]),_c(VCol,{staticClass:\"text-right\",attrs:{\"cols\":\"2\"}},[(_vm.job.arrived2 != null)?_c('div',{staticClass:\"ml-4 mb-1\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.arrived2,\"state\":_vm.job.suburb_state1}})],1):_vm._e()])],1):_vm._e(),(_vm.job.pod_time2 != null && (_vm.$can('staff', 'Job') || Number(_vm.customerStopNumber) === 2))?_c(VRow,{staticClass:\"mb-n3\"},[_c(VCol,{attrs:{\"cols\":\"5\"}},[(_vm.job.driver2 != null)?_c('strong',[_c(VIcon,{staticClass:\"icon-truck pr-2\"},[_vm._v(\"mdi-truck\")]),_vm._v(\" \"+_vm._s(_vm.job.driver2)+\" \")],1):_vm._e()]),_c(VCol,{attrs:{\"cols\":\"5\"}},[_c('span',[_vm._v(\"POD\")])]),_c(VCol,{staticClass:\"text-right\",attrs:{\"cols\":\"2\"}},[(_vm.job.pod_time2 != null)?_c('div',{staticClass:\"ml-4 mb-1\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.pod_time2,\"state\":_vm.job.suburb_state1}})],1):_vm._e()])],1):_vm._e(),_c(VDivider)],1),(_vm.$can('staff', 'Job') && (_vm.job.completed != null || _vm.job.cancelled != null))?_c(VTimelineItem,{attrs:{\"color\":_vm.job.completed != null ? 'green darken-1' : 'grey lighten-1',\"small\":\"\"}},[(_vm.job.completed != null)?_c(VRow,{staticClass:\"mb-n3\"},[_c(VCol,{attrs:{\"cols\":\"10\"}},[_c('strong',[_vm._v(\"Completed\")])]),_c(VCol,{staticClass:\"text-right\",attrs:{\"cols\":\"2\"}},[_c('div',{staticClass:\"ml-4 mb-1\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.completed,\"state\":_vm.job.suburb_state1}})],1)])],1):_vm._e(),(_vm.job.cancelled != null)?_c(VRow,{staticClass:\"mb-n3\"},[_c(VCol,{attrs:{\"cols\":\"10\"}},[_c('strong',[_vm._v(\"Cancelled\")])]),_c(VCol,{staticClass:\"text-right\",attrs:{\"cols\":\"2\"}},[_c('div',{staticClass:\"ml-4 mb-1\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.cancelled,\"state\":_vm.job.suburb_state1}})],1)])],1):_vm._e(),_c(VDivider)],1):_vm._e()],1)],1),_c(VCol,{staticStyle:{\"position\":\"relative\"}},[_c(VTimeline,{staticStyle:{\"max-width\":\"600px\"},attrs:{\"dense\":\"\",\"clipped\":\"\"}},[_c(VTimelineItem,{attrs:{\"hide-dot\":\"\"}},[_c('router-link',{staticClass:\"timelint-btn\",attrs:{\"to\":{\n name: _vm.routeNames.DETAILED_QUERY_JOB,\n query: {\n job_id: _vm.job.id,\n job_date: _vm.job.job_date,\n },\n }}},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"500\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{attrs:{\"small\":\"\",\"fab\":\"\",\"color\":\"primary\"}},[_c(VIcon,[_vm._v(\"mdi-card-search\")])],1)],1)]}}])},[_c('span',[_c('p',{staticClass:\"tooltip-text\"},[_vm._v(\"Open detailed job page\")])])])],1)],1),(_vm.$can('staff', 'Job'))?_c(VTimelineItem,{attrs:{\"hide-dot\":\"\"}},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"500\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{attrs:{\"small\":\"\",\"fab\":\"\",\"color\":\"primary\",\"loading\":_vm.loadingPDF},on:{\"click\":function($event){return _vm.downloadShippingPdf(_vm.job.id, _vm.job.job_date)}}},[_c(VIcon,[_vm._v(\"mdi-printer\")])],1)],1)]}}],null,false,83941054)},[_c('span',[_c('p',{staticClass:\"tooltip-text\"},[_vm._v(\"Download pdf\")])])])],1):_vm._e(),(_vm.$can('staff', 'Job'))?_c(VTimelineItem,{attrs:{\"hide-dot\":\"\"}},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"500\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[(\n _vm.showEdit && ((_vm.job.main_stop === 2 && _vm.job.status < 4) || (_vm.job.main_stop === 1 && _vm.job.status < 2))\n )?_c(VBtn,{attrs:{\"small\":\"\",\"fab\":\"\",\"color\":\"primary\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.toggleJobHiding(_vm.job)}}},[(_vm.job.is_done)?_c(VIcon,{staticClass:\"timelint-btn-hide\"},[_vm._v(\"mdi-close\")]):_c(VIcon,{staticClass:\"timelint-btn-hide\"},[_vm._v(\"mdi-check\")])],1):_vm._e()],1)]}}],null,false,1398610298)},[_c('span',[(_vm.job.is_done)?_c('p',{staticClass:\"tooltip-text\"},[_vm._v(\"Show job\")]):_c('p',{staticClass:\"tooltip-text\"},[_vm._v(\"Hide job\")])])])],1):_vm._e(),_vm._l((_vm.job.notes),function(n,i){return _c(VTimelineItem,{key:i,class:[i > 0 ? 'mt-n9' : ''],attrs:{\"color\":\"amber lighten-1\",\"fill-dot\":\"\",\"small\":\"\"}},[_c(VRow,{staticClass:\"my-1\"},[_c(VCol,[_vm._v(_vm._s(n.note))]),_c(VCol,{staticClass:\"text-right\"},[_vm._v(_vm._s(n.write_user))]),_c(VCol,{staticClass:\"text-right\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":n.write_date,\"state\":_vm.job.suburb_state1}})],1)],1)],1)})],2),_c('div',{staticClass:\"pods d-flex align-end\"},[(_vm.job.pod_time1 || _vm.job.pod_time2)?_c('div',{staticClass:\"pod-wrapper\"},[_c(VRow,{staticClass:\"title mt-8 ml-4 pb-2\"},[_vm._v(\"POD:\")]),_vm._l((_vm.PODs),function(pod,i){return _c('div',{key:i,staticClass:\"pod-row px-0 pb-6\"},[_c('POD',{attrs:{\"id\":pod.jobId,\"date\":pod.jobDate,\"idx\":pod.idx,\"name\":pod.podName,\"pod\":true,\"uniqueId\":pod.jobUniqueId}})],1)})],2):_vm._e()])],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getShippingPDF, postJobEdit } from '@/api';\nimport POD from '@/components/jobDetailed/POD/POD.vue';\nimport { Job, User } from '@/models/main';\nimport { format } from 'date-fns';\nimport Vue from 'vue';\nimport { Component, Prop, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport * as routeNames from '@/router/routeNames';\n\ninterface PODS {\n [key: number]: PODa;\n}\ninterface PODa {\n jobId: number;\n jobUniqueId: string;\n jobDate: string;\n idx: number;\n podName: string;\n}\n\n@Component({\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n components: {\n DateTimezoneToggle,\n POD,\n },\n})\nexport default class KJobTimeline extends Vue {\n @Prop({ required: true }) private job!: Job;\n @Prop({ type: Boolean, default: false }) private showEdit!: boolean;\n\n public routeNames = routeNames;\n private readonly URL: string | undefined = process.env.VUE_APP_API;\n private user!: User;\n private loading = false;\n private loadingPDF = false;\n private PODs: PODS = {};\n private format = format;\n\n private toggleJobHiding(job): void {\n this.loading = true;\n const params = {\n job_id: job.id,\n job_date: job.job_date,\n note: !job.is_done ? 'The job was hidden' : 'The job was returned',\n is_done: !job.is_done,\n };\n postJobEdit(params, this.user.username).finally(() => {\n this.loading = false;\n });\n }\n\n // Helper function to determine a main Stop of a Job\n private customerStopNumber() {\n const serviceCode = this.job.cost_service;\n const firstStopCustomerEndings = ['PO', 'CO', 'CT'];\n const lastTwoLetters = serviceCode.slice(-2);\n return firstStopCustomerEndings.includes(lastTwoLetters) ? 1 : 2;\n }\n\n // Helper function to render SCs of a Job\n // TODO: unknown logic to filter Z and Refresh???\n private get services() {\n return this.job.services\n .filter((sv: string) => {\n return !(sv[0] === 'Z' || sv === 'REFRESH');\n })\n .join(', ');\n }\n\n // Helper function to determine a main Stop of a Job\n // TODO: Refactor to use this or customerStopNumber\n private isStop1Main() {\n for (const serviceCode of this.job.services) {\n if (\n serviceCode.search(/\\b\\w\\wPO\\b/) !== -1 ||\n serviceCode.search(/\\b\\w\\wIT\\b/) !== -1 ||\n serviceCode.search(/\\b\\w\\wST\\b/) !== -1\n ) {\n return true;\n }\n }\n return false;\n }\n\n @Watch('job.unique_id', { immediate: true })\n private updatePOD() {\n this.PODs = {};\n // Only 2 PODs possible\n for (let i = 1; i <= 2; i++) {\n if (this.job['pod_time' + i]) {\n this.PODs[i - 1] = {\n jobId: Number(this.job.id),\n jobUniqueId: this.job.unique_id,\n jobDate: format(new Date(this.job.job_date), 'yyyy-MM-dd'),\n idx: i - 1,\n podName: this.job['pod_name' + i],\n };\n }\n }\n }\n\n private downloadShippingPdf(job_id, job_date): void {\n this.loadingPDF = true;\n getShippingPDF(job_id, job_date)\n .then(res => {\n const link = document.createElement('a');\n link.href = URL.createObjectURL(res);\n link.download = `${job_id}-${job_date}.pdf`;\n link.click();\n URL.revokeObjectURL(link.href);\n link.remove();\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error downloading the pdf',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loadingPDF = false;\n });\n }\n}\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./KJobTimeline.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./KJobTimeline.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./KJobTimeline.vue?vue&type=template&id=0590a89a&scoped=true\"\nimport script from \"./KJobTimeline.vue?vue&type=script&lang=ts\"\nexport * from \"./KJobTimeline.vue?vue&type=script&lang=ts\"\nimport style0 from \"./KJobTimeline.scss?vue&type=style&index=0&id=0590a89a&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0590a89a\",\n null\n \n)\n\nexport default component.exports","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('svg',{attrs:{\"width\":_vm.width,\"height\":_vm.height}},[_c('line',{attrs:{\"x1\":5,\"y1\":_vm.height / 2,\"x2\":_vm.step * (_vm.statusList.length - 1),\"y2\":_vm.height / 2,\"stroke\":_vm.lightGray,\"stroke-width\":\"1\"}}),_vm._l((_vm.statusList),function(item){return _c('circle',{key:item.num,class:{\n blink: item.color === _vm.red,\n clickable:\n _vm.$can('staff', 'Job') &&\n _vm.job.booked &&\n _vm.job.allocated &&\n !_vm.job.cancelled &&\n (item.label === 'Stop1' || item.label === 'Stop2' || item.label === 'Completed'),\n },attrs:{\"cx\":(item.num - 1) * _vm.step + _vm.r + 5,\"cy\":_vm.height / 2,\"r\":_vm.r,\"fill\":item.color,\"data-label\":item.label},on:{\"click\":function($event){$event.stopPropagation();return _vm.toggleModal(item.label)},\"mouseover\":function($event){return _vm.showLabel(item.num)},\"mouseleave\":function($event){_vm.labelShowed = false}}})}),(_vm.labelShowed)?_c('text',{attrs:{\"x\":_vm.labelX,\"y\":_vm.labelY,\"font-size\":_vm.labelFontSize}},[_vm._v(_vm._s(_vm.labelText))]):_vm._e()],2),_c(VDialog,{staticClass:\"modal-dialog\",attrs:{\"persistent\":\"\",\"max-width\":\"540\"},model:{value:(_vm.jobModalData.isOpen),callback:function ($$v) {_vm.$set(_vm.jobModalData, \"isOpen\", $$v)},expression:\"jobModalData.isOpen\"}},[_c(VCard,{staticClass:\"px-5 pt-10\"},[_c('div',{staticClass:\"modal-header pb-15 d-flex justify-space-between align-center\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"Confirm please:\")]),_c(VIcon,{attrs:{\"color\":\"black\",\"size\":\"40\"},on:{\"click\":function($event){_vm.jobModalData.isOpen = false}}},[_vm._v(\"mdi-close\")])],1),_c('div',[_c('p',[_vm._v(\" Driver #\"),_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.jobModalData.driver))]),_vm._v(\" with a job #\"),_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.jobModalData.jobIdShort))]),_vm._v(\" has \"+_vm._s(_vm.jobModalData.actionText)+\" \"),_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.jobModalData.stopText))]),(_vm.jobModalData.position === 'Stop1')?_c('span',[_vm._v(\" \\\"\"),_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.jobModalData.stopFromName))]),_vm._v(\"\\\"\")]):(_vm.jobModalData.position === 'Stop2')?_c('span',{staticClass:\"bold\"},[_vm._v(\" \\\"\"),_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.jobModalData.stopToName))]),_vm._v(\"\\\"\")]):(_vm.jobModalData.position === 'Completed')?_c('span'):_vm._e(),_vm._v(\". Is it correct? \")])]),_c(VRow,{staticClass:\"road-status-image\"},[_c(VCol,{attrs:{\"cols\":\"2 pa-0\"}}),_c(VCol,{staticClass:\"truck truck-arrived\",attrs:{\"cols\":\"1 pa-0\"}},[(_vm.jobModalData.iconPosition === 1)?_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"black\",\"size\":\"40\"}},[_vm._v(\"mdi-truck\")]):_vm._e()],1),_c(VCol,{attrs:{\"cols\":\"1 pa-0\"}},[_c('div',{staticClass:\"stop\"},[_c('div',{staticClass:\"sign\"},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"black\",\"size\":\"40\"}},[_vm._v(\"mdi-octagon-outline\")]),_c('p',{staticClass:\"number\"},[_vm._v(\"1\")])],1),_c('p',{staticClass:\"pole\"})])]),_c(VCol,{staticClass:\"truck truck-depart\",attrs:{\"cols\":\"1 pa-0\"}},[(_vm.jobModalData.iconPosition === 2)?_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"black\",\"size\":\"40\"}},[_vm._v(\"mdi-truck\")]):_vm._e()],1),_c(VCol,{attrs:{\"cols\":\"2 pa-0\"}}),_c(VCol,{staticClass:\"truck truck-arrived\",attrs:{\"cols\":\"1 pa-0\"}},[(_vm.jobModalData.iconPosition === 3)?_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"black\",\"size\":\"40\"}},[_vm._v(\"mdi-truck\")]):_vm._e()],1),_c(VCol,{attrs:{\"cols\":\"1 pa-0\"}},[_c('div',{staticClass:\"stop\"},[_c('div',{staticClass:\"sign\"},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"black\",\"size\":\"40\"}},[_vm._v(\"mdi-octagon-outline\")]),_c('p',{staticClass:\"number\"},[_vm._v(\"2\")])],1),_c('p',{staticClass:\"pole\"})])]),_c(VCol,{staticClass:\"truck truck-depart\",attrs:{\"cols\":\"1 pa-0\"}},[(_vm.jobModalData.iconPosition === 4)?_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"black\",\"size\":\"40\"}},[_vm._v(\"mdi-truck\")]):_vm._e()],1),_c(VCol,{attrs:{\"cols\":\"2 pa-0\"}}),_c('div',{staticClass:\"road\"})],1),_c(VRow,{staticClass:\"road-status-titles\"},[_c(VCol,{attrs:{\"cols\":\"3 pa-0\"}}),_c(VCol,{staticClass:\"name\",attrs:{\"cols\":\"4 pa-0\"}},[_c('p',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.job.stop1_name))])]),_c(VCol,{attrs:{\"cols\":\"1 pa-0\"}}),_c(VCol,{staticClass:\"name\",attrs:{\"cols\":\"4 pa-0\"}},[_c('p',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.job.stop2_name))])])],1),(_vm.jobModalData.isMainStop)?_c(VRow,{staticClass:\"signature_input\"},[_c('p',{staticClass:\"text\"},[_vm._v(\"Type the name of the person who signed the job:\")]),_c(VTextField,{attrs:{\"label\":\"Name\",\"outlined\":\"\",\"required\":\"\",\"rules\":[v => !!v || 'Name is required field']},model:{value:(_vm.jobModalData.podName),callback:function ($$v) {_vm.$set(_vm.jobModalData, \"podName\", $$v)},expression:\"jobModalData.podName\"}})],1):_vm._e(),(_vm.jobModalData.error)?_c(VRow,{staticClass:\"modal-error\"},[_c('p',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.jobModalData.error))])]):_vm._e(),_c('div',{staticClass:\"d-flex justify-end pb-5 pt-15\",on:{\"click\":function($event){return _vm.completeStop()}}},[_c('Button',{staticStyle:{\"width\":\"240px\"},attrs:{\"size\":\"big\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-check\",\"text\":\"Confirm\",\"loading\":_vm.jobModalData.loading}})],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { completeStopFromDashboard } from '@/api';\nimport Button from '@/components/UI/button/Button.vue';\nimport store from '@/store';\nimport { Job, StatusChartItem, StopCompleteParams } from '@/models/main';\nimport { format } from 'date-fns';\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { notifyNetworkError } from '@/helpers/notifiers';\n\n@Component({\n components: {\n Button,\n },\n})\nexport default class KStatusChart extends Vue {\n @Prop(Object)\n public job!: Job;\n\n @Prop(Object)\n public jobs!: Job | undefined;\n\n @Prop(String)\n public jobDate!: string;\n\n @Prop(Boolean)\n public showEdit!: boolean;\n\n @Prop(Array)\n private statusChartLabels!: string[];\n\n public width = 440;\n public height = 50;\n public r = 10;\n public step = 64;\n public lightGray = '#e0b4b8';\n public gray = '#bdbdbd';\n public green = '#43a047';\n public red = '#d32f2f';\n public orange = '#f57c00';\n public blue = '#1976d2';\n public labelShowed = false;\n public labelText = '';\n public labelX = 0;\n public labelY = 0;\n public labelFontSize = 11;\n public indexList: string[] = ['booked', 'allocated', 'departed1', 'arrived2', 'pod_time2', 'completed', 'cancelled'];\n\n public jobModalData = {\n isOpen: false,\n action: '',\n position: '',\n jobIdShort: 0,\n jobId: 0,\n jobDate: '',\n driver: 0,\n actionText: '',\n stopText: '',\n stopNumber: 0,\n stopFromName: '',\n stopToName: '',\n iconPosition: 0,\n isMainStop: false,\n podName: '',\n error: '',\n loading: false,\n has_3rd_stop: false,\n };\n\n public showLabel(i: number): void {\n this.labelShowed = true;\n this.labelText = this.statusList[i - 1].label;\n // + 15 is a margin from left\n this.labelX = (i - 1) * this.step + this.r / 2 - this.statusList[i - 1].label.length * 2 + 15;\n this.labelY = this.height / 2 + 22;\n }\n\n public get statusList(): StatusChartItem[] {\n const items: StatusChartItem[] = [];\n for (let i = 0; i < 6; i++) {\n const item: StatusChartItem = {\n date: '',\n color: '',\n label: '',\n num: i + 1,\n };\n if (i <= this.job.status) {\n item.date = this.job[this.indexList[i]];\n item.color = this.green;\n item.label = this.statusChartLabels[i];\n } else {\n item.date = '';\n item.color = this.gray;\n item.label = this.statusChartLabels[i];\n if (i === this.job.status + 1 && (this.job.status === 1 || this.job.status === 2)) {\n if (this.job.delay === 1 && this.$ability.can('staff', 'Job')) {\n item.color = this.orange;\n } else if (this.job.delay === 2) {\n item.color = this.red;\n }\n }\n }\n if (i === 1) {\n if (this.job.equipment_code1 === '' && this.job.allocated === 'None' && this.job.arrived1 === 'None') {\n if (format(new Date(), 'yyyy-MM-dd') === format(new Date(this.job.required2), 'yyyy-MM-dd')) {\n item.color = this.red;\n } else {\n item.color = this.blue;\n }\n }\n if (this.job.status < 2) {\n item.date = this.job.assigned1 || this.job.allocated;\n } else {\n item.date = this.job.assigned2 || this.job.allocated;\n }\n }\n if (i === 2 && this.job.departed1 === 'None' && this.job.required1 !== 'None') {\n item.date = this.job.required1;\n // item.label = 'Stop1(required)';\n }\n if (\n this.$ability.can('staff', 'Job') &&\n i === 3 &&\n this.job.arrived2 === 'None' &&\n this.job.required2 !== 'None'\n ) {\n item.date = this.job.required2;\n // item.label = 'Stop2(required)';\n if (\n format(new Date(), 'yyyy-MM-dd') < format(new Date(this.job.required2), 'yyyy-MM-dd') &&\n this.job.status === 2\n ) {\n item.color = this.blue;\n }\n }\n if (\n i === 3 &&\n this.job.main_stop === 1 &&\n this.job.departed1 !== 'None' &&\n this.job.arrived2 === 'None' &&\n this.job.status < 4\n ) {\n item.color = this.gray;\n }\n if (i === 5 && this.job.completed === 'None') {\n item.label = 'Not Completed';\n }\n if (this.job.status === 6) {\n item.date = this.job[this.indexList[6]];\n item.label = this.statusChartLabels[6];\n item.color = this.red;\n }\n items.push(item);\n }\n return items;\n }\n\n // JOB COMPLETE MODAL\n public toggleModal(label): void {\n if (this.$ability.can('staff', 'Job') && !this.job.cancelled && !this.job.completed) {\n if (!this.job.allocated) {\n notifyNetworkError({ text: \"Can't arrive/depart not allocated job\" });\n return;\n }\n // main_stop = 1 – going from client to KKTS, 2 – from client to KKTS warehouse\n // STOP 1 ARRIVED\n if (label === 'Stop1' && !this.job.arrived1) {\n this.jobModalData = {\n ...this.jobModalData,\n isMainStop: false,\n action: 'arrived',\n position: 'Stop1',\n stopNumber: 1,\n jobIdShort: Number(this.job.id),\n jobId: Number(this.job.job_key),\n jobDate: this.job.job_date,\n driver: Number(this.job.driver1),\n actionText: 'arrived to',\n stopText: 'Stop 1',\n stopFromName: this.job.stop1_name,\n stopToName: this.job.stop2_name,\n iconPosition: 1,\n isOpen: true,\n };\n }\n // STOP 1 DEPARTED\n if (label === 'Stop1' && this.job.arrived1 && !this.job.departed1) {\n if (this.job.main_stop === 1 && this.job.require_pod) {\n this.jobModalData.isMainStop = true;\n }\n this.jobModalData = {\n ...this.jobModalData,\n action: 'departed',\n position: 'Stop1',\n stopNumber: 1,\n jobIdShort: Number(this.job.id),\n jobId: Number(this.job.job_key),\n jobDate: this.job.job_date,\n driver: Number(this.job.driver1),\n actionText: 'departed from',\n stopText: 'Stop 1',\n stopFromName: this.job.stop1_name,\n stopToName: this.job.stop2_name,\n iconPosition: 2,\n isOpen: true,\n };\n }\n // STOP 2 ARRIVED\n if (label === 'Stop2' && !this.job.arrived2) {\n this.jobModalData = {\n ...this.jobModalData,\n isMainStop: false,\n action: 'arrived',\n position: 'Stop2',\n stopNumber: 2,\n jobIdShort: Number(this.job.id),\n jobId: Number(this.job.job_key),\n jobDate: this.job.job_date,\n driver: Number(this.job.driver2),\n actionText: 'arrived to',\n stopText: 'Stop 2',\n stopFromName: this.job.stop1_name,\n stopToName: this.job.stop2_name,\n iconPosition: 3,\n isOpen: true,\n };\n }\n // STOP 2 DEPARTED\n if (label === 'Stop2' && this.job.arrived2) {\n if (this.job.main_stop === 2 && this.job.require_pod) {\n this.jobModalData.isMainStop = true;\n }\n this.jobModalData = {\n ...this.jobModalData,\n action: 'departed',\n position: 'Stop2',\n stopNumber: 2,\n jobIdShort: Number(this.job.id),\n jobId: Number(this.job.job_key),\n driver: Number(this.job.driver2),\n jobDate: this.job.job_date,\n actionText: 'departed from',\n stopText: 'Stop 2',\n stopFromName: this.job.stop1_name,\n stopToName: this.job.stop2_name,\n iconPosition: 4,\n isOpen: true,\n };\n }\n // COMPLETED\n if (label === 'Completed') {\n if (this.job.require_pod) {\n this.jobModalData.isMainStop = true;\n }\n this.job.has_3rd_stop ? (this.jobModalData.stopNumber = 3) : (this.jobModalData.stopNumber = 2);\n this.jobModalData = {\n ...this.jobModalData,\n action: 'departed',\n position: 'Completed',\n jobIdShort: Number(this.job.id),\n jobId: Number(this.job.job_key),\n jobDate: this.job.job_date,\n driver: Number(this.job.driver2),\n actionText: 'complete',\n stopText: 'all the stops',\n stopFromName: this.job.stop1_name,\n stopToName: this.job.stop2_name,\n iconPosition: 4,\n isOpen: true,\n };\n }\n }\n }\n\n // JOB COMPLETE\n public completeStop(): void {\n const timeStamp = this.job.booked;\n this.jobModalData.loading = true;\n const action = this.jobModalData.action;\n\n const updateTrafficLight = () => {\n this.job.delay = 0;\n if (this.jobModalData.action === 'arrived' && this.jobModalData.stopNumber === 1) {\n this.job.arrived1 = timeStamp;\n this.job.status = 2;\n }\n if (this.jobModalData.action === 'departed' && this.jobModalData.stopNumber === 1) {\n this.job.departed1 = timeStamp;\n this.job.status = 2;\n }\n if (this.jobModalData.action === 'arrived' && this.jobModalData.stopNumber === 2) {\n this.job.arrived2 = timeStamp;\n this.job.status = 3;\n }\n if (this.jobModalData.action === 'departed' && this.jobModalData.stopNumber === 2) {\n this.job.completed = timeStamp;\n this.job.status = 5;\n }\n };\n\n let params: StopCompleteParams = {\n driver_id: this.jobModalData.driver,\n job_id: this.jobModalData.jobIdShort,\n job_date: this.jobModalData.jobDate,\n stop_number: this.jobModalData.stopNumber,\n };\n\n if (this.jobModalData.isMainStop) {\n params = { ...params, pod_name: this.jobModalData.podName };\n }\n\n completeStopFromDashboard(action, params)\n .then(res => {\n if (res?.data.Result === 'Stop sent') {\n store.dispatch('updateJobData', this.job);\n this.jobModalData.loading = false;\n this.jobModalData.isOpen = false;\n updateTrafficLight();\n }\n })\n .catch(err => {\n this.jobModalData.error = err;\n this.jobModalData.loading = false;\n return null;\n });\n }\n}\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./KStatusChart.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./KStatusChart.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./KStatusChart.vue?vue&type=template&id=4bbd3e18&scoped=true\"\nimport script from \"./KStatusChart.vue?vue&type=script&lang=ts\"\nexport * from \"./KStatusChart.vue?vue&type=script&lang=ts\"\nimport style0 from \"./KStatusChart.scss?vue&type=style&index=0&id=4bbd3e18&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4bbd3e18\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VBtn,{staticClass:\"reloadButton\",attrs:{\"disabled\":_vm.disabled,\"fab\":\"\",\"absolute\":\"\",\"right\":\"\",\"color\":\"primary\"}},[(_vm.loading)?_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-loading\")]):_c(VIcon,[_vm._v(\"mdi-reload\")])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class ReloadButton extends Vue {\n @Prop({ type: Boolean, required: false, default: false }) public loading!: boolean;\n @Prop({ type: Boolean, required: false, default: false }) public disabled!: boolean;\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ReloadButton.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ReloadButton.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ReloadButton.vue?vue&type=template&id=ffd29b76&scoped=true\"\nimport script from \"./ReloadButton.vue?vue&type=script&lang=ts\"\nexport * from \"./ReloadButton.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ReloadButton.scss?vue&type=style&index=0&id=ffd29b76&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ffd29b76\",\n null\n \n)\n\nexport default component.exports","import { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mt-5 mr-4\"},[_c(VRow,[_c(VCol,{attrs:{\"cols\":\"3\"}},[(_vm.context === 'bfix')?_c('DatePicker',{attrs:{\"Pdates\":_vm.dates,\"context\":_vm.context},on:{\"changeDate\":_vm.changeDate,\"clearDateFilter\":_vm.clearDateFilter}}):_c('DateSelect',{on:{\"changeDate\":_vm.changeDate}})],1),_c(VCol,{attrs:{\"cols\":\"3\"}},[_c(VTextField,{attrs:{\"prepend-icon\":\"mdi-magnify\",\"label\":\"Search\",\"hide-details\":\"\",\"clearable\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),(_vm.$can('staff', 'Job'))?_c(VCol,{attrs:{\"cols\":\"3\"}},[(_vm.context === '')?_c('DriversSelect'):_vm._e(),(_vm.context === 'bfix')?_c('DriversBfixSelect'):_vm._e()],1):_vm._e(),_c(VCol,{attrs:{\"cols\":\"3\"}},[_c('StateSelect',{attrs:{\"context\":_vm.context}})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VChip } from 'vuetify/lib/components/VChip';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VSelect,{staticClass:\"select-drivers mt-2\",attrs:{\"items\":_vm.drivers,\"chips\":\"\",\"label\":\"Drivers\",\"multiple\":\"\",\"prepend-icon\":\"mdi-car-multiple\",\"hide-details\":\"\",\"dense\":\"\",\"clearable\":\"\"},scopedSlots:_vm._u([{key:\"selection\",fn:function({ item }){return [_c(VChip,{attrs:{\"color\":\"blue\",\"close\":\"\"},on:{\"click:close\":function($event){_vm.driversSelected = _vm.driversSelected.filter(el => el !== item)}}},[_vm._v(_vm._s(item))])]}}]),model:{value:(_vm.driversSelected),callback:function ($$v) {_vm.driversSelected=$$v},expression:\"driversSelected\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport store from '@/store';\nimport { IJobs, Job, JobsInLocation } from '@/models/main';\nimport Vue from 'vue';\nimport { Component, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\n\n@Component({\n components: {},\n computed: {\n ...mapState(['jobBfixData', 'storeDrivers', 'storeShowBfixCategory']),\n },\n})\nexport default class DriverSelect extends Vue {\n private drivers: Array = [];\n private driversSelected: Array = [];\n private storeDrivers!: Array;\n private storeShowBfixCategory!: string;\n private jobBfixData!: IJobs;\n private updateDrivers() {\n this.drivers = [];\n let locations: Job[] = [];\n if (this.storeShowBfixCategory === 'all') {\n locations = this.jobBfixData.all;\n }\n if (this.storeShowBfixCategory === 'unallocated') {\n locations = this.jobBfixData.unallocated;\n }\n if (this.storeShowBfixCategory === 'progress') {\n locations = this.jobBfixData.in_progress;\n }\n if (this.storeShowBfixCategory === 'completed') {\n locations = this.jobBfixData.completed;\n }\n if (this.storeShowBfixCategory === 'cancelled') {\n locations = this.jobBfixData.cancelled;\n }\n locations.forEach(location => {\n Object.values(location).forEach((locationJobs: JobsInLocation) => {\n Object.values(locationJobs).forEach((job: Job) => {\n if (job.driver1 && job.driver1 !== 'NOT ALLOCATED' && this.drivers.indexOf(job.driver1) === -1) {\n this.drivers.push(job.driver1);\n }\n if (job.driver2 && job.driver2 !== 'NOT ALLOCATED' && this.drivers.indexOf(job.driver2) === -1) {\n this.drivers.push(job.driver2);\n }\n });\n });\n });\n this.drivers.sort((a: string | number, b: string | number): number => +a - +b);\n }\n @Watch('driversSelected')\n private changeDrivers() {\n store.dispatch('setDrivers', this.driversSelected);\n }\n @Watch('jobBfixData')\n private changeJobs() {\n this.updateDrivers();\n }\n @Watch('storeShowBfixCategory')\n private changeCategory() {\n this.updateDrivers();\n }\n private mounted() {\n this.updateDrivers();\n this.driversSelected = this.storeDrivers;\n }\n}\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DriverBfixSelect.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DriverBfixSelect.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DriverBfixSelect.vue?vue&type=template&id=72ef628b&scoped=true\"\nimport script from \"./DriverBfixSelect.vue?vue&type=script&lang=ts\"\nexport * from \"./DriverBfixSelect.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DriversSelect.scss?vue&type=style&index=0&id=72ef628b&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"72ef628b\",\n null\n \n)\n\nexport default component.exports","import { VChip } from 'vuetify/lib/components/VChip';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VSelect,{staticClass:\"select-drivers mt-2\",attrs:{\"items\":_vm.drivers,\"chips\":\"\",\"label\":\"Drivers\",\"multiple\":\"\",\"prepend-icon\":\"mdi-car-multiple\",\"hide-details\":\"\",\"dense\":\"\",\"clearable\":\"\"},scopedSlots:_vm._u([{key:\"selection\",fn:function({ item }){return [_c(VChip,{attrs:{\"color\":\"blue\",\"close\":\"\"},on:{\"click:close\":function($event){_vm.driversSelected = _vm.driversSelected.filter(el => el !== item)}}},[_vm._v(_vm._s(item))])]}}]),model:{value:(_vm.driversSelected),callback:function ($$v) {_vm.driversSelected=$$v},expression:\"driversSelected\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport store from '@/store';\nimport { IJobs, Job } from '@/models/main';\nimport Vue from 'vue';\nimport { Component, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\n\n@Component({\n components: {},\n computed: {\n ...mapState(['jobData', 'storeDrivers', 'storeShowCategory']),\n },\n})\nexport default class DriverSelect extends Vue {\n private drivers: Array = [];\n private driversSelected: Array = [];\n private storeDrivers!: Array;\n private storeShowCategory!: string;\n private jobData!: IJobs;\n private updateDrivers() {\n this.drivers = [];\n let jobs: Job[] = [];\n if (this.storeShowCategory === 'all') {\n jobs = this.jobData.all;\n }\n if (this.storeShowCategory === 'unallocated') {\n jobs = this.jobData.unallocated;\n }\n if (this.storeShowCategory === 'progress') {\n jobs = this.jobData.in_progress;\n }\n if (this.storeShowCategory === 'completed') {\n jobs = this.jobData.completed;\n }\n if (this.storeShowCategory === 'cancelled') {\n jobs = this.jobData.cancelled;\n }\n\n jobs.forEach((job: Job) => {\n if (job.driver1 && job.driver1 !== 'NOT ALLOCATED' && this.drivers.indexOf(job.driver1) === -1) {\n this.drivers.push(job.driver1);\n }\n if (job.driver2 && job.driver2 !== 'NOT ALLOCATED' && this.drivers.indexOf(job.driver2) === -1) {\n this.drivers.push(job.driver2);\n }\n });\n this.drivers.sort((a: string | number, b: string | number): number => +a - +b);\n }\n @Watch('driversSelected')\n private changeDrivers() {\n store.dispatch('setDrivers', this.driversSelected);\n }\n @Watch('jobData')\n private changeJobs() {\n this.updateDrivers();\n }\n @Watch('storeShowCategory')\n private changeCategory() {\n this.updateDrivers();\n }\n private mounted() {\n this.updateDrivers();\n this.driversSelected = this.storeDrivers;\n }\n}\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DriversSelect.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DriversSelect.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DriversSelect.vue?vue&type=template&id=5ffb2adc&scoped=true\"\nimport script from \"./DriversSelect.vue?vue&type=script&lang=ts\"\nexport * from \"./DriversSelect.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DriversSelect.scss?vue&type=style&index=0&id=5ffb2adc&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5ffb2adc\",\n null\n \n)\n\nexport default component.exports","\nimport DriversBfixSelect from '@/components/dashBoard/selectsFields/components/DriversSelect/DriverBfixSelect.vue';\nimport DatePicker from '@/components/searchPage/DatePicker.vue';\nimport store from '@/store';\nimport Vue from 'vue';\nimport { Component, Prop, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport DateSelect from './components/DateSelect/DateSelect.vue';\nimport DriversSelect from './components/DriversSelect/DriversSelect.vue';\nimport StateSelect from './components/StateSelect/StateSelect.vue';\nimport { User } from '@/models/main';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { addDays } from 'date-fns';\n\n@Component({\n components: {\n DatePicker,\n DateSelect,\n StateSelect,\n DriversSelect,\n DriversBfixSelect,\n },\n computed: {\n ...mapState(['storeSearch']),\n ...mapState('moduleUser', { user: 'user', userSelectedDates: 'userSelectedDates' }),\n },\n})\nexport default class SelectFields extends Vue {\n @Prop({ type: String, default: '' }) private readonly context: string;\n\n private user!: User;\n private userSelectedDates!: string[];\n private dates: string[] = [];\n\n private search = '';\n private storeSearch!: string;\n @Watch('search')\n private setSearch() {\n store.dispatch('setSearch', this.search);\n }\n private changeDate(dates): void {\n this.dates = dates;\n this.$emit('changeDate', dates);\n }\n private clearDateFilter() {\n this.dates = [];\n }\n private mounted() {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const today = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n if (this.context === 'bfix') {\n const dayAfterOneWeek = format(utcToZonedTime(addDays(new Date(), 6), userTimeZone), 'yyyy-MM-dd');\n this.userSelectedDates.length === 2\n ? (this.dates = this.userSelectedDates)\n : (this.dates = [today, dayAfterOneWeek]);\n } else {\n this.userSelectedDates.length === 1 ? (this.dates = this.userSelectedDates) : (this.dates = [today]);\n }\n store.dispatch('moduleUser/setUserDates', this.dates);\n this.search = this.storeSearch;\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SelectFields.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SelectFields.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SelectFields.vue?vue&type=template&id=77fcb5f4&scoped=true\"\nimport script from \"./SelectFields.vue?vue&type=script&lang=ts\"\nexport * from \"./SelectFields.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"77fcb5f4\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VMenu,{attrs:{\"close-on-content-click\":false,\"close-on-click\":false,\"nudge-right\":40,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"min-width\":\"250px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on }){return [_c(VTextField,_vm._g({attrs:{\"label\":_vm.chosenDate || 'Date',\"prepend-icon\":\"mdi-calendar\",\"readonly\":\"\",\"hide-details\":\"\"}},on))]}}]),model:{value:(_vm.menu),callback:function ($$v) {_vm.menu=$$v},expression:\"menu\"}},[_c(VDatePicker,{attrs:{\"show-current\":_vm.today,\"first-day-of-week\":\"1\"},model:{value:(_vm.chosenDate),callback:function ($$v) {_vm.chosenDate=$$v},expression:\"chosenDate\"}},[_c('div',{staticClass:\"link-search ma-0 ml-4\"},[(_vm.RangeMsgWarn)?_c('p',{staticClass:\"text\"},[_vm._v(\" If you want to select a date range,\"),_c('br'),_vm._v(\" use the \"),_c('router-link',{staticClass:\"link\",attrs:{\"to\":{\n name: _vm.routeNames.SEARCH,\n }}},[_vm._v(\" Search page \")])],1):_vm._e(),_c('div',{staticClass:\"btns\"},[_c(VBtn,{attrs:{\"text\":\"\",\"color\":\"primary\"},on:{\"click\":_vm.todayClick}},[_vm._v(\"Today\")]),_c(VBtn,{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){_vm.menu = false}}},[_vm._v(\"OK\")])],1)])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport store from '@/store';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport Vue from 'vue';\nimport { Component, Prop, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { User } from '@/models/main';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport * as routeNames from '@/router/routeNames';\n\n@Component({\n components: {},\n computed: {\n ...mapState('moduleUser', { user: 'user', userSelectedDates: 'userSelectedDates' }),\n },\n})\nexport default class DateSelect extends Vue {\n @Prop({ type: Boolean, default: true }) private readonly RangeMsgWarn!: boolean;\n public routeNames = routeNames;\n private menu = false;\n private user!: User;\n private userSelectedDates!: string[];\n private today = '';\n private chosenDate = '';\n\n private todayClick(): void {\n this.chosenDate = this.today;\n }\n\n @Watch('menu')\n private onMenuClosed() {\n if (!this.menu) {\n this.$emit('changeDate', this.chosenDate);\n }\n }\n\n private mounted() {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.today = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd'); // today\n if (this.userSelectedDates[0]) {\n this.chosenDate = this.userSelectedDates[0];\n } else {\n this.chosenDate = this.today;\n store.dispatch('moduleUser/setUserDates', [this.today]);\n }\n }\n}\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DateSelect.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DateSelect.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DateSelect.vue?vue&type=template&id=30d4c382&scoped=true\"\nimport script from \"./DateSelect.vue?vue&type=script&lang=ts\"\nexport * from \"./DateSelect.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DateSelect.scss?vue&type=style&index=0&id=30d4c382&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"30d4c382\",\n null\n \n)\n\nexport default component.exports","import { VChip } from 'vuetify/lib/components/VChip';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VSelect,{class:_vm.context === 'bfix' ? 'state-select state-select-bfix' : 'state-select',attrs:{\"items\":_vm.availableStates,\"multiple\":\"\",\"label\":\"States\",\"prepend-icon\":\"mdi-map\",\"hide-details\":\"\",\"dense\":\"\",\"menu-props\":{\n maxHeight: `${40 * _vm.availableStates.length + 8 + 40 + 1}px`,\n }},scopedSlots:_vm._u([{key:\"prepend-item\",fn:function(){return [_c(VListItem,{attrs:{\"ripple\":\"\"},on:{\"click\":function($event){return _vm.toggleAllStates()}}},[_c(VListItemAction,[_c(VIcon,{attrs:{\"color\":_vm.selectedStates.length > 0 ? 'primary' : ''}},[_vm._v(_vm._s(_vm.toggleAllStatesIcon))])],1),_c(VListItemContent,[_vm._v(\"All\")])],1),_c(VDivider)]},proxy:true},{key:\"selection\",fn:function({ item, index }){return [(_vm.selectedStates.length !== _vm.availableStates.length)?[(index <= 2)?_c(VChip,[_vm._v(_vm._s(item))]):[(index === 3)?_c('span',[_vm._v(\"+ \"+_vm._s(_vm.selectedStates.length - 3))]):_vm._e()]]:[(index === 0)?_c('span',[_vm._v(\"All\")]):_vm._e()]]}}]),model:{value:(_vm.selectedStates),callback:function ($$v) {_vm.selectedStates=$$v},expression:\"selectedStates\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport store from '@/store';\nimport Vue from 'vue';\nimport { Component, Prop, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\n\n@Component({\n components: {},\n computed: {\n ...mapState(['storeSelectedStates', 'availableStates']),\n },\n})\nexport default class StateSelect extends Vue {\n @Prop(String) private readonly context!: string;\n\n private availableStates!: string[];\n private selectedStates: string[] = [];\n private storeSelectedStates!: string[];\n\n private toggleAllStates(): void {\n if (this.selectedStates.length === this.availableStates.length) {\n this.selectedStates = [];\n } else {\n this.selectedStates = this.availableStates;\n }\n }\n\n private get toggleAllStatesIcon(): string {\n if (this.selectedStates.length === 0) {\n return 'mdi-checkbox-blank-outline';\n } else if (this.selectedStates.length === this.availableStates.length) {\n return 'mdi-checkbox-marked';\n } else {\n return 'mdi-minus-box';\n }\n }\n @Watch('selectedStates')\n private setSelectedStates() {\n this.$emit('change', this.selectedStates);\n store.dispatch('setSelectedStates', this.selectedStates);\n }\n\n private mounted(): void {\n this.selectedStates = this.storeSelectedStates || this.availableStates;\n }\n}\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StateSelect.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StateSelect.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./StateSelect.vue?vue&type=template&id=525d0329&scoped=true\"\nimport script from \"./StateSelect.vue?vue&type=script&lang=ts\"\nexport * from \"./StateSelect.vue?vue&type=script&lang=ts\"\nimport style0 from \"./StateSelect.scss?vue&type=style&index=0&id=525d0329&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"525d0329\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"d-flex justify-end\"},[_c('StatusButton',{attrs:{\"color\":\"orange\",\"active\":_vm.showCategory === 'all',\"text\":\"All Jobs\",\"count\":_vm.allCounter},nativeOn:{\"click\":function($event){return _vm.changeCategory('all')}}}),_c('StatusButton',{attrs:{\"color\":\"red-light\",\"active\":_vm.showCategory === 'unallocated',\"text\":\"Unallocated\",\"count\":_vm.unallocatedCounter},nativeOn:{\"click\":function($event){return _vm.changeCategory('unallocated')}}}),_c('StatusButton',{attrs:{\"color\":\"purple\",\"avatarColor\":\"purple\",\"active\":_vm.showCategory === 'progress',\"text\":\"In Progress\",\"count\":_vm.progressCounter},nativeOn:{\"click\":function($event){return _vm.changeCategory('progress')}}}),_c('StatusButton',{attrs:{\"color\":\"green\",\"active\":_vm.showCategory === 'completed',\"text\":\"Done\",\"count\":_vm.completedCounter},nativeOn:{\"click\":function($event){return _vm.changeCategory('completed')}}}),_c('StatusButton',{attrs:{\"color\":\"red\",\"active\":_vm.showCategory === 'cancelled',\"text\":\"Cancelled\",\"count\":_vm.cancelledCounter},nativeOn:{\"click\":function($event){return _vm.changeCategory('cancelled')}}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VAvatar } from 'vuetify/lib/components/VAvatar';\nimport { VChip } from 'vuetify/lib/components/VChip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VChip,{staticClass:\"mr-2\",attrs:{\"color\":`${_vm.color} elevation-7 mychip`,\"outlined\":!_vm.active,\"text-color\":_vm.active ? 'white' : '',\"small\":_vm.winWidth < 610,\"pill\":\"\",\"dark\":\"\"}},[_c(VAvatar,{class:`${_vm.avatarColor ? _vm.avatarColor : _vm.color} elevation-2 mr-3 white--text`,attrs:{\"left\":\"\"}},[_vm._v(_vm._s(_vm.count))]),_c('span',[_vm._v(_vm._s(_vm.text))])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class StatusButton extends Vue {\n @Prop({ type: String, required: true }) private readonly color!: string;\n @Prop(String) private readonly avatarColor!: string;\n @Prop({ type: Boolean, required: true }) private readonly active!: boolean;\n @Prop({ type: String, required: true }) private readonly text!: string;\n @Prop({ type: Number, required: true }) private readonly count!: number;\n private winWidth: number = window.innerWidth;\n}\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StatusButton.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StatusButton.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./StatusButton.vue?vue&type=template&id=5cf9eda8&scoped=true\"\nimport script from \"./StatusButton.vue?vue&type=script&lang=ts\"\nexport * from \"./StatusButton.vue?vue&type=script&lang=ts\"\nimport style0 from \"./StatusButton.scss?vue&type=style&index=0&id=5cf9eda8&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5cf9eda8\",\n null\n \n)\n\nexport default component.exports","\nimport store from '@/store';\nimport Vue from 'vue';\nimport { Component, Prop, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport StatusButton from './components/statusButton/StatusButton.vue';\n\n@Component({\n components: {\n StatusButton,\n },\n computed: {\n ...mapState(['storeShowCategory', 'storeShowBfixCategory']),\n },\n})\nexport default class StatusButtons extends Vue {\n @Prop({ type: Number, required: true }) private readonly allCounter!: number;\n @Prop({ type: Number, required: true }) private readonly unallocatedCounter!: number;\n @Prop({ type: Number, required: true }) private readonly progressCounter!: number;\n @Prop({ type: Number, required: true }) private readonly completedCounter!: number;\n @Prop({ type: Number, required: true }) private readonly cancelledCounter!: number;\n @Prop({ type: String, required: false, default: '' }) private readonly context!: string;\n\n private showCategory = 'progress';\n private storeShowCategory!: string;\n private storeShowBfixCategory!: string;\n private changeCategory(category: string): void {\n this.showCategory = category;\n }\n @Watch('showCategory')\n private setCategory() {\n if (this.context === 'bfix') {\n store.dispatch('setBfixCategory', this.showCategory);\n } else {\n store.dispatch('setCategory', this.showCategory);\n }\n }\n private mounted(): void {\n if (this.context === 'bfix') {\n this.showCategory = this.storeShowBfixCategory;\n } else {\n this.showCategory = this.storeShowCategory;\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StatusButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StatusButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./StatusButtons.vue?vue&type=template&id=6624f83e&scoped=true\"\nimport script from \"./StatusButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./StatusButtons.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6624f83e\",\n null\n \n)\n\nexport default component.exports","import { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.$style.customerDetailsFieldGroup},[_c('div',{class:_vm.$style.item},[(_vm.$can('staff', 'Job'))?_c('LookupCustomerCode',{staticClass:\"lookup-customer-code\",attrs:{\"chosen\":_vm.userData.customerCode,\"autocomplete\":_vm.autocompleteCustomer,\"stop\":1,\"tabIndex\":1,\"required\":_vm.customerCodeIsRequired,\"outlined\":\"\",\"background-color\":\"white\",\"focus\":true,\"data-cy\":\"input-ccode-staff\"},on:{\"change\":_vm.setCustomerCode}}):_c(VTextField,{staticClass:\"stop-input stop-input-ccode\",attrs:{\"background-color\":\"white\",\"label\":\"Customer Code\",\"disabled\":\"\",\"outlined\":\"\",\"required\":\"\",\"data-cy\":\"input-ccode\"},model:{value:(_vm.userData.customerCode),callback:function ($$v) {_vm.$set(_vm.userData, \"customerCode\", $$v)},expression:\"userData.customerCode\"}})],1),_c('div',{class:_vm.$style.item},[_c(VTextField,{staticClass:\"stop-input\",attrs:{\"background-color\":\"white\",\"label\":\"Caller\",\"disabled\":!_vm.$can('staff', 'Job'),\"rules\":[v => !!v || 'Caller is required field'],\"maxlength\":16,\"tabindex\":2,\"outlined\":\"\",\"required\":\"\",\"data-cy\":\"input-caller\"},model:{value:(_vm.userData.caller),callback:function ($$v) {_vm.$set(_vm.userData, \"caller\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"userData.caller\"}})],1),_c('div',{class:_vm.$style.item},[_c(VTextField,{staticClass:\"stop-input\",attrs:{\"background-color\":\"white\",\"label\":\"Phone\",\"disabled\":!_vm.$can('staff', 'Job'),\"rules\":[v => !!v || 'Phone number is required field'],\"min\":\"0\",\"oninput\":\"if(this.value < 0) this.value = 0\",\"maxlength\":16,\"tabindex\":3,\"outlined\":\"\",\"required\":\"\",\"data-cy\":\"input-customer-phone\"},on:{\"keypress\":_vm.onlyNumberAndSpace,\"blur\":_vm.handleBlur},model:{value:(_vm.userData.phone_number),callback:function ($$v) {_vm.$set(_vm.userData, \"phone_number\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"userData.phone_number\"}})],1),_c('div',{class:_vm.$style.item},[(_vm.userData.ref1_required)?[_c(VTextField,{staticClass:\"stop-input\",attrs:{\"background-color\":\"white\",\"label\":_vm.userData.ref1_prompt,\"rules\":[v => !!v || 'Reference 1 is required field'],\"maxlength\":16,\"tabindex\":4,\"outlined\":\"\",\"required\":\"\",\"data-cy\":\"input-ref1\"},model:{value:(_vm.userData.reference1),callback:function ($$v) {_vm.$set(_vm.userData, \"reference1\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"userData.reference1\"}})]:[_c(VTextField,{staticClass:\"stop-input\",attrs:{\"background-color\":\"white\",\"label\":_vm.userData.ref1_prompt,\"maxlength\":16,\"tabindex\":4,\"outlined\":\"\",\"required\":\"\",\"data-cy\":\"input-ref1\"},model:{value:(_vm.userData.reference1),callback:function ($$v) {_vm.$set(_vm.userData, \"reference1\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"userData.reference1\"}})]],2),_c('div',{class:_vm.$style.item},[(_vm.userData.ref2_required)?[_c(VTextField,{staticClass:\"stop-input\",attrs:{\"background-color\":\"white\",\"label\":_vm.userData.ref2_prompt,\"rules\":[v => !!v || 'Reference 2 is required field'],\"maxlength\":16,\"tabindex\":5,\"outlined\":\"\",\"data-cy\":\"input-ref2\"},model:{value:(_vm.userData.reference2),callback:function ($$v) {_vm.$set(_vm.userData, \"reference2\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"userData.reference2\"}})]:[_c(VTextField,{staticClass:\"stop-input\",attrs:{\"background-color\":\"white\",\"label\":_vm.userData.ref2_prompt,\"maxlength\":16,\"tabindex\":5,\"outlined\":\"\",\"data-cy\":\"input-ref2\"},model:{value:(_vm.userData.reference2),callback:function ($$v) {_vm.$set(_vm.userData, \"reference2\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"userData.reference2\"}})]],2),_c('div',{class:_vm.$style.item},[(_vm.userData.ref3_required)?[_c(VTextField,{staticClass:\"stop-input\",attrs:{\"background-color\":\"white\",\"label\":_vm.userData.ref3_prompt,\"rules\":[v => !!v || 'Reference 3 is required field'],\"maxlength\":16,\"tabindex\":6,\"outlined\":\"\",\"data-cy\":\"input-ref3\"},model:{value:(_vm.userData.reference3),callback:function ($$v) {_vm.$set(_vm.userData, \"reference3\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"userData.reference3\"}})]:[_c(VTextField,{staticClass:\"stop-input\",attrs:{\"background-color\":\"white\",\"label\":_vm.userData.ref3_prompt,\"maxlength\":16,\"tabindex\":6,\"outlined\":\"\",\"data-cy\":\"input-ref3\"},model:{value:(_vm.userData.reference3),callback:function ($$v) {_vm.$set(_vm.userData, \"reference3\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"userData.reference3\"}})]],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { lookupCustomer } from '@/api';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { UserDataAdvancedJB } from '@/models/main';\nimport LookupCustomerCode from '@/components/jobBooking/AdvancedJobBooking/LookupCustomerCode.vue';\nimport { clearPhoneNumber } from '@/utils/InputProcessingUtilities';\n\n@Component({\n components: {\n LookupCustomerCode,\n },\n})\nexport default class CustomerDetailsFieldGroup extends Vue {\n @Prop(Object) public readonly userData: UserDataAdvancedJB;\n @Prop({ type: Boolean, required: false }) public readonly customerCodeIsRequired!: boolean;\n @Prop(Function) public setCustomerCode: (customerCode: string, stop_number?: number) => void;\n\n public autocompleteCustomer = lookupCustomer;\n\n public handleBlur() {\n this.userData.phone_number = clearPhoneNumber(this.userData.phone_number);\n }\n\n public onlyNumberAndSpace($event) {\n const keyCode = $event.keyCode ? $event.keyCode : $event.which;\n if ((keyCode < 48 || keyCode > 57) && keyCode !== 32 && keyCode !== 40 && keyCode !== 41) {\n $event.preventDefault();\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CustomerDetailsFieldGroup.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CustomerDetailsFieldGroup.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"CustomerDetailsFieldGroup_sidemenu_G1sqw\",\"layout-wrapper\":\"CustomerDetailsFieldGroup_layout-wrapper_Jp4rb\",\"wrapper-portal\":\"CustomerDetailsFieldGroup_wrapper-portal_PlNAU\",\"wrapper-portal-dash\":\"CustomerDetailsFieldGroup_wrapper-portal-dash_iPro3\",\"container\":\"CustomerDetailsFieldGroup_container_rAOO7\",\"b-fa\":\"CustomerDetailsFieldGroup_b-fa_DNEGE\",\"mdi-stairs\":\"CustomerDetailsFieldGroup_mdi-stairs_JXwZJ\",\"mdi-progress-wrench\":\"CustomerDetailsFieldGroup_mdi-progress-wrench_mI6oo\",\"mdi-wrench\":\"CustomerDetailsFieldGroup_mdi-wrench_UyhS9\",\"mdi-file-document\":\"CustomerDetailsFieldGroup_mdi-file-document_gRTfc\",\"mdi-account\":\"CustomerDetailsFieldGroup_mdi-account_exltf\",\"mdi-caravan\":\"CustomerDetailsFieldGroup_mdi-caravan_ROL8J\",\"mdi-forklift\":\"CustomerDetailsFieldGroup_mdi-forklift_NoMOw\",\"mdi-account-plus\":\"CustomerDetailsFieldGroup_mdi-account-plus_Qn0FA\",\"mdi-format-align-bottom\":\"CustomerDetailsFieldGroup_mdi-format-align-bottom_lQ5MW\",\"mdi-clock-alert\":\"CustomerDetailsFieldGroup_mdi-clock-alert_nVvL3\",\"mdi-school\":\"CustomerDetailsFieldGroup_mdi-school_EOiqO\",\"mdi-face-mask\":\"CustomerDetailsFieldGroup_mdi-face-mask_iYwcH\",\"fa\":\"CustomerDetailsFieldGroup_fa_kF8ly\",\"fa-angle-up\":\"CustomerDetailsFieldGroup_fa-angle-up_m5_d7\",\"fa-angle-left\":\"CustomerDetailsFieldGroup_fa-angle-left_nhMgP\",\"fa-search\":\"CustomerDetailsFieldGroup_fa-search_r4TrT\",\"fa-consolidate\":\"CustomerDetailsFieldGroup_fa-consolidate_uE0SV\",\"fa-split\":\"CustomerDetailsFieldGroup_fa-split_Jhdkn\",\"mdi-food-fork-drink\":\"CustomerDetailsFieldGroup_mdi-food-fork-drink_giMuV\",\"mdi-package-variant\":\"CustomerDetailsFieldGroup_mdi-package-variant__2Z6g\",\"mdi-call-merge\":\"CustomerDetailsFieldGroup_mdi-call-merge_no1TS\",\"mdi-tray-arrow-up\":\"CustomerDetailsFieldGroup_mdi-tray-arrow-up_tybuE\",\"fa-arrow-circle-up\":\"CustomerDetailsFieldGroup_fa-arrow-circle-up_Gykvm\",\"fa-arrow-circle-down\":\"CustomerDetailsFieldGroup_fa-arrow-circle-down_CtEUL\",\"mdi-calendar-check\":\"CustomerDetailsFieldGroup_mdi-calendar-check_ypDOQ\",\"mdi-calendar-remove\":\"CustomerDetailsFieldGroup_mdi-calendar-remove_gSJ2y\",\"stop-tooltip\":\"CustomerDetailsFieldGroup_stop-tooltip_v1M7O\",\"bold\":\"CustomerDetailsFieldGroup_bold_S6ciT\",\"tooltip-header\":\"CustomerDetailsFieldGroup_tooltip-header_dynNI\",\"tooltip-content\":\"CustomerDetailsFieldGroup_tooltip-content_HNaKy\",\"stops\":\"CustomerDetailsFieldGroup_stops_uQ4bd\",\"tooltip-attrs\":\"CustomerDetailsFieldGroup_tooltip-attrs_UjrED\",\"attr\":\"CustomerDetailsFieldGroup_attr_brlF1\",\"warnings\":\"CustomerDetailsFieldGroup_warnings_rQuOo\",\"b-panel-body-wrap\":\"CustomerDetailsFieldGroup_b-panel-body-wrap_Et8Rn\",\"b-panel-content\":\"CustomerDetailsFieldGroup_b-panel-content_iV_xk\",\"b-tooltip-content\":\"CustomerDetailsFieldGroup_b-tooltip-content_ef_pa\",\"t-radio\":\"CustomerDetailsFieldGroup_t-radio_G5f93\",\"t-checkbox\":\"CustomerDetailsFieldGroup_t-checkbox__wdSh\",\"floating-label\":\"CustomerDetailsFieldGroup_floating-label_ZT4C3\",\"floating-label-inset\":\"CustomerDetailsFieldGroup_floating-label-inset_j4qU1\",\"customerDetailsFieldGroup\":\"CustomerDetailsFieldGroup_customerDetailsFieldGroup_QmpiA\",\"item\":\"CustomerDetailsFieldGroup_item_CQ7b6\"};","import { render, staticRenderFns } from \"./CustomerDetailsFieldGroup.vue?vue&type=template&id=43251ba0\"\nimport script from \"./CustomerDetailsFieldGroup.vue?vue&type=script&lang=ts\"\nexport * from \"./CustomerDetailsFieldGroup.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CustomerDetailsFieldGroup.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mt-3 pl-2\"},[_c('div',{staticClass:\"text-base\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\" Attachments: \")]),(_vm.uploadError.length)?_c('span',{staticClass:\"ml-2 text-red-500\"},[_vm._v(_vm._s(_vm.uploadError))]):_vm._e()]),_vm._l((_vm.filesObjectsForTable),function(file,idx){return _c('div',{key:idx,staticClass:\"flex justify-start items-center\"},[_c('Icon',{staticClass:\"mt-0.5\",attrs:{\"name\":\"mdi-attachment\",\"color\":\"black\",\"size\":\"base\"}}),_c('span',{staticClass:\"ml-2 underline\"},[_vm._v(_vm._s(file.name))]),_c('div',{staticClass:\"ml-4\"},[(file.size < 1024)?_c('span',[_vm._v(_vm._s(file.size.toFixed(1))+\" b\")]):(file.size / 1024 < 1024)?_c('span',[_vm._v(_vm._s((file.size / 1024).toFixed(1))+\" kb\")]):_c('span',[_vm._v(_vm._s((file.size / 1024 / 1024).toFixed(1))+\" mb\")])]),_c('Icon',{staticClass:\"ml-4 cursor-pointer\",attrs:{\"name\":\"mdi-trash-can-outline\",\"color\":\"black\",\"size\":\"base\"},nativeOn:{\"click\":function($event){return _vm.deleteFiles(file)}}})],1)}),_c('div',{staticClass:\"text-sm mt-2\"},[_vm._v(\"Add images or documents if needed (5 files limit):\")]),_c('DropZone',{staticClass:\"mt-2\",attrs:{\"type\":\"one-line\"},on:{\"filesAdded\":_vm.filesAdded}})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { UploadingFilesObjectForTable } from '@/models/main';\nimport DropZone from '@/components/UI/DropZone.vue';\nimport Icon from '@/components/UI/Icon.vue';\n\n@Component({\n components: {\n DropZone,\n Icon,\n },\n})\nexport default class ExampleDiv extends Vue {\n @Prop(String) public uploadError: string;\n @Prop(Array) public filesObjectsForTable: UploadingFilesObjectForTable[];\n @Prop(Function) public deleteFiles: (item: UploadingFilesObjectForTable) => void;\n @Prop(Function) public filesAdded: (files: File[]) => void;\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AttachmentsField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AttachmentsField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AttachmentsField.vue?vue&type=template&id=03e695f5\"\nimport script from \"./AttachmentsField.vue?vue&type=script&lang=ts\"\nexport * from \"./AttachmentsField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VForm } from 'vuetify/lib/components/VForm';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VForm,{ref:\"form\",attrs:{\"lazy-validation\":\"\",\"disabled\":_vm.isLoading},on:{\"submit\":_vm.handleSubmit},model:{value:(_vm.isValid),callback:function ($$v) {_vm.isValid=$$v},expression:\"isValid\"}},[_c('CustomerDetailsFieldset',{attrs:{\"loading\":_vm.isLoading},model:{value:(_vm.detailedJob),callback:function ($$v) {_vm.detailedJob=$$v},expression:\"detailedJob\"}}),_c('ChooseAddressFieldset',{staticClass:\"mb-6\",attrs:{\"loading\":_vm.isLoading},model:{value:(_vm.detailedJob),callback:function ($$v) {_vm.detailedJob=$$v},expression:\"detailedJob\"}}),_c('LegsFieldset',{attrs:{\"loading\":_vm.isLoading},model:{value:(_vm.detailedJob),callback:function ($$v) {_vm.detailedJob=$$v},expression:\"detailedJob\"}}),_c('br'),_c('div',{staticClass:\"flex justify-end\"},[_c('JobbookingCreateSubmitBtn',{attrs:{\"disabled\":!_vm.isValid || _vm.isDatesError || _vm.isLoading,\"loading\":_vm.isLoading},on:{\"click\":_vm.handleSubmit}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('h3',{staticClass:\"text-base font-semibold mb-2\"},[_vm._v(\"Customer details:\")]),_c('CustomerDetailsFieldGroup',{attrs:{\"userData\":_vm.userData,\"setCustomerCode\":_vm.setCustomerCode,\"handlePhoneBlur\":_vm.onlyNumberAndSpaceBlur}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport CustomerDetailsFieldGroup from '@/components/fieldGroups/CustomerDetailsFieldGroup.vue';\nimport { UserDataAdvancedJB } from '@/models/main';\nimport { getReferencesParamsWrapper } from '@/helpers/booking';\nimport { clearPhoneNumber } from '@/utils/InputProcessingUtilities';\nimport { JobDetailedData } from '@/models/jobDetailed';\n\n@Component({\n components: {\n CustomerDetailsFieldGroup,\n },\n})\nexport default class CustomerDetailsFieldset extends Vue {\n @Prop(Object) public value: JobDetailedData;\n\n get detailedJob() {\n return this.value;\n }\n\n set detailedJob(value) {\n this.$emit('input', value);\n }\n\n private userDataDefault: UserDataAdvancedJB = {\n customerCode: '',\n caller: '',\n phone_number: '',\n reference1: '',\n reference2: '',\n reference3: '',\n ref1_prompt: 'Reference 1',\n ref2_prompt: 'Reference 2',\n ref3_prompt: 'Reference 3',\n ref1_required: false,\n ref2_required: false,\n ref3_required: false,\n };\n\n private userData: UserDataAdvancedJB = { ...this.userDataDefault };\n\n @Watch('userData', { immediate: true, deep: true })\n private watchUserData() {\n if (this.detailedJob) {\n this.detailedJob.customer = this.userData.customerCode;\n this.detailedJob.caller = this.userData.caller;\n this.detailedJob.phone = this.userData.phone_number;\n this.detailedJob.reference_1 = this.userData.reference1;\n this.detailedJob.reference_2 = this.userData.reference2;\n this.detailedJob.reference_3 = this.userData.reference3;\n }\n }\n\n @Watch('value', { immediate: true, deep: true })\n private watchDetailedJob() {\n if (this.detailedJob) {\n this.userData.customerCode = this.detailedJob.customer;\n this.userData.caller = this.detailedJob.caller;\n this.userData.phone_number = this.detailedJob.phone;\n this.userData.reference1 = this.detailedJob.reference_1;\n this.userData.reference2 = this.detailedJob.reference_2;\n this.userData.reference3 = this.detailedJob.reference_3;\n }\n }\n\n private setCustomerCode(stop, customerCode): void {\n if (customerCode) {\n this.userData.customerCode = customerCode;\n }\n getReferencesParamsWrapper(this.userData.customerCode, this.userData);\n }\n\n private onlyNumberAndSpaceBlur() {\n this.userData.phone_number = clearPhoneNumber(this.userData.phone_number);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CustomerDetailsFieldset.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CustomerDetailsFieldset.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CustomerDetailsFieldset.vue?vue&type=template&id=1eb4c3c9\"\nimport script from \"./CustomerDetailsFieldset.vue?vue&type=script&lang=ts\"\nexport * from \"./CustomerDetailsFieldset.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.$style.chooseAddressFieldset},[_c('h3',{staticClass:\"text-base font-semibold mb-2\"},[_vm._v(\"Choose address:\")]),_c('div',{staticClass:\"flex\"},[(_vm.detailedJob?.stops?.length)?[_vm._l((_vm.detailedJob.stops),function(stop,index){return [_c('ChooseAddressStopFieldset',{key:index,class:_vm.$style.stop,attrs:{\"stopIndex\":index,\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.detailedJob),callback:function ($$v) {_vm.detailedJob=$$v},expression:\"detailedJob\"}})]})]:[_c('ChooseAddressStopFieldset',{class:_vm.$style.stop,attrs:{\"loading\":\"\",\"disabled\":\"\"}})]],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.$style.chooseAddressStopFieldset},[_c('div',{class:_vm.$style.stopHeader},[_vm._v(\"Stop \"+_vm._s(_vm.stopIndex + 1))]),_c('div',{class:_vm.$style.stopBody},[_c('CompanyNameComboboxField',{attrs:{\"items\":_vm.addresses,\"loading\":_vm.loading || _vm.isAddressesFetching,\"disabled\":_vm.disabled},model:{value:(_vm.stop.name),callback:function ($$v) {_vm.$set(_vm.stop, \"name\", $$v)},expression:\"stop.name\"}}),_c('StreetAddressTextField',{attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.stop.address_line_2),callback:function ($$v) {_vm.$set(_vm.stop, \"address_line_2\", $$v)},expression:\"stop.address_line_2\"}}),_c('RoomLevelUnitTextField',{attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.stop.address_line_1),callback:function ($$v) {_vm.$set(_vm.stop, \"address_line_1\", $$v)},expression:\"stop.address_line_1\"}}),_c('SuburbAutocompleteField',{attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.suburbItems[_vm.stopIndex]),callback:function ($$v) {_vm.$set(_vm.suburbItems, _vm.stopIndex, $$v)},expression:\"suburbItems[stopIndex]\"}}),_c('h5',{staticClass:\"text-sm font-semibold mb-2\"},[_vm._v(\"Contact details:\")]),_c('ContactDetailsNoteNameTextField',{attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.stop.note_name),callback:function ($$v) {_vm.$set(_vm.stop, \"note_name\", $$v)},expression:\"stop.note_name\"}}),_c('ContactDetailsNotePhoneTextField',{attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.stop.note_phone),callback:function ($$v) {_vm.$set(_vm.stop, \"note_phone\", $$v)},expression:\"stop.note_phone\"}}),_c('ContactDetailsNoteTextTextareaField',{attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.stop.note_text),callback:function ($$v) {_vm.$set(_vm.stop, \"note_text\", $$v)},expression:\"stop.note_text\"}}),_c('DateTimesFieldset',{staticClass:\"mb-2\",attrs:{\"detailedJob\":_vm.detailedJob,\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.stop),callback:function ($$v) {_vm.stop=$$v},expression:\"stop\"}}),_c('AttributesFieldset',{attrs:{\"isAddStairs\":_vm.stopIndex <= (_vm.detailedJob?.stops.length || 0) - 2,\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.stop),callback:function ($$v) {_vm.stop=$$v},expression:\"stop\"}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VCombobox } from 'vuetify/lib/components/VCombobox';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VCombobox,{staticClass:\"g-field\",attrs:{\"label\":\"Company name\",\"items\":_vm.items,\"maxlength\":_vm.maxlength,\"rules\":_vm.fieldValidationRules,\"counter\":\"\",\"outlined\":\"\",\"dense\":\"\",\"clearable\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c('NoDataSelectItem')]},proxy:true},{key:\"item\",fn:function(data){return [_c('CommonSelectItem',[_vm._v(\" \"+_vm._s(data.item)+\" \")])]}}]),model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:_vm.$style.noDataSelectItem},[_vm._t(\"default\",function(){return [_vm._v(\"No such data\")]})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"NoDataSelectItem_sidemenu_Z6M39\",\"layout-wrapper\":\"NoDataSelectItem_layout-wrapper_whSqN\",\"wrapper-portal\":\"NoDataSelectItem_wrapper-portal_XPY9h\",\"wrapper-portal-dash\":\"NoDataSelectItem_wrapper-portal-dash_wUWbe\",\"container\":\"NoDataSelectItem_container_wRkSj\",\"b-fa\":\"NoDataSelectItem_b-fa_yNgxK\",\"mdi-stairs\":\"NoDataSelectItem_mdi-stairs_KR5mx\",\"mdi-progress-wrench\":\"NoDataSelectItem_mdi-progress-wrench_jrOMt\",\"mdi-wrench\":\"NoDataSelectItem_mdi-wrench_cehwC\",\"mdi-file-document\":\"NoDataSelectItem_mdi-file-document_hhceq\",\"mdi-account\":\"NoDataSelectItem_mdi-account_LKE6s\",\"mdi-caravan\":\"NoDataSelectItem_mdi-caravan_sJVCR\",\"mdi-forklift\":\"NoDataSelectItem_mdi-forklift_r4wqa\",\"mdi-account-plus\":\"NoDataSelectItem_mdi-account-plus_SfuR_\",\"mdi-format-align-bottom\":\"NoDataSelectItem_mdi-format-align-bottom_SmSje\",\"mdi-clock-alert\":\"NoDataSelectItem_mdi-clock-alert_fGa_f\",\"mdi-school\":\"NoDataSelectItem_mdi-school_ljlx8\",\"mdi-face-mask\":\"NoDataSelectItem_mdi-face-mask_ZaJAz\",\"fa\":\"NoDataSelectItem_fa_sdiAu\",\"fa-angle-up\":\"NoDataSelectItem_fa-angle-up_TWphb\",\"fa-angle-left\":\"NoDataSelectItem_fa-angle-left_k8gaU\",\"fa-search\":\"NoDataSelectItem_fa-search_khfRM\",\"fa-consolidate\":\"NoDataSelectItem_fa-consolidate_baY6w\",\"fa-split\":\"NoDataSelectItem_fa-split_dVMpg\",\"mdi-food-fork-drink\":\"NoDataSelectItem_mdi-food-fork-drink_lPMUC\",\"mdi-package-variant\":\"NoDataSelectItem_mdi-package-variant_am53F\",\"mdi-call-merge\":\"NoDataSelectItem_mdi-call-merge_ajW4M\",\"mdi-tray-arrow-up\":\"NoDataSelectItem_mdi-tray-arrow-up_Lt0vC\",\"fa-arrow-circle-up\":\"NoDataSelectItem_fa-arrow-circle-up_LqNdR\",\"fa-arrow-circle-down\":\"NoDataSelectItem_fa-arrow-circle-down_sdVa6\",\"mdi-calendar-check\":\"NoDataSelectItem_mdi-calendar-check_cMe07\",\"mdi-calendar-remove\":\"NoDataSelectItem_mdi-calendar-remove_m2w_t\",\"stop-tooltip\":\"NoDataSelectItem_stop-tooltip_rkAHW\",\"bold\":\"NoDataSelectItem_bold_LvgDc\",\"tooltip-header\":\"NoDataSelectItem_tooltip-header_zrwzU\",\"tooltip-content\":\"NoDataSelectItem_tooltip-content_pBEE3\",\"stops\":\"NoDataSelectItem_stops_WI6vc\",\"tooltip-attrs\":\"NoDataSelectItem_tooltip-attrs_GtLc7\",\"attr\":\"NoDataSelectItem_attr_xfAFu\",\"warnings\":\"NoDataSelectItem_warnings_CA0er\",\"b-panel-body-wrap\":\"NoDataSelectItem_b-panel-body-wrap__Hagb\",\"b-panel-content\":\"NoDataSelectItem_b-panel-content_ya9mv\",\"b-tooltip-content\":\"NoDataSelectItem_b-tooltip-content_oWZxC\",\"t-radio\":\"NoDataSelectItem_t-radio_tICZf\",\"t-checkbox\":\"NoDataSelectItem_t-checkbox_z5hRr\",\"floating-label\":\"NoDataSelectItem_floating-label_n2ozD\",\"floating-label-inset\":\"NoDataSelectItem_floating-label-inset_mSV4g\",\"noDataSelectItem\":\"NoDataSelectItem_noDataSelectItem_aCqP9\"};","import { render, staticRenderFns } from \"./NoDataSelectItem.vue?vue&type=template&id=7195bdcc\"\nvar script = {}\nimport style0 from \"./NoDataSelectItem.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:_vm.$style.commonSelectItem},[_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"CommonSelectItem_sidemenu_cGCeQ\",\"layout-wrapper\":\"CommonSelectItem_layout-wrapper_RIBxF\",\"wrapper-portal\":\"CommonSelectItem_wrapper-portal_kfN1I\",\"wrapper-portal-dash\":\"CommonSelectItem_wrapper-portal-dash_Q2nvb\",\"container\":\"CommonSelectItem_container_TVmuI\",\"b-fa\":\"CommonSelectItem_b-fa_B1ovy\",\"mdi-stairs\":\"CommonSelectItem_mdi-stairs_g9qRr\",\"mdi-progress-wrench\":\"CommonSelectItem_mdi-progress-wrench_bUj2x\",\"mdi-wrench\":\"CommonSelectItem_mdi-wrench_W0Tpc\",\"mdi-file-document\":\"CommonSelectItem_mdi-file-document_j6YPG\",\"mdi-account\":\"CommonSelectItem_mdi-account_w0A2O\",\"mdi-caravan\":\"CommonSelectItem_mdi-caravan_ylMR7\",\"mdi-forklift\":\"CommonSelectItem_mdi-forklift_bCOY9\",\"mdi-account-plus\":\"CommonSelectItem_mdi-account-plus_u26Nh\",\"mdi-format-align-bottom\":\"CommonSelectItem_mdi-format-align-bottom_R_wDy\",\"mdi-clock-alert\":\"CommonSelectItem_mdi-clock-alert_GrhN7\",\"mdi-school\":\"CommonSelectItem_mdi-school_NjBy7\",\"mdi-face-mask\":\"CommonSelectItem_mdi-face-mask_CWErb\",\"fa\":\"CommonSelectItem_fa_pLJqx\",\"fa-angle-up\":\"CommonSelectItem_fa-angle-up_YlT2K\",\"fa-angle-left\":\"CommonSelectItem_fa-angle-left_AEWJb\",\"fa-search\":\"CommonSelectItem_fa-search_MDlqO\",\"fa-consolidate\":\"CommonSelectItem_fa-consolidate_TwIPR\",\"fa-split\":\"CommonSelectItem_fa-split_QnSlH\",\"mdi-food-fork-drink\":\"CommonSelectItem_mdi-food-fork-drink_HbtWM\",\"mdi-package-variant\":\"CommonSelectItem_mdi-package-variant_Bv9o0\",\"mdi-call-merge\":\"CommonSelectItem_mdi-call-merge_joGKe\",\"mdi-tray-arrow-up\":\"CommonSelectItem_mdi-tray-arrow-up_czhKz\",\"fa-arrow-circle-up\":\"CommonSelectItem_fa-arrow-circle-up_kr7e7\",\"fa-arrow-circle-down\":\"CommonSelectItem_fa-arrow-circle-down_FwkOh\",\"mdi-calendar-check\":\"CommonSelectItem_mdi-calendar-check_XdIn6\",\"mdi-calendar-remove\":\"CommonSelectItem_mdi-calendar-remove_sRQH1\",\"stop-tooltip\":\"CommonSelectItem_stop-tooltip_YJ7LK\",\"bold\":\"CommonSelectItem_bold_XDZi3\",\"tooltip-header\":\"CommonSelectItem_tooltip-header_qg2Mr\",\"tooltip-content\":\"CommonSelectItem_tooltip-content_zeE_z\",\"stops\":\"CommonSelectItem_stops_GcamO\",\"tooltip-attrs\":\"CommonSelectItem_tooltip-attrs_iUxvG\",\"attr\":\"CommonSelectItem_attr_pn2Uv\",\"warnings\":\"CommonSelectItem_warnings_GaORA\",\"b-panel-body-wrap\":\"CommonSelectItem_b-panel-body-wrap_eJOpP\",\"b-panel-content\":\"CommonSelectItem_b-panel-content_nD9xi\",\"b-tooltip-content\":\"CommonSelectItem_b-tooltip-content_I3RTG\",\"t-radio\":\"CommonSelectItem_t-radio_XSwY1\",\"t-checkbox\":\"CommonSelectItem_t-checkbox_Gq4M9\",\"floating-label\":\"CommonSelectItem_floating-label_UYco_\",\"floating-label-inset\":\"CommonSelectItem_floating-label-inset_ul2Ay\",\"commonSelectItem\":\"CommonSelectItem_commonSelectItem_XLEqe\"};","import { render, staticRenderFns } from \"./CommonSelectItem.vue?vue&type=template&id=88784960\"\nvar script = {}\nimport style0 from \"./CommonSelectItem.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","export function requiredValidationRule(value: string | null | undefined): boolean | string {\n return !!value || 'Required';\n}\n\nexport function getMaxlengthValidationRule(maxlength: number) {\n return (value: string | null | undefined): boolean | string => {\n const isSuccess = !value || value.length <= maxlength;\n return isSuccess || `Max ${maxlength} characters`;\n };\n}\n","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport NoDataSelectItem from '@/components/selectItems/NoDataSelectItem.vue';\nimport CommonSelectItem from '@/components/selectItems/CommonSelectItem.vue';\nimport { getMaxlengthValidationRule, requiredValidationRule } from '@/helpers/validationRules';\n\n@Component({\n components: {\n NoDataSelectItem,\n CommonSelectItem,\n },\n})\nexport default class CompanyNameComboboxField extends Vue {\n @Prop(String) public value: string;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n @Prop(Array) public items: string[];\n\n get fieldValue() {\n return this.value;\n }\n\n set fieldValue(value) {\n this.$emit('input', value || '');\n }\n\n public maxlength = 30;\n public fieldValidationRules = [requiredValidationRule, getMaxlengthValidationRule(this.maxlength)];\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CompanyNameComboboxField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CompanyNameComboboxField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CompanyNameComboboxField.vue?vue&type=template&id=26289b23\"\nimport script from \"./CompanyNameComboboxField.vue?vue&type=script&lang=ts\"\nexport * from \"./CompanyNameComboboxField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VTextField,{staticClass:\"g-field\",attrs:{\"label\":\"Street address\",\"maxlength\":_vm.maxlength,\"rules\":_vm.fieldValidationRules,\"counter\":\"\",\"outlined\":\"\",\"dense\":\"\",\"clearable\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { getMaxlengthValidationRule, requiredValidationRule } from '@/helpers/validationRules';\n\n@Component({})\nexport default class StreetAddressTextField extends Vue {\n @Prop(String) public value: string;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n get fieldValue() {\n return this.value;\n }\n\n set fieldValue(value) {\n this.$emit('input', value || '');\n }\n\n public maxlength = 30;\n public fieldValidationRules = [requiredValidationRule, getMaxlengthValidationRule(this.maxlength)];\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StreetAddressTextField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StreetAddressTextField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./StreetAddressTextField.vue?vue&type=template&id=12e4a628\"\nimport script from \"./StreetAddressTextField.vue?vue&type=script&lang=ts\"\nexport * from \"./StreetAddressTextField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VTextField,{staticClass:\"g-field\",attrs:{\"label\":\"Room / Level / Unit\",\"maxlength\":_vm.maxlength,\"rules\":_vm.fieldValidationRules,\"counter\":\"\",\"outlined\":\"\",\"dense\":\"\",\"clearable\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { getMaxlengthValidationRule } from '@/helpers/validationRules';\n\n@Component({})\nexport default class RoomLevelUnitTextField extends Vue {\n @Prop(String) public value: string;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n get fieldValue() {\n return this.value;\n }\n\n set fieldValue(value) {\n this.$emit('input', value || '');\n }\n\n public maxlength = 30;\n public fieldValidationRules = [getMaxlengthValidationRule(this.maxlength)];\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RoomLevelUnitTextField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RoomLevelUnitTextField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RoomLevelUnitTextField.vue?vue&type=template&id=6156f110\"\nimport script from \"./RoomLevelUnitTextField.vue?vue&type=script&lang=ts\"\nexport * from \"./RoomLevelUnitTextField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.$style.suburbAutocompleteField},[_c(VAutocomplete,{staticClass:\"g-field\",attrs:{\"search-input\":_vm.search,\"label\":\"Suburb\",\"items\":_vm.items,\"rules\":_vm.fieldValidationRules,\"outlined\":\"\",\"dense\":\"\",\"clearable\":\"\",\"loading\":_vm.loading || _vm.isFetching,\"disabled\":_vm.disabled,\"no-filter\":\"\",\"item-text\":\"name\",\"item-value\":\"id\",\"height\":\"56\"},on:{\"update:searchInput\":function($event){_vm.search=$event},\"update:search-input\":function($event){_vm.search=$event}},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c('NoDataSelectItem',[(!_vm.search || _vm.search.length < 3)?[_vm._v(\"Please enter 3 or more characters\")]:[_vm._v(\"No such data\")]],2)]},proxy:true},{key:\"item\",fn:function(data){return [_c('CommonSelectItem',[_vm._v(\" \"+_vm._s([data.item.name, data.item.state, data.item.postcode].filter(item => !!item).join(', '))+\" \")])]}}]),model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=$$v},expression:\"fieldValue\"}}),_c('div',{class:_vm.$style.stateAndPostcode},[_vm._v(\" \"+_vm._s(_vm.isStateAndPostcodeShow ? [_vm.value?.state, _vm.value?.postcode].filter(item => !!item).join(', ') : '')+\" \")])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { requiredValidationRule } from '@/helpers/validationRules';\nimport { fetchGetLookupSuburb } from '@/helpers/fetchers';\nimport { ISelectSuburb, CustomSelectSuburb } from '@/models/jbAdvanced';\nimport { getSuburbItem } from '@/helpers/booking';\nimport _debounce from 'lodash/debounce';\nimport NoDataSelectItem from '@/components/selectItems/NoDataSelectItem.vue';\nimport CommonSelectItem from '@/components/selectItems/CommonSelectItem.vue';\n\n@Component({\n components: {\n NoDataSelectItem,\n CommonSelectItem,\n },\n})\nexport default class SuburbAutocompleteField extends Vue {\n @Prop(Object) public value: CustomSelectSuburb;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n public debounceFetchWrapper = _debounce(this.fetchWrapper, 150);\n public search = '';\n public items: CustomSelectSuburb[] = [];\n public isFetching = false;\n public isComponentJustCreated = true; // TODO toggle first search when pass the value\n public isStateAndPostcodeShow = false;\n\n get fieldValue() {\n // console.debug('get fieldValue');\n const suburbItem = this.value;\n return suburbItem?.id;\n }\n\n set fieldValue(newSuburbId: string) {\n // console.debug('set fieldValue', newSuburbId);\n const suburbItem = this.items.find(item => item.id === newSuburbId);\n this.$emit('input', suburbItem);\n }\n\n @Watch('value', { immediate: true })\n private watchValue(suburbItem: CustomSelectSuburb) {\n // console.debug('watchValue', suburbItem);\n if (!suburbItem || !suburbItem.name) {\n return;\n }\n if (this.search === suburbItem.name) {\n this.isStateAndPostcodeShow = true;\n }\n if (!this.items.find(item => item.id === suburbItem.id)) {\n this.items = [suburbItem, ...this.items]; // TODO cancel\n }\n }\n\n public fetchWrapper(): Promise {\n const search = this.search;\n this.isFetching = true;\n return fetchGetLookupSuburb(search) // TODO promised debounce and cancel\n .then((items: ISelectSuburb[]) => {\n if (search !== this.search) {\n return;\n }\n this.items = items.map(item => {\n return getSuburbItem(item.name, item.postcode, item.state);\n });\n })\n .finally(() => {\n this.isFetching = false;\n });\n }\n\n public getSearchString(search?: string | null) {\n return (search && search.trim()) || '';\n }\n\n @Watch('search')\n private watchSearch(newSearch?: string | null, oldSearch?: string | null) {\n this.isStateAndPostcodeShow = false;\n // console.debug('newSearch', newSearch, this.value?.name);\n // console.debug('oldSearch', oldSearch, this.value?.name);\n if (newSearch === null && this.fieldValue) {\n this.fieldValue = '';\n return;\n }\n newSearch = this.getSearchString(newSearch);\n oldSearch = this.getSearchString(oldSearch);\n if (newSearch === this.value?.name) {\n this.isStateAndPostcodeShow = true;\n }\n if (newSearch.length >= 3) {\n if (newSearch.toUpperCase() !== oldSearch.toUpperCase()) {\n this.debounceFetchWrapper();\n }\n } else {\n this.items = []; // TODO cancel\n }\n }\n\n public fieldValidationRules = [requiredValidationRule];\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SuburbAutocompleteField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SuburbAutocompleteField.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"SuburbAutocompleteField_sidemenu_WvjwD\",\"layout-wrapper\":\"SuburbAutocompleteField_layout-wrapper_HVvgo\",\"wrapper-portal\":\"SuburbAutocompleteField_wrapper-portal_JKRIp\",\"wrapper-portal-dash\":\"SuburbAutocompleteField_wrapper-portal-dash_d_LC8\",\"container\":\"SuburbAutocompleteField_container_KVti1\",\"b-fa\":\"SuburbAutocompleteField_b-fa_CmWTK\",\"mdi-stairs\":\"SuburbAutocompleteField_mdi-stairs_aIDoR\",\"mdi-progress-wrench\":\"SuburbAutocompleteField_mdi-progress-wrench__BtSE\",\"mdi-wrench\":\"SuburbAutocompleteField_mdi-wrench_IUWZ3\",\"mdi-file-document\":\"SuburbAutocompleteField_mdi-file-document_vZcHY\",\"mdi-account\":\"SuburbAutocompleteField_mdi-account_ggtKC\",\"mdi-caravan\":\"SuburbAutocompleteField_mdi-caravan_ss_d8\",\"mdi-forklift\":\"SuburbAutocompleteField_mdi-forklift_peDPw\",\"mdi-account-plus\":\"SuburbAutocompleteField_mdi-account-plus_RkweA\",\"mdi-format-align-bottom\":\"SuburbAutocompleteField_mdi-format-align-bottom_OT6vu\",\"mdi-clock-alert\":\"SuburbAutocompleteField_mdi-clock-alert_LbC9j\",\"mdi-school\":\"SuburbAutocompleteField_mdi-school_NXPbE\",\"mdi-face-mask\":\"SuburbAutocompleteField_mdi-face-mask_ZEppo\",\"fa\":\"SuburbAutocompleteField_fa_hgKwl\",\"fa-angle-up\":\"SuburbAutocompleteField_fa-angle-up_SstgD\",\"fa-angle-left\":\"SuburbAutocompleteField_fa-angle-left_TKEoS\",\"fa-search\":\"SuburbAutocompleteField_fa-search_eBZdn\",\"fa-consolidate\":\"SuburbAutocompleteField_fa-consolidate_VF_gn\",\"fa-split\":\"SuburbAutocompleteField_fa-split_kD7no\",\"mdi-food-fork-drink\":\"SuburbAutocompleteField_mdi-food-fork-drink_nbv2_\",\"mdi-package-variant\":\"SuburbAutocompleteField_mdi-package-variant_kxsyM\",\"mdi-call-merge\":\"SuburbAutocompleteField_mdi-call-merge_utn_r\",\"mdi-tray-arrow-up\":\"SuburbAutocompleteField_mdi-tray-arrow-up_bQ299\",\"fa-arrow-circle-up\":\"SuburbAutocompleteField_fa-arrow-circle-up_fQJYs\",\"fa-arrow-circle-down\":\"SuburbAutocompleteField_fa-arrow-circle-down_IJVT2\",\"mdi-calendar-check\":\"SuburbAutocompleteField_mdi-calendar-check_HSpCK\",\"mdi-calendar-remove\":\"SuburbAutocompleteField_mdi-calendar-remove_xxpBV\",\"stop-tooltip\":\"SuburbAutocompleteField_stop-tooltip_ivkeC\",\"bold\":\"SuburbAutocompleteField_bold_nkoC1\",\"tooltip-header\":\"SuburbAutocompleteField_tooltip-header_rFHnf\",\"tooltip-content\":\"SuburbAutocompleteField_tooltip-content_c5_yd\",\"stops\":\"SuburbAutocompleteField_stops_Y9t8D\",\"tooltip-attrs\":\"SuburbAutocompleteField_tooltip-attrs_dwGCH\",\"attr\":\"SuburbAutocompleteField_attr_uCcR2\",\"warnings\":\"SuburbAutocompleteField_warnings_zyKx3\",\"b-panel-body-wrap\":\"SuburbAutocompleteField_b-panel-body-wrap_G5A_t\",\"b-panel-content\":\"SuburbAutocompleteField_b-panel-content_Wqb6Z\",\"b-tooltip-content\":\"SuburbAutocompleteField_b-tooltip-content_V9e6f\",\"t-radio\":\"SuburbAutocompleteField_t-radio_dsxHH\",\"t-checkbox\":\"SuburbAutocompleteField_t-checkbox_zlt_g\",\"floating-label\":\"SuburbAutocompleteField_floating-label_UWOYr\",\"floating-label-inset\":\"SuburbAutocompleteField_floating-label-inset_PPfae\",\"suburbAutocompleteField\":\"SuburbAutocompleteField_suburbAutocompleteField_JPH6H\",\"stateAndPostcode\":\"SuburbAutocompleteField_stateAndPostcode_NHWFl\"};","import { render, staticRenderFns } from \"./SuburbAutocompleteField.vue?vue&type=template&id=c87fd750\"\nimport script from \"./SuburbAutocompleteField.vue?vue&type=script&lang=ts\"\nexport * from \"./SuburbAutocompleteField.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SuburbAutocompleteField.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","import { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VTextField,{staticClass:\"g-field\",attrs:{\"label\":\"Name\",\"outlined\":\"\",\"dense\":\"\",\"clearable\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class ContactDetailsNoteNameTextField extends Vue {\n @Prop(String) public value: string;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n get fieldValue() {\n return this.value;\n }\n\n set fieldValue(value) {\n this.$emit('input', value || '');\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ContactDetailsNoteNameTextField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ContactDetailsNoteNameTextField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ContactDetailsNoteNameTextField.vue?vue&type=template&id=6ebf7c88\"\nimport script from \"./ContactDetailsNoteNameTextField.vue?vue&type=script&lang=ts\"\nexport * from \"./ContactDetailsNoteNameTextField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VTextField,{staticClass:\"g-field\",attrs:{\"label\":\"Phone\",\"outlined\":\"\",\"dense\":\"\",\"clearable\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class ContactDetailsNotePhoneTextField extends Vue {\n @Prop(String) public value: string;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n get fieldValue() {\n return this.value;\n }\n\n set fieldValue(value) {\n this.$emit('input', value || '');\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ContactDetailsNotePhoneTextField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ContactDetailsNotePhoneTextField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ContactDetailsNotePhoneTextField.vue?vue&type=template&id=06330eda\"\nimport script from \"./ContactDetailsNotePhoneTextField.vue?vue&type=script&lang=ts\"\nexport * from \"./ContactDetailsNotePhoneTextField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VTextarea } from 'vuetify/lib/components/VTextarea';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VTextarea,{staticClass:\"g-field\",attrs:{\"label\":\"Collection instruction\",\"outlined\":\"\",\"dense\":\"\",\"rows\":\"4\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class ContactDetailsNoteTextTextareaField extends Vue {\n @Prop(String) public value: string;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n get fieldValue() {\n return this.value;\n }\n\n set fieldValue(value) {\n this.$emit('input', value || '');\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ContactDetailsNoteTextTextareaField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ContactDetailsNoteTextTextareaField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ContactDetailsNoteTextTextareaField.vue?vue&type=template&id=5e72b6cc\"\nimport script from \"./ContactDetailsNoteTextTextareaField.vue?vue&type=script&lang=ts\"\nexport * from \"./ContactDetailsNoteTextTextareaField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.$style.attributesFieldset},[_c('h5',{staticClass:\"text-sm font-semibold mb-2\"},[_vm._v(\"Attributes:\")]),_c('AttributesTextBtn',{class:_vm.$style.addStairsBtn,attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled || !_vm.isAddStairs || _vm.isAddStairsDisabled},on:{\"click\":_vm.handleAddStairsServiceClick}},[_c(VIcon,[_vm._v(\"mdi-plus\")]),_vm._v(\" Add stairs service \")],1),_c('AttributesAutocompleteField',{attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.jobStop.attributes),callback:function ($$v) {_vm.$set(_vm.jobStop, \"attributes\", $$v)},expression:\"jobStop.attributes\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.$style.attributesAutocompleteField},[_c(VAutocomplete,{staticClass:\"g-field\",attrs:{\"label\":\"Add attribute\",\"single-line\":\"\",\"items\":_vm.items,\"outlined\":\"\",\"dense\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled,\"item-text\":\"description\",\"item-value\":\"code\",\"multiple\":\"\",\"chips\":\"\",\"deletable-chips\":\"\",\"filter\":_vm.filter},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c('NoDataSelectItem')]},proxy:true},{key:\"item\",fn:function(data){return [_c('CommonSelectItem',[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(_vm._s(data.item.icon))]),_vm._v(\" \"+_vm._s(data.item.description)+\" \")],1)]}},{key:\"selection\",fn:function(data){return [_c(VChip,_vm._b({attrs:{\"input-value\":data.selected,\"close\":\"\",\"label\":\"\"},on:{\"click\":data.select,\"click:close\":function($event){return _vm.removeItem(data.item)}}},'v-chip',data.attrs,false),[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(_vm._s(data.item.icon))]),_vm._v(\" \"+_vm._s(data.item.description)+\" \")],1)]}}]),model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { AttributeItem } from '@/store/modules/staticData/staticDataTypes';\nimport NoDataSelectItem from '@/components/selectItems/NoDataSelectItem.vue';\nimport CommonSelectItem from '@/components/selectItems/CommonSelectItem.vue';\nimport store from '@/store';\n\n@Component({\n components: {\n NoDataSelectItem,\n CommonSelectItem,\n },\n})\nexport default class AttributesAutocompleteField extends Vue {\n @Prop(Array) public value: string[];\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n @Watch('value', { immediate: true })\n private watchValue(value: string[]) {\n // console.debug('watchValue', value);\n this.fieldValue = value;\n }\n\n @Watch('fieldValue')\n private watchFieldValue(fieldValue: string[]) {\n // console.debug('watchFieldValue', fieldValue);\n this.$emit('input', fieldValue);\n }\n\n public fieldValue: string[] = [];\n public items: AttributeItem[] = [];\n\n private async created() {\n this.items = await store.getters['moduleStaticData/getAttributes'];\n }\n\n public filter(item: AttributeItem, queryText: string) {\n return (item.code + item.description).toLocaleLowerCase().indexOf(queryText.toLocaleLowerCase()) > -1;\n }\n\n public removeItem(item: AttributeItem) {\n const index = this.fieldValue.indexOf(item.code);\n if (index >= 0) {\n this.fieldValue.splice(index, 1);\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AttributesAutocompleteField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AttributesAutocompleteField.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"AttributesAutocompleteField_sidemenu_KjmDN\",\"layout-wrapper\":\"AttributesAutocompleteField_layout-wrapper_JIi1n\",\"wrapper-portal\":\"AttributesAutocompleteField_wrapper-portal_KKv1y\",\"wrapper-portal-dash\":\"AttributesAutocompleteField_wrapper-portal-dash_keWdb\",\"container\":\"AttributesAutocompleteField_container_l02a1\",\"b-fa\":\"AttributesAutocompleteField_b-fa_n1wjg\",\"mdi-stairs\":\"AttributesAutocompleteField_mdi-stairs_uXE2d\",\"mdi-progress-wrench\":\"AttributesAutocompleteField_mdi-progress-wrench_yzOF4\",\"mdi-wrench\":\"AttributesAutocompleteField_mdi-wrench_h_U9e\",\"mdi-file-document\":\"AttributesAutocompleteField_mdi-file-document_HaTwa\",\"mdi-account\":\"AttributesAutocompleteField_mdi-account_ofGvT\",\"mdi-caravan\":\"AttributesAutocompleteField_mdi-caravan_b8hzo\",\"mdi-forklift\":\"AttributesAutocompleteField_mdi-forklift_k_YZG\",\"mdi-account-plus\":\"AttributesAutocompleteField_mdi-account-plus_bVtyg\",\"mdi-format-align-bottom\":\"AttributesAutocompleteField_mdi-format-align-bottom_C0A65\",\"mdi-clock-alert\":\"AttributesAutocompleteField_mdi-clock-alert_YSjMZ\",\"mdi-school\":\"AttributesAutocompleteField_mdi-school_A75F5\",\"mdi-face-mask\":\"AttributesAutocompleteField_mdi-face-mask_PVVr6\",\"fa\":\"AttributesAutocompleteField_fa_XTpTm\",\"fa-angle-up\":\"AttributesAutocompleteField_fa-angle-up_RSWCX\",\"fa-angle-left\":\"AttributesAutocompleteField_fa-angle-left_p79zO\",\"fa-search\":\"AttributesAutocompleteField_fa-search_BWRom\",\"fa-consolidate\":\"AttributesAutocompleteField_fa-consolidate_F_X0l\",\"fa-split\":\"AttributesAutocompleteField_fa-split_izZRC\",\"mdi-food-fork-drink\":\"AttributesAutocompleteField_mdi-food-fork-drink_WmtuW\",\"mdi-package-variant\":\"AttributesAutocompleteField_mdi-package-variant_zy8gy\",\"mdi-call-merge\":\"AttributesAutocompleteField_mdi-call-merge_k4ECM\",\"mdi-tray-arrow-up\":\"AttributesAutocompleteField_mdi-tray-arrow-up_dM6nb\",\"fa-arrow-circle-up\":\"AttributesAutocompleteField_fa-arrow-circle-up_qhQ2g\",\"fa-arrow-circle-down\":\"AttributesAutocompleteField_fa-arrow-circle-down_szfNc\",\"mdi-calendar-check\":\"AttributesAutocompleteField_mdi-calendar-check_RQeVz\",\"mdi-calendar-remove\":\"AttributesAutocompleteField_mdi-calendar-remove_KPAYS\",\"stop-tooltip\":\"AttributesAutocompleteField_stop-tooltip_IZAzR\",\"bold\":\"AttributesAutocompleteField_bold_lF6X8\",\"tooltip-header\":\"AttributesAutocompleteField_tooltip-header_AfeH7\",\"tooltip-content\":\"AttributesAutocompleteField_tooltip-content_SIxDS\",\"stops\":\"AttributesAutocompleteField_stops_VMIhJ\",\"tooltip-attrs\":\"AttributesAutocompleteField_tooltip-attrs_EQ4Hj\",\"attr\":\"AttributesAutocompleteField_attr_ns0SG\",\"warnings\":\"AttributesAutocompleteField_warnings_EtqaU\",\"b-panel-body-wrap\":\"AttributesAutocompleteField_b-panel-body-wrap_R8_H9\",\"b-panel-content\":\"AttributesAutocompleteField_b-panel-content_IdA73\",\"b-tooltip-content\":\"AttributesAutocompleteField_b-tooltip-content_vcuGH\",\"t-radio\":\"AttributesAutocompleteField_t-radio_VP8lY\",\"t-checkbox\":\"AttributesAutocompleteField_t-checkbox_kRsqA\",\"floating-label\":\"AttributesAutocompleteField_floating-label_ZPBlJ\",\"floating-label-inset\":\"AttributesAutocompleteField_floating-label-inset_XaxXY\",\"attributesAutocompleteField\":\"AttributesAutocompleteField_attributesAutocompleteField_lvZD0\"};","import { render, staticRenderFns } from \"./AttributesAutocompleteField.vue?vue&type=template&id=74ef66b0\"\nimport script from \"./AttributesAutocompleteField.vue?vue&type=script&lang=ts\"\nexport * from \"./AttributesAutocompleteField.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AttributesAutocompleteField.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VBtn,{class:_vm.$style.attributesTextBtn,attrs:{\"x-small\":\"\",\"text\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},on:{\"click\":_vm.handleClick}},[_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class AttributesTextBtn extends Vue {\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n public handleClick() {\n this.$emit('click');\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AttributesTextBtn.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AttributesTextBtn.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"AttributesTextBtn_sidemenu_bVofP\",\"layout-wrapper\":\"AttributesTextBtn_layout-wrapper_xB4k0\",\"wrapper-portal\":\"AttributesTextBtn_wrapper-portal_DaFjC\",\"wrapper-portal-dash\":\"AttributesTextBtn_wrapper-portal-dash_qmxBi\",\"container\":\"AttributesTextBtn_container_wA_3P\",\"b-fa\":\"AttributesTextBtn_b-fa_AgIjA\",\"mdi-stairs\":\"AttributesTextBtn_mdi-stairs_M96m4\",\"mdi-progress-wrench\":\"AttributesTextBtn_mdi-progress-wrench_KMl_8\",\"mdi-wrench\":\"AttributesTextBtn_mdi-wrench_HTw5Y\",\"mdi-file-document\":\"AttributesTextBtn_mdi-file-document_EnoR0\",\"mdi-account\":\"AttributesTextBtn_mdi-account_wDk_7\",\"mdi-caravan\":\"AttributesTextBtn_mdi-caravan_YWwVn\",\"mdi-forklift\":\"AttributesTextBtn_mdi-forklift_ksMwS\",\"mdi-account-plus\":\"AttributesTextBtn_mdi-account-plus_sqKWa\",\"mdi-format-align-bottom\":\"AttributesTextBtn_mdi-format-align-bottom_QRlcL\",\"mdi-clock-alert\":\"AttributesTextBtn_mdi-clock-alert_SLxFv\",\"mdi-school\":\"AttributesTextBtn_mdi-school_r9UPF\",\"mdi-face-mask\":\"AttributesTextBtn_mdi-face-mask_GknkW\",\"fa\":\"AttributesTextBtn_fa_mrjXc\",\"fa-angle-up\":\"AttributesTextBtn_fa-angle-up_hd1cK\",\"fa-angle-left\":\"AttributesTextBtn_fa-angle-left_BFY8r\",\"fa-search\":\"AttributesTextBtn_fa-search_l8F4n\",\"fa-consolidate\":\"AttributesTextBtn_fa-consolidate_ZSHEW\",\"fa-split\":\"AttributesTextBtn_fa-split_NXphJ\",\"mdi-food-fork-drink\":\"AttributesTextBtn_mdi-food-fork-drink_eHZol\",\"mdi-package-variant\":\"AttributesTextBtn_mdi-package-variant_PxYhA\",\"mdi-call-merge\":\"AttributesTextBtn_mdi-call-merge_Qj5ss\",\"mdi-tray-arrow-up\":\"AttributesTextBtn_mdi-tray-arrow-up_KynKF\",\"fa-arrow-circle-up\":\"AttributesTextBtn_fa-arrow-circle-up_I3P9R\",\"fa-arrow-circle-down\":\"AttributesTextBtn_fa-arrow-circle-down_qGc6A\",\"mdi-calendar-check\":\"AttributesTextBtn_mdi-calendar-check_eoNR9\",\"mdi-calendar-remove\":\"AttributesTextBtn_mdi-calendar-remove_wgFgs\",\"stop-tooltip\":\"AttributesTextBtn_stop-tooltip_potk5\",\"bold\":\"AttributesTextBtn_bold_mUtUB\",\"tooltip-header\":\"AttributesTextBtn_tooltip-header_RohTh\",\"tooltip-content\":\"AttributesTextBtn_tooltip-content_anpqt\",\"stops\":\"AttributesTextBtn_stops_j3muF\",\"tooltip-attrs\":\"AttributesTextBtn_tooltip-attrs_FMlXF\",\"attr\":\"AttributesTextBtn_attr__gLGo\",\"warnings\":\"AttributesTextBtn_warnings_o0_ky\",\"b-panel-body-wrap\":\"AttributesTextBtn_b-panel-body-wrap_aZStE\",\"b-panel-content\":\"AttributesTextBtn_b-panel-content_SmtrJ\",\"b-tooltip-content\":\"AttributesTextBtn_b-tooltip-content_T67Gl\",\"t-radio\":\"AttributesTextBtn_t-radio_NiaGw\",\"t-checkbox\":\"AttributesTextBtn_t-checkbox_FLP3p\",\"floating-label\":\"AttributesTextBtn_floating-label_SO5Be\",\"floating-label-inset\":\"AttributesTextBtn_floating-label-inset_rxZTe\",\"attributesTextBtn\":\"AttributesTextBtn_attributesTextBtn_c6SvN\"};","import { render, staticRenderFns } from \"./AttributesTextBtn.vue?vue&type=template&id=265f2583\"\nimport script from \"./AttributesTextBtn.vue?vue&type=script&lang=ts\"\nexport * from \"./AttributesTextBtn.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AttributesTextBtn.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { JobDetailedStop } from '@/models/jobDetailed';\nimport AttributesAutocompleteField from '@/components/fields/AttributesAutocompleteField.vue';\nimport AttributesTextBtn from '@/components/btns/AttributesTextBtn.vue';\nimport _uniqueId from 'lodash/uniqueId';\n\n@Component({\n components: {\n AttributesAutocompleteField,\n AttributesTextBtn,\n },\n})\nexport default class AttributesFieldset extends Vue {\n @Prop(Object) public value: JobDetailedStop;\n @Prop(Boolean) public isAddStairs: boolean;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n public isAddStairsDisabled = false;\n\n get jobStop() {\n return this.value;\n }\n\n set jobStop(value) {\n this.$emit('input', value);\n }\n\n @Watch('jobStop.attributes')\n @Watch('jobStop.services')\n private isAddStairsDisabledWatcher() {\n this.isAddStairsDisabled =\n this.jobStop.attributes.indexOf('SSC') !== -1 && !!this.jobStop.services.find(item => item.name === 'STAIRS');\n }\n\n public handleAddStairsServiceClick() {\n if (this.jobStop.attributes.indexOf('SSC') === -1) {\n this.jobStop.attributes.push('SSC');\n }\n if (!this.jobStop.services.find(item => item.name === 'STAIRS')) {\n this.jobStop.services.push({\n name: 'STAIRS',\n quantity: 1,\n _clientId: _uniqueId(),\n });\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AttributesFieldset.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AttributesFieldset.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"AttributesFieldset_sidemenu_tYCGB\",\"layout-wrapper\":\"AttributesFieldset_layout-wrapper_OEbwg\",\"wrapper-portal\":\"AttributesFieldset_wrapper-portal_ENP1Y\",\"wrapper-portal-dash\":\"AttributesFieldset_wrapper-portal-dash_m0738\",\"container\":\"AttributesFieldset_container_GuzhX\",\"b-fa\":\"AttributesFieldset_b-fa_jhran\",\"mdi-stairs\":\"AttributesFieldset_mdi-stairs_RgArF\",\"mdi-progress-wrench\":\"AttributesFieldset_mdi-progress-wrench_XyvGJ\",\"mdi-wrench\":\"AttributesFieldset_mdi-wrench_ErPE0\",\"mdi-file-document\":\"AttributesFieldset_mdi-file-document_zzAdO\",\"mdi-account\":\"AttributesFieldset_mdi-account_D0bBU\",\"mdi-caravan\":\"AttributesFieldset_mdi-caravan_dVX_s\",\"mdi-forklift\":\"AttributesFieldset_mdi-forklift_pm2NE\",\"mdi-account-plus\":\"AttributesFieldset_mdi-account-plus_B06FB\",\"mdi-format-align-bottom\":\"AttributesFieldset_mdi-format-align-bottom_gIQ2G\",\"mdi-clock-alert\":\"AttributesFieldset_mdi-clock-alert_E0wmK\",\"mdi-school\":\"AttributesFieldset_mdi-school_fAJaB\",\"mdi-face-mask\":\"AttributesFieldset_mdi-face-mask_bNxVQ\",\"fa\":\"AttributesFieldset_fa_jfnT7\",\"fa-angle-up\":\"AttributesFieldset_fa-angle-up_wNigg\",\"fa-angle-left\":\"AttributesFieldset_fa-angle-left_HtzPl\",\"fa-search\":\"AttributesFieldset_fa-search_NAWCV\",\"fa-consolidate\":\"AttributesFieldset_fa-consolidate_k2pQB\",\"fa-split\":\"AttributesFieldset_fa-split_n9Q7Q\",\"mdi-food-fork-drink\":\"AttributesFieldset_mdi-food-fork-drink_XRG58\",\"mdi-package-variant\":\"AttributesFieldset_mdi-package-variant_w_zzK\",\"mdi-call-merge\":\"AttributesFieldset_mdi-call-merge_QHjC2\",\"mdi-tray-arrow-up\":\"AttributesFieldset_mdi-tray-arrow-up_JdPJh\",\"fa-arrow-circle-up\":\"AttributesFieldset_fa-arrow-circle-up_XF_E8\",\"fa-arrow-circle-down\":\"AttributesFieldset_fa-arrow-circle-down_vaHR3\",\"mdi-calendar-check\":\"AttributesFieldset_mdi-calendar-check_T91Nc\",\"mdi-calendar-remove\":\"AttributesFieldset_mdi-calendar-remove_cP8PO\",\"stop-tooltip\":\"AttributesFieldset_stop-tooltip_xGMUC\",\"bold\":\"AttributesFieldset_bold_snzTj\",\"tooltip-header\":\"AttributesFieldset_tooltip-header_Dlepy\",\"tooltip-content\":\"AttributesFieldset_tooltip-content_hYDCr\",\"stops\":\"AttributesFieldset_stops_DdYO6\",\"tooltip-attrs\":\"AttributesFieldset_tooltip-attrs_XDOxc\",\"attr\":\"AttributesFieldset_attr_JX51Y\",\"warnings\":\"AttributesFieldset_warnings_FDYvD\",\"b-panel-body-wrap\":\"AttributesFieldset_b-panel-body-wrap_tRWFu\",\"b-panel-content\":\"AttributesFieldset_b-panel-content_t8sd6\",\"b-tooltip-content\":\"AttributesFieldset_b-tooltip-content_tkQsz\",\"t-radio\":\"AttributesFieldset_t-radio_px9yK\",\"t-checkbox\":\"AttributesFieldset_t-checkbox_Hpw43\",\"floating-label\":\"AttributesFieldset_floating-label_pKIsL\",\"floating-label-inset\":\"AttributesFieldset_floating-label-inset_VtDDa\",\"attributesFieldset\":\"AttributesFieldset_attributesFieldset_ZA5Q2\",\"addStairsBtn\":\"AttributesFieldset_addStairsBtn_UGgJv\"};","import { render, staticRenderFns } from \"./AttributesFieldset.vue?vue&type=template&id=2488d2ab\"\nimport script from \"./AttributesFieldset.vue?vue&type=script&lang=ts\"\nexport * from \"./AttributesFieldset.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AttributesFieldset.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.$style.dateTimesFieldset},[_c('h5',{staticClass:\"text-sm font-semibold mb-2\"},[_vm._v(\"Date and times:\")]),_c('div',{class:[_vm.$style.fieldGroup, { [_vm.$style.errorFieldGroup]: _vm.isDatesError }]},[_c('TDatepickerDateField',{class:[_vm.$style.field, _vm.$style.dateField],attrs:{\"state\":_vm.jobStop.state,\"loading\":_vm.loading,\"disabled\":_vm.disabled},on:{\"change\":_vm.timeEarliestChanged},model:{value:(_vm.jobStop.time_earliest),callback:function ($$v) {_vm.$set(_vm.jobStop, \"time_earliest\", $$v)},expression:\"jobStop.time_earliest\"}}),_c('TDatepickerTimeField',{class:[_vm.$style.field, _vm.$style.timeField],attrs:{\"state\":_vm.jobStop.state,\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.jobStop.time_earliest),callback:function ($$v) {_vm.$set(_vm.jobStop, \"time_earliest\", $$v)},expression:\"jobStop.time_earliest\"}}),_c('TDatepickerTimeField',{class:[_vm.$style.field, _vm.$style.timeField],attrs:{\"state\":_vm.jobStop.state,\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.jobStop.time_latest),callback:function ($$v) {_vm.$set(_vm.jobStop, \"time_latest\", $$v)},expression:\"jobStop.time_latest\"}})],1),_c('div',{staticClass:\"v-text-field__details mt-1 ml-3\"},[_c('div',{staticClass:\"v-messages theme--light error--text\",attrs:{\"role\":\"alert\"}},[_c('div',{staticClass:\"v-messages__wrapper\"},[_c('div',{staticClass:\"v-messages__message\"},[(_vm.isDatesError)?[_vm._v(\"Wrong dates\")]:_vm._e()],2)])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('t-datepicker',{attrs:{\"dateFormat\":\"Y-m-d\",\"userFormat\":\"Y-m-d\",\"clearable\":false,\"weekStart\":1,\"loading\":_vm.loading,\"disabled\":_vm.disabled},on:{\"change\":_vm.handleChange},model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=$$v},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { statesTimeZonesList, timeZoneDefault } from '@/utils/PortalConstants';\n\n@Component({})\nexport default class TDatepickerDateField extends Vue {\n @Prop(String) public value: string;\n @Prop(String) public state: string;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n public timeString = '';\n public zoneString = '';\n\n get fieldValue() {\n const stopTimeZone = statesTimeZonesList[this.state]?.timezone || timeZoneDefault;\n let date: Date;\n if (this.value) {\n date = utcToZonedTime(new Date(this.value), stopTimeZone);\n } else {\n date = utcToZonedTime(new Date(), stopTimeZone);\n }\n const value = format(date, 'yyyy-MM-dd');\n this.timeString = format(date, 'HH:mm:ss', { timeZone: stopTimeZone });\n this.zoneString = format(date, 'xxxxx', { timeZone: stopTimeZone });\n return value;\n }\n\n set fieldValue(value) {\n if (value) {\n value = value + 'T' + this.timeString + this.zoneString;\n }\n this.$emit('input', value || '');\n }\n\n public handleChange(value: string | null) {\n if (!value) {\n value = '';\n }\n this.$emit('change', value);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TDatepickerDateField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TDatepickerDateField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TDatepickerDateField.vue?vue&type=template&id=1c2fd276\"\nimport script from \"./TDatepickerDateField.vue?vue&type=script&lang=ts\"\nexport * from \"./TDatepickerDateField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('t-datepicker',{attrs:{\"user-format\":\"G:i K\",\"date-format\":\"G:i K\",\"timepicker\":\"\",\"clearable\":false,\"datepicker\":false,\"amPm\":true,\"variant\":{\n timepicker: true,\n },\"loading\":_vm.loading,\"disabled\":_vm.disabled},on:{\"change\":_vm.handleChange},model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=$$v},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { statesTimeZonesList, timeZoneDefault } from '@/utils/PortalConstants';\nimport dp from 'date-fns/parse';\n\n@Component({})\nexport default class TDatepickerDateField extends Vue {\n @Prop(String) public value: string;\n @Prop(String) public state: string;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n public dateString = '';\n public secondsString = '';\n public zoneString = '';\n\n get fieldValue() {\n const stopTimeZone = statesTimeZonesList[this.state]?.timezone || timeZoneDefault;\n let date: Date;\n if (this.value) {\n date = utcToZonedTime(new Date(this.value), stopTimeZone);\n } else {\n date = utcToZonedTime(new Date(), stopTimeZone);\n }\n const value = format(date, 'hh:mm aa');\n this.dateString = format(date, 'yyyy-MM-dd', { timeZone: stopTimeZone });\n this.secondsString = format(date, 'ss', { timeZone: stopTimeZone });\n this.zoneString = format(date, 'xxxxx', { timeZone: stopTimeZone });\n return value;\n }\n\n set fieldValue(value) {\n if (value) {\n const dateFromTime = dp(value, 'hh:mm aa', new Date());\n value = format(dateFromTime, 'HH:mm');\n value = this.dateString + 'T' + value + ':' + this.secondsString + this.zoneString;\n }\n this.$emit('input', value || '');\n }\n\n public handleChange(value: string | null) {\n if (!value) {\n value = '';\n }\n this.$emit('change', value);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TDatepickerTimeField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TDatepickerTimeField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TDatepickerTimeField.vue?vue&type=template&id=4f4befe0\"\nimport script from \"./TDatepickerTimeField.vue?vue&type=script&lang=ts\"\nexport * from \"./TDatepickerTimeField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { JobDetailedData, JobDetailedStop } from '@/models/jobDetailed';\nimport TDatepickerDateField from '@/components/fields/TDatepickerDateField.vue';\nimport TDatepickerTimeField from '@/components/fields/TDatepickerTimeField.vue';\nimport { getIsDatesError } from '@/helpers/booking';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { statesTimeZonesList, timeZoneDefault } from '@/utils/PortalConstants';\n\n@Component({\n components: {\n TDatepickerDateField,\n TDatepickerTimeField,\n },\n})\nexport default class DateTimesFieldset extends Vue {\n @Prop(Object) public value: JobDetailedStop;\n @Prop(Object) public detailedJob: JobDetailedData;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n public isDatesError = false;\n\n get jobStop() {\n return this.value;\n }\n\n set jobStop(value) {\n this.$emit('input', value);\n }\n\n /**\n * Changing the `time_latest` date (day, month and year) without changing\n * the time and time zone to synchronize with `time_earliest`\n */\n public timeEarliestChanged(val) {\n const stopTimeZone = statesTimeZonesList[this.jobStop.state]?.timezone || timeZoneDefault;\n const formatVal = this.jobStop.time_earliest.slice(0, 'yyyy-MM-dd'.length);\n\n const earliestYear = parseInt(formatVal.split('-')[0]);\n const earliestMonth = parseInt(formatVal.split('-')[1]);\n const earliestDate = parseInt(formatVal.split('-')[2]);\n\n let latestDate: Date | number = utcToZonedTime(new Date(this.jobStop.time_latest), stopTimeZone);\n latestDate = new Date(latestDate).setDate(earliestDate);\n latestDate = new Date(latestDate).setMonth(earliestMonth - 1);\n latestDate = new Date(latestDate).setFullYear(earliestYear);\n\n this.jobStop.time_latest = format(new Date(latestDate), \"yyyy-MM-dd'T'HH:mm:ssxxx\", { timeZone: stopTimeZone });\n }\n\n @Watch('detailedJob.stops', { deep: true, immediate: true })\n private isErrorWatcher() {\n this.isDatesError = false;\n if (!this.detailedJob) {\n return;\n }\n this.isDatesError = getIsDatesError(this.detailedJob.stops);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DateTimesFieldset.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DateTimesFieldset.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"DateTimesFieldset_sidemenu_tBqxL\",\"layout-wrapper\":\"DateTimesFieldset_layout-wrapper_wZtuS\",\"wrapper-portal\":\"DateTimesFieldset_wrapper-portal_OhoJd\",\"wrapper-portal-dash\":\"DateTimesFieldset_wrapper-portal-dash_EtTT0\",\"container\":\"DateTimesFieldset_container_qyDrj\",\"b-fa\":\"DateTimesFieldset_b-fa_Y5q9m\",\"mdi-stairs\":\"DateTimesFieldset_mdi-stairs_Jzl73\",\"mdi-progress-wrench\":\"DateTimesFieldset_mdi-progress-wrench_fgSCA\",\"mdi-wrench\":\"DateTimesFieldset_mdi-wrench_dx9Qg\",\"mdi-file-document\":\"DateTimesFieldset_mdi-file-document_aD4TU\",\"mdi-account\":\"DateTimesFieldset_mdi-account_s3IOs\",\"mdi-caravan\":\"DateTimesFieldset_mdi-caravan_Z0I_K\",\"mdi-forklift\":\"DateTimesFieldset_mdi-forklift_WTbiy\",\"mdi-account-plus\":\"DateTimesFieldset_mdi-account-plus_oEtHX\",\"mdi-format-align-bottom\":\"DateTimesFieldset_mdi-format-align-bottom_RZxMj\",\"mdi-clock-alert\":\"DateTimesFieldset_mdi-clock-alert_qZl7N\",\"mdi-school\":\"DateTimesFieldset_mdi-school_tvL4V\",\"mdi-face-mask\":\"DateTimesFieldset_mdi-face-mask_fTFJ4\",\"fa\":\"DateTimesFieldset_fa_Qsv0t\",\"fa-angle-up\":\"DateTimesFieldset_fa-angle-up_at31q\",\"fa-angle-left\":\"DateTimesFieldset_fa-angle-left_OeX4O\",\"fa-search\":\"DateTimesFieldset_fa-search_Z1wGC\",\"fa-consolidate\":\"DateTimesFieldset_fa-consolidate_IqogJ\",\"fa-split\":\"DateTimesFieldset_fa-split_Ia3Lq\",\"mdi-food-fork-drink\":\"DateTimesFieldset_mdi-food-fork-drink_dPadX\",\"mdi-package-variant\":\"DateTimesFieldset_mdi-package-variant_y3gYT\",\"mdi-call-merge\":\"DateTimesFieldset_mdi-call-merge_cgaU7\",\"mdi-tray-arrow-up\":\"DateTimesFieldset_mdi-tray-arrow-up_cT9GG\",\"fa-arrow-circle-up\":\"DateTimesFieldset_fa-arrow-circle-up_ZlOfB\",\"fa-arrow-circle-down\":\"DateTimesFieldset_fa-arrow-circle-down_uhB2A\",\"mdi-calendar-check\":\"DateTimesFieldset_mdi-calendar-check_hf98D\",\"mdi-calendar-remove\":\"DateTimesFieldset_mdi-calendar-remove_DSZSf\",\"stop-tooltip\":\"DateTimesFieldset_stop-tooltip_NpbOx\",\"bold\":\"DateTimesFieldset_bold_jI9rv\",\"tooltip-header\":\"DateTimesFieldset_tooltip-header_F38Jf\",\"tooltip-content\":\"DateTimesFieldset_tooltip-content_dfw7a\",\"stops\":\"DateTimesFieldset_stops_ssT2_\",\"tooltip-attrs\":\"DateTimesFieldset_tooltip-attrs_euwKX\",\"attr\":\"DateTimesFieldset_attr_ChI7e\",\"warnings\":\"DateTimesFieldset_warnings_IdMkf\",\"b-panel-body-wrap\":\"DateTimesFieldset_b-panel-body-wrap_y5r6k\",\"b-panel-content\":\"DateTimesFieldset_b-panel-content_DtcbP\",\"b-tooltip-content\":\"DateTimesFieldset_b-tooltip-content__Oq0c\",\"t-radio\":\"DateTimesFieldset_t-radio_FAAYm\",\"t-checkbox\":\"DateTimesFieldset_t-checkbox_uDIb3\",\"floating-label\":\"DateTimesFieldset_floating-label_EKaDx\",\"floating-label-inset\":\"DateTimesFieldset_floating-label-inset_erY3r\",\"fieldGroup\":\"DateTimesFieldset_fieldGroup_BnGpC\",\"errorFieldGroup\":\"DateTimesFieldset_errorFieldGroup_GKksK\",\"field\":\"DateTimesFieldset_field_PgXxA\",\"dateField\":\"DateTimesFieldset_dateField_Y5_s2\"};","import { render, staticRenderFns } from \"./DateTimesFieldset.vue?vue&type=template&id=468b7ef8\"\nimport script from \"./DateTimesFieldset.vue?vue&type=script&lang=ts\"\nexport * from \"./DateTimesFieldset.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DateTimesFieldset.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { JobDetailedData, JobDetailedStop } from '@/models/jobDetailed';\nimport { AddressBookAirRoadStop, AddressBookResponse, AddressBookEndpointParam } from '@/models/addressBook';\nimport { CustomSelectSuburb } from '@/models/jbAdvanced';\nimport CompanyNameComboboxField from '@/components/fields/CompanyNameComboboxField.vue';\nimport StreetAddressTextField from '@/components/fields/StreetAddressTextField.vue';\nimport RoomLevelUnitTextField from '@/components/fields/RoomLevelUnitTextField.vue';\nimport SuburbAutocompleteField from '@/components/fields/SuburbAutocompleteField.vue';\nimport ContactDetailsNoteNameTextField from '@/components/fields/ContactDetailsNoteNameTextField.vue';\nimport ContactDetailsNotePhoneTextField from '@/components/fields/ContactDetailsNotePhoneTextField.vue';\nimport ContactDetailsNoteTextTextareaField from '@/components/fields/ContactDetailsNoteTextTextareaField.vue';\nimport AttributesFieldset from '@/components/fieldsets/AttributesFieldset.vue';\nimport DateTimesFieldset from '@/components/fieldsets/DateTimesFieldset.vue';\nimport { fetchGetAddressBookAddresses } from '@/helpers/fetchers';\nimport { getSuburbItem } from '@/helpers/booking';\nimport _isEqual from 'lodash/isEqual';\n\n@Component({\n components: {\n CompanyNameComboboxField,\n StreetAddressTextField,\n RoomLevelUnitTextField,\n SuburbAutocompleteField,\n ContactDetailsNoteNameTextField,\n ContactDetailsNotePhoneTextField,\n ContactDetailsNoteTextTextareaField,\n AttributesFieldset,\n DateTimesFieldset,\n },\n})\nexport default class ChooseAddressStopFieldset extends Vue {\n @Prop(Object) public value: JobDetailedData;\n @Prop({ type: Number, default: 0 }) public stopIndex: number;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n public suburbItems: CustomSelectSuburb[] = [];\n public addresses: string[] = [];\n public isAddressesFetching = false;\n\n get detailedJob() {\n return this.value;\n }\n\n set detailedJob(value) {\n this.$emit('input', value);\n }\n\n get stop() {\n return this.detailedJob?.stops[this.stopIndex] || {};\n }\n\n set stop(stopValue) {\n this.detailedJob.stops[this.stopIndex] = stopValue;\n }\n\n public setSuburbItems(newStops: JobDetailedStop[]) {\n if (newStops?.length) {\n this.suburbItems = newStops.map((stop: JobDetailedStop) => {\n return getSuburbItem(stop.suburb, String(stop.post_code), stop.state);\n });\n } else {\n this.suburbItems = [];\n }\n }\n\n @Watch('detailedJob.stops', { immediate: true })\n private watchDetailedJobStops(newStops: JobDetailedStop[], oldStops: JobDetailedStop[]) {\n if (_isEqual(newStops, oldStops)) {\n return;\n }\n this.setSuburbItems(newStops);\n }\n\n public setDetailedJobStops() {\n if (!this.suburbItems.length) {\n return;\n }\n const stops = [...this.detailedJob.stops];\n this.suburbItems.forEach((suburbItem, index) => {\n if (suburbItem) {\n stops[index] = {\n ...stops[index],\n suburb: suburbItem.name,\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n post_code: suburbItem.postcode,\n state: suburbItem.state,\n };\n } else {\n stops[index] = {\n ...stops[index],\n suburb: '',\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n post_code: '',\n state: '',\n };\n }\n });\n this.detailedJob.stops = stops;\n }\n\n @Watch('suburbItems', { immediate: true })\n private watchSuburbItems() {\n this.setDetailedJobStops();\n }\n\n @Watch('detailedJob.customer', { immediate: true })\n private watchDetailedJobCustomer() {\n if (this.detailedJob?.customer) {\n this.getAddressBookWrapper();\n }\n }\n\n public addressData: AddressBookAirRoadStop[] = [];\n\n @Watch('addressData', { immediate: true })\n private watchAddressData() {\n this.addresses = this.addressData.map(address => `${address.name}, ${address.suburb.name}`);\n }\n\n private getAddressBookWrapper(): void {\n const params: AddressBookEndpointParam = {\n username: '',\n customer: this.detailedJob.customer,\n page: 1,\n };\n this.isAddressesFetching = true;\n fetchGetAddressBookAddresses(params)\n .then((res: AddressBookResponse) => {\n this.addressData = res.results;\n })\n .finally(() => {\n this.isAddressesFetching = false;\n });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ChooseAddressStopFieldset.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ChooseAddressStopFieldset.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"ChooseAddressStopFieldset_sidemenu_JVXBW\",\"layout-wrapper\":\"ChooseAddressStopFieldset_layout-wrapper_JOCWo\",\"wrapper-portal\":\"ChooseAddressStopFieldset_wrapper-portal_cPFIh\",\"wrapper-portal-dash\":\"ChooseAddressStopFieldset_wrapper-portal-dash_B2yME\",\"container\":\"ChooseAddressStopFieldset_container_yX685\",\"b-fa\":\"ChooseAddressStopFieldset_b-fa_AHYGN\",\"mdi-stairs\":\"ChooseAddressStopFieldset_mdi-stairs_yDoux\",\"mdi-progress-wrench\":\"ChooseAddressStopFieldset_mdi-progress-wrench_JB30D\",\"mdi-wrench\":\"ChooseAddressStopFieldset_mdi-wrench_hpoN_\",\"mdi-file-document\":\"ChooseAddressStopFieldset_mdi-file-document_ZSlK7\",\"mdi-account\":\"ChooseAddressStopFieldset_mdi-account_vkNeQ\",\"mdi-caravan\":\"ChooseAddressStopFieldset_mdi-caravan_ibv47\",\"mdi-forklift\":\"ChooseAddressStopFieldset_mdi-forklift_VXm4m\",\"mdi-account-plus\":\"ChooseAddressStopFieldset_mdi-account-plus_pFHGK\",\"mdi-format-align-bottom\":\"ChooseAddressStopFieldset_mdi-format-align-bottom_AVs9P\",\"mdi-clock-alert\":\"ChooseAddressStopFieldset_mdi-clock-alert_PvUSu\",\"mdi-school\":\"ChooseAddressStopFieldset_mdi-school_qTtHJ\",\"mdi-face-mask\":\"ChooseAddressStopFieldset_mdi-face-mask_WTGCO\",\"fa\":\"ChooseAddressStopFieldset_fa_F1jgn\",\"fa-angle-up\":\"ChooseAddressStopFieldset_fa-angle-up_V8QjD\",\"fa-angle-left\":\"ChooseAddressStopFieldset_fa-angle-left_WxMAY\",\"fa-search\":\"ChooseAddressStopFieldset_fa-search_CkkAR\",\"fa-consolidate\":\"ChooseAddressStopFieldset_fa-consolidate_g55jO\",\"fa-split\":\"ChooseAddressStopFieldset_fa-split_xJQnK\",\"mdi-food-fork-drink\":\"ChooseAddressStopFieldset_mdi-food-fork-drink_Zm_6O\",\"mdi-package-variant\":\"ChooseAddressStopFieldset_mdi-package-variant_bPHrU\",\"mdi-call-merge\":\"ChooseAddressStopFieldset_mdi-call-merge_EqrE0\",\"mdi-tray-arrow-up\":\"ChooseAddressStopFieldset_mdi-tray-arrow-up_ABugG\",\"fa-arrow-circle-up\":\"ChooseAddressStopFieldset_fa-arrow-circle-up_twUph\",\"fa-arrow-circle-down\":\"ChooseAddressStopFieldset_fa-arrow-circle-down_P_OKt\",\"mdi-calendar-check\":\"ChooseAddressStopFieldset_mdi-calendar-check_WJrnm\",\"mdi-calendar-remove\":\"ChooseAddressStopFieldset_mdi-calendar-remove_Y7X8N\",\"stop-tooltip\":\"ChooseAddressStopFieldset_stop-tooltip_IYEX2\",\"bold\":\"ChooseAddressStopFieldset_bold_SMkyZ\",\"tooltip-header\":\"ChooseAddressStopFieldset_tooltip-header_M8MRF\",\"tooltip-content\":\"ChooseAddressStopFieldset_tooltip-content_QVwzF\",\"stops\":\"ChooseAddressStopFieldset_stops_F3GyX\",\"tooltip-attrs\":\"ChooseAddressStopFieldset_tooltip-attrs_hadA5\",\"attr\":\"ChooseAddressStopFieldset_attr_aAMKH\",\"warnings\":\"ChooseAddressStopFieldset_warnings__GzVw\",\"b-panel-body-wrap\":\"ChooseAddressStopFieldset_b-panel-body-wrap__nOck\",\"b-panel-content\":\"ChooseAddressStopFieldset_b-panel-content_JIqdR\",\"b-tooltip-content\":\"ChooseAddressStopFieldset_b-tooltip-content_iwHHT\",\"t-radio\":\"ChooseAddressStopFieldset_t-radio_WCoVf\",\"t-checkbox\":\"ChooseAddressStopFieldset_t-checkbox_jiqfk\",\"floating-label\":\"ChooseAddressStopFieldset_floating-label_mkEmk\",\"floating-label-inset\":\"ChooseAddressStopFieldset_floating-label-inset_wIi43\",\"chooseAddressStopFieldset\":\"ChooseAddressStopFieldset_chooseAddressStopFieldset_GaZYU\",\"stopHeader\":\"ChooseAddressStopFieldset_stopHeader_T0xVR\",\"stopBody\":\"ChooseAddressStopFieldset_stopBody_PvMtO\"};","import { render, staticRenderFns } from \"./ChooseAddressStopFieldset.vue?vue&type=template&id=53c112de\"\nimport script from \"./ChooseAddressStopFieldset.vue?vue&type=script&lang=ts\"\nexport * from \"./ChooseAddressStopFieldset.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ChooseAddressStopFieldset.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { JobDetailedData } from '@/models/jobDetailed';\nimport ChooseAddressStopFieldset from '@/components/fieldsets/ChooseAddressStopFieldset.vue';\n\n@Component({\n components: {\n ChooseAddressStopFieldset,\n },\n})\nexport default class ChooseAddressFieldset extends Vue {\n @Prop(Object) public value: JobDetailedData;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n get detailedJob() {\n return this.value;\n }\n\n set detailedJob(value) {\n this.$emit('input', value);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ChooseAddressFieldset.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ChooseAddressFieldset.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"ChooseAddressFieldset_sidemenu_zx_uP\",\"layout-wrapper\":\"ChooseAddressFieldset_layout-wrapper_aHVnK\",\"wrapper-portal\":\"ChooseAddressFieldset_wrapper-portal_aGkd8\",\"wrapper-portal-dash\":\"ChooseAddressFieldset_wrapper-portal-dash_b5AxK\",\"container\":\"ChooseAddressFieldset_container_jc5LY\",\"b-fa\":\"ChooseAddressFieldset_b-fa_ixXAe\",\"mdi-stairs\":\"ChooseAddressFieldset_mdi-stairs_mu2qe\",\"mdi-progress-wrench\":\"ChooseAddressFieldset_mdi-progress-wrench_cCWm7\",\"mdi-wrench\":\"ChooseAddressFieldset_mdi-wrench_NSUq6\",\"mdi-file-document\":\"ChooseAddressFieldset_mdi-file-document_kdvow\",\"mdi-account\":\"ChooseAddressFieldset_mdi-account_uyLDw\",\"mdi-caravan\":\"ChooseAddressFieldset_mdi-caravan_hJltL\",\"mdi-forklift\":\"ChooseAddressFieldset_mdi-forklift_p7j_1\",\"mdi-account-plus\":\"ChooseAddressFieldset_mdi-account-plus_MwdZ4\",\"mdi-format-align-bottom\":\"ChooseAddressFieldset_mdi-format-align-bottom_RU3o_\",\"mdi-clock-alert\":\"ChooseAddressFieldset_mdi-clock-alert_Drclh\",\"mdi-school\":\"ChooseAddressFieldset_mdi-school_oInXJ\",\"mdi-face-mask\":\"ChooseAddressFieldset_mdi-face-mask_irHPp\",\"fa\":\"ChooseAddressFieldset_fa_vdiRQ\",\"fa-angle-up\":\"ChooseAddressFieldset_fa-angle-up_mGKHZ\",\"fa-angle-left\":\"ChooseAddressFieldset_fa-angle-left_FN6zW\",\"fa-search\":\"ChooseAddressFieldset_fa-search_iusya\",\"fa-consolidate\":\"ChooseAddressFieldset_fa-consolidate_OOoTG\",\"fa-split\":\"ChooseAddressFieldset_fa-split_MEz3k\",\"mdi-food-fork-drink\":\"ChooseAddressFieldset_mdi-food-fork-drink_zxxqL\",\"mdi-package-variant\":\"ChooseAddressFieldset_mdi-package-variant_l8tcZ\",\"mdi-call-merge\":\"ChooseAddressFieldset_mdi-call-merge_KWMpo\",\"mdi-tray-arrow-up\":\"ChooseAddressFieldset_mdi-tray-arrow-up_HJbeP\",\"fa-arrow-circle-up\":\"ChooseAddressFieldset_fa-arrow-circle-up_I6pzn\",\"fa-arrow-circle-down\":\"ChooseAddressFieldset_fa-arrow-circle-down_Vu1XX\",\"mdi-calendar-check\":\"ChooseAddressFieldset_mdi-calendar-check_FEnbh\",\"mdi-calendar-remove\":\"ChooseAddressFieldset_mdi-calendar-remove_d2rXU\",\"stop-tooltip\":\"ChooseAddressFieldset_stop-tooltip__E5dp\",\"bold\":\"ChooseAddressFieldset_bold_ZjX7T\",\"tooltip-header\":\"ChooseAddressFieldset_tooltip-header_Gsn3t\",\"tooltip-content\":\"ChooseAddressFieldset_tooltip-content_vFSo7\",\"stops\":\"ChooseAddressFieldset_stops_Ppcpl\",\"tooltip-attrs\":\"ChooseAddressFieldset_tooltip-attrs__41Ce\",\"attr\":\"ChooseAddressFieldset_attr_gXA7x\",\"warnings\":\"ChooseAddressFieldset_warnings_i3VyA\",\"b-panel-body-wrap\":\"ChooseAddressFieldset_b-panel-body-wrap_fP0Pw\",\"b-panel-content\":\"ChooseAddressFieldset_b-panel-content_mII85\",\"b-tooltip-content\":\"ChooseAddressFieldset_b-tooltip-content_m807m\",\"t-radio\":\"ChooseAddressFieldset_t-radio_TzEMK\",\"t-checkbox\":\"ChooseAddressFieldset_t-checkbox_gAmwD\",\"floating-label\":\"ChooseAddressFieldset_floating-label_uA6GK\",\"floating-label-inset\":\"ChooseAddressFieldset_floating-label-inset_QAk8i\",\"stop\":\"ChooseAddressFieldset_stop_UyRGS\"};","import { render, staticRenderFns } from \"./ChooseAddressFieldset.vue?vue&type=template&id=05c36718\"\nimport script from \"./ChooseAddressFieldset.vue?vue&type=script&lang=ts\"\nexport * from \"./ChooseAddressFieldset.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ChooseAddressFieldset.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.$style.legsFieldset},[_c('h3',{staticClass:\"text-base font-semibold mb-n3\"},[_vm._v(\"Legs:\")]),(_vm.detailedJob?.stops?.length)?_vm._l((_vm.detailedJob?.stops),function(stop,idx){return _c('div',{key:idx,staticClass:\"mt-6\"},[(idx <= _vm.detailedJob.stops.length - 2)?[_c('div',{staticClass:\"mt-2 mb-2 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\" Leg \"+_vm._s(idx + 1)+\": \"),_c('span',{staticClass:\"italic\"},[_vm._v(\"stop \"+_vm._s(idx + 1)+\" – stop \"+_vm._s(idx + 2))])]),_c('div',{class:_vm.$style.legItem},[_c('ProductsFieldset',{staticClass:\"mr-8\",attrs:{\"deliveryStopNumber\":idx + 2,\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(stop.pickup_products),callback:function ($$v) {_vm.$set(stop, \"pickup_products\", $$v)},expression:\"stop.pickup_products\"}}),_c('ServiceCodesFieldset',{staticClass:\"ml-3 w-80\",attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(stop.services),callback:function ($$v) {_vm.$set(stop, \"services\", $$v)},expression:\"stop.services\"}})],1)]:_vm._e()],2)}):[_c('div',{staticClass:\"mt-6\"},[_vm._m(0),_c('div',{class:_vm.$style.legItem},[_c('ProductsFieldset',{staticClass:\"w-full\",attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled}}),_c('ServiceCodesFieldset',{staticClass:\"ml-3 w-80\",attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled}})],1)])]],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mt-2 mb-2 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\" Leg 1 \"),_c('span',{staticClass:\"italic\"},[_vm._v(\"stop 1 – stop 2\")])])\n}]\n\nexport { render, staticRenderFns }","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.$style.productsFieldset},[_c('h5',{class:_vm.$style.legend},[_vm._v(\"Products\")]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"text-sm font-semibold\",class:[_vm.$style.item, _vm.$style.modelItem]},[_vm._v(\"Model\")]),_c('div',{staticClass:\"text-sm font-semibold\",class:[_vm.$style.item, _vm.$style.descriptionItem]},[_vm._v(\"Description\")]),_c('div',{staticClass:\"text-sm font-semibold\",class:[_vm.$style.item, _vm.$style.serialItem]},[_vm._v(\"Serial number\")]),_c('div',{staticClass:\"text-sm font-semibold\",class:[_vm.$style.item, _vm.$style.quantityItem]},[_vm._v(\"Quantity\")]),_c('div',{staticClass:\"text-sm font-semibold\",class:[_vm.$style.item, _vm.$style.goodsTypeItem]},[_vm._v(\"Goods type\")]),_c('div',{staticClass:\"text-sm font-semibold\",class:[_vm.$style.item, _vm.$style.weightItem]},[_vm._v(\"Weight\")]),_c('div',{staticClass:\"text-sm font-semibold\",class:[_vm.$style.item, _vm.$style.widthItem]},[_vm._v(\"Width\")]),_c('div',{staticClass:\"text-sm font-semibold\",class:[_vm.$style.item, _vm.$style.heightItem]},[_vm._v(\"Height\")]),_c('div',{staticClass:\"text-sm font-semibold\",class:[_vm.$style.item, _vm.$style.lengthItem]},[_vm._v(\"Length\")])]),_c('div',[(_vm.pickupProducts?.length)?_vm._l((_vm.pickupProducts),function(product,index){return _c('div',{key:product._clientId,class:_vm.$style.product},[_c('div',{class:_vm.$style.items},[_c('div',{class:[_vm.$style.item, _vm.$style.modelItem]},[_c('ProductsModelComboboxField',{class:_vm.$style.field,attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(product.model),callback:function ($$v) {_vm.$set(product, \"model\", $$v)},expression:\"product.model\"}})],1),_c('div',{class:[_vm.$style.item, _vm.$style.descriptionItem]},[_c('ProductsDescriptionTextField',{class:_vm.$style.field,attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(product.description),callback:function ($$v) {_vm.$set(product, \"description\", $$v)},expression:\"product.description\"}})],1),_c('div',{class:[_vm.$style.item, _vm.$style.serialItem]},[_c('ProductsSerialTextField',{class:_vm.$style.field,attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(product.serial),callback:function ($$v) {_vm.$set(product, \"serial\", $$v)},expression:\"product.serial\"}})],1),_c('div',{class:[_vm.$style.item, _vm.$style.quantityItem]},[_c('ProductsQuantityNumberField',{class:_vm.$style.field,attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(product.pieces),callback:function ($$v) {_vm.$set(product, \"pieces\", $$v)},expression:\"product.pieces\"}})],1),_c('div',{class:[_vm.$style.item, _vm.$style.goodsTypeItem]},[_c('ProductsGoodsTypeAutocompleteField',{class:_vm.$style.field,attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},on:{\"change\":function($event){return _vm.handleGoodsTypeChange($event, index)}},model:{value:(product.type_code),callback:function ($$v) {_vm.$set(product, \"type_code\", $$v)},expression:\"product.type_code\"}})],1),_c('div',{class:[_vm.$style.item, _vm.$style.weightItem]},[_c('ProductsCommonNumberField',{class:_vm.$style.field,attrs:{\"label\":\"Weight\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(product.weight),callback:function ($$v) {_vm.$set(product, \"weight\", $$v)},expression:\"product.weight\"}})],1),_c('div',{class:[_vm.$style.item, _vm.$style.widthItem]},[_c('ProductsCommonNumberField',{class:_vm.$style.field,attrs:{\"label\":\"Width\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(product.width),callback:function ($$v) {_vm.$set(product, \"width\", $$v)},expression:\"product.width\"}})],1),_c('div',{class:[_vm.$style.item, _vm.$style.heightItem]},[_c('ProductsCommonNumberField',{class:_vm.$style.field,attrs:{\"label\":\"Height\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(product.height),callback:function ($$v) {_vm.$set(product, \"height\", $$v)},expression:\"product.height\"}})],1),_c('div',{class:[_vm.$style.item, _vm.$style.lengthItem]},[_c('ProductsCommonNumberField',{class:_vm.$style.field,attrs:{\"label\":\"Length\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(product.length),callback:function ($$v) {_vm.$set(product, \"length\", $$v)},expression:\"product.length\"}})],1)]),_c('div',{class:_vm.$style.delBtnItem},[(index !== 0)?[_c('LegsSmallRoundBtn',{class:_vm.$style.delBtn,attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},on:{\"click\":function($event){return _vm.handleDelClick(product._clientId)}}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1)]:_vm._e()],2)])}):void 0],2),_c('LegsBlockBtn',{class:_vm.$style.addBtn,attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},on:{\"click\":_vm.handleAddClick}},[_c(VIcon,[_vm._v(\"mdi-plus\")]),_vm._v(\" Add product \")],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VCombobox } from 'vuetify/lib/components/VCombobox';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VCombobox,{staticClass:\"g-field\",attrs:{\"search-input\":_vm.search,\"label\":\"Model\",\"single-line\":\"\",\"hide-details\":\"auto\",\"items\":_vm.items,\"rules\":_vm.fieldValidationRules,\"outlined\":\"\",\"dense\":\"\",\"clearable\":\"\",\"loading\":_vm.loading || _vm.isFetching,\"disabled\":_vm.disabled,\"no-filter\":\"\"},on:{\"update:searchInput\":function($event){_vm.search=$event},\"update:search-input\":function($event){_vm.search=$event}},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c('NoDataSelectItem',[(!_vm.search || _vm.search.length < 3)?[_vm._v(\"Please enter 3 or more characters\")]:[_vm._v(\"No such data\")]],2)]},proxy:true},{key:\"item\",fn:function(data){return [_c('CommonSelectItem',[_vm._v(\" \"+_vm._s(data.item))])]}}]),model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { requiredValidationRule } from '@/helpers/validationRules';\nimport { fetchGetLookupProductModel } from '@/helpers/fetchers';\nimport _debounce from 'lodash/debounce';\nimport NoDataSelectItem from '@/components/selectItems/NoDataSelectItem.vue';\nimport CommonSelectItem from '@/components/selectItems/CommonSelectItem.vue';\n\n@Component({\n components: {\n NoDataSelectItem,\n CommonSelectItem,\n },\n})\nexport default class ProductsModelComboboxField extends Vue {\n @Prop(String) public value: string;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n public debounceFetchWrapper = _debounce(this.fetchWrapper, 150);\n public search = '';\n public items: string[] = [];\n public isFetching = false;\n public isComponentJustCreated = true; // TODO toggle first search when pass the value\n\n get fieldValue() {\n return this.value;\n }\n\n set fieldValue(value) {\n this.$emit('input', value || '');\n }\n\n public fetchWrapper(): Promise {\n const search = this.search;\n this.isFetching = true;\n return fetchGetLookupProductModel(search) // TODO promised debounce and cancel\n .then(items => {\n if (search !== this.search) {\n return;\n }\n this.items = items;\n })\n .finally(() => {\n this.isFetching = false;\n });\n }\n\n public getSearchString(search?: string | null) {\n return (search && search.trim()) || '';\n }\n\n @Watch('search')\n private watchSearch(newSearch?: string | null, oldSearch?: string | null) {\n if (newSearch === null && this.fieldValue) {\n this.fieldValue = '';\n return;\n }\n newSearch = this.getSearchString(newSearch);\n oldSearch = this.getSearchString(oldSearch);\n if (newSearch.length >= 3) {\n if (newSearch.toUpperCase() !== oldSearch.toUpperCase()) {\n this.debounceFetchWrapper();\n }\n } else {\n this.items = []; // TODO cancel\n }\n }\n\n public fieldValidationRules = [requiredValidationRule];\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsModelComboboxField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsModelComboboxField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ProductsModelComboboxField.vue?vue&type=template&id=5a2b2c44\"\nimport script from \"./ProductsModelComboboxField.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductsModelComboboxField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VTextField,{staticClass:\"g-field\",attrs:{\"label\":\"Description\",\"single-line\":\"\",\"hide-details\":\"auto\",\"outlined\":\"\",\"dense\":\"\",\"clearable\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class ProductsDescriptionTextField extends Vue {\n @Prop(String) public value: string;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n get fieldValue() {\n return this.value;\n }\n\n set fieldValue(value) {\n this.$emit('input', value || '');\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsDescriptionTextField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsDescriptionTextField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ProductsDescriptionTextField.vue?vue&type=template&id=69adc06e\"\nimport script from \"./ProductsDescriptionTextField.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductsDescriptionTextField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VTextField,{staticClass:\"g-field\",attrs:{\"label\":\"Serial\",\"single-line\":\"\",\"hide-details\":\"auto\",\"outlined\":\"\",\"dense\":\"\",\"clearable\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class ProductsSerialTextField extends Vue {\n @Prop(String) public value: string;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n get fieldValue() {\n return this.value;\n }\n\n set fieldValue(value) {\n this.$emit('input', value || '');\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsSerialTextField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsSerialTextField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ProductsSerialTextField.vue?vue&type=template&id=111e4546\"\nimport script from \"./ProductsSerialTextField.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductsSerialTextField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VTextField,{staticClass:\"g-field\",attrs:{\"type\":\"number\",\"label\":\"Quantity\",\"single-line\":\"\",\"hide-details\":\"auto\",\"min\":_vm.min,\"max\":_vm.max,\"inputmode\":\"numeric\",\"step\":\"1\",\"outlined\":\"\",\"dense\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled,\"error\":_vm.isError},on:{\"input\":_vm.handleInput,\"keypress\":_vm.handleKeypress},model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\n\n@Component({})\nexport default class ProductsQuantityNumberField extends Vue {\n @Prop(Number) public value: number;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n @Watch('value', { immediate: true })\n private watchValue(value: number) {\n // console.debug('watchValue', value);\n this.fieldValue = String(value);\n }\n\n @Watch('fieldValue')\n private watchFieldValue(fieldValue: string | null) {\n // console.debug('watchFieldValue', fieldValue);\n this.$emit('input', Number(fieldValue) || this.min);\n }\n\n public _clearFieldValue(rewriteValue: string) {\n this.fieldValue = null;\n this.$nextTick(() => {\n this.fieldValue = rewriteValue;\n });\n }\n\n public min = 1;\n public max = 9999;\n public fieldValue: string | null = String(this.min);\n public isError = false;\n\n public handleInput(value: string) {\n // console.debug('input', value);\n const valueNum = Number(value);\n const valueInt = parseInt(value);\n const valueIntStr = String(valueInt);\n let rewriteValue = '';\n if (!value || valueNum < this.min || valueNum !== valueInt) {\n rewriteValue = String(this.min);\n } else if (valueNum > this.max) {\n rewriteValue = String(this.max);\n } else if (valueIntStr !== value) {\n rewriteValue = valueIntStr;\n }\n if (rewriteValue) {\n this.blinkError();\n this._clearFieldValue(rewriteValue);\n }\n }\n\n public blinkError() {\n this.isError = true;\n this.$nextTick(() => {\n setTimeout(() => {\n this.isError = false;\n }, 150);\n });\n }\n\n public handleKeypress(event: KeyboardEvent) {\n if (!/\\d+/.test(event.key)) {\n this.blinkError();\n event.preventDefault();\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsQuantityNumberField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsQuantityNumberField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ProductsQuantityNumberField.vue?vue&type=template&id=dfd84c74\"\nimport script from \"./ProductsQuantityNumberField.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductsQuantityNumberField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VAutocomplete,{staticClass:\"g-field\",attrs:{\"label\":\"Goods type\",\"single-line\":\"\",\"hide-details\":\"auto\",\"items\":_vm.items,\"rules\":_vm.fieldValidationRules,\"outlined\":\"\",\"dense\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled,\"item-text\":\"code\",\"item-value\":\"code\",\"filter\":_vm.filter},on:{\"change\":_vm.handleChange},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c('NoDataSelectItem')]},proxy:true},{key:\"item\",fn:function(data){return [_c('CommonSelectItem',[_vm._v(\" \"+_vm._s([data.item.code, data.item.description].filter(item => !!item).join(' – '))+\" \")])]}}]),model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { requiredValidationRule } from '@/helpers/validationRules';\nimport { ProductTypeItem } from '@/store/modules/staticData/staticDataTypes';\nimport NoDataSelectItem from '@/components/selectItems/NoDataSelectItem.vue';\nimport CommonSelectItem from '@/components/selectItems/CommonSelectItem.vue';\nimport store from '@/store';\n\n@Component({\n components: {\n NoDataSelectItem,\n CommonSelectItem,\n },\n})\nexport default class ProductsGoodsTypeAutocompleteField extends Vue {\n @Prop(String) public value: string;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n @Watch('value', { immediate: true })\n private watchValue(value: string) {\n // console.debug('watchValue', value);\n this.fieldValue = value;\n }\n\n @Watch('fieldValue')\n private watchFieldValue(fieldValue: string | null) {\n // console.debug('watchFieldValue', fieldValue);\n this.$emit('input', fieldValue || '');\n }\n\n public fieldValue: string | null = '';\n public items: ProductTypeItem[] = [];\n\n private async created() {\n this.items = await store.getters['moduleStaticData/getAllStaticData'].productTypes;\n }\n\n public filter(item: ProductTypeItem, queryText: string) {\n return (item.code + item.description).toLocaleLowerCase().indexOf(queryText.toLocaleLowerCase()) > -1;\n }\n\n public fieldValidationRules = [requiredValidationRule];\n\n public handleChange(value: string | null) {\n let item: ProductTypeItem | null = null;\n if (value) {\n item = this.items.find(item => item.code === value) || null;\n }\n this.$emit('change', item);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsGoodsTypeAutocompleteField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsGoodsTypeAutocompleteField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ProductsGoodsTypeAutocompleteField.vue?vue&type=template&id=241d7664\"\nimport script from \"./ProductsGoodsTypeAutocompleteField.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductsGoodsTypeAutocompleteField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VTextField,{staticClass:\"g-field\",attrs:{\"type\":\"number\",\"label\":_vm.label,\"single-line\":\"\",\"hide-details\":\"auto\",\"min\":_vm.min,\"max\":_vm.max,\"inputmode\":\"numeric\",\"step\":\"1\",\"outlined\":\"\",\"dense\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled,\"error\":_vm.isError},on:{\"input\":_vm.handleInput,\"keypress\":_vm.handleKeypress},model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\n\n@Component({})\nexport default class ProductsCommonNumberField extends Vue {\n @Prop(Number) public value: number;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n @Prop(String) public label: string;\n\n @Watch('value', { immediate: true })\n private watchValue(value: number) {\n // console.debug('watchValue', value);\n this.fieldValue = String(value);\n }\n\n @Watch('fieldValue')\n private watchFieldValue(fieldValue: string | null) {\n // console.debug('watchFieldValue', fieldValue);\n this.$emit('input', Number(fieldValue) || this.min);\n }\n\n public _clearFieldValue(rewriteValue: string) {\n this.fieldValue = null;\n this.$nextTick(() => {\n this.fieldValue = rewriteValue;\n });\n }\n\n public min = 0;\n public max = 9999;\n public fieldValue: string | null = String(this.min);\n public isError = false;\n\n public handleInput(value: string) {\n // console.debug('input', value);\n const valueNum = Number(value);\n const valueInt = parseInt(value);\n const valueIntStr = String(valueInt);\n let rewriteValue = '';\n if (!value || valueNum < this.min || valueNum !== valueInt) {\n rewriteValue = String(this.min);\n } else if (valueNum > this.max) {\n rewriteValue = String(this.max);\n } else if (valueIntStr !== value) {\n rewriteValue = valueIntStr;\n }\n if (rewriteValue) {\n this.blinkError();\n this._clearFieldValue(rewriteValue);\n }\n }\n\n public blinkError() {\n this.isError = true;\n this.$nextTick(() => {\n setTimeout(() => {\n this.isError = false;\n }, 150);\n });\n }\n\n public handleKeypress(event: KeyboardEvent) {\n if (!/\\d+/.test(event.key)) {\n this.blinkError();\n event.preventDefault();\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsCommonNumberField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsCommonNumberField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ProductsCommonNumberField.vue?vue&type=template&id=efc016b4\"\nimport script from \"./ProductsCommonNumberField.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductsCommonNumberField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VBtn,{class:_vm.$style.legsBlockBtn,attrs:{\"outlined\":\"\",\"block\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},on:{\"click\":_vm.handleClick}},[_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class LegsBlockBtn extends Vue {\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n public handleClick() {\n this.$emit('click');\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LegsBlockBtn.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LegsBlockBtn.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"LegsBlockBtn_sidemenu_Onbuz\",\"layout-wrapper\":\"LegsBlockBtn_layout-wrapper_BjiX_\",\"wrapper-portal\":\"LegsBlockBtn_wrapper-portal_jpe4Y\",\"wrapper-portal-dash\":\"LegsBlockBtn_wrapper-portal-dash_ovM2f\",\"container\":\"LegsBlockBtn_container_AQ3QY\",\"b-fa\":\"LegsBlockBtn_b-fa_d4qgZ\",\"mdi-stairs\":\"LegsBlockBtn_mdi-stairs_kGhgZ\",\"mdi-progress-wrench\":\"LegsBlockBtn_mdi-progress-wrench_KB0Vd\",\"mdi-wrench\":\"LegsBlockBtn_mdi-wrench_YkjVm\",\"mdi-file-document\":\"LegsBlockBtn_mdi-file-document_fMl34\",\"mdi-account\":\"LegsBlockBtn_mdi-account_er3V7\",\"mdi-caravan\":\"LegsBlockBtn_mdi-caravan_L23Up\",\"mdi-forklift\":\"LegsBlockBtn_mdi-forklift_JHrd7\",\"mdi-account-plus\":\"LegsBlockBtn_mdi-account-plus_Zkn0d\",\"mdi-format-align-bottom\":\"LegsBlockBtn_mdi-format-align-bottom_lBjSl\",\"mdi-clock-alert\":\"LegsBlockBtn_mdi-clock-alert_Tm9FC\",\"mdi-school\":\"LegsBlockBtn_mdi-school_MGwgp\",\"mdi-face-mask\":\"LegsBlockBtn_mdi-face-mask_WeUp7\",\"fa\":\"LegsBlockBtn_fa_LIhnl\",\"fa-angle-up\":\"LegsBlockBtn_fa-angle-up_lmtsh\",\"fa-angle-left\":\"LegsBlockBtn_fa-angle-left_RqPnI\",\"fa-search\":\"LegsBlockBtn_fa-search_sFf5M\",\"fa-consolidate\":\"LegsBlockBtn_fa-consolidate_oLkOi\",\"fa-split\":\"LegsBlockBtn_fa-split_mPxu9\",\"mdi-food-fork-drink\":\"LegsBlockBtn_mdi-food-fork-drink_I1E3Q\",\"mdi-package-variant\":\"LegsBlockBtn_mdi-package-variant_GDcqR\",\"mdi-call-merge\":\"LegsBlockBtn_mdi-call-merge_SZIsY\",\"mdi-tray-arrow-up\":\"LegsBlockBtn_mdi-tray-arrow-up_SzSLf\",\"fa-arrow-circle-up\":\"LegsBlockBtn_fa-arrow-circle-up_l0b6j\",\"fa-arrow-circle-down\":\"LegsBlockBtn_fa-arrow-circle-down_I36U1\",\"mdi-calendar-check\":\"LegsBlockBtn_mdi-calendar-check_RmXOu\",\"mdi-calendar-remove\":\"LegsBlockBtn_mdi-calendar-remove_BUMkO\",\"stop-tooltip\":\"LegsBlockBtn_stop-tooltip_kn7xM\",\"bold\":\"LegsBlockBtn_bold_TDbKz\",\"tooltip-header\":\"LegsBlockBtn_tooltip-header_wulmD\",\"tooltip-content\":\"LegsBlockBtn_tooltip-content_jDwPj\",\"stops\":\"LegsBlockBtn_stops_bx_ut\",\"tooltip-attrs\":\"LegsBlockBtn_tooltip-attrs_bX76H\",\"attr\":\"LegsBlockBtn_attr_FZevn\",\"warnings\":\"LegsBlockBtn_warnings_qPqj8\",\"b-panel-body-wrap\":\"LegsBlockBtn_b-panel-body-wrap_Jc3sq\",\"b-panel-content\":\"LegsBlockBtn_b-panel-content_klWXb\",\"b-tooltip-content\":\"LegsBlockBtn_b-tooltip-content_NAEET\",\"t-radio\":\"LegsBlockBtn_t-radio__jFaq\",\"t-checkbox\":\"LegsBlockBtn_t-checkbox_WmV3g\",\"floating-label\":\"LegsBlockBtn_floating-label_HhVWY\",\"floating-label-inset\":\"LegsBlockBtn_floating-label-inset_EuRee\",\"legsBlockBtn\":\"LegsBlockBtn_legsBlockBtn_aYq14\"};","import { render, staticRenderFns } from \"./LegsBlockBtn.vue?vue&type=template&id=b0bf9402\"\nimport script from \"./LegsBlockBtn.vue?vue&type=script&lang=ts\"\nexport * from \"./LegsBlockBtn.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LegsBlockBtn.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VBtn,{class:_vm.$style.legsSmallRoundBtn,attrs:{\"fab\":\"\",\"x-small\":\"\",\"depressed\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled},on:{\"click\":_vm.handleClick}},[_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class LegsBlockBtn extends Vue {\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n public handleClick() {\n this.$emit('click');\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LegsSmallRoundBtn.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LegsSmallRoundBtn.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"LegsSmallRoundBtn_sidemenu_oJxkg\",\"layout-wrapper\":\"LegsSmallRoundBtn_layout-wrapper_RkQAh\",\"wrapper-portal\":\"LegsSmallRoundBtn_wrapper-portal_i93Bk\",\"wrapper-portal-dash\":\"LegsSmallRoundBtn_wrapper-portal-dash_gIWOR\",\"container\":\"LegsSmallRoundBtn_container_jKbF_\",\"b-fa\":\"LegsSmallRoundBtn_b-fa_W12XI\",\"mdi-stairs\":\"LegsSmallRoundBtn_mdi-stairs_hw07Q\",\"mdi-progress-wrench\":\"LegsSmallRoundBtn_mdi-progress-wrench_pRAQl\",\"mdi-wrench\":\"LegsSmallRoundBtn_mdi-wrench_DipgN\",\"mdi-file-document\":\"LegsSmallRoundBtn_mdi-file-document_uTbqF\",\"mdi-account\":\"LegsSmallRoundBtn_mdi-account_FvYLi\",\"mdi-caravan\":\"LegsSmallRoundBtn_mdi-caravan_aFHTc\",\"mdi-forklift\":\"LegsSmallRoundBtn_mdi-forklift_GSJ7c\",\"mdi-account-plus\":\"LegsSmallRoundBtn_mdi-account-plus_zxC8S\",\"mdi-format-align-bottom\":\"LegsSmallRoundBtn_mdi-format-align-bottom_qVbtJ\",\"mdi-clock-alert\":\"LegsSmallRoundBtn_mdi-clock-alert_MqZTT\",\"mdi-school\":\"LegsSmallRoundBtn_mdi-school_yLbpv\",\"mdi-face-mask\":\"LegsSmallRoundBtn_mdi-face-mask_N1ELb\",\"fa\":\"LegsSmallRoundBtn_fa_vFPCs\",\"fa-angle-up\":\"LegsSmallRoundBtn_fa-angle-up_JnLjY\",\"fa-angle-left\":\"LegsSmallRoundBtn_fa-angle-left_LXFsy\",\"fa-search\":\"LegsSmallRoundBtn_fa-search_VVkX9\",\"fa-consolidate\":\"LegsSmallRoundBtn_fa-consolidate_WXwrE\",\"fa-split\":\"LegsSmallRoundBtn_fa-split_z3sLn\",\"mdi-food-fork-drink\":\"LegsSmallRoundBtn_mdi-food-fork-drink_YrXuh\",\"mdi-package-variant\":\"LegsSmallRoundBtn_mdi-package-variant_JvNuE\",\"mdi-call-merge\":\"LegsSmallRoundBtn_mdi-call-merge_Apgiu\",\"mdi-tray-arrow-up\":\"LegsSmallRoundBtn_mdi-tray-arrow-up_db_Z5\",\"fa-arrow-circle-up\":\"LegsSmallRoundBtn_fa-arrow-circle-up_FGA_4\",\"fa-arrow-circle-down\":\"LegsSmallRoundBtn_fa-arrow-circle-down_Z4Ol8\",\"mdi-calendar-check\":\"LegsSmallRoundBtn_mdi-calendar-check_W0ryV\",\"mdi-calendar-remove\":\"LegsSmallRoundBtn_mdi-calendar-remove_CB41E\",\"stop-tooltip\":\"LegsSmallRoundBtn_stop-tooltip_VT11Y\",\"bold\":\"LegsSmallRoundBtn_bold_lYC5c\",\"tooltip-header\":\"LegsSmallRoundBtn_tooltip-header_Lxvfb\",\"tooltip-content\":\"LegsSmallRoundBtn_tooltip-content_ElBMi\",\"stops\":\"LegsSmallRoundBtn_stops_G_UTJ\",\"tooltip-attrs\":\"LegsSmallRoundBtn_tooltip-attrs_hjONB\",\"attr\":\"LegsSmallRoundBtn_attr_fj7aM\",\"warnings\":\"LegsSmallRoundBtn_warnings_UEorQ\",\"b-panel-body-wrap\":\"LegsSmallRoundBtn_b-panel-body-wrap_pA0Wb\",\"b-panel-content\":\"LegsSmallRoundBtn_b-panel-content_c3dwq\",\"b-tooltip-content\":\"LegsSmallRoundBtn_b-tooltip-content_PSbR7\",\"t-radio\":\"LegsSmallRoundBtn_t-radio_ZLJqI\",\"t-checkbox\":\"LegsSmallRoundBtn_t-checkbox_jj5Dh\",\"floating-label\":\"LegsSmallRoundBtn_floating-label_bVoLl\",\"floating-label-inset\":\"LegsSmallRoundBtn_floating-label-inset_EoOdQ\",\"legsSmallRoundBtn\":\"LegsSmallRoundBtn_legsSmallRoundBtn_eKEcU\"};","import { render, staticRenderFns } from \"./LegsSmallRoundBtn.vue?vue&type=template&id=aad345ac\"\nimport script from \"./LegsSmallRoundBtn.vue?vue&type=script&lang=ts\"\nexport * from \"./LegsSmallRoundBtn.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LegsSmallRoundBtn.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { Product } from '@/models/jobDetailed';\nimport ProductsModelComboboxField from '@/components/fields/ProductsModelComboboxField.vue';\nimport ProductsDescriptionTextField from '@/components/fields/ProductsDescriptionTextField.vue';\nimport ProductsSerialTextField from '@/components/fields/ProductsSerialTextField.vue';\nimport ProductsQuantityNumberField from '@/components/fields/ProductsQuantityNumberField.vue';\nimport ProductsGoodsTypeAutocompleteField from '@/components/fields/ProductsGoodsTypeAutocompleteField.vue';\nimport ProductsCommonNumberField from '@/components/fields/ProductsCommonNumberField.vue';\nimport { ProductTypeItem } from '@/store/modules/staticData/staticDataTypes';\nimport LegsBlockBtn from '@/components/btns/LegsBlockBtn.vue';\nimport LegsSmallRoundBtn from '@/components/btns/LegsSmallRoundBtn.vue';\nimport store from '@/store';\nimport _uniqueId from 'lodash/uniqueId';\n\n@Component({\n components: {\n ProductsModelComboboxField,\n ProductsDescriptionTextField,\n ProductsSerialTextField,\n ProductsQuantityNumberField,\n ProductsGoodsTypeAutocompleteField,\n ProductsCommonNumberField,\n LegsBlockBtn,\n LegsSmallRoundBtn,\n },\n})\nexport default class ProductsFieldset extends Vue {\n @Prop(Array) public value: Product[];\n @Prop(Number) public deliveryStopNumber: number;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n get pickupProducts(): Product[] {\n return this.value;\n }\n\n set pickupProducts(value) {\n // console.debug('set pickupProducts');\n this.$emit('input', value);\n }\n\n public handleDelClick(_clientId: string) {\n // console.debug('handleDelClick', index);\n this.pickupProducts = this.pickupProducts.filter(pickupProduct => pickupProduct._clientId !== _clientId);\n }\n\n public defaultGoodsTypeItem: ProductTypeItem;\n public defaultGoodsTypeValue = 'PCL';\n\n public handleAddClick() {\n const pickupProduct = {\n model: '',\n model_id: -1,\n description: '',\n serial: '',\n delivery_stop_number: this.deliveryStopNumber,\n ...this.getPickupProductParams(this.defaultGoodsTypeItem),\n pieces: 1,\n type_code: this.defaultGoodsTypeValue,\n primary_service: '', // TODO\n // quant_id: null,\n volume: '',\n _clientId: _uniqueId(),\n extra_options: null,\n };\n this.pickupProducts = [...this.pickupProducts, pickupProduct];\n }\n\n public getPickupProductParams(goodsTypeItem: ProductTypeItem) {\n return {\n weight: Number(Math.ceil(parseFloat(String(goodsTypeItem.weight)))),\n length: goodsTypeItem.default_length,\n width: goodsTypeItem.default_width,\n height: goodsTypeItem.default_height,\n };\n }\n\n private async created() {\n const items: ProductTypeItem[] = await store.getters['moduleStaticData/getAllStaticData'].productTypes;\n this.defaultGoodsTypeItem = items.find(item => item.code === this.defaultGoodsTypeValue) || {\n code: this.defaultGoodsTypeValue,\n description: '',\n weight: 0,\n default_length: 0,\n default_width: 0,\n default_height: 0,\n };\n }\n\n public handleGoodsTypeChange(goodsTypeItem: ProductTypeItem | null, index: number) {\n if (goodsTypeItem) {\n Object.assign(this.pickupProducts[index], {\n ...this.pickupProducts[index],\n ...this.getPickupProductParams(goodsTypeItem),\n });\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsFieldset.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsFieldset.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"ProductsFieldset_sidemenu_SrKB5\",\"layout-wrapper\":\"ProductsFieldset_layout-wrapper_lZM2y\",\"wrapper-portal\":\"ProductsFieldset_wrapper-portal_YjG7o\",\"wrapper-portal-dash\":\"ProductsFieldset_wrapper-portal-dash_yKPoZ\",\"container\":\"ProductsFieldset_container_tF6_B\",\"b-fa\":\"ProductsFieldset_b-fa_XXv2B\",\"mdi-stairs\":\"ProductsFieldset_mdi-stairs_uFYX_\",\"mdi-progress-wrench\":\"ProductsFieldset_mdi-progress-wrench_D5wQj\",\"mdi-wrench\":\"ProductsFieldset_mdi-wrench_KuuKR\",\"mdi-file-document\":\"ProductsFieldset_mdi-file-document_mXLWk\",\"mdi-account\":\"ProductsFieldset_mdi-account_E8kOM\",\"mdi-caravan\":\"ProductsFieldset_mdi-caravan_AFWhc\",\"mdi-forklift\":\"ProductsFieldset_mdi-forklift_oBczI\",\"mdi-account-plus\":\"ProductsFieldset_mdi-account-plus_xFLD0\",\"mdi-format-align-bottom\":\"ProductsFieldset_mdi-format-align-bottom_g43zB\",\"mdi-clock-alert\":\"ProductsFieldset_mdi-clock-alert_VLv5P\",\"mdi-school\":\"ProductsFieldset_mdi-school_T7q3h\",\"mdi-face-mask\":\"ProductsFieldset_mdi-face-mask_Rpfey\",\"fa\":\"ProductsFieldset_fa_IyDGv\",\"fa-angle-up\":\"ProductsFieldset_fa-angle-up_u_16K\",\"fa-angle-left\":\"ProductsFieldset_fa-angle-left_MORn0\",\"fa-search\":\"ProductsFieldset_fa-search_b9R7L\",\"fa-consolidate\":\"ProductsFieldset_fa-consolidate_PHKYA\",\"fa-split\":\"ProductsFieldset_fa-split_lXosO\",\"mdi-food-fork-drink\":\"ProductsFieldset_mdi-food-fork-drink_raB6X\",\"mdi-package-variant\":\"ProductsFieldset_mdi-package-variant_dgmnK\",\"mdi-call-merge\":\"ProductsFieldset_mdi-call-merge_UxxVW\",\"mdi-tray-arrow-up\":\"ProductsFieldset_mdi-tray-arrow-up_XR1C_\",\"fa-arrow-circle-up\":\"ProductsFieldset_fa-arrow-circle-up_zd9u5\",\"fa-arrow-circle-down\":\"ProductsFieldset_fa-arrow-circle-down_BniHq\",\"mdi-calendar-check\":\"ProductsFieldset_mdi-calendar-check_QQ9OR\",\"mdi-calendar-remove\":\"ProductsFieldset_mdi-calendar-remove_TG7Nh\",\"stop-tooltip\":\"ProductsFieldset_stop-tooltip_pKr2y\",\"bold\":\"ProductsFieldset_bold_F9kQS\",\"tooltip-header\":\"ProductsFieldset_tooltip-header_Bq7_U\",\"tooltip-content\":\"ProductsFieldset_tooltip-content_ysmQi\",\"stops\":\"ProductsFieldset_stops_XwB56\",\"tooltip-attrs\":\"ProductsFieldset_tooltip-attrs_Ip4JY\",\"attr\":\"ProductsFieldset_attr_GTRZS\",\"warnings\":\"ProductsFieldset_warnings_TzxmI\",\"b-panel-body-wrap\":\"ProductsFieldset_b-panel-body-wrap_gfOMJ\",\"b-panel-content\":\"ProductsFieldset_b-panel-content_hqBPH\",\"b-tooltip-content\":\"ProductsFieldset_b-tooltip-content_q2UOb\",\"t-radio\":\"ProductsFieldset_t-radio_VCKJr\",\"t-checkbox\":\"ProductsFieldset_t-checkbox_Tavtv\",\"floating-label\":\"ProductsFieldset_floating-label_zEIHr\",\"floating-label-inset\":\"ProductsFieldset_floating-label-inset_AM_Of\",\"productsFieldset\":\"ProductsFieldset_productsFieldset_xDPdX\",\"legend\":\"ProductsFieldset_legend_u2vJQ\",\"product\":\"ProductsFieldset_product_yTlzu\",\"items\":\"ProductsFieldset_items_xSGRE\",\"item\":\"ProductsFieldset_item_LfZlW\",\"field\":\"ProductsFieldset_field_fHQMi\",\"modelItem\":\"ProductsFieldset_modelItem_lTsTL\",\"descriptionItem\":\"ProductsFieldset_descriptionItem_H33b4\",\"serialItem\":\"ProductsFieldset_serialItem_YdP9k\",\"quantityItem\":\"ProductsFieldset_quantityItem_OdDBM\",\"goodsTypeItem\":\"ProductsFieldset_goodsTypeItem_Uwf_U\",\"weightItem\":\"ProductsFieldset_weightItem_R0tN3\",\"widthItem\":\"ProductsFieldset_widthItem_B0bWr\",\"heightItem\":\"ProductsFieldset_heightItem_TFCn2\",\"lengthItem\":\"ProductsFieldset_lengthItem_qnfty\",\"delBtn\":\"ProductsFieldset_delBtn_b6g5q\",\"addBtn\":\"ProductsFieldset_addBtn_KB677\"};","import { render, staticRenderFns } from \"./ProductsFieldset.vue?vue&type=template&id=56ce1ec6\"\nimport script from \"./ProductsFieldset.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductsFieldset.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ProductsFieldset.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.$style.serviceCodesFieldset},[_c('h5',{class:_vm.$style.legend},[_vm._v(\"Service codes\")]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-48 text-sm font-semibold\",class:[_vm.$style.item, _vm.$style.serviceTextItem]},[_vm._v(\"Service code\")]),_c('div',{staticClass:\"w-20 text-sm font-semibold\",class:[_vm.$style.item, _vm.$style.serviceNumItem]},[_vm._v(\"Quantity\")])]),_c('div',[(_vm.services?.length)?_vm._l((_vm.services),function(service,index){return _c('div',{key:service._clientId,class:_vm.$style.service},[_c('div',{class:_vm.$style.items},[_c('div',{class:[_vm.$style.item, _vm.$style.serviceTextItem]},[_c('ServiceCodesServiceAutocompleteField',{class:_vm.$style.field,attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(service.name),callback:function ($$v) {_vm.$set(service, \"name\", $$v)},expression:\"service.name\"}})],1),_c('div',{class:[_vm.$style.item, _vm.$style.serviceNumItem]},[_c('ServiceCodesQuantityNumberField',{class:_vm.$style.field,attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},model:{value:(service.quantity),callback:function ($$v) {_vm.$set(service, \"quantity\", $$v)},expression:\"service.quantity\"}})],1)]),_c('div',{class:_vm.$style.delBtnItem},[(index !== 0)?[_c('LegsSmallRoundBtn',{class:_vm.$style.delBtn,attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},on:{\"click\":function($event){return _vm.handleDelClick(service._clientId)}}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1)]:_vm._e()],2)])}):[_c('div',{class:_vm.$style.service},[_c('div',{class:_vm.$style.items},[_c('div',{class:[_vm.$style.item, _vm.$style.serviceTextItem]},[_c('ServiceCodesServiceAutocompleteField',{attrs:{\"loading\":\"\",\"disabled\":\"\"}})],1),_c('div',{class:[_vm.$style.item, _vm.$style.serviceNumItem]},[_c('ServiceCodesQuantityNumberField',{attrs:{\"loading\":\"\",\"disabled\":\"\"}})],1)]),_c('div',{class:_vm.$style.delBtnItem})])]],2),_c('LegsBlockBtn',{class:_vm.$style.addBtn,attrs:{\"loading\":_vm.loading,\"disabled\":_vm.disabled},on:{\"click\":_vm.handleAddClick}},[_c(VIcon,[_vm._v(\"mdi-plus\")]),_vm._v(\" Add service \")],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VAutocomplete,{staticClass:\"g-field\",attrs:{\"label\":\"Service\",\"single-line\":\"\",\"hide-details\":\"auto\",\"items\":_vm.items,\"rules\":_vm.fieldValidationRules,\"outlined\":\"\",\"dense\":\"\",\"clearable\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled,\"item-text\":\"code\",\"item-value\":\"code\",\"filter\":_vm.filter},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c('NoDataSelectItem')]},proxy:true},{key:\"item\",fn:function(data){return [_c('CommonSelectItem',[_vm._v(\" \"+_vm._s([data.item.code, data.item.description].filter(item => !!item).join(' – '))+\" \")])]}}]),model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { requiredValidationRule } from '@/helpers/validationRules';\nimport { ServiceCodeItem } from '@/store/modules/staticData/staticDataTypes';\nimport NoDataSelectItem from '@/components/selectItems/NoDataSelectItem.vue';\nimport CommonSelectItem from '@/components/selectItems/CommonSelectItem.vue';\nimport store from '@/store';\n\n@Component({\n components: {\n NoDataSelectItem,\n CommonSelectItem,\n },\n})\nexport default class ServiceCodesServiceAutocompleteField extends Vue {\n @Prop(String) public value: string;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n @Watch('value', { immediate: true })\n private watchValue(value: string) {\n // console.debug('watchValue', value);\n this.fieldValue = value;\n }\n\n @Watch('fieldValue')\n private watchFieldValue(fieldValue: string | null) {\n // console.debug('watchFieldValue', fieldValue);\n this.$emit('input', fieldValue || '');\n }\n\n public fieldValue: string | null = '';\n public items: ServiceCodeItem[] = [];\n\n private async created() {\n this.items = await store.getters['moduleStaticData/getAllStaticData'].serviceCodes;\n }\n\n public filter(item: ServiceCodeItem, queryText: string) {\n return (item.code + item.description).toLocaleLowerCase().indexOf(queryText.toLocaleLowerCase()) > -1;\n }\n\n public fieldValidationRules = [requiredValidationRule];\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ServiceCodesServiceAutocompleteField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ServiceCodesServiceAutocompleteField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ServiceCodesServiceAutocompleteField.vue?vue&type=template&id=5e0c0caa\"\nimport script from \"./ServiceCodesServiceAutocompleteField.vue?vue&type=script&lang=ts\"\nexport * from \"./ServiceCodesServiceAutocompleteField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VTextField,{staticClass:\"g-field\",attrs:{\"type\":\"number\",\"label\":\"Quantity\",\"single-line\":\"\",\"hide-details\":\"auto\",\"min\":_vm.min,\"max\":_vm.max,\"inputmode\":\"numeric\",\"step\":\"1\",\"outlined\":\"\",\"dense\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.disabled,\"error\":_vm.isError},on:{\"input\":_vm.handleInput,\"keypress\":_vm.handleKeypress},model:{value:(_vm.fieldValue),callback:function ($$v) {_vm.fieldValue=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fieldValue\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\n\n@Component({})\nexport default class ServiceCodesQuantityNumberField extends Vue {\n @Prop(Number) public value: number;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n @Watch('value', { immediate: true })\n private watchValue(value: number) {\n // console.debug('watchValue', value);\n this.fieldValue = String(value);\n }\n\n @Watch('fieldValue')\n private watchFieldValue(fieldValue: string | null) {\n // console.debug('watchFieldValue', fieldValue);\n this.$emit('input', Number(fieldValue) || this.min);\n }\n\n public _clearFieldValue(rewriteValue: string) {\n this.fieldValue = null;\n this.$nextTick(() => {\n this.fieldValue = rewriteValue;\n });\n }\n\n public min = 1;\n public max = 9999;\n public fieldValue: string | null = String(this.min);\n public isError = false;\n\n public handleInput(value: string) {\n // console.debug('input', value);\n const valueNum = Number(value);\n const valueInt = parseInt(value);\n const valueIntStr = String(valueInt);\n let rewriteValue = '';\n if (!value || valueNum < this.min || valueNum !== valueInt) {\n rewriteValue = String(this.min);\n } else if (valueNum > this.max) {\n rewriteValue = String(this.max);\n } else if (valueIntStr !== value) {\n rewriteValue = valueIntStr;\n }\n if (rewriteValue) {\n this.blinkError();\n this._clearFieldValue(rewriteValue);\n }\n }\n\n public blinkError() {\n this.isError = true;\n this.$nextTick(() => {\n setTimeout(() => {\n this.isError = false;\n }, 150);\n });\n }\n\n public handleKeypress(event: KeyboardEvent) {\n if (!/\\d+/.test(event.key)) {\n this.blinkError();\n event.preventDefault();\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ServiceCodesQuantityNumberField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ServiceCodesQuantityNumberField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ServiceCodesQuantityNumberField.vue?vue&type=template&id=e664a134\"\nimport script from \"./ServiceCodesQuantityNumberField.vue?vue&type=script&lang=ts\"\nexport * from \"./ServiceCodesQuantityNumberField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport ServiceCodesServiceAutocompleteField from '@/components/fields/ServiceCodesServiceAutocompleteField.vue';\nimport ServiceCodesQuantityNumberField from '@/components/fields/ServiceCodesQuantityNumberField.vue';\nimport { StopServices } from '@/models/jobDetailed';\nimport LegsBlockBtn from '@/components/btns/LegsBlockBtn.vue';\nimport LegsSmallRoundBtn from '@/components/btns/LegsSmallRoundBtn.vue';\nimport _uniqueId from 'lodash/uniqueId';\n\n@Component({\n components: {\n ServiceCodesServiceAutocompleteField,\n ServiceCodesQuantityNumberField,\n LegsBlockBtn,\n LegsSmallRoundBtn,\n },\n})\nexport default class ServiceCodesFieldset extends Vue {\n @Prop(Array) public value: StopServices[];\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n get services() {\n // console.debug('get services');\n return this.value;\n }\n\n set services(value) {\n // console.debug('set services', value);\n this.$emit('input', value);\n }\n\n public handleDelClick(_clientId: string) {\n // console.debug('handleDelClick', _clientId);\n this.services = this.services.filter(service => service._clientId !== _clientId);\n }\n\n public handleAddClick() {\n this.services = [\n ...this.services,\n {\n name: '',\n quantity: 1,\n _clientId: _uniqueId(),\n },\n ];\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ServiceCodesFieldset.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ServiceCodesFieldset.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"ServiceCodesFieldset_sidemenu_AI0lE\",\"layout-wrapper\":\"ServiceCodesFieldset_layout-wrapper_JXalv\",\"wrapper-portal\":\"ServiceCodesFieldset_wrapper-portal_ijkmU\",\"wrapper-portal-dash\":\"ServiceCodesFieldset_wrapper-portal-dash_R6e1D\",\"container\":\"ServiceCodesFieldset_container_gNESP\",\"b-fa\":\"ServiceCodesFieldset_b-fa_RuPjc\",\"mdi-stairs\":\"ServiceCodesFieldset_mdi-stairs_Z55Ya\",\"mdi-progress-wrench\":\"ServiceCodesFieldset_mdi-progress-wrench_R_o95\",\"mdi-wrench\":\"ServiceCodesFieldset_mdi-wrench_lshlz\",\"mdi-file-document\":\"ServiceCodesFieldset_mdi-file-document_n1Ur5\",\"mdi-account\":\"ServiceCodesFieldset_mdi-account_za2Wp\",\"mdi-caravan\":\"ServiceCodesFieldset_mdi-caravan_Ga3uc\",\"mdi-forklift\":\"ServiceCodesFieldset_mdi-forklift_dMUJx\",\"mdi-account-plus\":\"ServiceCodesFieldset_mdi-account-plus_odtn8\",\"mdi-format-align-bottom\":\"ServiceCodesFieldset_mdi-format-align-bottom_SXut1\",\"mdi-clock-alert\":\"ServiceCodesFieldset_mdi-clock-alert_Cb08h\",\"mdi-school\":\"ServiceCodesFieldset_mdi-school_eeeHY\",\"mdi-face-mask\":\"ServiceCodesFieldset_mdi-face-mask_R5tIh\",\"fa\":\"ServiceCodesFieldset_fa_geN7V\",\"fa-angle-up\":\"ServiceCodesFieldset_fa-angle-up_S_vgF\",\"fa-angle-left\":\"ServiceCodesFieldset_fa-angle-left_lcx2Q\",\"fa-search\":\"ServiceCodesFieldset_fa-search_G8bQW\",\"fa-consolidate\":\"ServiceCodesFieldset_fa-consolidate_IuLUl\",\"fa-split\":\"ServiceCodesFieldset_fa-split_xKHqq\",\"mdi-food-fork-drink\":\"ServiceCodesFieldset_mdi-food-fork-drink_bD9uO\",\"mdi-package-variant\":\"ServiceCodesFieldset_mdi-package-variant_zBf_a\",\"mdi-call-merge\":\"ServiceCodesFieldset_mdi-call-merge_tmDzj\",\"mdi-tray-arrow-up\":\"ServiceCodesFieldset_mdi-tray-arrow-up_EZirR\",\"fa-arrow-circle-up\":\"ServiceCodesFieldset_fa-arrow-circle-up_sLV4Q\",\"fa-arrow-circle-down\":\"ServiceCodesFieldset_fa-arrow-circle-down_U4W7b\",\"mdi-calendar-check\":\"ServiceCodesFieldset_mdi-calendar-check_Z1mfE\",\"mdi-calendar-remove\":\"ServiceCodesFieldset_mdi-calendar-remove_Iegs9\",\"stop-tooltip\":\"ServiceCodesFieldset_stop-tooltip_lIJZB\",\"bold\":\"ServiceCodesFieldset_bold_JPLF3\",\"tooltip-header\":\"ServiceCodesFieldset_tooltip-header_SKiAL\",\"tooltip-content\":\"ServiceCodesFieldset_tooltip-content_q3z73\",\"stops\":\"ServiceCodesFieldset_stops_G0bM2\",\"tooltip-attrs\":\"ServiceCodesFieldset_tooltip-attrs_FUJxC\",\"attr\":\"ServiceCodesFieldset_attr_uDBzt\",\"warnings\":\"ServiceCodesFieldset_warnings_uwlQp\",\"b-panel-body-wrap\":\"ServiceCodesFieldset_b-panel-body-wrap_kVeBs\",\"b-panel-content\":\"ServiceCodesFieldset_b-panel-content_JJdG4\",\"b-tooltip-content\":\"ServiceCodesFieldset_b-tooltip-content_IJHKZ\",\"t-radio\":\"ServiceCodesFieldset_t-radio_b9XIl\",\"t-checkbox\":\"ServiceCodesFieldset_t-checkbox_WPnw8\",\"floating-label\":\"ServiceCodesFieldset_floating-label_vOaNV\",\"floating-label-inset\":\"ServiceCodesFieldset_floating-label-inset_unXga\",\"serviceCodesFieldset\":\"ServiceCodesFieldset_serviceCodesFieldset_SVkjE\",\"legend\":\"ServiceCodesFieldset_legend_I2tKZ\",\"service\":\"ServiceCodesFieldset_service_zfYvo\",\"items\":\"ServiceCodesFieldset_items_Mu_EA\",\"item\":\"ServiceCodesFieldset_item_cxUHs\",\"field\":\"ServiceCodesFieldset_field_AVi6d\",\"serviceTextItem\":\"ServiceCodesFieldset_serviceTextItem_f1iCD\",\"serviceNumItem\":\"ServiceCodesFieldset_serviceNumItem_abStG\",\"delBtnItem\":\"ServiceCodesFieldset_delBtnItem_yPxIs\",\"delBtn\":\"ServiceCodesFieldset_delBtn_Qh90x\",\"addBtn\":\"ServiceCodesFieldset_addBtn_EX9HZ\"};","import { render, staticRenderFns } from \"./ServiceCodesFieldset.vue?vue&type=template&id=973c5714\"\nimport script from \"./ServiceCodesFieldset.vue?vue&type=script&lang=ts\"\nexport * from \"./ServiceCodesFieldset.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ServiceCodesFieldset.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { JobDetailedData } from '@/models/jobDetailed';\nimport ProductsFieldset from '@/components/fieldsets/ProductsFieldset.vue';\nimport ServiceCodesFieldset from '@/components/fieldsets/ServiceCodesFieldset.vue';\n\n@Component({\n components: {\n ProductsFieldset,\n ServiceCodesFieldset,\n },\n})\nexport default class LegsFieldset extends Vue {\n @Prop(Object) public value: JobDetailedData;\n @Prop(Boolean) public loading: boolean;\n @Prop(Boolean) public disabled: boolean;\n\n get detailedJob() {\n return this.value;\n }\n\n set detailedJob(value) {\n this.$emit('input', value);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LegsFieldset.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LegsFieldset.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"LegsFieldset_sidemenu_lUMVi\",\"layout-wrapper\":\"LegsFieldset_layout-wrapper_vMY6a\",\"wrapper-portal\":\"LegsFieldset_wrapper-portal_xYi1R\",\"wrapper-portal-dash\":\"LegsFieldset_wrapper-portal-dash_RfnKz\",\"container\":\"LegsFieldset_container_NaYOO\",\"b-fa\":\"LegsFieldset_b-fa_EJ0BM\",\"mdi-stairs\":\"LegsFieldset_mdi-stairs_gw6bM\",\"mdi-progress-wrench\":\"LegsFieldset_mdi-progress-wrench_w2u_6\",\"mdi-wrench\":\"LegsFieldset_mdi-wrench_Oq5Tt\",\"mdi-file-document\":\"LegsFieldset_mdi-file-document_aNZ2I\",\"mdi-account\":\"LegsFieldset_mdi-account_rujW1\",\"mdi-caravan\":\"LegsFieldset_mdi-caravan_vZxB3\",\"mdi-forklift\":\"LegsFieldset_mdi-forklift_RvR7M\",\"mdi-account-plus\":\"LegsFieldset_mdi-account-plus_COIUk\",\"mdi-format-align-bottom\":\"LegsFieldset_mdi-format-align-bottom_cIYl_\",\"mdi-clock-alert\":\"LegsFieldset_mdi-clock-alert_fX_Jh\",\"mdi-school\":\"LegsFieldset_mdi-school_m0FAY\",\"mdi-face-mask\":\"LegsFieldset_mdi-face-mask_mLbj3\",\"fa\":\"LegsFieldset_fa_FqRKB\",\"fa-angle-up\":\"LegsFieldset_fa-angle-up_K3i2A\",\"fa-angle-left\":\"LegsFieldset_fa-angle-left_kkh6C\",\"fa-search\":\"LegsFieldset_fa-search__9IKL\",\"fa-consolidate\":\"LegsFieldset_fa-consolidate_EZtQC\",\"fa-split\":\"LegsFieldset_fa-split_w9n3z\",\"mdi-food-fork-drink\":\"LegsFieldset_mdi-food-fork-drink_wrjvf\",\"mdi-package-variant\":\"LegsFieldset_mdi-package-variant_MKLJh\",\"mdi-call-merge\":\"LegsFieldset_mdi-call-merge_OCSav\",\"mdi-tray-arrow-up\":\"LegsFieldset_mdi-tray-arrow-up_Hm3Aq\",\"fa-arrow-circle-up\":\"LegsFieldset_fa-arrow-circle-up_xCVlD\",\"fa-arrow-circle-down\":\"LegsFieldset_fa-arrow-circle-down_rz540\",\"mdi-calendar-check\":\"LegsFieldset_mdi-calendar-check_Ppjbe\",\"mdi-calendar-remove\":\"LegsFieldset_mdi-calendar-remove_Srk9z\",\"stop-tooltip\":\"LegsFieldset_stop-tooltip_wZoYg\",\"bold\":\"LegsFieldset_bold_HFEMl\",\"tooltip-header\":\"LegsFieldset_tooltip-header_MIWLm\",\"tooltip-content\":\"LegsFieldset_tooltip-content_pr_GK\",\"stops\":\"LegsFieldset_stops_Wj13m\",\"tooltip-attrs\":\"LegsFieldset_tooltip-attrs_cs4ko\",\"attr\":\"LegsFieldset_attr_zHLqD\",\"warnings\":\"LegsFieldset_warnings_xWx2Z\",\"b-panel-body-wrap\":\"LegsFieldset_b-panel-body-wrap_c4BJW\",\"b-panel-content\":\"LegsFieldset_b-panel-content_TWJbD\",\"b-tooltip-content\":\"LegsFieldset_b-tooltip-content_ptT6X\",\"t-radio\":\"LegsFieldset_t-radio_z36sp\",\"t-checkbox\":\"LegsFieldset_t-checkbox_c5c2d\",\"floating-label\":\"LegsFieldset_floating-label_gdTjF\",\"floating-label-inset\":\"LegsFieldset_floating-label-inset_RPoGG\",\"legItem\":\"LegsFieldset_legItem_zSp1A\"};","import { render, staticRenderFns } from \"./LegsFieldset.vue?vue&type=template&id=35fb7685\"\nimport script from \"./LegsFieldset.vue?vue&type=script&lang=ts\"\nexport * from \"./LegsFieldset.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LegsFieldset.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VBtn,{class:_vm.$style.jobbookingCreateSubmitBtn,attrs:{\"type\":\"button\",\"rounded\":\"\",\"depressed\":\"\",\"x-large\":\"\",\"disabled\":_vm.loading || _vm.disabled},on:{\"click\":_vm.handleClick}},[_c('span',{class:_vm.$style.text},[_vm._v(\"Clone the job\")]),_c('span',{class:_vm.$style.iconWrapper},[(_vm.loading)?_c(VIcon,{class:_vm.$style.icon + ' mdi-spin'},[_vm._v(\"mdi-loading\")]):_c(VIcon,{class:_vm.$style.icon},[_vm._v(\"mdi-content-duplicate\")])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class JobbookingCreateSubmitBtn extends Vue {\n @Prop(Boolean) public disabled: boolean;\n @Prop(Boolean) public loading: boolean;\n\n public handleClick(event: SubmitEvent | PointerEvent) {\n this.$emit('click', event);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobbookingCreateSubmitBtn.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobbookingCreateSubmitBtn.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"JobbookingCreateSubmitBtn_sidemenu_Ekzyh\",\"layout-wrapper\":\"JobbookingCreateSubmitBtn_layout-wrapper_SwuzT\",\"wrapper-portal\":\"JobbookingCreateSubmitBtn_wrapper-portal_PdVEh\",\"wrapper-portal-dash\":\"JobbookingCreateSubmitBtn_wrapper-portal-dash_m3ZKZ\",\"container\":\"JobbookingCreateSubmitBtn_container_CHhwC\",\"b-fa\":\"JobbookingCreateSubmitBtn_b-fa_P5VSd\",\"mdi-stairs\":\"JobbookingCreateSubmitBtn_mdi-stairs_AScVN\",\"mdi-progress-wrench\":\"JobbookingCreateSubmitBtn_mdi-progress-wrench_Y0U7u\",\"mdi-wrench\":\"JobbookingCreateSubmitBtn_mdi-wrench_XDvP2\",\"mdi-file-document\":\"JobbookingCreateSubmitBtn_mdi-file-document_rjBaM\",\"mdi-account\":\"JobbookingCreateSubmitBtn_mdi-account_zU0ni\",\"mdi-caravan\":\"JobbookingCreateSubmitBtn_mdi-caravan_MPron\",\"mdi-forklift\":\"JobbookingCreateSubmitBtn_mdi-forklift_OUaEk\",\"mdi-account-plus\":\"JobbookingCreateSubmitBtn_mdi-account-plus_kC047\",\"mdi-format-align-bottom\":\"JobbookingCreateSubmitBtn_mdi-format-align-bottom_qzPn9\",\"mdi-clock-alert\":\"JobbookingCreateSubmitBtn_mdi-clock-alert_hxvYI\",\"mdi-school\":\"JobbookingCreateSubmitBtn_mdi-school_uqYrP\",\"mdi-face-mask\":\"JobbookingCreateSubmitBtn_mdi-face-mask_apgfx\",\"fa\":\"JobbookingCreateSubmitBtn_fa_A59Wx\",\"fa-angle-up\":\"JobbookingCreateSubmitBtn_fa-angle-up_K0zi_\",\"fa-angle-left\":\"JobbookingCreateSubmitBtn_fa-angle-left_LOCA8\",\"fa-search\":\"JobbookingCreateSubmitBtn_fa-search_ceAa7\",\"fa-consolidate\":\"JobbookingCreateSubmitBtn_fa-consolidate_lUeL2\",\"fa-split\":\"JobbookingCreateSubmitBtn_fa-split_Ntxq8\",\"mdi-food-fork-drink\":\"JobbookingCreateSubmitBtn_mdi-food-fork-drink_WowTE\",\"mdi-package-variant\":\"JobbookingCreateSubmitBtn_mdi-package-variant_iWz28\",\"mdi-call-merge\":\"JobbookingCreateSubmitBtn_mdi-call-merge_Wp8Cv\",\"mdi-tray-arrow-up\":\"JobbookingCreateSubmitBtn_mdi-tray-arrow-up_LhiG6\",\"fa-arrow-circle-up\":\"JobbookingCreateSubmitBtn_fa-arrow-circle-up_RKOdr\",\"fa-arrow-circle-down\":\"JobbookingCreateSubmitBtn_fa-arrow-circle-down_vGgHF\",\"mdi-calendar-check\":\"JobbookingCreateSubmitBtn_mdi-calendar-check_XaNr3\",\"mdi-calendar-remove\":\"JobbookingCreateSubmitBtn_mdi-calendar-remove_MjbV5\",\"stop-tooltip\":\"JobbookingCreateSubmitBtn_stop-tooltip_XYoLv\",\"bold\":\"JobbookingCreateSubmitBtn_bold_kYlcO\",\"tooltip-header\":\"JobbookingCreateSubmitBtn_tooltip-header_agBkL\",\"tooltip-content\":\"JobbookingCreateSubmitBtn_tooltip-content_SFK2X\",\"stops\":\"JobbookingCreateSubmitBtn_stops_BcWAm\",\"tooltip-attrs\":\"JobbookingCreateSubmitBtn_tooltip-attrs_FP5u2\",\"attr\":\"JobbookingCreateSubmitBtn_attr_VU7kP\",\"warnings\":\"JobbookingCreateSubmitBtn_warnings_nkqmJ\",\"b-panel-body-wrap\":\"JobbookingCreateSubmitBtn_b-panel-body-wrap_R0o8V\",\"b-panel-content\":\"JobbookingCreateSubmitBtn_b-panel-content_ek0rL\",\"b-tooltip-content\":\"JobbookingCreateSubmitBtn_b-tooltip-content_A2IE3\",\"t-radio\":\"JobbookingCreateSubmitBtn_t-radio_BMcrz\",\"t-checkbox\":\"JobbookingCreateSubmitBtn_t-checkbox_PSaRd\",\"floating-label\":\"JobbookingCreateSubmitBtn_floating-label_l5dZO\",\"floating-label-inset\":\"JobbookingCreateSubmitBtn_floating-label-inset_jIS2u\",\"jobbookingCreateSubmitBtn\":\"JobbookingCreateSubmitBtn_jobbookingCreateSubmitBtn_W4r6b\",\"text\":\"JobbookingCreateSubmitBtn_text_iKVuR\",\"iconWrapper\":\"JobbookingCreateSubmitBtn_iconWrapper_nYDUs\",\"icon\":\"JobbookingCreateSubmitBtn_icon_br0Yn\"};","import { render, staticRenderFns } from \"./JobbookingCreateSubmitBtn.vue?vue&type=template&id=217d7120\"\nimport script from \"./JobbookingCreateSubmitBtn.vue?vue&type=script&lang=ts\"\nexport * from \"./JobbookingCreateSubmitBtn.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobbookingCreateSubmitBtn.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport CustomerDetailsFieldset from '@/components/fieldsets/CustomerDetailsFieldset.vue';\nimport ChooseAddressFieldset from '@/components/fieldsets/ChooseAddressFieldset.vue';\nimport LegsFieldset from '@/components/fieldsets/LegsFieldset.vue';\nimport JobbookingCreateSubmitBtn from '@/components/btns/JobbookingCreateSubmitBtn.vue';\nimport { JobDetailedData } from '@/models/jobDetailed';\n// import { fetchPostJobClone } from '@/helpers/fetchers';\nimport * as routeNames from '@/router/routeNames';\nimport { cloneDetailedJob, uncloneDetailedJob, getIsDatesError } from '@/helpers/booking';\n\n@Component({\n components: {\n CustomerDetailsFieldset,\n ChooseAddressFieldset,\n LegsFieldset,\n JobbookingCreateSubmitBtn,\n },\n})\nexport default class JobbookingCreateForm extends Vue {\n @Prop(Boolean) public isInitialLoading?: boolean;\n @Prop(Object) public initialDetailedJob?: JobDetailedData;\n\n public isSubmitting = false;\n public detailedJob?: JobDetailedData | null = null;\n public isValid = true;\n public isDatesError = false;\n\n get isLoading() {\n return this.isInitialLoading || this.isSubmitting;\n }\n\n @Watch('initialDetailedJob', { immediate: true })\n private watchInitialDetailedJob(initialDetailedJob) {\n if (this.detailedJob) {\n return;\n }\n if (this.initialDetailedJob) {\n this.detailedJob = cloneDetailedJob(initialDetailedJob);\n }\n }\n\n @Watch('detailedJob.stops', { deep: true })\n private isErrorWatcher() {\n if (!this.detailedJob) {\n return;\n }\n this.isDatesError = getIsDatesError(this.detailedJob.stops);\n }\n\n public handleSubmit(event: SubmitEvent | PointerEvent) {\n event.preventDefault();\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n if (!this.$refs.form.validate()) {\n return;\n }\n if (!this.detailedJob) {\n return;\n }\n if (this.isDatesError) {\n return;\n }\n this.isSubmitting = true;\n // fetchPostJobClone(uncloneDetailedJob(this.detailedJob))\n // .then(({ jobId, jobDate }) => {\n // return this.$router.push({\n // name: routeNames.DETAILED_QUERY_JOB,\n // query: { job_id: String(jobId), job_date: jobDate },\n // });\n // })\n // .finally(() => {\n // this.isSubmitting = false;\n // });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobbookingCreateForm.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobbookingCreateForm.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobbookingCreateForm.vue?vue&type=template&id=5c45dfc5\"\nimport script from \"./JobbookingCreateForm.vue?vue&type=script&lang=ts\"\nexport * from \"./JobbookingCreateForm.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VAutocomplete,{attrs:{\"items\":_vm.itemSearch,\"loading\":_vm.loading,\"item-text\":\"name\",\"outlined\":\"\",\"clearable\":\"\",\"rules\":[v => !_vm.required || !!v || 'Customer code is required field'],\"label\":\"Customer code\",\"background-color\":\"white\",\"validate-on-blur\":\"\",\"tabindex\":_vm.tabIndex,\"disabled\":_vm.disabled,\"autofocus\":_vm.focus && _vm.input === '' ? true : false},on:{\"update:search-input\":_vm.search,\"change\":function($event){return _vm.change(_vm.input)},\"focus\":function($event){_vm.inputVal = ''},\"blur\":_vm.blur},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c(VListItem,[(_vm.loading)?_c(VListItemTitle,[_vm._v(\"Loading...\")]):(!_vm.loading && _vm.inputVal && _vm.inputVal.length >= 1 && _vm.itemSearch && _vm.itemSearch.length === 0)?_c(VListItemTitle,[_vm._v(\"Not found\")]):_c(VListItemTitle,[_vm._v(\"Enter more than 1 character\")])],1)]},proxy:true}]),model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:\"input\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { ILookUp } from '@/models/main';\nimport { ISelectSuburb } from '@/models/jbAdvanced';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n/**\n * Autocomplete component to lookup Customer code\n * @property stop unknown prop\n * @property focus enable v-autocomplete autofocus\n * @property chosen unknown prop\n * @property tabIndex unknown prop\n */\n@Component({})\nexport default class LookupCustomerCode extends Vue {\n //TODO: if required false and exclamation mark is set why there is no default values???\n @Prop({ type: Number, required: false }) private readonly stop!: number;\n @Prop({ type: Boolean, required: false }) public readonly focus!: boolean;\n @Prop({ type: Boolean, required: false }) public readonly disabled!: boolean;\n @Prop({ type: Boolean, required: false }) public readonly required!: boolean;\n @Prop({ type: String, required: false }) private readonly chosen!: string;\n @Prop({ type: Number, required: false }) public readonly tabIndex!: number;\n @Prop({ type: Function, required: true }) private autocomplete!: (params: ILookUp) => Promise;\n\n public input = '';\n public inputVal = '';\n public itemSearch: ISelectSuburb[] = [];\n public loading = false;\n\n @Watch('chosen')\n private changeChosen() {\n if (this.chosen === '') {\n this.input = '';\n } else {\n const params: ILookUp = {\n dates: '',\n driver_id: '',\n service_code: '',\n customer_code: this.chosen,\n };\n this.autocomplete(params)\n .then(data => {\n this.itemSearch = data;\n this.change(this.chosen);\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n }\n }\n\n public search(val: string) {\n if (val === this.input) {\n return;\n }\n this.inputVal = val;\n if (val?.length >= 1) {\n this.itemSearch = [];\n this.loading = true;\n const params: ILookUp = {\n dates: '',\n driver_id: '',\n service_code: '',\n customer_code: val,\n };\n this.autocomplete(params)\n .then(data => {\n this.itemSearch = data;\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n }\n }\n public change(val) {\n this.input = val;\n if (this.itemSearch.indexOf(val) > -1) {\n this.inputVal = val;\n if (this.stop) {\n this.$emit('change', val);\n } else {\n this.$emit('change', val);\n }\n } else {\n this.input = '';\n if (this.stop) {\n this.$emit('clear', this.stop);\n } else {\n this.$emit('clear');\n }\n }\n }\n\n public blur() {\n if (this.input !== this.inputVal && this.inputVal && this.inputVal.length > 0) {\n this.input = '';\n if (this.stop) {\n this.$emit('clear', this.stop);\n } else {\n this.$emit('clear');\n }\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupCustomerCode.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupCustomerCode.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupCustomerCode.vue?vue&type=template&id=b0b2c274&scoped=true\"\nimport script from \"./LookupCustomerCode.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupCustomerCode.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b0b2c274\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"pr-4\"},[_c('h4',{staticClass:\"mt-4\"},[_vm._v(\"Date\")]),_c(VMenu,{attrs:{\"close-on-content-click\":false,\"nudge-right\":40,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"max-width\":\"auto\",\"min-width\":\"auto\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on }){return [_c(VTextField,_vm._g({attrs:{\"prepend-icon\":\"mdi-calendar\",\"readonly\":\"\",\"outlined\":\"\",\"label\":\"Date\",\"tabindex\":_vm.stop * _vm.tabItemsPrevCount + _vm.tabItemsPrevCount + 1},model:{value:(_vm.dateTimes[_vm.stop].date),callback:function ($$v) {_vm.$set(_vm.dateTimes[_vm.stop], \"date\", $$v)},expression:\"dateTimes[stop].date\"}},on))]}}]),model:{value:(_vm.menu[_vm.stop]),callback:function ($$v) {_vm.$set(_vm.menu, _vm.stop, $$v)},expression:\"menu[stop]\"}},[_c(VDatePicker,{attrs:{\"no-title\":\"\",\"scrollable\":\"\",\"first-day-of-week\":\"1\",\"min\":_vm.today,\"show-current\":_vm.today},on:{\"input\":function($event){_vm.menu[_vm.stop] = false}},model:{value:(_vm.dateTimes[_vm.stop].date),callback:function ($$v) {_vm.$set(_vm.dateTimes[_vm.stop], \"date\", $$v)},expression:\"dateTimes[stop].date\"}},[_c(VSpacer),(_vm.$ability.can('staff', 'Job'))?_c(VBtn,{staticClass:\"bg-purple-400 text-white\",attrs:{\"text\":\"\",\"color\":\"white\"},on:{\"click\":function($event){return _vm.todayClick(_vm.stop)}}},[_vm._v(\"Today\")]):_vm._e()],1)],1),(!_vm.warehouse)?_c('div',{staticClass:\"time-toggle-wrapper d-flex align-center justify-space-between\"},[_c(VSwitch,{staticClass:\"time-toggle mx-0 mt-2\",attrs:{\"tabindex\":_vm.stop * _vm.tabItemsPrevCount + _vm.tabItemsPrevCount + 2,\"label\":\"Time Required\",\"color\":\"#9C8CFF\"},on:{\"change\":function($event){return _vm.timeChanged(_vm.stop)}},model:{value:(_vm.dateTimes[_vm.stop].timeIsSetted),callback:function ($$v) {_vm.$set(_vm.dateTimes[_vm.stop], \"timeIsSetted\", $$v)},expression:\"dateTimes[stop].timeIsSetted\"}}),_c('div',{staticClass:\"d-flex mt-5\"},[_c('Button',{attrs:{\"text\":\"AM\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"data-cy\":\"time-default-am\",\"tabindex\":_vm.stop * _vm.tabItemsPrevCount + _vm.tabItemsPrevCount + 3},nativeOn:{\"click\":function($event){return _vm.defaultSelectorClick('AM', _vm.stop)}}}),_c('Button',{staticClass:\"ml-3\",attrs:{\"text\":\"PM\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"data-cy\":\"time-default-pm\",\"tabindex\":_vm.stop * _vm.tabItemsPrevCount + _vm.tabItemsPrevCount + 4},nativeOn:{\"click\":function($event){return _vm.defaultSelectorClick('PM', _vm.stop)}}})],1)],1):_vm._e(),(_vm.dateTimes[_vm.stop].timeIsSetted && !_vm.warehouse)?_c(VRow,[_c(VCol,{attrs:{\"col\":\"6\"}},[_c('h5',[_vm._v(\"From:\")]),_c(VSelect,{attrs:{\"items\":_vm.timeArray[_vm.stop],\"menu-props\":\"auto\",\"tabindex\":_vm.stop * _vm.tabItemsPrevCount + _vm.tabItemsPrevCount + 5,\"rules\":[v => !!v || 'Time from is required field'],\"label\":\"Time:\",\"outlined\":\"\",\"data-cy\":\"time-select-from\"},on:{\"change\":function($event){return _vm.timeChanged(_vm.stop)}},model:{value:(_vm.dateTimes[_vm.stop].timeFrom),callback:function ($$v) {_vm.$set(_vm.dateTimes[_vm.stop], \"timeFrom\", $$v)},expression:\"dateTimes[stop].timeFrom\"}})],1),_c(VCol,{attrs:{\"col\":\"6\"}},[_c('h5',[_vm._v(\"To:\")]),_c(VSelect,{attrs:{\"items\":_vm.timeToArray[_vm.stop],\"tabindex\":_vm.stop * _vm.tabItemsPrevCount + _vm.tabItemsPrevCount + 6,\"rules\":[v => !!v || 'Time to is required field'],\"menu-props\":\"auto\",\"label\":\"Time:\",\"outlined\":\"\",\"data-cy\":\"time-select-to\"},on:{\"change\":function($event){return _vm.timeChanged(_vm.stop)}},model:{value:(_vm.dateTimes[_vm.stop].timeTo),callback:function ($$v) {_vm.$set(_vm.dateTimes[_vm.stop], \"timeTo\", $$v)},expression:\"dateTimes[stop].timeTo\"}})],1)],1):_vm._e(),(_vm.dateTimes[_vm.stop].timeIsSetted && _vm.dateTimes[_vm.stop].priority)?_c(VRow,[_c('div',{staticClass:\"d-flex align-baseline ma-0 pa-0 mx-3\"},[_c(VIcon,{staticClass:\"icon mt-1\",attrs:{\"size\":\"16\",\"color\":\"orange\"}},[_vm._v(\"mdi-alert-box\")]),_c('p',{staticClass:\"warning-priority-title ma-0 ml-2\"},[_vm._v(\"Priority service\")])],1),_c('p',{staticClass:\"warning-priority ma-0 mt-2 ml-3 mb-3 pa-0 pr-8\"},[_vm._v(\" This time window will incur a Priority Service which will include additional charges \")])]):_vm._e(),(_vm.defaultSelectorClicked[_vm.stop])?_c(VRow,[_c('div',{staticClass:\"d-flex align-baseline ma-0 pa-0 mx-3\"},[_c(VIcon,{staticClass:\"icon mt-1\",attrs:{\"size\":\"16\",\"color\":\"orange\"}},[_vm._v(\"mdi-alert-box\")]),_c('p',{staticClass:\"warning-priority-title ma-0 ml-2\"},[_vm._v(\"Requested Times May Incur Additional Charges\")])],1)]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { User } from '@/models/main';\nimport { JBStopDates } from '@/models/jbAdvanced';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport Button from '@/components/UI/button/Button.vue';\n\nimport { mapState } from 'vuex';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport { generateDayTimesAmPm, formatDateStringWithTZ } from '@/utils/InputProcessingUtilities';\n\n@Component({\n components: {\n Button,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class DeliveryDetails extends Vue {\n @Prop(Number) private stop: number;\n @Prop(Number) private stops_counter: number;\n @Prop(Boolean) private warehouse: boolean;\n @Prop(Array) private dateTimes: JBStopDates[];\n\n private user!: User;\n\n private timeArray: string[][] = [];\n private timeToArray: string[][] = [];\n private menu = [];\n\n private today = '';\n\n private defaultSelectorClicked = [false, false, false];\n\n private tabItemsCount = 6;\n private tabItemsPrevCount = 22;\n\n public todayClick(stop): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const nowMil = utcToZonedTime(new Date(), userTimeZone).getTime();\n // Look for a time slot:\n const roundedMil = Math.round(nowMil / 1000 / 60 / 30) * 30 * 60 * 1000;\n const todayTime = format(new Date(roundedMil), 'hh:mm aa');\n const nextTimeIdx = this.timeArray[stop].indexOf(todayTime) + 1;\n const todayDate = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n // Set the time starting from the 1st stop\n // Corner case: late time (ex: 11:00 PM on the 1st stop – no slots for 2nd)\n for (let i = 0; i < this.dateTimes.length; i++) {\n this.dateTimes[i].timeFrom = todayTime;\n this.dateTimes[i].timeTo = this.timeArray[i][nextTimeIdx];\n this.dateTimes[i].date = todayDate;\n this.dateTimes[i].dateFormatted = todayDate;\n this.dateTimes[i].timeIsSetted = true;\n }\n }\n\n private completionArrayTime(): void {\n this.timeArray[0] = generateDayTimesAmPm(30);\n this.timeArray[1] = [...this.timeArray[0]];\n this.timeArray[2] = [...this.timeArray[0]];\n this.timeToArray = [...this.timeArray];\n }\n\n private defaultSelectorClick(value, stop): void {\n this.dateTimes[stop].timeIsSetted = true;\n this.defaultSelectorClicked[stop] = true;\n if (value === 'AM') {\n this.dateTimes[stop].timeFrom = '09:00 AM';\n this.dateTimes[stop].timeTo = '12:00 PM';\n }\n if (value === 'PM') {\n this.dateTimes[stop].timeFrom = '12:00 PM';\n this.dateTimes[stop].timeTo = '05:00 PM';\n }\n }\n\n private timeChanged(stop): void {\n this.defaultSelectorClicked[stop] = false;\n }\n\n @Watch('dateTimes', { deep: true })\n private watchToDateTimes(): void {\n this.dateTimes.map((date, i) => {\n this.dateTimes[i].dateFormatted = formatDateStringWithTZ(\n date.date,\n this.user.timezone || timeZoneDefault,\n 'yyyy-MM-dd',\n );\n });\n if (this.dateTimes[0] && this.dateTimes[1] && this.dateTimes[1].date === this.dateTimes[0].date) {\n const stop1timeFromIndex = this.timeArray[0].indexOf(this.dateTimes[0].timeFrom);\n const stop2timeFromIndex = this.timeArray[0].indexOf(this.dateTimes[1].timeFrom);\n const nextTime = this.timeArray[0][stop1timeFromIndex + 1];\n\n if (stop1timeFromIndex >= stop2timeFromIndex) {\n this.dateTimes[1].timeFrom = nextTime;\n }\n if (stop1timeFromIndex > 0) {\n this.timeToArray[0] = [...this.timeArray[0]];\n this.timeToArray[0].splice(0, stop1timeFromIndex + 1);\n this.timeArray[1] = [...this.timeToArray[0]];\n }\n } else {\n this.timeArray[1] = [...this.timeArray[0]];\n this.timeToArray[1] = [...this.timeArray[0]];\n }\n\n // Stop 3 time & timelist correction if dates are same\n if (this.dateTimes[1] && this.dateTimes[2] && this.dateTimes[2].date === this.dateTimes[1].date) {\n const stop2timeFromIndex = this.timeArray[0].indexOf(this.dateTimes[1].timeFrom);\n const stop3timeFromIndex = this.timeArray[0].indexOf(this.dateTimes[2].timeFrom);\n const nextTime = this.timeArray[0][stop2timeFromIndex + 1];\n if (stop2timeFromIndex >= stop3timeFromIndex || stop2timeFromIndex === -1) {\n this.dateTimes[2].timeFrom = nextTime;\n }\n this.timeToArray[2] = [...this.timeArray[1]];\n this.timeToArray[2].splice(0, stop2timeFromIndex + 1);\n this.timeArray[2] = [...this.timeToArray[1]];\n } else {\n this.timeArray[2] = [...this.timeArray[0]];\n this.timeToArray[2] = [...this.timeArray[0]];\n }\n\n this.dateTimes.map((date, idx) => {\n // filtering timeTo array\n const timeFromIdx = this.timeArray[idx].indexOf(date.timeFrom);\n this.timeToArray[idx] = [...this.timeArray[idx]];\n this.timeToArray[idx].splice(0, timeFromIdx + 1);\n if (this.timeArray[idx].indexOf(date.timeTo) <= this.timeArray[idx].indexOf(date.timeFrom)) {\n this.dateTimes[idx].timeTo = this.timeToArray[idx][0];\n }\n });\n this.$emit('changeDates', this.dateTimes);\n }\n\n private created(): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.today = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd'); // today\n }\n\n private mounted(): void {\n this.completionArrayTime();\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DateTimes.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DateTimes.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DateTimes.vue?vue&type=template&id=646a1c5c&scoped=true\"\nimport script from \"./DateTimes.vue?vue&type=script&lang=ts\"\nexport * from \"./DateTimes.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DateTimes.scss?vue&type=style&index=0&id=646a1c5c&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"646a1c5c\",\n null\n \n)\n\nexport default component.exports","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VDialog,{attrs:{\"persistent\":\"\",\"max-width\":\"800\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({}){return [_c('div',[_c('Button',{attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-cloud-upload-outline\",\"text\":\"Attach files\"},nativeOn:{\"click\":function($event){_vm.modal = true}}})],1)]}}]),model:{value:(_vm.modal),callback:function ($$v) {_vm.modal=$$v},expression:\"modal\"}},[_c(VCard,{staticClass:\"px-5 pt-10\"},[_c('div',{staticClass:\"modal-header pb-15 d-flex justify-space-between align-center\"},[_c('div',[_vm._v(\"Attached files \"),_c('span',{staticClass:\"modal-header-desk\"},[_vm._v(\"/ 5 files limit\")])]),_c(VIcon,{attrs:{\"color\":\"black\",\"size\":\"40\"},on:{\"click\":function($event){_vm.modal = false}}},[_vm._v(\"mdi-close\")])],1),_c('DropZone',{on:{\"filesAdded\":_vm.onFilesAdded}}),_c(VExpandTransition,[(_vm.files.length > 0)?_c(VDataTable,{staticClass:\"mt-8 dropZone-table\",attrs:{\"headers\":_vm.filesHeaders,\"items\":_vm.files,\"hide-default-footer\":\"\",\"disable-sort\":\"\",\"disable-pagination\":\"\"},scopedSlots:_vm._u([{key:`item.size`,fn:function({ item }){return [(item.size < 1024)?_c('span',[_vm._v(_vm._s(item.size.toFixed(1))+\" b\")]):(item.size / 1024 < 1024)?_c('span',[_vm._v(_vm._s((item.size / 1024).toFixed(1))+\" kb\")]):_c('span',[_vm._v(_vm._s((item.size / 1024 / 1024).toFixed(1))+\" mb\")])]}},{key:`item.delete`,fn:function({ item }){return [_c(VIcon,{attrs:{\"size\":\"20\"},on:{\"click\":function($event){return _vm.deleteFiles(item)}}},[_vm._v(\"mdi-trash-can-outline\")])]}}],null,true)}):_vm._e()],1),_c('div',{staticClass:\"d-flex justify-end pb-5 pt-15\"},[_c('Button',{staticStyle:{\"width\":\"240px\"},attrs:{\"disabled\":_vm.files.length === 0,\"size\":\"big\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-check\",\"text\":\"Attach files\"},nativeOn:{\"click\":function($event){return _vm.attachFiles.apply(null, arguments)}}})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { uploadJobFiles } from '@/api';\nimport Button from '@/components/UI/button/Button.vue';\nimport DropZone from '@/components/UI/dropZone/DropZone.vue';\nimport { Header } from '@/models/main';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport { notificationErrorText } from '@/utils/PortalConstants';\n\n@Component({\n components: {\n Button,\n DropZone,\n },\n})\nexport default class AddImage extends Vue {\n @Prop(Array) private readonly PFiles: File[];\n @Prop({ type: Number, required: false }) private readonly rh_id!: number;\n @Prop({ type: String, required: false }) private readonly rh_date!: string;\n\n private modal = false;\n private files: File[] = [];\n private filesHeaders: Header[] = [\n { text: 'Name', value: 'name' },\n { text: 'Size', value: 'size', align: 'center' },\n { text: 'Delete', value: 'delete', align: 'center' },\n ];\n @Watch('PFiles', { immediate: true, deep: true })\n private watchToPGoods() {\n if (!this.PFiles) {\n this.files = [];\n }\n }\n private onFilesAdded(files: File[]): void {\n this.files = [...this.files, ...files];\n if (this.files.length > 5) {\n alert('You are only allowed to upload a maximum of 5 files');\n this.files.splice(5);\n }\n }\n private deleteFiles(item: File): void {\n this.files.splice(this.files.indexOf(item), 1);\n }\n\n private attachFiles(): void {\n const params = {\n rh_id: this.rh_id,\n rh_date: this.rh_date,\n files: this.files,\n };\n uploadJobFiles(params)\n .then(res => {\n this.$emit('changeFiles', this.rh_id, res.data.saved);\n this.modal = false;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Attachments upload failed',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FileUploader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FileUploader.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FileUploader.vue?vue&type=template&id=c360e6d6&scoped=true\"\nimport script from \"./FileUploader.vue?vue&type=script&lang=ts\"\nexport * from \"./FileUploader.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FileUploader.scss?vue&type=style&index=0&id=c360e6d6&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c360e6d6\",\n null\n \n)\n\nexport default component.exports","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VAutocomplete,{attrs:{\"items\":_vm.itemSearch,\"loading\":_vm.loading,\"item-text\":\"name\",\"outlined\":\"\",\"clearable\":\"\",\"label\":\"Model\",\"required\":\"\",\"rules\":[v => !!v || 'Model is required field'],\"disabled\":_vm.disabled,\"tabindex\":_vm.tabIndex},on:{\"update:search-input\":_vm.search,\"change\":_vm.change,\"focus\":function($event){_vm.inputVal = ''},\"blur\":_vm.blur},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c(VListItem,[(_vm.loading)?_c(VListItemTitle,[_vm._v(\"Loading...\")]):(!_vm.loading && _vm.inputVal && _vm.inputVal.length >= 3 && _vm.itemSearch.length === 0)?_c(VListItemTitle,[_vm._v(\"Not found\")]):_c(VListItemTitle,[_vm._v(\"Enter more than 3 characters\")])],1)]},proxy:true}]),model:{value:(_vm.input),callback:function ($$v) {_vm.input=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"input\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { ModelLookupChosenValue } from '@/models/main';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n@Component({})\nexport default class Autocomplete extends Vue {\n @Prop({ type: Number, required: true }) private readonly stop!: number;\n @Prop({ type: Number, required: false }) private readonly tabIndex!: number;\n @Prop({ type: Object, required: false }) private readonly chosen!: ModelLookupChosenValue;\n @Prop({ type: Boolean, required: false }) private readonly disabled!: boolean;\n @Prop({ type: Function, required: true }) private autocomplete!: (\n params: string,\n ) => Promise;\n\n private input = '';\n private inputVal = '';\n private itemSearch: ModelLookupChosenValue[] = [];\n private loading = false;\n\n private search(val: string | null) {\n if (val === this.input || val == null) {\n return;\n } else {\n this.inputVal = val;\n if (val?.length >= 3) {\n this.itemSearch = [];\n this.loading = true;\n this.autocomplete(val)\n .then(data => {\n this.itemSearch = data;\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n }\n }\n }\n private change() {\n const item = this.itemSearch.filter(x => x.name === this.input)[0];\n if (item) {\n this.input = item.name;\n this.inputVal = item.name;\n this.$emit('change', this.stop, item);\n } else {\n this.$emit('clear', this.stop);\n }\n }\n\n private blur() {\n if (this.inputVal && this.input !== this.inputVal && this.inputVal.length > 0) {\n this.input = '';\n this.$emit('clear', this.stop);\n }\n }\n\n @Watch('chosen', { immediate: true, deep: true })\n private watchToChosen() {\n if (this.input !== this.chosen.name) {\n this.inputVal = this.chosen.name;\n this.itemSearch = [];\n this.loading = true;\n this.autocomplete(this.chosen.name)\n .then(data => {\n const find = data.find(x => x.product_id === this.chosen.product_id);\n if (find) {\n this.itemSearch = data;\n this.input = find.name;\n this.$emit('change', this.stop, find);\n }\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Autocomplete.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Autocomplete.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Autocomplete.vue?vue&type=template&id=a6a204b0&scoped=true\"\nimport script from \"./Autocomplete.vue?vue&type=script&lang=ts\"\nexport * from \"./Autocomplete.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a6a204b0\",\n null\n \n)\n\nexport default component.exports","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VAutocomplete,{attrs:{\"items\":_vm.itemSearch,\"loading\":_vm.loading,\"item-text\":\"name\",\"outlined\":\"\",\"clearable\":\"\",\"label\":\"Finisher\",\"required\":\"\",\"rules\":[v => !!v || 'Finisher is required field'],\"disabled\":_vm.disabled,\"tabindex\":_vm.tabIndex,\"menu-props\":{ closeOnContentClick: true }},on:{\"update:search-input\":_vm.search,\"change\":_vm.change,\"focus\":function($event){_vm.inputVal = ''},\"blur\":_vm.blur},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c(VListItem,[(_vm.loading)?_c(VListItemTitle,[_vm._v(\"Loading...\")]):(!_vm.loading && _vm.inputVal && _vm.inputVal.length >= 3 && _vm.itemSearch.length === 0)?_c(VListItemTitle,[_vm._v(\"Not found\")]):_c(VListItemTitle,[_vm._v(\"Enter more than 3 characters\")])],1)]},proxy:true}]),model:{value:(_vm.input),callback:function ($$v) {_vm.input=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"input\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { ModelLookupChosenValue } from '@/models/main';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n@Component({})\nexport default class AutocompleteFinisher extends Vue {\n @Prop({ type: Number, required: true }) private readonly stop!: number;\n @Prop({ type: Number, required: false }) private readonly tabIndex!: number;\n @Prop({ type: Object, required: false }) private readonly chosen!: ModelLookupChosenValue;\n @Prop({ type: Boolean, required: false }) private readonly disabled!: boolean;\n @Prop(String) private readonly customerCode: string;\n\n @Prop({ type: Function, required: true }) private autocomplete!: (\n model: string,\n customer: string,\n ) => Promise;\n\n private input = '';\n private inputVal = '';\n private itemSearch: ModelLookupChosenValue[] = [];\n private loading = false;\n\n private search(val: string | null) {\n if (val === this.input || val == null) {\n return;\n } else {\n this.inputVal = val;\n if (val?.length >= 3) {\n this.itemSearch = [];\n this.loading = true;\n this.autocomplete(val, this.customerCode)\n .then(data => {\n this.itemSearch = data;\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n }\n }\n }\n private change() {\n const item = this.itemSearch.filter(x => x.name === this.input)[0];\n if (item) {\n this.input = item.name;\n this.inputVal = item.name;\n this.$emit('change', this.stop, item);\n } else {\n this.$emit('clear', this.stop);\n }\n }\n\n private blur() {\n if (this.inputVal && this.input !== this.inputVal && this.inputVal.length > 0) {\n this.input = '';\n this.$emit('clear', this.stop);\n }\n }\n\n @Watch('chosen', { immediate: true, deep: true })\n private watchToChosen() {\n if (this.input !== this.chosen.name) {\n this.inputVal = this.chosen.name;\n this.itemSearch = [];\n this.loading = true;\n this.autocomplete(this.chosen.name, this.customerCode)\n .then(data => {\n const find = data.find(x => x.product_id === this.chosen.product_id);\n if (find) {\n this.itemSearch = data;\n this.input = find.name;\n this.$emit('change', this.stop, find);\n }\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AutocompleteFinisher.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AutocompleteFinisher.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AutocompleteFinisher.vue?vue&type=template&id=b73ff7f8&scoped=true\"\nimport script from \"./AutocompleteFinisher.vue?vue&type=script&lang=ts\"\nexport * from \"./AutocompleteFinisher.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b73ff7f8\",\n null\n \n)\n\nexport default component.exports","import { VContainer } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 py-0\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(_vm._s(_vm.title))])]),_c('div',{staticClass:\"page_subtitle\"},[_c('p',{staticClass:\"subtitle mt-2\"},[_vm._v(_vm._s(_vm.subtitle))])])],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({\n components: {\n BackButton,\n },\n})\nexport default class Header extends Vue {\n @Prop({ type: String, required: false, default: 'Job Booking' }) public title!: string;\n @Prop({ type: String, required: false, default: 'Order a job in a convenient way for you:' })\n public subtitle!: string;\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Header.vue?vue&type=template&id=7ae22da8&scoped=true\"\nimport script from \"./Header.vue?vue&type=script&lang=ts\"\nexport * from \"./Header.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Header.scss?vue&type=style&index=0&id=7ae22da8&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ae22da8\",\n null\n \n)\n\nexport default component.exports","import { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VExpandTransition,[_c('div',{staticClass:\"ml-4\"},[_c('div',{staticClass:\"d-flex pod align-end flex-column pa-4\"},[(_vm.url)?_c('img',{staticClass:\"pod_img\",attrs:{\"src\":_vm.url,\"alt\":\"pod image\"}}):(!_vm.loading)?_c('span',{staticClass:\"pod_no_signature\"},[_vm._v(\"No signature\")]):_vm._e(),(_vm.loading)?_c(VProgressLinear,{attrs:{\"indeterminate\":\"\",\"rounded\":\"\",\"height\":\"4\"}}):_vm._e(),(_vm.name)?_c('span',{staticClass:\"pod_text mt-2\"},[_vm._v(_vm._s(_vm.name))]):_vm._e()],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getPOD } from '@/api';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n@Component\nexport default class POD extends Vue {\n @Prop({ type: Boolean, required: true }) private readonly pod!: boolean;\n @Prop({ type: Number, required: true }) private readonly id!: number;\n @Prop({ type: String }) private readonly uniqueId!: string;\n @Prop({ type: String, required: true }) private readonly date!: string;\n @Prop({ type: Number, required: true }) private readonly idx!: number;\n @Prop(String) private readonly name!: string;\n\n private url: string | Blob = '';\n private loading = false;\n\n @Watch('uniqueId', { immediate: true })\n private updatePOD() {\n this.url = '';\n if (this.pod) {\n this.loading = true;\n getPOD(this.id, this.date, this.idx + 1)\n .then(img => {\n if (img !== 'Not found') {\n this.url = img;\n }\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./POD.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./POD.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./POD.vue?vue&type=template&id=6946ad4a&scoped=true\"\nimport script from \"./POD.vue?vue&type=script&lang=ts\"\nexport * from \"./POD.vue?vue&type=script&lang=ts\"\nimport style0 from \"./POD.scss?vue&type=style&index=0&id=6946ad4a&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6946ad4a\",\n null\n \n)\n\nexport default component.exports","import { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c(VRow,{staticClass:\"relative wrapper_signs\"},_vm._l((_vm.stops.length),function(i){return _c(VCol,{key:i,staticClass:\"relative py-0 pl-10 d-flex\",attrs:{\"cols\":\"4\"}},[(_vm.position === i * 2 - 1)?_c('div',{staticClass:\"d-flex align-end icon_wrapper\"},[_c(VIcon,{staticClass:\"icon_truck\",attrs:{\"size\":\"40\",\"color\":\"black\"}},[_vm._v(\"mdi-truck\")])],1):_vm._e(),(_vm.position < i * 2 - 1 && _vm.$can('staff', 'Job') && _vm.editable)?_c('div',{staticClass:\"d-flex align-end icon_wrapper\"},[_c(VIcon,{staticClass:\"icon_truck\",attrs:{\"size\":\"40\",\"color\":\"gray\"},on:{\"click\":function($event){return _vm.stopComplete(i, 'arrived')}}},[_vm._v(\"mdi-truck-outline\")])],1):_vm._e(),(_vm.original_stop && _vm.original_stop.stop_number === i)?_c('div',{staticClass:\"absolute left-0 ml-20 w-64 -top-8\"},[_c('p',{staticClass:\"mb-0 text-sm text-purple-400\"},[_vm._v(\"Original:\")]),_c('p',{staticClass:\"mb-0 text-sm leading-none text-purple-400\"},[_vm._v(_vm._s(_vm.original_stop.text))])]):_vm._e(),(_vm.stops[i - 1].original_stop && _vm.stops[i - 1].original_stop.name !== _vm.stops[i - 1].name)?_c('div',{staticClass:\"absolute left-0 ml-20 w-64 -top-8\"},[_c('p',{staticClass:\"mb-0 text-sm text-purple-400\"},[_vm._v(\"Original:\")]),_c('p',{staticClass:\"mb-0 text-sm leading-none text-purple-400\"},[_vm._v(\" \"+_vm._s(_vm.stops[i - 1].original_stop.name)+\", \"+_vm._s(_vm.stops[i - 1].original_stop.state)),_c('br'),_vm._v(_vm._s(_vm.stops[i - 1].original_stop.address_line_2)+\", \"+_vm._s(_vm.stops[i - 1].original_stop.address_line_1)+\", \"+_vm._s(_vm.stops[i - 1].original_stop.post_code)+\" \")])]):_vm._e(),_c('div',{staticClass:\"sign\"},[_c('div',{staticClass:\"sign_line\"}),_c('div',{staticClass:\"octagon octagon_wrapper1\"},[_c('div',{staticClass:\"octagon octagon_wrapper2\"},[_c('div',{staticClass:\"octagon octagon_inner\"},[_vm._v(_vm._s(i))])])])]),(_vm.position === i * 2)?_c('div',{staticClass:\"d-flex align-end icon_wrapper\"},[_c(VIcon,{staticClass:\"icon_truck\",attrs:{\"size\":\"40\",\"color\":\"black\"}},[_vm._v(\"mdi-truck\")])],1):_vm._e(),(_vm.position < i * 2 && _vm.$can('staff', 'Job') && _vm.editable)?_c('div',{staticClass:\"d-flex align-end icon_wrapper\"},[_c(VIcon,{staticClass:\"icon_truck\",attrs:{\"size\":\"40\",\"color\":\"gray\"},on:{\"click\":function($event){return _vm.stopComplete(i, i === _vm.stops.length ? 'completed' : 'departed')}}},[_vm._v(\"mdi-truck-outline\")])],1):_vm._e()])}),1),_c(VRow,[_vm._l((_vm.stops),function(stop,idx){return _c(VCol,{key:idx,staticClass:\"py-5 pl-12\",attrs:{\"cols\":\"4\"}},[_c('p',{staticClass:\"mb-0 ml-1 name\"},[_vm._v(_vm._s(stop.name))]),_c('p',{staticClass:\"mt-2 mb-0 ml-1 address\"},[_vm._v(\" \"+_vm._s(stop.address_line_1)+\" \"+_vm._s(stop.address_line_2)),(stop.address_line_1 || stop.address_line_2)?_c('span',[_vm._v(\",\")]):_vm._e(),_vm._v(\" \"+_vm._s(stop.suburb)),(stop.suburb)?_c('span',[_vm._v(\",\")]):_vm._e(),_vm._v(\" \"+_vm._s(stop.state)),(stop.state)?_c('span',[_vm._v(\",\")]):_vm._e(),_vm._v(\" \"+_vm._s(stop.post_code)+\" \")]),(_vm.showNotes)?_c('div',[(stop.note_text)?_c('p',{staticClass:\"mt-4 mb-0 ml-1 address\"},[_vm._v(\" \"+_vm._s(stop.note_text)+\" \")]):_vm._e(),(stop.note_name)?_c('p',{staticClass:\"mt-1 mb-0 ml-1 address\"},[_vm._v(\" \"+_vm._s(stop.note_name)+\" \")]):_vm._e(),(stop.note_phone && stop.note_phone.length > 0)?_c('div',[_c(VIcon,{staticClass:\"ml-1 icon\",attrs:{\"size\":\"16\",\"color\":\"purple\"}},[_vm._v(\"mdi-phone\")]),_c('a',{staticClass:\"mt-0 mb-0 ml-1 address phone\",attrs:{\"href\":`tel:${stop.note_phone}`}},[_vm._v(_vm._s(stop.note_phone))])],1):_vm._e()]):_vm._e()])}),(_vm.$can('staff', 'Job'))?[(_vm.completeJobData.stop === _vm.stops.length && _vm.completeJobData.action === 'completed')?_c('StopCompleteLastStopDialog',{attrs:{\"completeJobData\":_vm.completeJobData,\"job\":_vm.job,\"context\":\"job-detailed\"},on:{\"fetchData\":function($event){return _vm.$emit('fetchData')}}}):_c('StopCompleteDialog',{attrs:{\"completeJobData\":_vm.completeJobData,\"job\":_vm.job,\"context\":\"job-detailed\"},on:{\"fetchData\":function($event){return _vm.$emit('fetchData')}}})]:_vm._e()],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VDialog,{staticClass:\"modal-dialog\",attrs:{\"persistent\":\"\",\"max-width\":\"540\"},model:{value:(_vm.completeJobData.isOpen),callback:function ($$v) {_vm.$set(_vm.completeJobData, \"isOpen\", $$v)},expression:\"completeJobData.isOpen\"}},[_c(VCard,{staticClass:\"px-5 pt-10\"},[_c('div',{staticClass:\"modal-header pb-15 d-flex justify-space-between align-center\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"Confirm please:\")]),_c(VIcon,{attrs:{\"color\":\"black\",\"size\":\"40\"},on:{\"click\":function($event){_vm.completeJobData.isOpen = false}}},[_vm._v(\"mdi-close\")])],1),_c('div',[_c('p',[_vm._v(\" Driver #\"),_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.jobModalData.driver))]),_vm._v(\" with a job #\"),_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.jobModalData.jobIdShort))]),_vm._v(\" has \"+_vm._s(_vm.jobModalData.actionText)+\" \"),(_vm.jobModalData.action === 'completed')?_c('span',{staticClass:\"bold\"},[_vm._v(\"all the stops\")]):_c('span',[_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.jobModalData.stopText)+\" \")]),_c('span',[_vm._v(\" \\\"\"),_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.jobModalData.stopName))]),_vm._v(\"\\\"\")])]),_vm._v(\". Is it correct? \")])]),(_vm.context === 'dashboard')?_c(VRow,{staticClass:\"road-status-image\"},[_c(VCol,{attrs:{\"cols\":\"2 pa-0\"}}),_c(VCol,{staticClass:\"truck truck-arrived\",attrs:{\"cols\":\"1 pa-0\"}},[(_vm.jobModalData.iconPosition === 0)?_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"black\",\"size\":\"40\"}},[_vm._v(\"mdi-truck\")]):_vm._e()],1),_c(VCol,{attrs:{\"cols\":\"1 pa-0\"}},[_c('div',{staticClass:\"stop\"},[_c('div',{staticClass:\"sign\"},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"black\",\"size\":\"40\"}},[_vm._v(\"mdi-octagon-outline\")]),_c('p',{staticClass:\"number\"},[_vm._v(\"1\")])],1),_c('p',{staticClass:\"pole\"})])]),_c(VCol,{staticClass:\"truck truck-depart\",attrs:{\"cols\":\"1 pa-0\"}},[(_vm.jobModalData.iconPosition === 1)?_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"black\",\"size\":\"40\"}},[_vm._v(\"mdi-truck\")]):_vm._e()],1),_c(VCol,{attrs:{\"cols\":\"2 pa-0\"}}),_c(VCol,{staticClass:\"truck truck-arrived\",attrs:{\"cols\":\"1 pa-0\"}},[(_vm.jobModalData.iconPosition === 2)?_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"black\",\"size\":\"40\"}},[_vm._v(\"mdi-truck\")]):_vm._e()],1),_c(VCol,{attrs:{\"cols\":\"1 pa-0\"}},[_c('div',{staticClass:\"stop\"},[_c('div',{staticClass:\"sign\"},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"black\",\"size\":\"40\"}},[_vm._v(\"mdi-octagon-outline\")]),_c('p',{staticClass:\"number\"},[_vm._v(\"2\")])],1),_c('p',{staticClass:\"pole\"})])]),_c(VCol,{staticClass:\"truck truck-depart\",attrs:{\"cols\":\"1 pa-0\"}},[(_vm.jobModalData.iconPosition === 3)?_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"black\",\"size\":\"40\"}},[_vm._v(\"mdi-truck\")]):_vm._e()],1),_c(VCol,{attrs:{\"cols\":\"2 pa-0\"}}),_c('div',{staticClass:\"road\"})],1):_vm._e(),_c(VRow,{staticClass:\"road-status-titles\"},[_c(VCol,{attrs:{\"cols\":\"3 pa-0\"}}),_c(VCol,{attrs:{\"cols\":\"1 pa-0\"}})],1),_c(VForm,{ref:\"form\",attrs:{\"lazy-validation\":\"\"}},[(_vm.jobModalData.podNameRequired)?_c(VRow,{staticClass:\"signature_input\"},[_c('p',{staticClass:\"text\"},[_vm._v(\"Type the name of the person who signed the job:\")]),_c(VTextField,{attrs:{\"label\":\"Name\",\"outlined\":\"\",\"required\":\"\",\"rules\":[v => !!v || 'Name is required field']},model:{value:(_vm.jobModalData.podName),callback:function ($$v) {_vm.$set(_vm.jobModalData, \"podName\", $$v)},expression:\"jobModalData.podName\"}})],1):_vm._e(),(_vm.jobModalData.error)?_c(VRow,{staticClass:\"modal-error\"},[_c('p',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.jobModalData.error))])]):_vm._e(),_c('div',{staticClass:\"d-flex justify-end pb-5 pt-15\",on:{\"click\":function($event){return _vm.completeStop()}}},[_c('Button',{staticStyle:{\"width\":\"240px\"},attrs:{\"size\":\"big\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-check\",\"text\":\"Confirm\",\"loading\":_vm.jobModalData.loading}})],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { completeStopFromDashboard } from '@/api';\n\nimport { StopCompleteParams } from '@/models/main';\nimport { JobDetailedData, JobDetailedCompleteData, JobDetailedModalData } from '@/models/jobDetailed';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport Button from '@/components/UI/button/Button.vue';\n\n@Component({\n components: {\n Button,\n },\n})\nexport default class StopCompleteDialog extends Vue {\n @Prop(Object) private completeJobData: JobDetailedCompleteData;\n @Prop(Object) private job!: JobDetailedData;\n @Prop({ type: String, default: 'dashboard' }) private context: string;\n\n private jobModalData: JobDetailedModalData = {\n action: '',\n jobIdShort: -1,\n jobId: -1,\n jobDate: '',\n driver: -1,\n stopNumber: -1,\n position: -1,\n actionText: '',\n podName: '',\n stopText: '',\n stopName: '',\n podNameRequired: false,\n loading: false,\n error: '',\n iconPosition: -1,\n };\n\n @Watch('completeJobData', { immediate: true })\n private completeJobDataChanged() {\n if (this.job) {\n let actionText = '';\n let podRequired = false;\n if (this.completeJobData.action === 'arrived') {\n actionText = 'arrived to';\n }\n if (this.completeJobData.action === 'departed') {\n actionText = 'departed from';\n if (this.job.require_pod && this.job.main_stop === Number(this.completeJobData.stop)) {\n podRequired = true;\n }\n }\n if (this.completeJobData.action === 'completed') {\n actionText = 'complete';\n if (this.job.require_pod) {\n podRequired = true;\n }\n }\n\n this.jobModalData = {\n ...this.jobModalData,\n action: this.completeJobData.action,\n jobIdShort: Number(this.job.rockhopper_id),\n jobId: Number(this.job.rockhopper_id),\n jobDate: this.job.rockhopper_date,\n driver: Number(this.job.stops[this.completeJobData.stop - 1]?.driver_is) || 'Not allocated',\n stopNumber: this.completeJobData.stop,\n position: this.completeJobData.stop,\n actionText: actionText,\n stopText: `Stop ${this.completeJobData.stop}`,\n stopName: this.job.stops[this.completeJobData.stop - 1]?.name || '',\n podNameRequired: podRequired,\n error: '',\n iconPosition:\n this.completeJobData.action === 'departed'\n ? 1 + (this.completeJobData.stop - 1) * 2\n : (this.completeJobData.stop - 1) * 2,\n };\n }\n }\n\n // JOB COMPLETE\n private completeStop(): void {\n const form = this.$refs.form as HTMLFormElement;\n if (form.validate()) {\n this.jobModalData.loading = true;\n const action = this.jobModalData.action === 'completed' ? 'departed' : this.jobModalData.action;\n let params: StopCompleteParams = {\n driver_id: this.jobModalData.driver.toString() === 'Not allocated' ? -1 : this.jobModalData.driver,\n job_id: this.jobModalData.jobIdShort,\n job_date: this.jobModalData.jobDate,\n stop_number: this.jobModalData.stopNumber,\n };\n\n if (this.jobModalData.podNameRequired) {\n params = { ...params, pod_name: this.jobModalData.podName };\n }\n\n completeStopFromDashboard(action, params)\n .then(res => {\n if (res?.data.Result === 'Stop sent') {\n this.$emit('fetchData');\n }\n })\n .catch(err => {\n this.jobModalData.error = err;\n this.jobModalData.loading = false;\n return null;\n });\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StopCompleteDialog.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StopCompleteDialog.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./StopCompleteDialog.vue?vue&type=template&id=08e31d2f&scoped=true\"\nimport script from \"./StopCompleteDialog.vue?vue&type=script&lang=ts\"\nexport * from \"./StopCompleteDialog.vue?vue&type=script&lang=ts\"\nimport style0 from \"./StopCompleteDialog.scss?vue&type=style&index=0&id=08e31d2f&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"08e31d2f\",\n null\n \n)\n\nexport default component.exports","import { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRadio } from 'vuetify/lib/components/VRadioGroup';\nimport { VRadioGroup } from 'vuetify/lib/components/VRadioGroup';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VDialog,{attrs:{\"persistent\":\"\",\"max-width\":\"400\"},model:{value:(_vm.completeJobData.isOpen),callback:function ($$v) {_vm.$set(_vm.completeJobData, \"isOpen\", $$v)},expression:\"completeJobData.isOpen\"}},[_c('div',{staticClass:\"px-5 pt-7 bg-white\",class:_vm.$style.dialogCard},[_c('div',{staticClass:\"d-flex justify-space-between align-center\"},[_c('div',{staticClass:\"text-xl font-semibold\"},[_vm._v(\"Job completion\")]),_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-close\",\"color\":\"gray\",\"colorIntensity\":\"400\",\"size\":\"2xl\"},nativeOn:{\"click\":function($event){_vm.completeJobData.isOpen = false}}})],1),_c('div',{staticClass:\"mt-6\"},[_c('h3',{staticClass:\"text-lg\"},[_vm._v(\"Please, choose the correct option\")]),_c(VRadioGroup,{model:{value:(_vm.selectedItem),callback:function ($$v) {_vm.selectedItem=$$v},expression:\"selectedItem\"}},_vm._l((_vm.job.allocation_state !== 'deallocated'\n ? _vm.lastStopModalItems\n : _vm.lastStopModalItemsNotAllocated),function(item,idx){return _c('div',{key:idx},[_c('div',{staticClass:\"w-max flex cursor-pointer\",on:{\"click\":function($event){return _vm.itemClicked(idx)}}},[_c(VRadio,{staticClass:\"radio-btn\",attrs:{\"id\":`radio-${idx}`,\"value\":idx,\"name\":`radio-${idx}`}}),_c('label',{staticClass:\"text-gray-900 cursor-pointer\",attrs:{\"for\":`radio-${idx}`}},[_vm._v(_vm._s(item))])],1),_c(VExpandTransition,[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.selectedItemIdx === idx),expression:\"selectedItemIdx === idx\"}],staticClass:\"pr-20\"},[(idx === 0 && _vm.job.require_pod)?[_c(VForm,{ref:`form-${idx}`,refInFor:true,attrs:{\"lazy-validation\":\"\"}},[_c(VRow,{staticClass:\"mt-1 mb-2 ml-8 flex flex-col\"},[_c('p',{staticClass:\"mb-0 text-sm text-gray-900\"},[_vm._v(\"The person signed the job:\")]),_c(VTextField,{attrs:{\"outlined\":\"\",\"required\":_vm.selectedItemIdx === 0,\"dense\":\"\",\"rules\":[v => !!v || 'Name is required field']},on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;$event.preventDefault();return _vm.submit()}},model:{value:(_vm.lastStopModalData.driver),callback:function ($$v) {_vm.$set(_vm.lastStopModalData, \"driver\", $$v)},expression:\"lastStopModalData.driver\"}})],1)],1)]:_vm._e(),(idx === 1)?[_c(VForm,{ref:`form-${idx}`,refInFor:true,attrs:{\"lazy-validation\":\"\"}},[_c(VRow,{staticClass:\"mt-1 mb-2 ml-8 flex flex-col\"},[_c('p',{staticClass:\"mb-0 text-sm text-gray-900\"},[_vm._v(\"Reason:\")]),_c(VTextField,{attrs:{\"outlined\":\"\",\"required\":_vm.selectedItemIdx === 1,\"dense\":\"\",\"rules\":[v => !!v || 'Reason is required field']},on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;$event.preventDefault();return _vm.submit()}},model:{value:(_vm.lastStopModalData.reason),callback:function ($$v) {_vm.$set(_vm.lastStopModalData, \"reason\", $$v)},expression:\"lastStopModalData.reason\"}})],1)],1)]:_vm._e(),(idx === 2)?[_c(VForm,{ref:`form-${idx}`,refInFor:true,attrs:{\"lazy-validation\":\"\"},on:{\"submit\":function($event){$event.preventDefault();}}},[_c(VRow,{staticClass:\"mt-1 ml-8 flex flex-col\"},[_c('p',{staticClass:\"mb-0 text-sm text-gray-900\"},[_vm._v(\"Name:\")]),_c(VTextField,{attrs:{\"outlined\":\"\",\"required\":_vm.selectedItemIdx === 2,\"dense\":\"\",\"rules\":[v => !!v || 'Name is required field']},on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;$event.preventDefault();return _vm.submit()}},model:{value:(_vm.lastStopModalData.name),callback:function ($$v) {_vm.$set(_vm.lastStopModalData, \"name\", $$v)},expression:\"lastStopModalData.name\"}})],1),_c(VRow,{staticClass:\"mb-2 ml-8 flex flex-col\"},[_c('p',{staticClass:\"mb-0 text-sm text-gray-900\"},[_vm._v(\"Reason:\")]),_c(VTextField,{attrs:{\"outlined\":\"\",\"required\":_vm.selectedItemIdx === 2,\"dense\":\"\",\"rules\":[v => !!v || 'Reason is required field']},on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;$event.preventDefault();return _vm.submit()}},model:{value:(_vm.lastStopModalData.reason),callback:function ($$v) {_vm.$set(_vm.lastStopModalData, \"reason\", $$v)},expression:\"lastStopModalData.reason\"}})],1)],1)]:_vm._e()],2)])],1)}),0),_c('div',{staticClass:\"d-flex justify-end mt-2 pb-8\"},[_c('div',{staticClass:\"w-min\"},[_c('Button',{attrs:{\"type\":\"button\",\"size\":\"small\",\"text\":\"Confirm\",\"color\":\"lime\",\"colorIntensity\":\"600\",\"icon\":\"mdi-check\",\"loading\":_vm.loading,\"disabled\":_vm.selectedItemIdx === -1},nativeOn:{\"click\":function($event){return _vm.submit()}}})],1)])],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { fetchCompleteStop, fetchSetJobCancel, fetchSetJobAsFutile } from '@/helpers/fetchers';\nimport Button from '@/components/UI/Button.vue';\nimport Icon from '@/components/UI/Icon.vue';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\nimport { StopCompleteParams } from '@/models/main';\nimport { JobDetailedData, JobDetailedCompleteData, JobCancelParams, JobFutileParams } from '@/models/jobDetailed';\n\n@Component({\n components: {\n Button,\n Icon,\n },\n})\nexport default class StopCompleteLastStopDialog extends Vue {\n @Prop(Object) public completeJobData: JobDetailedCompleteData;\n @Prop(Object) public job!: JobDetailedData;\n\n public loading = false;\n public selectedItem = [0, 1, 2];\n public selectedItemIdx = -1;\n public lastStopModalItems = ['The driver completed all stops', 'Close the job as futile'];\n public lastStopModalItemsNotAllocated = ['Cancel the job'];\n public lastStopModalData = {\n driver: '',\n name: '',\n reason: '',\n };\n\n // Radio btn row clicked\n public itemClicked(idx: number): void {\n this.selectedItemIdx = idx;\n Object.keys(this.lastStopModalData).map(x => (this.lastStopModalData[x] = ''));\n const form = this.$refs[`form-${idx}`] as HTMLFormElement[];\n if (form && form[0]) {\n form[0].resetValidation();\n }\n }\n\n // SUBMIT BUTTON\n public submit(): void {\n const form = this.$refs[`form-${this.selectedItemIdx}`] as HTMLFormElement[];\n if (this.selectedItemIdx === 0 && !form) {\n this.setJobAsComplete();\n } else if (form && form[0]) {\n const valid = form[0].validate();\n if (valid) {\n // The driver completed all stops\n if (this.selectedItemIdx === 0) {\n this.setJobAsComplete();\n }\n // Close the job as futile\n if (this.selectedItemIdx === 1) {\n this.setJobAsFutileClicked();\n }\n // Cancel the job\n if (this.selectedItemIdx === 2) {\n this.setJobAsCancelClicked();\n }\n }\n }\n }\n\n // ACTIONS:\n public async setJobAsComplete(): Promise {\n this.loading = true;\n let params: StopCompleteParams = {\n driver_id: this.job.driver_code || 0,\n job_id: this.job.rockhopper_id,\n job_date: this.job.rockhopper_date,\n stop_number: this.completeJobData.stop,\n };\n if (this.job.require_pod) {\n params = { ...params, pod_name: this.lastStopModalData.driver };\n }\n return fetchCompleteStop('departed', params)\n .then(() => void this.$emit('fetchData'))\n .catch(() => void {})\n .finally(() => (this.loading = false));\n }\n\n public setJobAsFutileClicked(): Promise {\n this.loading = true;\n const params: JobFutileParams = {\n job_id: this.job.rockhopper_id,\n job_date: this.job.rockhopper_date,\n driver: -1,\n reason: this.lastStopModalData.reason,\n };\n return fetchSetJobAsFutile(params)\n .then(() => void this.$emit('fetchData'))\n .catch(() => void {})\n .finally(() => (this.loading = false));\n }\n\n public setJobAsCancelClicked(): Promise {\n this.loading = true;\n const params: JobCancelParams = {\n job_id: this.job.rockhopper_id,\n job_date: this.job.rockhopper_date,\n actor: this.lastStopModalData.name,\n reason: this.lastStopModalData.reason,\n };\n return fetchSetJobCancel(params)\n .then(() => void this.$emit('fetchData'))\n .catch(() => void {})\n .finally(() => (this.loading = false));\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StopCompleteLastStopDialog.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StopCompleteLastStopDialog.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"StopCompleteLastStopDialog_sidemenu_z7u7Z\",\"layout-wrapper\":\"StopCompleteLastStopDialog_layout-wrapper_u1ofl\",\"wrapper-portal\":\"StopCompleteLastStopDialog_wrapper-portal_PM31a\",\"wrapper-portal-dash\":\"StopCompleteLastStopDialog_wrapper-portal-dash_jPAY_\",\"container\":\"StopCompleteLastStopDialog_container_RO3kF\",\"b-fa\":\"StopCompleteLastStopDialog_b-fa_NjUPK\",\"mdi-stairs\":\"StopCompleteLastStopDialog_mdi-stairs_ZSC_G\",\"mdi-progress-wrench\":\"StopCompleteLastStopDialog_mdi-progress-wrench_khi0s\",\"mdi-wrench\":\"StopCompleteLastStopDialog_mdi-wrench_hqcrw\",\"mdi-file-document\":\"StopCompleteLastStopDialog_mdi-file-document_ytN5C\",\"mdi-account\":\"StopCompleteLastStopDialog_mdi-account_nPUxB\",\"mdi-caravan\":\"StopCompleteLastStopDialog_mdi-caravan_pEWKe\",\"mdi-forklift\":\"StopCompleteLastStopDialog_mdi-forklift_g7hMJ\",\"mdi-account-plus\":\"StopCompleteLastStopDialog_mdi-account-plus_AAOJc\",\"mdi-format-align-bottom\":\"StopCompleteLastStopDialog_mdi-format-align-bottom_GELvZ\",\"mdi-clock-alert\":\"StopCompleteLastStopDialog_mdi-clock-alert_y4H06\",\"mdi-school\":\"StopCompleteLastStopDialog_mdi-school_fFIrb\",\"mdi-face-mask\":\"StopCompleteLastStopDialog_mdi-face-mask__Zoiz\",\"fa\":\"StopCompleteLastStopDialog_fa_Z9xM4\",\"fa-angle-up\":\"StopCompleteLastStopDialog_fa-angle-up_g7D21\",\"fa-angle-left\":\"StopCompleteLastStopDialog_fa-angle-left_hwrUb\",\"fa-search\":\"StopCompleteLastStopDialog_fa-search_izMXm\",\"fa-consolidate\":\"StopCompleteLastStopDialog_fa-consolidate_iO9Cp\",\"fa-split\":\"StopCompleteLastStopDialog_fa-split_L363E\",\"mdi-food-fork-drink\":\"StopCompleteLastStopDialog_mdi-food-fork-drink_iF6xF\",\"mdi-package-variant\":\"StopCompleteLastStopDialog_mdi-package-variant_LiL74\",\"mdi-call-merge\":\"StopCompleteLastStopDialog_mdi-call-merge_zXVTP\",\"mdi-tray-arrow-up\":\"StopCompleteLastStopDialog_mdi-tray-arrow-up_X4pmQ\",\"fa-arrow-circle-up\":\"StopCompleteLastStopDialog_fa-arrow-circle-up_XaKTY\",\"fa-arrow-circle-down\":\"StopCompleteLastStopDialog_fa-arrow-circle-down_pyGYo\",\"mdi-calendar-check\":\"StopCompleteLastStopDialog_mdi-calendar-check_XCav_\",\"mdi-calendar-remove\":\"StopCompleteLastStopDialog_mdi-calendar-remove_LYBgt\",\"stop-tooltip\":\"StopCompleteLastStopDialog_stop-tooltip_DQN6d\",\"bold\":\"StopCompleteLastStopDialog_bold_lP7Qu\",\"tooltip-header\":\"StopCompleteLastStopDialog_tooltip-header_mMCpv\",\"tooltip-content\":\"StopCompleteLastStopDialog_tooltip-content_sPkK6\",\"stops\":\"StopCompleteLastStopDialog_stops_oiH11\",\"tooltip-attrs\":\"StopCompleteLastStopDialog_tooltip-attrs_uoAvq\",\"attr\":\"StopCompleteLastStopDialog_attr_hlJeY\",\"warnings\":\"StopCompleteLastStopDialog_warnings_Hkz7V\",\"b-panel-body-wrap\":\"StopCompleteLastStopDialog_b-panel-body-wrap_mNcyW\",\"b-panel-content\":\"StopCompleteLastStopDialog_b-panel-content__u9U3\",\"b-tooltip-content\":\"StopCompleteLastStopDialog_b-tooltip-content_O3s98\",\"t-radio\":\"StopCompleteLastStopDialog_t-radio_iL1pl\",\"t-checkbox\":\"StopCompleteLastStopDialog_t-checkbox_iUWtI\",\"floating-label\":\"StopCompleteLastStopDialog_floating-label_Izusp\",\"floating-label-inset\":\"StopCompleteLastStopDialog_floating-label-inset_iwP6M\",\"dialogCard\":\"StopCompleteLastStopDialog_dialogCard_EqfCc\"};","import { render, staticRenderFns } from \"./StopCompleteLastStopDialog.vue?vue&type=template&id=179778b3\"\nimport script from \"./StopCompleteLastStopDialog.vue?vue&type=script&lang=ts\"\nexport * from \"./StopCompleteLastStopDialog.vue?vue&type=script&lang=ts\"\nimport style0 from \"./StopCompleteLastStopDialog.vue?vue&type=style&index=0&id=179778b3&prod&lang=scss&module=true\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { StopDrawingOriginalStop } from '@/models/main';\nimport { JobDetailedData, JobDetailedStop } from '@/models/jobDetailed';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport StopCompleteDialog from '@/components/jobDetailed/StopCompleteDialog/StopCompleteDialog.vue';\nimport StopCompleteLastStopDialog from '@/components/jobDetailed/StopCompleteDialog/StopCompleteLastStopDialog.vue';\nimport { notifyNetworkError } from '@/helpers/notifiers';\n\n@Component({\n components: {\n StopCompleteDialog,\n StopCompleteLastStopDialog,\n },\n})\nexport default class StopDrawing extends Vue {\n @Prop({ type: Array, default: () => [] }) public readonly stops!: JobDetailedStop[];\n @Prop(String) private completed_at: string;\n @Prop(Object) public original_stop: StopDrawingOriginalStop;\n @Prop(Object) public job!: JobDetailedData;\n @Prop({ type: Boolean, default: true }) public editable: boolean;\n @Prop({ type: Boolean, default: true }) public showNotes: boolean;\n\n public completeJobData = {\n isOpen: false,\n action: '',\n stop: -1,\n };\n\n public stopComplete(idx: number, action: 'arrived' | 'completed' | 'departed'): void {\n const isAllocated = this.job.allocation_state === 'allocated';\n const isLastStop = idx === this.stops.length;\n const isCancellable = isLastStop && action === 'completed';\n\n if (!isAllocated && !isCancellable) {\n notifyNetworkError({ text: \"Can't complete stops if the job is not allocated\" });\n return;\n }\n\n if (this.editable) {\n this.completeJobData = {\n isOpen: true,\n action: action,\n stop: idx,\n };\n }\n }\n\n public get position() {\n switch (true) {\n case !!this.stops[2]?.departed_at || (!!this.completed_at && !!this.stops[2]):\n return 6;\n case !!this.stops[2]?.arrived_at:\n return 5;\n case !!this.stops[1].departed_at || (!!this.completed_at && !this.stops[2]):\n return 4;\n case !!this.stops[1].arrived_at:\n return 3;\n case !!this.stops[0].departed_at:\n return 2;\n case !!this.stops[0].arrived_at:\n return 1;\n case !this.stops[0].arrived_at:\n return 0;\n default:\n return 0;\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StopDrawing.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StopDrawing.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./StopDrawing.vue?vue&type=template&id=32e01039&scoped=true\"\nimport script from \"./StopDrawing.vue?vue&type=script&lang=ts\"\nexport * from \"./StopDrawing.vue?vue&type=script&lang=ts\"\nimport style0 from \"./StopDrawing.scss?vue&type=style&index=0&id=32e01039&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"32e01039\",\n null\n \n)\n\nexport default component.exports","import { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('span',[_vm._l((_vm.services),function(service,index){return [_c(VTooltip,{key:index,attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_vm._v(_vm._s(service.name))])]}}],null,true)},[_c('span',[_vm._v(\"qty: \"+_vm._s(service.quantity))])]),(index != _vm.services.length - 1)?[_vm._v(\", \")]:_vm._e()]})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class Stop extends Vue {\n @Prop(Array) public services: [];\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StopServices.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StopServices.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./StopServices.vue?vue&type=template&id=2eaa5d2d\"\nimport script from \"./StopServices.vue?vue&type=script&lang=ts\"\nexport * from \"./StopServices.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{},[(_vm.ticketsData.length)?_c('div',{staticClass:\"flex py-3 px-1 border-t border-b border-purple-100\"},[_c('div',{staticClass:\"w-44 text-sm font-semibold leading-4 whitespace-nowrap\"},[_vm._v(\"Customer\")]),_c('div',{staticClass:\"w-92 text-sm font-semibold leading-4 whitespace-nowrap\"},[_vm._v(\"Title\")]),_c('div',{staticClass:\"w-16 text-sm font-semibold leading-4 whitespace-nowrap\"},[_vm._v(\"RFC\")]),_c('div',{staticClass:\"w-48 text-sm font-semibold leading-4 whitespace-nowrap\"},[_vm._v(\"Status\")]),_c('div',{staticClass:\"w-56 text-sm font-semibold leading-4 whitespace-nowrap pl-2\"},[_vm._v(\"Updated at\")])]):_vm._e(),(!_vm.ticketsData.length)?_c('div',{staticClass:\"flex justify-center py-4 border-t border-b border-purple-100\"},[_c('span',{staticClass:\"text-base text-gray-600 text-center italic\"},[_vm._v(\"No tickets\")])]):_vm._e(),_vm._l((_vm.ticketsData),function(mail,idx){return _c('div',{key:idx,staticClass:\"relative flex py-1 px-1 border-b border-purple-100 hover:bg-purple-50 group\",class:[_vm.checkTicketIsRfc(mail) ? 'bg-orange-100 hover:bg-orange-200' : '']},[_c('div',{staticClass:\"w-44 pt-1 pr-2 hyphens-auto leading-3 z-3\"},[_vm._v(\" \"+_vm._s(mail.customer)+\" \")]),_c('div',{staticClass:\"w-92 pt-1 pr-2 hyphens-auto leading-3 cursor-pointer hover:underline\",on:{\"click\":function($event){return _vm.articleClicked(mail)}}},[_vm._v(\" \"+_vm._s(mail.title)+\" \")]),_c('div',{staticClass:\"w-16\"},[(_vm.checkTicketIsRfc(mail))?_c('div',{staticClass:\"w-7 h-7 bg-orange-400 rounded-full flex justify-center items-center group-hover:bg-orange-500\"},[_c('Icon',{attrs:{\"name\":\"mdi-frequently-asked-questions\",\"color\":\"white\",\"size\":\"base\"}})],1):(!!mail.is_rfc)?_c('div',{staticClass:\"w-7 h-7 bg-gray-300 rounded-full flex justify-center items-center group-hover:bg-gray-400\"},[_c('Icon',{attrs:{\"name\":\"mdi-frequently-asked-questions\",\"color\":\"white\",\"size\":\"base\"}})],1):_vm._e()]),_c('div',{staticClass:\"w-52\"},[_c('div',{staticClass:\"w-40 h-7 px-2 py-1 flex justify-start items-center rounded\",class:[\n mail.state.toLocaleLowerCase() === 'open'\n ? 'bg-purple-300'\n : mail.state.toLocaleLowerCase() === 'new'\n ? 'bg-lime-600'\n : 'bg-gray-300',\n ]},[_c('div',{staticClass:\"w-min\"},[_c('div',{staticClass:\"w-5 h-5 flex justify-center items-center rounded-full bg-white\"},[_c('Icon',{attrs:{\"name\":mail.state.toLocaleLowerCase() === 'new'\n ? 'mdi-email-outline'\n : mail.state.toLocaleLowerCase() === 'open'\n ? 'mdi-email-open-outline'\n : mail.state.toLocaleLowerCase() === 'closed'\n ? 'mdi-check'\n : mail.state.toLocaleLowerCase() === 'merged'\n ? 'mdi-axis-z-arrow'\n : mail.state.toLocaleLowerCase() === 'pending reminder'\n ? 'mdi-lan-pending'\n : mail.state.toLocaleLowerCase() === 'awaiting dims'\n ? 'mdi-account-clock-outline'\n : 'mdi-progress-question',\"color\":mail.state.toLocaleLowerCase() === 'open'\n ? 'purple'\n : mail.state.toLocaleLowerCase() === 'new'\n ? 'lime'\n : 'gray',\"colorIntensity\":mail.state.toLocaleLowerCase() === 'open'\n ? '300'\n : mail.state.toLocaleLowerCase() === 'new'\n ? '600'\n : '300',\"size\":\"base\"}})],1)]),_c('span',{staticClass:\"text-base ml-2 text-white\"},[_vm._v(\" \"+_vm._s(mail.state)+\" \")])])]),_c('div',{staticClass:\"w-48 flex justify-end items-start\"},[_c('DateTimezoneToggle',{staticClass:\"text-sm\",attrs:{\"dateString\":mail.updated_at,\"pattern\":\"yyyy-MM-dd hh:mm:ss a\"}})],1)])})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport Icon from '@/components/UI/Icon.vue';\nimport Tooltip from '@/components/UI/Tooltip.vue';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport { checkTicketIsRfc } from '@/utils/Common';\nimport { JobTicketListItem } from '@/models/jobTicket';\n\n@Component({\n components: {\n DateTimezoneToggle,\n Icon,\n Tooltip,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class ZammadList extends Vue {\n @Prop({ type: Array, required: false, default: 'base' }) public ticketsData: JobTicketListItem[];\n\n public checkTicketIsRfc = checkTicketIsRfc;\n\n public articleClicked(ticket) {\n this.$emit('zammadArticleClicked', ticket);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ZammadList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ZammadList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ZammadList.vue?vue&type=template&id=2ac3cf4c\"\nimport script from \"./ZammadList.vue?vue&type=script&lang=ts\"\nexport * from \"./ZammadList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{},[(!_vm.loadingNewArticle)?_c('div',[(!!_vm.ticketData && _vm.checkTicketIsRfc(_vm.ticketData))?_c('div',{staticClass:\"relative flex justify-start items-center bg-orange-200\"},[_c('div',{staticClass:\"absolute top-0 w-screen h-full bg-orange-200\",staticStyle:{\"width\":\"1000%\",\"right\":\"-1000%\"}}),(_vm.loadingRfcRequest)?_c('Icon',{staticClass:\"animate-spin ml-5 py-2\",attrs:{\"name\":\"mdi-loading\",\"color\":\"black\",\"size\":\"3xl\"}}):_c('div',{staticClass:\"flex justify-between px-6 py-2\"},[_c('div',{staticClass:\"flex items-center\"},[_c('div',{staticClass:\"w-7 h-7 flex justify-center items-center rounded-full bg-orange-400\"},[_c('Icon',{attrs:{\"name\":\"mdi-frequently-asked-questions\",\"color\":\"white\",\"size\":\"lg\"}})],1),_c('p',{staticClass:\"w-full ml-2 mb-0 text-base font-medium\"},[_vm._v(\"This job is requested for change\")])])])],1):_vm._e()]):_vm._e(),_c('div',{staticClass:\"flex justify-center py-4 border-b border-purple-200\"},[(!!_vm.ticketData)?_c('h2',{staticClass:\"px-16 text-3xl text-center leading-8 font-medium\"},[_vm._v(\" \"+_vm._s(_vm.ticketData.title)+\" \")]):_vm._e()]),_c('transition-group',{attrs:{\"name\":\"list\",\"tag\":\"div\"}},_vm._l((_vm.articlesData),function(article){return _c('div',{key:article.id,staticClass:\"mt-4 mb-4 px-6\"},[_c('div',{staticClass:\"text-sm text-center italic text-gray-700\"},[_vm._v(\" \"+_vm._s(_vm.format( _vm.utcToZonedTime(new Date(article.created_at), _vm.user.timezone || _vm.timeZoneDefault), 'yyyy-MM-dd hh:mm aa', ))+\" \")]),_c('div',{staticClass:\"flex justify-between items-start mt-1\",class:[article.origin_by === _vm.user.zammad_login ? 'flex-row-reverse' : '']},[_c('div',{staticClass:\"w-44 pl-6 relative\"},[_c('div',[(article.origin_by === _vm.user.zammad_login)?_c('Avatar',{attrs:{\"img\":_vm.user.avatar,\"firstName\":_vm.user.first_name,\"lastName\":_vm.user.last_name}}):_c('Avatar',{attrs:{\"firstName\":article.created_by ? article.created_by[0] : '',\"lastName\":article.created_by ? article.created_by[1] : ''}})],1)]),_c('div',{staticClass:\"w-full bg-purple-50 rounded shadow\"},[(_vm.openMessages.includes(article.id))?_c('div',{staticClass:\"flex flex-col p-4 bg-purple-100 rounded-t\"},[_c('div',{staticClass:\"flex justify-start\"},[_c('div',[_vm._v(\"From:\")]),_c('div',{staticClass:\"ml-2\"},[_vm._v(_vm._s(article.from))])]),(article.type === 'email')?_c('div',{staticClass:\"flex justify-start\"},[_c('div',[_vm._v(\"To:\")]),_c('div',{staticClass:\"ml-2\"},[_vm._v(_vm._s(article.to))])]):_vm._e(),(article.type === 'email')?_c('div',{staticClass:\"flex justify-start\"},[_c('div',[_vm._v(\"CC:\")]),_c('div',{staticClass:\"ml-2\"},[_vm._v(_vm._s(article.cc))])]):_vm._e(),(article.type === 'email')?_c('div',{staticClass:\"flex justify-start\"},[_c('div',[_vm._v(\"Subject:\")]),_c('div',{staticClass:\"ml-2\"},[_vm._v(_vm._s(article.subject))])]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"zammad-quote max-w-160 p-4\"},[(_vm.openMessages.includes(article.id))?_c('div',[_vm._l((article.fragments),function(fragment,idx){return _c('div',{key:idx,staticClass:\"leading-4\"},[(Object.keys(fragment)[0] === 'fragment')?_c('div',{domProps:{\"innerHTML\":_vm._s(Object.values(fragment)[0])}}):_vm._e(),(Object.keys(fragment)[0] === 'image')?_c('ZammadTicketImgPlaceholder',{attrs:{\"article\":article,\"fragment\":fragment}}):_vm._e()],1)}),(article.attachments.length > 0)?_c('div',{staticClass:\"mt-2 px-0\"},[_c('div',{staticClass:\"attachments-header py-2 border-t border-purple-100\"},[_c(VIcon,[_vm._v(\"mdi-attachment\")]),_vm._v(\" \"+_vm._s(article.attachments.length)+\" attached files: \")],1),_c('div',{staticClass:\"bg-white rounded\"},_vm._l((article.attachments),function(attachment){return _c('div',{key:attachment.id,staticClass:\"flex justify-between p-2\"},[_c('span',{staticClass:\"cursor-pointer hover:underline\",on:{\"click\":function($event){return _vm.downloadImage(article.ticket_id, article.id, attachment.id, attachment.filename)}}},[_vm._v(\" \"+_vm._s(attachment.filename)+\" \")]),_c('div',[(+attachment.size < 1024)?_c('span',{staticClass:\"files-size\"},[_vm._v(_vm._s((+attachment.size).toFixed(1))+\" b\")]):(+attachment.size / 1024 < 1024)?_c('span',{staticClass:\"files-size\"},[_vm._v(_vm._s((+attachment.size / 1024).toFixed(1))+\" kb\")]):_c('span',{staticClass:\"files-size\"},[_vm._v(_vm._s((+attachment.size / 1024 / 1024).toFixed(1))+\" mb\")])])])}),0)]):_vm._e()],2):_c('div',{domProps:{\"innerHTML\":_vm._s(article.fragmentsPreview)}}),_c('div',{staticClass:\"mt-4 text-purple-400 underline hover:no-underline cursor-pointer\",on:{\"click\":function($event){return _vm.toggleMessageClicked(article.id)}}},[_vm._v(\" \"+_vm._s(_vm.openMessages.includes(article.id) ? 'See less' : 'See more')+\" \")])])]),_c('div',{staticClass:\"w-44 pl-4\"},[(_vm.$can('staff', 'Job'))?_c('div',[_c('div',{staticClass:\"flex mr-1\"},[_c('tooltip',{attrs:{\"text\":article.internal ? 'Set as public' : 'Set as private',\"class-name\":\"text-white whitespace-nowrap\"}},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":article.internal ? 'mdi-lock' : 'mdi-lock-open',\"color\":article.internal ? 'black' : 'lime',\"size\":\"xl\"},nativeOn:{\"click\":function($event){return _vm.togglePrivacy(article)}}})],1)],1),(article.type === 'email')?_c('div',{staticClass:\"flex mt-1 mr-1\"},[_c('tooltip',{attrs:{\"text\":\"Reply to this message\",\"class-name\":\"text-white whitespace-nowrap\"}},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-reply\",\"color\":\"black\",\"size\":\"xl\"},nativeOn:{\"click\":function($event){return _vm.replyClicked(article, false)}}})],1)],1):_vm._e(),(article.type === 'email' && article.to && (article.to.indexOf(',') >= 0 || !!article.cc))?_c('div',{staticClass:\"flex mt-1 mr-1\"},[_c('tooltip',{attrs:{\"text\":`Reply to all users mentioned in the 'To' and 'CC' fields`,\"class-name\":\"text-white w-36\"}},[_c('Icon',{staticClass:\"ml-0.5 cursor-pointer\",attrs:{\"name\":\"mdi-reply-all\",\"color\":\"black\",\"size\":\"xl\"},nativeOn:{\"click\":function($event){return _vm.replyClicked(article, true)}}})],1)],1):_vm._e()]):_vm._e()])])])}),0),_c('div',{staticClass:\"mt-8 pt-8 px-6 border-t border-purple-100\",attrs:{\"attr-scroll-id\":\"newArticleFrom\"}},[_c('validation-observer',{ref:\"msgForm\",staticClass:\"flex justify-between items-start mt-1\"},[_c('div',{staticClass:\"w-40 flex flex-col justify-center items-center mr-4\"},[_c('Avatar',{attrs:{\"img\":_vm.user.avatar,\"firstName\":_vm.user.first_name,\"lastName\":_vm.user.last_name}}),(_vm.$can('staff', 'Job'))?_c('t-toggle',{staticClass:\"mt-2\",attrs:{\"checked-value\":true,\"unchecked-value\":false,\"checked-placeholder\":\"NOTE\",\"unchecked-placeholder\":\"EMAIL\",\"checked-label\":\"EMAIL\",\"unchecked-label\":\"NOTE\"},on:{\"change\":_vm.msgTypeChanged},model:{value:(_vm.newArticleData.typeIsEmail),callback:function ($$v) {_vm.$set(_vm.newArticleData, \"typeIsEmail\", $$v)},expression:\"newArticleData.typeIsEmail\"}}):_vm._e()],1),_c('div',{staticClass:\"w-full bg-purple-50 rounded shadow p-2\"},[(_vm.newArticleData.typeIsEmail)?_c('div',{},[_c('LookupMailbox',{staticClass:\"bg-white rounded\",attrs:{\"label\":\"to\",\"hasError\":_vm.toInputHasError,\"chipsProp\":_vm.newArticleData.toChips},on:{\"setChips\":_vm.setChips}}),(_vm.toInputHasError)?_c('span',{staticClass:\"ml-2 text-base text-red-700\"},[_vm._v(\"This field is required\")]):_vm._e(),_c('LookupMailbox',{staticClass:\"mt-2 bg-white rounded\",attrs:{\"label\":\"cc\",\"chipsProp\":_vm.newArticleData.ccChips},on:{\"setChips\":_vm.setChips}})],1):_vm._e(),_c('validation-provider',{staticClass:\"w-full mt-2 flex flex-col\",attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-textarea',{staticClass:\"bg-white leading-4 pt-2 h-36\",attrs:{\"type\":\"text\",\"name\":\"Message\",\"placeholder\":\"New message\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.newArticleData.message),callback:function ($$v) {_vm.$set(_vm.newArticleData, \"message\", $$v)},expression:\"newArticleData.message\"}}),(errors[0])?_c('span',{staticClass:\"mt-2 ml-3.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])}),(_vm.newArticleData.quote)?_c('div',[_c('div',{staticClass:\"mt-4\"},[_vm._v(\"The following quote will be added to your message:\")]),_c('div',{staticClass:\"relative bg-white mt-2 p-2 border border-purple-200 rounded\"},[_c('div',{staticClass:\"zammad-quote\",domProps:{\"innerHTML\":_vm._s(_vm.newArticleData.quote)}})])]):_vm._e()],1),_c('div',{staticClass:\"w-48 pl-4\"},[(!_vm.loadingNewArticle)?_c('Button',{attrs:{\"size\":\"small\",\"color\":\"lime\",\"circleColor\":\"white\",\"icon\":\"mdi-check\",\"text\":\"Send\"},nativeOn:{\"click\":function($event){return _vm.sendArticle.apply(null, arguments)}}}):_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"32\"}},[_vm._v(\"mdi-loading\")])],1)])],1),_c('AttachmentsField',{staticClass:\"ml-36 w-128\",attrs:{\"uploadError\":_vm.uploadError,\"filesObjectsForTable\":_vm.filesObjectsForTable,\"deleteFiles\":_vm.deleteFiles,\"filesAdded\":_vm.filesAdded}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"absolute top-0 -right-60 w-72 bg-white border border-purple-200 rounded shadow z-3\"},[_c('div',{staticClass:\"flex flex-col p-4 border-b border-purple-200\"},[_c('span',{staticClass:\"text-base font-semibold\"},[_vm._v(\" \"+_vm._s(_vm.firstName)+\" \"+_vm._s(_vm.lastName ? _vm.lastName : '')+\" \")]),(!!_vm.company)?_c('span',{staticClass:\"mt-2 text-sm text-purple-400\"},[_vm._v(\" \"+_vm._s(_vm.company)+\" \")]):_vm._e()]),_c('div',{staticClass:\"flex flex-col p-4 pb-6\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600\"},[_vm._v(\"First name:\")]),_c('span',{staticClass:\"mt-1 text-base text-gray-900\"},[_vm._v(_vm._s(_vm.firstName))])]),_c('div',{staticClass:\"flex flex-col mt-4\"},[_c('span',{staticClass:\"text-sm text-gray-600\"},[_vm._v(\"Last name:\")]),_c('span',{staticClass:\"mt-1 text-base text-gray-900\"},[_vm._v(_vm._s(!!_vm.lastName ? _vm.lastName : '-'))])]),(_vm.email)?_c('div',{staticClass:\"flex flex-col mt-4\"},[_c('span',{staticClass:\"text-sm text-gray-600\"},[_vm._v(\"Email:\")]),_c('a',{staticClass:\"mt-1 text-base text-gray-900 hover:no-underline cursor-pointer underline\",attrs:{\"href\":`mailto:${_vm.email}`}},[_vm._v(_vm._s(_vm.email))])]):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class UserInfoCard extends Vue {\n @Prop({ type: String, required: true }) public firstName: string;\n @Prop({ type: String, required: false, default: '-' }) public lastName: string;\n @Prop({ type: String, required: false }) public company: string;\n @Prop({ type: String, required: false }) public email: string;\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UserInfoCard.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UserInfoCard.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UserInfoCard.vue?vue&type=template&id=784dc989\"\nimport script from \"./UserInfoCard.vue?vue&type=script&lang=ts\"\nexport * from \"./UserInfoCard.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex flex-col justify-center\",class:[\n Object.values(_vm.fragment)[0]?.url\n ? 'items-start'\n : 'w-72 items-center bg-purple-200 p-4 cursor-pointer opacity-80 hover:opacity-100',\n ],on:{\"click\":function($event){_vm.handleDownloadImageClicked(_vm.article, Object.values(_vm.fragment)[0])}}},[(Object.values(_vm.fragment)[0]?.url)?_c('img',{attrs:{\"src\":Object.values(_vm.fragment)[0]?.url}}):(Object.values(_vm.fragment)[0]?.loading)?_c('div',{staticClass:\"flex flex-col items-center\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"size\":\"40\"}},[_vm._v(\"mdi-loading\")]),_c('p',{staticClass:\"mt-2\"},[_vm._v(\" \"+_vm._s(Object.values(_vm.fragment)[0].name)+\" \")])],1):_c('div',{staticClass:\"flex flex-col items-center\"},[_c(VIcon,{attrs:{\"size\":\"40\"}},[_vm._v(\"mdi-download\")]),_c('p',{staticClass:\"mt-2\"},[_vm._v(\" \"+_vm._s(Object.values(_vm.fragment)[0].name)+\" \")])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n/**\n * The component is used as a placeholder/loader for images inside a `Zammad` ticket article.\n * In the email body, these images come with a relative URL. The current component receives\n * the article and a fragment (chunk) with the image data as input. It implements a function\n * for loading the image through an endpoint, creating a Blob, and rendering this image in\n * place of the placeholder.\n */\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\nimport { JobTicketAtricle, JobTicketArticleImageData } from '@/models/jobTicket';\nimport { getJobTicketAttachment } from '@/api';\nimport { notifyNetworkError } from '@/helpers/notifiers';\n\n@Component({\n components: {\n Icon,\n },\n})\nexport default class ZammadTicketCreationForm extends Vue {\n @Prop({ type: Object, required: true }) public article: JobTicketAtricle;\n @Prop({ type: Object, required: true }) public fragment: JobTicketArticleImageData;\n\n public handleDownloadImageClicked(article: JobTicketAtricle, image) {\n if (this.fragment['image'].loading === true) {\n return;\n }\n this.fragment['image'].loading = true;\n this.$forceUpdate();\n\n getJobTicketAttachment(article.ticket_id, article.id, image.id)\n .then(response => {\n const format = image.name.split('.')[1];\n const blob = new Blob([response.data], { type: `image/${format || 'jpg'}` });\n const url = window.URL.createObjectURL(blob);\n this.fragment['image'].url = url;\n })\n .catch(() => {\n notifyNetworkError({ title: 'Error downloading the image' });\n })\n .finally(() => {\n this.fragment['image'].loading = false;\n this.$forceUpdate();\n });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ZammadTicketImgPlaceholder.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ZammadTicketImgPlaceholder.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ZammadTicketImgPlaceholder.vue?vue&type=template&id=30b774ab\"\nimport script from \"./ZammadTicketImgPlaceholder.vue?vue&type=script&lang=ts\"\nexport * from \"./ZammadTicketImgPlaceholder.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { editJobTicket, editJobArticle, createJobArticle, getJobTicketAttachment, getZammadChannelsEmail } from '@/api';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { checkTicketIsRfc, cleanEmailString } from '@/utils/Common';\nimport { mapState } from 'vuex';\nimport { timeZoneDefault, notificationErrorText } from '@/utils/PortalConstants';\n\nimport Avatar from '@/components/UI/Avatar.vue';\nimport Icon from '@/components/UI/Icon.vue';\nimport Button from '@/components/UI/Button.vue';\nimport DropZone from '@/components/UI/DropZone.vue';\nimport Tooltip from '@/components/UI/Tooltip.vue';\nimport AttachmentsField from '@/components/fields/AttachmentsField.vue';\nimport UserInfoCard from '@/components/UI/UserInfoCard.vue';\nimport LookupMailbox from '@/components/UI/LookupMailbox.vue';\n\nimport { generateUserEmailName, extractEmails, validateEmails } from '@/utils/Common';\nimport { JobArticleData, UploadingFilesObjectForTable, User } from '@/models/main';\nimport {\n JobTicketResponce,\n JobTicketAtricle,\n JobTicketNewArticleData,\n JobTicketArticleFragmentsData,\n} from '@/models/jobTicket';\nimport ZammadTicketImgPlaceholder from '@/components/jobDetailed/ZammadTicketImgPlaceholder.vue';\nimport store from '@/store';\n\nimport { sendError } from '@/helpers/sentry';\nimport { extend } from 'vee-validate';\nimport { required } from 'vee-validate/dist/rules';\nimport { fetchSetTicketState } from '@/helpers/fetchers';\n\nextend('required', {\n ...required,\n message: 'This field is required',\n});\n\n@Component({\n components: {\n Avatar,\n Button,\n DropZone,\n Icon,\n Tooltip,\n AttachmentsField,\n UserInfoCard,\n LookupMailbox,\n ZammadTicketImgPlaceholder,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class ZammadTicket extends Vue {\n @Prop({ type: Array, required: true }) public articlesData: JobTicketAtricle[];\n @Prop({ type: Object, required: false }) public ticketData: JobTicketResponce;\n @Prop({ type: Boolean, required: false }) public loadingRfcRequest: boolean;\n\n public user: User;\n public format = format;\n public utcToZonedTime = utcToZonedTime;\n public timeZoneDefault = timeZoneDefault;\n public openMessages: number[] = [];\n\n public checkTicketIsRfc = checkTicketIsRfc;\n private validateEmails = validateEmails;\n\n public loadingNewArticle = false;\n public newArticleData: JobTicketNewArticleData = {\n from: '',\n toChips: [],\n ccChips: [],\n subject: '',\n message: '',\n typeIsEmail: false,\n quote: '',\n };\n private channelsEmailList: string[] = [];\n\n public setChips(label: string, chips: string[]) {\n this.newArticleData[`${label}Chips`] = chips;\n this.validateEmailToInput();\n }\n\n public uploadError = '';\n private files: File[] = [];\n public filesObjectsForTable: UploadingFilesObjectForTable[] = [];\n\n public toInputHasError = false;\n\n // public showUserInfoId = -1;\n\n public validateEmailToInput() {\n if (this.newArticleData.typeIsEmail) {\n this.toInputHasError = !this.newArticleData.toChips.length;\n } else {\n this.toInputHasError = false;\n }\n }\n\n public msgTypeChanged(isEmail) {\n if (!isEmail) {\n this.newArticleData.quote = '';\n this.newArticleData.subject = '';\n this.newArticleData.from = '';\n this.newArticleData.toChips = [];\n this.newArticleData.ccChips = [];\n this.newArticleData.message = '';\n }\n }\n\n public replyClicked(article, all) {\n this.newArticleData.typeIsEmail = true;\n this.newArticleData.from = article.from;\n this.newArticleData.toChips = article.to ? extractEmails(article.to) : [];\n this.newArticleData.ccChips = all && article.cc ? extractEmails(article.cc) : [];\n this.newArticleData.subject = article.subject;\n\n const userName = generateUserEmailName(this.user);\n\n const userSign = `--\\n\\nRegards\\n${userName}\\n${\n process.env.VUE_APP_SENTRY_ENVIRONMENT === 'production' ? 'Service Delivery Team' : 'IT Support'\n }\\n\\nKK Technical Services\\nP:(02) 9575 0000 F:(02) 9575 0030\\nE: ${this.user.email}, https://kkts.com.au\\n`;\n\n this.newArticleData.message = '\\n\\n\\n' + userSign;\n\n const date = format(new Date(article.created_at), 'EEEE, LLLL d, yyyy');\n const time = format(new Date(article.created_at), 'hh:mm:ss aa');\n const dateSign = `On ${date} at ${time}, ${article.created_by} wrote`;\n\n this.newArticleData.quote = `
${dateSign}:

${article.body}
`;\n\n const modal = document.querySelector('.v-dialog.v-dialog--active');\n if (modal) {\n modal.scrollTo({ top: modal.scrollHeight, behavior: 'smooth' });\n } else {\n window.scrollTo({ top: document.documentElement.scrollHeight, behavior: 'smooth' });\n }\n }\n\n public toggleMessageClicked(id: number): void {\n const articleId = this.openMessages.indexOf(id);\n if (articleId === -1) {\n this.openMessages.push(id);\n } else {\n this.openMessages.splice(articleId, 1);\n }\n }\n\n public async togglePrivacy(article: JobTicketAtricle): Promise {\n const data: JobArticleData = {\n id: article.id,\n ticket_id: article.ticket_id,\n subject: article.subject,\n body: article.body,\n content_type: 'text/html',\n type: article.type,\n internal: !article.internal,\n sender: 'Customer',\n attachments: article.attachments,\n };\n await editJobArticle(data)\n .then(res => {\n const editingArticleIdx = this.articlesData.findIndex(x => x.id === article.id);\n if (editingArticleIdx >= 0) {\n this.articlesData[editingArticleIdx].internal = res.internal;\n }\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error sending the message',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n }\n\n public async sendArticle(): Promise {\n const msgForm = this.$refs.msgForm as HTMLFormElement;\n if (msgForm) {\n this.validateEmailToInput();\n const success = await msgForm.validate();\n if (success && !this.toInputHasError) {\n let body = this.newArticleData.message.replace(/\\n/g, '
');\n // Add quote to body for emails\n if (this.newArticleData.typeIsEmail && this.newArticleData.quote) {\n body = body + '

' + this.newArticleData.quote;\n }\n this.loadingNewArticle = true;\n const data: JobArticleData = {\n ticket_id: this.articlesData[0].ticket_id,\n subject: this.newArticleData.subject,\n body: body,\n from: this.newArticleData.from,\n to: cleanEmailString(this.newArticleData.toChips, this.channelsEmailList).join(', '),\n cc: cleanEmailString(this.newArticleData.ccChips, this.channelsEmailList).join(', '),\n content_type: 'text/html',\n type: this.newArticleData.typeIsEmail ? 'email' : 'note',\n internal: this.newArticleData.typeIsEmail ? false : true,\n sender: this.$ability.can('staff', 'Job') ? 'Agent' : 'Customer',\n attachments: this.files,\n };\n createJobArticle(data)\n .then(async res => {\n if (\n (this.ticketData.state.toLowerCase() === 'new' && this.articlesData.length === 1) ||\n this.ticketData.state.toLowerCase() === 'closed'\n ) {\n await this.setTicketState('open', 2);\n }\n this.newArticleData.subject = '';\n this.newArticleData.message = '';\n this.newArticleData.toChips = [];\n this.newArticleData.ccChips = [];\n this.newArticleData.quote = '';\n this.files = [];\n this.filesObjectsForTable = [];\n this.uploadError = '';\n this.articlesData.push(res);\n msgForm.reset();\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error sending the message',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loadingNewArticle = false;\n });\n }\n }\n }\n\n // Attachments:\n public filesAdded(files: File[]): void {\n this.uploadError = '';\n this.filesObjectsForTable = [];\n this.files = [...this.files, ...files];\n if (this.files.length > 5) {\n this.uploadError = 'You are only allowed to upload a maximum of 5 files';\n this.files.splice(5);\n }\n this.files.map(file => {\n this.filesObjectsForTable.push({\n name: file.name,\n size: file.size,\n });\n });\n }\n\n public deleteFiles(item: UploadingFilesObjectForTable): void {\n const fileIdx = this.files.findIndex(x => x.name === item.name);\n if (fileIdx >= 0) {\n this.files.splice(fileIdx, 1);\n this.filesObjectsForTable.splice(fileIdx, 1);\n this.uploadError = '';\n }\n }\n\n public downloadImage(ticket_id: number, article_id: number, file_id: number, file_name: string): void {\n getJobTicketAttachment(ticket_id, article_id, file_id)\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', file_name);\n document.body.appendChild(link);\n link.click();\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error downloading the image',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n }\n\n private async setTicketState(state: string, state_id: number) {\n await fetchSetTicketState(this.ticketData, state, state_id).then(res => {\n this.$emit('zammadListChanged', res);\n });\n }\n\n public async closeR4CClicked() {\n await this.setTicketState('closed', 4);\n }\n\n // Temporary hidden\n // User card on avatar hover\n // public avatarOver(id: number) {\n // this.showUserInfoId = id;\n // }\n\n // public avatarLeave() {\n // this.showUserInfoId = -1;\n // }\n\n private async getZammadChannelsEmailWrapper() {\n await getZammadChannelsEmail()\n .then(res => {\n this.channelsEmailList = res;\n })\n .catch(err => {\n sendError(err, 'ZammadTicket');\n });\n }\n\n /**\n * The function receives an \"article\" object as input and returns two arrays to display\n * the email body. The email body is parsed into chunks – the HTML code before and\n * after the tag is added to the fragments without changes. The content of\n * the tag is converted into an image object containing the necessary data\n * for the `ZammadTicketImgPlaceholder` component – an\n * image placeholder/loader for Zammad articles.\n * For the array with fragments for the preview, the tag is replaced\n * with a string containing the image name.\n */\n private generateArticleFragments(html) {\n const regex = /]*?>/g;\n const fragments: JobTicketArticleFragmentsData[] = [];\n const fragmentsPreview: string[] = [];\n let lastIndex = 0;\n\n for (const match of html.body.matchAll(regex)) {\n const fragment = html.body.substring(lastIndex, match.index);\n fragments.push({ fragment: fragment });\n fragmentsPreview.push(fragment);\n lastIndex = match.index + match[0].length;\n const imgRegex = /]+src=\"(\\/[^\">]+)\"/g;\n\n const imgMatch = imgRegex.exec(match[0]);\n\n if (!imgMatch) {\n return;\n }\n\n const parts = imgMatch[1].split('/');\n const imageId = parts[parts.length - 1].substring(0, parts[parts.length - 1].indexOf('?'));\n\n const imageName = html.attachments.find(x => x.id === Number(imageId)).filename;\n\n fragments.push({\n image: {\n id: Number(imageId),\n name: imageName,\n loading: false,\n },\n });\n fragmentsPreview.push(`*** Image: \"${imageName}\" ***`);\n }\n\n fragments.push({ fragment: html.body.substring(lastIndex) });\n fragmentsPreview.push(html.body.substring(lastIndex));\n const fragmentsPreviewString = fragmentsPreview.join('').substring(0, 300);\n return {\n fragments: fragments,\n fragmentsPreview: fragmentsPreviewString,\n };\n }\n\n private mounted() {\n if (this.articlesData && this.articlesData[0]) {\n store.dispatch('moduleNotifications/setTicketNotificationsAsRead', this.articlesData[0].ticket_id);\n }\n this.getZammadChannelsEmailWrapper();\n // Create fragments for each article and write them to the article object\n this.articlesData.map(article => {\n const res = this.generateArticleFragments(article);\n if (res) {\n article.fragments = res['fragments'];\n article.fragmentsPreview = res['fragmentsPreview'];\n this.$forceUpdate();\n }\n });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ZammadTicket.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ZammadTicket.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ZammadTicket.vue?vue&type=template&id=05b46a2a\"\nimport script from \"./ZammadTicket.vue?vue&type=script&lang=ts\"\nexport * from \"./ZammadTicket.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ZammadTicket.vue?vue&type=style&index=0&id=05b46a2a&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('ValidationObserver',{ref:\"newMsgForm\"},[_c('div',{staticClass:\"flex justify-start items-start\"},[_c('Icon',{attrs:{\"name\":\"mdi-alert-circle\",\"color\":\"orange\",\"colorIntensity\":\"400\",\"size\":\"2xl\"}}),_c('span',{staticClass:\"mt-1 ml-2 text-base leading-4 text-gray-500 italic\"},[_vm._v(\" \"+_vm._s(_vm.type === 'r4c' ? 'The notification will be sent to our Booking Team.' : 'The notification will be sent to user(s) you mention in the “To” field.')+\" \")])],1),(_vm.type !== 'r4c' && _vm.$can('staff', 'Job'))?[_c('LookupMailbox',{staticClass:\"mt-2 bg-white\",attrs:{\"label\":\"to\",\"hasError\":_vm.toInputHasError,\"chipsProp\":_vm.formData?.toChips},on:{\"setChips\":_vm.setChips}}),(_vm.toInputHasError)?_c('span',{staticClass:\"ml-2 text-base text-red-700\"},[_vm._v(\"This field is required\")]):_vm._e(),_c('LookupMailbox',{staticClass:\"mt-2 bg-white\",attrs:{\"label\":\"cc\",\"chipsProp\":_vm.formData.ccChips}})]:_vm._e(),_c('validation-provider',{staticClass:\"flex flex-col mt-2 w-full floating-label-inset\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":\"r4c_subject\",\"name\":\"r4c_subject\",\"type\":\"text\",\"placeholder\":\"Subject\",\"disabled\":_vm.loading,\"variant\":{\n error: !!errors[0],\n disabled: _vm.loading,\n }},model:{value:(_vm.formData.subject),callback:function ($$v) {_vm.$set(_vm.formData, \"subject\", $$v)},expression:\"formData.subject\"}}),_c('label',{staticClass:\"-z-1\",attrs:{\"for\":\"r4c_subject\"}},[_c('span',[_vm._v(\" Subject \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])}),_c('validation-provider',{staticClass:\"flex flex-col mt-2 w-full floating-label-inset\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"w-full floating-label-inset\"},[_c('t-textarea',{attrs:{\"id\":\"r4c_msg\",\"name\":\"r4c_msg\",\"type\":\"text\",\"placeholder\":\"Message\",\"disabled\":_vm.loading,\"variant\":{\n error: !!errors[0],\n disabled: _vm.loading,\n }},model:{value:(_vm.formData.msg),callback:function ($$v) {_vm.$set(_vm.formData, \"msg\", $$v)},expression:\"formData.msg\"}}),_c('label',{staticClass:\"-z-1\",attrs:{\"for\":\"r4c_subject\"}},[_c('span',[_vm._v(\" Message \")])])],1),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])}),_c('AttachmentsField',{attrs:{\"uploadError\":_vm.uploadError,\"filesObjectsForTable\":_vm.filesObjectsForTable,\"deleteFiles\":_vm.deleteFiles,\"filesAdded\":_vm.filesAdded}}),_c('div',{staticClass:\"flex justify-end mt-4\"},[_c('div',[_c('Button',{staticClass:\"w-min\",attrs:{\"size\":\"small\",\"color\":\"lime\",\"colorIntensity\":\"600\",\"text\":_vm.type === 'r4c' ? 'Create request' : 'Create ticket',\"icon\":\"mdi-send\",\"loading\":_vm.loading},nativeOn:{\"click\":function($event){return _vm.submitFromClicked.apply(null, arguments)}}})],1)])],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\nimport Button from '@/components/UI/Button.vue';\nimport AttachmentsField from '@/components/fields/AttachmentsField.vue';\nimport LookupMailbox from '@/components/UI/LookupMailbox.vue';\nimport { UploadingFilesObjectForTable } from '@/models/main';\n\nimport { validateEmails } from '@/utils/Common';\nimport { ZammadTicketData } from '@/models/jobTicket';\n\nimport { extend } from 'vee-validate';\nimport { required } from 'vee-validate/dist/rules';\nextend('required', {\n ...required,\n message: 'This field is required',\n});\n\n@Component({\n components: {\n Button,\n Icon,\n AttachmentsField,\n LookupMailbox,\n },\n})\nexport default class ZammadTicketCreationForm extends Vue {\n @Prop({ type: String, required: false, default: '' }) public type: string;\n @Prop({ type: Boolean, required: false, default: false }) public loading: boolean;\n @Prop({ type: Object, required: true }) public formData: ZammadTicketData;\n @Prop({ type: Number, required: true }) public jobId: number;\n\n public toInputHasError = false;\n private validateEmails = validateEmails;\n\n public uploadError = '';\n private files: File[] = [];\n public filesObjectsForTable: UploadingFilesObjectForTable[] = [];\n\n public validateEmailToInput() {\n this.toInputHasError = !this.formData.toChips.length;\n }\n\n public setChips(label: string, chips: string[]) {\n this.formData[`${label}Chips`] = chips;\n this.validateEmailToInput();\n }\n\n public async submitFromClicked(): Promise {\n if (this.type !== 'r4c' && this.$ability.can('staff', 'Job')) {\n this.validateEmailToInput();\n }\n const form = this.$refs.newMsgForm as HTMLFormElement;\n if (form && !this.toInputHasError) {\n const success = await form.validate();\n if (success) {\n this.$emit('submit', { ...this.formData, is_rfc: this.type === 'r4c' ? true : false, attachments: this.files });\n }\n }\n }\n\n public filesAdded(files: File[]): void {\n this.uploadError = '';\n this.filesObjectsForTable = [];\n this.files = [...this.files, ...files];\n if (this.files.length > 5) {\n this.uploadError = 'You are only allowed to upload a maximum of 5 files';\n this.files.splice(5);\n }\n this.files.map(file => {\n this.filesObjectsForTable.push({\n name: file.name,\n size: file.size,\n });\n });\n }\n\n public deleteFiles(item: UploadingFilesObjectForTable): void {\n const fileIdx = this.files.findIndex(x => x.name === item.name);\n if (fileIdx >= 0) {\n this.files.splice(fileIdx, 1);\n this.filesObjectsForTable.splice(fileIdx, 1);\n this.uploadError = '';\n }\n }\n\n private mounted() {\n if (this.jobId && this.jobId >= 0) {\n this.formData.subject = `Update to job #${this.jobId}`;\n }\n }\n\n //\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ZammadTicketCreationForm.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ZammadTicketCreationForm.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ZammadTicketCreationForm.vue?vue&type=template&id=afc530a0\"\nimport script from \"./ZammadTicketCreationForm.vue?vue&type=script&lang=ts\"\nexport * from \"./ZammadTicketCreationForm.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header pa-2\"},[_c('h2',[_vm._v(_vm._s(_vm.board.division))]),(_vm.board.id && _vm.board.already_scheduled_stops_count === _vm.board.total_stops_to_schedule_count)?_c('div',{staticClass:\"counter\"},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,{attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-calendar-check-outline\")])],1)]}}],null,false,862962218)},[_c('span',[_vm._v(\" All stops were planned \")])])],1):(_vm.board.id && _vm.board.already_scheduled_stops_count !== _vm.board.total_stops_to_schedule_count)?_c('div',{staticClass:\"counter\"},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_vm._v(_vm._s(_vm.board.already_scheduled_stops_count)+\"/\"+_vm._s(_vm.board.total_stops_to_schedule_count)+\" \")])]}}])},[_c('span',[_vm._v(\" Already scheduled stops: \"+_vm._s(_vm.board.already_scheduled_stops_count)),_c('br'),_vm._v(\" Total stops to schedule: \"+_vm._s(_vm.board.total_stops_to_schedule_count)+\" \")])])],1):_vm._e()]),_c('div',{staticClass:\"card-content pt-8 pb-10\"},[_c('div',{staticClass:\"btns\"},[(_vm.board.id && !_vm.board.locked_by_name)?_c('div',[_c('router-link',{staticClass:\"btn-board btn-board-view\",attrs:{\"to\":{\n path: `/scheduler/board/${_vm.board.division.toLowerCase()}/${_vm.board.board_date}/`,\n }}},[_c('p',[_vm._v(\"View board\")])])],1):_c('div',[_c('div',{staticClass:\"btn-board btn-board-create\",attrs:{\"default\":\"\",\"color\":\"white\"},on:{\"click\":function($event){return _vm.$emit('createBoard', _vm.board.division)}}},[_c('p',[_vm._v(\"Create board\")])])])])]),(!!_vm.board.locked_by_name)?_c('div',{staticClass:\"locked pt-2\"},[_c(VIcon,{attrs:{\"color\":\"purple\"}},[_vm._v(\"mdi-lock\")]),_c('p',{staticClass:\"text ma-0 pa-0 mt-1\"},[_vm._v(\"Locked by: \"+_vm._s(_vm.board.locked_by_name))]),_c('p',{staticClass:\"link-unlock ma-0 pa-0 mt-1\",on:{\"click\":function($event){return _vm.$emit('unlockBoard', _vm.board.id)}}},[_vm._v(\"Unlock\")])],1):_vm._e(),(!!_vm.board.locked_by_name)?_c('div',{staticClass:\"locked-bg\"}):_vm._e(),(_vm.board.id)?_c('div',[_c('router-link',{staticClass:\"link-logs\",attrs:{\"to\":{\n path: `/scheduler/board/${_vm.board.division.toLowerCase()}/${_vm.board.board_date}/logs`,\n }}},[_c('p',[_vm._v(\"View logs\")])])],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\n\n@Component({\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class SchedulerCard extends Vue {\n @Prop({ type: Object || Boolean, required: true }) public readonly board: { ['string']: string };\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SchedulerCard.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SchedulerCard.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SchedulerCard.vue?vue&type=template&id=16304038&scoped=true\"\nimport script from \"./SchedulerCard.vue?vue&type=script&lang=ts\"\nexport * from \"./SchedulerCard.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SchedulerCard.scss?vue&type=style&index=0&id=16304038&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"16304038\",\n null\n \n)\n\nexport default component.exports","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"500\",\"disabled\":_vm.selectedDriver?.id <= -1},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({staticClass:\"w-full\"},'span',attrs,false),on),[_c(VAutocomplete,{attrs:{\"items\":_vm.driversFiltred,\"menu-props\":{ 'allow-overflow': true, closeOnContentClick: true },\"disabled\":_vm.disabled,\"rules\":[v => (!!v && v.id !== -1) || 'Driver is required'],\"background-color\":!_vm.disabled ? 'white' : null,\"item-value\":\"code\",\"item-text\":\"full_name\",\"return-object\":\"\",\"outlined\":\"\",\"clearable\":\"\",\"dense\":\"\",\"label\":\"Driver\"},on:{\"update:search-input\":_vm.handleInput,\"change\":_vm.change,\"focus\":function($event){return $event.target.click()}},scopedSlots:_vm._u([{key:\"selection\",fn:function({ item }){return [_c('p',{staticClass:\"text-select ma-0 mt-2 pa-0\"},[_vm._v(\" \"+_vm._s(item.code)+\", \"+_vm._s(item.full_name)),(!!item.attribute.length)?[_vm._v(\", \"+_vm._s(item.attribute.join(', '))+\" \")]:_vm._e()],2)]}},{key:\"item\",fn:function({ item }){return [_c(VListItem,{on:{\"click\":function($event){return _vm.change(item)}}},[_c(VListItemContent,[_c(VListItemTitle,[_vm._v(_vm._s(item.code)+\", \"+_vm._s(item.full_name))]),(!!item.attribute.length)?_c(VListItemSubtitle,[_vm._v(_vm._s(item.attribute.join(', ')))]):_vm._e()],1)],1)]}},{key:\"no-data\",fn:function(){return [_c(VListItem,[_c(VListItemTitle,[_vm._v(\"No drivers\")])],1)]},proxy:true}],null,true),model:{value:(_vm.selectedDriver),callback:function ($$v) {_vm.selectedDriver=$$v},expression:\"selectedDriver\"}})],1)]}}])},[_c('span',[_vm._v(\" \"+_vm._s(_vm.selectedDriver?.code)+\", \"+_vm._s(_vm.selectedDriver?.full_name)+\" \"),(_vm.selectedDriver?.attribute?.length)?_c('span',[_vm._v(\", \"+_vm._s(_vm.selectedDriver?.attribute?.join(', '))+\" \")]):_vm._e()])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { LookupDriverFull } from '@/models/main';\nimport { SchedulerShift } from '@/models/scheduler';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n@Component({})\nexport default class DriversLookup extends Vue {\n @Prop(Array) public drivers!: LookupDriverFull[];\n @Prop(Array) public readonly driversChosen!: number[];\n @Prop(Object) private readonly shift: SchedulerShift;\n @Prop(Boolean) public readonly disabled: boolean;\n @Prop(Boolean) private readonly extented: boolean;\n\n public selectedDriverDefault = {\n id: -1,\n code: -1,\n full_name: '',\n mobile_phone: '',\n };\n public selectedDriver = { ...this.selectedDriverDefault };\n public driversFiltred: LookupDriverFull[] = [];\n\n public clear() {\n this.selectedDriver = { ...this.selectedDriverDefault };\n }\n\n public filterDrivers() {\n this.driversFiltred = this.drivers.filter(driver => {\n return !this.driversChosen.includes(driver.code) || this.selectedDriver.code === driver.code;\n });\n }\n\n public handleInput(evt) {\n if (!evt) {\n return;\n }\n const chosenString = this.selectedDriver.full_name.slice(0, evt.length);\n if (this.selectedDriver.id >= 0 && evt !== chosenString) {\n this.clear();\n return evt;\n }\n }\n\n public change(item) {\n if (item) {\n this.selectedDriver = item;\n this.shift.driver = item.code;\n this.shift.driver_fullname = item.full_name;\n } else {\n this.shift.driver = null;\n }\n this.$emit('change', this.shift);\n }\n\n @Watch('shift', { immediate: true, deep: true })\n private watchToShift() {\n const find = this.drivers.find(x => x.code === this.shift.driver);\n if (find) {\n this.selectedDriver = find;\n } else {\n this.selectedDriver = {\n id: -1,\n code: -1,\n full_name: '',\n mobile_phone: '',\n };\n }\n }\n\n @Watch('driversChosen', { deep: true })\n private watchToDrivers() {\n this.filterDrivers();\n }\n\n private mounted() {\n this.filterDrivers();\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DriversLookup.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DriversLookup.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DriversLookup.vue?vue&type=template&id=2b896833&scoped=true\"\nimport script from \"./DriversLookup.vue?vue&type=script&lang=ts\"\nexport * from \"./DriversLookup.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DriversLookup.vue?vue&type=style&index=0&id=2b896833&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2b896833\",\n null\n \n)\n\nexport default component.exports","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full\"},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"500\",\"disabled\":_vm.selectedSuburb?.id <= -1},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({staticClass:\"w-full\"},'span',attrs,false),on),[_c(VAutocomplete,{staticClass:\"lookup\",class:_vm.shift_id ? 'dense' : '',attrs:{\"items\":_vm.itemSearch,\"item-text\":\"name\",\"item-value\":\"id\",\"return-object\":\"\",\"loading\":_vm.loading,\"outlined\":\"\",\"clearable\":\"\",\"label\":\"Suburb\",\"required\":\"\",\"dense\":_vm.shift_id ? true : false,\"rules\":[v => (!!v && v.name.length >= 1) || 'Suburb is required field'],\"tabindex\":_vm.tabIndex,\"disabled\":_vm.disabled,\"autofill\":\"no\",\"background-color\":!_vm.disabled ? 'white' : null},on:{\"update:search-input\":_vm.search,\"change\":_vm.change,\"click:clear\":_vm.clear},scopedSlots:_vm._u([{key:\"selection\",fn:function({ item }){return [_c('p',{staticClass:\"text-select ma-0 mt-2 pa-0 whitespace-nowrap overflow-ellipsis overflow-hidden leading-3\"},[_vm._v(\" \"+_vm._s(item.name)+\", \"+_vm._s(item.state)+\", \"+_vm._s(item.postcode)+\" \")])]}},{key:\"item\",fn:function({ item }){return [_c('p',{staticClass:\"text-select text-select--list ma-0 pa-0\"},[_vm._v(\" \"+_vm._s(item.name)+\", \"+_vm._s(item.state)+\", \"+_vm._s(item.postcode)+\" \")])]}},{key:\"no-data\",fn:function(){return [_c(VListItem,[(_vm.loading)?_c(VListItemTitle,[_vm._v(\"Loading...\")]):(!_vm.loading && _vm.inputText && _vm.inputText !== '' && _vm.inputText.length >= 3)?_c(VListItemTitle,[_vm._v(\"Not found\")]):_c(VListItemTitle,[_vm._v(\"Enter more than 3 characters\")])],1)]},proxy:true}],null,true),model:{value:(_vm.selectedSuburb),callback:function ($$v) {_vm.selectedSuburb=$$v},expression:\"selectedSuburb\"}})],1)]}}])},[_c('span',[_vm._v(\" \"+_vm._s(_vm.selectedSuburb.name)+\", \"+_vm._s(_vm.selectedSuburb.state)+\", \"+_vm._s(_vm.selectedSuburb.postcode)+\" \")])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { SuburbLookupData } from '@/models/main';\nimport { AddressBookData } from '@/models/addressBook';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n@Component({})\nexport default class LookupSuburb extends Vue {\n @Prop({ type: Number, required: true }) private readonly stop!: number;\n @Prop({ type: Number, required: false }) public readonly shift_id!: number;\n @Prop({ type: Number, required: false }) private readonly editedItem!: number;\n @Prop({ type: Boolean, required: true }) public readonly disabled!: boolean;\n @Prop({ type: Object, required: false }) private readonly chosen!: AddressBookData;\n @Prop({ type: Number, required: false }) public readonly tabIndex!: number;\n @Prop({ type: Function, required: true }) private autocomplete!: (params: string) => Promise;\n\n public loading = false;\n public inputText = '';\n public itemSearch: SuburbLookupData[] = [];\n private selectedSuburbDefault = {\n id: -1,\n name: '',\n postcode: '',\n state: '',\n zone: '',\n };\n public selectedSuburb = { ...this.selectedSuburbDefault };\n\n public clear() {\n this.selectedSuburb = { ...this.selectedSuburbDefault };\n this.inputText = '';\n this.$emit('clear', this.shift_id ? this.shift_id : this.stop);\n }\n\n public search(val) {\n this.inputText = val;\n if (!val) {\n return;\n }\n const chosenString = this.selectedSuburb.name.slice(0, val.length);\n if (val?.length >= 3) {\n this.itemSearch = [];\n this.loading = true;\n this.autocomplete(val)\n .then(data => {\n this.itemSearch = data;\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n } else if (this.selectedSuburb.id >= 0 && val !== chosenString) {\n this.clear();\n this.selectedSuburb.name = val;\n return val;\n }\n }\n\n public change() {\n if (!this.selectedSuburb) {\n this.itemSearch = [];\n this.selectedSuburb = this.selectedSuburbDefault;\n this.$emit('clear', this.shift_id ? this.shift_id : this.stop);\n } else {\n this.$emit('change', this.shift_id ? this.shift_id : this.stop, this.selectedSuburb);\n }\n }\n\n @Watch('chosen', { immediate: true, deep: true })\n private watchToChosen() {\n // Clear the suburb if the parent has been cleared\n if (this.chosen.suburbId === -1) {\n this.selectedSuburb = { ...this.selectedSuburbDefault };\n return;\n }\n if (\n this.chosen.suburb &&\n typeof this.chosen.suburb === 'string' &&\n this.selectedSuburb &&\n (this.chosen.suburbId !== this.selectedSuburb.id || this.chosen.suburbId === -1)\n ) {\n this.loading = true;\n this.autocomplete(this.chosen.suburb)\n .then(data => {\n this.itemSearch = data;\n const find = data.find(x => x.id === this.chosen.suburbId || x.state === this.chosen.state);\n if (find) {\n this.selectedSuburb = find;\n // maybe better to add 'suburb_id' to the backend ?\n this.$emit('change', this.stop, this.selectedSuburb);\n }\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n } else if (this.itemSearch.length >= 1 && this.editedItem === -1 && this.chosen.suburbId === -1) {\n this.itemSearch = [];\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupSuburb.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupSuburb.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupSuburb.vue?vue&type=template&id=5728c438&scoped=true\"\nimport script from \"./LookupSuburb.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupSuburb.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LookupSuburb.vue?vue&type=style&index=0&id=5728c438&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5728c438\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VMenu,{attrs:{\"close-on-content-click\":false,\"close-on-click\":false,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"nudge-right\":40,\"min-width\":\"250px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on }){return [_c(VTextField,_vm._g({class:_vm.context === 'bfix' ? 'date input input-search input-bfix' : 'date input input-search',attrs:{\"label\":\"Date range\",\"readonly\":\"\",\"outlined\":_vm.context !== 'bfix',\"prepend-icon\":_vm.context === 'bfix' ? 'mdi-calendar' : '',\"hide-details\":\"\",\"disabled\":_vm.disabled},on:{\"click:clear\":_vm.clear},model:{value:(_vm.dateRangeText),callback:function ($$v) {_vm.dateRangeText=$$v},expression:\"dateRangeText\"}},on))]}}]),model:{value:(_vm.menu),callback:function ($$v) {_vm.menu=$$v},expression:\"menu\"}},[_c(VDatePicker,{attrs:{\"show-current\":_vm.today,\"range\":\"\",\"first-day-of-week\":\"1\"},model:{value:(_vm.dates),callback:function ($$v) {_vm.dates=$$v},expression:\"dates\"}},[_c(VSpacer),(_vm.todayButton)?_c(VBtn,{attrs:{\"text\":\"\",\"color\":\"primary\"},on:{\"click\":_vm.todayClick}},[_vm._v(\"Today\")]):_vm._e(),_c(VBtn,{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.menuClose}},[_vm._v(\"OK\")])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { User } from '@/models/main';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\n\n@Component({\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class DatePicker extends Vue {\n @Prop(Boolean) private readonly disabled!: boolean;\n @Prop(String) private readonly context!: string;\n @Prop(Array) private readonly Pdates!: string[];\n @Prop({ type: Boolean, required: false, default: false }) public todayButton: boolean;\n\n private user!: User;\n private today = '';\n private menu = false;\n private dates: string[] = [];\n\n private get dateRangeText(): string {\n return this.dates.sort().join(' - ');\n }\n private set dateRangeText(val: string) {\n this.dates = [];\n }\n\n private menuClose() {\n if (this.dates.length === 2) {\n this.menu = false;\n }\n }\n\n @Watch('menu')\n private changeDates() {\n if (!this.menu) {\n this.$emit('changeDate', this.dates);\n }\n }\n private todayClick(): void {\n this.dates = [this.today, this.today];\n }\n\n private clear() {\n this.dates = [];\n this.changeDates();\n this.$emit('cleareDateFilter');\n }\n\n @Watch('Pdates', { immediate: true })\n private watchToDateProps() {\n this.dates = this.Pdates;\n }\n private mounted(): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.today = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd'); // today\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DatePicker.vue?vue&type=template&id=0a68c80a&scoped=true\"\nimport script from \"./DatePicker.vue?vue&type=script&lang=ts\"\nexport * from \"./DatePicker.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DatePicker.vue?vue&type=style&index=0&id=0a68c80a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0a68c80a\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VMenu,{attrs:{\"close-on-content-click\":false,\"close-on-click\":false,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"nudge-right\":40,\"min-width\":\"250px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on }){return [_c(VTextField,_vm._g({staticClass:\"date input input-search\",attrs:{\"label\":\"Date range\",\"readonly\":\"\",\"outlined\":true,\"hide-details\":\"\",\"disabled\":_vm.disabled},model:{value:(_vm.dateRangeText),callback:function ($$v) {_vm.dateRangeText=$$v},expression:\"dateRangeText\"}},on))]}}]),model:{value:(_vm.menu),callback:function ($$v) {_vm.menu=$$v},expression:\"menu\"}},[_c(VDatePicker,{key:_vm.datePickerKey,attrs:{\"show-current\":_vm.today,\"range\":\"\",\"first-day-of-week\":\"1\",\"show-adjacent-months\":\"\"},model:{value:(_vm.dates),callback:function ($$v) {_vm.dates=$$v},expression:\"dates\"}},[(_vm.showDefault)?_c(VBtn,{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.setDefaultDates}},[_vm._v(\"Default\")]):_vm._e(),(_vm.showExtended)?_c(VBtn,{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.setExtendedDates}},[_vm._v(\"Extended\")]):_vm._e(),(_vm.showThisWeek)?_c(VBtn,{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.setThisWeekDates}},[_vm._v(\"This Week\")]):_vm._e(),_c(VBtn,{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.todayClick}},[_vm._v(\"Today\")]),(_vm.showTomorrow)?_c(VBtn,{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.setNextBusinessDay}},[_vm._v(\"Tomorrow\")]):_vm._e(),_c(VBtn,{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.menuClose}},[_vm._v(\"OK\")])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { User } from '@/models/main';\n\nimport { addDays, addMonths, lastDayOfWeek, startOfWeek, addBusinessDays } from 'date-fns';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\n\n@Component({\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class DateRangeCustom extends Vue {\n @Prop(Boolean) private readonly disabled!: boolean;\n @Prop(Array) private readonly Pdates!: string[];\n @Prop({ type: Boolean, default: true, required: false }) private readonly showDefault!: boolean;\n @Prop({ type: Boolean, default: false, required: false }) private readonly showExtended!: boolean;\n @Prop({ type: Boolean, default: false, required: false }) private readonly showThisWeek!: boolean;\n @Prop({ type: Boolean, default: false, required: false }) private readonly showTomorrow!: boolean;\n @Prop({ type: Number, default: 6, required: false }) private readonly defaultRange!: number;\n @Prop({ type: Number, default: 12, required: false }) private readonly extendedRange!: number;\n // starting range from Today or same value in the past?\n @Prop({ type: Boolean, default: false, required: false }) private readonly fromToday!: boolean;\n // by default adding range are in months, but could be set to business days\n @Prop({ type: Boolean, default: false, required: false }) private readonly useDays!: boolean;\n\n private user!: User;\n private today = '';\n private menu = false;\n private dates: string[] = [];\n // datePickerKey is used as a dirty hack to force the DatePicker update after using functions to set date ranges\n // see https://github.com/nathanreyes/v-calendar/issues/389\n private datePickerKey = 0;\n\n private get dateRangeText(): string {\n return this.dates.slice().sort().join(' - ');\n }\n private set dateRangeText(val: string) {\n this.dates = [];\n }\n\n private menuClose() {\n if (this.dates.length === 2) {\n this.menu = false;\n }\n }\n private userTimeZone = '';\n\n @Watch('menu')\n private changeDates() {\n if (!this.menu) {\n this.$emit('changeDate', this.dates);\n }\n }\n\n @Watch('Pdates', { immediate: true })\n private watchToDateProps() {\n this.dates = this.Pdates;\n }\n\n private todayClick(): void {\n this.dates = [this.today, this.today];\n this.datePickerKey++;\n }\n\n private setNextBusinessDay(): void {\n const tomorrow = format(utcToZonedTime(addBusinessDays(new Date(), 1), this.userTimeZone), 'yyyy-MM-dd');\n this.dates = [tomorrow, tomorrow];\n this.datePickerKey++;\n }\n\n private setDefaultDates(): void {\n let fromDate = '';\n let toDate = '';\n let fromDefaultRange, toDefaultRange;\n if (this.useDays) {\n fromDefaultRange = addDays(new Date(), -this.defaultRange);\n toDefaultRange = addDays(new Date(), this.defaultRange);\n } else {\n fromDefaultRange = addMonths(new Date(), -this.defaultRange);\n toDefaultRange = addMonths(new Date(), this.defaultRange);\n }\n // by default -/+ 6 months\n if (this.fromToday) {\n fromDate = format(utcToZonedTime(new Date(), this.userTimeZone), 'yyyy-MM-dd');\n } else {\n fromDate = format(utcToZonedTime(fromDefaultRange, this.userTimeZone), 'yyyy-MM-dd');\n }\n toDate = format(utcToZonedTime(toDefaultRange, this.userTimeZone), 'yyyy-MM-dd');\n this.dates = [fromDate, toDate];\n this.datePickerKey++;\n }\n\n private setExtendedDates(): void {\n let fromDate = '';\n let toDate = '';\n let fromExtendedRange, toExtendedRange;\n if (this.useDays) {\n fromExtendedRange = addDays(new Date(), -this.extendedRange);\n toExtendedRange = addDays(new Date(), this.extendedRange);\n } else {\n fromExtendedRange = addMonths(new Date(), -this.extendedRange);\n toExtendedRange = addMonths(new Date(), this.extendedRange);\n }\n // by default -/+ 1 year\n if (this.fromToday) {\n fromDate = format(utcToZonedTime(new Date(), this.userTimeZone), 'yyyy-MM-dd');\n } else {\n fromDate = format(utcToZonedTime(fromExtendedRange, this.userTimeZone), 'yyyy-MM-dd');\n }\n toDate = format(utcToZonedTime(toExtendedRange, this.userTimeZone), 'yyyy-MM-dd');\n this.dates = [fromDate, toDate];\n this.datePickerKey++;\n }\n\n private setThisWeekDates(): void {\n let fromDate = '';\n let toDate = '';\n const weekStart = startOfWeek(new Date(), { weekStartsOn: 1 });\n const endOfWeek = lastDayOfWeek(new Date(), { weekStartsOn: 1 });\n fromDate = format(utcToZonedTime(weekStart, this.userTimeZone), 'yyyy-MM-dd');\n toDate = format(utcToZonedTime(endOfWeek, this.userTimeZone), 'yyyy-MM-dd');\n this.dates = [fromDate, toDate];\n this.datePickerKey++;\n }\n\n private mounted(): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.userTimeZone = userTimeZone;\n this.today = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd'); // today\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DateRangeCustom.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DateRangeCustom.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DateRangeCustom.vue?vue&type=template&id=180a27ce&scoped=true\"\nimport script from \"./DateRangeCustom.vue?vue&type=script&lang=ts\"\nexport * from \"./DateRangeCustom.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DateRangeCustom.vue?vue&type=style&index=0&id=180a27ce&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"180a27ce\",\n null\n \n)\n\nexport default component.exports","import { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VTextField,{staticClass:\"input input-search disabled\",attrs:{\"value\":_vm.input,\"label\":_vm.label,\"outlined\":\"\",\"hide-details\":!_vm.hint,\"type\":_vm.type,\"disabled\":_vm.disabled,\"prepend-icon\":_vm.icon,\"hint\":_vm.hint,\"rules\":[\n v => {\n if (v.indexOf('.') >= 0) return false;\n if (!v.trim()) return true;\n if (!isNaN(parseFloat(v)) && v >= 0 && v <= 9999999) return true;\n return false;\n },\n ]},on:{\"input\":_vm.inputChanged,\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.addValue.apply(null, arguments)},\"blur\":_vm.addValue}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class Input extends Vue {\n @Prop(String) public readonly label!: string;\n @Prop(String) public readonly type!: string;\n @Prop(String) private readonly model!: string;\n @Prop(Boolean) public readonly disabled!: boolean;\n @Prop(String) public readonly icon!: string;\n @Prop(String) public readonly hint!: string;\n\n public input = '';\n\n public inputChanged(val) {\n this.input = val.replace(/[^\\d.]|\\.(?=.*\\.)/g, '');\n }\n // //\n public addValue() {\n if (\n !isNaN(parseFloat(this.input)) &&\n Number(this.input) >= 0 &&\n Number(this.input) <= 9999999 &&\n this.input.indexOf('.') === -1\n ) {\n this.$emit('add', this.model, [this.input.trim()]);\n this.input = '';\n }\n }\n\n public blur() {\n this.input = '';\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Input.vue?vue&type=template&id=4bd1318e&scoped=true\"\nimport script from \"./Input.vue?vue&type=script&lang=ts\"\nexport * from \"./Input.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Input.vue?vue&type=style&index=0&id=4bd1318e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4bd1318e\",\n null\n \n)\n\nexport default component.exports","import { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VSelect,{staticClass:\"state-select w-full\",attrs:{\"items\":_vm.availableStates,\"disabled\":_vm.disabled,\"label\":\"States\",\"background-color\":_vm.disabled ? '#f5f5f5' : 'white',\"multiple\":\"\",\"outlined\":\"\",\"hide-details\":\"\"},scopedSlots:_vm._u([{key:\"prepend-item\",fn:function(){return [_c(VListItem,{attrs:{\"ripple\":\"\"},on:{\"click\":function($event){return _vm.toggleAllStates()}}},[_c(VListItemAction,[_c(VIcon,{attrs:{\"color\":_vm.selectedStates?.length > 0 ? 'primary' : ''}},[_vm._v(_vm._s(_vm.toggleAllStatesIcon))])],1),_c(VListItemContent,[_vm._v(\"All\")])],1),_c(VDivider)]},proxy:true},{key:\"selection\",fn:function({ item, index }){return [(_vm.selectedStates.length !== _vm.availableStates.length)?[(_vm.showInputText)?_c('span',{staticClass:\"leading-2\"},[_vm._v(_vm._s(item)),(index < _vm.selectedStates.length - 1)?_c('span',{staticClass:\"mr-1\"},[_vm._v(\", \")]):_vm._e()]):_vm._e(),(index >= 0)?_c('span'):_vm._e()]:[(index === 0 && _vm.showInputText)?_c('span',[_vm._v(\"All\")]):_vm._e()]]}}]),model:{value:(_vm.selectedStates),callback:function ($$v) {_vm.selectedStates=$$v},expression:\"selectedStates\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport { Component, Prop, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\n\n@Component({\n components: {},\n computed: {\n ...mapState(['availableStates']),\n },\n})\nexport default class StateSelect extends Vue {\n @Prop({ type: Boolean, required: false }) public readonly disabled!: boolean;\n @Prop({ type: Boolean, required: false }) public readonly showInputText!: boolean;\n @Prop({ type: Array }) private readonly selectedStatesProp!: [];\n\n public availableStates!: string[];\n public selectedStates: string[] = [];\n\n public toggleAllStates(): void {\n if (this.selectedStates?.length === this.availableStates.length) {\n this.selectedStates = [];\n } else {\n this.selectedStates = [...this.availableStates];\n }\n }\n\n public get toggleAllStatesIcon(): string {\n if (this.selectedStates?.length === 0) {\n return 'mdi-checkbox-blank-outline';\n } else if (this.selectedStates?.length === this.availableStates.length) {\n return 'mdi-checkbox-marked';\n } else {\n return 'mdi-minus-box';\n }\n }\n\n @Watch('selectedStates')\n private setSelectedStates() {\n this.$emit('change', this.selectedStates);\n }\n\n @Watch('selectedStatesProp', { immediate: true, deep: true })\n private setSelectedStatesProp() {\n this.selectedStates = this.selectedStatesProp;\n }\n}\n","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StateSelect.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StateSelect.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./StateSelect.vue?vue&type=template&id=1b5d41db&scoped=true\"\nimport script from \"./StateSelect.vue?vue&type=script&lang=ts\"\nexport * from \"./StateSelect.vue?vue&type=script&lang=ts\"\nimport style0 from \"./StateSelect.vue?vue&type=style&index=0&id=1b5d41db&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1b5d41db\",\n null\n \n)\n\nexport default component.exports","import { VContainer } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"layout-default pa-0\",attrs:{\"fluid\":\"\"}},[_c('SideMenu',{staticClass:\"sidemenu\"}),(_vm.isUserDataDispatchedToStore)?_c('router-view'):_vm._e(),_c('ButtonToTop',{attrs:{\"showTopButton\":_vm.showTopButton}}),_c('notifications',{attrs:{\"group\":\"network\",\"position\":\"bottom right\",\"classes\":\"notification-dash\",\"duration\":-1}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListGroup } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemIcon } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VNavigationDrawer } from 'vuetify/lib/components/VNavigationDrawer';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VNavigationDrawer,{staticClass:\"purple-lighter\",staticStyle:{\"overflow\":\"visible\"},attrs:{\"mini-variant\":_vm.miniVariant,\"color\":\"#f5f5f5\",\"app\":\"\",\"navigation-drawer-border-width\":\"3\",\"permanent\":\"\"},model:{value:(_vm.drawer),callback:function ($$v) {_vm.drawer=$$v},expression:\"drawer\"}},[_c('div',{staticClass:\"menu_collapse_btn\",on:{\"click\":function($event){_vm.miniVariant = !_vm.miniVariant}}},[(_vm.miniVariant)?_c('div',[_c(VTooltip,{attrs:{\"right\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c(VIcon,_vm._g(_vm._b({attrs:{\"color\":\"darkgrey\"}},'v-icon',attrs,false),on),[_vm._v(\"mdi-chevron-right\")])]}}],null,false,3415286394)},[_c('div',{staticClass:\"menu_collapse_btn_tooltip\"},[_c('div',{staticClass:\"menu_collapse_btn_tooltip_text\"},[_vm._v(\"Expand\")]),_c('div',{staticClass:\"menu_collapse_btn_tooltip_icon\"},[_vm._v(\"[\")])])])],1):_c('div',[_c(VTooltip,{attrs:{\"right\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c(VIcon,_vm._g(_vm._b({attrs:{\"color\":\"darkgrey\"}},'v-icon',attrs,false),on),[_vm._v(\"mdi-chevron-left\")])]}}])},[_c('div',{staticClass:\"menu_collapse_btn_tooltip\"},[_c('div',{staticClass:\"menu_collapse_btn_tooltip_text\"},[_vm._v(\"Collapse\")]),_c('div',{staticClass:\"menu_collapse_btn_tooltip_icon\"},[_vm._v(\"[\")])])])],1)]),_c(VList,{staticClass:\"mt-2 py-0\",attrs:{\"dense\":\"\",\"nav\":\"\"}},[_c('div',{staticClass:\"notification\",class:[_vm.miniVariant ? 'mini' : 'normal']},[_c('router-link',{attrs:{\"to\":\"/\"}},[(!_vm.miniVariant)?_c('img',{staticClass:\"logo_img\",staticStyle:{\"width\":\"200px\"},attrs:{\"src\":require(\"../../assets/logo.svg\"),\"alt\":\"KKTechnical Services web-banner\"}}):_vm._e(),(_vm.miniVariant)?_c('img',{staticClass:\"logo_img\",staticStyle:{\"width\":\"50px\"},attrs:{\"src\":require(\"../../assets/logo-small.svg\"),\"alt\":\"KKTechnical Services web-banner mini\"}}):_vm._e()]),_c('NotificationsPanel')],1),_c('div',{staticClass:\"portal-version\"},[(_vm.miniVariant)?_c('p',{staticClass:\"text-version text-version-mini\"},[_vm._v(\"v. \"+_vm._s(_vm.portalVersion))]):_vm._e(),(!_vm.miniVariant)?_c('p',{staticClass:\"text-version\"},[_vm._v(\"Portal version: \"+_vm._s(_vm.portalVersion))]):_vm._e()]),_c('div',{staticClass:\"sidebar-outer\"},[_c('div',{staticClass:\"sidebar-inner\"},[_c(VListGroup,{staticClass:\"user-card\",scopedSlots:_vm._u([{key:\"activator\",fn:function(){return [_c(VListItem,{class:_vm.miniVariant && 'px-0 m0 p0 mr-3',style:([_vm.miniVariant ? { 'margin-left': '-8px' } : {}]),attrs:{\"two-line\":\"\"}},[_c('div',{staticClass:\"user-info\"},[_c(VListItemAvatar,[_c(VListItemTitle,{staticClass:\"user-info-title d-flex justify-center align-center\",class:[_vm.miniVariant ? 'label-mini' : 'label']},[_c('Avatar',{attrs:{\"size\":\"40\",\"color\":\"white\",\"background\":\"purple\",\"text\":_vm.user && _vm.user.username ? _vm.user.username[0] : '',\"imageURL\":_vm.user.avatar}})],1)],1),(!_vm.miniVariant)?_c(VListItemContent,[_c(VListItemTitle,[_vm._v(_vm._s(_vm.user.username))])],1):_vm._e()],1)])]},proxy:true}])},[_vm._l((_vm.account),function(item){return _c(VListItem,{key:item.title,attrs:{\"link\":\"\",\"tag\":\"a\",\"to\":item.path,\"disabled\":!item.path}},[_c(VListItemIcon,[_c(VIcon,[_vm._v(_vm._s(item.icon))])],1),_c(VListItemTitle,[_vm._v(\" \"+_vm._s(item.title)+\" \")])],1)}),_c('LogoutBtn')],2),_c(VDivider,{staticClass:\"divider pb-4\"}),_vm._l((_vm.menuItems),function(item){return _c('div',{key:item.title,staticClass:\"sidebar-item\"},[(_vm.showItemToNonStaff(item))?[(item.list)?_c(VListGroup,{staticStyle:{\"width\":\"100%\"},attrs:{\"value\":_vm.miniVariant ? false : null},on:{\"click\":_vm.miniVariantClick},scopedSlots:_vm._u([(_vm.miniVariant)?{key:\"activator\",fn:function(){return [_c(VTooltip,{attrs:{\"right\":\"\",\"open-delay\":\"500\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c(VListItemIcon,[_c(VIcon,_vm._g(_vm._b({},'v-icon',attrs,false),on),[_vm._v(_vm._s(item.icon))])],1),_c(VListItemTitle,[_vm._v(_vm._s(item.title))])]}}],null,true)},[_c('span',[_vm._v(_vm._s(item.title))])])]},proxy:true}:{key:\"activator\",fn:function(){return [_c(VListItemIcon,[_c(VIcon,[_vm._v(_vm._s(item.icon))])],1),_c(VListItemTitle,[_vm._v(_vm._s(item.title))])]},proxy:true}],null,true)},[_vm._l((item.list),function(subItem){return [(_vm.showItemToNonStaff(subItem))?_c(VListItem,{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.miniVariant),expression:\"!miniVariant\"}],key:subItem.title,staticStyle:{\"margin-left\":\"30px\"},attrs:{\"link\":\"\",\"to\":subItem.path,\"tag\":\"a\",\"href\":subItem.path}},[_c(VListItemIcon,[_c(VIcon,[_vm._v(_vm._s(subItem.icon))])],1),_c(VListItemTitle,[_vm._v(_vm._s(subItem.title))])],1):_vm._e()]})],2):_c(VListItem,{attrs:{\"to\":item.path,\"tag\":\"a\",\"href\":item.path}},[(_vm.miniVariant)?[_c(VTooltip,{attrs:{\"right\":\"\",\"open-delay\":\"500\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c(VListItemIcon,[_c(VIcon,_vm._g(_vm._b({},'v-icon',attrs,false),on),[_vm._v(_vm._s(item.icon))]),(item.title === 'Job tickets' && _vm.notifications.counter_tickets_unread > 0)?_c('div',{staticClass:\"counter flex items-center justify-center cursor-pointer\"},[_c('div',{staticClass:\"text-2sm text-white\"},[_vm._v(\" \"+_vm._s(_vm.notifications.counter_tickets_unread)+\" \")])]):_vm._e()],1),_c(VListItemTitle,[_vm._v(_vm._s(item.title))])]}}],null,true)},[_c('span',[_vm._v(_vm._s(item.title))])])]:[_c('div',{staticClass:\"relative flex justify-start\"},[_c(VListItemIcon,[_c(VIcon,[_vm._v(_vm._s(item.icon))])],1),_c(VListItemTitle,{},[_vm._v(_vm._s(item.title)+\" \")]),(item.title === 'Job tickets' && _vm.notifications.counter_tickets_unread > 0)?_c('div',{staticClass:\"counter counter_sibebar_open flex items-center justify-center cursor-pointer\"},[_c('div',{staticClass:\"text-2sm text-white\"},[_vm._v(\" \"+_vm._s(_vm.notifications.counter_tickets_unread)+\" \")])]):_vm._e()],1)]],2)]:_vm._e()],2)}),_c(VDivider,{staticClass:\"divider mt-2 pb-1\"}),_c(VListItem,{attrs:{\"link\":\"\",\"href\":_vm.odooPath,\"tag\":\"a\"}},[_c(VListItemIcon,[_c(VIcon,[_vm._v(\"mdi-package-variant\")])],1),_c(VListItemTitle,[_vm._v(\"Odoo (WMS)\")])],1),(_vm.$can('staff', 'Job'))?[_c(VListItem,{attrs:{\"link\":\"\",\"href\":`${_vm.odooPath}#menu_id=1185&action=1425`,\"tag\":\"a\"}},[_c(VListItemIcon,[_c(VIcon,[_vm._v(\"mdi-package-variant\")])],1),_c(VListItemTitle,[_vm._v(\"Odoo (RH Deliveries)\")])],1)]:_vm._e()],2)])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemIcon } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VListItem,{attrs:{\"tag\":\"a\"},on:{\"click\":function($event){$event.preventDefault();return _vm.onOpenConfirmDialog.apply(null, arguments)}}},[_c(VListItemIcon,[_c(VIcon,[_vm._v(\"mdi-logout\")])],1),_c(VListItemTitle,[_vm._v(\"Logout\")]),_c(VDialog,{attrs:{\"max-width\":\"350\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c(VCard,[_c(VCardTitle,{staticClass:\"headline\"},[_vm._v(\"Do you confirm logout?\")]),_c(VCardText,[_vm._v(\" You will logout from web application \")]),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"color\":\"grey darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.dialog = false}}},[_vm._v(\" Cancel \")]),_c(VBtn,{attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":_vm.onLogout}},[_vm._v(\" Confirm \")])],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport store from '@/store';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class LogoutBtn extends Vue {\n @Prop({\n default: false,\n })\n private miniVariant!: boolean;\n\n private dialog = false;\n\n private onOpenConfirmDialog(): void {\n this.dialog = true;\n }\n\n private async onLogout(): Promise {\n await store.dispatch('moduleAuthData/logOutUser');\n await this.$router.push('/login');\n this.dialog = false;\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogoutBtn.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogoutBtn.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LogoutBtn.vue?vue&type=template&id=22be0090&scoped=true\"\nimport script from \"./LogoutBtn.vue?vue&type=script&lang=ts\"\nexport * from \"./LogoutBtn.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"22be0090\",\n null\n \n)\n\nexport default component.exports","import ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"relative z-100\"},[_c('Icon',{staticClass:\"mt-2 cursor-pointer\",attrs:{\"name\":\"mdi-bell\",\"color\":\"gray\",\"colorIntensity\":\"500\",\"size\":\"2xl\"},nativeOn:{\"click\":function($event){return _vm.portalNotificationsClicked.apply(null, arguments)}}}),(_vm.notifications.counter_unread > 0 || _vm.notifications.error)?_c('div',{staticClass:\"absolute w-5 h-5 top-1 -right-3 rounded-full bg-purple-400 z-100 flex items-center justify-center cursor-pointer\"},[(_vm.notifications.loading)?_c('Icon',{staticClass:\"animate-spin text-red-50 wrap\",attrs:{\"name\":\"mdi-loading\",\"color\":\"white\",\"size\":\"xs\"}}):_c('div',{staticClass:\"text-2sm text-white\",on:{\"click\":_vm.portalNotificationsClicked}},[(_vm.notifications.error)?_c('div',{staticClass:\"font-bold\"},[_vm._v(\"!\")]):_c('div',[_vm._v(\" \"+_vm._s(_vm.notifications.counter_unread)+\" \")])])],1):_vm._e(),(_vm.panel_is_open)?_c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeNotificationsPanel),expression:\"closeNotificationsPanel\"}],staticClass:\"absolute w-100 top-2.5 left-6 bg-white rounded z-10 shadow-xl border border-purple-300 transition-transform\"},[_c('div',{},[(!_vm.notifications.error)?_c('div',{staticClass:\"flex justify-between items-center bg-purple-50 rounded-t border-b border-purple-200 pt-2 pl-5 pb-2 pr-2\"},[_c('h4',{staticClass:\"w-full text-xl font-medium\"},[_vm._v(\"Notifications\")]),_c('div',{staticClass:\"w-min flex justify-end h-full items-center mr-2\"},[_c('div',{staticClass:\"text-base whitespace-nowrap\"},[_vm._v(\"Show unread only\")]),_c('div',{staticClass:\"ml-2 mt-0.5\"},[_c('t-toggle',{attrs:{\"variant\":{\n single: true,\n }},on:{\"change\":_vm.unreadFilterClicked},model:{value:(_vm.only_unread),callback:function ($$v) {_vm.only_unread=$$v},expression:\"only_unread\"}})],1)])]):_vm._e(),(!_vm.notifications.loading && !_vm.notifications.error)?_c('div',{staticClass:\"mt-4 mb-2 pl-5 pb-2 flex justify-start border-b-4 border-purple-100\"},_vm._l((Object.keys(_vm.notifications.items_all)),function(tab,idx){return _c('div',{key:idx,staticClass:\"relative flex-initial flex flex-col cursor-pointer group\",on:{\"click\":function($event){return _vm.notificationsTabClicked(tab)}}},[_c('div',{staticClass:\"px-3\",class:[_vm.notifications.category === tab ? 'font-medium' : '']},[_vm._v(\" \"+_vm._s(tab.charAt(0).toUpperCase() + tab.slice(1))+\" \")]),(_vm.notifications.category === tab)?_c('div',{staticClass:\"absolute w-full -bottom-3 left-0 right-0 h-1 bg-purple-400 z-3\"}):_vm._e(),_c('div',{staticClass:\"absolute w-full -bottom-3 left-0 right-0 h-1 bg-purple-300 opacity-0 group-hover:opacity-100 z-1\"})])}),0):_vm._e(),(!_vm.notifications.loading && !_vm.notifications.error && _vm.notifications.items_shown.length > 0)?_c('div',{staticClass:\"flex justify-between mt-4 ml-5 mr-6 mb-2\"},[_c('div',[_vm._v(\"Latest\")]),(_vm.notifications.counter_unread > 0)?_c('div',{staticClass:\"text-purple-500 cursor-pointer hover:underline\",on:{\"click\":_vm.setNotificationAllAsReadClicked}},[_vm._v(\" Mark all as read \")]):_vm._e()]):_vm._e(),(_vm.notifications.loading)?_c('div',{staticClass:\"flex justify-center items-center py-6\"},[_c('Icon',{staticClass:\"animate-spin\",attrs:{\"name\":\"mdi-loading\",\"color\":\"purple\",\"colorIntensity\":\"400\",\"size\":\"3xl\"}})],1):(_vm.notifications.error)?_c('div',{staticClass:\"flex justify-center items-center py-9 bg-gray-200 rounded cursor-not-allowed\"},[_c('Icon',{staticClass:\"opacity-50\",attrs:{\"name\":\"mdi-bell-alert-outline\",\"color\":\"black\",\"colorIntensity\":\"400\",\"size\":\"xl\"}}),_c('p',{staticClass:\"ma-0 px-2 text-black-200 font-medium opacity-50\"},[_vm._v(_vm._s(_vm.notifications.error))])],1):_c('div',{ref:\"scrollSection\",staticClass:\"min-h-16 max-h-120 rounded-b overflow-y-scroll\",class:_vm.notifications.items_shown.length === 0 ? 'overflow-y-hidden' : '',on:{\"scroll\":_vm.handleScroll}},[(_vm.notifications.items_shown.length > 0)?_c('div',_vm._l((_vm.notifications.items_shown),function(notification){return _c('div',{key:notification.id,staticClass:\"w-full flex border-b border-purple-200 pa-2 pb-3 pr-2\",class:[\n notification.level === 'warning' ? 'bg-orange-50' : '',\n notification.level === 'error' ? 'bg-red-50' : '',\n ],on:{\"mouseover\":function($event){_vm.notificationHoveredId = notification.id},\"mouseleave\":function($event){_vm.notificationHoveredId = -1}}},[(_vm.notifications.loadingIds.indexOf(notification.id) >= 0)?_c('div',{staticClass:\"py-5 flex items-center justify-center\"},[_c('Icon',{staticClass:\"animate-spin\",attrs:{\"name\":\"mdi-loading\",\"color\":\"purple\",\"colorIntensity\":\"400\",\"size\":\"3xl\"}})],1):_c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"flex justify-between items-center\"},[_c('div',{staticClass:\"w-full flex justify-start items-center\",on:{\"click\":function($event){return _vm.notificationClicked(notification)}}},[(notification.unread)?_c('div',{staticClass:\"w-2.5 h-2.5 rounded-full bg-purple-400\"}):_vm._e(),_c('p',{staticClass:\"mb-0 text-base font-medium cursor-pointer\",class:[notification.unread ? 'ml-1 text-gray-800' : 'ml-3 text-gray-500']},[_vm._v(\" \"+_vm._s(notification.verb)+\" \")])]),_c('div',{staticClass:\"relative flex justifi-end pr-2 group\"},[_c('tooltip',{staticClass:\"cursor-pointer\",attrs:{\"text\":`Mark as ${notification.unread ? 'read' : 'unread'}`,\"direction\":\"left\",\"class-name\":\"text-white whitespace-nowrap\"}},[(_vm.notificationHoveredId === notification.id)?_c('Icon',{staticClass:\"cursor-pointer opacity-50 group-hover:opacity-100\",attrs:{\"name\":notification.unread ? 'mdi-email-outline' : 'mdi-email-open-outline',\"color\":\"purple\",\"colorIntensity\":\"400\",\"size\":\"xl\"},nativeOn:{\"click\":function($event){notification.unread\n ? _vm.setNotificationAsReadClicked(notification.id)\n : _vm.setNotificationAsUnreadClicked(notification.id)},\"mouseover\":function($event){_vm.notificationHoveredIdShowTooltip = true},\"mouseleave\":function($event){_vm.notificationHoveredIdShowTooltip = false}}}):_vm._e()],1)],1)]),_c('div',{staticClass:\"max-w-80 mt-2 pr-8\",on:{\"click\":function($event){return _vm.notificationClicked(notification)}}},[_c('p',{staticClass:\"mb-0 ml-3 text-sm leading-4 cursor-pointer clamp\",class:notification.unread ? 'text-gray-800' : 'text-gray-500'},[_vm._v(\" \"+_vm._s(notification.description)+\" \")])]),_c('div',{staticClass:\"flex justify-between items-center\"},[_c('div',{staticClass:\"w-min mt-1 ml-3\",on:{\"click\":function($event){return _vm.notificationClicked(notification)}}},[_c('tooltip',{staticClass:\"cursor-pointer\",attrs:{\"text\":_vm.format(\n _vm.utcToZonedTime(new Date(notification.timestamp), _vm.user.timezone || _vm.timeZoneDefault),\n 'EEEE dd, hh:mm aa',\n ),\"direction\":\"right\",\"class-name\":\"text-white whitespace-nowrap\"}},[_c('div',{staticClass:\"flex items-center\"},[_c('Icon',{attrs:{\"name\":\"mdi-clock-time-four-outline\",\"color\":\"gray\",\"colorIntensity\":notification.unread ? '800' : '500',\"size\":\"sm\"}}),_c('span',{staticClass:\"ml-1 text-sm whitespace-nowrap\",class:notification.unread ? 'text-gray-800' : 'text-gray-500'},[_vm._v(\" \"+_vm._s(notification.timesince))])],1)])],1)])])])}),0):_c('div',{staticClass:\"h-full min-h-16 flex justify-center items-start border-b border-purple-200\"},[_c('p',{staticClass:\"text-base leading-4 text-purple-400 mb-0 px-3 py-8\"},[_vm._v(\"There are no such notifications\")])]),(_vm.loaderNextPage)?_c('div',{staticClass:\"flex justify-center items-center bg-purple-50 rounded-b cursor-pointer py-3 group\"},[_c('Icon',{staticClass:\"my-0 animate-spin\",attrs:{\"name\":\"mdi-loading\",\"color\":\"purple\",\"colorIntensity\":\"400\",\"size\":\"3xl\"}})],1):_vm._e()])])]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport store from '@/store';\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\n\nimport Icon from '@/components/UI/Icon.vue';\nimport Tooltip from '@/components/UI/Tooltip.vue';\n\nimport { User } from '@/models/main';\n\nimport * as routeNames from '@/router/routeNames';\n\nexport interface Routes {\n [key: string]: string;\n}\n\n@Component({\n components: {\n Icon,\n Tooltip,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n ...mapState('moduleNotifications', { notifications: 'notifications' }),\n },\n})\nexport default class NotificationsPanel extends Vue {\n public user!: User;\n public notifications;\n\n // Dates\n public format = format;\n public utcToZonedTime = utcToZonedTime;\n public timeZoneDefault = timeZoneDefault;\n\n // Notifications\n public only_unread = true;\n public panel_is_open = false;\n public loaderNextPage = false;\n public notificationHoveredId = -1;\n public notificationHoveredIdShowTooltip = false;\n\n public async handleScroll(e): Promise {\n const { scrollTop, offsetHeight, scrollHeight } = e.target;\n if (scrollTop + offsetHeight >= scrollHeight - 400) {\n //\n if (!this.loaderNextPage) {\n this.loaderNextPage = true;\n await store.dispatch('moduleNotifications/getNextPage');\n this.loaderNextPage = false;\n }\n }\n }\n\n public async notificationsTabClicked(name: string) {\n const scrollSection = this.$refs.scrollSection as HTMLFormElement;\n if (scrollSection) {\n await scrollSection.scrollTo({ top: 0 });\n }\n await store.dispatch('moduleNotifications/setNotificationsCategory', name);\n }\n\n public notificationClicked(notification) {\n // Tickets – Zammad ticket page by `source_target_id`\n const routeNamesKeys: Routes = routeNames;\n const ids = String(notification.data.ids.join(','));\n // Check router match + current route\n if (\n notification.data?.name &&\n Object.keys(routeNamesKeys).includes(notification.data.name) &&\n ids !== this.$route.params.id\n ) {\n const data = {\n name: routeNamesKeys[notification.data.name],\n ...(notification.data.name === 'SEARCH' ? { query: { job_id: ids } } : { params: { id: ids } }),\n };\n this.$router.push(data);\n }\n store.dispatch('moduleNotifications/setNotificationAsRead', notification.id);\n this.panel_is_open = false;\n }\n\n // Notifications buttons clicks\n public portalNotificationsClicked() {\n this.panel_is_open = !this.panel_is_open;\n }\n // Outside the panel click\n public closeNotificationsPanel() {\n this.panel_is_open = false;\n }\n\n public unreadFilterClicked() {\n const scrollSection = this.$refs.scrollSection as HTMLFormElement;\n if (scrollSection) {\n scrollSection.scrollTo({ top: 0 });\n }\n store.dispatch('moduleNotifications/setNotificationsUnreadFilter', this.only_unread);\n }\n\n public async setNotificationAsReadClicked(id: number): Promise {\n await store.dispatch('moduleNotifications/setNotificationAsRead', id);\n }\n\n public setNotificationAsUnreadClicked(id: number): void {\n store.dispatch('moduleNotifications/setNotificationAsUnread', id);\n }\n\n public setNotificationAllAsReadClicked(): void {\n store.dispatch('moduleNotifications/setNotificationsAllAsRead');\n }\n\n public loadMoreNotificationsClicked(): void {\n store.dispatch('moduleNotifications/getNotificationsNextPage');\n }\n\n public deleteNotificationClicked(id: number): void {\n store.dispatch('moduleNotifications/deleteNotification', id);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NotificationsPanel.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NotificationsPanel.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NotificationsPanel.vue?vue&type=template&id=3eceeed9&scoped=true\"\nimport script from \"./NotificationsPanel.vue?vue&type=script&lang=ts\"\nexport * from \"./NotificationsPanel.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NotificationsPanel.vue?vue&type=style&index=0&id=3eceeed9&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3eceeed9\",\n null\n \n)\n\nexport default component.exports","\nimport LogoutBtn from '@/components/auth/LogoutBtn.vue';\nimport Avatar from '@/components/UI/avatar/Avatar.vue';\nimport store from '@/store';\nimport Vue from 'vue';\nimport { Component, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport NotificationsPanel from '@/components/notificationsPanel/NotificationsPanel.vue';\nimport { User } from '@/models/main';\n\n@Component({\n components: {\n LogoutBtn,\n Avatar,\n NotificationsPanel,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n ...mapState('moduleNotifications', { notifications: 'notifications' }),\n },\n})\nexport default class SideMenu extends Vue {\n private drawer = true;\n private user!: User;\n public notifications;\n private miniVariant = true;\n private odooPath = `${process.env.VUE_APP_URL}/web`;\n private portalVersion = process.env.VERSION;\n private account: Array> = [\n { title: 'Profile', icon: 'mdi-account', path: '/profile' },\n { title: 'Address Book', icon: 'mdi-book-open-page-variant', path: '/user/address-book' },\n { title: 'Suburbs', icon: 'mdi-map-search', path: '/suburbs' },\n { title: 'Technicians Catalog', icon: 'mdi-format-list-bulleted-type', path: '/technicians/catalog' },\n { title: 'Settings', icon: 'mdi-cog-outline' },\n ];\n private menuItems: Array> = [\n { title: 'Home', icon: 'mdi-home', path: '/' },\n { title: 'Dashboard', icon: 'mdi-chart-box-outline', path: '/dash' },\n { title: 'Job tickets', icon: 'mdi-mailbox', path: '/tickets' },\n { title: 'TV', icon: 'mdi-cast-connected', path: '/dash-tv' },\n { title: 'BFIX Dash', icon: 'mdi-cards', path: '/dash-bfix', staff: true },\n {\n title: 'Job Booking',\n icon: 'mdi-clipboard-text-outline',\n path: '/jobbooking',\n },\n { title: 'Search', icon: 'mdi-magnify', path: '/search' },\n { title: 'Search Postcode', icon: 'mdi-email-search-outline', path: '/search-postcode', staff: true },\n { title: 'Locations', icon: 'mdi-map-marker-multiple-outline', path: '/locations', staff: true },\n { title: 'Scheduler', icon: 'mdi-calendar-clock', path: '/scheduler', staff: true },\n {\n title: 'Quote',\n icon: 'mdi-email-edit',\n list: [\n { title: 'New Quote', icon: 'mdi-email-edit', path: '/quotes/new' },\n { title: 'List Quotes', icon: 'mdi-email-edit', path: '/quotes/list' },\n ],\n },\n {\n title: 'Reports',\n icon: 'mdi-poll',\n list: [\n { title: 'ETA Report', icon: 'mdi-calendar-question', path: '/reports/eta' },\n { title: 'KPI Report', icon: 'mdi-poll', path: '/reports/kpi', staff: true },\n { title: 'Driver Report', icon: 'mdi-truck', path: '/reports/driver', staff: true },\n { title: 'Tomorrow Report', icon: 'mdi-truck', path: '/reports/tomorrow', staff: true },\n { title: 'Run Sheet', icon: 'mdi-truck', path: '/reports/runsheet', staff: true },\n { title: 'Weekly Report', icon: 'mdi-calendar-question', path: '/reports/weekly-stats', staff: true },\n { title: 'AM/PM Jobs', icon: 'mdi-timetable', path: '/reports/am-pm-job', staff: true },\n { title: 'Odoo transfers', icon: 'mdi-truck', path: '/reports/transfers', staff: true },\n { title: 'Download PODs Bulk', icon: 'mdi-folder-download', path: '/reports/reports', staff: true },\n { title: 'Next Day Stops', icon: 'mdi-map-marker-multiple-outline', path: '/next-day-stops', staff: true },\n ],\n },\n ];\n\n // Dates\n private format = format;\n private utcToZonedTime = utcToZonedTime;\n private timeZoneDefault = timeZoneDefault;\n\n private loading = false;\n\n private miniVariantClick() {\n this.miniVariant = false;\n }\n\n // Helper function to calculate if we need to show menu item for user or not\n private showItemToNonStaff(item) {\n return Object.prototype.hasOwnProperty.call(item, 'staff')\n ? item.staff === false || (item.staff === true && this.user.staff)\n : true;\n }\n\n @Watch('miniVariant', { immediate: true, deep: true })\n private watchToMiniVariant(): void {\n store.dispatch('setSideMenuOpen', !this.miniVariant);\n }\n\n private mounted(): void {\n // Open sidebat hotekey\n window.addEventListener('keydown', (event: KeyboardEvent) => {\n const target = event.target as HTMLInputElement;\n if (event.code === 'BracketLeft' && target.nodeName === 'BODY') {\n this.miniVariant = !this.miniVariant;\n }\n });\n }\n\n private destroyed(): void {\n window.removeEventListener('keydown', () => null);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SideMenu.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SideMenu.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SideMenu.vue?vue&type=template&id=025a81e2&scoped=true\"\nimport script from \"./SideMenu.vue?vue&type=script&lang=ts\"\nexport * from \"./SideMenu.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SideMenu.scss?vue&type=style&index=0&id=025a81e2&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"025a81e2\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.showTopButton)?_c(VBtn,{staticClass:\"btn btn-to-top\",attrs:{\"fab\":\"\",\"small\":\"\",\"fixed\":\"\",\"right\":\"\",\"bottom\":\"\"},on:{\"click\":_vm.goToTop}},[_c(VIcon,{attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-arrow-up\")])],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class ButtonToTop extends Vue {\n @Prop({ type: Boolean, default: false }) private readonly showTopButton!: boolean;\n\n private goToTop(): void {\n window.scrollTo({\n top: 0,\n behavior: 'smooth',\n });\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ButtonToTop.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ButtonToTop.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ButtonToTop.vue?vue&type=template&id=5d69da1b&scoped=true\"\nimport script from \"./ButtonToTop.vue?vue&type=script&lang=ts\"\nexport * from \"./ButtonToTop.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ButtonToTop.scss?vue&type=style&index=0&id=5d69da1b&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5d69da1b\",\n null\n \n)\n\nexport default component.exports","\nimport { getProfile, getVersion } from '@/api';\nimport SideMenu from '@/components/sideMenu/SideMenu.vue';\nimport ButtonToTop from '@/components/UI/buttonToTop/ButtonToTop.vue';\nimport store from '@/store';\nimport { User } from '@/models/main';\nimport { AuthData } from '@/models/auth';\nimport { Ability, AbilityBuilder } from '@casl/ability';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { notificationErrorText } from '@/utils/PortalConstants';\n\nimport { compareVersions } from '@/utils/InputProcessingUtilities';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport { sendWarning } from '@/helpers/sentry';\n\n@Component({\n components: {\n SideMenu,\n ButtonToTop,\n },\n computed: {\n ...mapState('moduleAuthData', ['authData']),\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class DefaultLayout extends Vue {\n private loading = false;\n public showTopButton = false;\n private authData: AuthData;\n private user!: User;\n public isUserDataDispatchedToStore = false;\n\n private async beforeCreate() {\n let userData: User = {\n staff: false,\n username: '',\n customer: '',\n customerCode: '',\n avatar: '',\n email: '',\n first_name: '',\n last_name: '',\n phone_number: '',\n state: [],\n timezone: timeZoneDefault,\n ref1_prompt: '',\n ref2_prompt: '',\n ref3_prompt: '',\n zammad_groups: [],\n zammad_id: 0,\n zammad_login: null,\n };\n await getProfile()\n .then((res: User) => {\n userData = res;\n store.dispatch('moduleSocket/socketConnect');\n store.dispatch('moduleStaticData/requestAllStaticData');\n })\n .catch(() => {\n store.dispatch('moduleAuthData/logOutUser');\n store.dispatch('setLoginError', 'Having problems getting a profile');\n })\n .finally(() => {\n store.dispatch('moduleUser/setUser', userData).finally(() => {\n this.isUserDataDispatchedToStore = true;\n });\n });\n }\n\n private async created(): Promise {\n this.loading = true;\n\n // portal version check timer\n const portalVersionInterval = setInterval(() => {\n // getting version from the file from the server\n getVersion()\n .then(res => {\n const compareAppVersionsResult = compareVersions(res, process.env.VERSION || '1.0.0');\n // reloading the page if current version (from the .env file) is smaller\n // than version from the file from the server\n if (compareAppVersionsResult >= 1) {\n // showing notification\n this.$notify({\n group: 'network',\n title: 'The portal version is outdated',\n text: 'The page will be reloaded in 5 seconds',\n type: 'warn',\n });\n // reloading page after 5 seconds\n setTimeout(() => {\n window.location.reload();\n }, 5000);\n }\n })\n .catch(error => {\n // On error:\n // sending the warning to Sentry\n sendWarning(error, 'Get portal version error');\n // clearing interval\n clearInterval(portalVersionInterval);\n // notification for user\n this.$notify({\n group: 'network',\n title: 'The portal version is outdated',\n text: 'Refresh this page please',\n type: 'warn',\n });\n });\n }, 60 * 60 * 1000); // one hour\n\n // send profile request only if user have access\n if (store.getters['moduleAuthData/authData'].access !== '') {\n if (this.authData.permissions) {\n const { can, rules } = new AbilityBuilder(Ability);\n this.authData.permissions.forEach(permission => {\n const subject = permission.subject;\n permission.actions.forEach(action => {\n can(action, subject);\n });\n });\n this.$ability.update(rules);\n }\n store.dispatch('moduleUser/fetchUser', this.$ability.can('staff', 'Job'));\n\n window.addEventListener('scroll', this.handleScroll);\n } else {\n this.loading = false;\n }\n }\n private handleScroll(): void {\n window.pageYOffset > 0 ? (this.showTopButton = true) : (this.showTopButton = false);\n }\n\n private beforeDestroy(): void {\n // Disconnect web socket on Log Out\n store.dispatch('moduleSocket/socketDisconnect');\n }\n\n private destroyed(): void {\n window.removeEventListener('scroll', this.handleScroll);\n }\n}\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DefaultLayout.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DefaultLayout.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DefaultLayout.vue?vue&type=template&id=498cd583&scoped=true\"\nimport script from \"./DefaultLayout.vue?vue&type=script&lang=ts\"\nexport * from \"./DefaultLayout.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DefaultLayout.vue?vue&type=style&index=0&id=498cd583&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"498cd583\",\n null\n \n)\n\nexport default component.exports","import { VContainer } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"initial-layout\"},[_c('router-view')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class InitialLayout extends Vue {}\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InitialLayout.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InitialLayout.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InitialLayout.vue?vue&type=template&id=f26897c0&scoped=true\"\nimport script from \"./InitialLayout.vue?vue&type=script&lang=ts\"\nexport * from \"./InitialLayout.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InitialLayout.vue?vue&type=style&index=0&id=f26897c0&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f26897c0\",\n null\n \n)\n\nexport default component.exports","import { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"air-road wrapper\"},[_c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"pb-0 header pa-3\"},[_c('div',{staticClass:\"py-0 px-3\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg\"},[_c('h2',{staticClass:\"mt-4 title\"},[_vm._v(\"Air Road Booked\")])]),_c('div',{staticClass:\"page_subtitle\"},[_c('p',{staticClass:\"mt-2 subtitle\"},[_vm._v(\"Air road booked jobs\")])])],1),_c(VRow,{staticClass:\"ma-0 mt-2 ml-3\"},[_c('div',[_c('fieldset',{staticClass:\"flex flex-wrap pt-2 w-24\"},_vm._l((_vm.dateTypes),function(val,ldx){return _c('label',{key:ldx,staticClass:\"flex w-full m-0 p-0 mb-2 cursor-pointer last:mb-0\"},[_c('t-radio',{staticClass:\"t-radio\",attrs:{\"name\":val.toLowerCase().replace(/\\s/g, '_'),\"checked\":_vm.dateTypeChosen === val.toLowerCase().replace(/\\s/g, '_'),\"value\":val.toLowerCase().replace(/\\s/g, '_'),\"disabled\":_vm.loading},on:{\"click\":_vm.dateTypeClick}}),_c('span',{staticClass:\"ml-2 w-40 text-sm leading-4\"},[_vm._v(\" \"+_vm._s(val)+\" \")])],1)}),0)]),_c('div',{staticClass:\"filter filter-dates\"},[_c('DatePicker',{attrs:{\"Pdates\":_vm.dates,\"disabled\":_vm.loading},on:{\"changeDate\":_vm.changeDate,\"clearDateFilter\":_vm.clearDateFilter}})],1),_c('div',{staticClass:\"ml-1 filter\"},[_c(VSelect,{attrs:{\"items\":_vm.jobsStatuses,\"return-object\":\"\",\"background-color\":\"white\",\"label\":\"Status\",\"outlined\":\"\",\"disabled\":_vm.loading,\"clearable\":true},on:{\"click:clear\":_vm.clearJobsStatus,\"change\":_vm.changeJobsStatus},model:{value:(_vm.chosenJobsStatus),callback:function ($$v) {_vm.chosenJobsStatus=$$v},expression:\"chosenJobsStatus\"}})],1),_c('div',{staticClass:\"ml-1 filter\"},[_c('LookupCustomerCode',{staticClass:\"lookup-customer-code\",attrs:{\"choosed\":_vm.customerCode,\"autocomplete\":_vm.autocompleteCustomer,\"required\":false,\"outlined\":\"\",\"disabled\":_vm.loading},on:{\"change\":_vm.setCustomerCode,\"clear\":_vm.clearCustomerCode}})],1),_c('div',{staticClass:\"ml-1 filter filter-search\"},[_c(VTextField,{staticClass:\"input input-search mr-1\",attrs:{\"background-color\":\"white\",\"label\":\"Search\",\"outlined\":\"\",\"clearable\":\"\",\"disabled\":_vm.loading},on:{\"input\":_vm.searchChange,\"click:clear\":_vm.clearSearch},model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:\"searchValue\"}})],1),_c('div',[_c('ToggleButton',{staticClass:\"mb-6\",attrs:{\"option1\":\"Single job\",\"option2\":\"Quick created\",\"option_all\":true,\"value\":_vm.quickJobs,\"disabled\":_vm.loading},on:{\"changed\":_vm.isQuickJobsCheckedChanged}})],1)]),_c('ReloadButton',{attrs:{\"loading\":_vm.loading,\"disabled\":_vm.loading},nativeOn:{\"click\":function($event){return _vm.getAirRoadWrapper.apply(null, arguments)}}})],1)]),(_vm.loading)?_c(VContainer,{staticClass:\"flex justify-center items-center py-12 mt-5\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"48\"}},[_vm._v(\"mdi-loading\")])],1):_c(VContainer,{staticClass:\"px-6 pb-12 mt-5\"},[(_vm.tableData.length <= 0 && !_vm.loading)?_c('div',{staticClass:\"w-300\"},[_c('div',{staticClass:\"flex justify-center items-center mt-8\"},[_c('div',{staticClass:\"mt-6 w-64 flex flex-col justify-center items-center\"},[_c('div',{staticClass:\"flex justify-center items-center w-36 h-36 bg-purple-400 rounded-full\"},[_c(VIcon,{staticClass:\"mr-2\",attrs:{\"size\":\"72\",\"color\":\"white\"}},[_vm._v(\"mdi-flask-empty-remove-outline\")])],1),_c('h1',{staticClass:\"mt-6 w-64 text-xl text-center leading-6\"},[_vm._v(\"There are no such jobs, try changing the request\")])])])]):_c('div',{staticClass:\"w-300\"},[_c('div',{staticClass:\"flex pt-3 pb-2\"},[_c('div',{staticClass:\"pl-2 w-12 h-4\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.allChosen),expression:\"allChosen\"}],staticClass:\"w-4 h-4 bg-indigo-500 default:ring-2\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.allChosen)?_vm._i(_vm.allChosen,null)>-1:(_vm.allChosen)},on:{\"click\":_vm.jobCheckboxAllClicked,\"change\":function($event){var $$a=_vm.allChosen,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.allChosen=$$a.concat([$$v]))}else{$$i>-1&&(_vm.allChosen=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.allChosen=$$c}}}})]),_c('div',{staticClass:\"w-16\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Id\")])]),_c('div',{staticClass:\"w-24\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Date\")])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Customer code\")])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Status\")])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Connote\")])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Reference 1\")])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Reference 2\")])]),_c('div',{staticClass:\"pl-1 w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Links\")])])]),_vm._l((_vm.tableData),function(job,idx){return _c('div',{key:idx,staticClass:\"pt-2 mb-4 bg-purple-50 rounded border border-purple-200\",class:idx % 2 === 0 ? 'bg-purple-50' : ''},[_c('div',{staticClass:\"flex items-center pb-1\",on:{\"click\":function($event){return _vm.tableJobRowClick(idx)}}},[_c('div',{staticClass:\"w-12\"},[(!job.labels)?_c('div',{staticClass:\"pl-2\"},[_c(VTooltip,{staticClass:\"ma-0 pa-0 text-purple-400\",attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,{staticStyle:{\"color\":\"#9c8cff\"},attrs:{\"color\":\"purple\",\"size\":\"20\"}},[_vm._v(\"mdi-alert-circle\")])],1)]}}],null,true)},[_c('span',{},[_c('div',{staticClass:\"w-32 leading-4 py-2 text-center\"},[_vm._v(\"For some reason job has no labels.\")])])])],1):_c('input',{staticClass:\"ml-2 w-4 h-4 bg-indigo-500 default:ring-2\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":_vm.chosenJobs.indexOf(job.id) >= 0},on:{\"click\":function($event){$event.stopPropagation();return _vm.jobCheckboxClicked(job.id)}}})]),_c('div',{staticClass:\"w-16\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.rockhopper_id))])]),_c('div',{staticClass:\"w-24\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.rockhopper_date))])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.customer_code))])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(\" \"+_vm._s(_vm.jobsStatuses[_vm.jobsStatusesCodes.indexOf(job.status)])+\" \")])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.connote))])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.reference_1))])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.reference_2))])]),_c('div',{staticClass:\"w-32 flex\"},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c('router-link',{attrs:{\"to\":{\n path: `/detailed-job?job_id=${job.rockhopper_id}&&job_date=${job.rockhopper_date}`,\n }},on:{\"click\":function($event){$event.stopPropagation();}}},[_c(VIcon,{staticClass:\"ma-0 pa-0\",attrs:{\"color\":\"purple\",\"size\":\"28\"}},[_vm._v(\"mdi-file-export\")])],1)],1)]}}],null,true)},[_c('span',[_vm._v(\" Open Detailed Job page \")])]),(job.labels)?_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,{staticClass:\"ml-2\",attrs:{\"color\":\"purple\",\"size\":\"28\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.downloadBulk([job.id])}}},[_vm._v(\"mdi-file-pdf-box\")])],1)]}}],null,true)},[_c('span',[_vm._v(\" Download the label \")])]):_vm._e(),(job.labels)?_c('PrintActionBtn',{attrs:{\"arJob\":job,\"isAirRoadBooked\":\"\"}}):_vm._e()],1)]),_c('Transition',{attrs:{\"name\":\"fade\"}},[(_vm.tableOpenedJobIdx === idx)?_c('section',{staticClass:\"flex pt-2 bg-white rounded-b relative\"},[(job.json_used_for_booking)?_c('div',{staticClass:\"absolute bottom-4 right-4 cursor-pointer\",on:{\"click\":function($event){return _vm.copyText(job.json_used_for_booking)}}},[_c(VIcon,{staticClass:\"opacity-50\",attrs:{\"color\":\"gray\",\"size\":\"24\"}},[_vm._v(\"mdi-file-code\")])],1):_vm._e(),_c('div',{staticClass:\"px-4 mt-6 mb-12 w-3/4\"},[(job.status === 1000 || job.status === 1001)?_c('div',[_c('div',{staticClass:\"mb-6 pl-4 text-base flex items-center bg-purple-50 pa-3\"},[_c(VIcon,{staticClass:\"text-red-600\",attrs:{\"size\":\"20\"}},[_vm._v(\"mdi-alert-box\")]),_c('span',{staticClass:\"ml-1 font-semibold\"},[_vm._v(\"Status:\")]),_c('span',{staticClass:\"ml-2 text-red-400\"},[_vm._v(_vm._s(_vm.jobsStatuses[_vm.jobsStatusesCodes.indexOf(job.status)]))]),(job.error_text)?_c('span',{staticClass:\"text-red-400\"},[_vm._v(\": \"+_vm._s(job.error_text))]):_vm._e()],1)]):_c('div',{},[_c('div',[_c('h4',{staticClass:\"font-semibold\"},[_vm._v(\"Status:\")])]),_c('div',{staticClass:\"flex mt-2 w-full h-9 bg-purple-50 rounded border-2 border-purple-300\"},_vm._l((_vm.jobStatusesOrder),function(status,jdx){return _c('div',{key:jdx,staticClass:\"relative w-1/5 h-8 text-center text-black border-r border-purple-300\",class:jdx <= _vm.jobsStatusesCodesOrder.indexOf(job.status) ? 'bg-purple-300' : ''},[_c('div',{staticClass:\"pt-1 z-100\"},[_vm._v(\" \"+_vm._s(status)+\" \")]),(\n jdx === _vm.jobsStatusesCodesOrder.indexOf(job.status) &&\n (status === 'Queued to book' || status === 'In transit')\n )?_c('div',{staticClass:\"w-full h-full top-0 left-0 absolute bg-purple-500 pt-1 bg-gradient-to-r from-purple-400 via-purple-200 to-purple-50 background-animate border-r border-purple-400 text-center text-black -z-100 opacity-30\"}):_vm._e()])}),0)]),(job && job.stops)?_c('StopDrawing',{staticClass:\"px-4 pt-6 mt-12 mb-3 w-full\",attrs:{\"job\":job,\"stops\":job.stops,\"editable\":false}}):_vm._e(),(job.special_options?.length)?_c('div',[_c('h4',{staticClass:\"mt-8 mb-2 font-semibold\"},[_vm._v(\"Special options:\")]),_vm._l((job.special_options),function(option,idx){return _c('div',{key:idx,staticClass:\"flex\"},[_c('div',[_vm._v(_vm._s(option.isPickup ? 'Pickup' : 'Delivery')+\" -\")]),(!!_vm.getARServiceData(option.specialOptionId))?_c('div',{staticClass:\"ml-2\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(_vm._s(_vm.getARServiceData(option.specialOptionId).code))]),_vm._v(\" (\"+_vm._s(_vm.getARServiceData(option.specialOptionId).name)+\") \")]):_vm._e(),(option.notes)?_c('div',{staticClass:\"ml-2\"},[_vm._v(\"- \"+_vm._s(option.notes))]):_vm._e()])})],2):_vm._e()],1),(job.status === 3)?_c('div',{staticClass:\"px-0 mt-12 w-1/4\"},[_c('h4',{staticClass:\"ml-4 font-semibold\"},[_vm._v(\"PODs:\")]),_c('POD',{staticClass:\"mt-2 ma-0 pa-0\",attrs:{\"id\":job.rockhopper_id,\"pod\":true,\"date\":job.rockhopper_date,\"idx\":1,\"name\":\"Sign name\"}})],1):_vm._e()]):_vm._e()])],1)}),(_vm.tableData.length > 0)?_c('div',{staticClass:\"mt-8\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('Button',{staticClass:\"items-end mt-1 btn\",attrs:{\"size\":\"small\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"loading\":_vm.loadingPdf,\"disabled\":_vm.loading || _vm.loadingPdf || _vm.chosenJobs.length <= 0,\"icon\":\"mdi-download\",\"text\":\"Download BULK PDFs\"},nativeOn:{\"click\":function($event){return _vm.downloadBulk(undefined)}}}),_c('div',[_c('div',{staticClass:\"flex items-right justify-end\"},[_c('div',{staticClass:\"flex items-center\"},[_c('p',{staticClass:\"ma-0 text-sm\"},[_vm._v(\"Show by:\")]),_c('p',{staticClass:\"ma-0 w-20 px-2\"},[_c('t-select',{attrs:{\"options\":_vm.pagination.perPageOptions,\"wrapped\":\"\"},model:{value:(_vm.pagination.perPage),callback:function ($$v) {_vm.$set(_vm.pagination, \"perPage\", $$v)},expression:\"pagination.perPage\"}})],1),_c('p',{staticClass:\"ma-0 pl-4 whitespace-nowrap text-sm\"},[_vm._v(\"jobs from \"+_vm._s(_vm.pagination.total)+\" pages\")])]),(_vm.pagination.total > 0)?_c('t-pagination',{staticClass:\"ma-0\",class:_vm.pagination.total >= 100 ? 'text-sm' : '',attrs:{\"total-items\":_vm.pagination.total * _vm.pagination.perPage,\"per-page\":Number(_vm.pagination.perPage),\"limit\":_vm.pagination.visible,\"disabled\":_vm.loading},on:{\"change\":_vm.updatePagination},model:{value:(_vm.pagination.page),callback:function ($$v) {_vm.$set(_vm.pagination, \"page\", $$v)},expression:\"pagination.page\"}}):_vm._e()],1)])],1)]):_vm._e()],2)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VDataTable,{staticClass:\"air-road-table-data\",attrs:{\"headers\":_vm.tableHeaders,\"items\":_vm.tableData,\"hide-default-footer\":\"\",\"disable-sort\":\"\",\"disable-pagination\":\"\",\"loading\":_vm.loading},scopedSlots:_vm._u([{key:`item.checked`,fn:function({ item }){return [_c(VCheckbox,{staticClass:\"ma-0 pa-0\",attrs:{\"label\":\"\"},on:{\"change\":function($event){return _vm.$emit('checkBoxChanged', item.id)}},model:{value:(item.checked),callback:function ($$v) {_vm.$set(item, \"checked\", $$v)},expression:\"item.checked\"}})]}},{key:`item.id`,fn:function({ item }){return [_vm._v(\" \"+_vm._s(item.id)+\" \")]}},{key:`item.rockhopper_date`,fn:function({ item }){return [_c('p',{staticClass:\"nowrap\"},[_vm._v(_vm._s(_vm.formatDateStringWithTZ(item.rockhopper_date, _vm.user.timezone, 'yyyy-MM-dd')))])]}},{key:`item.stops[0].name`,fn:function({ item }){return [_c('div',{staticClass:\"stop-wrapper\",class:item.ar_booked_leg === 1 && item.stops[2] && item.ar_status === 1 ? 'chosen' : ''},[_c('p',{staticClass:\"nowrap\"},[_vm._v(_vm._s(item.stops[0].name))])])]}},{key:`item.stops[1].name`,fn:function({ item }){return [_c('div',{staticClass:\"stop-wrapper\",class:(item.ar_booked_leg === 1 || item.ar_booked_leg === 2) && item.stops[2] && item.ar_status === 1\n ? 'chosen'\n : ''},[_c('p',{staticClass:\"nowrap\"},[_vm._v(_vm._s(item.stops[1].name))])])]}},{key:`item.stops[2].name`,fn:function({ item }){return [_c('div',{staticClass:\"stop-wrapper\",class:item.ar_booked_leg === 2 && item.stops[2] && item.ar_status === 1 ? 'chosen' : ''},[(item.stops[2])?_c('p',{staticClass:\"nowrap\"},[_vm._v(_vm._s(item.stops[2].name))]):_vm._e()])]}},{key:`item.ar_status`,fn:function({ item }){return [_c('p',{staticClass:\"nowrap\"},[_vm._v(_vm._s(_vm.jobsStatuses[_vm.jobsStatusesCodes.indexOf(item.ar_status)]))])]}},{key:`item.ar_total_weight`,fn:function({ item }){return [(item.ar_status !== 0)?_c('p',{staticClass:\"text-without-input\"},[_vm._v(_vm._s(item.ar_total_weight)+\" kg\")]):_vm._e(),(item.ar_status === 0)?_c('div',{staticClass:\"input-wrapper d-flex align-baseline\"},[_c(VTextField,{staticClass:\"stop-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"Weight\",\"outlined\":\"\",\"required\":\"\"},on:{\"change\":function($event){return _vm.$emit(\n 'inputsChanged',\n item.id,\n item.ar_total_weight,\n item.ar_total_volume,\n item.ar_items_type,\n item.ar_total_items,\n )}},model:{value:(item.ar_total_weight),callback:function ($$v) {_vm.$set(item, \"ar_total_weight\", $$v)},expression:\"item.ar_total_weight\"}}),_c('p',{staticClass:\"ml-3\"},[_vm._v(\"kg\")])],1):_vm._e()]}},{key:`item.ar_total_volume`,fn:function({ item }){return [(item.ar_status !== 0)?_c('p',{staticClass:\"text-without-input\"},[_vm._v(_vm._s(item.ar_total_volume)+\" m³\")]):_vm._e(),(item.ar_status === 0)?_c('div',{staticClass:\"input-wrapper input-wrapper-calc d-flex align-baseline\"},[_c(VTextField,{staticClass:\"stop-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"Volume\",\"prepend-icon\":\"mdi-calculator\",\"outlined\":\"\",\"required\":\"\"},on:{\"change\":function($event){return _vm.$emit(\n 'inputsChanged',\n item.id,\n item.ar_total_weight,\n item.ar_total_volume,\n item.ar_items_type,\n item.ar_total_items,\n )},\"click:prepend\":function($event){return _vm.calcClicked(item.id)}},model:{value:(item.ar_total_volume),callback:function ($$v) {_vm.$set(item, \"ar_total_volume\", $$v)},expression:\"item.ar_total_volume\"}}),_c('p',{staticClass:\"ml-3\"},[_vm._v(\"m³\")]),(_vm.calcOpen === item.id)?_c('div',{staticClass:\"calc px-3 py-4\"},[_c('div',{staticClass:\"calc-header d-flex align-start justify-space-between\"},[_c('p',{staticClass:\"calc-title mt-1 pr-4\"},[_vm._v(\"Dimensions (centimeters):\")]),_c(VIcon,{attrs:{\"color\":\"black\"},on:{\"click\":_vm.calcCloseClicked}},[_vm._v(\"mdi-close\")])],1),_c('div',{staticClass:\"d-flex align-baseline mt-4\"},[_c(VTextField,{staticClass:\"calc-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"Width\",\"outlined\":\"\"},on:{\"change\":function($event){return _vm.calcChanged(item)},\"keyup\":function($event){return _vm.calcChanged(item)}},model:{value:(_vm.calcData.width),callback:function ($$v) {_vm.$set(_vm.calcData, \"width\", $$v)},expression:\"calcData.width\"}}),_c('p',{staticClass:\"mx-3\"},[_vm._v(\"x\")])],1),_c('div',{staticClass:\"d-flex align-baseline\"},[_c(VTextField,{staticClass:\"calc-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"Height\",\"outlined\":\"\"},on:{\"change\":function($event){return _vm.calcChanged(item)},\"keyup\":function($event){return _vm.calcChanged(item)}},model:{value:(_vm.calcData.height),callback:function ($$v) {_vm.$set(_vm.calcData, \"height\", $$v)},expression:\"calcData.height\"}}),_c('p',{staticClass:\"mx-3\"},[_vm._v(\"x\")])],1),_c('div',{staticClass:\"d-flex align-baseline\"},[_c(VTextField,{staticClass:\"calc-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"Depth\",\"outlined\":\"\"},on:{\"change\":function($event){return _vm.calcChanged(item)},\"keyup\":function($event){return _vm.calcChanged(item)}},model:{value:(_vm.calcData.depth),callback:function ($$v) {_vm.$set(_vm.calcData, \"depth\", $$v)},expression:\"calcData.depth\"}}),_c('p',{staticClass:\"result mx-3\"},[_vm._v(\"= \"+_vm._s(_vm.calcData.width * _vm.calcData.height * _vm.calcData.depth)+\" cm³\")])],1)]):_vm._e()],1):_vm._e()]}},{key:`item.ar_total_items`,fn:function({ item }){return [(item.ar_status !== 0)?_c('p',{staticClass:\"text-without-input\"},[_vm._v(_vm._s(item.ar_total_items))]):_vm._e(),(item.ar_status === 0)?_c('div',{staticClass:\"input-wrapper\"},[_c(VTextField,{staticClass:\"stop-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"Items\",\"outlined\":\"\",\"required\":\"\"},on:{\"change\":function($event){return _vm.$emit(\n 'inputsChanged',\n item.id,\n item.ar_total_weight,\n item.ar_total_volume,\n item.ar_items_type,\n item.ar_total_items,\n )}},model:{value:(item.ar_total_items),callback:function ($$v) {_vm.$set(item, \"ar_total_items\", $$v)},expression:\"item.ar_total_items\"}})],1):_vm._e()]}},{key:`item.ar_items_type`,fn:function({ item }){return [(item.ar_status !== 0)?_c('p',{staticClass:\"text-without-input\"},[_vm._v(\" \"+_vm._s(_vm.jobItemsTypes.find(x => x.value === item.ar_items_type).text)+\" \")]):_vm._e(),(item.ar_status === 0)?_c(VSelect,{attrs:{\"items\":_vm.jobItemsTypes,\"item-value\":\"value\",\"item-text\":\"text\",\"label\":\"Items type\",\"outlined\":\"\"},on:{\"change\":function($event){return _vm.$emit(\n 'inputsChanged',\n item.id,\n item.ar_total_weight,\n item.ar_total_volume,\n item.ar_items_type,\n item.ar_total_items,\n )}},model:{value:(item.ar_items_type),callback:function ($$v) {_vm.$set(item, \"ar_items_type\", $$v)},expression:\"item.ar_items_type\"}}):_vm._e()]}},{key:`item.ar_error_text`,fn:function({ item }){return [_c('p',{staticClass:\"error-text text-without-input\"},[_vm._v(_vm._s(item.ar_error_text))])]}}],null,true)})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport { User } from '@/models/main';\nimport { AirRoadGeneralJob } from '@/models/airRoad';\nimport { jobItemsTypes } from '@/utils/PortalConstants';\n\nimport { mapState } from 'vuex';\nimport { formatDateStringWithTZ } from '@/utils/InputProcessingUtilities';\n\n@Component({\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class Header extends Vue {\n @Prop({ type: Array, required: true }) public tableData!: AirRoadGeneralJob;\n @Prop({ type: Boolean, required: true }) public loading!: boolean;\n @Prop({ type: Number, required: false }) public statusCode!: number;\n\n private user!: User;\n\n // to use func in the template\n private formatDateStringWithTZ = formatDateStringWithTZ;\n\n public subtitle!: string;\n\n private tableHeaders = [\n { text: '', value: 'checked', align: 'cell checkbox' },\n { text: 'Id', value: 'rockhopper_id', align: 'cell text' },\n { text: 'Date', value: 'rockhopper_date', align: 'cell text nowrap' },\n { text: 'Customer code', value: 'customer_code', align: 'cell text' },\n { text: 'Stop 1', value: 'stops[0].name', align: 'cell text wrapped' },\n { text: 'Stop 2', value: 'stops[1].name', align: 'cell text wrapped' },\n { text: 'Stop 3', value: 'stops[2].name', align: 'cell text wrapped' },\n { text: 'AR status', value: 'ar_status', align: 'cell text' },\n { text: 'Weight', value: 'ar_total_weight', align: 'cell' },\n { text: 'Volume', value: 'ar_total_volume', align: 'cell' },\n { text: 'Items', value: 'ar_total_items', align: 'cell' },\n { text: 'Type', value: 'ar_items_type', align: 'cell' },\n ];\n\n private jobsStatuses = [\n 'Not booked',\n 'Booked',\n 'Departed from Stop1',\n 'PoD received',\n 'Unknown',\n 'Failed to book',\n 'Queued to book',\n ];\n private jobsStatusesCodes = [0, 1, 2, 3, 1000, 1001, 1002];\n\n // CALC\n private calcOpen = 0;\n private calcData = {\n width: 0,\n height: 0,\n depth: 0,\n };\n\n // JOBS TYPES\n private jobItemsTypes = jobItemsTypes;\n\n // TABLE CALC\n private calcClicked(id): void {\n this.calcOpen = id;\n }\n private calcCloseClicked(): void {\n this.calcOpen = 0;\n this.calcData = {\n width: 0,\n height: 0,\n depth: 0,\n };\n }\n private calcChanged(item): void {\n // limiting calc inputs length to 5\n Object.values(this.calcData).map((dimension, idx) => {\n if (String(dimension).length >= 5) {\n this.calcData[Object.keys(this.calcData)[idx]] = Number(String(dimension).slice(0, -1));\n }\n });\n const calculatedValue = (this.calcData.width * this.calcData.height * this.calcData.depth) / 1000000;\n const calcValueRounded = Math.ceil(calculatedValue * 1000) / 1000;\n this.$emit('calcChange', item, calcValueRounded);\n }\n\n @Watch('statusCode')\n private watchToStatusCode(statusCode) {\n const errorColumnIndex = this.tableHeaders.findIndex(header => header.value === 'ar_error_text');\n if (errorColumnIndex === -1) {\n if (statusCode === 1001) {\n this.tableHeaders.splice(this.tableHeaders.length, 0, {\n text: 'Error text',\n value: 'ar_error_text',\n align: 'left',\n });\n }\n } else {\n if (statusCode !== 1001) {\n this.tableHeaders.splice(errorColumnIndex, 1);\n }\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AirRoadJobsTable.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AirRoadJobsTable.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AirRoadJobsTable.vue?vue&type=template&id=1300b40b&scoped=true\"\nimport script from \"./AirRoadJobsTable.vue?vue&type=script&lang=ts\"\nexport * from \"./AirRoadJobsTable.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AirRoadJobsTable.scss?vue&type=style&index=0&id=1300b40b&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1300b40b\",\n null\n \n)\n\nexport default component.exports","\nimport { downloadAirRoadJobsPDF, getAirRoad, lookupCustomer } from '@/api';\nimport LookupCustomerCode from '@/components/jobBooking/AdvancedJobBooking/LookupCustomerCode.vue';\nimport Header from '@/components/jobBooking/Header/Header.vue';\nimport DatePicker from '@/components/searchPage/DatePicker.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport AirRoadJobsTable from '@/components/airRoad/AirRoadJobsTable.vue';\nimport StopDrawing from '@/components/jobDetailed/StopDrawing/StopDrawing.vue';\nimport ToggleButton from '@/components/UI/ToggleButton.vue';\nimport ReloadButton from '@/components/UI/ReloadButton.vue';\nimport PrintActionBtn from '@/components/btns/PrintActionBtn.vue';\n\nimport POD from '@/components/jobDetailed/POD/POD.vue';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\n\nimport { User } from '@/models/main';\nimport { AirRoadJobData, AirRoadResponse, AirRoadJobsResponseData } from '@/models/airRoad';\nimport { mapState } from 'vuex';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport { getARServiceData } from '@/utils/Common';\nimport { addDays } from 'date-fns';\n\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport { debounce } from 'lodash';\n\n@Component({\n components: {\n AirRoadJobsTable,\n BackButton,\n Button,\n DatePicker,\n Header,\n LookupCustomerCode,\n POD,\n ReloadButton,\n StopDrawing,\n ToggleButton,\n DateTimezoneToggle,\n PrintActionBtn,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class AirRoadBooked extends Vue {\n // LOADERS\n private loading = false;\n private loadingPdf = false;\n\n // USER\n private user!: User;\n\n // API\n private autocompleteCustomer = lookupCustomer;\n private getARServiceData = getARServiceData;\n\n // HEADER FILTERS:\n // DATE RANGE\n private dates: string[] = [];\n private datesDefault: string[] = [];\n\n // STATUSES\n private jobsStatuses = ['Booked', 'In transit', 'PoD received', 'Failed to book', 'Queued to book'];\n private jobsStatusesCodes = [1, 2, 3, 1001, 1002];\n private jobsStatusesCodesOrder = [0, 1002, 1, 2, 3];\n private jobStatusesOrder = ['Not booked', 'Queued to book', 'Booked', 'In transit', 'PoD received'];\n private chosenJobsStatus = '';\n private statusCode: number | null = null;\n\n // CUSTOMER CODE\n private customerCode = '';\n\n // SEARCH\n private searchValue = '';\n\n // QUICK / SINGLE TOGGLE\n private quickJobs: boolean | null = null;\n\n // PAGE COMPONENTS\n\n // TABLE DATA\n private tableData: AirRoadJobData[] = [];\n private tableOpenedJobIdx = -1;\n private chosenJobs: number[] = [];\n private allChosen = false;\n\n // PAGINATION\n private pageData: AirRoadJobsResponseData = {\n count: 0,\n next: '',\n previous: '',\n results: [],\n };\n private pagination = {\n page: 1,\n total: 0,\n perPage: '10',\n visible: 7,\n perPageOptions: ['1', '5', '10', '50', '100'],\n };\n\n // Date type values rh_job_date, ar_created, required\n private dateTypes = ['RH job date', 'AR created', 'Required'];\n private dateTypeChosen = 'rh_job_date';\n\n // ACTIONS\n //\n // DATE TYPE RADIO\n private dateTypeClick(event) {\n this.dateTypeChosen = event.target.value;\n this.getAirRoadWrapper();\n }\n\n // DATE RANGE\n private changeDate(dates): void {\n this.dates = dates;\n this.pagination.page = 1;\n this.getAirRoadWrapper();\n }\n private clearDateFilter() {\n this.dates = [];\n this.dates = [...this.datesDefault];\n this.getAirRoadWrapper();\n }\n\n // STATUSES\n private changeJobsStatus(value): void {\n this.statusCode = this.jobsStatusesCodes[this.jobsStatuses.indexOf(value)];\n this.pagination.page = 1;\n this.getAirRoadWrapper();\n }\n private clearJobsStatus(): void {\n this.statusCode = null;\n this.pagination.page = 1;\n this.getAirRoadWrapper();\n }\n\n // CUSTOMER CODE\n private setCustomerCode(customerCode): void {\n if (customerCode) {\n this.customerCode = customerCode;\n this.pagination.page = 1;\n this.getAirRoadWrapper();\n }\n }\n private clearCustomerCode(): void {\n this.customerCode = '';\n this.getAirRoadWrapper();\n }\n\n // SEARCH\n private debouncedSearch = debounce(() => {\n this.pagination.page = 1;\n this.getAirRoadWrapper();\n }, 300);\n\n private searchChange(): void {\n this.debouncedSearch();\n }\n\n private clearSearch(): void {\n this.searchValue = '';\n this.pagination.page = 1;\n this.getAirRoadWrapper();\n }\n\n // QUICK / SINGLE TOGGLE\n private isQuickJobsCheckedChanged(value: boolean | null) {\n this.quickJobs = value;\n this.chosenJobs.length = 0;\n this.pagination.page = 1;\n this.getAirRoadWrapper();\n }\n\n // Copy JSON icon click\n private copyText(text) {\n navigator.clipboard.writeText(JSON.stringify(text)).then(() => {\n this.$notify({\n group: 'network',\n text: 'JSON copied',\n type: 'success',\n duration: 3000,\n });\n });\n }\n\n /**\n * Downloads generated PDF from the server. Used in two cases\n * When we choose jobs by checking checkboxes. No idsToDownload is parsed. IDs taken from the this.chosenJobs\n * When we click on an icon in a job's row of a table.\n * @param ids optional list of AR job IDs. Not used for checkboxes case\n * @private\n */\n private downloadBulk(ids: number[] | undefined) {\n let idsToDownload: number[];\n if (ids !== undefined) {\n idsToDownload = ids;\n } else {\n idsToDownload = this.chosenJobs;\n }\n this.loadingPdf = true;\n downloadAirRoadJobsPDF(idsToDownload)\n .then(res => {\n const blob = new Blob([res.data], { type: 'pdf' });\n const link = document.createElement('a');\n link.href = URL.createObjectURL(blob);\n //TODO: name the PDF file by connote(s), not by ar job id\n link.download = `${idsToDownload.join('-')}.pdf`;\n link.click();\n URL.revokeObjectURL(link.href);\n this.chosenJobs = [];\n this.allChosen = false;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error downloading labels',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loadingPdf = false;\n });\n }\n\n // TABLE ROW CLICK\n private tableJobRowClick(idx) {\n if (this.tableOpenedJobIdx === idx) {\n this.tableOpenedJobIdx = -1;\n } else {\n this.tableOpenedJobIdx = idx;\n }\n }\n\n // TABLE CHECKBOXES\n private jobCheckboxClicked(id) {\n const jobChosenIdx = this.chosenJobs.findIndex(x => x === id);\n if (jobChosenIdx === -1) {\n this.chosenJobs.push(id);\n } else {\n this.chosenJobs.splice(jobChosenIdx, 1);\n if (this.allChosen) {\n this.allChosen = false;\n }\n }\n }\n // CHECKBOX ALL\n private jobCheckboxAllClicked() {\n const jobIds = this.tableData.reduce((acc: number[], obj) => {\n if (obj.labels) {\n acc.push(obj.id);\n }\n return acc;\n }, []);\n if (!this.allChosen) {\n this.chosenJobs = jobIds;\n } else {\n this.chosenJobs.length = 0;\n }\n }\n\n private async updatePagination() {\n await this.getAirRoadWrapper();\n // Pagination corrections:\n this.pagination.total = Math.ceil(this.pageData.count / Number(this.pagination.perPage));\n if (this.pagination.page === 0 && this.pagination.total >= 1) {\n this.pagination.page = 1;\n }\n if (this.pagination.page > this.pagination.total) {\n this.pagination.page = this.pagination.total;\n }\n }\n\n // WATCHERS\n //\n // PAGINATION\n @Watch('pagination.perPage')\n private perPageSelectChanged() {\n this.pagination.page = 1;\n this.chosenJobs.length = 0;\n this.allChosen = false;\n this.updatePagination();\n }\n\n // WRAPPERS\n //\n // TABLE DATA\n private getAirRoadWrapper(): void {\n this.loading = true;\n const endpointParams = {\n ordering: '-rockhopper_date,eta',\n search: this.searchValue,\n rockhopper_date_gte: this.dateTypeChosen === 'rh_job_date' ? this.dates[0] : '',\n rockhopper_date_lte: this.dateTypeChosen === 'rh_job_date' ? this.dates[1] : '',\n created_at_gte: this.dateTypeChosen === 'ar_created' ? this.dates[0] : '',\n created_at_lte: this.dateTypeChosen === 'ar_created' ? this.dates[1] : '',\n required_at_gte: this.dateTypeChosen === 'required' ? this.dates[0] : '',\n required_at_lte: this.dateTypeChosen === 'required' ? this.dates[1] : '',\n status: this.statusCode,\n customer_code: this.customerCode,\n quick_created: this.quickJobs,\n page: this.pagination.page,\n page_size: Number(this.pagination.perPage),\n };\n this.tableOpenedJobIdx = -1;\n getAirRoad(endpointParams)\n .then((res: AirRoadResponse) => {\n this.pageData = res;\n this.tableData = res.results;\n this.pagination.total = Math.ceil(res.count / Number(this.pagination.perPage));\n })\n .catch(() => {\n this.tableData.length = 0;\n this.pagination.page = 1;\n this.$notify({\n group: 'network',\n title: 'Error loading AirRoad data',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n // COMPONENT LIFECYCLE EVENTS\n //\n private async mounted(): Promise {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const fromDate = format(utcToZonedTime(addDays(new Date(), -7), userTimeZone), 'yyyy-MM-dd'); // today\n const toDate = format(utcToZonedTime(addDays(new Date(), 5), userTimeZone), 'yyyy-MM-dd'); // today\n this.datesDefault = [fromDate, toDate];\n this.dates = [...this.datesDefault];\n this.getAirRoadWrapper();\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AirRoadBooked.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AirRoadBooked.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AirRoadBooked.vue?vue&type=template&id=7c3c46dc&scoped=true\"\nimport script from \"./AirRoadBooked.vue?vue&type=script&lang=ts\"\nexport * from \"./AirRoadBooked.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AirRoadBooked.scss?vue&type=style&index=0&id=7c3c46dc&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7c3c46dc\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('AirRoadHeader',{on:{\"backBtnClicked\":_vm.backBtnClicked}}),(_vm.bookingState.step === 'start')?_c('AirRoadFilters',{attrs:{\"dates\":_vm.dates,\"loading\":_vm.loading,\"customerCode\":_vm.customerCode,\"autocompleteCustomer\":_vm.autocompleteCustomer,\"selectedStates\":_vm.selectedStates,\"checkboxes\":_vm.checkboxes,\"bookingState\":_vm.bookingState},on:{\"changeStates\":_vm.changeStates,\"changeDate\":_vm.changeDate,\"clearDateFilter\":_vm.clearDateFilter,\"setCustomerCode\":_vm.setCustomerCode,\"clearCustomerCode\":_vm.clearCustomerCode,\"searchChange\":_vm.searchChange,\"clearSearch\":_vm.clearSearch,\"handleOnly920DriverCheckboxChange\":_vm.handleOnly920DriverCheckboxChange,\"handleExclude920DriverCheckboxChange\":_vm.handleExclude920DriverCheckboxChange,\"handleFromWarehouseCheckboxChange\":_vm.handleFromWarehouseCheckboxChange,\"handleToWarehouseCheckboxChange\":_vm.handleToWarehouseCheckboxChange}}):_vm._e(),(_vm.bookingState.step === 'start')?_c('JobsTable',{attrs:{\"loading\":_vm.loading,\"tableData\":_vm.tableData,\"pagination\":_vm.pagination,\"bookingState\":_vm.bookingState,\"tableOpenedJobIdx\":_vm.tableOpenedJobIdx,\"jobsToBook\":_vm.jobsToBook,\"jobsToBookOriginal\":_vm.jobsToBookOriginal},on:{\"updatePagination\":_vm.updatePagination,\"nextStepClick\":_vm.nextStepClick,\"tableJobRowClick\":_vm.tableJobRowClick,\"backBtnClicked\":_vm.backBtnClicked}}):_vm._e(),(_vm.bookingState.step === 'leg_choose')?_c('LegChoose',{attrs:{\"loading\":_vm.loading,\"dialog\":_vm.dialog,\"jobsToBook\":_vm.jobsToBook,\"jobsToBookOriginal\":_vm.jobsToBookOriginal},on:{\"backBtnClicked\":_vm.backBtnClicked,\"nextStepClick\":_vm.nextStepClick}}):_vm._e(),(_vm.bookingState.step === 'package')?_c('PackageStep',{attrs:{\"jobsToBook\":_vm.jobsToBook,\"productsToDrop\":_vm.productsToDrop,\"productsPacked\":_vm.productsPacked,\"loading\":_vm.loading},on:{\"backBtnClicked\":_vm.backBtnClicked,\"nextStepClick\":_vm.nextStepClick}}):_vm._e(),(_vm.bookingState.step === 'services')?_c('Services',{attrs:{\"loading\":_vm.loading,\"currentLegNumber\":_vm.currentLegNumber,\"jobsToBook\":_vm.jobsToBook,\"ARServicesDeliveryList\":_vm.ARServicesDeliveryList,\"ARServicesPickupList\":_vm.ARServicesPickupList},on:{\"backBtnClicked\":_vm.backBtnClicked,\"nextStepClick\":_vm.nextStepClick,\"setSpecialOptions\":_vm.setSpecialOptions}}):_vm._e(),(_vm.bookingState.step === 'confirm')?_c('ConfirmStep',{attrs:{\"loading\":_vm.loading,\"bookingState\":_vm.bookingState,\"jobsToBook\":_vm.jobsToBook,\"currentLegNumber\":_vm.currentLegNumber,\"productsPacked\":_vm.productsPacked,\"specialOptions\":_vm.specialOptions},on:{\"withAllocationChanged\":_vm.withAllocationChanged,\"backBtnClicked\":_vm.backBtnClicked,\"nextStepClick\":_vm.nextStepClick}}):_vm._e(),(_vm.bookingState.step === 'pending')?_c('PendingStep',{attrs:{\"loading\":_vm.loading,\"bookingState\":_vm.bookingState}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"bg-purple-50 border-b border-purple-200 pa-6 pb-0 flex flex-col\"},[_c('div',{staticClass:\"w-min flex items-center back-btn cursor-pointer\",on:{\"click\":_vm.backBtnClicked}},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-arrow-left\")]),_c('span',{staticClass:\"text text-gray-600\"},[_vm._v(\"Back\")])],1),_c('h1',{staticClass:\"font text-3xl font-semibold my-2\"},[_vm._v(\"Air Road Jobs\")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class AirRoadHeader extends Vue {\n backBtnClicked() {\n this.$emit('backBtnClicked');\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Header.vue?vue&type=template&id=2cf940f5&scoped=true\"\nimport script from \"./Header.vue?vue&type=script&lang=ts\"\nexport * from \"./Header.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Header.vue?vue&type=style&index=0&id=2cf940f5&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2cf940f5\",\n null\n \n)\n\nexport default component.exports","import { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"bg-purple-50 border-b border-purple-200 pa-6 pb-0 flex flex-col\"},[_c('div',{staticClass:\"flex items-start\"},[_c('div',{staticClass:\"w-68 filter filter-dates\"},[_c('DatePicker',{attrs:{\"Pdates\":_vm.dates,\"disabled\":_vm.loading,\"todayButton\":true},on:{\"changeDate\":_vm.changeDate,\"clearDateFilter\":_vm.clearDateFilter}})],1),_c('div',{staticClass:\"w-48 ml-4\"},[_c('LookupCustomerCode',{staticClass:\"lookup-customer-code\",attrs:{\"choosed\":_vm.customerCode,\"autocomplete\":_vm.autocompleteCustomer,\"required\":false,\"disabled\":_vm.loading,\"outlined\":\"\"},on:{\"change\":_vm.setCustomerCode,\"clear\":_vm.clearCustomerCode}})],1),_c('div',{staticClass:\"ml-4 w-80 h-12\"},[_c('StateSelect',{attrs:{\"selectedStatesProp\":_vm.selectedStates,\"showInputText\":true},on:{\"change\":_vm.changeStates}})],1),_c('div',{staticClass:\"w-48 ml-4\"},[_c(VTextField,{attrs:{\"background-color\":\"white\",\"label\":\"Search\",\"outlined\":\"\",\"clearable\":\"\",\"disabled\":_vm.loading},on:{\"input\":_vm.searchChange},model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:\"searchValue\"}})],1)]),_c('div',{staticClass:\"flex items-start mt-n7\"},[_c('div',{staticClass:\"mr-5\"},[_c(VCheckbox,{attrs:{\"label\":\"Only 920 driver\"},on:{\"change\":_vm.handleOnly920DriverCheckboxChange},model:{value:(_vm.checkboxes.only920Driver),callback:function ($$v) {_vm.$set(_vm.checkboxes, \"only920Driver\", $$v)},expression:\"checkboxes.only920Driver\"}})],1),_c('div',{staticClass:\"mr-5\"},[_c(VCheckbox,{attrs:{\"label\":\"Exclude 920 driver\"},on:{\"change\":_vm.handleExclude920DriverCheckboxChange},model:{value:(_vm.checkboxes.exclude920Driver),callback:function ($$v) {_vm.$set(_vm.checkboxes, \"exclude920Driver\", $$v)},expression:\"checkboxes.exclude920Driver\"}})],1),_c('div',{staticClass:\"mr-5\"},[_c(VCheckbox,{attrs:{\"label\":\"From warehouse\"},on:{\"change\":_vm.handleFromWarehouseCheckboxChange},model:{value:(_vm.checkboxes.fromWarehouse),callback:function ($$v) {_vm.$set(_vm.checkboxes, \"fromWarehouse\", $$v)},expression:\"checkboxes.fromWarehouse\"}})],1),_c('div',{staticClass:\"mr-5\"},[_c(VCheckbox,{attrs:{\"label\":\"To warehouse\"},on:{\"change\":_vm.handleToWarehouseCheckboxChange},model:{value:(_vm.checkboxes.toWarehouse),callback:function ($$v) {_vm.$set(_vm.checkboxes, \"toWarehouse\", $$v)},expression:\"checkboxes.toWarehouse\"}})],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport DatePicker from '@/components/searchPage/DatePicker.vue';\nimport StateSelect from '@/components/searchPage/components/StateSelect/StateSelect.vue';\nimport ToggleButton from '@/components/UI/ToggleButton.vue';\nimport LookupCustomerCode from '@/components/jobBooking/AdvancedJobBooking/LookupCustomerCode.vue';\nimport { AirRoadBookingStateData } from '@/models/airRoad';\nimport { debounce } from 'lodash';\n\n@Component({\n components: { LookupCustomerCode, ToggleButton, StateSelect, DatePicker },\n})\nexport default class AirRoadFilters extends Vue {\n @Prop(Array) dates!: Array;\n @Prop(Boolean) loading!: boolean;\n @Prop(String) customerCode!: string;\n @Prop(Function) autocompleteCustomer: (item: Promise) => void;\n @Prop(Array) selectedStates!: Array;\n @Prop(Object) checkboxes!: Record;\n @Prop(Object) bookingState!: AirRoadBookingStateData;\n\n public searchValue = '';\n\n backBtnClicked() {\n this.$emit('backBtnClicked');\n }\n\n changeDate(dates: string[]) {\n this.$emit('changeDate', dates);\n }\n\n clearDateFilter() {\n this.$emit('clearDateFilter');\n }\n\n setCustomerCode(code: string) {\n this.$emit('setCustomerCode', code);\n }\n\n clearCustomerCode() {\n this.$emit('clearCustomerCode');\n }\n\n private debouncedSearch = debounce((value: string) => {\n this.$emit('searchChange', value);\n }, 300);\n\n searchChange() {\n this.debouncedSearch(this.searchValue);\n }\n\n changeStates(states: string[]) {\n this.$emit('changeStates', states);\n }\n\n clearSearch() {\n this.$emit('clearSearch');\n }\n\n handleOnly920DriverCheckboxChange(value: boolean) {\n this.$emit('handleOnly920DriverCheckboxChange', value);\n }\n\n handleExclude920DriverCheckboxChange(value: boolean) {\n this.$emit('handleExclude920DriverCheckboxChange', value);\n }\n\n handleFromWarehouseCheckboxChange(value: boolean) {\n this.$emit('handleFromWarehouseCheckboxChange', value);\n }\n\n handleToWarehouseCheckboxChange(value: boolean) {\n this.$emit('handleToWarehouseCheckboxChange', value);\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Filters.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Filters.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Filters.vue?vue&type=template&id=788166e2&scoped=true\"\nimport script from \"./Filters.vue?vue&type=script&lang=ts\"\nexport * from \"./Filters.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Filters.vue?vue&type=style&index=0&id=788166e2&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"788166e2\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"p-6 pb-0 flex flex-col\"},[_c('div',{staticClass:\"p-6\"},[(_vm.loading)?_c('div',{staticClass:\"w-300 flex justify-center items-center py-12 mt-5\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"48\"}},[_vm._v(\"mdi-loading\")])],1):_c('div',{staticClass:\"w-300 mt-4 mb-12\"},[(_vm.bookingState.step === 'start')?_c('div',[(_vm.tableData.length <= 0 && !_vm.loading)?_c('div',[_c('div',{staticClass:\"flex justify-center items-center mt-8\"},[_c('div',{staticClass:\"mt-6 w-64 flex flex-col justify-center items-center\"},[_c('div',{staticClass:\"flex justify-center items-center w-36 h-36 bg-purple-400 rounded-full\"},[_c(VIcon,{staticClass:\"mr-2\",attrs:{\"size\":\"72\",\"color\":\"white\"}},[_vm._v(\"mdi-flask-empty-remove-outline\")])],1),_c('h1',{staticClass:\"mt-6 w-64 text-xl text-center leading-6\"},[_vm._v(\" There are no such jobs, try changing the request \")])])])]):_c('div',{staticClass:\"flex pt-3 pb-2\"},[_c('div',{staticClass:\"pl-2 w-12 h-4\"},[(_vm.bookingState.quickJobs)?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.bookingState.allChosen),expression:\"bookingState.allChosen\"}],staticClass:\"w-4 h-4 bg-indigo-500 default:ring-2\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.bookingState.allChosen)?_vm._i(_vm.bookingState.allChosen,null)>-1:(_vm.bookingState.allChosen)},on:{\"click\":_vm.jobCheckboxAllClicked,\"change\":function($event){var $$a=_vm.bookingState.allChosen,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.bookingState, \"allChosen\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.bookingState, \"allChosen\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.bookingState, \"allChosen\", $$c)}}}}):_vm._e()]),_vm._m(0),_vm._m(1),_vm._m(2),_vm._m(3),_vm._m(4),_vm._m(5),_vm._m(6),_vm._m(7),_vm._m(8)]),_vm._l((_vm.tableData),function(job,idx){return _c('div',{key:idx,staticClass:\"pt-2 mb-4 bg-purple-50 rounded border border-purple-200\"},[_c('div',{staticClass:\"pb-2 d-flex\",on:{\"click\":function($event){return _vm.tableJobRowClick(idx)}}},[_c('div',{staticClass:\"pl-2 w-12\"},[(job.error_message)?_c('div',[_c(VTooltip,{staticClass:\"ma-0 pa-0 text-purple-400\",attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,{staticStyle:{\"color\":\"#9c8cff\"},attrs:{\"color\":\"purple\",\"size\":\"20\"}},[_vm._v(\"mdi-alert-circle\")])],1)]}}],null,true)},[_c('span',{},[_c('div',{staticClass:\"w-32 leading-4 py-2 text-center\"},[_vm._v(\" \"+_vm._s(job.error_message)+\" \")])])])],1):_c('div',[(_vm.bookingState.quickJobs)?_c('input',{staticClass:\"w-4 h-4 bg-indigo-500 default:ring-2\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":_vm.bookingState.chosenJobs.indexOf(job.rockhopper_id) >= 0},on:{\"click\":function($event){$event.stopPropagation();return _vm.jobCheckboxClicked(job.rockhopper_id)}}}):_c('label',[_c('div',{staticClass:\"w-4 h-4 rounded-full border border-purple-400 text-blue-500 focus:border-purple-500 focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 focus:ring-offset-0 shadow-sm disabled:cursor-not-allowed disabled:opacity-50 ease-in-out flex justify-center items-center bg-white\",on:{\"click\":function($event){$event.stopPropagation();return _vm.jobRadioClicked(job.rockhopper_id)}}},[(_vm.bookingState.singleJobChosen[job.rockhopper_id])?_c('div',{staticClass:\"w-2 h-2 bg-purple-400 rounded-full\"}):_vm._e()])])])]),_c('div',{staticClass:\"w-20\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.rockhopper_id))])]),_c('div',{staticClass:\"w-24\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.rockhopper_date))])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.customer))])]),_c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.stops[0] ? job.stops[0].name : ''))])]),_c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.stops[1] ? job.stops[1].name : ''))])]),_c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.stops[2] ? job.stops[2].name : ''))])]),_c('div',{staticClass:\"w-28\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.reference_1 ? job.reference_1 : ''))])]),_c('div',{staticClass:\"w-28\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.reference_2 ? job.reference_2 : ''))])]),_c('div',{staticClass:\"w-28\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.reference_3 ? job.reference_3 : ''))])])]),_c('Transition',{attrs:{\"name\":\"fade\"}},[(_vm.tableOpenedJobIdx === idx)?_c('section',{staticClass:\"py-4 px-2 bg-white\"},[(job.error_message)?_c('div',{staticClass:\"mt-4 mb-6 pl-4 text-base flex items-center bg-purple-50 pa-3\"},[_c(VIcon,{staticClass:\"text-red-600\",attrs:{\"size\":\"20\"}},[_vm._v(\"mdi-alert-box\")]),_c('span',{staticClass:\"ml-1 font-semibold\"},[_vm._v(\"Can't book this job:\")]),_c('span',{staticClass:\"ml-2 text-red-400\"},[_vm._v(_vm._s(job.error_message))])],1):_vm._e(),_c('div',{staticClass:\"flex justify-start pl-4 mt-2 mb-12\"},[_c('div',{staticClass:\"mr-24 w-48\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Customer:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold leading\"},[_vm._v(_vm._s(job.customer))])]),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Status:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold leading\"},[_vm._v(_vm._s(job.status))])])]),_c('div',{staticClass:\"mr-24 w-80\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Booked by:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold uppercase leading\"},[_vm._v(_vm._s(job.booked_by))])]),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Booked at:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold leading\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":job.booked_at,\"pattern\":\"yyyy-MM-d hh:mm:ss a\"}})],1)])]),_c('div',{staticClass:\"mr-24 w-48\"},[(job.priority)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Priority:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold leading\"},[_vm._v(_vm._s(job.priority ? 'Yes' : 'No'))])]):_vm._e(),(job.split_base)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Split to base:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold leading\"},[_vm._v(_vm._s(job.split_base))])]):_vm._e()])]),(job && job.stops)?_c('StopDrawing',{staticClass:\"px-7 mt-8 drawing\",attrs:{\"stops\":job.stops,\"editable\":false}}):_vm._e(),_c('div',{staticClass:\"flex items-start justify-start mt-12\"},[_vm._l((job.stops),function(stop,kdx){return _c('div',{key:kdx,staticClass:\"pt-2 flex flex-col w-72 max-w-72 ml-12\"},[(stop.required_at)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold leading-3\"},[_vm._v(\"Time required:\")]),_c('p',{staticClass:\"mb-0 text-sm\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":stop.required_at,\"pattern\":\"yyyy-MM-d hh:mm:ss a\"}})],1)]):_vm._e(),(stop.driver_is)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold leading-3\"},[_vm._v(\"Driver:\")]),_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(_vm._s(stop.driver_is))])]):_vm._e(),(stop.arrived_at)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold leading-3\"},[_vm._v(\"Arrived at:\")]),_c('p',{staticClass:\"mb-0 text-sm\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":stop.arrived_at,\"pattern\":\"yyyy-MM-d hh:mm:ss a\"}})],1)]):_vm._e(),(stop.departed_at)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold leading-3\"},[_vm._v(\"Departed at:\")]),_c('p',{staticClass:\"mb-0 text-sm\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":stop.departed_at,\"pattern\":\"yyyy-MM-d hh:mm:ss a\"}})],1)]):_vm._e(),(stop.attributes.length)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold leading-3\"},[_vm._v(\"Attributes\")]),_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(_vm._s(stop.attributes.join(', ')))])]):_vm._e(),(stop.services.length)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold leading-3\"},[_vm._v(\"Services:\")]),_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(_vm._s(stop.services.join(', ')))])]):_vm._e()])}),(job.stops.length <= 2)?_c('div',{staticClass:\"pt-2 flex flex-col w-72 max-w-72 ml-12\"}):_vm._e()],2),_c('div',{staticClass:\"flex px-4 mt-12\"},[([...job.products].filter(x => x.from_stop === 1 || x.to_stop === 2).length >= 1)?_c('div',{staticClass:\"flex flex-col\"},[_c('h4',{staticClass:\"mb-1 ml-0 text-sm font-semibold\"},[_vm._v(\"Products on leg 1:\")]),_c('div',{staticClass:\"mt-1 mb-8 ml-0 w-min\"},[_c('div',{staticClass:\"flex pt-3 border-t-2 border-gray-200\"},[_c('div',{staticClass:\"w-60 text-sm font-semibold leading-4\"},[_vm._v(\"Name\")]),_c('div',{staticClass:\"w-24 text-sm font-semibold leading-4\"},[_vm._v(\"HxWxD\")]),_c('div',{staticClass:\"w-16 text-sm font-semibold leading-4\"},[_vm._v(\"Quantity\")]),_c('div',{staticClass:\"w-16 text-sm font-semibold leading-4\"},[_vm._v(\"Weight\")]),_c('div',{staticClass:\"w-24 text-sm font-semibold leading-4\"},[_vm._v(\"Code\")])]),_vm._l((job.products),function(product,jdx){return _c('div',{key:jdx},[(product.from_stop === 1 && product.to_stop === 2)?_c('div',{staticClass:\"flex pt-2\"},[_c('div',{staticClass:\"w-60 text-sm leading-4\"},[_vm._v(_vm._s(product.model))]),_c('div',{staticClass:\"w-24 text-sm leading-4\"},[_vm._v(\" \"+_vm._s(product.width)+\"x\"+_vm._s(product.height)+\"x\"+_vm._s(product.length)+\" \")]),_c('div',{staticClass:\"w-16 text-sm leading-4\"},[_vm._v(_vm._s(product.quantity))]),_c('div',{staticClass:\"w-16 text-sm leading-4\"},[_vm._v(_vm._s(product.weight))]),_c('div',{staticClass:\"w-24 text-sm leading-4\"},[_vm._v(_vm._s(product.goods_code))])]):_vm._e()])})],2)]):_c('div',{staticClass:\"flex flex-col w-3/12\"}),(job.stops.length === 3)?_c('div',{staticClass:\"flex flex-col w-1/2\"},[_c('h4',{staticClass:\"mb-1 ml-0 text-sm font-semibold\"},[_vm._v(\"Products on leg 2:\")]),_c('div',{staticClass:\"mt-1 mb-8 ml-0 w-min\"},[_c('div',{staticClass:\"flex pt-3 border-t-2 border-gray-200\"},[_c('div',{staticClass:\"w-60 text-sm font-semibold leading-4\"},[_vm._v(\"Name\")]),_c('div',{staticClass:\"w-24 text-sm font-semibold leading-4\"},[_vm._v(\"HxWxD\")]),_c('div',{staticClass:\"w-16 text-sm font-semibold leading-4\"},[_vm._v(\"Quantity\")]),_c('div',{staticClass:\"w-16 text-sm font-semibold leading-4\"},[_vm._v(\"Weight\")]),_c('div',{staticClass:\"w-24 text-sm font-semibold leading-4\"},[_vm._v(\"Code\")])]),_vm._l((job.products),function(product,kdx){return _c('div',{key:kdx},[(product.from_stop === 2 && product.to_stop === 3)?_c('div',{staticClass:\"flex pt-2\"},[_c('div',{staticClass:\"w-60 text-sm leading-4\"},[_vm._v(_vm._s(product.model))]),_c('div',{staticClass:\"w-24 text-sm leading-4\"},[_vm._v(\" \"+_vm._s(product.width)+\"x\"+_vm._s(product.height)+\"x\"+_vm._s(product.length)+\" \")]),_c('div',{staticClass:\"w-16 text-sm leading-4\"},[_vm._v(_vm._s(product.quantity))]),_c('div',{staticClass:\"w-16 text-sm leading-4\"},[_vm._v(_vm._s(product.weight))]),_c('div',{staticClass:\"w-24 text-sm leading-4\"},[_vm._v(_vm._s(product.goods_code))])]):_vm._e()])})],2)]):_vm._e()])],1):_vm._e()])],1)}),(_vm.tableData.length >= 1)?_c('div',{staticClass:\"flex mt-6\"},[_c('div',{staticClass:\"w-2/12\"}),_c('div',{staticClass:\"w-8/12 flex items-center justify-center px-2\"},[_c('div',{staticClass:\"flex items-center\"},[_c('p',{staticClass:\"ma-0 text-sm\"},[_vm._v(\"Show by:\")]),_c('p',{staticClass:\"ma-0 w-20 px-2\"},[_c('t-select',{attrs:{\"options\":_vm.pagination.perPageOptions,\"wrapped\":\"\"},model:{value:(_vm.pagination.perPage),callback:function ($$v) {_vm.$set(_vm.pagination, \"perPage\", $$v)},expression:\"pagination.perPage\"}})],1),_c('p',{staticClass:\"ma-0 pl-4 whitespace-nowrap text-sm\"},[_vm._v(\"jobs from \"+_vm._s(_vm.pagination.total)+\" pages\")])]),(_vm.pagination.total > 0)?_c('t-pagination',{staticClass:\"w-128 ma-0\",class:_vm.pagination.total >= 100 ? 'text-sm' : '',attrs:{\"total-items\":_vm.pagination.total * _vm.pagination.perPage,\"per-page\":Number(_vm.pagination.perPage),\"limit\":_vm.pagination.visible,\"disabled\":_vm.loading},on:{\"change\":_vm.updatePagination},model:{value:(_vm.pagination.current),callback:function ($$v) {_vm.$set(_vm.pagination, \"current\", $$v)},expression:\"pagination.current\"}}):_vm._e()],1),_c('div',{staticClass:\"w-2/12 flex justify-end\"},[_c('Button',{staticClass:\"items-end btn\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading || _vm.bookingState.chosenJobs.length <= 0,\"icon\":\"mdi-send\",\"text\":_vm.nextButtonText},nativeOn:{\"click\":function($event){return _vm.nextStepClick.apply(null, arguments)}}})],1)]):_vm._e()],2):_vm._e()])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-20\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Id\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-24\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Date\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Customer code\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Stop 1\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Stop 2\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Stop 3\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-28\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Reference 1\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-28\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Reference 2\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-28\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Reference 3\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"ma-0 pa-0 w-min flex flex-col\"},[_c('div',{staticClass:\"flex border-t-2 pt-2 pb-1 border-gray-200\"},_vm._l((_vm.headers),function(header,idx){return _c('div',{key:idx,staticClass:\"pt-2\"},[_c('div',{class:`w-${header.width} text-sm font-semibold leading-3`},[_vm._v(_vm._s(header.name))])])}),0),_c('div',{staticClass:\"flex flex-col pt-2\"},_vm._l((_vm.items),function(item,jdx){return _c('div',{key:jdx,staticClass:\"flex\"},_vm._l((_vm.headers),function(header,kdx){return _c('div',{key:kdx,staticClass:\"flex mb-2\"},[_c('div',{class:`w-${header.width} text-sm leading-3 pr-2`},[(header.qty)?[_vm._v(\" \"+_vm._s(jdx + 1)+\" \")]:_vm._e(),_vm._v(\" \"+_vm._s(!header.isCounter ? item[header.value] : item[header.value].length)+\" \")],2)])}),0)}),0)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { TableListHeader } from '@/models/main';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class TableList extends Vue {\n @Prop({ type: Array, required: true }) public headers: TableListHeader[];\n @Prop({ type: Array, required: true }) public items: [];\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TableList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TableList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TableList.vue?vue&type=template&id=4927875d\"\nimport script from \"./TableList.vue?vue&type=script&lang=ts\"\nexport * from \"./TableList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Button from '@/components/UI/button/Button.vue';\nimport StopDrawing from '@/components/jobDetailed/StopDrawing/StopDrawing.vue';\nimport TableList from '@/components/UI/TableList.vue';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport LookupSuburb from '@/components/UI/lookups/LookupSuburb.vue';\nimport { AirRoadBookingStateData, AirRoadJobData } from '@/models/airRoad';\nimport { getSuburb } from '@/api';\n\n@Component({\n components: { LookupSuburb, DateTimezoneToggle, TableList, StopDrawing, Button },\n})\nexport default class JobsTable extends Vue {\n @Prop(Boolean) loading!: boolean;\n @Prop(Number) tableOpenedJobIdx!: number;\n @Prop(Array) tableData!: Array;\n @Prop(Array) jobsToBook!: Array;\n @Prop(Object) jobsToBookOriginal!: AirRoadJobData;\n @Prop(Object) bookingState!: AirRoadBookingStateData;\n @Prop(Object) pagination!: Record;\n\n public jobDefaultData: AirRoadJobData = {\n id: 0,\n rockhopper_id: 0,\n rockhopper_date: '',\n booked_at: '',\n reference_1: '',\n reference_2: '',\n reference_3: '',\n customer: '',\n status: 0,\n stops: [],\n products: [],\n error_message: '',\n booked_by: '',\n split_base: '',\n priority: false,\n connote: '',\n labels: false,\n json_used_for_booking: null,\n exclude_leg: null,\n customer_code: '',\n error_text: '',\n special_options: [],\n };\n\n public get nextButtonText(): string {\n return this.bookingState.quickJobs ? 'Book the job' : 'Check delivery address';\n }\n\n public autocompleteSuburb = getSuburb;\n\n backBtnClicked() {\n this.$emit('backBtnClicked');\n }\n\n closeAddressModal() {\n this.$emit('closeAddressModal');\n }\n\n updatePagination() {\n this.$emit('updatePagination');\n }\n\n nextStepClick() {\n this.$emit('nextStepClick');\n }\n\n tableJobRowClick(idx: number) {\n this.$emit('tableJobRowClick', idx);\n }\n\n // Row checkbox\n public jobCheckboxClicked(id) {\n const jobChosenIdx = this.bookingState.chosenJobs.findIndex(x => x === id);\n if (jobChosenIdx === -1) {\n this.bookingState.chosenJobs.push(id);\n } else {\n this.bookingState.chosenJobs.splice(jobChosenIdx, 1);\n if (this.bookingState.allChosen) {\n this.bookingState.allChosen = false;\n }\n }\n }\n // Checkbox all\n public jobCheckboxAllClicked() {\n const jobIds = this.tableData.reduce((acc: number[], obj) => {\n if (!obj.error_message) {\n acc.push(obj.rockhopper_id);\n }\n return acc;\n }, []);\n if (!this.bookingState.allChosen) {\n this.bookingState.chosenJobs = jobIds;\n } else {\n this.bookingState.chosenJobs.length = 0;\n }\n }\n // Row Radio\n public jobRadioClicked(id: number) {\n this.bookingState.singleJobChosen = { ...this.jobDefaultData };\n this.bookingState.singleJobChosen[id] = true;\n this.bookingState.chosenJobs = [];\n this.bookingState.chosenJobs.push(id);\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobsTable.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobsTable.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobsTable.vue?vue&type=template&id=8d34fe14&scoped=true\"\nimport script from \"./JobsTable.vue?vue&type=script&lang=ts\"\nexport * from \"./JobsTable.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobsTable.vue?vue&type=style&index=0&id=8d34fe14&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8d34fe14\",\n null\n \n)\n\nexport default component.exports","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"p-6 pb-0 flex flex-col\"},[_c('div',{staticClass:\"p-6\"},[(_vm.loading)?_c('div',{staticClass:\"w-300 flex justify-center items-center py-12 mt-5\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"48\"}},[_vm._v(\"mdi-loading\")])],1):_c('div',{staticClass:\"w-300 mt-4 mb-12\"},[_c('div',[_c('div',{staticClass:\"pb-8 mt-6 rounded border border-purple-200\"},[_c('div',{staticClass:\"py-4 px-4 bg-purple-100 rounded-t\"},[_c('h4',{staticClass:\"text-xl font-semibold\"},[_vm._v(\" Job #\"),_c('span',{staticClass:\"underline decoration-solid\"},[_vm._v(_vm._s(_vm.jobsToBook[0].rockhopper_id))])])]),_c('div',{staticClass:\"flex justify-start pl-4 mt-2 mb-12\"},[_c('div',{staticClass:\"mr-24 w-48\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Customer:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(_vm.jobsToBook[0].customer))])]),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Status:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(_vm.jobsToBook[0].status))])])]),_c('div',{staticClass:\"mr-24 w-64\"},[(_vm.jobsToBook[0].reference_1)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Reference 1:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(_vm.jobsToBook[0].reference_1))])]):_vm._e(),(_vm.jobsToBook[0].reference_2)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Reference 2:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(_vm.jobsToBook[0].reference_2))])]):_vm._e(),(_vm.jobsToBook[0].reference_3)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Reference 3:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(_vm.jobsToBook[0].reference_3))])]):_vm._e()]),_c('div',{staticClass:\"mr-24 w-80\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Booked by:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right uppercase leading\"},[_vm._v(\" \"+_vm._s(_vm.jobsToBook[0].booked_by)+\" \")])]),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Booked at:\")]),(_vm.jobsToBook[0] && _vm.jobsToBook[0].booked_at)?_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.jobsToBook[0].booked_at,\"pattern\":\"yyyy-MM-d hh:mm:ss a\"}})],1):_vm._e()])])]),_c('div',{staticClass:\"flex justify-between items-start py-4 px-6 my-6\"},_vm._l((_vm.jobsToBook[0].stops),function(stop,jdx){return _c('div',{key:jdx,staticClass:\"flex relative flex-col items-start py-4 w-1/3\"},[(stop.stop_number === 1 && !_vm.jobsToBook[0].leg_2_chosen)?_c('div',{staticClass:\"absolute top-0 left-0 w-full h-full -z-50\",class:_vm.jobsToBook[0].stops.length >= 3\n ? 'bg-purple-100 rounded-l border-t border-b border-l border-purple-300 border-dashed'\n : ''}):_vm._e(),(stop.stop_number === 2)?_c('div',{staticClass:\"absolute top-0 left-0 w-full h-full -z-50\",class:_vm.jobsToBook[0].stops.length >= 3\n ? !_vm.jobsToBook[0].leg_2_chosen\n ? 'bg-purple-100 border-t border-b border-purple-300 border-dashed border-r rounded-r'\n : 'bg-purple-100 border-t border-b border-purple-300 border-dashed border-l rounded-l'\n : ''}):_vm._e(),(stop.stop_number === 3 && _vm.jobsToBook[0].leg_2_chosen)?_c('div',{staticClass:\"absolute top-0 left-0 w-full h-full bg-purple-100 rounded-r transition border-t border-r border-b border-purple-300 border-dashed -z-50\"}):_vm._e(),_c('div',{staticClass:\"z-50 py-4 w-full h-full\",class:(_vm.jobsToBook[0].leg_2_chosen && jdx === 0) || (!_vm.jobsToBook[0].leg_2_chosen && jdx === 2)\n ? 'opacity-50 !cursor-not-allowed'\n : ''},[_c('div',{staticClass:\"flex flex-col pl-2\"},[_c('div',{staticClass:\"relative\",staticStyle:{\"margin-bottom\":\"-5px\"}},[_c(VIcon,{attrs:{\"color\":\"black\",\"size\":\"36\"}},[_vm._v(\"mdi-octagon-outline\")]),_c('div',{staticClass:\"flex absolute justify-center items-center font-semibold\",staticStyle:{\"top\":\"6px\",\"left\":\"13px\"}},[_vm._v(\" \"+_vm._s(stop.stop_number)+\" \")])],1),_c('div',{staticClass:\"ml-4 h-8 border-l-4 border-black\"})]),_c('div',{staticClass:\"w-full border-t-4 border-black\"}),_c('div',{staticClass:\"z-50 -mt-6 ml-8 relative\"},[(stop.name !== _vm.jobsToBookOriginal.stops[stop.stop_number - 1].name)?_c('div',{staticClass:\"w-92 absolute left-3 -top-12 text-purple-400 text-sm\"},[_c('p',{staticClass:\"ma-0 leading-3\"},[_vm._v(\"Original:\")]),_c('p',{staticClass:\"ma-0 leading-3 mt-1\"},[_vm._v(\" \"+_vm._s(_vm.jobsToBookOriginal.stops[stop.stop_number - 1].name)+\" \")]),_c('p',{staticClass:\"ma-0 leading-3 mt-1\"},[_vm._v(\" \"+_vm._s(_vm.jobsToBookOriginal.stops[stop.stop_number - 1].state)+\", \"+_vm._s(_vm.jobsToBookOriginal.stops[stop.stop_number - 1].suburb)+\" \")])]):_vm._e(),_c('div',{staticClass:\"w-60\"},[(stop && !stop.new)?_c('div',{staticClass:\"relative\"},[_c('div',{staticClass:\"absolute -top-3 right-3 w-6 h-6 rounded-full bg-purple-400 flex items-center justify-center cursor-pointer z-10\",on:{\"click\":function($event){return _vm.openAddressModal(stop.stop_number)}}},[_c(VIcon,{attrs:{\"size\":\"20\",\"color\":\"white\"}},[_vm._v(\"mdi-plus\")])],1),_c('t-rich-select',{staticClass:\"w-full rounded border border-black\",attrs:{\"close-on-select\":true,\"options\":_vm.getAddressOptions(_vm.addressBookNames, _vm.jobsToBookOriginal.stops[stop.stop_number - 1]),\"value\":`${stop.name}, ${stop.state}`,\"disabled\":(_vm.jobsToBook[0].leg_2_chosen && jdx === 0) || (!_vm.jobsToBook[0].leg_2_chosen && jdx === 2),\"placeholder\":\"Select address\"},on:{\"change\":function($event){return _vm.changeAddressBook($event, stop, jdx)}},scopedSlots:_vm._u([{key:\"{option}\",fn:function(){return [_c('div',{staticClass:\"flex flex-col w-full text-gray-800\"},[_c('span',{staticClass:\"pl-2 py-2 leading-4\"},[_vm._v(_vm._s(_vm.option.text))])])]},proxy:true}],null,true)})],1):_c('div',{staticClass:\"relative\"},[_c('t-input',{staticClass:\"w-60 h-10 pl-3 bg-gray-100 border border-black-700 cursor-not-allowed\",attrs:{\"value\":`${stop.name}, ${stop.state}`,\"disabled\":true}}),_c('div',{staticClass:\"absolute -top-3 right-3 w-6 h-6 rounded-full bg-purple-400 flex items-center justify-center cursor-pointer\",on:{\"click\":function($event){return _vm.clearChosenAddress(stop.stop_number)}}},[_c(VIcon,{attrs:{\"size\":\"20\",\"color\":\"white\"}},[_vm._v(\"mdi-close\")])],1)],1)]),_c('div',{staticClass:\"pt-2 pl-3\"},[_c('p',{staticClass:\"mb-0 text-sm leading-none\"},[_vm._v(\" \"+_vm._s(stop.state)+\", \"+_vm._s(stop.suburb)+\", \"+_vm._s(stop.post_code)+\" \")]),_c('p',{staticClass:\"mb-0 h-8 text-sm leading-none\"},[_vm._v(_vm._s(stop.address_line_1)+\" \"+_vm._s(stop.address_line_2))])]),(_vm.jobsToBook[0].stops.length >= 3 && stop.stop_number === 2)?_c('div',{staticClass:\"flex flex-col mt-6 ml-1\",class:!!_vm.jobsToBook[0].exclude_leg ? 'cursor-not-allowed' : 'cursor-pointer',staticStyle:{\"height\":\"60px\"}},[_c('div',{staticClass:\"flex\"},[_c('p',{staticClass:\"mb-0\"},[_vm._v(\"Leg 1\")]),_c(VSwitch,{staticClass:\"pl-2 ma-0 pa-0\",attrs:{\"label\":\"\",\"color\":\"#9C8CFF\",\"disabled\":!!_vm.jobsToBook[0].exclude_leg},model:{value:(_vm.jobsToBook[0].leg_2_chosen),callback:function ($$v) {_vm.$set(_vm.jobsToBook[0], \"leg_2_chosen\", $$v)},expression:\"jobsToBook[0].leg_2_chosen\"}}),_c('p',{staticClass:\"mb-0\"},[_vm._v(\"Leg 2\")])],1),(!!_vm.jobsToBook[0].exclude_leg)?_c('div',{staticClass:\"flex items-center mb-4\"},[_c(VIcon,{staticClass:\"opacity-70\",attrs:{\"color\":\"orange\"}},[_vm._v(\"mdi-alert\")]),_c('span',{staticClass:\"ml-1 font-italic\"},[_vm._v(_vm._s(_vm.jobsToBook[0].leg_2_chosen ? '1st' : '2nd')+\" leg is already booked\")])],1):_vm._e()]):_c('div',{staticClass:\"mt-4\",staticStyle:{\"height\":\"68px\"}})])])])}),0),_c('div',{staticClass:\"flex px-4 mt-12\"},[([..._vm.jobsToBook[0].products].filter(x => x.from_stop === 1 || x.to_stop === 2).length >= 1)?_c('div',{staticClass:\"flex flex-col\"},[_c('h4',{staticClass:\"mb-2 ml-0 text-sm font-semibold\"},[_vm._v(\"Products on leg 1:\")]),_c('TableList',{attrs:{\"headers\":[\n { name: 'Name', value: 'model', width: _vm.jobsToBook[0].stops.length <= 2 ? 72 : 40 },\n { name: 'Description', value: 'description', width: _vm.jobsToBook[0].stops.length <= 2 ? 72 : 32 },\n { name: 'Quantity', value: 'quantity', width: 20 },\n { name: 'Weight', value: 'weight', width: 16 },\n { name: 'Code', value: 'goods_code', width: 16 },\n ],\"items\":[..._vm.jobsToBook[0].products].filter(x => x.from_stop === 1 || x.to_stop === 2)}})],1):_c('div',{staticClass:\"flex flex-col w-3/12\"}),(_vm.jobsToBook[0].stops.length >= 3)?_c('div',{staticClass:\"flex flex-col w-1/2 ml-1/2\"},[_c('h4',{staticClass:\"mb-2 ml-0 text-sm font-semibold\"},[_vm._v(\"Products on leg 2:\")]),_c('TableList',{attrs:{\"headers\":[\n { name: 'Name', value: 'model', width: 40 },\n { name: 'Description', value: 'description', width: 32 },\n { name: 'Quantity', value: 'quantity', width: 20 },\n { name: 'Weight', value: 'weight', width: 16 },\n { name: 'Code', value: 'goods_code', width: 16 },\n ],\"items\":[..._vm.jobsToBook[0].products].filter(x => x.from_stop === 2 || x.to_stop === 3)}})],1):_vm._e()])])]),_c('div',{staticClass:\"flex mt-6\"},[_c('div',{staticClass:\"w-2/12\"},[_c('Button',{staticClass:\"items-end btn\",attrs:{\"size\":\"small\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading,\"icon\":\"mdi-arrow-left\",\"text\":\"Back\"},nativeOn:{\"click\":function($event){return _vm.backBtnClicked.apply(null, arguments)}}})],1),_c('div',{staticClass:\"w-8/12 flex items-center justify-center px-2\"}),_c('div',{staticClass:\"w-2/12 flex justify-end\"},[_c('Button',{staticClass:\"items-end btn\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading,\"icon\":\"mdi-send\",\"text\":\"Pack the items\"},nativeOn:{\"click\":function($event){return _vm.nextStepClick.apply(null, arguments)}}})],1)]),_c(VDialog,{attrs:{\"max-width\":\"420px\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c(VCard,[_c(VCardTitle,{staticClass:\"ma-0 pa-0\"},[_c('div',{staticClass:\"flex justify-between pa-4\"},[_c('p',{staticClass:\"text-h5 ma-0 pa-0\"},[_vm._v(\"Add address\")]),_c(VIcon,{staticClass:\"icon-close\",on:{\"click\":_vm.closeAddressModal}},[_vm._v(\"mdi-close\")])],1)]),_c(VCardText,{staticClass:\"ma-0 pa-4 pb-0\"},[_c(VContainer,[_c(VForm,{ref:\"form\"},[_c(VRow,[_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"12\"}},[_c(VTextField,{attrs:{\"label\":\"Address name\",\"hint\":_vm.addingAddress.name.length >= 30 ? 'The maximum length is limited to 30 characters' : null,\"maxlength\":\"30\",\"outlined\":\"\",\"required\":\"\"},model:{value:(_vm.addingAddress.name),callback:function ($$v) {_vm.$set(_vm.addingAddress, \"name\", $$v)},expression:\"addingAddress.name\"}})],1),_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"12\"}},[_c(VTextField,{attrs:{\"label\":\"Street address\",\"hint\":_vm.addingAddress.line2 && _vm.addingAddress.line2.length >= 30\n ? 'The maximum length is limited to 30 characters'\n : null,\"maxlength\":\"30\",\"outlined\":\"\",\"required\":\"\"},model:{value:(_vm.addingAddress.line2),callback:function ($$v) {_vm.$set(_vm.addingAddress, \"line2\", $$v)},expression:\"addingAddress.line2\"}})],1),_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"12\"}},[_c(VTextField,{attrs:{\"label\":\"Room / Level / Unit\",\"hint\":_vm.addingAddress.line1 && _vm.addingAddress.line1.length >= 30\n ? 'The maximum length is limited to 30 characters'\n : null,\"maxlength\":\"30\",\"outlined\":\"\",\"required\":\"\"},model:{value:(_vm.addingAddress.line1),callback:function ($$v) {_vm.$set(_vm.addingAddress, \"line1\", $$v)},expression:\"addingAddress.line1\"}})],1),_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"12\"}},[_c('LookupSuburb',{attrs:{\"chosen\":_vm.addingAddress.suburb ? _vm.addingAddress.suburb : '',\"autocomplete\":_vm.autocompleteSuburb,\"stop\":0,\"addingAddress\":-1,\"disabled\":false},on:{\"change\":_vm.changeSuburbLookup,\"clear\":_vm.clearSuburbLookup}}),(_vm.addingAddress.suburb.state || _vm.addingAddress.suburb.postcode)?_c('div',{staticClass:\"non-editable-data d-flex align-center justify-end ma-0 mb-4 pa-0\"},[(_vm.addingAddress.suburb.state)?_c('p',{staticClass:\"text ma-0 pa-0 mr-2\"},[_vm._v(\" \"+_vm._s(_vm.addingAddress.suburb.state)+\", \")]):_vm._e(),(!!_vm.addingAddress.suburb.postcode)?_c('p',{staticClass:\"text ma-0 pa-0\"},[_vm._v(\" \"+_vm._s(_vm.addingAddress.suburb.postcode)+\" \")]):_vm._e()]):_vm._e()],1)],1)],1)],1)],1),_c(VCardActions,[_c(VSpacer),_c('div',{staticClass:\"mx-2 mb-4\",on:{\"click\":_vm.addAddressBtnClick}},[_c('Button',{staticClass:\"btn\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-check\",\"text\":\"Add address\"}})],1)],1)],1)],1)],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Button from '@/components/UI/button/Button.vue';\nimport StopDrawing from '@/components/jobDetailed/StopDrawing/StopDrawing.vue';\nimport TableList from '@/components/UI/TableList.vue';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport LookupSuburb from '@/components/UI/lookups/LookupSuburb.vue';\nimport { AirRoadBookingStateData, AirRoadJobData } from '@/models/airRoad';\nimport { getSuburb } from '@/api';\nimport { AddressBookAirRoadStop, AddressBookEndpointParam, AddressBookResponse } from '@/models/addressBook';\nimport { fetchGetAddressBookAddresses } from '@/helpers/fetchers';\n\n@Component({\n components: { LookupSuburb, DateTimezoneToggle, TableList, StopDrawing, Button },\n})\nexport default class JobsTable extends Vue {\n @Prop(Boolean) loading!: boolean;\n @Prop(Boolean) dialog!: boolean;\n @Prop(Array) jobsToBook!: Array;\n @Prop(Object) jobsToBookOriginal!: AirRoadJobData;\n @Prop(Object) bookingState!: AirRoadBookingStateData;\n\n public addingAddressDefault = {\n id: -1,\n name: '',\n line1: '',\n line2: '',\n line3: null,\n city: '',\n suburb: {\n id: -1,\n name: '',\n state: '',\n postcode: '',\n zone: '',\n status: -1,\n },\n warehouse: false,\n stop_number: 0,\n };\n public addingAddress = { ...this.addingAddressDefault };\n\n public changedStop = {};\n public addressBook: AddressBookAirRoadStop[];\n public addressBookNames: string[] = [];\n\n public get nextButtonText(): string {\n return this.bookingState.quickJobs ? 'Book the job' : 'Check delivery address';\n }\n\n public getAddressBookWrapper(): void {\n const params: AddressBookEndpointParam = {\n username: '',\n customer: '',\n warehouse: true,\n page: 1,\n };\n fetchGetAddressBookAddresses(params).then((res: AddressBookResponse) => {\n this.addressBookNames = [];\n this.addressBook = res.results;\n res.results.forEach((item: AddressBookAirRoadStop) => {\n this.addressBookNames.push(`${item.name}, ${item.suburb.state}`);\n });\n });\n }\n\n // * Adding new address dialog *\n public openAddressModal(stop_number): void {\n this.dialog = true;\n this.addingAddress.stop_number = stop_number;\n }\n\n public closeAddressModal(): void {\n this.dialog = false;\n this.addingAddress = { ...this.addingAddressDefault };\n }\n\n public addAddressBtnClick(): void {\n this.jobsToBook[0].stops[this.addingAddress.stop_number - 1].name = this.addingAddress.name;\n this.jobsToBook[0].stops[this.addingAddress.stop_number - 1].state = this.addingAddress.suburb.state;\n this.jobsToBook[0].stops[this.addingAddress.stop_number - 1].address_line_1 = this.addingAddress.line1;\n this.jobsToBook[0].stops[this.addingAddress.stop_number - 1].address_line_2 = this.addingAddress.line2\n ? this.addingAddress.line2\n : '';\n this.jobsToBook[0].stops[this.addingAddress.stop_number - 1].suburb = this.addingAddress.suburb.name;\n this.jobsToBook[0].stops[this.addingAddress.stop_number - 1].post_code = this.addingAddress.suburb.postcode;\n this.jobsToBook[0].stops[this.addingAddress.stop_number - 1].new = true;\n this.addingAddress = { ...this.addingAddressDefault };\n this.dialog = false;\n }\n\n public clearChosenAddress(stop_number) {\n this.jobsToBook[0].stops[stop_number - 1].name = this.jobsToBookOriginal.stops[stop_number - 1].name;\n this.jobsToBook[0].stops[stop_number - 1].state = this.jobsToBookOriginal.stops[stop_number - 1].state;\n this.jobsToBook[0].stops[stop_number - 1].address_line_1 =\n this.jobsToBookOriginal.stops[stop_number - 1].address_line_1;\n this.jobsToBook[0].stops[stop_number - 1].address_line_2 = this.jobsToBookOriginal.stops[stop_number - 1]\n .address_line_2\n ? this.jobsToBookOriginal.stops[stop_number - 1].address_line_2\n : '';\n this.jobsToBook[0].stops[stop_number - 1].suburb = this.jobsToBookOriginal.stops[stop_number - 1].name;\n this.jobsToBook[0].stops[stop_number - 1].post_code = String(\n this.jobsToBookOriginal.stops[stop_number - 1].post_code,\n );\n this.jobsToBook[0].stops[stop_number - 1].new = false;\n }\n\n public changeAddressBook(value, stop, stop_number): void {\n this.changedStop = { ...stop };\n const stopName = value.split(',')[0];\n const stopState = value.split(', ')[1];\n const chosenAddress = this.addressBook.find(x => x.name === stopName && x.suburb.state === stopState);\n const originStop = this.jobsToBookOriginal.stops[stop_number];\n // Address from the Address Book\n if (chosenAddress) {\n this.jobsToBook[0].stops[stop_number].name = chosenAddress.name;\n this.jobsToBook[0].stops[stop_number].state = chosenAddress.suburb.state;\n this.jobsToBook[0].stops[stop_number].address_line_1 = chosenAddress.line1;\n this.jobsToBook[0].stops[stop_number].address_line_2 = chosenAddress.line2 ? chosenAddress.line2 : '';\n this.jobsToBook[0].stops[stop_number].suburb = chosenAddress.suburb.name;\n this.jobsToBook[0].stops[stop_number].post_code = chosenAddress.suburb.postcode;\n }\n // Original address\n if (!chosenAddress && stopName === originStop.name) {\n this.jobsToBook[0].stops[stop_number].name = originStop.name;\n this.jobsToBook[0].stops[stop_number].state = originStop.state;\n this.jobsToBook[0].stops[stop_number].address_line_1 = originStop.address_line_1 ? originStop.address_line_1 : '';\n this.jobsToBook[0].stops[stop_number].address_line_2 = originStop.address_line_2 ? originStop.address_line_2 : '';\n this.jobsToBook[0].stops[stop_number].suburb = originStop.name;\n this.jobsToBook[0].stops[stop_number].post_code = originStop.post_code;\n }\n }\n\n // SUBURB LOOKUP\n public changeSuburbLookup(stop, item) {\n this.addingAddress.suburb = { ...item };\n }\n\n public clearSuburbLookup() {\n this.addingAddress.suburb = { ...this.addingAddressDefault.suburb };\n }\n\n // updatePagination\n public autocompleteSuburb = getSuburb;\n\n backBtnClicked() {\n this.$emit('backBtnClicked');\n }\n\n nextStepClick() {\n this.$emit('nextStepClick');\n }\n\n // Return address list\n public getAddressOptions(addressBookNames, originalStop) {\n let result: string[] = [...addressBookNames];\n // Original item string\n const originalStopListKey = `${originalStop.name}, ${originalStop.state}`;\n // Add origin if not exist\n if (result.indexOf(originalStopListKey) === -1) {\n result = [...result, originalStopListKey];\n }\n return result;\n }\n\n private mounted() {\n if (this.addressBookNames.length === 0) {\n this.getAddressBookWrapper();\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LegChoose.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LegChoose.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LegChoose.vue?vue&type=template&id=6ff1e3a4\"\nimport script from \"./LegChoose.vue?vue&type=script&lang=ts\"\nexport * from \"./LegChoose.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-300 p-6\"},[(_vm.loading)?_c('div',{staticClass:\"w-300 flex justify-center items-center py-12 mt-5\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"48\"}},[_vm._v(\"mdi-loading\")])],1):_c('div',[_c('div',{staticClass:\"flex flex-col w-264\"},[_c('div',{staticClass:\"px-2\"},[_c('h4',{staticClass:\"text-xl font-semibold\"},[_vm._v(\" Job #\"),_c('span',{staticClass:\"underline decoration-solid\"},[_vm._v(_vm._s(_vm.jobsToBook[0].rockhopper_id))])])]),_c('div',{staticClass:\"w-300 flex justify-start mt-6 pl-2 mb-12\"},[_c('div',{staticClass:\"mr-24 w-48\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Customer:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(_vm.jobsToBook[0].customer))])]),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Status:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(_vm.jobsToBook[0].status))])])]),_c('div',{staticClass:\"mr-24 w-64\"},[(_vm.jobsToBook[0].reference_1)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Reference 1:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(_vm.jobsToBook[0].reference_1))])]):_vm._e(),(_vm.jobsToBook[0].reference_2)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Reference 2:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(_vm.jobsToBook[0].reference_2))])]):_vm._e(),(_vm.jobsToBook[0].reference_3)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Reference 3:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(_vm.jobsToBook[0].reference_3))])]):_vm._e()]),_c('div',{staticClass:\"mr-24 w-80\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Booked by:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right uppercase leading\"},[_vm._v(_vm._s(_vm.jobsToBook[0].booked_by))])]),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Booked at:\")]),(_vm.jobsToBook[0] && _vm.jobsToBook[0].booked_at)?_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.jobsToBook[0].booked_at,\"pattern\":\"yyyy-MM-d hh:mm:ss a\"}})],1):_vm._e()])])]),_c('div',{staticClass:\"px-4 mb-8\"},[_c('StopDrawing',{attrs:{\"stops\":_vm.jobsToBook[0].stops,\"editable\":false}})],1)]),_c('div',{staticClass:\"flex pt-3 pb-2 w-264\"},[_c('div',{staticClass:\"w-64\"},[_c('div',{staticClass:\"flex justify-between items-baseline\"},[_c('h2',{staticClass:\"mb-2 font-semibold\"},[_vm._v(\"Products to pack:\")]),(_vm.productsToDrop.length > 0)?_c('div',{staticClass:\"flex justify-end\"},[_c('div',{staticClass:\"cursor-pointer\",on:{\"click\":function($event){return _vm.packEachToClick('carton')}}},[_c(VTooltip,{staticClass:\"text-purple-400\",attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,{staticStyle:{\"color\":\"#9c8cff\"},attrs:{\"color\":\"purple\",\"size\":\"20\"}},[_vm._v(\"mdi-package-variant\")])],1)]}}],null,false,391466140)},[_c('span',{},[_c('div',{staticClass:\"w-32 leading-4 text-center\"},[_vm._v(\"Pack each product in a separate carton box\")])])])],1),_c('div',{staticClass:\"ml-2 cursor-pointer\",on:{\"click\":function($event){return _vm.packEachToClick('pallet')}}},[_c(VTooltip,{staticClass:\"text-purple-400\",attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,{staticStyle:{\"color\":\"#9c8cff\"},attrs:{\"color\":\"purple\",\"size\":\"20\"}},[_vm._v(\"mdi-shipping-pallet\")])],1)]}}],null,false,3946821923)},[_c('span',{},[_c('div',{staticClass:\"w-32 leading-4 text-center\"},[_vm._v(\"Pack each product in a separate pallet\")])])])],1)]):_vm._e()]),(_vm.productsToDrop.length <= 0)?_c('div',{staticClass:\"flex justify-center items-center py-6 px-10 w-full rounded transition-opacity border border-dashed pa-4\"},[_c('h4',{staticClass:\"leading-4 text-center text-gray-400\"},[_vm._v(\"There are no products for packaging\")])]):_c('div',{staticClass:\"pt-6 pb-0 w-full rounded border border-dashed transition-opacity pa-4\"},_vm._l((_vm.productsToDrop),function(product,idx){return _c('div',{key:idx,staticClass:\"relative mb-6 w-56 rounded border border-purple-200\",attrs:{\"draggable\":true,\"transfer-data\":{ product }},on:{\"dragstart\":function($event){return _vm.onDragStart($event, product)},\"dragend\":function($event){return _vm.onDragEnd()}}},[_c('div',{staticClass:\"flex absolute -top-3 -left-3 justify-center items-center w-6 h-6 bg-purple-400 rounded-full text-sm text-white\"},[_vm._v(\" \"+_vm._s(product.quantity)+\" \")]),_c('div',{staticClass:\"flex justify-between items-center py-2 w-full bg-purple-50 rounded-t cursor-grab\"},[_c('div',{staticClass:\"flex justify-start items-center\"},[_c(VIcon,{staticClass:\"ml-1 opacity-75\",attrs:{\"size\":\"24\",\"color\":\"black\"}},[_vm._v(\"mdi-printer\")]),_c('p',{staticClass:\"mb-0 ml-2 text-sm\"},[_vm._v(\" \"+_vm._s(product.model)+\" \")])],1),_c('div',{staticClass:\"flex justify-end items-start h-full\"},[_c(VIcon,{staticClass:\"mr-1 text-purple-400 ma-0 pa-0\",attrs:{\"size\":\"20\"}},[_vm._v(\"mdi-drag\")]),(product.extra)?_c(VIcon,{staticClass:\"mr-1 text-purple-400 ma-0 pa-0 cursor-pointer\",attrs:{\"size\":\"20\"},on:{\"click\":function($event){return _vm.removeExtraProductClick(product)}}},[_vm._v(\"mdi-close\")]):_vm._e()],1)]),_c('div',{staticClass:\"flex justify-start items-center py-4 w-full rounded-b\"},[_c('div',{staticClass:\"flex items-center\"},[_c(VIcon,{staticClass:\"ml-2 opacity-75\",attrs:{\"size\":\"20\",\"color\":\"black\"}},[_vm._v(\"mdi-axis-arrow\")]),_c('p',{staticClass:\"mb-0 ml-2 text-sm\"},[_vm._v(_vm._s(product.width)+\"x\"+_vm._s(product.height)+\"x\"+_vm._s(product.length)+\" sm\")])],1),_c('div',{staticClass:\"flex items-center\"},[_c(VIcon,{staticClass:\"ml-2 opacity-75\",attrs:{\"size\":\"20\",\"color\":\"black\"}},[_vm._v(\"mdi-weight-kilogram\")]),_c('p',{staticClass:\"mb-0 ml-2 text-sm\"},[_vm._v(_vm._s(product.weight)+\" kg\")])],1)])])}),0),_vm._m(0),_c('div',{staticClass:\"pt-6 pb-0 w-full rounded border border-dashed transition-opacity pa-4\"},[_c('div',{staticClass:\"relative mb-6 w-56 rounded border border-purple-200\"},[_c('div',{staticClass:\"flex justify-between items-center py-2 w-full bg-purple-50 rounded-t\"},[_c('div',{staticClass:\"flex justify-start items-center\"},[_c(VIcon,{staticClass:\"ml-1 opacity-75\",attrs:{\"size\":\"18\",\"color\":\"black\"}},[_vm._v(\"mdi-printer\")]),_c('p',{staticClass:\"mb-0 text-sm\"},[_c('t-input',{staticClass:\"w-32 h-8 ml-1 bg-white\",attrs:{\"placeholder\":\"Model\"},model:{value:(_vm.productExtra.model),callback:function ($$v) {_vm.$set(_vm.productExtra, \"model\", $$v)},expression:\"productExtra.model\"}})],1)],1),_c('div',{staticClass:\"flex justify-end items-start h-full ml-2 cursor-pointer\"},[_c(VTooltip,{staticClass:\"ma-0 pa-0 text-purple-400\",attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,{staticClass:\"mr-1 text-purple-400 ma-0 pa-0 mdi-rotate-180\",attrs:{\"size\":\"28\",\"color\":\"purple\"},on:{\"click\":_vm.addExtraProductClick}},[_vm._v(\"mdi-arrow-down-bold-circle-outline\")])],1)]}}])},[_c('span',{},[_c('div',{staticClass:\"w-32 leading-4 py-2 text-center\"},[_vm._v(\"Add product\")])])])],1)]),_c('div',{staticClass:\"flex justify-start items-center py-4 w-full rounded-b\"},[_c('div',{staticClass:\"flex items-center\"},[_c(VIcon,{staticClass:\"ml-1 opacity-75\",attrs:{\"size\":\"18\",\"color\":\"black\"}},[_vm._v(\"mdi-axis-arrow\")]),_c('p',{staticClass:\"flex items-center mb-0 text-sm\"},[_c('t-input',{staticClass:\"w-16 h-8 ml-1 mr-1 pl-1 pr-1 bg-gray-200 cursor-not-allowed\",attrs:{\"type\":\"number\",\"disabled\":true,\"min\":\"0\"},model:{value:(_vm.productExtra.volume),callback:function ($$v) {_vm.$set(_vm.productExtra, \"volume\", $$v)},expression:\"productExtra.volume\"}}),_vm._v(\" m³ \")],1)],1),_c('div',{staticClass:\"flex items-center mr-1\"},[_c(VIcon,{staticClass:\"ml-1 mr-1 opacity-75\",attrs:{\"size\":\"18\",\"color\":\"black\"}},[_vm._v(\"mdi-weight-kilogram\")]),_c('p',{staticClass:\"flex items-center mb-0 text-sm\"},[_c('t-input',{staticClass:\"w-16 h-8 pl-1 pr-1 mr-1 bg-white\",attrs:{\"type\":\"number\",\"min\":\"0\"},model:{value:(_vm.productExtra.weight),callback:function ($$v) {_vm.$set(_vm.productExtra, \"weight\", $$v)},expression:\"productExtra.weight\"}}),_vm._v(\" kg \")],1)],1)])])])]),_c('div',{staticClass:\"flex justify-center items-start w-32\"},[_c(VIcon,{staticClass:\"mt-24 opacity-50\",attrs:{\"color\":\"black\",\"size\":\"40\"}},[_vm._v(\"mdi-arrow-right\")])],1),_c('div',{staticClass:\"w-180\"},[_c('h2',{staticClass:\"mb-2 font-semibold\"},[_vm._v(\"Package table:\")]),_c('div',{staticClass:\"flex pt-6 w-full bg-gray-50 rounded border border-gray-200 pa-4 carton\"},[(!_vm.productChosen.cartonEditing)?_c('div',{staticClass:\"justify-center items-center mr-2 w-1/2 h-80 bg-purple-50 rounded flex flex-col border border-gray-300 border-dashed\",on:{\"dragover\":function($event){$event.preventDefault();},\"dragenter\":function($event){$event.preventDefault();},\"drop\":function($event){$event.preventDefault();return _vm.handleDrop({\n event: $event,\n type: 'carton',\n })}}},[_c(VIcon,{staticClass:\"text-gray-200 opacity-50\",attrs:{\"size\":\"140\"}},[_vm._v(\"mdi-package-variant\")]),_c('h3',{staticClass:\"text-sm text-gray-400\"},[_vm._v(\"Carton\")])],1):_c('div',{staticClass:\"flex flex-col justify-start items-center mr-2 w-1/2 h-80 bg-white rounded border border-purple-300 carton\"},[_c('div',{staticClass:\"w-full bg-purple-50 rounded-t border-b border-purple-300\"},[_c('div',{staticClass:\"flex justify-between items-center py-2 w-full bg-purple-50 rounded-t\"},[_c('div',{staticClass:\"flex justify-start items-center\"},[_c('p',{staticClass:\"mb-0 ml-2 text-sm leading-3\"},[_vm._v(\"Adding \"+_vm._s(_vm.productChosen.data.event.product.model))])]),_c('div',{staticClass:\"flex justify-end items-start\"},[_c(VIcon,{staticClass:\"mr-1 text-purple-400 ma-0 pa-0\",attrs:{\"size\":\"20\"},on:{\"click\":_vm.productChosenCloseClick}},[_vm._v(\"mdi-close\")])],1)])]),_c('div',{staticClass:\"flex flex-col justify-between w-full\"},[_c('div',{staticClass:\"flex justify-between pt-0 pb-2 pl-6 w-full h-8 border-b border-purple-300\"},[_c('div',{staticClass:\"flex items-center h-8\"},[_c(VIcon,{staticClass:\"ml-2 opacity-75\",attrs:{\"size\":\"20\",\"color\":\"black\"}},[_vm._v(\"mdi-axis-arrow\")]),_c('p',{staticClass:\"mb-0 ml-2 text-sm\"},[_vm._v(\" \"+_vm._s(_vm.productChosen.data.event.product.width)+\"x\"+_vm._s(_vm.productChosen.data.event.product.height)+\"x\"+_vm._s(_vm.productChosen.data.event.product.length)+\" m³ \")])],1),_c('div',{staticClass:\"flex items-center h-8\"},[_c(VIcon,{staticClass:\"ml-2 opacity-75\",attrs:{\"size\":\"20\",\"color\":\"black\"}},[_vm._v(\"mdi-weight-kilogram\")]),_c('p',{staticClass:\"mb-0 ml-2 text-sm\"},[_vm._v(_vm._s(_vm.productChosen.data.event.product.weight)+\" kg\")])],1)]),_c('div',{staticClass:\"flex justify-between items-start pt-4 h-20 input-wrapper input-wrapper-calc\"},[_c('div',{staticClass:\"flex justify-start items-start pl-2 w-1/2\"},[_c('div',{staticClass:\"mr-2 w-20 font-semibold\"},[_vm._v(\"Size:\")]),_c('div',{staticClass:\"flex justify-start items-start w-32\"},[_c('fieldset',{staticClass:\"flex flex-col pt-2 -mt-2 mr-2 w-32\",on:{\"change\":_vm.addPackageDimensionsChanged}},_vm._l((_vm.packageDimensionsValues),function(value,idx){return _c('label',{key:idx,staticClass:\"flex w-full mb-1 cursor-pointer\"},[_c('t-radio',{staticClass:\"t-radio w-5\",attrs:{\"name\":\"options\",\"checked\":value.chosen,\"value\":idx}}),(value.custom)?_c('span',{staticClass:\"ml-2 w-full text-sm leading-4\"},[_vm._v(\" Custom \")]):_c('span',{staticClass:\"ml-2 w-full text-sm leading-4\"},[_vm._v(\" \"+_vm._s(value.width)+\"x\"+_vm._s(value.height)+\"x\"+_vm._s(value.length)+\" \")])],1)}),0)])]),_c('div',{staticClass:\"flex pr-2 w-1/2 relative\"},[_c(VTextField,{staticClass:\"w-24 stop-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"Volume\",\"prepend-icon\":\"mdi-calculator\",\"dense\":\"\",\"outlined\":\"\",\"required\":\"\"},on:{\"click:prepend\":function($event){return _vm.calcClicked('carton')}},model:{value:(_vm.calcData.value),callback:function ($$v) {_vm.$set(_vm.calcData, \"value\", $$v)},expression:\"calcData.value\"}}),_c('p',{staticClass:\"ml-2 mt-2 text-sm\"},[_vm._v(\"m³\")]),(_vm.calcOpen === 'carton')?_c('div',{staticClass:\"py-4 px-3 calc\"},[_c('div',{staticClass:\"calc-header d-flex align-start justify-space-between\"},[_c('p',{staticClass:\"pr-4 mt-1 calc-title\"},[_vm._v(\"Dimensions (centimeters):\")]),_c(VIcon,{attrs:{\"color\":\"black\"},on:{\"click\":_vm.calcCloseClicked}},[_vm._v(\"mdi-close\")])],1),_c('div',{staticClass:\"mt-4 align-baseline d-flex\"},[_c(VTextField,{staticClass:\"calc-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"Width\",\"outlined\":\"\",\"dense\":\"\"},on:{\"change\":_vm.calcChanged,\"keyup\":_vm.calcChanged},model:{value:(_vm.calcData.width),callback:function ($$v) {_vm.$set(_vm.calcData, \"width\", $$v)},expression:\"calcData.width\"}}),_c('p',{staticClass:\"mx-3\"},[_vm._v(\"x\")])],1),_c('div',{staticClass:\"align-baseline d-flex\"},[_c(VTextField,{staticClass:\"calc-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"Height\",\"outlined\":\"\",\"dense\":\"\"},on:{\"change\":_vm.calcChanged,\"keyup\":_vm.calcChanged},model:{value:(_vm.calcData.height),callback:function ($$v) {_vm.$set(_vm.calcData, \"height\", $$v)},expression:\"calcData.height\"}}),_c('p',{staticClass:\"mx-3\"},[_vm._v(\"x\")])],1),_c('div',{staticClass:\"align-baseline d-flex\"},[_c(VTextField,{staticClass:\"calc-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"length\",\"outlined\":\"\",\"dense\":\"\"},on:{\"change\":_vm.calcChanged,\"keyup\":_vm.calcChanged},model:{value:(_vm.calcData.length),callback:function ($$v) {_vm.$set(_vm.calcData, \"length\", $$v)},expression:\"calcData.length\"}}),_c('p',{staticClass:\"mx-3 text-sm leading-3 whitespace-nowrap\"},[_vm._v(\" = \"+_vm._s(_vm.calcData.width * _vm.calcData.height * _vm.calcData.length)+\" cm³ \")])],1),_c('div',{staticClass:\"flex justify-end d-flex\"},[_c('Button',{staticClass:\"items-end btn\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"icon\":\"mdi-check\",\"text\":\"Done\"},nativeOn:{\"click\":function($event){return _vm.calcCloseClicked.apply(null, arguments)}}})],1)]):_vm._e()],1)]),_c('div',{staticClass:\"flex flex-col justify-start items-start h-24 mt-3 ml-2 mb-5\"},[_c('div',{staticClass:\"flex items-center h-min\"},[_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"Quantity:\")]),_c('div',{staticClass:\"mx-2 w-16\"},[_c('t-input',{staticClass:\"w-12 h-8\",attrs:{\"type\":\"number\",\"max\":_vm.productChosen.data.event.product.counterMax,\"disabled\":_vm.productChosen.split,\"min\":1},model:{value:(_vm.productChosen.data.event.product.counterChanging),callback:function ($$v) {_vm.$set(_vm.productChosen.data.event.product, \"counterChanging\", $$v)},expression:\"productChosen.data.event.product.counterChanging\"}})],1),_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"of \"+_vm._s(_vm.productChosen.data.event.product.counterMax)+\" items\")])]),_c('div',{staticClass:\"flex justify-center items-center h-min\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.productChosen.split),expression:\"productChosen.split\"}],staticClass:\"mr-2 w-4 h-4 bg-indigo-500 default:ring-2\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.productChosen.split)?_vm._i(_vm.productChosen.split,null)>-1:(_vm.productChosen.split)},on:{\"change\":function($event){var $$a=_vm.productChosen.split,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.productChosen, \"split\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.productChosen, \"split\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.productChosen, \"split\", $$c)}}}}),_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"Split into:\")]),_c('div',{staticClass:\"mx-2 w-16\"},[_c('t-input',{staticClass:\"w-12 h-8\",attrs:{\"type\":\"number\",\"min\":1,\"max\":_vm.productChosen.data.event.product.counterChanging},model:{value:(_vm.productChosen.splitCounter),callback:function ($$v) {_vm.$set(_vm.productChosen, \"splitCounter\", $$v)},expression:\"productChosen.splitCounter\"}})],1),_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"packages\")])])])]),_c('div',{staticClass:\"flex justify-center items-center w-full h-12 bg-purple-200 rounded-b border-t border-purple-300 cursor-pointer\",on:{\"click\":function($event){return _vm.addPackage(_vm.productChosen)}}},[_c('p',{staticClass:\"mr-2 ma-0 pa-0\"},[_vm._v(\"Add carton\")]),_c(VIcon,{staticClass:\"font-black\",attrs:{\"size\":\"20\"}},[_vm._v(\"mdi-archive-plus-outline\")])],1)]),(!_vm.productChosen.palletEditing)?_c('div',{staticClass:\"justify-center items-center ml-2 w-1/2 h-80 bg-purple-50 rounded flex flex-col border border-gray-300 border-dashed\",on:{\"dragover\":function($event){$event.preventDefault();},\"dragenter\":function($event){$event.preventDefault();},\"drop\":function($event){$event.preventDefault();return _vm.handleDrop({\n event: $event,\n type: 'pallet',\n })}}},[_c(VIcon,{staticClass:\"text-gray-200 opacity-50\",attrs:{\"size\":\"140\"}},[_vm._v(\"mdi-shipping-pallet\")]),_c('h3',{staticClass:\"text-sm text-gray-400\"},[_vm._v(\"Pallet\")])],1):_c('div',{staticClass:\"justify-center items-center ml-2 w-1/2 h-80 flex flex-col bg-white rounded border border-purple-300\",on:{\"dragover\":function($event){$event.preventDefault();},\"dragenter\":function($event){$event.preventDefault();},\"drop\":function($event){$event.preventDefault();return _vm.handleDrop({\n event: $event,\n type: 'pallet',\n })}}},[_c('div',{staticClass:\"w-full bg-purple-50 rounded-t border-b border-purple-300\"},[_c('div',{staticClass:\"flex justify-between items-center py-2 w-full bg-purple-50 rounded-t\"},[_c('div',{staticClass:\"flex justify-start items-center\"},[_c('p',{staticClass:\"mb-0 ml-2 text-sm\"},[_vm._v(\"Adding \"+_vm._s(_vm.productChosen.data.event.product.model))])]),_c('div',{staticClass:\"flex justify-end items-start\"},[_c(VIcon,{staticClass:\"mr-1 text-purple-400 ma-0 pa-0\",attrs:{\"size\":\"20\"},on:{\"click\":_vm.productChosenCloseClick}},[_vm._v(\"mdi-close\")])],1)])]),_c('div',{staticClass:\"flex flex-col justify-between w-full bg-white\"},[_c('div',{staticClass:\"flex justify-between pb-2 pl-6 w-full h-8 border-b border-purple-300\"},[_c('div',{staticClass:\"flex items-center h-8\"},[_c(VIcon,{staticClass:\"ml-2 opacity-75\",attrs:{\"size\":\"20\",\"color\":\"black\"}},[_vm._v(\"mdi-axis-arrow\")]),_c('p',{staticClass:\"mb-0 ml-2 text-sm\"},[_vm._v(\" \"+_vm._s(_vm.productChosen.data.event.product.width)+\"x\"+_vm._s(_vm.productChosen.data.event.product.height)+\"x\"+_vm._s(_vm.productChosen.data.event.product.length)+\" m³ \")])],1),_c('div',{staticClass:\"flex items-center h-8\"},[_c(VIcon,{staticClass:\"ml-2 opacity-75\",attrs:{\"size\":\"20\",\"color\":\"black\"}},[_vm._v(\"mdi-weight-kilogram\")]),_c('p',{staticClass:\"mb-0 ml-2 text-sm\"},[_vm._v(_vm._s(_vm.productChosen.data.event.product.weight)+\" kg\")])],1)]),_c('div',{staticClass:\"flex justify-between items-start pt-4 h-20 input-wrapper input-wrapper-calc\"},[_c('div',{staticClass:\"flex justify-start items-start pl-2 w-1/2\"},[_c('div',{staticClass:\"mr-2 w-20 font-semibold\"},[_vm._v(\"Size:\")]),_c('div',{staticClass:\"flex justify-start items-start w-32\"},[_c('fieldset',{staticClass:\"flex flex-col pt-2 -mt-2 mr-2 w-32\",on:{\"change\":_vm.addPackageDimensionsChanged}},_vm._l((_vm.packageDimensionsValues),function(value,idx){return _c('label',{key:idx,staticClass:\"flex w-full mb-1 cursor-pointer\"},[_c('t-radio',{staticClass:\"t-radio w-5\",attrs:{\"name\":\"options\",\"checked\":value.chosen,\"value\":idx}}),(value.custom)?_c('span',{staticClass:\"ml-2 w-full text-sm leading-4\"},[_vm._v(\" Custom \")]):_c('span',{staticClass:\"ml-2 w-full text-sm leading-4\"},[_vm._v(\" \"+_vm._s(value.width)+\"x\"+_vm._s(value.height)+\"x\"+_vm._s(value.length)+\" \")])],1)}),0)])]),_c('div',{staticClass:\"flex pr-2 w-1/2 relative\"},[_c(VTextField,{staticClass:\"w-24 stop-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"Volume\",\"prepend-icon\":\"mdi-calculator\",\"dense\":\"\",\"outlined\":\"\",\"required\":\"\"},on:{\"click:prepend\":function($event){return _vm.calcClicked('carton')}},model:{value:(_vm.calcData.value),callback:function ($$v) {_vm.$set(_vm.calcData, \"value\", $$v)},expression:\"calcData.value\"}}),_c('p',{staticClass:\"ml-2 mt-2 text-sm\"},[_vm._v(\"m³\")]),(_vm.calcOpen === 'carton')?_c('div',{staticClass:\"py-4 px-3 calc\"},[_c('div',{staticClass:\"calc-header d-flex align-start justify-space-between\"},[_c('p',{staticClass:\"pr-4 mt-1 calc-title\"},[_vm._v(\"Dimensions (centimeters):\")]),_c(VIcon,{attrs:{\"color\":\"black\"},on:{\"click\":_vm.calcCloseClicked}},[_vm._v(\"mdi-close\")])],1),_c('div',{staticClass:\"mt-4 align-baseline d-flex\"},[_c(VTextField,{staticClass:\"calc-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"Width\",\"outlined\":\"\",\"dense\":\"\"},on:{\"change\":_vm.calcChanged,\"keyup\":_vm.calcChanged},model:{value:(_vm.calcData.width),callback:function ($$v) {_vm.$set(_vm.calcData, \"width\", $$v)},expression:\"calcData.width\"}}),_c('p',{staticClass:\"mx-3\"},[_vm._v(\"x\")])],1),_c('div',{staticClass:\"align-baseline d-flex\"},[_c(VTextField,{staticClass:\"calc-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"Height\",\"outlined\":\"\",\"dense\":\"\"},on:{\"change\":_vm.calcChanged,\"keyup\":_vm.calcChanged},model:{value:(_vm.calcData.height),callback:function ($$v) {_vm.$set(_vm.calcData, \"height\", $$v)},expression:\"calcData.height\"}}),_c('p',{staticClass:\"mx-3\"},[_vm._v(\"x\")])],1),_c('div',{staticClass:\"align-baseline d-flex\"},[_c(VTextField,{staticClass:\"calc-input ma-0 pa-0\",attrs:{\"background-color\":\"white\",\"type\":\"number\",\"min\":0,\"label\":\"length\",\"outlined\":\"\",\"dense\":\"\"},on:{\"change\":_vm.calcChanged,\"keyup\":_vm.calcChanged},model:{value:(_vm.calcData.length),callback:function ($$v) {_vm.$set(_vm.calcData, \"length\", $$v)},expression:\"calcData.length\"}}),_c('p',{staticClass:\"mx-3 result text-sm\"},[_vm._v(\" = \"+_vm._s(_vm.calcData.width * _vm.calcData.height * _vm.calcData.length)+\" cm³ \")])],1),_c('div',{staticClass:\"flex justify-end d-flex\"},[_c('Button',{staticClass:\"items-end btn\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"icon\":\"mdi-check\",\"text\":\"Done\"},nativeOn:{\"click\":function($event){return _vm.calcCloseClicked.apply(null, arguments)}}})],1)]):_vm._e()],1)]),_c('div',{staticClass:\"flex flex-col justify-start items-start h-24 mt-3 ml-2 mb-5\"},[_c('div',{staticClass:\"flex items-center h-min\"},[_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"Quantity:\")]),_c('div',{staticClass:\"mx-2 w-16\"},[_c('t-input',{staticClass:\"w-12 h-8\",attrs:{\"type\":\"number\",\"max\":_vm.productChosen.data.event.product.counterMax,\"disabled\":_vm.productChosen.split,\"min\":1},model:{value:(_vm.productChosen.data.event.product.counterChanging),callback:function ($$v) {_vm.$set(_vm.productChosen.data.event.product, \"counterChanging\", $$v)},expression:\"productChosen.data.event.product.counterChanging\"}})],1),_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"of \"+_vm._s(_vm.productChosen.data.event.product.counterMax)+\" items\")])]),_c('div',{staticClass:\"flex justify-center items-center h-min\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.productChosen.split),expression:\"productChosen.split\"}],staticClass:\"mr-2 w-4 h-4 bg-indigo-500 default:ring-2\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.productChosen.split)?_vm._i(_vm.productChosen.split,null)>-1:(_vm.productChosen.split)},on:{\"change\":function($event){var $$a=_vm.productChosen.split,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.productChosen, \"split\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.productChosen, \"split\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.productChosen, \"split\", $$c)}}}}),_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"Split into:\")]),_c('div',{staticClass:\"mx-2 w-16\"},[_c('t-input',{staticClass:\"w-12 h-8\",attrs:{\"type\":\"number\",\"min\":1,\"max\":_vm.productChosen.data.event.product.counterChanging},model:{value:(_vm.productChosen.splitCounter),callback:function ($$v) {_vm.$set(_vm.productChosen, \"splitCounter\", $$v)},expression:\"productChosen.splitCounter\"}})],1),_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"packages\")])])])]),_c('div',{staticClass:\"flex justify-center items-center w-full h-12 bg-purple-200 rounded-b border-t border-purple-300 cursor-pointer\",on:{\"click\":function($event){return _vm.addPackage(_vm.productChosen)}}},[_c('p',{staticClass:\"mr-2 ma-0 pa-0\"},[_vm._v(\"Add pallet\")]),_c(VIcon,{staticClass:\"font-black\",attrs:{\"size\":\"20\"}},[_vm._v(\"mdi-archive-plus-outline\")])],1)])]),_c('h2',{staticClass:\"mt-8 mb-2 font-semibold\"},[_vm._v(\"Packaged products:\")]),(!_vm.productsPacked.length)?_c('div',{staticClass:\"grid grid-cols-2 gap-4 w-full bg-gray-50 rounded border border-gray-200 pa-4\"},[_c('h1',[_vm._v(\"Nothing is packed yet\")])]):_c('div',{staticClass:\"grid grid-cols-2 gap-4 w-full bg-gray-50 rounded border border-gray-200 pa-4\"},_vm._l((_vm.productsPacked),function(product,idx){return _c('div',{key:idx,staticClass:\"flex w-84 h-auto rounded border border-purple-200\",attrs:{\"taller\":\"\"}},[(product.template === 'default')?_c('div',{staticClass:\"flex flex-col mb-2 w-84 h-auto\",on:{\"dragover\":function($event){$event.preventDefault();},\"dragenter\":function($event){$event.preventDefault();},\"drop\":function($event){$event.preventDefault();return _vm.handlePackageDrop($event, product)}}},[_c('div',{staticClass:\"flex justify-between items-center py-2 px-2 h-12 max-h-12 bg-purple-50 rounded-t border-b border-purple-200\"},[_c('div',{staticClass:\"text-sm\"},[_vm._v(_vm._s(product.name)+\" – \"+_vm._s(product.items.length)+\" items\")]),_c('div',{staticClass:\"ml-1 text-sm relative\"},[_c('span',[_vm._v(_vm._s(product.value)+\" m³\")]),_c('span',{staticClass:\"ml-1 py-1\",class:product.weightIsEdited ? 'bg-purple-200 rounded' : ''},[_c(VIcon,{staticClass:\"ml-1 text-purple-400 ma-0 pa-0\",attrs:{\"size\":\"16\",\"color\":\"black\"},on:{\"click\":function($event){return _vm.openEditPackageWeightClicked(product)}}},[_vm._v(\"mdi-pencil\")]),_vm._v(_vm._s(product.weightIsEdited ? product.weightEditedValue : product.weight)+\" kg \")],1),_c(VIcon,{staticClass:\"ml-1 text-purple-400 ma-0 pa-0\",attrs:{\"size\":\"20\"},on:{\"click\":function($event){return _vm.packageCloseClicked(product)}}},[_vm._v(\"mdi-close\")]),(product.weightDialogIsOpen)?_c('div',{staticClass:\"absolute top-6 -right-6 w-32 h-20 bg-white rounded border border-purple-400 pa-2 z-50\"},[_c('div',[_vm._v(\"Set new value:\")]),_c('div',{staticClass:\"flex items-center mt-2\"},[_c('div',{staticClass:\"w-20 h-8\"},[_c('InputPositiveNumbers',{staticClass:\"w-20 h-8\",attrs:{\"id\":product.id},on:{\"changed\":_vm.packageWeightChanged}})],1),_c(VIcon,{staticClass:\"ml-2 pa-0\",attrs:{\"size\":\"24\",\"color\":\"purple\"},on:{\"click\":function($event){return _vm.changePackageWeightClicked(product)}}},[_vm._v(\"mdi-check-bold\")])],1)]):_vm._e()],1)]),_c('div',{staticClass:\"grid grid-cols-2 gap-4 items-start h-auto pa-4\"},_vm._l((product.items),function(item,jdx){return _c('div',{key:jdx,staticClass:\"relative mb-0 w-full h-32 rounded border border-purple-200\"},[_c('div',{staticClass:\"flex absolute -top-3 -left-3 justify-center items-center w-6 h-6 bg-purple-400 rounded-full text-sm text-white\"},[_vm._v(\" \"+_vm._s(item.quantity)+\" \")]),_c('div',{staticClass:\"flex justify-between items-center py-2 w-full bg-purple-50 rounded-t\"},[_c('div',{staticClass:\"flex justify-start items-center\"},[_c('p',{staticClass:\"mb-0 ml-2 text-sm leading-3\"},[_vm._v(\" \"+_vm._s(item.model)+\" \")])]),_c('div',{staticClass:\"flex justify-end items-start h-full\"},[_c(VIcon,{staticClass:\"mr-1 text-purple-400 ma-0 pa-0\",attrs:{\"size\":\"20\"},on:{\"click\":function($event){return _vm.unpackProductClick(product, item)}}},[_vm._v(\"mdi-close\")])],1)]),_c('div',{staticClass:\"flex flex-col justify-center items-center pa-2 w-full rounded-b\"},[_c('div',{staticClass:\"flex justify-center items-center\"},[_c(VIcon,{staticClass:\"opacity-75\",attrs:{\"size\":\"20\",\"color\":\"black\"}},[_vm._v(\"mdi-axis-arrow\")]),_c('p',{staticClass:\"mb-0 ml-1 text-sm leading-3\"},[_vm._v(\" \"+_vm._s(item.width)+\"x\"+_vm._s(item.height)+\"x\"+_vm._s(item.length)+\" sm \")])],1),_c('div',{staticClass:\"flex justify-center items-center mt-1\"},[_c(VIcon,{staticClass:\"opacity-75\",attrs:{\"size\":\"20\",\"color\":\"black\"}},[_vm._v(\"mdi-weight-kilogram\")]),_c('p',{staticClass:\"mb-0 ml-2 text-sm\"},[_vm._v(_vm._s(item.weight)+\" kg\")])],1)])])}),0)]):_vm._e(),(product.template === 'unpackPackage')?_c('div',{staticClass:\"flex flex-col mb-2 w-84 h-auto\"},[_c('div',{staticClass:\"flex justify-between items-center pt-3 pb-3 px-2 h-12 bg-purple-50 rounded-t border-b border-purple-200\"},[_c('div',{staticClass:\"text-sm\"},[_vm._v(_vm._s(product.name)+\" – \"+_vm._s(product.items.length)+\" items\")]),_c('div',{staticClass:\"ml-1 text-sm\"},[_c('span',[_vm._v(\" \"+_vm._s(product.value)+\" m³ \")]),_c('span',{staticClass:\"py-1\",class:product.weightIsEdited ? 'bg-purple-200 rounded' : ''},[_c(VIcon,{staticClass:\"ml-1 text-purple-400 ma-0 pa-0\",attrs:{\"size\":\"16\",\"color\":\"black\"}},[_vm._v(\"mdi-pencil\")]),_vm._v(_vm._s(product.weightIsEdited ? product.weightEditedValue : product.weight)+\" kg \")],1),_c(VIcon,{staticClass:\"ml-1 text-purple-400 ma-0 pa-0\",attrs:{\"size\":\"20\"},on:{\"click\":function($event){product.template = 'default'}}},[_vm._v(\"mdi-close\")])],1)]),_c('div',{staticClass:\"flex flex-col h-full pa-4\"},[_c('div',{staticClass:\"flex justify-center items-center h-full\"},[_vm._v(\" Unpack \"),(product.items.length > 1)?_c('span',{staticClass:\"px-1\"},[_vm._v(\"all\")]):_vm._e(),_vm._v(\" \"+_vm._s(product.items.length)+\" item\"),(product.items.length > 1)?_c('span',[_vm._v(\"s\")]):_vm._e(),_vm._v(\"? \")]),_c('div',{staticClass:\"flex justify-between px-1 pb-0 mb-0 h-16\"},[_c('Button',{attrs:{\"size\":\"small\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"icon\":\"mdi-close\",\"text\":\"Cancel\"},nativeOn:{\"click\":function($event){product.template = 'default'}}}),_c('Button',{attrs:{\"size\":\"small\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading,\"icon\":\"mdi-package-up\",\"text\":\"Unpack\"},nativeOn:{\"click\":function($event){return _vm.unpackPackageClick(product)}}})],1)])]):_vm._e(),(product.template === 'unpackProduct')?_c('div',{staticClass:\"flex flex-col mb-2 w-84 h-auto\"},[_c('div',{staticClass:\"flex justify-between items-center py-3 px-2 h-12 bg-purple-50 rounded-t border-b border-purple-200\"},[_c('div',{staticClass:\"text-sm\"},[_vm._v(_vm._s(product.name)+\" – \"+_vm._s(product.items.length)+\" items\")]),_c('div',{staticClass:\"ml-1 text-sm\"},[_c('span',[_vm._v(\" \"+_vm._s(product.value)+\" m³ \")]),_c('span',{staticClass:\"py-1\",class:product.weightIsEdited ? 'bg-purple-200 rounded' : ''},[_c(VIcon,{staticClass:\"ml-1 text-purple-400 ma-0 pa-0\",attrs:{\"size\":\"16\",\"color\":\"black\"}},[_vm._v(\"mdi-pencil\")]),_vm._v(_vm._s(product.weightIsEdited ? product.weightEditedValue : product.weight)+\" kg \")],1),_c(VIcon,{staticClass:\"ml-1 text-purple-400 ma-0 pa-0\",attrs:{\"size\":\"20\"},on:{\"click\":function($event){product.template = 'default'}}},[_vm._v(\"mdi-close\")])],1)]),_c('div',{staticClass:\"flex flex-col h-full pa-4\"},[_c('div',{staticClass:\"flex justify-center items-center h-full\"},[_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"Unpack:\")]),_c('div',{staticClass:\"mx-2 w-16\"},[_c('t-input',{attrs:{\"type\":\"number\",\"max\":_vm.productRemoving.data.quantity,\"min\":1},model:{value:(_vm.productRemoving.quantity),callback:function ($$v) {_vm.$set(_vm.productRemoving, \"quantity\", $$v)},expression:\"productRemoving.quantity\"}})],1),_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"of \"+_vm._s(_vm.productRemoving.data.quantity)+\" products?\")])]),_c('div',{staticClass:\"flex justify-between px-1 pb-0 mb-0 h-16\"},[_c('Button',{attrs:{\"size\":\"small\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"icon\":\"mdi-close\",\"text\":\"Cancel\"},nativeOn:{\"click\":function($event){product.template = 'default'}}}),_c('Button',{attrs:{\"size\":\"small\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading,\"icon\":\"mdi-package-up\",\"text\":\"Unpack\"},nativeOn:{\"click\":function($event){return _vm.unpackProductBtnClick(product)}}})],1)])]):_vm._e(),(product.template === 'addToPackage')?_c('div',{staticClass:\"flex flex-col mb-2 w-84 h-auto\"},[_c('div',{staticClass:\"flex justify-between items-center py-2 px-2 h-16 bg-purple-50 rounded-t border-b border-purple-200\"},[_c('div',{staticClass:\"text-sm\"},[_vm._v(_vm._s(product.name)+\" – \"+_vm._s(product.items.length)+\" items\")]),_c('div',{staticClass:\"ml-1 text-sm\"},[_vm._v(\" \"+_vm._s(product.value)+\" m³ \"+_vm._s(product.weight)+\" kg \"),_c(VIcon,{staticClass:\"ml-1 text-purple-400 ma-0 pa-0\",attrs:{\"size\":\"20\"},on:{\"click\":function($event){product.template = 'default'}}},[_vm._v(\"mdi-close\")])],1)]),_c('div',{staticClass:\"flex flex-col h-full pa-4\"},[_c('div',{staticClass:\"flex justify-center items-center h-full\"},[_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"Add\")]),_c('div',{staticClass:\"mx-2 w-16\"},[_c('t-input',{staticClass:\"w-16\",attrs:{\"type\":\"number\",\"max\":_vm.productDroppedOnPackage.counterMax,\"min\":1},model:{value:(_vm.productDroppedOnPackage.counter),callback:function ($$v) {_vm.$set(_vm.productDroppedOnPackage, \"counter\", $$v)},expression:\"productDroppedOnPackage.counter\"}})],1),_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"of \"+_vm._s(_vm.productDroppedOnPackage.counterMax)+\" products?\")])]),_c('div',{staticClass:\"flex justify-between px-1 pb-0 mb-0 h-16\"},[_c('Button',{attrs:{\"size\":\"small\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"icon\":\"mdi-close\",\"text\":\"Cancel\"},nativeOn:{\"click\":function($event){product.template = 'default'}}}),_c('Button',{attrs:{\"size\":\"small\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading,\"icon\":\"mdi-package-down\",\"text\":\"Add product\"},nativeOn:{\"click\":function($event){return _vm.addProductBtnClick(product)}}})],1)])]):_vm._e()])}),0),(_vm.productsPacked.length)?_c('div',{staticClass:\"flex flex-col justify-end items-end mt-8 mb-12\"},[_vm._m(1),_c('div',{staticClass:\"w-128\"},[_vm._m(2),_c('div',{staticClass:\"flex mt-2\"},[_c('div',{staticClass:\"w-36\"},[_vm._v(\"Carton\")]),_c('div',{staticClass:\"w-28 text-right\"},[_vm._v(_vm._s(_vm.totalPackagesData.carton.quantity))]),_c('div',{staticClass:\"w-32 text-right\"},[_vm._v(_vm._s(_vm.totalPackagesData.carton.value)+\" m³\")]),_c('div',{staticClass:\"w-32 text-right\"},[_vm._v(_vm._s(_vm.totalPackagesData.carton.weight)+\" kg\")]),_c('div',{staticClass:\"w-32 text-right\",class:`${\n _vm.cubicWeight(_vm.totalPackagesData.carton.value) > _vm.totalPackagesData.carton.weight ? 'text-red-600' : ''\n }`},[_vm._v(\" \"+_vm._s(_vm.cubicWeight(_vm.totalPackagesData.carton.value))+\" kg \")])]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-36\"},[_vm._v(\"Pallet\")]),_c('div',{staticClass:\"w-28 text-right\"},[_vm._v(_vm._s(_vm.totalPackagesData.pallet.quantity))]),_c('div',{staticClass:\"w-32 text-right\"},[_vm._v(_vm._s(_vm.totalPackagesData.pallet.value)+\" m³\")]),_c('div',{staticClass:\"w-32 text-right\"},[_vm._v(_vm._s(_vm.totalPackagesData.pallet.weight)+\" kg\")]),_c('div',{staticClass:\"w-32 text-right\",class:`${\n _vm.cubicWeight(_vm.totalPackagesData.pallet.value) > _vm.totalPackagesData.pallet.weight ? 'text-red-600' : ''\n }`},[_vm._v(\" \"+_vm._s(_vm.cubicWeight(_vm.totalPackagesData.pallet.value))+\" kg \")])])])]):_vm._e()])])]),_c('div',{staticClass:\"flex mt-6\"},[_c('div',{staticClass:\"w-2/12\"},[_c('Button',{staticClass:\"items-end btn\",attrs:{\"size\":\"small\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading,\"icon\":\"mdi-arrow-left\",\"text\":\"Back\"},nativeOn:{\"click\":function($event){return _vm.backBtnClicked.apply(null, arguments)}}})],1),_c('div',{staticClass:\"w-8/12 flex items-center justify-center px-2\"}),_c('div',{staticClass:\"w-2/12 flex justify-end\"},[_c('Button',{staticClass:\"items-end btn\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading || _vm.productsToDrop.length > 0,\"icon\":\"mdi-send\",\"text\":\"Book the job\"},nativeOn:{\"click\":function($event){return _vm.nextStepClick.apply(null, arguments)}}})],1)])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex justify-between items-baseline mt-8\"},[_c('h2',{staticClass:\"mb-2 font-semibold\"},[_vm._v(\"Add extra product:\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"pb-2 mb-2 w-128 border-b border-gray-200\"},[_c('h4',{staticClass:\"font-semibold\"},[_vm._v(\"Total:\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-36 font-semibold\"},[_vm._v(\"Type\")]),_c('div',{staticClass:\"w-28 font-semibold text-right\"},[_vm._v(\"Quantity\")]),_c('div',{staticClass:\"w-32 font-semibold text-right\"},[_vm._v(\"Volume\")]),_c('div',{staticClass:\"w-32 font-semibold text-right\"},[_vm._v(\"Weight\")]),_c('div',{staticClass:\"w-32 font-semibold text-right\"},[_vm._v(\"Cubic weight\")])])\n}]\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport InputPositiveNumbers from '@/components/UI/InputPositiveNumbers.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport StopDrawing from '@/components/jobDetailed/StopDrawing/StopDrawing.vue';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport { uuidv4 } from '@/utils/Common';\nimport {\n AirRoadBookingProductChoosenData,\n AirRoadBookingProductRemoving,\n AirRoadJobData,\n AirRoadJobPackageData,\n AirRoadJobProductData,\n AirRoadProductDroppedOnPackageData,\n} from '@/models/airRoad';\n\n@Component({\n components: { DateTimezoneToggle, StopDrawing, Button, InputPositiveNumbers },\n})\nexport default class PackageStep extends Vue {\n @Prop(Boolean) loading!: boolean;\n @Prop(Array) jobsToBook!: Array;\n @Prop(Array) productsToDrop!: Array;\n @Prop(Array) productsPacked!: Array;\n\n public selectedProduct = null;\n public productDefaultData = {\n _id: 0,\n serial: '',\n model: '',\n description: '',\n quantity: 0,\n goods_code: '',\n weight: 0,\n volume: '',\n length: 0,\n width: 0,\n height: 0,\n quant_id: 0,\n from_stop: 0,\n to_stop: 0,\n };\n // Packages data\n public productDroppedOnPackage: AirRoadProductDroppedOnPackageData = {\n counter: 0,\n counterMax: 0,\n data: {\n ...this.productDefaultData,\n },\n };\n public productChosen: AirRoadBookingProductChoosenData = {\n cartonEditing: false,\n palletEditing: false,\n split: false,\n splitCounter: 1,\n data: {\n event: {\n product: { ...this.productDefaultData },\n },\n type: 'none',\n },\n };\n public productExtra = {\n model: 'Extra product',\n volume: 0.048,\n weight: 0.1,\n };\n // Total\n public totalPackagesData = {\n carton: {\n quantity: 0,\n value: 0,\n weight: 0,\n },\n pallet: {\n quantity: 0,\n value: 0,\n weight: 0,\n },\n };\n public calcOpen = '';\n public calcData = {\n width: 40,\n height: 40,\n length: 30,\n value: 0.048,\n };\n public productRemoving: AirRoadBookingProductRemoving = {\n quantity: 0,\n data: {\n ...this.productDefaultData,\n },\n };\n\n public packageDimensionsValues = {\n 0: {\n width: 90,\n height: 90,\n length: 120,\n chosen: false,\n },\n 1: {\n width: 40,\n height: 40,\n length: 30,\n chosen: true,\n },\n 2: {\n width: 10,\n height: 10,\n length: 30,\n chosen: false,\n },\n 3: {\n width: 0,\n height: 0,\n length: 0,\n chosen: false,\n custom: true,\n },\n };\n backBtnClicked() {\n this.$emit('backBtnClicked');\n }\n\n nextStepClick() {\n this.$emit('nextStepClick');\n }\n\n public packEachToClick(type: string): void {\n this.productsToDrop.map(productToDrop => {\n const addingWeight = (Number(productToDrop.weight) * productToDrop.quantity).toFixed(2);\n const packageCounter = this.productsPacked.filter(x => x.type === type).length;\n // Defaults: carton - 40x40x40, pallet – 90x90x120\n this.productsPacked.unshift({\n id: uuidv4(),\n name: `${type.charAt(0).toUpperCase() + type.slice(1)} #${packageCounter + 1}`,\n type: type,\n weight: String(addingWeight),\n width: productToDrop.width,\n height: productToDrop.height,\n length: productToDrop.length,\n value: Number(productToDrop.volume),\n template: 'default',\n weightDialogIsOpen: false,\n weightIsEdited: false,\n weightEditedValue: 0,\n items: [\n {\n ...productToDrop,\n quantity: productToDrop.quantity,\n },\n ],\n });\n });\n this.productsToDrop.length = 0;\n }\n\n public onDragStart(event, product) {\n this.selectedProduct = product;\n event.product = product;\n }\n\n public onDragEnd() {\n this.selectedProduct = null;\n }\n // Empty\n public handleDrop(data) {\n data.event.product = this.selectedProduct;\n if (data.type === 'carton') {\n this.productChosen.cartonEditing = true;\n this.productChosen.palletEditing = false;\n }\n if (data.type === 'pallet') {\n this.productChosen.palletEditing = true;\n this.productChosen.cartonEditing = false;\n }\n this.productChosen.split = false;\n this.productChosen.splitCounter = 1;\n this.productChosen.data = data;\n this.productChosen.data.event.product.counterMax = this.productChosen.data.event.product.quantity;\n this.productChosen.data.event.product.counterChanging = this.productChosen.data.event.product.quantity;\n }\n // On package\n public handlePackageDrop(event, product) {\n event.product = this.selectedProduct;\n this.productDroppedOnPackage.data = event.product;\n this.productDroppedOnPackage.counter = event.product.quantity;\n this.productDroppedOnPackage.counterMax = product.items[0].counterMax;\n product.template = 'addToPackage';\n }\n\n // CLOSING\n public packageCloseClicked(product: AirRoadJobPackageData) {\n product.template = 'unpackPackage';\n }\n public productChosenCloseClick() {\n this.productChosen.cartonEditing = false;\n this.productChosen.palletEditing = false;\n Object.values(this.packageDimensionsValues).map(val => (val.chosen = false));\n this.packageDimensionsValues[1].chosen = true;\n this.calcData = {\n width: 40,\n height: 40,\n length: 30,\n value: 0.048,\n };\n }\n // UNPACKING\n // Show template\n public unpackProductClick(product, item) {\n // Show unpacking template\n if (product.items.length - item.quantity === 0) {\n product.template = 'unpackPackage';\n } else {\n product.template = 'unpackProduct';\n }\n // unpackPackage\n this.productRemoving.data = item;\n this.productRemoving.quantity = item.quantity;\n }\n // Unpack\n public unpackPackageClick(product: AirRoadJobPackageData) {\n product.items.map(item => {\n const itemIdx = this.productsToDrop.findIndex(x => x._id === item._id && x.model === item.model);\n if (itemIdx >= 0) {\n this.productsToDrop[itemIdx].quantity = Number(this.productsToDrop[itemIdx].quantity) + Number(item.quantity);\n } else {\n this.productsToDrop.push(item);\n }\n });\n const productIdx = this.productsPacked.findIndex(x => x.id === product.id);\n if (productIdx >= 0) {\n this.productsPacked.splice(productIdx, 1);\n }\n this.updatePackagesCounters();\n }\n // Product\n public unpackProductBtnClick(product) {\n // Show \"remove all\" template if removing all the products\n if (product.items.length === 1 && this.productRemoving.quantity === this.productRemoving.data.quantity) {\n product.template = 'unpackPackage';\n } else {\n const itemIdx = this.productsToDrop.findIndex(x => x._id === this.productRemoving.data._id);\n // Update counter if exist\n if (itemIdx >= 0) {\n this.productsToDrop[itemIdx].quantity =\n Number(this.productsToDrop[itemIdx].quantity) + Number(this.productRemoving.quantity);\n } else {\n // Add to the productsToDrop if not\n this.productsToDrop.push({ ...this.productRemoving.data, quantity: this.productRemoving.quantity });\n }\n // Recalc Weight & Volume (value)\n const currentItemIdx = product.items.findIndex(x => x._id === this.productRemoving.data._id);\n if (currentItemIdx >= 0) {\n if (product.items[currentItemIdx].quantity <= this.productRemoving.quantity) {\n product.items.splice(currentItemIdx, 1);\n } else {\n product.items[currentItemIdx].quantity =\n Number(product.items[currentItemIdx].quantity) - Number(this.productRemoving.quantity);\n }\n let productWeight = 0;\n product.items.map(item => {\n productWeight += Number(item.weight) * Number(item.quantity);\n });\n product.weight = productWeight.toFixed(2);\n }\n // Change template\n product.template = 'default';\n this.updatePackagesCounters();\n }\n }\n\n // Open \"change weight\" dialog\n public openEditPackageWeightClicked(product): void {\n const filtered = this.productsPacked.filter(x => x !== product);\n filtered.map(product => {\n product.weightDialogIsOpen = false;\n });\n product.weightDialogIsOpen = !product.weightDialogIsOpen;\n }\n\n // \"change weight\" clicked\n public changePackageWeightClicked(product): void {\n product.weightIsEdited = true;\n product.weightDialogIsOpen = false;\n }\n\n public packageWeightChanged(value, id) {\n const product = this.productsPacked.find(x => x.id === id);\n if (product) {\n product.weightEditedValue = value;\n }\n }\n\n // ADDING\n // PRODUCT\n public addProductBtnClick(product: AirRoadJobPackageData) {\n const productIdx = product.items.findIndex(\n x => x._id === this.productDroppedOnPackage.data._id && x.model === this.productDroppedOnPackage.data.model,\n );\n if (productIdx >= 0) {\n product.items[productIdx].quantity =\n Number(product.items[productIdx].quantity || product.items[productIdx].quantity) +\n Number(this.productDroppedOnPackage.counter);\n } else {\n product.items.push({\n ...this.productDroppedOnPackage.data,\n quantity: this.productDroppedOnPackage.counter,\n });\n }\n\n let productWeight = 0;\n product.items.map(item => {\n productWeight += Number(item.weight) * Number(item.quantity);\n });\n\n product.template = 'default';\n const productToDropIdx = this.productsToDrop.findIndex(x => x._id === this.productDroppedOnPackage.data._id);\n if (productToDropIdx >= 0) {\n product.weight = productWeight.toFixed(2);\n if (this.productsToDrop[productToDropIdx].quantity <= this.productDroppedOnPackage.counter) {\n this.productsToDrop.splice(productToDropIdx, 1);\n } else {\n this.productsToDrop[productToDropIdx].quantity =\n Number(this.productsToDrop[productToDropIdx].quantity) - Number(this.productDroppedOnPackage.counter);\n }\n }\n }\n\n // Extra product:\n public addExtraProductClick(): void {\n this.productsToDrop.push({\n ...this.productExtra,\n _id: Math.floor(100000 + Math.random() * 900000),\n serial: '',\n description: '',\n quantity: 1,\n goods_code: '',\n volume: String(this.productExtra.volume),\n length: 30,\n width: 40,\n height: 40,\n quant_id: 0,\n from_stop: this.jobsToBook[0].leg_2_chosen ? 2 : 1,\n to_stop: this.jobsToBook[0].leg_2_chosen ? 3 : 2,\n extra: true,\n });\n }\n\n public cubicWeight(weight: number): number {\n return weight * 250;\n }\n\n public removeExtraProductClick(product): void {\n const productToDropIdx = this.productsToDrop.findIndex(x => x._id === product._id);\n if (productToDropIdx >= 0) {\n this.productsToDrop.splice(productToDropIdx, 1);\n }\n }\n\n public addPackageDimensionsChanged(event) {\n const chosenValue = this.packageDimensionsValues[event.target.value];\n Object.keys(this.packageDimensionsValues).map(key => (this.packageDimensionsValues[key].chosen = false));\n chosenValue.chosen = true;\n if (chosenValue) {\n const newValue = (chosenValue.width * chosenValue.height * chosenValue.length) / 1000000;\n this.calcData.value = Math.ceil(newValue * 1000) / 1000;\n this.calcData.width = chosenValue.width;\n this.calcData.height = chosenValue.height;\n this.calcData.length = chosenValue.length;\n }\n if (chosenValue.custom) {\n this.calcOpen = 'carton';\n }\n }\n // PACKAGE\n // Recalc packet products counter\n public updatePackagesCounters(): void {\n this.productsPacked\n .filter(x => x.type === 'carton')\n .map((product, idx) => {\n product.name = `Carton #${idx + 1}`;\n });\n\n this.productsPacked\n .filter(x => x.type === 'pallet')\n .map((product, idx) => {\n product.name = `Pallet #${idx + 1}`;\n });\n }\n //\n public addPackage(product) {\n const changingProductIdx = this.productsToDrop.findIndex(\n x => x.model === product.data.event.product.model && x.serial === product.data.event.product.serial,\n );\n if (changingProductIdx >= 0) {\n // this.productsToDrop[changingProductIdx].value = this.calcData.value;\n this.productsToDrop[changingProductIdx].volume = String(this.calcData.value);\n if (\n Number(this.productsToDrop[changingProductIdx].quantity) <= Number(product.data.event.product.counterChanging)\n ) {\n this.productsToDrop.splice(changingProductIdx, 1);\n } else {\n this.productsToDrop[changingProductIdx].quantity =\n Number(this.productsToDrop[changingProductIdx].quantity) - Number(product.data.event.product.counterChanging);\n }\n }\n let type = '';\n if (product.cartonEditing) {\n type = 'carton';\n }\n if (product.palletEditing) {\n type = 'pallet';\n }\n\n const addingWeight = (\n Number(product.data.event.product.weight) * product.data.event.product.counterChanging\n ).toFixed(2);\n\n // Update counters & names\n this.updatePackagesCounters();\n\n if (!product.split) {\n const packageCounter = this.productsPacked.filter(x => x.type === type).length;\n this.productsPacked.unshift({\n id: uuidv4(),\n name: `${type.charAt(0).toUpperCase() + type.slice(1)} #${packageCounter + 1}`,\n type: type,\n weight: String(addingWeight),\n width: this.calcData.width,\n height: this.calcData.height,\n length: this.calcData.length,\n value: this.calcData.value,\n template: 'default',\n weightDialogIsOpen: false,\n weightIsEdited: false,\n weightEditedValue: 0,\n items: [\n {\n ...product.data.event.product,\n quantity: product.data.event.product.counterChanging,\n },\n ],\n });\n } else {\n const full = Math.ceil(product.data.event.product.counterChanging / this.productChosen.splitCounter);\n for (let i = 0; i < this.productChosen.splitCounter - 1; i++) {\n const packageCounter = this.productsPacked.filter(x => x.type === type).length;\n this.productsPacked.unshift({\n id: uuidv4(),\n name: `${type.charAt(0).toUpperCase() + type.slice(1)} #${packageCounter + 1}`,\n type: type,\n weight: (Number(product.data.event.product.weight) * full).toFixed(2),\n width: Number(this.calcData.width.toFixed(2)),\n height: Number(this.calcData.height.toFixed(2)),\n length: Number(this.calcData.length.toFixed(2)),\n value: Number(this.calcData.value.toFixed(2)),\n template: 'default',\n weightDialogIsOpen: false,\n weightIsEdited: false,\n weightEditedValue: 0,\n items: [\n {\n ...product.data.event.product,\n quantity: full,\n },\n ],\n });\n }\n if (product.data.event.product.counterChanging - full * (this.productChosen.splitCounter - 1) >= 1) {\n const packageCounter = this.productsPacked.filter(x => x.type === type).length;\n const count = product.data.event.product.counterChanging - full * (this.productChosen.splitCounter - 1);\n this.productsPacked.unshift({\n id: uuidv4(),\n name: `${type.charAt(0).toUpperCase() + type.slice(1)} #${packageCounter + 1}`,\n type: type,\n width: product.data.event.product.width,\n height: product.data.event.product.height,\n length: product.data.event.product.length,\n value: Number(this.calcData.value.toFixed(2)),\n weight: (Number(product.data.event.product.weight) * count).toFixed(2),\n template: 'default',\n weightDialogIsOpen: false,\n weightIsEdited: false,\n weightEditedValue: 0,\n items: [\n {\n ...product.data.event.product,\n quantity: count,\n },\n ],\n });\n }\n }\n\n this.productChosen.cartonEditing = false;\n this.productChosen.palletEditing = false;\n }\n\n public addPackageDrop(data) {\n this.handleDrop(data);\n this.addPackage(this.productChosen);\n }\n\n // TABLE CALC\n public calcClicked(name): void {\n this.calcOpen = name;\n }\n public calcCloseClicked(): void {\n this.calcOpen = '';\n }\n public calcChanged(): void {\n Object.keys(this.packageDimensionsValues).map(key => (this.packageDimensionsValues[key].chosen = false));\n this.packageDimensionsValues[3].chosen = true;\n // limiting calc inputs length to 5\n Object.values(this.calcData).map((dimension, idx) => {\n if (String(dimension).length >= 5) {\n this.calcData[Object.keys(this.calcData)[idx]] = Number(String(dimension).slice(0, -1));\n }\n });\n const calculatedValue = (this.calcData.width * this.calcData.height * this.calcData.length) / 1000000;\n this.calcData.value = Math.ceil(calculatedValue * 1000) / 1000;\n }\n\n // TOTAL TABLE:\n public calcPackagesTotal() {\n // Set total to null\n // TODO: move to global?\n Object.keys(this.totalPackagesData).map(typeKey => {\n Object.keys(this.totalPackagesData[typeKey]).map(valueKey => {\n this.totalPackagesData[typeKey][valueKey] = 0;\n });\n });\n // Calc values\n this.productsPacked.map(product => {\n // Quantity\n this.totalPackagesData[product.type].quantity += 1;\n // Volume\n const newValue =\n (Math.ceil(this.totalPackagesData[product.type].value * 1000) + Math.ceil(product.value * 1000)) / 1000;\n this.totalPackagesData[product.type].value = newValue;\n // Weight\n const curWeight = product.weightIsEdited ? product.weightEditedValue : Number(product.weight);\n this.totalPackagesData[product.type].weight =\n (Math.ceil(this.totalPackagesData[product.type].weight * 1000) + Math.ceil(curWeight * 1000)) / 1000;\n });\n }\n\n onmounted() {\n this.productDroppedOnPackage = {\n counter: 0,\n counterMax: 0,\n data: {\n ...this.productDefaultData,\n },\n };\n this.productsPacked = [];\n }\n\n // Packed total\n @Watch('productsPacked', { deep: true })\n private productsPackedChanged() {\n this.calcPackagesTotal();\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PackageStep.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PackageStep.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PackageStep.vue?vue&type=template&id=098225e7&scoped=true\"\nimport script from \"./PackageStep.vue?vue&type=script&lang=ts\"\nexport * from \"./PackageStep.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PackageStep.vue?vue&type=style&index=0&id=098225e7&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"098225e7\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.loading)?_c('div',{staticClass:\"w-300 flex justify-center items-center py-12 mt-5\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"48\"}},[_vm._v(\"mdi-loading\")])],1):_c('div',{staticClass:\"w-300 p-6\"},[_c('h4',{staticClass:\"text-xl font-semibold\"},[_vm._v(\"Services\")]),_c('ValidationObserver',{ref:\"formServices\"},[_c('div',{staticClass:\"mt-8\"},[_c('h5',{staticClass:\"text-lg font-semibold\"},[_vm._v(\"Delivery\")]),_c('hr',{staticClass:\"mt-4\"}),_c('div',{staticClass:\"grid grid-cols-5 gap-6 gap-y-0\"},_vm._l((_vm.ARServicesDeliveryList),function(service,idx){return _c('div',{key:`delivery-${idx}`},[_c('ServicesForm',{attrs:{\"serviceItem\":service,\"ARServicesList\":_vm.ARServicesDeliveryList}})],1)}),0)]),_c('hr',{staticClass:\"mt-8\"}),_c('div',{staticClass:\"mt-8\"},[_c('h5',{staticClass:\"text-lg font-semibold\"},[_vm._v(\"Pick up\")]),_c('hr',{staticClass:\"mt-4\"}),_c('div',{staticClass:\"grid grid-cols-4 gap-8 gap-y-0\"},_vm._l((_vm.ARServicesPickupList),function(service,idx){return _c('div',{key:`pickup-${idx}`},[_c('ServicesForm',{attrs:{\"serviceItem\":service,\"ARServicesList\":_vm.ARServicesPickupList}})],1)}),0)]),_c('hr')]),_c('div',{staticClass:\"flex mt-6\"},[_c('div',{staticClass:\"w-2/12\"},[_c('Button',{staticClass:\"items-end btn\",attrs:{\"size\":\"small\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading,\"icon\":\"mdi-arrow-left\",\"text\":\"Back\"},nativeOn:{\"click\":function($event){return _vm.backBtnClicked.apply(null, arguments)}}})],1),_c('div',{staticClass:\"w-8/12 flex items-center justify-center px-2\"}),_c('div',{staticClass:\"w-2/12 flex justify-end\"},[_c('Button',{staticClass:\"items-end btn\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading,\"icon\":\"mdi-send\",\"text\":\"Book the job\"},nativeOn:{\"click\":function($event){return _vm.nextStepClick.apply(null, arguments)}}})],1)])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VCheckbox } from 'vuetify/lib/components/VCheckbox';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (Object.values(_vm.serviceItem)[0])?_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"flex items-center\"},[_c(VCheckbox,{staticClass:\"mr-4\",attrs:{\"label\":_vm.serviceItem.name,\"disabled\":_vm.isArServiceDisabled(_vm.serviceItem.code)},model:{value:(_vm.serviceItem.chosen),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"chosen\", $$v)},expression:\"serviceItem.chosen\"}})],1),_c('Transition',{staticClass:\"slide-fade-enter-active\",attrs:{\"name\":\"slide-fade\"}},[_c('div',[(_vm.serviceItem.code === 'PckReq' && !!_vm.serviceItem.chosen)?_c('div',{staticClass:\"mt-4\"},[_c('div',[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Description:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input',{staticClass:\"w-60 h-10\",attrs:{\"type\":\"text\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.serviceItem.description),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"description\", $$v)},expression:\"serviceItem.description\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,2223307963)})],1)]):_vm._e(),(_vm.serviceItem.code === 'SatSrv' && !!_vm.serviceItem.chosen)?_c('div',{staticClass:\"mt-4\"},[_c('div',[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Name:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input',{staticClass:\"w-60 h-10\",attrs:{\"type\":\"text\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.serviceItem.contact_name),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"contact_name\", $$v)},expression:\"serviceItem.contact_name\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,2623861253)})],1),_c('div',{staticClass:\"mt-4\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Phone:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true, regex: /^\\(?\\+?[\\d\\(\\-\\s\\)]+$/ }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input',{staticClass:\"w-60 h-10\",attrs:{\"type\":\"text\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.serviceItem.contact_phone),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"contact_phone\", $$v)},expression:\"serviceItem.contact_phone\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,2434323806)})],1)]):_vm._e(),(_vm.serviceItem.code === 'PckUpTime' && !!_vm.serviceItem.chosen)?_c('div',{staticClass:\"mt-4\"},[_c('div',[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Name:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input',{staticClass:\"w-60 h-10\",attrs:{\"type\":\"text\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.serviceItem.contact_name),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"contact_name\", $$v)},expression:\"serviceItem.contact_name\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,2623861253)})],1),_c('div',{staticClass:\"mt-4\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Phone:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true, regex: /^\\(?\\+?[\\d\\(\\-\\s\\)]+$/ }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input',{staticClass:\"w-60 h-10\",attrs:{\"type\":\"text\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.serviceItem.contact_phone),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"contact_phone\", $$v)},expression:\"serviceItem.contact_phone\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,2434323806)})],1),_c('div',{staticClass:\"mt-4\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Date:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-datepicker',{attrs:{\"dateFormat\":\"Y-m-d\",\"userFormat\":\"Y-m-d\",\"clearable\":false,\"weekStart\":1},model:{value:(_vm.serviceItem.date),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"date\", $$v)},expression:\"serviceItem.date\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,2712331828)})],1),_c('div',{staticClass:\"mt-4\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Time:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-datepicker',{attrs:{\"user-format\":\"G:i K\",\"date-format\":\"G:i K\",\"timepicker\":\"\",\"clearable\":false,\"datepicker\":false,\"amPm\":true,\"variant\":{\n timepicker: true,\n }},model:{value:(_vm.serviceItem.time),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"time\", $$v)},expression:\"serviceItem.time\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,1363635447)})],1)]):_vm._e(),(_vm.serviceItem.code === 'DelTime' && !!_vm.serviceItem.chosen)?_c('div',{staticClass:\"mt-4\"},[_c('div',[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Name:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input',{staticClass:\"w-60 h-10\",attrs:{\"type\":\"text\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.serviceItem.contact_name),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"contact_name\", $$v)},expression:\"serviceItem.contact_name\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,2623861253)})],1),_c('div',{staticClass:\"mt-4\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Phone:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true, regex: /^\\(?\\+?[\\d\\(\\-\\s\\)]+$/ }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input',{staticClass:\"w-60 h-10\",attrs:{\"type\":\"text\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.serviceItem.contact_phone),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"contact_phone\", $$v)},expression:\"serviceItem.contact_phone\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,2434323806)})],1),_c('div',{staticClass:\"mt-4\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Date:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-datepicker',{attrs:{\"dateFormat\":\"Y-m-d\",\"userFormat\":\"Y-m-d\",\"clearable\":false,\"weekStart\":1},model:{value:(_vm.serviceItem.date),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"date\", $$v)},expression:\"serviceItem.date\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,2712331828)})],1),_c('div',{staticClass:\"mt-4\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Time:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-datepicker',{attrs:{\"user-format\":\"G:i K\",\"date-format\":\"G:i K\",\"timepicker\":\"\",\"clearable\":false,\"datepicker\":false,\"amPm\":true,\"variant\":{\n timepicker: true,\n }},model:{value:(_vm.serviceItem.time),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"time\", $$v)},expression:\"serviceItem.time\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,1363635447)})],1)]):_vm._e(),(_vm.serviceItem.code === 'Unpack' && !!_vm.serviceItem.chosen)?_c('div',{staticClass:\"mt-4\"},[_c('div',[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Description:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input',{staticClass:\"w-60 h-10\",attrs:{\"type\":\"text\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.serviceItem.description),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"description\", $$v)},expression:\"serviceItem.description\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,2223307963)})],1)]):_vm._e(),(_vm.serviceItem.code === 'DtRange' && !!_vm.serviceItem.chosen)?_c('div',{staticClass:\"mt-4\"},[_c('div',[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Name:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input',{staticClass:\"w-60 h-10\",attrs:{\"type\":\"text\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.serviceItem.contact_name),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"contact_name\", $$v)},expression:\"serviceItem.contact_name\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,2623861253)})],1),_c('div',{staticClass:\"mt-4\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Phone:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true, regex: /^\\(?\\+?[\\d\\(\\-\\s\\)]+$/ }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input',{staticClass:\"w-60 h-10\",attrs:{\"type\":\"text\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.serviceItem.contact_phone),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"contact_phone\", $$v)},expression:\"serviceItem.contact_phone\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,2434323806)})],1),_c('div',{staticClass:\"mt-4\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Date from:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-datepicker',{attrs:{\"dateFormat\":\"Y-m-d\",\"userFormat\":\"Y-m-d\",\"clearable\":false,\"weekStart\":1},model:{value:(_vm.serviceItem.dateFrom),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"dateFrom\", $$v)},expression:\"serviceItem.dateFrom\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,2408420130)})],1),_c('div',{staticClass:\"mt-4\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(\"Date to:\")]),_c('ValidationProvider',{attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-datepicker',{attrs:{\"dateFormat\":\"Y-m-d\",\"userFormat\":\"Y-m-d\",\"clearable\":false,\"weekStart\":1},model:{value:(_vm.serviceItem.dateTo),callback:function ($$v) {_vm.$set(_vm.serviceItem, \"dateTo\", $$v)},expression:\"serviceItem.dateTo\"}}),(errors[0])?_c('span',{staticClass:\"form-services-error ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,4283484239)})],1)]):_vm._e()])])],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Button from '@/components/UI/button/Button.vue';\nimport { ARServiceItem, ARServiceItemList } from '@/models/airRoad';\nimport { extend } from 'vee-validate';\nimport { required, regex } from 'vee-validate/dist/rules';\n\nextend('required', {\n ...required,\n message: 'This field is required',\n});\nextend('regex', {\n ...regex,\n message: 'Numbers only',\n});\n@Component({\n components: { Button },\n})\nexport default class ServicesForm extends Vue {\n @Prop(Object) ARServicesList!: ARServiceItemList;\n @Prop(Object) serviceItem!: ARServiceItem;\n\n public isArServiceDisabled(code: string): boolean {\n if (\n code === 'AMSrv' &&\n (this.ARServicesList['PMSrv']?.chosen ||\n this.ARServicesList['DelTime']?.chosen ||\n this.ARServicesList['PckUpTime']?.chosen)\n ) {\n return true;\n }\n if (\n code === 'PMSrv' &&\n (this.ARServicesList['AMSrv']?.chosen ||\n this.ARServicesList['DelTime']?.chosen ||\n this.ARServicesList['PckUpTime']?.chosen)\n ) {\n return true;\n }\n if (\n code === 'DelTime' &&\n (this.ARServicesList['AMSrv']?.chosen ||\n this.ARServicesList['PMSrv']?.chosen ||\n this.ARServicesList['PckUpTime']?.chosen)\n ) {\n return true;\n }\n if (\n code === 'PckUpTime' &&\n (this.ARServicesList['AMSrv']?.chosen ||\n this.ARServicesList['PMSrv']?.chosen ||\n this.ARServicesList['DelTime']?.chosen)\n ) {\n return true;\n }\n return false;\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ServicesForm.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ServicesForm.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ServicesForm.vue?vue&type=template&id=06816c25\"\nimport script from \"./ServicesForm.vue?vue&type=script&lang=ts\"\nexport * from \"./ServicesForm.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Button from '@/components/UI/button/Button.vue';\nimport ServicesForm from '@/views/AirRoad/components/ServicesForm.vue';\nimport { AirRoadBookingSpecialOptions, AirRoadJobData, ARServiceItemList } from '@/models/airRoad';\nimport { statesTimeZonesList, timeZoneDefault } from '@/utils/PortalConstants';\n\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { convertTimeString12to24 } from '@/utils/InputProcessingUtilities';\n\nimport { extend } from 'vee-validate';\nimport { required, regex } from 'vee-validate/dist/rules';\n\nextend('required', {\n ...required,\n message: 'This field is required',\n});\nextend('regex', {\n ...regex,\n message: 'Numbers only',\n});\n@Component({\n components: { Button, ServicesForm },\n})\nexport default class Services extends Vue {\n @Prop(Boolean) loading!: boolean;\n @Prop(Number) currentLegNumber!: number;\n @Prop(Array) jobsToBook!: Array;\n @Prop(Object) ARServicesDeliveryList!: ARServiceItemList;\n @Prop(Object) ARServicesPickupList!: ARServiceItemList;\n\n backBtnClicked(): void {\n this.$emit('backBtnClicked');\n }\n\n private createARServicesObject(servicesList: ARServiceItemList, is_pickup: boolean): AirRoadBookingSpecialOptions[] {\n return Object.values(servicesList)\n .filter(service => !!service.chosen)\n .map(service => {\n const state = this.jobsToBook[0].stops[this.currentLegNumber - 1].state;\n const stopTimeZone = statesTimeZonesList[state].timezone || timeZoneDefault;\n const zoneString = format(utcToZonedTime(new Date(), stopTimeZone), 'xxx', {\n timeZone: stopTimeZone,\n });\n\n let newDateTime: string | null = null;\n let newDateFrom: string | null = null;\n let newDateTo: string | null = null;\n\n if (service.date && service.time) {\n const date = format(new Date(service.date), 'yyyy-MM-dd');\n const newTimeValue = convertTimeString12to24(service.time) + ':00';\n newDateTime = date + 'T' + newTimeValue + zoneString;\n }\n\n if (service.dateFrom) {\n newDateFrom = format(new Date(service.dateFrom), 'yyyy-MM-dd');\n }\n if (service.dateTo) {\n newDateTo = format(new Date(service.dateTo), 'yyyy-MM-dd');\n }\n\n return {\n is_pickup: is_pickup,\n special_option_id: service.specialOptionId,\n code: service.code,\n ...(service.description ? { description: service.description } : {}),\n ...(service.contact_name ? { name: service.contact_name } : {}),\n ...(service.contact_phone ? { phone: service.contact_phone } : {}),\n ...(newDateFrom ? { first_date: newDateFrom } : {}),\n ...(newDateTo ? { second_date: newDateTo } : {}),\n ...(newDateTime ? { time: newDateTime } : {}),\n };\n });\n }\n\n async nextStepClick() {\n const isValid = await this.checkFromServicesValidation();\n if (!isValid) {\n this.$nextTick(() => {\n const el = this.$el.querySelector('.form-services-error:first-of-type') as HTMLElement;\n if (el) {\n this.$vuetify.goTo(el, { offset: 100 });\n }\n });\n return;\n } else {\n const payloadDelivery = this.createARServicesObject(this.ARServicesDeliveryList, false);\n const payloadPickup = this.createARServicesObject(this.ARServicesPickupList, true);\n this.$emit('setSpecialOptions', [...payloadDelivery, ...payloadPickup]);\n this.$emit('nextStepClick');\n }\n }\n\n public async checkFromServicesValidation() {\n const form = this.$refs.formServices as HTMLFormElement;\n if (form) {\n return await form.validate();\n }\n return false;\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Services.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Services.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Services.vue?vue&type=template&id=45b6495b\"\nimport script from \"./Services.vue?vue&type=script&lang=ts\"\nexport * from \"./Services.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.loading)?_c('div',{staticClass:\"w-300 flex justify-center items-center py-12 mt-5\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"48\"}},[_vm._v(\"mdi-loading\")])],1):_c('div',{staticClass:\"w-300 p-6\"},[(_vm.bookingState.step === 'confirm')?_c('div',[_c('div',_vm._l((_vm.jobsToBook),function(job,idx){return _c('div',{key:idx,staticClass:\"pb-8 mt-6 rounded border border-purple-200\"},[_c('div',{staticClass:\"flex justify-between py-4 px-4 bg-purple-100 rounded-t\"},[_c('h4',{staticClass:\"w-full text-xl font-semibold\"},[_vm._v(\" Job #\"),_c('span',{staticClass:\"underline decoration-solid\"},[_vm._v(_vm._s(job.rockhopper_id))])]),_c('div',{staticClass:\"flex align-center justify-end w-128\"},[_c('span',{staticClass:\"mr-2\"},[_vm._v(\"Force allocation to AR (920) driver\")]),_c('t-toggle',{attrs:{\"variant\":{\n single: true,\n }},on:{\"change\":_vm.withAllocationChanged},model:{value:(_vm.withAllocation),callback:function ($$v) {_vm.withAllocation=$$v},expression:\"withAllocation\"}})],1)]),_c('div',{staticClass:\"flex justify-start pl-4 mt-2 mb-12\"},[_c('div',{staticClass:\"mr-24 w-48\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Customer:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(job.customer))])]),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Status:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(job.status))])])]),_c('div',{staticClass:\"mr-24 w-64\"},[(job.reference_1)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Reference 1:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(job.reference_1))])]):_vm._e(),(job.reference_2)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Reference 2:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(job.reference_2))])]):_vm._e(),(job.reference_3)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Reference 3:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_vm._v(_vm._s(job.reference_3))])]):_vm._e()]),_c('div',{staticClass:\"mr-24 w-80\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Booked by:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right uppercase leading\"},[_vm._v(_vm._s(job.booked_by))])]),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\"Booked at:\")]),_c('p',{staticClass:\"mb-0 text-sm font-semibold text-right leading\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":job.booked_at,\"pattern\":\"yyyy-MM-d hh:mm:ss a\"}})],1)])])]),_c('div',{staticClass:\"px-7 mt-12 pt-4\"},[_c('StopDrawing',{attrs:{\"stops\":job.stops,\"editable\":false}})],1),(_vm.bookingState.quickJobs)?_c('div',{staticClass:\"flex px-4 mt-12\"},[(\n job.products &&\n job.products.length >= 1 &&\n [...job.products].filter(x => x.from_stop === 1 || x.to_stop === 2).length >= 1\n )?_c('div',{staticClass:\"flex flex-col\"},[_c('h4',{staticClass:\"mb-2 ml-0 text-sm font-semibold\"},[_vm._v(\"Products on leg 1:\")]),_c('TableList',{attrs:{\"headers\":[\n { name: 'Name', value: 'model', width: job.stops.length <= 2 ? 72 : 40 },\n { name: 'Description', value: 'description', width: job.stops.length <= 2 ? 72 : 32 },\n { name: 'Quantity', value: 'quantity', width: 20 },\n { name: 'Weight', value: 'weight', width: 16 },\n { name: 'Code', value: 'goods_code', width: 16 },\n ],\"items\":[...job.products].filter(x => x.from_stop === 1 || x.to_stop === 2)}})],1):_c('div',{staticClass:\"flex flex-col w-3/12\"}),(job.stops.length >= 3)?_c('div',{staticClass:\"flex flex-col w-1/2 ml-1/2\"},[_c('h4',{staticClass:\"mb-2 ml-0 text-sm font-semibold\"},[_vm._v(\"Products on leg 2:\")]),_c('TableList',{attrs:{\"headers\":[\n { name: 'Name', value: 'model', width: 40 },\n { name: 'Description', value: 'description', width: 32 },\n { name: 'Quantity', value: 'quantity', width: 20 },\n { name: 'Weight', value: 'weight', width: 16 },\n { name: 'Code', value: 'goods_code', width: 16 },\n ],\"items\":[...job.products].filter(x => x.from_stop === 2 || x.to_stop === 3)}})],1):_vm._e()]):_c('div',{staticClass:\"flex px-4 mt-12\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('h4',{staticClass:\"mb-2 ml-0 text-sm font-semibold\"},[_vm._v(\"Products on leg \"+_vm._s(job.leg_2_chosen ? '2' : '1')+\":\")]),_c('TableList',{attrs:{\"headers\":[\n { name: 'Item #', value: '', width: 40, qty: true },\n { name: 'Type', value: 'item_type', width: 40 },\n { name: 'Volume', value: 'volume', width: 20 },\n { name: 'Weight', value: 'weight', width: 20 },\n ],\"items\":_vm.buildPackedProducts(_vm.productsPacked)}})],1)]),_c('h4',{staticClass:\"mt-8 mb-2 ml-4 text-sm font-semibold\"},[_vm._v(\"Special options:\")]),_c('div',{staticClass:\"pl-4 pr-12\"},[_c('div',{staticClass:\"flex border-t-2 pt-2 pb-1 border-gray-200\"},[_c('div',{class:`w-4 text-sm font-semibold leading-3`},[_vm._v(\"#\")]),_c('div',{class:`w-20 ml-4 text-sm font-semibold leading-3`},[_vm._v(\"Type\")]),_c('div',{class:`w-20 ml-4 text-sm font-semibold leading-3`},[_vm._v(\"Code\")]),_c('div',{class:`w-40 ml-4 text-sm font-semibold leading-3`},[_vm._v(\"Name\")]),_c('div',{class:`w-40 ml-4 text-sm font-semibold leading-3`},[_vm._v(\"Phone\")]),_c('div',{class:`w-40 ml-4 text-sm font-semibold leading-3`},[_vm._v(\"Description\")]),_c('div',{class:`w-44 ml-4 text-sm font-semibold leading-3`},[_vm._v(\"Time\")]),_c('div',{class:`w-44 ml-4 text-sm font-semibold leading-3`},[_vm._v(\"First date\")]),_c('div',{class:`w-44 ml-4 text-sm font-semibold leading-3`},[_vm._v(\"Second date\")])]),_vm._l((_vm.specialOptions),function(option,jdx){return _c('div',{key:`option-${jdx}`,staticClass:\"flex mt-2 text-sm\"},[_c('div',{staticClass:\"w-4\"},[_vm._v(_vm._s(jdx + 1))]),_c('div',{staticClass:\"w-20 ml-4\"},[_vm._v(_vm._s(option.is_pickup ? 'Pickup' : 'Delivery'))]),_c('div',{staticClass:\"w-20 ml-4\"},[_vm._v(_vm._s(option.code ? option.code : '-'))]),_c('div',{staticClass:\"w-40 ml-4\"},[_vm._v(_vm._s(option.name ? option.name : '-'))]),_c('div',{staticClass:\"w-40 ml-4\"},[_vm._v(_vm._s(option.phone ? option.phone : '-'))]),_c('div',{staticClass:\"w-40 ml-4\"},[_vm._v(_vm._s(option.description ? option.description : '-'))]),_c('div',{staticClass:\"w-44 ml-4\"},[_vm._v(\" \"+_vm._s(option.time ? _vm.format(_vm.utcToZonedTime(new Date(option.time), _vm.getStopTimeZone), 'yyyy-MM-dd HH:mm aa') : '-')+\" \")]),_c('div',{staticClass:\"w-44 ml-4\"},[_vm._v(\" \"+_vm._s(option.first_date ? _vm.format(_vm.utcToZonedTime(new Date(option.first_date), _vm.getStopTimeZone), 'yyyy-MM-dd HH:mm aa') : '-')+\" \")]),_c('div',{staticClass:\"w-44 ml-4\"},[_vm._v(\" \"+_vm._s(option.second_date ? _vm.format(_vm.utcToZonedTime(new Date(option.second_date), _vm.getStopTimeZone), 'yyyy-MM-dd HH:mm aa') : '-')+\" \")])])})],2)])}),0),_c('div',{staticClass:\"flex mt-6\"},[_c('div',{staticClass:\"w-2/12\"},[_c('Button',{staticClass:\"items-end btn\",attrs:{\"size\":\"small\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading,\"icon\":\"mdi-arrow-left\",\"text\":\"Back\"},nativeOn:{\"click\":function($event){return _vm.backBtnClicked.apply(null, arguments)}}})],1),_c('div',{staticClass:\"w-8/12 flex items-center justify-center px-2\"}),_c('div',{staticClass:\"w-2/12 flex justify-end\"},[_c('Button',{staticClass:\"items-end btn\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading || _vm.bookingState.chosenJobs.length <= 0,\"icon\":\"mdi-send\",\"text\":\"Send jobs to AR\"},nativeOn:{\"click\":function($event){return _vm.nextStepClick.apply(null, arguments)}}})],1)])]):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Button from '@/components/UI/button/Button.vue';\nimport StopDrawing from '@/components/jobDetailed/StopDrawing/StopDrawing.vue';\nimport TableList from '@/components/UI/TableList.vue';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport {\n AirRoadBookingStateData,\n AirRoadJobData,\n AirRoadJobPackageData,\n AirRoadBookingSpecialOptions,\n} from '@/models/airRoad';\nimport { buildPackedProducts } from '@/utils/Common';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { statesTimeZonesList, timeZoneDefault } from '@/utils/PortalConstants';\n\n@Component({\n components: { DateTimezoneToggle, TableList, StopDrawing, Button },\n})\nexport default class ConfirmStep extends Vue {\n @Prop(Boolean) loading!: boolean;\n @Prop(Object) bookingState!: AirRoadBookingStateData;\n @Prop(Array) jobsToBook!: Array;\n @Prop(Array) productsPacked!: Array;\n @Prop(Array) specialOptions!: Array;\n @Prop(Number) currentLegNumber!: number;\n\n public buildPackedProducts = buildPackedProducts;\n public format = format;\n public utcToZonedTime = utcToZonedTime;\n\n public withAllocation = true;\n\n public get getStopTimeZone() {\n const state = this.jobsToBook[0].stops[this.currentLegNumber - 1].state;\n const stopTimeZone = statesTimeZonesList[state].timezone || timeZoneDefault;\n return stopTimeZone;\n }\n public withAllocationChanged() {\n this.$emit('withAllocationChanged', this.withAllocation);\n }\n\n public backBtnClicked() {\n this.$emit('backBtnClicked');\n }\n\n public nextStepClick() {\n this.$emit('nextStepClick');\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ConfirmStep.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ConfirmStep.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ConfirmStep.vue?vue&type=template&id=03704db2&scoped=true\"\nimport script from \"./ConfirmStep.vue?vue&type=script&lang=ts\"\nexport * from \"./ConfirmStep.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ConfirmStep.vue?vue&type=style&index=0&id=03704db2&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"03704db2\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"flex flex-col justify-center items-center\"},[_c('div',{staticClass:\"mt-6 w-36\"},[_c('div',{staticClass:\"flex justify-center items-center w-36 h-36 bg-purple-400 rounded-full\"},[_c(VIcon,{attrs:{\"size\":\"56\",\"color\":\"white\"}},[_vm._v(\"mdi-cube-send\")])],1),_c('h1',{staticClass:\"mt-6 text-2xl font-semibold text-center text-purple-400\"},[_vm._v(\"Queued up\")])]),_c('div',{staticClass:\"mt-6 w-64 leading-4 text-center\"},[_vm._v(\" Job(s) \"+_vm._s(_vm.bookingState.chosenJobs.join(', '))+\" has been queued to book to Airroad \")]),_c('div',{staticClass:\"mt-6 w-64 leading-4 text-center\"},[_c('router-link',{staticClass:\"underline hover:no-underline\",attrs:{\"to\":{\n path: `/airroad/booked/`,\n }}},[_vm._v(\" Booked AR jobs \")])],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { AirRoadBookingStateData } from '@/models/airRoad';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class PendingStep extends Vue {\n @Prop(Object) bookingState!: AirRoadBookingStateData;\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PendingStep.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PendingStep.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PendingStep.vue?vue&type=template&id=5ea69e69\"\nimport script from \"./PendingStep.vue?vue&type=script&lang=ts\"\nexport * from \"./PendingStep.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport AirRoadHeader from './components/Header.vue';\nimport AirRoadFilters from './components/Filters.vue';\nimport JobsTable from './components/JobsTable.vue';\nimport LegChoose from './components/LegChoose.vue';\nimport PackageStep from './components/PackageStep.vue';\nimport Services from './components/Services.vue';\nimport ConfirmStep from './components/ConfirmStep.vue';\nimport PendingStep from './components/PendingStep.vue';\n\nimport { bookAirRoadJob, getAirRoadJobsToBook, lookupCustomer } from '@/api';\nimport LookupCustomerCode from '@/components/jobBooking/AdvancedJobBooking/LookupCustomerCode.vue';\nimport DatePicker from '@/components/searchPage/DatePicker.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport StopDrawing from '@/components/jobDetailed/StopDrawing/StopDrawing.vue';\nimport StateSelect from '@/components/searchPage/components/StateSelect/StateSelect.vue';\n\nimport ToggleButton from '@/components/UI/ToggleButton.vue';\nimport TableList from '@/components/UI/TableList.vue';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport LookupSuburb from '@/components/UI/lookups/LookupSuburb.vue';\nimport { addDays } from 'date-fns';\n\nimport { User } from '@/models/main';\nimport {\n AirRoadBookingProductChoosenData,\n AirRoadBookingProductsToBook,\n AirRoadBookingRequest,\n AirRoadBookingStateData,\n AirRoadBookingStopToBook,\n AirRoadJobData,\n AirRoadJobPackageData,\n AirRoadJobProductData,\n AirRoadJobsRequestData,\n AirRoadJobsResponseData,\n AirRoadBookingSpecialOptions,\n ARServiceItemList,\n ARServiceItem,\n} from '@/models/airRoad';\nimport { mapState } from 'vuex';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { notificationErrorText, timeZoneDefault } from '@/utils/PortalConstants';\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport { buildPackedProducts } from '@/utils/Common';\nimport { ARServicesDeliveryList, ARServicesPickupList } from '@/utils/PortalConstants';\n\n@Component({\n components: {\n AirRoadHeader,\n AirRoadFilters,\n JobsTable,\n LegChoose,\n PackageStep,\n Services,\n ConfirmStep,\n PendingStep,\n BackButton,\n Button,\n DatePicker,\n DateTimezoneToggle,\n LookupCustomerCode,\n LookupSuburb,\n StateSelect,\n StopDrawing,\n ToggleButton,\n TableList,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class AirRoadJobs extends Vue {\n public user!: User;\n public loading = false;\n\n public autocompleteCustomer = lookupCustomer;\n\n public ARServicesDeliveryList: ARServiceItemList = { ...ARServicesDeliveryList };\n public ARServicesPickupList: ARServiceItemList = { ...ARServicesPickupList };\n public ARServicesDeliveryListDefault: ARServiceItemList = JSON.parse(JSON.stringify(ARServicesDeliveryList));\n public ARServicesPickupListDefault: ARServiceItemList = JSON.parse(JSON.stringify(ARServicesDeliveryList));\n\n public dates: string[] = [];\n public datesDefault: string[] = [];\n public selectedProduct = null;\n\n // CUSTOMER CODE\n public customerCode = '';\n // WAREHOUSE\n public selectedStates: string[] = [];\n // SEARCH\n public searchValue = '';\n public timeout: ReturnType;\n // CHECKBOXES\n public checkboxes = {\n only920Driver: true,\n exclude920Driver: false,\n fromWarehouse: false,\n toWarehouse: false,\n };\n\n // PAGE DATA\n public pageData: AirRoadJobsResponseData = {\n count: 0,\n next: '',\n previous: '',\n results: [],\n };\n public tableData: AirRoadJobData[] = [];\n public tableOpenedJobIdx = -1;\n\n public jobDefaultData: AirRoadJobData = {\n id: 0,\n rockhopper_id: 0,\n rockhopper_date: '',\n booked_at: '',\n reference_1: '',\n reference_2: '',\n reference_3: '',\n customer: '',\n status: 0,\n stops: [],\n products: [],\n error_message: '',\n booked_by: '',\n split_base: '',\n priority: false,\n connote: '',\n labels: false,\n json_used_for_booking: null,\n exclude_leg: null,\n customer_code: '',\n error_text: '',\n special_options: [],\n };\n\n // Steps:\n // 1. start_quick\n // 1. start_single\n // 2. leg_choose\n // 3. package\n // 4. confirm\n // 5. pending\n public bookingState: AirRoadBookingStateData = {\n quickJobs: false,\n step: 'start',\n allChosen: false,\n chosenJobs: [],\n singleJobChosen: { ...this.jobDefaultData },\n };\n\n public jobsToBook: AirRoadJobData[] = [];\n public jobsToBookOriginal: AirRoadJobData = { ...this.jobDefaultData };\n\n public specialOptions: AirRoadBookingSpecialOptions[] = [];\n public withAllocation = false;\n\n // PAGINATION\n public pagination = {\n page: 1,\n current: 1,\n total: 0,\n perPage: 10,\n visible: 7,\n perPageOptions: [1, 5, 10, 50, 100],\n };\n\n // PACKAGE STEP\n //\n public productsToDrop: AirRoadJobProductData[] = [];\n public productsPacked: AirRoadJobPackageData[] = [];\n public productDefaultData = {\n _id: 0,\n serial: '',\n model: '',\n description: '',\n quantity: 0,\n goods_code: '',\n weight: 0,\n volume: '',\n length: 0,\n width: 0,\n height: 0,\n quant_id: 0,\n from_stop: 0,\n to_stop: 0,\n };\n public productChosen: AirRoadBookingProductChoosenData = {\n cartonEditing: false,\n palletEditing: false,\n split: false,\n splitCounter: 1,\n data: {\n event: {\n product: { ...this.productDefaultData },\n },\n type: 'none',\n },\n };\n\n // Adding new address dialog\n public dialog = false;\n\n public get currentLegNumber(): number {\n return this.jobsToBook[0].leg_2_chosen ? 2 : 1;\n }\n\n // // // // // //\n // ACTIONS:\n // // // // // //\n\n public changeStates(states: string[]) {\n if (JSON.stringify(this.selectedStates) === JSON.stringify(states)) {\n return;\n }\n this.selectedStates = states;\n this.getAirRoadWrapper();\n }\n\n // HEADER FILTERS\n //\n // DATE\n public changeDate(dates: string[]): void {\n this.dates = dates;\n this.pagination.current = 1;\n this.getAirRoadWrapper();\n }\n public clearDateFilter() {\n this.dates = [];\n this.dates = [...this.datesDefault];\n this.pagination.current = 1;\n }\n // CUSTOMER CODE\n public setCustomerCode(customerCode): void {\n if (customerCode) {\n this.customerCode = customerCode;\n this.pagination.current = 1;\n this.getAirRoadWrapper();\n }\n }\n public clearCustomerCode(): void {\n this.customerCode = '';\n this.pagination.current = 1;\n this.getAirRoadWrapper();\n }\n // SEARCH\n public searchChange(value: string): void {\n this.searchValue = value;\n clearTimeout(this.timeout);\n this.timeout = setTimeout(() => {\n this.pagination.current = 1;\n this.getAirRoadWrapper();\n }, 1000);\n }\n public clearSearch(): void {\n this.searchValue = '';\n this.pagination.current = 1;\n this.getAirRoadWrapper();\n }\n\n public setSpecialOptions(specialOptions: AirRoadBookingSpecialOptions[]) {\n this.specialOptions = specialOptions;\n }\n\n public withAllocationChanged(value: boolean): void {\n this.withAllocation = value;\n }\n\n public tableJobRowClick(idx) {\n if (this.tableOpenedJobIdx === idx) {\n this.tableOpenedJobIdx = -1;\n } else {\n this.tableOpenedJobIdx = idx;\n }\n }\n\n // CHECKBOXES\n public handleOnly920DriverCheckboxChange(value: boolean): void {\n this.checkboxes.only920Driver = value;\n if (value) {\n this.checkboxes.exclude920Driver = false;\n }\n this.getAirRoadWrapper();\n }\n public handleExclude920DriverCheckboxChange(value: boolean): void {\n this.checkboxes.exclude920Driver = value;\n if (value) {\n this.checkboxes.only920Driver = false;\n }\n this.getAirRoadWrapper();\n }\n public handleFromWarehouseCheckboxChange(value: boolean): void {\n this.checkboxes.fromWarehouse = value;\n this.getAirRoadWrapper();\n }\n public handleToWarehouseCheckboxChange(value: boolean): void {\n this.checkboxes.toWarehouse = value;\n this.getAirRoadWrapper();\n }\n\n // API:\n\n // Single job\n // Build\n public buildJsonToBook(productsPacked, job, jobOriginal) {\n // Collect products:\n const productsToBook: AirRoadBookingProductsToBook[] = buildPackedProducts(productsPacked);\n // Collect stops\n const stopsToBook: AirRoadBookingStopToBook[] = [];\n job.stops.map((stop, idx) => {\n const stopNumberToRemove = job.leg_2_chosen ? 0 : 2;\n if (stopNumberToRemove !== idx) {\n stopsToBook.push({\n name: stop.name,\n stop_number: stop.stop_number,\n address_line_1: stop.address_line_1 ? stop.address_line_1 : '',\n address_line_2: stop.address_line_2,\n suburb: stop.suburb,\n postcode: stop.post_code,\n state: stop.state,\n original_stop: jobOriginal.stops[idx].id,\n });\n }\n });\n // Final JSON\n const params: AirRoadBookingRequest = {\n job_id: job.rockhopper_id,\n job_date: job.rockhopper_date,\n ar_booked_leg: job.leg_2_chosen ? 2 : 1,\n items: productsToBook,\n ar_stops: stopsToBook,\n special_options: this.specialOptions,\n };\n return params;\n }\n // Book\n public async bookJob() {\n const params = this.buildJsonToBook(this.productsPacked, this.jobsToBook[0], this.jobsToBookOriginal);\n let result = false;\n await bookAirRoadJob(params, this.withAllocation)\n .then(() => {\n this.productsPacked = [];\n this.productChosen = {\n cartonEditing: false,\n palletEditing: false,\n split: false,\n splitCounter: 1,\n data: {\n event: {\n product: { ...this.productDefaultData },\n },\n type: 'none',\n },\n };\n this.$notify({\n group: 'network',\n text: 'Job has been queued to book to Airroad',\n type: 'success',\n duration: 3000,\n });\n this.clearARServicesList();\n result = true;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error when booking a job',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n return result;\n }\n\n private clearARServicesItem(service: ARServiceItem, serviceDefaultData: ARServiceItem): void {\n service.chosen = false;\n service?.contact_name ? (service.contact_name = '') : null;\n service?.contact_phone ? (service.contact_phone = '') : null;\n service?.description ? (service.description = '') : null;\n service?.date ? (service.date = serviceDefaultData.date) : null;\n service?.dateTo ? (service.dateTo = serviceDefaultData.dateTo) : null;\n service?.dateFrom ? (service.dateFrom = serviceDefaultData.dateFrom) : null;\n service?.time ? (service.time = serviceDefaultData.time) : null;\n }\n\n private clearARServicesList(): void {\n Object.values({ ...this.ARServicesDeliveryList }).map((service, idx) => {\n this.clearARServicesItem(service, Object.values(this.ARServicesDeliveryListDefault)[idx]);\n });\n Object.values({ ...this.ARServicesPickupList }).map((service, idx) => {\n this.clearARServicesItem(service, Object.values(this.ARServicesPickupListDefault)[idx]);\n });\n }\n\n // Pagination\n public async updatePagination() {\n await this.getAirRoadWrapper();\n // Pagination corrections:\n this.pagination.total = Math.ceil(this.pageData.count / Number(this.pagination.perPage));\n if (this.pagination.current === 0 && this.pagination.total >= 1) {\n this.pagination.current = 1;\n }\n if (this.pagination.current > this.pagination.total) {\n this.pagination.current = this.pagination.total;\n }\n }\n\n // Next\n public async nextStepClick() {\n let newStep: string | null = '';\n this.loading = true;\n // chosenJobs not empty!\n // Start step\n if (this.bookingState.step === 'start') {\n // MOVI THIS\n const chosenJobs = this.tableData.filter(x => this.bookingState.chosenJobs.indexOf(x.rockhopper_id) !== -1);\n if (chosenJobs.length > 0) {\n this.jobsToBook = chosenJobs;\n }\n if (this.bookingState.quickJobs) {\n newStep = 'confirm';\n } else {\n this.jobsToBookOriginal = { ...JSON.parse(JSON.stringify(this.jobsToBook[0])) };\n newStep = 'leg_choose';\n\n if (this.jobsToBook[0].exclude_leg) {\n this.jobsToBook[0].leg_2_chosen = this.jobsToBook[0].exclude_leg === 1 ? true : false;\n }\n }\n }\n // Leg choose step\n if (this.bookingState.step === 'leg_choose') {\n // leg_2_chosen\n const curLeg = this.jobsToBook[0].leg_2_chosen ? 2 : 1;\n this.productsToDrop = [\n ...this.jobsToBook[0].products.filter(x => x.from_stop === curLeg && x.to_stop === curLeg + 1),\n ];\n newStep = 'package';\n }\n if (this.bookingState.step === 'package') {\n newStep = 'services';\n }\n if (this.bookingState.step === 'services') {\n newStep = 'confirm';\n }\n // Confirm step\n if (this.bookingState.step === 'confirm') {\n newStep = 'confirm';\n // Set the 'pending' step only if the job is booked\n await this.bookJob().then(res => {\n if (res) {\n newStep = 'pending';\n }\n });\n }\n // Apply\n this.bookingState.step = newStep;\n setTimeout(() => {\n this.loading = false;\n }, 400);\n }\n // Prev\n public backBtnClicked() {\n this.loading = true;\n let prevStep = '';\n // Start step\n if (this.bookingState.step === 'start') {\n if (window.history.length > 1) {\n this.$router.back();\n } else {\n window.close();\n }\n }\n // Confirm step\n if (this.bookingState.step === 'confirm') {\n if (this.bookingState.quickJobs) {\n prevStep = 'start';\n this.clearChosenData();\n } else {\n prevStep = 'services';\n }\n }\n // Leg choosing step\n if (this.bookingState.step === 'leg_choose') {\n prevStep = 'start';\n this.clearChosenData();\n }\n // Package step\n if (this.bookingState.step === 'package') {\n prevStep = 'leg_choose';\n }\n if (this.bookingState.step === 'services') {\n prevStep = 'package';\n }\n // Pending step\n if (this.bookingState.step === 'pending') {\n prevStep = 'start';\n this.clearChosenData();\n }\n // Apply\n this.bookingState.step = prevStep;\n setTimeout(() => {\n this.loading = false;\n }, 400);\n }\n\n // Clear all\n public clearChosenData() {\n this.bookingState = {\n ...this.bookingState,\n step: 'start',\n allChosen: false,\n chosenJobs: [],\n singleJobChosen: { ...this.jobDefaultData },\n };\n }\n\n // Watchers:\n //\n // Pagination\n @Watch('pagination.perPage')\n private perPageSelectChanged() {\n this.pagination.current = 1;\n this.bookingState.chosenJobs = [];\n this.updatePagination();\n }\n\n // WRAPPERS\n public async getAirRoadWrapper(): Promise {\n this.loading = true;\n this.tableOpenedJobIdx = -1;\n this.pageData = { count: 0, next: '', previous: '', results: [] };\n this.tableData = [];\n const endpointParams: AirRoadJobsRequestData = {\n ordering: '',\n search: this.searchValue,\n rockhopper_date_gte: this.dates[0],\n rockhopper_date_lte: this.dates[1],\n customer_code: this.customerCode,\n quick_booking: this.bookingState.quickJobs,\n page: this.pagination.current,\n page_size: Number(this.pagination.perPage),\n wh_state: this.selectedStates,\n only_920_driver: this.checkboxes.only920Driver,\n exclude_920_driver: this.checkboxes.exclude920Driver,\n from_warehouse: this.checkboxes.fromWarehouse,\n to_warehouse: this.checkboxes.toWarehouse,\n };\n await getAirRoadJobsToBook(endpointParams)\n .then((res: AirRoadJobsResponseData) => {\n this.pageData = res;\n this.tableData = res.results;\n this.pagination.total = Math.ceil(res.count / Number(this.pagination.perPage));\n this.loading = false;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error loading AirRoad data',\n text: notificationErrorText,\n type: 'warn',\n });\n this.loading = false;\n });\n }\n\n private mounted() {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const fromDate = format(utcToZonedTime(addDays(new Date(), -7), userTimeZone), 'yyyy-MM-dd'); // today\n const toDate = format(utcToZonedTime(addDays(new Date(), 5), userTimeZone), 'yyyy-MM-dd'); // today\n this.datesDefault = [fromDate, toDate];\n this.dates = [...this.datesDefault];\n this.getAirRoadWrapper();\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AirRoadJobs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AirRoadJobs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AirRoadJobs.vue?vue&type=template&id=57084c8a&scoped=true\"\nimport script from \"./AirRoadJobs.vue?vue&type=script&lang=ts\"\nexport * from \"./AirRoadJobs.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AirRoadJobs.scss?vue&type=style&index=0&id=57084c8a&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"57084c8a\",\n null\n \n)\n\nexport default component.exports","import { VContainer } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c(VContainer,{staticClass:\"header pl-5\",staticStyle:{\"position\":\"relative\",\"z-index\":\"2\"},attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header-wrapper wrapper-portal\"},[_c('div',{staticClass:\"title-row\"},[_c('h2',[_vm._v(\"BFIX Dash\")]),_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"mr-8\"},[_c('Chip',{attrs:{\"background\":_vm.isFiltersSet ? 'purple' : 'white',\"color\":_vm.isFiltersSet ? 'white' : 'purple',\"circleColor\":_vm.isFiltersSet ? 'white' : 'purple',\"icon\":\"mdi-calendar-remove\",\"text\":\"Can't schedule\"},nativeOn:{\"click\":function($event){return _vm.clickChip()}}})],1),_c('StatusButtons',{attrs:{\"allCounter\":_vm.jobsCategoryCount('all'),\"unallocatedCounter\":_vm.jobsCategoryCount('unallocated'),\"progressCounter\":_vm.jobsCategoryCount('in_progress'),\"completedCounter\":_vm.jobsCategoryCount('completed'),\"cancelledCounter\":_vm.jobsCategoryCount('cancelled'),\"context\":\"bfix\"}})],1)]),_c('hr',{staticClass:\"hr mt-3 mr-3\"}),_c('SelectFields',{attrs:{\"context\":\"bfix\"},on:{\"changeDate\":_vm.changeDate}}),_c('ReloadButton',{nativeOn:{\"click\":function($event){return _vm.dataSync.apply(null, arguments)}}})],1)]),_c('div',{staticClass:\"wrapper-portal pr-7\"},[_c('JobBfixTable',{staticClass:\"ml-3 mb-6\",attrs:{\"loading\":_vm.loading,\"jobs\":_vm.filteredItems(_vm.storeShowBfixCategory),\"staff\":_vm.$can('staff', 'Job'),\"showEdit\":_vm.showEdit},on:{\"change\":function($event){return _vm.dataSync()}}})],1),_c('Notification',{attrs:{\"model\":_vm.notification,\"close\":_vm.notificationClose,\"color\":_vm.notificationColor,\"text\":_vm.notificationText,\"timeout\":_vm.notificationTimeout},nativeOn:{\"click\":function($event){return _vm.clickNotification.apply(null, arguments)}}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"tables\",attrs:{\"fluid\":\"\"}},[_c(VDataTable,{staticClass:\"jobBfixTableHeader\",attrs:{\"headers\":_vm.headers,\"loading\":_vm.loading,\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"disable-sort\":true}}),_c('div',{staticClass:\"mr-4\"},[(_vm.jobs.length === 0)?_c('div',{staticClass:\"no-data d-flex justify-center mt-8\"},[_c('h4',[_vm._v(\"No data available\")])]):_vm._e(),_vm._l((_vm.jobs),function(location){return _c('div',{key:`${Object.keys(location)[0]}-${Object.values(location)[0][0].unique_id}`},[_c('h3',{staticClass:\"mt-6 mb-2\"},[_vm._v(_vm._s(Object.keys(location)[0]))]),_c(VDataTable,{staticClass:\"elevation-1 jobTable jobsTable\",attrs:{\"headers\":_vm.headers,\"items\":Object.values(location)[0],\"expanded\":_vm.expanded,\"single-expand\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"hide-default-header\":\"\",\"sort-desc\":[false, true],\"disable-sort\":_vm.disableSort,\"search\":_vm.search,\"item-class\":_vm.rowClasses},on:{\"click:row\":function($event){return _vm.expandRow($event)}},scopedSlots:_vm._u([{key:`item.id`,fn:function({ item }){return [_vm._v(\" \"+_vm._s(item.id)+\" \"),(_vm.staff && item.edited === 1)?_c(VIcon,{staticClass:\"pl-2\"},[_vm._v(\"mdi-pencil\")]):_vm._e()]}},{key:`item.job_date`,fn:function({ item }){return [_vm._v(\" \"+_vm._s(item.job_date === _vm.today ? 'Today' : _vm.formatDateStringWithTZ(item.job_date, _vm.user.timezone, 'dd MMM'))+\" \")]}},{key:`item.ref1`,fn:function({ item }){return [_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_vm._v(_vm._s(item.ref1))])]}}],null,true)},[_c('span',[_vm._v(\" \"+_vm._s(item.ref1_prompt)+\" \")])])]}},{key:`item.stop2_name`,fn:function({ item }){return [_c('span',[_vm._v(_vm._s(item.main_stop === 1 ? item.suburb_name1 : item.suburb_name2))])]}},{key:`item.suburb_state2`,fn:function({ item }){return [_c('span',[_vm._v(_vm._s(item.main_stop === 1 ? item.suburb_state1 : item.suburb_state2))])]}},{key:`item.suburb_name2`,fn:function({ item }){return [_c('span',[_vm._v(_vm._s(item.main_stop === 1 ? item.stop1_name : item.stop2_name))])]}},{key:`item.driver2`,fn:function({ item }){return [_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_vm._v(_vm._s(_vm.currDriver(item)))])]}}],null,true)},[_c('span',[_vm._v(\" \"+_vm._s(item.driver2_name)+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(item.driver2_tel)+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(item.driver2_email)+\" \")])])]}},{key:`item.currDelay`,fn:function({ item }){return [_c('span',[_vm._v(_vm._s(item.delay)+\" days\")])]}},{key:`item.status`,fn:function({ item }){return [_c('span',[_vm._v(_vm._s(_vm.statusChartLabels[item.status]))])]}},{key:\"expanded-item\",fn:function({ item, headers }){return [_c('td',{staticClass:\"py-3\",attrs:{\"colspan\":headers.length}},[_c('KJobTimeline',{staticClass:\"my-3\",attrs:{\"job\":item,\"forStaff\":_vm.staff,\"showEdit\":_vm.showEdit}})],1)]}},{key:`item.complete`,fn:function({ item }){return [(!item.completed)?_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c(VIcon,_vm._g(_vm._b({attrs:{\"color\":\"purple\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.completeStop(item)}}},'v-icon',attrs,false),on),[_vm._v(\"mdi-checkbox-marked-circle-outline\")])]}}],null,true)},[_c('span',[_vm._v(\"Complete the job\")])]):_vm._e()]}}],null,true)})],1)})],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { completeStopFromDashboard } from '@/api';\nimport { Header, Job, StopCompleteParams, User } from '@/models/main';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport KJobTimeline from '../jobTable/components/KJobTimeline/KJobTimeline.vue';\nimport KStatusChart from '../jobTable/components/KStatusChart/KStatusChart.vue';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { timeZoneDefault, statusChartLabels } from '@/utils/PortalConstants';\nimport { formatDateStringWithTZ } from '@/utils/InputProcessingUtilities';\n\n@Component({\n components: {\n KStatusChart,\n KJobTimeline,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n data() {\n return {\n statusChartLabels,\n };\n },\n})\nexport default class JobTable extends Vue {\n @Prop({ type: Boolean, default: false }) private readonly loading: boolean | undefined;\n @Prop(Boolean) private readonly staff: boolean | undefined;\n @Prop(Boolean) private readonly showEdit: boolean | undefined;\n @Prop(Boolean) private readonly disableSort: boolean | undefined;\n @Prop(String) private readonly search: string | undefined;\n @Prop(Array) private readonly jobs: Job[] | undefined;\n @Prop(Array) private readonly headersProps: Header[];\n\n // to use func in the template\n private formatDateStringWithTZ = formatDateStringWithTZ;\n private user!: User;\n private today = '';\n\n private expanded: Job[] = [];\n private headers: Header[] = [\n { text: 'Id', value: 'id', align: 'left' },\n { text: 'Date', value: 'job_date', align: 'left' },\n { text: 'Customer Code', value: 'customer_code', align: 'left' },\n { text: 'Reference 1', value: 'ref1', align: 'left' },\n { text: 'Suburb Name', value: 'stop2_name', align: 'left' },\n { text: 'Suburb State', value: 'suburb_state2', align: 'left' },\n { text: 'Stop Name', value: 'suburb_name2', align: 'left' },\n { text: 'Service code', value: 'services', align: 'left' },\n { text: 'Driver', value: 'driver2', align: 'left' },\n { text: 'Delay', value: 'currDelay', align: 'left' },\n { text: 'Status', value: 'status', align: 'left', sortable: false },\n { text: 'Complete', value: 'complete', align: 'left', sortable: false },\n ];\n\n private hideNotForStaffColumns(): void {\n this.headers = this.headers.filter((h: Header) => {\n return (\n h.text !== 'Customer Code' &&\n h.text !== 'Driver' &&\n h.text !== 'Delay Time' &&\n h.text !== 'Warehouse' &&\n h.text !== 'Action'\n );\n });\n }\n\n // Show current driver on the table\n // Sometimes drivers could be different on different stops (ex. Split-to-Base jobs)\n private currDriver(item: Job): string {\n const driverVal = item.main_stop === 1 ? item.driver1 : item.driver2;\n return driverVal !== 'None' ? driverVal.toString() : '';\n }\n\n private expandRow(job: Job): void {\n if (this.expanded[0] === job) {\n this.expanded = [];\n } else {\n this.expanded = [];\n this.expanded.push(job);\n }\n }\n private rowClasses(item) {\n if (item.priority) {\n return ['rowTable', 'priority'];\n }\n if (item.is_rfc) {\n return ['rowTable', 'changeRequest'];\n }\n return ['rowTable'];\n }\n private mounted(): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.today = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n if (this.headersProps) {\n this.headers = this.headersProps;\n }\n if (!this.staff) {\n this.hideNotForStaffColumns();\n }\n }\n // JOB COMPLETE\n private completeStop(item): void {\n const action = 'departed';\n\n const params: StopCompleteParams = {\n driver_id: item.driver2,\n job_id: item.id,\n job_date: item.job_date,\n stop_number: 2,\n pod_name: 'dashboard',\n };\n\n completeStopFromDashboard(action, params)\n .then(res => {\n if (res?.data.Result === 'Stop sent') {\n this.$emit('change');\n }\n })\n .then(() => {\n this.$notify({\n group: 'network',\n text: 'Job status updated',\n type: 'success',\n duration: 3000,\n });\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error updating the job status',\n text: notificationErrorText,\n type: 'warn',\n });\n return null;\n });\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBfixTable.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBfixTable.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobBfixTable.vue?vue&type=template&id=3c5925ce&scoped=true\"\nimport script from \"./JobBfixTable.vue?vue&type=script&lang=ts\"\nexport * from \"./JobBfixTable.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobBfixTable.scss?vue&type=style&index=0&id=3c5925ce&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3c5925ce\",\n null\n \n)\n\nexport default component.exports","\nimport { getBfixJobs } from '@/api';\nimport JobBfixTable from '@/components/dashBoard/jobBfixTable/JobBfixTable.vue';\nimport ReloadButton from '@/components/dashBoard/reloadButton/ReloadButton.vue';\nimport SelectFields from '@/components/dashBoard/selectsFields/SelectFields.vue';\nimport StatusButtons from '@/components/dashBoard/statusButtons/StatusButtons.vue';\nimport Notification from '@/components/UI/Notification.vue';\nimport Chip from '@/components/UI/chip/Chip.vue';\nimport { IGetJobs, IJobs, Job, JobBfixData, JobsInLocation, User } from '@/models/main';\nimport Vue from 'vue';\nimport store from '@/store';\nimport { Component, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { Action } from 'vuex-class';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { addDays } from 'date-fns';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\n\n@Component({\n components: {\n Chip,\n JobBfixTable,\n StatusButtons,\n ReloadButton,\n SelectFields,\n Notification,\n },\n computed: {\n ...mapState([\n 'jobData',\n 'jobBfixData',\n 'availableStates',\n 'alertTimeout',\n 'storeSearch',\n 'storeShowBfixCategory',\n 'storeSelectedStates',\n 'storeDrivers',\n ]),\n ...mapState('moduleUser', { userSelectedDates: 'userSelectedDates' }),\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class Dashboard extends Vue {\n private notification = false;\n private notificationClose = true;\n private notificationColor = 'red';\n private notificationText = '';\n private notificationTimeout = 5000;\n\n private loading = false;\n private timeout: number;\n private interval: number;\n private today: string = format(new Date(), 'yyyy-MM-dd');\n private storeSearch!: string;\n private storeSelectedStates!: string[];\n private alertTimeout!: number;\n private storeDrivers!: Array;\n private storeShowBfixCategory!: string;\n private availableStates!: string[];\n private selectDates!: string[];\n private userSelectedDates!: string[];\n private jobData!: IJobs;\n private user!: User;\n\n @Action\n private setJobBfixData!: (jobs: IGetJobs) => void;\n\n private jobBfixData: JobBfixData;\n private filteredJobs: JobsInLocation[];\n\n private isFiltersSet = false;\n\n private clickChip(): void {\n this.isFiltersSet = !this.isFiltersSet;\n }\n\n private jobsCategoryCount(category): number {\n let jobsCounter = 0;\n this.jobBfixData[category].map((location: JobsInLocation) => {\n Object.values(location).map(locationJobs => {\n jobsCounter += locationJobs.length;\n });\n });\n return jobsCounter;\n }\n\n private timeoutAlert(): void {\n clearTimeout(this.timeout);\n this.timeout = setTimeout(() => {\n this.notification = true;\n this.notificationTimeout = -1;\n this.notificationText = 'The data is outdated. Click refresh button, please';\n }, 5 * 60 * 1000) as unknown as number; // 5min\n }\n\n private dataSync(): void {\n this.loading = true;\n if (this.selectDates?.length) {\n getBfixJobs(this.selectDates)\n .then((data: IGetJobs) => {\n this.setJobBfixData(data);\n })\n .catch(err => {\n console.log(err);\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n\n private get showEdit(): boolean {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const today = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n return this.selectDates?.length === 1 && this.selectDates[0] === today;\n }\n\n private filteredItems(category: string): JobsInLocation[] {\n let filteredJobs: JobsInLocation[];\n // Filtered for category\n switch (category) {\n case 'all':\n filteredJobs = this.jobBfixData.all;\n break;\n case 'unallocated':\n filteredJobs = this.jobBfixData.unallocated;\n break;\n case 'progress':\n filteredJobs = this.jobBfixData.in_progress;\n break;\n case 'completed':\n filteredJobs = this.jobBfixData.completed;\n break;\n case 'cancelled':\n filteredJobs = this.jobBfixData.cancelled;\n break;\n default:\n filteredJobs = [];\n }\n\n // Filtered for select state\n if (this.storeSelectedStates.length !== this.availableStates.length) {\n const newFilteredJobs: JobsInLocation[] = [];\n filteredJobs.map(location => {\n Object.values(location).map(jobs => {\n const newLocationArray: Job[] = [];\n jobs.map((job: Job) => {\n if (\n (job.main_stop === 1 && this.storeSelectedStates.includes(job.suburb_state1)) ||\n (job.main_stop === 2 && this.storeSelectedStates.includes(job.suburb_state2))\n ) {\n newLocationArray.push(job);\n }\n });\n if (newLocationArray.length >= 1) {\n const filtredJobsObject = {\n [Object.keys(location)[0]]: newLocationArray,\n };\n newFilteredJobs.push(filtredJobsObject);\n }\n });\n });\n filteredJobs = newFilteredJobs;\n }\n\n // Filtered for search input\n if (this.storeSearch) {\n const search = this.storeSearch.toUpperCase();\n const newFilteredJobs: JobsInLocation[] = [];\n filteredJobs.map(location => {\n Object.values(location).map(jobs => {\n const newLocationArray: Job[] = [];\n jobs.map((job: Job) => {\n if (\n job.id.toString().includes(search) ||\n job.customer_code.includes(search) ||\n job.customer_code.includes(search) ||\n job.stop1_name.includes(search) ||\n job.stop2_name.includes(search) ||\n (job.main_stop === 1 && job.suburb_name1.toUpperCase().includes(search)) ||\n (job.main_stop === 1 && job.suburb_state1.toUpperCase().includes(search)) ||\n (job.main_stop === 1 && job.driver1.toString().includes(search)) ||\n (job.main_stop === 2 && job.suburb_name2.toUpperCase().includes(search)) ||\n (job.main_stop === 2 && job.suburb_state2.toUpperCase().includes(search)) ||\n (job.main_stop === 2 && job.driver2.toString().includes(search))\n ) {\n newLocationArray.push(job);\n }\n });\n if (newLocationArray.length >= 1) {\n const filtredJobsObject = {\n [Object.keys(location)[0]]: newLocationArray,\n };\n newFilteredJobs.push(filtredJobsObject);\n }\n });\n });\n filteredJobs = newFilteredJobs;\n }\n\n // Filtered for select drivers\n if (this.storeDrivers.length > 0) {\n const newFilteredJobs: JobsInLocation[] = [];\n filteredJobs.map(location => {\n Object.values(location).map(jobs => {\n const newLocationArray: Job[] = [];\n jobs.map((job: Job) => {\n if (this.storeDrivers.includes(job.driver1) || this.storeDrivers.includes(job.driver2)) {\n newLocationArray.push(job);\n }\n });\n if (newLocationArray.length >= 1) {\n const filtredJobsObject = {\n [Object.keys(location)[0]]: newLocationArray,\n };\n newFilteredJobs.push(filtredJobsObject);\n }\n });\n });\n filteredJobs = newFilteredJobs;\n }\n\n if (this.isFiltersSet) {\n const newFilteredJobs: JobsInLocation[] = [];\n filteredJobs.map(location => {\n Object.values(location).map(jobs => {\n const newLocationArray: Job[] = [];\n jobs.map((job: Job) => {\n if (!job.can_schedule) {\n newLocationArray.push(job);\n }\n });\n if (newLocationArray.length >= 1) {\n const filtredJobsObject = {\n [Object.keys(location)[0]]: newLocationArray,\n };\n newFilteredJobs.push(filtredJobsObject);\n }\n });\n });\n filteredJobs = newFilteredJobs;\n }\n\n this.filteredJobs = filteredJobs;\n return filteredJobs;\n }\n\n private timeCycle(): void {\n // update interval 1 min\n this.interval = setInterval(() => {\n this.dataSync();\n }, 5 * 60 * 1000) as unknown as number;\n }\n\n @Watch('$route.path', { immediate: true })\n private changeRoute(): void {\n if (this.$route.path === '/dash-bfix') {\n if (this.jobData.all.length === 0) {\n this.dataSync();\n } else {\n this.$nextTick(() => {\n this.notification = true;\n this.notificationTimeout = -1;\n this.notificationText = 'The data is outdated. Click refresh button, please';\n });\n }\n }\n }\n\n private clickNotification(): void {\n this.notification = false;\n if (this.notificationText === 'The data is outdated. Click refresh button, please') {\n this.dataSync();\n }\n }\n\n private beforeDestroy(): void {\n clearTimeout(this.timeout);\n clearInterval(this.interval);\n }\n\n private changeDate(dates): void {\n this.selectDates = dates;\n store.dispatch('moduleUser/setUserDates', dates);\n this.dataSync();\n }\n\n private mounted(): void {\n this.selectDates = [];\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.today = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n if (this.userSelectedDates.length === 2) {\n this.selectDates = [...this.userSelectedDates];\n } else {\n const dayAfterOneWeek = format(utcToZonedTime(addDays(new Date(), 6), userTimeZone), 'yyyy-MM-dd');\n this.selectDates = [this.today, dayAfterOneWeek];\n store.dispatch('moduleUser/setUserDates', this.selectDates);\n }\n this.dataSync();\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BfixDash.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BfixDash.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BfixDash.vue?vue&type=template&id=3d28821e&scoped=true\"\nimport script from \"./BfixDash.vue?vue&type=script&lang=ts\"\nexport * from \"./BfixDash.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BfixDash.scss?vue&type=style&index=0&id=3d28821e&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3d28821e\",\n null\n \n)\n\nexport default component.exports","import { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.$route.path === '/dash')?_c(VContainer,{staticClass:\"header pt-2 pb-4 px-3\",attrs:{\"fluid\":\"\"}},[_c(VRow,{staticClass:\"header-top wrapper-portal-dash d-flex justify-end pr-2\"},[_c('div',{staticClass:\"mr-12\"},[_c('CounterWithIcon',{class:[_vm.jobsWithRequest4Change.length === 0 ? 'cursor-not-allowed' : 'cursor-pointer'],attrs:{\"icon\":\"mdi-frequently-asked-questions\",\"counter\":_vm.jobsWithRequest4Change.length,\"color\":\"orange\",\"colorIntensity\":\"400\",\"colorIntensityHover\":\"500\"},nativeOn:{\"click\":function($event){return _vm.rfcCounterClicked.apply(null, arguments)}}})],1),_c('div',{staticClass:\"filters-bar-toggle ma-0 mr-6 pa-0 d-flex align-start\"},[_c('p',{staticClass:\"text mt-2\",on:{\"click\":_vm.toggleFiltersbar}},[_vm._v(_vm._s(_vm.showFiltersBar ? 'Hide' : 'Show')+\" filters\")]),_c(VIcon,{staticClass:\"ma-0 mt-1 ml-1 pa-0\",class:_vm.showFiltersBar ? 'mdi-rotate-180 mt-0' : '',attrs:{\"color\":\"black\"}},[_vm._v(\"mdi-chevron-down\")])],1),_c('StatusButtons',{attrs:{\"allCounter\":_vm.filteredItems('all', _vm.filters, _vm.filtersAttributes).length,\"unallocatedCounter\":_vm.filteredItems('unallocated', _vm.filters, _vm.filtersAttributes).length,\"progressCounter\":_vm.filteredItems('progress', _vm.filters, _vm.filtersAttributes).length,\"completedCounter\":_vm.filteredItems('completed', _vm.filters, _vm.filtersAttributes).length,\"cancelledCounter\":_vm.filteredItems('cancelled', _vm.filters, _vm.filtersAttributes).length}})],1),_c(VExpandTransition,[(_vm.showFiltersBar)?_c(VRow,{staticClass:\"wrapper-portal-dash mx-0 mt-4 mr-4\"},[_c('FiltersBar',{on:{\"updateFilters\":_vm.updateFilters,\"updateAttributeFilters\":_vm.updateAttributeFilters}})],1):_vm._e()],1),_c('div',{staticClass:\"wrapper-portal-dash\"},[_c('SelectFields',{on:{\"changeDate\":_vm.changeDate}}),_c('ReloadButton',{attrs:{\"loading\":_vm.loading,\"disabled\":_vm.loading},nativeOn:{\"click\":function($event){return _vm.dataSync.apply(null, arguments)}}})],1)],1):_vm._e(),(_vm.$route.path === '/dash-tv')?_c(VContainer,{staticClass:\"d-flex justify-end m-0 p-0 mt-2 pr-2\",attrs:{\"fluid\":\"\"}},[_c('div',[_c('CounterWithIcon',{class:[_vm.jobsWithRequest4Change.length === 0 ? 'cursor-not-allowed' : 'cursor-pointer'],attrs:{\"icon\":\"mdi-frequently-asked-questions\",\"counter\":_vm.jobsWithRequest4Change.length,\"color\":\"orange\",\"colorIntensity\":\"400\",\"colorIntensityHover\":\"500\"},nativeOn:{\"click\":function($event){return _vm.rfcCounterClicked.apply(null, arguments)}}})],1)]):_vm._e(),_c('div',{class:_vm.$route.path !== '/dash-tv' ? 'wrapper-portal-dash' : ''},[_c('JobTable',{staticClass:\"mb-12 mr-0 pr-0\",attrs:{\"loading\":_vm.loading,\"jobs\":_vm.filteredItems(_vm.storeShowCategory, _vm.filters, _vm.filtersAttributes),\"showEdit\":_vm.showEdit,\"showJobEditBtn\":true},on:{\"openInEditModal\":_vm.openInEditModal}})],1),(_vm.showModal)?_c('JobCompliance',{attrs:{\"tableData\":_vm.filteredItems(_vm.storeShowCategory, _vm.filters, _vm.filtersAttributes),\"showModal\":_vm.showModal,\"currentJobIdx\":_vm.currentJobIdx},on:{\"closeModal\":_vm.closeModal,\"currentJobChanged\":_vm.currentJobChanged,\"updateTable\":_vm.dataSync}}):_vm._e(),_c('notifications',{attrs:{\"group\":\"data-outdated\",\"position\":\"bottom right\",\"classes\":\"notification-dash\",\"duration\":-1},scopedSlots:_vm._u([{key:\"body\",fn:function(props){return [_c('div',{staticClass:\"notification-dash warn\",on:{\"click\":function($event){return _vm.notificationClick(props)}}},[_c('p',{staticClass:\"notification-title\"},[_vm._v(_vm._s(props.item.title))]),_c('p',{staticClass:\"notification-content ma-0\"},[_vm._v(_vm._s(props.item.text))])])]}}])})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VDivider } from 'vuetify/lib/components/VDivider';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"filter-bar\"},[_c(VDivider,{staticClass:\"mb-0\"}),_c('div',{staticClass:\"chips\"},[_c('div',{staticClass:\"ma-2 mb-0\"},[(_vm.$can('staff', 'Job'))?_c('Chip',{attrs:{\"background\":_vm.filters.includes('cant-schedule') ? 'purple' : 'white',\"color\":_vm.filters.includes('cant-schedule') ? 'white' : 'purple',\"circleColor\":_vm.filters.includes('cant-schedule') ? 'white' : 'purple',\"icon\":\"mdi-calendar-remove\",\"text\":\"Can't schedule\"},nativeOn:{\"click\":function($event){return _vm.clickChip('cant-schedule')}}}):_vm._e()],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filters.includes('req4change') ? 'purple' : 'white',\"color\":_vm.filters.includes('req4change') ? 'white' : 'purple',\"circleColor\":_vm.filters.includes('req4change') ? 'white' : 'purple',\"icon\":\"mdi-bullhorn\",\"text\":\"Requested for change\"},nativeOn:{\"click\":function($event){return _vm.clickChip('req4change')}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filters.includes('edited') ? 'purple' : 'white',\"color\":_vm.filters.includes('edited') ? 'white' : 'purple',\"circleColor\":_vm.filters.includes('edited') ? 'white' : 'purple',\"icon\":\"mdi-pencil\",\"text\":\"Edited\"},nativeOn:{\"click\":function($event){return _vm.clickChip('edited')}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filters.includes('split-to-base') ? 'purple' : 'white',\"color\":_vm.filters.includes('split-to-base') ? 'white' : 'purple',\"circleColor\":_vm.filters.includes('split-to-base') ? 'white' : 'purple',\"icon\":\"mdi-call-split\",\"text\":\"Split-to-Base\"},nativeOn:{\"click\":function($event){return _vm.clickChip('split-to-base')}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filters.includes('delayed') ? 'purple' : 'white',\"color\":_vm.filters.includes('delayed') ? 'white' : 'purple',\"circleColor\":_vm.filters.includes('delayed') ? 'white' : 'purple',\"icon\":\"mdi-clock-alert\",\"text\":\"Delayed\"},nativeOn:{\"click\":function($event){return _vm.clickChip('delayed')}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filters.includes('futile') ? 'purple' : 'white',\"color\":_vm.filters.includes('futile') ? 'white' : 'purple',\"circleColor\":_vm.filters.includes('futile') ? 'white' : 'purple',\"icon\":\"mdi-account-alert\",\"text\":\"Is futile\"},nativeOn:{\"click\":function($event){return _vm.clickChip('futile')}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filtersAttributes.includes('SSC') ? 'purple' : 'white',\"color\":_vm.filtersAttributes.includes('SSC') ? 'white' : 'purple',\"circleColor\":_vm.filtersAttributes.includes('SSC') ? 'white' : 'purple',\"icon\":\"mdi-stairs\",\"text\":\"Small Stair-climber\"},nativeOn:{\"click\":function($event){return _vm.clickChipAttr('SSC')}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filtersAttributes.includes('PPE') ? 'purple' : 'white',\"color\":_vm.filtersAttributes.includes('PPE') ? 'white' : 'purple',\"circleColor\":_vm.filtersAttributes.includes('PPE') ? 'white' : 'purple',\"icon\":\"mdi-face-mask\",\"text\":\"Safety Equipment Required\"},nativeOn:{\"click\":function($event){return _vm.clickChipAttr('PPE')}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filtersAttributes.includes('PPWK') ? 'purple' : 'white',\"color\":_vm.filtersAttributes.includes('PPWK') ? 'white' : 'purple',\"circleColor\":_vm.filtersAttributes.includes('PPWK') ? 'white' : 'purple',\"icon\":\"mdi-file-document\",\"text\":\"Paperwork required\"},nativeOn:{\"click\":function($event){return _vm.clickChipAttr('PPWK')}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filtersAttributes.includes('ONE') ? 'purple' : 'white',\"color\":_vm.filtersAttributes.includes('ONE') ? 'white' : 'purple',\"circleColor\":_vm.filtersAttributes.includes('ONE') ? 'white' : 'purple',\"icon\":\"mdi-account\",\"text\":\"One-man job\"},nativeOn:{\"click\":function($event){return _vm.clickChipAttr('ONE')}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filtersAttributes.includes('FLR') ? 'purple' : 'white',\"color\":_vm.filtersAttributes.includes('FLR') ? 'white' : 'purple',\"circleColor\":_vm.filtersAttributes.includes('FLR') ? 'white' : 'purple',\"icon\":\"mdi-caravan\",\"text\":\"Extra Items to Load\"},nativeOn:{\"click\":function($event){return _vm.clickChipAttr('FLR')}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filtersAttributes.includes('EXTR') ? 'purple' : 'white',\"color\":_vm.filtersAttributes.includes('EXTR') ? 'white' : 'purple',\"circleColor\":_vm.filtersAttributes.includes('EXTR') ? 'white' : 'purple',\"icon\":\"mdi-account-plus\",\"text\":\"Extra men required\"},nativeOn:{\"click\":function($event){return _vm.clickChipAttr('EXTR')}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filtersAttributes.includes('LOW') ? 'purple' : 'white',\"color\":_vm.filtersAttributes.includes('LOW') ? 'white' : 'purple',\"circleColor\":_vm.filtersAttributes.includes('LOW') ? 'white' : 'purple',\"icon\":\"mdi-format-align-bottom\",\"text\":\"Low Dock Height\"},nativeOn:{\"click\":function($event){return _vm.clickChipAttr('LOW')}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filtersAttributes.includes('TECH1') ? 'purple' : 'white',\"color\":_vm.filtersAttributes.includes('TECH1') ? 'white' : 'purple',\"circleColor\":_vm.filtersAttributes.includes('TECH1') ? 'white' : 'purple',\"disabled\":_vm.filtersAttributes.includes('TECH'),\"icon\":\"mdi-progress-wrench\",\"text\":\"Technicial lvl 1\"},nativeOn:{\"click\":function($event){!_vm.filtersAttributes.includes('TECH') ? _vm.clickChipAttr('TECH1') : null}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filtersAttributes.includes('TECH2') ? 'purple' : 'white',\"color\":_vm.filtersAttributes.includes('TECH2') ? 'white' : 'purple',\"circleColor\":_vm.filtersAttributes.includes('TECH2') ? 'white' : 'purple',\"disabled\":_vm.filtersAttributes.includes('TECH'),\"icon\":\"mdi-progress-wrench\",\"text\":\"Technicial lvl 2\"},nativeOn:{\"click\":function($event){!_vm.filtersAttributes.includes('TECH') ? _vm.clickChipAttr('TECH2') : null}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filtersAttributes.includes('TECH3') ? 'purple' : 'white',\"color\":_vm.filtersAttributes.includes('TECH3') ? 'white' : 'purple',\"circleColor\":_vm.filtersAttributes.includes('TECH3') ? 'white' : 'purple',\"disabled\":_vm.filtersAttributes.includes('TECH'),\"icon\":\"mdi-progress-wrench\",\"text\":\"Technicial lvl 3\"},nativeOn:{\"click\":function($event){!_vm.filtersAttributes.includes('TECH') ? _vm.clickChipAttr('TECH3') : null}}})],1),_c('div',{staticClass:\"ma-2 mb-0\"},[_c('Chip',{attrs:{\"background\":_vm.filtersAttributes.includes('TECH') ? 'purple' : 'white',\"color\":_vm.filtersAttributes.includes('TECH') ? 'white' : 'purple',\"circleColor\":_vm.filtersAttributes.includes('TECH') ? 'white' : 'purple',\"icon\":\"mdi-wrench\",\"text\":\"Technician any level\"},nativeOn:{\"click\":function($event){return _vm.clickChipAttr('TECH')}}})],1)]),_c(VDivider,{staticClass:\"mt-2\"})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport Chip from '@/components/UI/chip/Chip.vue';\n\n@Component({\n components: {\n Chip,\n },\n})\nexport default class FiltersBar extends Vue {\n public filters: string[] = [];\n public filtersAttributes: string[] = [];\n\n public clickChip(filter: string): void {\n const filterIdx = this.filters.indexOf(filter);\n filterIdx === -1 ? this.filters.push(filter) : this.filters.splice(filterIdx, 1);\n this.$emit('updateFilters', this.filters);\n }\n\n public clickChipAttr(filter: string): void {\n const filterIdx = this.filtersAttributes.indexOf(filter);\n filterIdx === -1 ? this.filtersAttributes.push(filter) : this.filtersAttributes.splice(filterIdx, 1);\n this.$emit('updateAttributeFilters', this.filtersAttributes);\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FiltersBar.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FiltersBar.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FiltersBar.vue?vue&type=template&id=7004cb71&scoped=true\"\nimport script from \"./FiltersBar.vue?vue&type=script&lang=ts\"\nexport * from \"./FiltersBar.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FiltersBar.scss?vue&type=style&index=0&id=7004cb71&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7004cb71\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.storeJobsWithRequest4Change.length > 0)?_c('div',[_c('div',{staticClass:\"req4change mr-1\",on:{\"click\":function($event){return _vm.req4changeClick()}}},[_c(VBtn,{attrs:{\"color\":\"yellow\",\"fab\":\"\",\"x-small\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.storeJobsWithRequest4Change.length)+\" \")]),_c('p',{staticClass:\"text ml-2\"},[_vm._v(\"Requested for change\")])],1)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Job } from '@/models/main';\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class RequestForChangeIndicator extends Vue {\n @Prop({ type: Array, required: true }) private readonly jobsWithRequest4Change: string[];\n @Prop({ type: Array, required: true, default: [] }) private readonly storeJobsWithRequest4Change: Job[];\n\n private req4changeClick(): void {\n if (this.jobsWithRequest4Change.length >= 1) {\n let jobDateMin = this.storeJobsWithRequest4Change[0].job_date;\n let jobDateMax = this.storeJobsWithRequest4Change[0].job_date;\n this.storeJobsWithRequest4Change.map(job => {\n if (job.job_date < jobDateMin) {\n jobDateMin = job.job_date;\n }\n if (job.job_date > jobDateMax) {\n jobDateMax = job.job_date;\n }\n });\n const query = { job_id: this.jobsWithRequest4Change.toString(), dates: `${jobDateMin},${jobDateMax}` };\n this.$router.push({ path: 'search', query: { ...query } }).catch(() => false);\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RequestForChangeIndicator.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RequestForChangeIndicator.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RequestForChangeIndicator.vue?vue&type=template&id=14f50c7a&scoped=true\"\nimport script from \"./RequestForChangeIndicator.vue?vue&type=script&lang=ts\"\nexport * from \"./RequestForChangeIndicator.vue?vue&type=script&lang=ts\"\nimport style0 from \"./RequestForChangeIndicator.scss?vue&type=style&index=0&id=14f50c7a&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"14f50c7a\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex items-center w-14 h-8 shadow shadow-black rounded-full border border-orange-400 cursor-pointer hover:border-orange-400 hover:bg-orange-100 group\"},[_c('div',{staticClass:\"w-8 h-8 rounded-full flex justify-center items-center\",class:`bg-${_vm.color}${_vm.colorIntensity ? '-' + _vm.colorIntensity : ''} group-hover:bg-${_vm.color}-${\n _vm.colorIntensityHover ? '-' + _vm.colorIntensityHover : ''\n }`},[_c('Icon',{attrs:{\"name\":_vm.icon,\"color\":\"white\",\"size\":\"base\"}})],1),_c('div',{staticClass:\"w-6 pr-1 text-center text-orange-400 font-semibold select-none group-hover:text-orange-500\"},[_vm._v(\" \"+_vm._s(_vm.counter)+\" \")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\n\n@Component({\n components: {\n Icon,\n },\n})\nexport default class CounterWithIcon extends Vue {\n @Prop({ type: Number, required: true, default: 0 }) public counter: number;\n @Prop({ type: String, required: true, default: 'mdi-check' }) public icon: string;\n @Prop({ type: String, required: false, default: 'black' }) public color: string;\n @Prop({ type: String, required: false, default: '' }) public colorIntensity: string;\n @Prop({ type: String, required: false, default: '' }) public colorIntensityHover: string;\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CounterWithIcon.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CounterWithIcon.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CounterWithIcon.vue?vue&type=template&id=0c828696\"\nimport script from \"./CounterWithIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./CounterWithIcon.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { getJobs } from '@/api';\nimport JobTable from '@/components/dashBoard/jobTable/JobTable.vue';\nimport FiltersBar from '@/components/dashBoard/filtersBar/FiltersBar.vue';\nimport ReloadButton from '@/components/dashBoard/reloadButton/ReloadButton.vue';\nimport RequestForChangeIndicator from '@/components/dashBoard/requestForChangeIndicator/RequestForChangeIndicator.vue';\nimport SelectFields from '@/components/dashBoard/selectsFields/SelectFields.vue';\nimport StatusButtons from '@/components/dashBoard/statusButtons/StatusButtons.vue';\nimport Notification from '@/components/UI/Notification.vue';\nimport JobCompliance from '@/views/JobBooking/JobCompliance.vue';\nimport store from '@/store';\nimport { IGetJobs, IJobs, Job, User } from '@/models/main';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport Vue from 'vue';\nimport { Component, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { Action } from 'vuex-class';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport * as routeNames from '@/router/routeNames';\n\nimport CounterWithIcon from '@/components/UI/CounterWithIcon.vue';\n\n@Component({\n components: {\n CounterWithIcon,\n FiltersBar,\n JobCompliance,\n JobTable,\n StatusButtons,\n ReloadButton,\n RequestForChangeIndicator,\n SelectFields,\n Notification,\n },\n computed: {\n ...mapState([\n 'jobData',\n 'availableStates',\n 'alertTimeout',\n 'storeSearch',\n 'storeShowCategory',\n 'storeSelectedStates',\n 'storeDrivers',\n 'storeJobsWithRequest4Change',\n ]),\n ...mapState('moduleUser', { userSelectedDates: 'userSelectedDates' }),\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class Dashboard extends Vue {\n public loading = false;\n private timeout: number;\n private interval: number;\n private user!: User;\n private today: string = format(new Date(), 'yyyy-MM-dd');\n\n private storeSearch!: string;\n private storeSelectedStates!: string[];\n private alertTimeout!: number;\n private storeDrivers!: Array;\n public storeShowCategory!: string;\n private availableStates!: string[];\n private userSelectedDates!: string[];\n private jobData!: IJobs;\n private storeJobsWithRequest4Change: Job[];\n\n public showFiltersBar = false;\n public filters: string[] = [];\n public filtersAttributes: string[] = [];\n\n public jobsWithRequest4Change: number[] = [];\n\n // Compliance modal\n public showModal = false;\n public currentJobIdx = -1;\n\n public currentJobChanged(idx: number): void {\n this.currentJobIdx = idx;\n }\n\n public closeModal(): void {\n this.showModal = false;\n this.currentJobIdx = -1;\n this.$forceUpdate();\n }\n\n public openInEditModal(unique_id: string): void {\n this.currentJobIdx = this.filteredItems(this.storeShowCategory, this.filters, this.filtersAttributes).findIndex(\n x => x.unique_id === unique_id,\n );\n this.showModal = true;\n }\n // / Compliance modal\n\n @Action\n private setJobData!: (jobs: IGetJobs) => void;\n\n public rfcCounterClicked() {\n if (this.jobsWithRequest4Change.length >= 1) {\n const query = { job_id: this.jobsWithRequest4Change.toString() };\n this.$router.push({ path: 'search', query: { ...query } }).catch(() => false);\n }\n }\n\n public notificationClick(props): void {\n this.dataSync();\n props.close();\n }\n\n private timeoutAlert(): void {\n clearTimeout(this.timeout);\n this.timeout = setTimeout(() => {\n this.$notify({\n group: 'data-outdated',\n title: 'The data is outdated',\n text: 'Click refresh button, please',\n type: 'warn',\n });\n }, 5 * 60 * 1000) as unknown as number; // 5min\n }\n\n public dataSync(): void {\n this.loading = true;\n this.jobsWithRequest4Change = [];\n // Check for user date\n if (!this.userSelectedDates[0]) {\n this.userSelectedDates[0] = this.today;\n }\n getJobs(this.userSelectedDates)\n .then((data: IGetJobs) => {\n this.setJobData(data);\n this.$notify({\n group: 'data-outdated',\n clean: true,\n });\n this.timeoutAlert();\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Server connection lost',\n text: 'Click refresh button, please',\n type: 'warn',\n });\n })\n .finally(() => {\n this.jobsWithRequest4Change = this.storeJobsWithRequest4Change.map(job => job.id);\n this.loading = false;\n });\n }\n\n public get showEdit(): boolean {\n return this.userSelectedDates.length === 1 && this.userSelectedDates[0] === this.today;\n }\n\n public toggleFiltersbar(): void {\n this.showFiltersBar = !this.showFiltersBar;\n if (!this.showFiltersBar) {\n this.filters = [];\n this.filtersAttributes = [];\n }\n }\n\n public updateFilters(filters: string[]): void {\n this.filters = filters;\n }\n\n public updateAttributeFilters(filters: string[]): void {\n this.filtersAttributes = filters;\n }\n\n public filteredItems(category: string, filters?: string[], filtersAttributes?: string[]): Job[] {\n let filteredJobs: Job[];\n // Filtered for category\n switch (category) {\n case 'all':\n filteredJobs = this.jobData.all;\n break;\n case 'unallocated':\n filteredJobs = this.jobData.unallocated;\n break;\n case 'progress':\n filteredJobs = this.jobData.in_progress;\n break;\n case 'completed':\n filteredJobs = this.jobData.completed;\n break;\n case 'cancelled':\n filteredJobs = this.jobData.cancelled;\n break;\n default:\n filteredJobs = [];\n }\n\n // Filtered for select state\n if (this.storeSelectedStates.length >= 1 && this.storeSelectedStates.length !== this.availableStates.length) {\n filteredJobs = filteredJobs.filter(\n (job: Job) =>\n (job.main_stop === 1 && this.storeSelectedStates.includes(job.suburb_state1)) ||\n (job.main_stop === 2 && this.storeSelectedStates.includes(job.suburb_state2)),\n );\n }\n\n // Filtered for search input\n if (this.storeSearch) {\n const search = this.storeSearch.toUpperCase();\n filteredJobs = filteredJobs.filter(\n (job: Job) =>\n job.id.toString().includes(search) ||\n job.customer_code.toUpperCase().includes(search) ||\n job.customer_code.toUpperCase().includes(search) ||\n job.stop1_name.toUpperCase().includes(search) ||\n job.stop2_name.toUpperCase().includes(search) ||\n (job.main_stop === 1 && job.suburb_name1.toUpperCase().includes(search)) ||\n (job.main_stop === 1 && job.suburb_state1.toUpperCase().includes(search)) ||\n (job.main_stop === 1 && job.driver1.toString().includes(search)) ||\n (job.main_stop === 2 && job.suburb_name2.toUpperCase().includes(search)) ||\n (job.main_stop === 2 && job.suburb_state2.toUpperCase().includes(search)) ||\n (job.main_stop === 2 && job.driver2.toString().includes(search)) ||\n (job.is_done &&\n job.notes &&\n job.notes[job.notes.length - 1] &&\n job.notes[job.notes.length - 1].note.toUpperCase().includes(search)),\n );\n }\n\n // Filtered for select drivers\n if (this.storeDrivers.length > 0) {\n filteredJobs = filteredJobs.filter(\n (job: Job) => this.storeDrivers.includes(job.driver1) || this.storeDrivers.includes(job.driver2),\n );\n }\n\n // FILTERS:\n // Sptit to base\n // If these filtering change, we need to change the split-to-base icon showing conditions in the same way\n // function \"showSplitToBase\" in JobTable.vue\n if (filters?.includes('split-to-base')) {\n filteredJobs = filteredJobs.filter(\n (job: Job) => job.split_base && (!job.driver2 || job.driver2 === 0 || job.driver2 === 'NOT ALLOCATED'),\n );\n }\n // Request for change\n if (filters?.includes('req4change')) {\n filteredJobs = filteredJobs.filter((job: Job) => job.is_rfc);\n }\n // CAN'T Schedule\n if (filters?.includes('cant-schedule')) {\n filteredJobs = filteredJobs.filter((job: Job) => !job.can_schedule);\n }\n // Edited\n if (filters?.includes('edited')) {\n filteredJobs = filteredJobs.filter((job: Job) => job.edited === 1);\n }\n // Delayed\n if (filters?.includes('delayed')) {\n filteredJobs = filteredJobs.filter((job: Job) => job.delay >= 1);\n }\n // Futile\n if (filters?.includes('futile')) {\n filteredJobs = filteredJobs.filter((job: Job) => job.is_futile);\n }\n // Remove Tech 1, 2 and 3 if ANY TECH clicked\n if (filtersAttributes?.includes('TECH')) {\n const techAttrs = ['TECH1', 'TECH2', 'TECH3'];\n techAttrs.map(attr => {\n const attrIdx = this.filtersAttributes.indexOf(attr);\n if (attrIdx >= 0) {\n this.filtersAttributes.splice(attrIdx, 1);\n }\n });\n }\n\n // ATTRIBUTES FILTERS:\n filtersAttributes?.map(filter => {\n // Filter Tech 1, 2 and 3 if ANY TECH clicked\n if (filter === 'TECH') {\n filteredJobs = filteredJobs.filter(\n (job: Job) =>\n job.attributes.indexOf('TECH1') >= 0 ||\n job.attributes.indexOf('TECH2') >= 0 ||\n job.attributes.indexOf('TECH3') >= 0,\n );\n } else {\n filteredJobs = filteredJobs.filter((job: Job) => job.attributes.indexOf(filter) >= 0);\n }\n });\n\n return filteredJobs;\n }\n\n private timeCycle(): void {\n // update interval 5 min\n this.interval = setInterval(() => {\n this.dataSync();\n }, 5 * 60 * 1000) as unknown as number;\n }\n\n @Watch('$route.path', { immediate: true })\n private changeRoute(): void {\n this.today = format(utcToZonedTime(new Date(), this.user.timezone || timeZoneDefault), 'yyyy-MM-dd');\n if (this.$route.path === '/dash') {\n if (\n this.jobData.all.length === 0 ||\n store.getters.prevUrl.name !== routeNames.DETAILED_QUERY_JOB ||\n store.getters.prevUrl.name !== routeNames.DETAILED_PARAM_JOB\n ) {\n this.dataSync();\n }\n }\n if (this.$route.path === '/dash-tv') {\n this.dataSync();\n this.timeCycle();\n } else {\n clearInterval(this.interval);\n }\n }\n\n private beforeDestroy(): void {\n clearTimeout(this.timeout);\n clearInterval(this.interval);\n }\n\n public changeDate(dates): void {\n store.dispatch('moduleUser/setUserDates', [dates]);\n this.dataSync();\n }\n\n public req4changeClick(): void {\n if (this.jobsWithRequest4Change.length >= 1) {\n const query = { job_id: this.jobsWithRequest4Change.toString() };\n this.$router.push({ path: 'search', query: { ...query } }).catch(() => false);\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=7aa59234&scoped=true\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=ts\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Dashboard.scss?vue&type=style&index=0&id=7aa59234&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7aa59234\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"errors mt-4\"},[_c('h1',[_vm._v(\"404 Error\")]),_c('p',[_vm._v(\"Page not found\")]),_c('router-link',{attrs:{\"to\":\"/\",\"exact\":\"\"}},[_vm._v(\" Go to home page \")])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport { Component, Vue } from 'vue-property-decorator';\n\n@Component({\n components: {\n BackButton,\n },\n})\nexport default class Errors extends Vue {}\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Errors.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Errors.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Errors.vue?vue&type=template&id=39094130&scoped=true\"\nimport script from \"./Errors.vue?vue&type=script&lang=ts\"\nexport * from \"./Errors.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Errors.vue?vue&type=style&index=0&id=39094130&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"39094130\",\n null\n \n)\n\nexport default component.exports","import { VAvatar } from 'vuetify/lib/components/VAvatar';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCarousel } from 'vuetify/lib/components/VCarousel';\nimport { VCarouselItem } from 'vuetify/lib/components/VCarousel';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"home-page\"},[_c('Header',{attrs:{\"title\":\"Home\",\"subtitle\":\"Welcome to KKTS Portal\"}}),_c('div',{staticClass:\"wrapper pa-6 mb-12\"},[_c(VRow,[_c(VCol,{attrs:{\"cols\":12}},[_c(VCarousel,{staticClass:\"carousel mt-2\",attrs:{\"cycle\":\"\",\"height\":\"400\",\"hide-delimiter-background\":\"\",\"show-arrows-on-hover\":\"\"}},_vm._l((_vm.carouselImgs),function(item,idx){return _c(VCarouselItem,{key:idx},[_c('div',{staticClass:\"carousel-img-container\"},[_c(VImg,{staticClass:\"carousel-img\",attrs:{\"src\":item}})],1)])}),1)],1)],1),_c(VRow,[_c(VCol,{attrs:{\"cols\":6}},[_c(VCard,{staticClass:\"mt-3\",attrs:{\"loading\":_vm.loading}},[_c('div',{staticClass:\"card pt-0 mt-2 ml-3 mr-2\",attrs:{\"fluid\":\"\"}},[_c('template',{slot:\"progress\"},[_c(VProgressLinear,{attrs:{\"color\":\"deep-purple\",\"height\":\"10\",\"indeterminate\":\"\"}})],1),_c(VRow,[_c(VCardTitle,{staticClass:\"card-header ma-0 pa-4\"},[_vm._v(\"News and Service updates\")]),_c(VSpacer),_vm._l((_vm.serviceUpdates),function(item){return _c(VCol,{key:item.id,staticClass:\"pa-0 pr-2\",attrs:{\"cols\":\"12\"}},[_c(VCard,{attrs:{\"flat\":\"\"}},[_c(VCardSubtitle,{staticClass:\"text-left pb-0 pt-4\"},[_vm._v(\" \"+_vm._s(_vm.formatDateStringWithTZ(item.created_at, _vm.user.timezone, 'yyyy-MM-dd'))+\" \")]),_c('div',{},[_c(VCardTitle,{staticClass:\"py-0\"},[_vm._v(_vm._s(item.title))]),_c(VCardText,{staticClass:\"mt-4 pr-2 d-flex flex-row\"},[(item.image)?_c(VAvatar,{attrs:{\"size\":\"110\"}},[_c(VImg,{attrs:{\"src\":item.image}})],1):_vm._e(),_c('div',{staticClass:\"pl-4 pt-4\",domProps:{\"innerHTML\":_vm._s(item.content)}})],1)],1)],1),_c(VDivider)],1)})],2)],2),(_vm.serviceUpdatesLimit !== null)?_c(VCardActions,{staticClass:\"justify-center\"},[_c(VBtn,{attrs:{\"block\":\"\",\"text\":\"\"},on:{\"click\":function($event){_vm.serviceUpdatesLimit = null}}},[_vm._v(\"Show more\")])],1):_c(VCardActions,{staticClass:\"justify-center\"},[_c(VBtn,{attrs:{\"block\":\"\",\"text\":\"\"},on:{\"click\":function($event){_vm.serviceUpdatesLimit = 2}}},[_vm._v(\"Show less\")])],1)],1)],1),_c(VCol,{attrs:{\"cols\":6}},[_c(VCard,{staticClass:\"mt-3\",attrs:{\"loading\":_vm.loading}},[_c('div',{staticClass:\"card pt-0 mt-2 ml-3 mr-2\",attrs:{\"fluid\":\"\"}},[_c('template',{slot:\"progress\"},[_c(VProgressLinear,{attrs:{\"color\":\"deep-purple\",\"height\":\"10\",\"indeterminate\":\"\"}})],1),_c(VRow,[_c(VCardTitle,{staticClass:\"card-header ma-0 pa-4\"},[_vm._v(\"What's new?\")]),_c(VSpacer),_vm._l((_vm.newsLimited),function(item){return _c(VCol,{key:item.id,staticClass:\"pa-0 pr-2\",attrs:{\"cols\":\"12\"}},[_c(VCard,{attrs:{\"flat\":\"\"}},[_c(VCardSubtitle,{staticClass:\"text-left pb-0 pt-4\"},[_vm._v(\" \"+_vm._s(_vm.formatDateStringWithTZ(item.created_at, _vm.user.timezone, 'yyyy-MM-dd'))+\" \")]),_c('div',{},[_c(VCardTitle,{staticClass:\"py-0\"},[_vm._v(_vm._s(item.title))]),_c(VCardText,{staticClass:\"mt-4 pr-2 d-flex flex-row\"},[(item.image)?_c(VAvatar,{attrs:{\"size\":\"110\"}},[_c(VImg,{attrs:{\"src\":item.image}})],1):_vm._e(),_c('div',{staticClass:\"pl-4 pt-4\",domProps:{\"innerHTML\":_vm._s(item.content)}})],1)],1)],1),_c(VDivider)],1)})],2)],2),(_vm.limit !== null)?_c(VCardActions,{staticClass:\"justify-center\"},[_c(VBtn,{attrs:{\"block\":\"\",\"text\":\"\"},on:{\"click\":function($event){_vm.limit = null}}},[_vm._v(\"Show more\")])],1):_c(VCardActions,{staticClass:\"justify-center\"},[_c(VBtn,{attrs:{\"block\":\"\",\"text\":\"\"},on:{\"click\":function($event){_vm.limit = 2}}},[_vm._v(\"Show less\")])],1)],1)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Header from '@/components/jobBooking/Header/Header.vue';\nimport Button from '../../components/UI/button/Button.vue';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { getNews } from '@/api';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport { mapState } from 'vuex';\nimport { User } from '@/models/main';\n\nimport { formatDateStringWithTZ } from '@/utils/InputProcessingUtilities';\n\ninterface newsEntry {\n id: number;\n author: string;\n title: string;\n content: string;\n image: string;\n type: string;\n updated_at: Date;\n created_at: Date;\n}\n\n@Component({\n components: {\n Button,\n Header,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class HomePage extends Vue {\n // LOADERS\n private loading = false;\n\n private user!: User;\n private formatDateStringWithTZ = formatDateStringWithTZ;\n\n private carouselImgs = [\n require('@/assets/images/DJI_0012_1300_400.jpg'),\n require('@/assets/images/DSC_9746_1300_400.jpg'),\n require('@/assets/images/AKP_2983_1300_400.jpg'),\n require('@/assets/images/DSC_9687_1300_400.jpg'),\n require('@/assets/images/AKP_7229_1300_400.jpg'),\n ];\n\n //News related\n private limit = 2;\n private serviceUpdatesLimit = 2;\n private newsEntries: newsEntry[] = [];\n private loadNews() {\n this.loading = true;\n getNews()\n .then(res => {\n this.newsEntries = res.data;\n this.loading = false;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error loading News data',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n }\n get newsLimited(): newsEntry[] {\n const whatsNew = this.newsEntries.filter(item => item.type !== 'service');\n return this.limit ? whatsNew.slice(0, this.limit) : whatsNew;\n }\n get serviceUpdates(): newsEntry[] {\n const serviceUpdatesNews = this.newsEntries.filter(item => item.type === 'service');\n return this.limit ? serviceUpdatesNews.slice(0, this.limit) : serviceUpdatesNews;\n }\n\n private mounted() {\n this.loadNews();\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HomePage.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HomePage.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./HomePage.vue?vue&type=template&id=55d6bfbc&scoped=true\"\nimport script from \"./HomePage.vue?vue&type=script&lang=ts\"\nexport * from \"./HomePage.vue?vue&type=script&lang=ts\"\nimport style0 from \"./HomePage.scss?vue&type=style&index=0&id=55d6bfbc&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"55d6bfbc\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('JobbookingCreateForm',{attrs:{\"isInitialLoading\":_vm.isLoading,\"initialDetailedJob\":_vm.detailedJob}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport JobbookingCreateForm from '@/components/forms/JobbookingCreateForm.vue';\nimport { fetchDetailedJob } from '@/helpers/fetchers';\nimport { JobDetailedData } from '@/models/jobDetailed';\nimport * as routeNames from '@/router/routeNames';\n\n@Component({\n components: {\n JobbookingCreateForm,\n },\n})\nexport default class CloneJobbookingView extends Vue {\n @Prop(Number) public jobId: number;\n @Prop(String) public jobDate: string;\n\n public isLoading = false;\n public detailedJob: JobDetailedData | null = null;\n\n private created() {\n this.isLoading = true;\n fetchDetailedJob(this.jobId, this.jobDate)\n .then((detailedJob: JobDetailedData) => {\n this.detailedJob = detailedJob;\n })\n .catch(() => {\n this.$router.push({ name: routeNames.INITIAL_ERROR });\n })\n .finally(() => {\n this.isLoading = false;\n });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CloneJobbookingView.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CloneJobbookingView.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CloneJobbookingView.vue?vue&type=template&id=55eaf393\"\nimport script from \"./CloneJobbookingView.vue?vue&type=script&lang=ts\"\nexport * from \"./CloneJobbookingView.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"wrapper\"},[_c('Header',{attrs:{\"title\":\"Drafts\",\"subtitle\":\"Choose the job from your Drafts\"}}),_c('div',{staticClass:\"table-wrapper mx-6 my-12\"},[_c(VDataTable,{staticClass:\"elevation-1 spreadsheet-table\",attrs:{\"headers\":_vm.headers,\"items\":_vm.drafts,\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"sort-desc\":[false, true],\"loading\":_vm.loading},scopedSlots:_vm._u([{key:`item.modified`,fn:function({ item }){return [_c('p',{staticClass:\"nowrap mb-0\"},[_vm._v(_vm._s(_vm.formatDateStringWithTZ(item.modified, _vm.user.timezone, 'yyyy-MM-dd HH:mm')))])]}},{key:`item.created`,fn:function({ item }){return [_c('p',{staticClass:\"nowrap mb-0\"},[_vm._v(_vm._s(_vm.formatDateStringWithTZ(item.created, _vm.user.timezone, 'yyyy-MM-dd HH:mm')))])]}},{key:`item.edit`,fn:function({ item }){return [_c(VIcon,{attrs:{\"size\":\"22\"},on:{\"click\":function($event){return _vm.editItem(item.id)}}},[_vm._v(\" mdi-pencil \")])]}},{key:`item.delete`,fn:function({ item }){return [_c(VIcon,{attrs:{\"size\":\"22\"},on:{\"click\":function($event){return _vm.deleteItem(item.id)}}},[_vm._v(\" mdi-delete \")])]}}],null,true)}),(_vm.drafts.length >= 1)?_c('div',{staticClass:\"flex mt-6\"},[_c('div',{staticClass:\"flex items-center justify-center px-2\"},[_c('div',{staticClass:\"flex flex-initial items-center\"},[_c('p',{staticClass:\"ma-0 text-sm\"},[_vm._v(\"Show by:\")]),_c('p',{staticClass:\"ma-0 w-20 px-2\"},[_c('t-select',{attrs:{\"options\":_vm.pagination.perPageOptions,\"wrapped\":\"\"},model:{value:(_vm.pagination.perPage),callback:function ($$v) {_vm.$set(_vm.pagination, \"perPage\", $$v)},expression:\"pagination.perPage\"}})],1),_c('p',{staticClass:\"ma-0 pl-4 whitespace-nowrap text-sm\"},[_vm._v(\"jobs from \"+_vm._s(_vm.pagination.total)+\" pages\")])]),(_vm.pagination.total > 0)?_c('t-pagination',{staticClass:\"w-128 ma-0\",class:_vm.pagination.total >= 100 ? 'text-sm' : '',attrs:{\"total-items\":_vm.pagination.total * _vm.pagination.perPage,\"per-page\":Number(_vm.pagination.perPage),\"limit\":_vm.pagination.visible,\"disabled\":_vm.loading},on:{\"change\":_vm.updatePagination},model:{value:(_vm.pagination.current),callback:function ($$v) {_vm.$set(_vm.pagination, \"current\", $$v)},expression:\"pagination.current\"}}):_vm._e()],1)]):_vm._e()],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getDrafts, deleteDrafts } from '@/api';\nimport Header from '@/components/jobBooking/Header/Header.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport { User } from '@/models/main';\nimport { JobDraftsListItem, DraftsRequestData, DraftsResponseData } from '@/models/draft';\nimport { mapState } from 'vuex';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport { formatDateStringWithTZ } from '@/utils/InputProcessingUtilities';\n\n@Component({\n components: {\n BackButton,\n Header,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class Drafts extends Vue {\n private loading = false;\n private user!: User;\n // to use func in the template\n private formatDateStringWithTZ = formatDateStringWithTZ;\n private drafts: JobDraftsListItem[] = [];\n\n private headers = [\n { text: 'Id', value: 'id', align: 'left' },\n { text: 'Name', value: 'name', align: 'left' },\n { text: 'Created by', value: 'created_by', align: 'left' },\n { text: 'Modified date', value: 'modified', align: 'left' },\n { text: 'Created date', value: 'created', align: 'left' },\n { text: 'Edit', align: 'start', sortable: false, value: 'edit' },\n { text: 'Delete', align: 'start', sortable: false, value: 'delete' },\n ];\n\n private pageData: DraftsResponseData = {\n count: 0,\n next: '',\n previous: '',\n results: [],\n };\n\n private pagination = {\n page: 1,\n current: 1,\n total: 0,\n perPage: '10',\n visible: 7,\n perPageOptions: ['1', '5', '10', '50', '100'],\n };\n\n private async updatePagination() {\n await this.getDraftsWrapper();\n // Pagination corrections:\n this.pagination.total = Math.ceil(this.pageData.count / Number(this.pagination.perPage));\n if (this.pagination.current === 0 && this.pagination.total >= 1) {\n this.pagination.current = 1;\n }\n if (this.pagination.current > this.pagination.total) {\n this.pagination.current = this.pagination.total;\n }\n }\n\n @Watch('pagination.perPage')\n private perPageSelectChanged() {\n this.pagination.current = 1;\n this.updatePagination();\n }\n\n private editItem(id): void {\n this.$router.push({ path: `/jobbooking/advanced/draft/${id}` });\n }\n\n private deleteItem(id): void {\n const showError = () =>\n this.$notify({\n group: 'network',\n title: 'Error deleting the draft',\n text: notificationErrorText,\n type: 'warn',\n });\n deleteDrafts(id)\n .then(res => {\n if (res.status === 204) {\n const deletingItemIndex = this.drafts.findIndex(item => item.id === id);\n this.drafts.splice(deletingItemIndex, 1);\n this.pagination.current = 1;\n this.getDraftsWrapper();\n } else {\n showError();\n }\n })\n .catch(() => {\n showError();\n });\n }\n\n private async getDraftsWrapper() {\n this.loading = true;\n const endpointParams: DraftsRequestData = {\n page: this.pagination.current,\n page_size: Number(this.pagination.perPage),\n };\n await getDrafts(endpointParams)\n .then((data: DraftsResponseData) => {\n this.pageData = data;\n this.drafts = data.results;\n this.pagination.total = Math.ceil(this.pageData.count / Number(this.pagination.perPage));\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n // check\n title: 'Error loading drafts',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n private mounted(): void {\n this.getDraftsWrapper();\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Drafts.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Drafts.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Drafts.vue?vue&type=template&id=d0b363bc&scoped=true\"\nimport script from \"./Drafts.vue?vue&type=script&lang=ts\"\nexport * from \"./Drafts.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Drafts.scss?vue&type=style&index=0&id=d0b363bc&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d0b363bc\",\n null\n \n)\n\nexport default component.exports","import { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{},[_c('Header',{attrs:{\"title\":\"Job Booking\",\"subtitle\":\"Order a job in a convenient way for you:\"}}),_c('div',{staticClass:\"wrapper pa-6\"},[_c(VRow,[_c(VCol,{attrs:{\"cols\":3}},[_c('PageCard',{attrs:{\"title\":\"Book Your Job Here\",\"subtitle\":\"Our primary job booking page\",\"link\":_vm.routeNames.ADVANCED_JOB_BOOKING,\"icon\":\"mdi-microscope\"}})],1),(_vm.$can('staff', 'Job'))?_c(VCol,{attrs:{\"cols\":3}},[_c('PageCard',{attrs:{\"title\":\"Parcel Bookings\",\"subtitle\":\"For general freight services\",\"link\":_vm.routeNames.PARCEL_JOB_BOOKING,\"icon\":\"mdi-truck-fast\"}})],1):_vm._e(),_c(VCol,{attrs:{\"cols\":3}},[_c('PageCard',{attrs:{\"title\":\"Spreadsheet\",\"subtitle\":\"Book jobs using Spreadsheet template file\",\"link\":_vm.routeNames.SPREADSHEET_JOB_BOOKING,\"icon\":\"mdi-table-large\"}})],1),(_vm.$can('staff', 'Job'))?_c(VCol,{attrs:{\"cols\":3}},[_c('PageCard',{attrs:{\"title\":\"Spreadsheet B2B\",\"subtitle\":\"Book B2B jobs using Spreadsheet file\",\"link\":_vm.routeNames.SPREADSHEET_B2B_BOOKING,\"icon\":\"mdi-table-large\"}})],1):_vm._e()],1),_c(VRow,[(_vm.$can('staff', 'Job'))?_c(VCol,{attrs:{\"cols\":3}},[_c('PageCard',{attrs:{\"title\":\"Book Airroad Jobs\",\"subtitle\":\"Book an Air Road jobs\",\"link\":_vm.routeNames.AIR_ROAD_JOBS,\"icon\":\"mdi-airplane\"}})],1):_vm._e(),_c(VCol,{attrs:{\"cols\":3}},[_c('PageCard',{attrs:{\"title\":\"Book from KK Warehouse\",\"subtitle\":\"Use quants list to book a job from KK WH\",\"link\":_vm.routeNames.WAREHOUSE_QUANT_PAGE,\"icon\":\"mdi-home-variant\"}})],1),_c(VCol,{attrs:{\"cols\":3}},[_c('PageCard',{attrs:{\"title\":\"Cust self-pickup from KK WH\",\"subtitle\":\"If Customer wants to pickup products from KK WH by himself\",\"link\":_vm.routeNames.WAREHOUSE_SAME_WH_JB,\"icon\":\"mdi-home-circle\"}})],1),_c(VCol,{attrs:{\"cols\":3}},[_c('PageCard',{attrs:{\"title\":\"Job between KK WHs\",\"subtitle\":\"Internal job between KK WHs\",\"link\":_vm.routeNames.WAREHOUSE_TO_WH_JB,\"icon\":\"mdi-home-circle\"}})],1),(_vm.$can('staff', 'Job'))?_c(VCol,{attrs:{\"cols\":3}},[_c('PageCard',{attrs:{\"title\":\"Site Inspection\",\"subtitle\":\"To book Site inspection job\",\"link\":_vm.routeNames.SITE_INSPECTION_JOB_BOOKING,\"icon\":\"mdi-account-check\"}})],1):_vm._e(),(_vm.$can('staff', 'Job'))?_c(VCol,{attrs:{\"cols\":3}},[_c('PageCard',{attrs:{\"title\":\"Technicians\",\"subtitle\":\"Add technicians to stops\",\"link\":_vm.routeNames.TECHNICIANS,\"icon\":\"mdi-format-list-bulleted-type\"}})],1):_vm._e()],1),_c(VRow,[_c(VCol,{attrs:{\"cols\":3}},[_c('PageCard',{attrs:{\"title\":\"Booked\",\"subtitle\":\"List of booked jobs\",\"link\":_vm.routeNames.BOOKED_JOBS,\"icon\":\"mdi-history\"}})],1),_c(VCol,{attrs:{\"cols\":3}},[_c('PageCard',{attrs:{\"title\":\"Drafts\",\"subtitle\":\"Choose the job from your Drafts\",\"link\":_vm.routeNames.DRAFT_JOB_BOOKING,\"icon\":\"mdi-note-multiple-outline\"}})],1),(_vm.$can('staff', 'Job'))?_c(VCol,{attrs:{\"cols\":3}},[_c('PageCard',{attrs:{\"title\":\"Air Road booked\",\"subtitle\":\"Booked job's list\",\"link\":_vm.routeNames.AIR_ROAD_BOOKED,\"icon\":\"mdi-history\"}})],1):_vm._e()],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{class:!_vm.underConstruction ? 'page-card ma-0 pa-0' : 'page-card page-card__under-construction ma-0 pa-0',attrs:{\"fluid\":\"\"}},[_c('router-link',{staticClass:\"link\",attrs:{\"to\":_vm.linkRouter}},[_c('div',{staticClass:\"header pt-6 pb-4\"},[_c(VIcon,{staticClass:\"icon ma-0 pa-0\",attrs:{\"size\":\"40\"}},[_vm._v(_vm._s(_vm.icon))]),_c('h2',{staticClass:\"title mt-1\"},[_vm._v(_vm._s(_vm.title))])],1),_c('div',{staticClass:\"content pa-4\"},[_c('p',{staticClass:\"subtitle my-0 px-4\"},[_vm._v(_vm._s(_vm.subtitle))])]),_c('div',{staticClass:\"under-construction py-2\"},[_c(VIcon,{staticClass:\"icon\",attrs:{\"size\":\"24\"}},[_vm._v(\"mdi-wrench\")]),_c('p',{staticClass:\"text ml-3\"},[_vm._v(\"under construction\")])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport * as routeNames from '@/router/routeNames';\n\n@Component({})\nexport default class PageCard extends Vue {\n @Prop({ type: String, required: false, default: 'Job Booking' }) public title!: string;\n @Prop({ type: String, required: false, default: 'Order a job in a convenient way for you:' })\n public subtitle!: string;\n @Prop({ type: String, required: false, default: routeNames.SPREADSHEET_JOB_BOOKING }) public link!: string;\n @Prop({ type: String, required: false, default: 'mdi-home' }) public icon!: string;\n @Prop({ type: Boolean, required: false, default: false }) public underConstruction!: boolean;\n\n private linkRouter = {\n name: this.link,\n };\n\n private mounted() {\n this.linkRouter = {\n name: this.link,\n };\n if (this.$router.resolve(this.linkRouter).resolved.matched.length === 0) {\n this.linkRouter.name = routeNames.JOB_BOOKING;\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PageCard.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PageCard.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PageCard.vue?vue&type=template&id=fd2c8270&scoped=true\"\nimport script from \"./PageCard.vue?vue&type=script&lang=ts\"\nexport * from \"./PageCard.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PageCard.scss?vue&type=style&index=0&id=fd2c8270&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fd2c8270\",\n null\n \n)\n\nexport default component.exports","\nimport Header from '@/components/jobBooking/Header/Header.vue';\nimport PageCard from '@/components/jobBooking/pageCard/PageCard.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport * as routeNames from '@/router/routeNames';\n\n@Component({\n components: {\n BackButton,\n Header,\n PageCard,\n },\n computed: {\n ...mapState(['user']),\n },\n})\nexport default class JobBooking extends Vue {\n public routeNames = routeNames;\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBooking.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBooking.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobBooking.vue?vue&type=template&id=c5ca247c&scoped=true\"\nimport script from \"./JobBooking.vue?vue&type=script&lang=ts\"\nexport * from \"./JobBooking.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobBooking.scss?vue&type=style&index=0&id=c5ca247c&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c5ca247c\",\n null\n \n)\n\nexport default component.exports","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"jobbooking-advanced\",on:{\"change\":function($event){return _vm.formChanged()}}},[_c(VForm,{ref:\"form\",attrs:{\"lazy-validation\":\"\"}},[_c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 py-0\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"Job booking / Advanced\")])])],1),_c('div',{staticClass:\"wrapper customerDetailsFieldsetAndReset mt-2 ml-1 mr-10\"},[_c('div',{staticClass:\"customerDetailsFieldsetItem\"},[_c('CustomerDetailsFieldGroup',{attrs:{\"userData\":_vm.userData,\"setCustomerCode\":_vm.setCustomerCode,\"handlePhoneBlur\":_vm.onlyNumberAndSpaceBlur}})],1),_c('div',{staticClass:\"resetItem\"},[_c('Button',{staticClass:\"btn-clear-all mt-1\",attrs:{\"size\":\"normal\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-close\",\"text\":\"Clear form\",\"loading\":_vm.loading,\"tabindex\":7,\"data-cy\":\"btn-clearForm\"},nativeOn:{\"click\":function($event){return _vm.clearForm.apply(null, arguments)}}})],1)])])]),_c(VContainer,{staticClass:\"wrapper ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"delivery-details mt-8 mx-7\"},[_c('h2',{staticClass:\"text-xl font-semibold\"},[_vm._v(\"Pick up / Delivery details\")]),_c('DeliveryDetails',{attrs:{\"customerCode\":_vm.userData.customerCode,\"stop3\":_vm.stop3,\"PStops\":_vm.stops,\"dateTimes\":_vm.dateTimes,\"uiState\":_vm.uiState},on:{\"toggleStop3\":_vm.toggleStop3,\"hideStop3\":_vm.hideStop3,\"changeStops\":_vm.changeStops,\"changePriority\":_vm.changePriority,\"changeInterState\":_vm.changeInterState,\"changeWhCustomerCustomer\":_vm.changeWhCustomerCustomer,\"changeDatesRoot\":_vm.changeDatesRoot}})],1),_c('div',{staticClass:\"goods my-5 mx-7\"},[_c('h2',{staticClass:\"text-xl font-semibold\"},[_vm._v(\"Goods:\")]),_vm._l((_vm.stop3 ? 2 : 1),function(good){return _c('div',{key:good,staticClass:\"good-wrapper\"},[_c('Goods',{attrs:{\"goodNumber\":good,\"stopNames\":_vm.stopNames,\"stops\":_vm.stops,\"customerCode\":_vm.userData.customerCode,\"goodsData\":_vm.goods[good - 1],\"goodsOnFirstLegCounter\":_vm.goods[0] ? _vm.goods[0].tableData.length + 1 : 1},on:{\"changeGoods\":_vm.changeGoods}})],1)})],2),_c(VDivider,{staticClass:\"divider mr-3\"}),_c('div',{staticClass:\"files my-5 mx-7\"},[_c('div',{staticClass:\"header-part\"},[_vm._v(\"Add images or documents if needed:\")]),_c(VCol,{attrs:{\"cols\":\"4\"}},[_c(VExpandTransition,[_c('FilesTable',{attrs:{\"files\":_vm.files},on:{\"deleteFile\":_vm.deleteFile}})],1)],1),_c('UploadAttachments',{attrs:{\"PFiles\":_vm.files,\"warning\":`Only PDF files will be uploaded to drivers runs.\n Other files can be added for internal operations use.`},on:{\"changeFiles\":_vm.changeFiles}})],1),_c(VDivider,{staticClass:\"divider mr-3\"}),_c(VExpandTransition,[(_vm.errorFromAPIResponse.length > 0)?_c(VRow,[_c(VCol,{staticClass:\"mx-4\"},[_c('p',{staticClass:\"error-response ma-0 mt-2 mr-7 pa-0\"},[_vm._v(_vm._s(_vm.errorFromAPIResponse))])])],1):_vm._e()],1),_c(VExpandTransition,[(_vm.jobHasPriority || _vm.jobIsInterState || _vm.jobHasRecycledProduct || _vm.jobIsWhCustomerCustomer)?_c(VRow,[_c(VCol,{staticClass:\"d-flex justify-end mx-4\"},[_c('div',{staticClass:\"icon mt-2 mr-4\"},[_c(VIcon,{staticClass:\"icon mt-1\",attrs:{\"size\":\"32\",\"color\":\"orange\"}},[_vm._v(\"mdi-alert-box\")])],1),_c('div',{staticClass:\"text mr-7 pa-2 mb-2\"},[_c('ul',{staticClass:\"list-disc\"},[(_vm.jobHasPriority)?_c('li',{staticClass:\"job-warnings ma-0 pa-0 pt-2\"},[_vm._v(\"This job has priority delivery\")]):_vm._e(),(_vm.jobIsInterState)?_c('li',{staticClass:\"job-warnings ma-0 pa-0 pt-2\"},[_vm._v(\" This job is an Interstate delivery? Are you sure? \")]):_vm._e(),(_vm.jobIsWhCustomerCustomer)?_c('li',{staticClass:\"job-warnings ma-0 pa-0 pt-2\"},[_vm._v(\" The second leg of this job is a customer-to-customer delivery \")]):_vm._e(),(_vm.jobHasRecycledProduct)?_c('li',{staticClass:\"job-warnings ma-0 pa-0 pt-2\"},[_vm._v(\" Are you sure? Some products are marked as scrap! \")]):_vm._e()])])])],1):_vm._e()],1),(_vm.jobHasPriority || _vm.jobIsInterState || _vm.jobIsWhCustomerCustomer)?_c(VDivider,{staticClass:\"divider mr-3\"}):_vm._e(),_c(VRow,[_c(VCol,{staticClass:\"section-submit d-flex justify-space-between align-baseline mx-7\"},[_c('div',{staticClass:\"d-flex align-baseline\"},[_c(VTextField,{staticClass:\"draft-input\",attrs:{\"error\":_vm.draftShowError && _vm.draftTitle.length === 0 ? true : false,\"error-messages\":_vm.draftShowError && _vm.draftTitle.length === 0 ? 'Please enter the name of the draft' : '',\"background-color\":\"white\",\"label\":\"Draft name\",\"outlined\":\"\"},model:{value:(_vm.draftTitle),callback:function ($$v) {_vm.draftTitle=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"draftTitle\"}}),_c('Button',{staticClass:\"btn-save-as-draft mt-4 ml-2 mr-6 mb-16\",attrs:{\"size\":\"normal\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"icon\":\"mdi-file-plus\",\"text\":\"Save as a new draft\",\"loading\":_vm.draftIsLoading,\"disabled\":_vm.draftIsLoading},nativeOn:{\"click\":function($event){return _vm.createDraft.apply(null, arguments)}}}),(_vm.jobIsDraft)?_c('Button',{staticClass:\"btn-save-as-draft mt-4 mr-6 mb-16\",attrs:{\"size\":\"normal\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-file-check\",\"text\":\"Save this draft\",\"loading\":_vm.draftIsLoading,\"disabled\":_vm.draftIsLoading},nativeOn:{\"click\":function($event){return _vm.saveDraft.apply(null, arguments)}}}):_vm._e(),_c('router-link',{staticClass:\"drafts-link\",attrs:{\"to\":{\n name: _vm.routeNames.DRAFT_JOB_BOOKING,\n }}},[_c('p',[_vm._v(\"Drafts list\")])])],1),_c('Button',{staticClass:\"mt-4 mr-3 mb-16\",attrs:{\"size\":\"big\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-file-edit-outline\",\"text\":\"Book the job\",\"data-cy\":\"btn-submit\",\"loading\":_vm.loading,\"disabled\":_vm.loading},nativeOn:{\"click\":function($event){return _vm.bookJob.apply(null, arguments)}}})],1)],1),_c('div',{staticClass:\"flex justify-start px-11 pt-1\",class:[_vm.showFooter ? 'footer' : 'footer footer-hidden', _vm.isSideMenuOpen ? 'sidebar-open' : '']},[_c('div',{staticClass:\"wrapper flex justify-between items-center\"},[_c('div',{staticClass:\"draft-btns d-flex align-baseline mr-12\"},[_c(VTextField,{staticClass:\"draft-input dense\",attrs:{\"error\":_vm.draftShowError && _vm.draftTitle.length === 0 ? true : false,\"error-messages\":_vm.draftShowError && _vm.draftTitle.length === 0 ? 'Please enter the name of the draft' : '',\"dense\":\"\",\"background-color\":\"white\",\"label\":\"Draft name\",\"outlined\":\"\"},model:{value:(_vm.draftTitle),callback:function ($$v) {_vm.draftTitle=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"draftTitle\"}}),_c('Button',{staticClass:\"btn-save-as-draft ml-2 mr-6\",attrs:{\"size\":\"small\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"icon\":\"mdi-file-plus\",\"text\":\"Save as a new draft\",\"loading\":_vm.draftIsLoading,\"disabled\":_vm.draftIsLoading},nativeOn:{\"click\":function($event){return _vm.createDraft.apply(null, arguments)}}}),(_vm.jobIsDraft)?_c('Button',{staticClass:\"btn-save-as-draft mr-6\",attrs:{\"size\":\"small\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-file-check\",\"text\":\"Save this draft\",\"loading\":_vm.draftIsLoading,\"disabled\":_vm.draftIsLoading},nativeOn:{\"click\":function($event){return _vm.saveDraft.apply(null, arguments)}}}):_vm._e(),_c('router-link',{staticClass:\"drafts-link\",attrs:{\"to\":{\n name: _vm.routeNames.DRAFT_JOB_BOOKING,\n }}},[_c('p',[_vm._v(\"Drafts list\")])])],1),_c('Button',{staticClass:\"mt-1 ml-12 mr-12\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-file-edit-outline\",\"text\":\"Book the job\",\"data-cy\":\"btn-submit-small\",\"loading\":_vm.loading,\"disabled\":_vm.loading},nativeOn:{\"click\":function($event){return _vm.bookJob.apply(null, arguments)}}})],1)])],1)],1),_c(VDialog,{staticClass:\"dialog-wrapper\",attrs:{\"max-width\":\"350\",\"persistent\":\"\"},model:{value:(_vm.showRecycleProductDialog),callback:function ($$v) {_vm.showRecycleProductDialog=$$v},expression:\"showRecycleProductDialog\"}},[_c(VCard,[_c('div',{staticClass:\"dialog-header\"},[_c('p',{staticClass:\"pa-4\"},[_vm._v(\"Are you sure? Some products are marked as scrap!\")])]),_c('div',{staticClass:\"dialog-content\"},[_c(VCardActions,[_c(VSpacer),_c('Button',{staticClass:\"btn\",attrs:{\"size\":\"small\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"icon\":\"mdi-close\",\"text\":\"Cancel\"},nativeOn:{\"click\":function($event){(_vm.bookJobWithRecycledConfirmed = false), (_vm.showRecycleProductDialog = false)}}}),_c('Button',{staticClass:\"btn\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-file-edit-outline\",\"text\":\"Book anyway\"},nativeOn:{\"click\":function($event){(_vm.showRecycleProductDialog = false), (_vm.bookJobWithRecycledConfirmed = true), _vm.bookJob()}}})],1)],1)])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VCombobox } from 'vuetify/lib/components/VCombobox';\nimport { VFadeTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mt-4 pr-4\"},[_c(VRow,{staticClass:\"cards-wrapper\"},_vm._l((3),function(stop){return _c(VCol,{key:stop,staticClass:\"card-wrapper\",attrs:{\"cols\":\"4\"}},[(stop === 3 && !_vm.stop3)?_c(VFadeTransition,[_c('div',{staticClass:\"stop3-btn\",attrs:{\"tabIndex\":2 * _vm.tabItemsCount + _vm.tabItemsPrevCount + 1}},[_c('Button',{staticClass:\"btn-stop-add\",staticStyle:{\"width\":\"180px\"},attrs:{\"disabled\":_vm.stops[1].state === '' || _vm.stops[1].warehouse,\"size\":\"normal\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-plus\",\"text\":\"Add stop 3\"},nativeOn:{\"click\":function($event){return _vm.addStop.apply(null, arguments)}}}),_c('p',{staticClass:\"tip mt-4 ml-1\"},[_vm._v(\" Stop #3 must be a KK warehouse at this stage - Please select what you would like to happen to your return \")])],1)]):_c(VFadeTransition,{attrs:{\"duration\":\"1\"}},[_c('div',{staticClass:\"flex min-w-80\"},[_c(VCard,{staticClass:\"elevation-1 w-full\"},[_c('div',{staticClass:\"stop-header pb-2\"},[(_vm.stops[stop - 1].warehouse)?_c('div',{staticClass:\"warehouse-tooltip\"},[_c(VTooltip,{staticClass:\"tooltip\",attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c(VIcon,_vm._g(_vm._b({attrs:{\"color\":\"white\"}},'v-icon',attrs,false),on),[_vm._v(\"mdi-package-variant\")])]}}],null,true)},[_c('span',[_vm._v(\"Warehouse stop\")])])],1):_vm._e(),_c('div',{staticClass:\"stop-header-row d-flex justify-space-between align-baseline\"},[_c('div',{staticClass:\"pl-1\"},[_vm._v(\" Stop \"+_vm._s(stop)+\" \"),(stop === 1)?_c('span',{staticClass:\"stop-header-desk\"},[_vm._v(\"/ pick up from:\")]):_vm._e(),(stop === 2)?_c('span',{staticClass:\"stop-header-desk\"},[_vm._v(\"/ deliver to:\")]):_vm._e()]),(stop === 3)?_c(VIcon,{attrs:{\"color\":\"black\",\"size\":\"24\"},on:{\"click\":function($event){return _vm.$emit('toggleStop3')}}},[_vm._v(\"mdi-close\")]):_vm._e()],1),_c('div',{staticClass:\"stop-header-row stop-header-toggle mt-1 ml-1\"},[_c('p',{staticClass:\"text ma-0 pa-0\",class:[_vm.customerCode === '' ? 'disabled' : '']},[_vm._v(\"Customer address\")]),_c(VSwitch,{staticClass:\"toggle-wh ma-0 pa-0 ml-2 mr-1\",attrs:{\"disabled\":_vm.customerCode === '',\"tabindex\":(stop - 1) * _vm.tabItemsCount + _vm.tabItemsPrevCount + 1,\"color\":\"#9C8CFF\"},on:{\"change\":function($event){return _vm.toggleWarehouse(stop)}},model:{value:(_vm.stops[stop - 1].warehouse),callback:function ($$v) {_vm.$set(_vm.stops[stop - 1], \"warehouse\", $$v)},expression:\"stops[stop - 1].warehouse\"}}),_c('p',{staticClass:\"text ma-0 pa-0\",class:[_vm.customerCode === '' ? 'disabled' : '']},[_vm._v(\"KK Warehouse\")])],1)]),_c('div',{staticClass:\"stop-body\"},[_c('div',{staticClass:\"stop-name-wrapper\"},[(_vm.addressChosen[stop - 1] && _vm.stops[stop - 1].warehouse && stop !== 3)?_c(VTooltip,{staticClass:\"clear-selected\",attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c(VIcon,_vm._g(_vm._b({attrs:{\"color\":\"purple\",\"size\":\"24\"},on:{\"click\":function($event){return _vm.clearAddressBook(stop - 1)}}},'v-icon',attrs,false),on),[_vm._v(\"mdi-close-circle\")])]}}],null,true)},[_c('span',[_vm._v(\"Clear selected\")])]):_vm._e(),_c(VCombobox,{staticClass:\"stop-input\",attrs:{\"label\":\"Customer\",\"outlined\":\"\",\"solo\":\"\",\"persistent\":\"\",\"items\":_vm.stops[stop - 1].warehouse ? _vm.addressesWarehousesNames : _vm.addressesWithoutWarehousesNames,\"value\":_vm.stops[stop - 1].name,\"maxlength\":30,\"append-icon\":\"\",\"data-cy\":\"input-address-name\",\"menu-props\":{ 'allow-overflow': true },\"tabindex\":(stop - 1) * _vm.tabItemsCount + _vm.tabItemsPrevCount + 2,\"rules\":[v => !!v || 'Stop name is required field'],\"disabled\":_vm.customerCode === ''},on:{\"change\":function($event){return _vm.changeAddressBook($event, stop)},\"keydown\":function($event){return _vm.keyPressedddressBookName($event, stop)},\"click:clear\":function($event){return _vm.clearAddressBook(stop - 1)}}},[_c('div',{attrs:{\"slot\":\"append\",\"color\":\"black\"},slot:\"append\"},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,[_vm._v(\"mdi-card-account-details\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Choose from the Address book\")])])],1)]),(_vm.stops[stop - 1].name && _vm.stops[stop - 1].name.length >= 30)?_c('p',{staticClass:\"stop-input-name-hint ml-3\"},[_vm._v(\" The maximum length is limited to 30 characters \")]):_vm._e()],1),_c(VTextField,{staticClass:\"stop-input\",attrs:{\"label\":\"Street address\",\"outlined\":\"\",\"data-cy\":\"input-address-line1\",\"hint\":_vm.stops[stop - 1].address_2 && _vm.stops[stop - 1].address_2.length >= 30\n ? 'The maximum length is limited to 30 characters'\n : null,\"maxlength\":30,\"tabindex\":(stop - 1) * _vm.tabItemsCount + _vm.tabItemsPrevCount + 3,\"rules\":[v => !!v || 'Street address is required field'],\"disabled\":_vm.stops[stop - 1].warehouse},model:{value:(_vm.stops[stop - 1].address_2),callback:function ($$v) {_vm.$set(_vm.stops[stop - 1], \"address_2\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"stops[stop - 1].address_2\"}}),_c(VTextField,{staticClass:\"stop-input\",attrs:{\"label\":\"Room / Level / Unit\",\"outlined\":\"\",\"data-cy\":\"input-address-line2\",\"hint\":_vm.stops[stop - 1].address_1 && _vm.stops[stop - 1].address_1.length >= 30\n ? 'The maximum length is limited to 30 characters'\n : null,\"maxlength\":30,\"tabindex\":(stop - 1) * _vm.tabItemsCount + _vm.tabItemsPrevCount + 4,\"disabled\":_vm.stops[stop - 1].warehouse},model:{value:(_vm.stops[stop - 1].address_1),callback:function ($$v) {_vm.$set(_vm.stops[stop - 1], \"address_1\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"stops[stop - 1].address_1\"}}),_c('LookupSuburb',{attrs:{\"data-cy\":\"input-suburb\",\"chosen\":{\n suburb: _vm.stops[stop - 1].suburb,\n suburbId: _vm.stops[stop - 1].suburbId,\n postCode: _vm.stops[stop - 1].postCode,\n state: _vm.stops[stop - 1].state,\n },\"autocomplete\":_vm.autocompleteSuburb,\"stop\":stop - 1,\"editedItem\":-1,\"tabIndex\":(stop - 1) * _vm.tabItemsCount + _vm.tabItemsPrevCount + 5,\"disabled\":_vm.stops[stop - 1].warehouse || false},on:{\"change\":_vm.changeSuburb,\"clear\":_vm.clearSuburb}}),_c(VTextField,{staticClass:\"stop-input\",attrs:{\"label\":\"State\",\"outlined\":\"\",\"disabled\":\"\"},model:{value:(_vm.stops[stop - 1].state),callback:function ($$v) {_vm.$set(_vm.stops[stop - 1], \"state\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"stops[stop - 1].state\"}}),_c(VTextField,{staticClass:\"stop-input\",attrs:{\"label\":\"Post Code\",\"outlined\":\"\",\"disabled\":\"\"},model:{value:(_vm.stops[stop - 1].postCode),callback:function ($$v) {_vm.$set(_vm.stops[stop - 1], \"postCode\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"stops[stop - 1].postCode\"}}),(_vm.uiState.stops[stop - 1])?_c('div',{staticClass:\"flex justify-start items-center\"},[_c('label',{staticClass:\"flex align-center cursor-pointer\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.uiState.stops[stop - 1].addressBookCheckbox),expression:\"uiState.stops[stop - 1].addressBookCheckbox\"}],staticClass:\"t-checkbox\",attrs:{\"disabled\":_vm.stops[stop - 1].warehouse,\"tabindex\":(stop - 1) * _vm.tabItemsCount + _vm.tabItemsPrevCount + 6,\"data-cy\":\"checkbox-address-book\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.uiState.stops[stop - 1].addressBookCheckbox)?_vm._i(_vm.uiState.stops[stop - 1].addressBookCheckbox,null)>-1:(_vm.uiState.stops[stop - 1].addressBookCheckbox)},on:{\"change\":function($event){var $$a=_vm.uiState.stops[stop - 1].addressBookCheckbox,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.uiState.stops[stop - 1], \"addressBookCheckbox\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.uiState.stops[stop - 1], \"addressBookCheckbox\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.uiState.stops[stop - 1], \"addressBookCheckbox\", $$c)}}}}),_c('span',{staticClass:\"ml-2 pr-1 text-base leading-4 text-gray-600\"},[_vm._v(\"Add to the address book\")])]),_c('router-link',{staticClass:\"address-book-link ma-0 pa-0\",attrs:{\"to\":{\n name: _vm.routeNames.ADDRESS_BOOK,\n },\"target\":\"_blank\",\"tabindex\":(stop - 1) * _vm.tabItemsCount + _vm.tabItemsPrevCount + 7}},[_c('p',{staticClass:\"ma-0 pa-0 text-base whitespace-nowrap\"},[_vm._v(\"My address book\")])])],1):_vm._e(),_c('h4',{staticClass:\"ma-0 mt-4 pa-0\"},[_vm._v(\"Contact Details:\")]),_c(VTextField,{staticClass:\"stop-input\",attrs:{\"label\":\"Name\",\"outlined\":\"\",\"data-cy\":\"input-name\",\"maxlength\":30,\"tabindex\":(stop - 1) * _vm.tabItemsCount + _vm.tabItemsPrevCount + 8,\"rules\":[_vm.warehouseContactRules(_vm.stops[stop - 1].notesName, stop, 'Name')]},model:{value:(_vm.stops[stop - 1].notesName),callback:function ($$v) {_vm.$set(_vm.stops[stop - 1], \"notesName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"stops[stop - 1].notesName\"}}),_c(VTextField,{staticClass:\"stop-input\",attrs:{\"label\":\"Phone\",\"outlined\":\"\",\"data-cy\":\"input-phone\",\"maxlength\":20,\"tabindex\":(stop - 1) * _vm.tabItemsCount + _vm.tabItemsPrevCount + 9,\"rules\":[_vm.warehouseContactRules(_vm.stops[stop - 1].notesPhone, stop, 'Phone')],\"min\":\"0\"},on:{\"keypress\":_vm.onlyNumberAndSpace,\"blur\":function($event){return _vm.onlyNumberAndSpaceBlur(stop)}},model:{value:(_vm.stops[stop - 1].notesPhone),callback:function ($$v) {_vm.$set(_vm.stops[stop - 1], \"notesPhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"stops[stop - 1].notesPhone\"}}),_c(VTextarea,{attrs:{\"outlined\":\"\",\"data-cy\":\"input-instructions\",\"label\":stop === 1 ? 'Collection Instruction' : 'Delivery Instructions',\"tabindex\":(stop - 1) * _vm.tabItemsCount + _vm.tabItemsPrevCount + 10},model:{value:(_vm.stops[stop - 1].notesInstruction),callback:function ($$v) {_vm.$set(_vm.stops[stop - 1], \"notesInstruction\", $$v)},expression:\"stops[stop - 1].notesInstruction\"}}),_c('DateTimes',{attrs:{\"stop\":stop - 1,\"stops_counter\":_vm.PStops.length,\"warehouse\":_vm.stops[stop - 1].warehouse,\"dateTimes\":_vm.dateTimes},on:{\"changeDates\":_vm.changeDates}})],1)]),(stop <= _vm.stops.length - 1)?_c('div',[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c('Icon',{staticClass:\"w-2 mt-6 mx-4 cursor-pointer\",class:_vm.stops.length > 2 && stop === 2 && _vm.stops[2]?.warehouse ? 'cursor-not-allowed' : '',attrs:{\"name\":\"mdi-arrow-left-right\",\"color\":\"gray\",\"colorIntensity\":_vm.stops.length > 2 && stop === 2 && _vm.stops[2]?.warehouse ? '300' : '600',\"size\":\"2xl\"},nativeOn:{\"click\":function($event){return _vm.switchStopClicked(stop)}}})],1)]}}],null,true)},[(_vm.stops.length > 2 && stop === 2 && _vm.stops[2]?.warehouse)?_c('span',[_vm._v(\"Both stops on this leg can't be Warehouses\")]):_c('span',[_vm._v(\"Switch stops\")])])],1):_vm._e()],1)])],1)}),1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getAddressLookupData, getSuburb } from '@/api';\nimport { User } from '@/models/main';\nimport { JBStopDates, JBAdvancedDeliveryDetailsStop, UIStateJobBooking } from '@/models/jbAdvanced';\nimport { AddressBookLookupData } from '@/models/addressBook';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport * as routeNames from '@/router/routeNames';\n\nimport { clearPhoneNumber } from '@/utils/InputProcessingUtilities';\n\nimport Button from '@/components/UI/button/Button.vue';\nimport DateTimes from '@/components/jobBooking/DateTimes/DateTimes.vue';\nimport Icon from '@/components/UI/Icon.vue';\nimport LookupSuburb from '@/components/UI/lookups/LookupSuburb.vue';\n\n@Component({\n components: {\n Button,\n DateTimes,\n Icon,\n LookupSuburb,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class DeliveryDetails extends Vue {\n @Prop(Boolean) private stop3: boolean;\n @Prop(String) private customerCode: string;\n @Prop(Array) private PStops: JBAdvancedDeliveryDetailsStop[];\n @Prop(Array) private dateTimes: JBStopDates[];\n @Prop(Object) private uiState: UIStateJobBooking;\n\n public routeNames = routeNames;\n private addresses: AddressBookLookupData[] = [];\n private addressesWithoutWarehousesNames: string[] = [];\n private addressesWarehousesNames: string[] = [];\n private addressChosen = {\n 0: false,\n 1: false,\n 2: false,\n };\n\n private tabItemsCount = 22;\n private tabItemsPrevCount = 7;\n\n private autocompleteSuburb = getSuburb;\n\n private defaultStopValue: JBAdvancedDeliveryDetailsStop = {\n id: 0,\n suburb: '',\n suburbId: -1,\n state: '',\n postCode: '',\n notesPhone: '',\n notesName: '',\n notesInstruction: '',\n warehouse: false,\n };\n private stops: JBAdvancedDeliveryDetailsStop[] = [\n { ...this.defaultStopValue, id: 0 },\n { ...this.defaultStopValue, id: 1 },\n ];\n private user: User;\n\n // Input rules:\n public warehouseContactRules(value, stop, name) {\n if (!this.stops[stop - 1].warehouse) {\n if (value.length === 0) {\n return `${name} is required field`;\n }\n }\n return true;\n }\n\n private toggleWarehouse(stop): void {\n // Set deafult time for warehouses\n if (this.stops[stop - 1].warehouse) {\n this.dateTimes[stop - 1].timeIsSetted = false;\n }\n // should clear current stop & other stop if it's a warehouse\n if (stop === 1) {\n // clear current\n if (this.addressChosen[0]) {\n this.clear(0);\n }\n // clear 2nd if is a warehouse\n if (this.stops[1].warehouse && this.addressChosen[1]) {\n this.clear(1);\n }\n // switch toggle on 2nd stop\n if (this.stops[1].warehouse) {\n this.stops[1].warehouse = false;\n }\n if (this.stops.length === 3 && !this.stops[0].warehouse) {\n this.$emit('hideStop3');\n }\n }\n if (stop === 2) {\n // clear 1st if is a warehouse\n if (this.stops[0].warehouse && this.addressChosen[0]) {\n this.clear(0);\n }\n // clear current\n if (this.addressChosen[1]) {\n this.clear(1);\n }\n // hide 3rd stop if 2nd is a warehouse\n if (this.stop3) {\n this.$emit('hideStop3');\n }\n // switch toggle on 1st stop\n if (this.stops[0].warehouse) {\n this.stops[0].warehouse = false;\n }\n }\n if (stop === 3) {\n this.clear(2);\n if (this.stops[2].warehouse) {\n this.populateStop3WithWarehouse();\n }\n this.$emit('changeWhCustomerCustomer', !this.stops[2].warehouse);\n }\n }\n\n /**\n * Switch two stops in the list\n * @param stop - The number of the stop to switch with the next one\n */\n public switchStopClicked(stop: number): void {\n // We can't book Customer -> WH -> WH job, so we are disabling the switch for this case\n if (stop === 2 && this.stops[2]?.warehouse) {\n return;\n }\n const tempStop1 = JSON.stringify(this.stops[stop - 1]);\n const tempStop2 = JSON.stringify(this.stops[stop]);\n this.stops[stop - 1] = JSON.parse(tempStop2);\n this.stops[stop] = JSON.parse(tempStop1);\n this.$emit('changeStops', this.stops);\n }\n\n private onlyNumberAndSpace($event) {\n const keyCode = $event.keyCode ? $event.keyCode : $event.which;\n if ((keyCode < 48 || keyCode > 57) && keyCode !== 32 && keyCode !== 40 && keyCode !== 41) {\n $event.preventDefault();\n }\n }\n\n private onlyNumberAndSpaceBlur(stop) {\n this.stops[stop - 1].notesPhone = clearPhoneNumber(this.stops[stop - 1].notesPhone);\n }\n\n @Watch('PStops', { immediate: true, deep: true })\n private watchToPStops() {\n if (this.PStops.length === 0) {\n this.stops = [\n { ...this.defaultStopValue, id: 0 },\n { ...this.defaultStopValue, id: 1 },\n ];\n } else {\n this.stops = this.PStops;\n this.checkInsterState();\n }\n // check chosen addresses\n this.stops.map((stop, i) => {\n if (stop && stop.name) {\n this.addressChosen[i] = true;\n }\n });\n }\n @Watch('stop3', { immediate: true })\n private toggleStop3value() {\n if (this.stop3 && this.stops.length === 2) {\n this.stops.push({ ...this.stops[0], id: 2 });\n } else if (!this.stop3) {\n this.stops.splice(2, 1);\n }\n }\n\n private populateStop3WithWarehouse(): void {\n const warehouses = this.addresses.filter(address => address.warehouse);\n const warehouseInChosenState = warehouses.filter(address => address.suburb.state === this.stops[1].state)[0];\n this.stops[2] = {\n id: 2,\n suburb: warehouseInChosenState?.suburb,\n state: warehouseInChosenState?.suburb?.state,\n postCode: warehouseInChosenState?.suburb?.postcode,\n notesPhone: '',\n notesName: '',\n notesInstruction: '',\n name: warehouseInChosenState?.name,\n address_1: warehouseInChosenState?.line1,\n address_2: warehouseInChosenState?.line2,\n warehouse: warehouseInChosenState?.warehouse,\n suburbId: warehouseInChosenState?.suburb?.id,\n };\n if (!this.uiState.stops[2]) {\n this.uiState.stops[2] = {\n id: 2,\n addressBookCheckbox: false,\n };\n }\n const lookup = {\n suburb: warehouseInChosenState?.suburb?.name,\n state: warehouseInChosenState?.suburb?.state,\n postcode: warehouseInChosenState?.suburb?.postcode,\n suburbId: warehouseInChosenState?.suburb?.id,\n };\n this.changeSuburb(2, lookup);\n }\n\n private addStop(): void {\n if (this.stops[1].state !== '' && !this.stops[1].warehouse) {\n this.$emit('toggleStop3');\n this.populateStop3WithWarehouse();\n }\n }\n\n private checkInsterState(): void {\n this.stops[0]?.state !== this.stops[1]?.state\n ? this.$emit('changeInterState', true)\n : this.$emit('changeInterState', false);\n }\n\n private changeSuburb(stop, item) {\n this.stops[stop].suburb = item.suburb || item.name;\n this.stops[stop].suburbId = item.suburbId || item.id;\n this.stops[stop].postCode = item.postcode;\n this.stops[stop].state = item.state;\n this.$emit('changeStops', this.stops);\n // checking for interstate status\n this.checkInsterState();\n }\n\n private changeDates(dates): void {\n this.$emit('changeDatesRoot', dates);\n }\n\n private clear(stop: number) {\n if (this.stops[stop]) {\n this.stops[stop].suburb = '';\n this.stops[stop].suburbId = -1;\n this.stops[stop].postCode = '';\n this.stops[stop].state = '';\n this.stops[stop].name = '';\n this.stops[stop].address_1 = '';\n this.stops[stop].address_2 = '';\n this.stops[stop].notesName = '';\n this.stops[stop].notesPhone = '';\n this.stops[stop].notesInstruction = '';\n this.addressChosen[stop] = false;\n }\n if (this.uiState.stops[stop]) {\n this.uiState.stops[stop].addressBookCheckbox = false;\n }\n }\n private clearSuburb(stop: number) {\n if (this.stops[stop]) {\n this.stops[stop].suburb = '';\n this.stops[stop].suburbId = 0;\n this.stops[stop].postCode = '';\n this.stops[stop].state = '';\n }\n }\n\n private clearAddressBook(stop: number) {\n this.clear(stop);\n if (stop === 0) {\n this.clear(2);\n this.$emit('hideStop3');\n }\n if (stop === 2) {\n this.$emit('hideStop3');\n }\n }\n\n // getting address book\n // fixme: set prop\n private getAddressBookWrapper(code: string): void {\n getAddressLookupData(code)\n .then((res: AddressBookLookupData[]) => {\n this.addresses = res;\n this.addressesWarehousesNames = [];\n this.addressesWithoutWarehousesNames = [];\n res.forEach((item: AddressBookLookupData) => {\n if (item.warehouse) {\n this.addressesWarehousesNames.push(`${item.name}, ${item.suburb.name}`);\n } else {\n this.addressesWithoutWarehousesNames.push(`${item.name}, ${item.suburb.name}`);\n }\n });\n this.clearNoneExistentAddresses();\n this.watchToPStops();\n })\n .catch(err => {\n console.log(err);\n });\n }\n\n private clearNoneExistentAddresses(): void {\n this.stops.map((stop, idx) => {\n const fullName = `${stop.name}, ${stop.suburb}`;\n if (\n stop.name &&\n stop.name.length > 0 &&\n this.addressesWarehousesNames.length > 0 &&\n !this.addressesWarehousesNames.includes(fullName) &&\n stop.warehouse\n ) {\n this.clearAddressBook(idx);\n // clear 3rd stop if 2nd was changed\n if (idx === 1) {\n this.clearAddressBook(2);\n }\n }\n });\n }\n\n @Watch('customerCode', { immediate: true, deep: true })\n private watchToCustomerCode(): void {\n if (this.customerCode) {\n this.getAddressBookWrapper(this.customerCode);\n }\n }\n\n private keyPressedddressBookName(key, stop) {\n if (key.target.value) {\n this.stops[stop - 1].name = key.target.value.trim();\n }\n }\n\n private changeAddressBook(address, stop) {\n if (address && stop && this.addresses.length >= 1) {\n const chosenAddress = this.addresses.filter(\n item => `${item.name}, ${item.suburb.name}`.trim() === address.trim(),\n );\n // name, address_1, address_2 – 30 symbols limit\n this.stops[stop - 1].name = address.trim().substring(0, 30);\n if (chosenAddress.length >= 1) {\n this.addressChosen[stop - 1] = true;\n this.stops[stop - 1].name = chosenAddress[0].name.trim().substring(0, 30);\n this.stops[stop - 1].address_1 = chosenAddress[0].line1 ? chosenAddress[0].line1.substring(0, 30) : '';\n this.stops[stop - 1].address_2 = chosenAddress[0].line2 ? chosenAddress[0].line2.substring(0, 30) : '';\n this.stops[stop - 1].suburb = chosenAddress[0].suburb;\n this.stops[stop - 1].suburbId = chosenAddress[0].id;\n this.stops[stop - 1].notesName = chosenAddress[0].note_name ? chosenAddress[0].note_name : '';\n this.stops[stop - 1].notesPhone = chosenAddress[0].note_phone ? chosenAddress[0].note_phone : '';\n this.stops[stop - 1].notesInstruction = chosenAddress[0].note_text ? chosenAddress[0].note_text : '';\n this.stops[stop - 1].warehouse = chosenAddress[0].warehouse;\n const lookup = {\n suburb: chosenAddress[0].suburb.name,\n state: chosenAddress[0].suburb.state,\n postcode: chosenAddress[0].suburb.postcode,\n suburbId: chosenAddress[0].suburb.id,\n };\n this.changeSuburb(stop - 1, lookup);\n if (this.stops[stop - 1].warehouse) {\n this.uiState.stops[stop - 1].addressBookCheckbox = false;\n }\n }\n // clear warehouse stop if changed\n if (chosenAddress.length === 0 && this.stops[stop - 1].warehouse) {\n this.clearNoneExistentAddresses();\n this.stops[stop - 1] = this.defaultStopValue;\n }\n this.$emit('changeStops', this.stops);\n }\n }\n\n private created(): void {\n this.uiState.stops = this.stops.map((_, idx) => ({\n id: idx + 1,\n addressBookCheckbox: false,\n }));\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DeliveryDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DeliveryDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DeliveryDetails.vue?vue&type=template&id=a6bf207e&scoped=true\"\nimport script from \"./DeliveryDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./DeliveryDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DeliveryDetails.scss?vue&type=style&index=0&id=a6bf207e&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a6bf207e\",\n null\n \n)\n\nexport default component.exports","import { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListGroup } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c(VListGroup,{staticClass:\"mr-10\",attrs:{\"value\":\"1\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(){return [_c('div',{staticClass:\"table-header mx-0 pa-0 mt-6 mb-6\"},[_vm._v(\" Items from stop #\"+_vm._s(_vm.goodNumber)+\" \"+_vm._s(_vm.stopNames[_vm.goodNumber - 1])+\" to stop #\"+_vm._s(_vm.goodNumber + 1)+\" \"+_vm._s(_vm.stopNames[_vm.goodNumber])+\" \")])]},proxy:true}])},[_c(VDataTable,{staticClass:\"elevation-1 mt-7 goodsTable mr-2\",attrs:{\"headers\":_vm.tableHeaders,\"items\":_vm.goods.tableData,\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"disable-sort\":\"\"},scopedSlots:_vm._u([{key:`header.installation`,fn:function({ header }){return [_c('div',{staticClass:\"d-flex mt-1\"},[_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(_vm._s(header.text))]),_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"500\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,{staticClass:\"ml-2\",attrs:{\"color\":\"purple\"}},[_vm._v(\"mdi-information\")])],1)]}}],null,true)},[_c('span',_vm._l((_vm.installationOptions),function(item){return _c('p',{key:item.value,staticClass:\"tooltip-text\"},[_vm._v(\" \"+_vm._s(item.text)+\": \"+_vm._s(_vm.installationOptionsText[item.value])+\" \")])}),0)])],1)]}},{key:`header.return`,fn:function({ header }){return [_c('div',{staticClass:\"d-flex mt-1\"},[_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(_vm._s(header.text))]),_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"500\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,{staticClass:\"ml-2\",attrs:{\"color\":\"purple\"}},[_vm._v(\"mdi-information\")])],1)]}}],null,true)},[_c('span',_vm._l((_vm.returnOptions),function(item){return _c('p',{key:item.value,staticClass:\"tooltip-text\"},[_vm._v(\" \"+_vm._s(item.text)+\": \"+_vm._s(_vm.returnOptionsTexts[_vm.returnOptions.indexOf(item)])+\" \")])}),0)])],1)]}},{key:`item.model`,fn:function({ item, index }){return [(item.finisher)?_c('div',[_c('AutocompleteFinisher',{staticClass:\"w-full mt-5\",attrs:{\"chosen\":{\n product_id: item.product_id,\n name: item.model,\n },\"autocomplete\":_vm.autocompleteFinisher,\"stop\":_vm.goods.tableData.indexOf(item),\"tabIndex\":_vm.goodNumber === 2\n ? _vm.tabItemsPrevCount + _vm.goodsOnFirstLegCounter * 6 + 5 + index * 6 + 1\n : _vm.tabItemsPrevCount + index * 6 + 1,\"customerCode\":_vm.customerCode,\"data-cy\":\"input-model\"},on:{\"change\":_vm.changeModel}})],1):_c('div',[_c('Autocomplete',{staticClass:\"w-full mt-5\",attrs:{\"chosen\":{\n product_id: item.product_id,\n name: item.model,\n },\"autocomplete\":_vm.autocompleteModel,\"stop\":_vm.goods.tableData.indexOf(item),\"tabIndex\":_vm.goodNumber === 2\n ? _vm.tabItemsPrevCount + _vm.goodsOnFirstLegCounter * 6 + 5 + index * 6 + 1\n : _vm.tabItemsPrevCount + index * 6 + 1,\"data-cy\":\"input-model\"},on:{\"change\":_vm.changeModel}})],1)]}},{key:`item.description`,fn:function({ item, index }){return [_c(VTextField,{staticClass:\"lookup-customer-code px-2 pt-5\",attrs:{\"label\":\"Description\",\"outlined\":\"\",\"data-cy\":\"input-description\",\"maxlength\":200,\"tabIndex\":_vm.goodNumber === 2\n ? _vm.tabItemsPrevCount + _vm.goodsOnFirstLegCounter * 6 + 5 + index * 6 + 2\n : _vm.tabItemsPrevCount + index * 6 + 2},model:{value:(item.description),callback:function ($$v) {_vm.$set(item, \"description\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"item.description\"}})]}},{key:`item.serial_number`,fn:function({ item, index }){return [_c('div',{staticClass:\"serial-number\"},[_c('div',{staticClass:\"input-wrapper\"},[_c(VTextField,{staticClass:\"lookup-customer-code px-2 pt-5\",attrs:{\"label\":\"Serial number\",\"outlined\":\"\",\"data-cy\":\"input-serial\",\"maxlength\":20,\"tabIndex\":_vm.goodNumber === 2\n ? _vm.tabItemsPrevCount + _vm.goodsOnFirstLegCounter * 6 + 5 + index * 6 + 3\n : _vm.tabItemsPrevCount + index * 6 + 3,\"disabled\":!!item.quant_id,\"messages\":!item.quant_id\n ? item.statusText\n : `Editing isn't possible cause a quant is selected. Quant ID: ${item.quant_id}`,},on:{\"blur\":function($event){_vm.blur($event, _vm.goods.tableData.indexOf(item))}},model:{value:(item.serial_number),callback:function ($$v) {_vm.$set(item, \"serial_number\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"item.serial_number\"}})],1)])]}},{key:`item.quantity`,fn:function({ item, index }){return [_c('div',{staticClass:\"d-flex align-center\",attrs:{\"data-cy\":\"input-quantity-wrapper\"}},[_c(VIcon,{staticClass:\"icon-control\",attrs:{\"color\":\"#9C8CFF\"},on:{\"click\":function($event){return _vm.decrementQuantity(item)}}},[_vm._v(\"mdi-minus-circle\")]),_c(VTextField,{staticClass:\"pt-5 centered-input\",attrs:{\"label\":\"Number\",\"placeholder\":\"Number\",\"type\":\"number\",\"outlined\":\"\",\"data-cy\":\"input-quantity\",\"rules\":[v => !!v > 0 || 'Error'],\"disabled\":item.serialNumberFilled,\"tabIndex\":_vm.goodNumber === 2\n ? _vm.tabItemsPrevCount + _vm.goodsOnFirstLegCounter * 6 + 5 + index * 6 + 4\n : _vm.tabItemsPrevCount + index * 6 + 4},model:{value:(item.quantity),callback:function ($$v) {_vm.$set(item, \"quantity\", _vm._n($$v))},expression:\"item.quantity\"}}),_c(VIcon,{staticClass:\"icon-control\",attrs:{\"color\":\"#9C8CFF\"},on:{\"click\":function($event){return _vm.incrementQuantity(item)}}},[_vm._v(\"mdi-plus-circle\")])],1),(_vm.goods.tableData.indexOf(item) !== 0)?_c(VIcon,{staticClass:\"btn-close\",attrs:{\"color\":\"#9C8CFF\",\"size\":\"36\",\"tabIndex\":_vm.goodNumber === 2\n ? _vm.tabItemsPrevCount + _vm.goodsOnFirstLegCounter * 6 + 5 + index * 6 + 7\n : _vm.tabItemsPrevCount + index * 6 + 7},on:{\"click\":function($event){return _vm.deleteItem(item)}}},[_vm._v(\" mdi-close-circle \")]):_vm._e()]}},{key:`item.installation`,fn:function({ item, index }){return [(item.installation === 'FNSHR')?_c('div',{staticClass:\"d-flex align-start finisher ml-2\"},[_c('p',{staticClass:\"text\"},[_vm._v(\"FINISHER\")])]):_c('div',{staticClass:\"d-flex align-baseline installation\"},[_c(VSelect,{staticClass:\"px-2 pt-5\",attrs:{\"items\":_vm.installationOptions,\"label\":\"Technician\",\"outlined\":\"\",\"item-value\":\"value\",\"item-text\":\"text\",\"data-cy\":\"select-installation\",\"messages\":_vm.installationOptionsText[item.installation],\"rules\":[v => !!v || 'Technician required'],\"tabIndex\":_vm.goodNumber === 2\n ? _vm.tabItemsPrevCount + _vm.goodsOnFirstLegCounter * 6 + 5 + index * 6 + 5\n : _vm.tabItemsPrevCount + index * 6 + 5,\"disabled\":_vm.goodNumber === 2 && _vm.stops.length === 3 && !_vm.stops[2].warehouse},model:{value:(item.installation),callback:function ($$v) {_vm.$set(item, \"installation\", $$v)},expression:\"item.installation\"}})],1)]}},{key:`item.return`,fn:function({ item, index }){return [_c(VSelect,{staticClass:\"px-2 pt-5\",attrs:{\"items\":_vm.returnOptions,\"label\":\"Return option\",\"outlined\":\"\",\"item-value\":\"value\",\"item-text\":\"text\",\"data-cy\":\"select-return\",\"messages\":item.returnOptionText,\"rules\":[v => !!v || 'Return option required'],\"tabIndex\":_vm.goodNumber === 2\n ? _vm.tabItemsPrevCount + _vm.goodsOnFirstLegCounter * 6 + 5 + index * 6 + 6\n : _vm.tabItemsPrevCount + index * 6 + 6},on:{\"change\":function($event){_vm.returnOptionChanged(item.returnOption, _vm.goods.tableData.indexOf(item))}},model:{value:(item.returnOption),callback:function ($$v) {_vm.$set(item, \"returnOption\", $$v)},expression:\"item.returnOption\"}})]}}],null,true)}),(_vm.stopGoodsCounter <= 35)?_c('div',{staticClass:\"table-footer elevation-1\"},[_c('div',{staticClass:\"table-footer-btn\",attrs:{\"data-cy\":\"btn-machine-add\"},on:{\"click\":_vm.addMachine}},[_vm._v(\"+ Add machine\")]),_c('div',{staticClass:\"table-footer-btn\",attrs:{\"data-cy\":\"btn-finisher-add\"},on:{\"click\":_vm.addFinisher}},[_vm._v(\"+ Add finisher\")])]):_c('div',{staticClass:\"table-footer elevation-1\"},[_vm._v(\" There are already 36 printers/finishers, this is the limit for one stop \")]),(_vm.goodNumber === 1 && _vm.goodsData)?_c('div',{staticClass:\"additional-wrapper\"},[_c('div',{staticClass:\"additional\"},[_vm._v(\"Additional details:\")]),_c(VRow,{staticClass:\"mt-3\"},[_c(VCol,{staticClass:\"mx-2 my-0 pa-0\",attrs:{\"cols\":\"3\"}},[_c(VSwitch,{staticClass:\"ma-0 mt-4 pa-0 pl-2\",attrs:{\"tabIndex\":_vm.tabItemsPrevCount + _vm.goodsData.tableData.length * 6 + 7,\"label\":\"Stairs\",\"color\":\"#9C8CFF\",\"data-cy\":\"tgl-stairs\"},model:{value:(_vm.goods.checkboxStairs),callback:function ($$v) {_vm.$set(_vm.goods, \"checkboxStairs\", $$v)},expression:\"goods.checkboxStairs\"}}),_c(VSwitch,{staticClass:\"ma-0 pa-0 pl-2\",attrs:{\"tabIndex\":_vm.tabItemsPrevCount + _vm.goodsData.tableData.length * 6 + 8,\"label\":\"Loading Dock Height\",\"color\":\"#9C8CFF\",\"data-cy\":\"tgl-dock\"},model:{value:(_vm.goods.checkboxLoadingDock),callback:function ($$v) {_vm.$set(_vm.goods, \"checkboxLoadingDock\", $$v)},expression:\"goods.checkboxLoadingDock\"}}),_c(VSwitch,{staticClass:\"ma-0 pa-0 pl-2\",attrs:{\"tabIndex\":_vm.tabItemsPrevCount + _vm.goodsData.tableData.length * 6 + 9,\"label\":\"Safety and Site Special Requirements\",\"color\":\"#9C8CFF\",\"data-cy\":\"tgl-safety\"},model:{value:(_vm.goods.checkboxPPE),callback:function ($$v) {_vm.$set(_vm.goods, \"checkboxPPE\", $$v)},expression:\"goods.checkboxPPE\"}}),_c(VSwitch,{staticClass:\"ma-0 pa-0 pl-2\",attrs:{\"tabIndex\":_vm.tabItemsPrevCount + _vm.goodsData.tableData.length * 6 + 10,\"label\":\"Runup\",\"color\":\"#9C8CFF\",\"data-cy\":\"tgl-runup\"},model:{value:(_vm.goods.checkboxRunup),callback:function ($$v) {_vm.$set(_vm.goods, \"checkboxRunup\", $$v)},expression:\"goods.checkboxRunup\"}})],1)],1),_c(VExpandTransition,[(_vm.showStairsNotes)?_c(VRow,{staticClass:\"mt-3 ml-0\"},[_c(VCol,{staticClass:\"mx-2 my-0 pa-0 stairs-details\",attrs:{\"cols\":\"6\"}},[_c('p',{staticClass:\"text\"},[_vm._v(\"Please provide more details. Extra charges may apply if details are not accurate:\")]),_c(VTextarea,{attrs:{\"outlined\":\"\",\"label\":\"Additional details:\",\"data-cy\":\"textarea-additional\",\"tabIndex\":_vm.tabItemsPrevCount + _vm.goodsData.tableData.length * 6 + 11},model:{value:(_vm.goods.stairsNotes),callback:function ($$v) {_vm.$set(_vm.goods, \"stairsNotes\", $$v)},expression:\"goods.stairsNotes\"}})],1)],1):_vm._e()],1)],1):_vm._e()],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getProductLocation, getFinisherByName, getProductModel } from '@/api';\nimport { Header, ProductLocation, StopNames } from '@/models/main';\nimport { JBAdvancedStops, JBGoodsTableData, JBGoodsTableDataFull } from '@/models/jbAdvanced';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport Autocomplete from './Autocomplete.vue';\nimport AutocompleteFinisher from './AutocompleteFinisher.vue';\n\nimport {\n installationOptions,\n installationOptionsText,\n returnOptions,\n returnOptionsList,\n returnOptionsTexts,\n} from '@/utils/PortalConstants';\n\n@Component({\n components: {\n Autocomplete,\n AutocompleteFinisher,\n },\n data() {\n return {\n installationOptions,\n installationOptionsText,\n returnOptions,\n returnOptionsList,\n returnOptionsTexts,\n };\n },\n})\nexport default class Goods extends Vue {\n @Prop(Number) private readonly goodNumber: number;\n @Prop(Number) private readonly goodsOnFirstLegCounter: number;\n @Prop(Object) private readonly stopNames: StopNames;\n @Prop(Array) private readonly stops: JBAdvancedStops;\n @Prop(String) private readonly customerCode: string;\n @Prop(Object) private readonly goodsData: JBGoodsTableDataFull;\n\n private autocompleteModel = getProductModel;\n private tabItemsPrevCount = 66; // 66 actually for now\n\n private tableHeaders: Header[] = [\n { text: 'Model', value: 'model' },\n { text: 'Description', value: 'description' },\n { text: 'Serial number', value: 'serial_number' },\n { text: 'Quantity', value: 'quantity' },\n { text: 'Installation / service', value: 'installation' },\n { text: 'Return option', value: 'return' },\n ];\n private defaultTableValue: JBGoodsTableData = {\n id: 0,\n product_id: 0,\n model: '',\n description: '',\n serial_number: '',\n quantity: 1,\n installation: '',\n returnOption: '',\n returnOptionText: '',\n serialNumberFilled: false,\n statusText: '',\n };\n private goods: JBGoodsTableDataFull = {\n tableData: [{ ...this.defaultTableValue }],\n checkboxStairs: false,\n checkboxLoadingDock: false,\n checkboxPPE: false,\n checkboxRunup: false,\n radioTypeGoods: 'free',\n stairsNotes: '',\n };\n\n private showStairsNotes = false;\n private stopGoodsCounter = 1;\n\n // endpoints\n private changeModel(stop, item) {\n this.goods.tableData[stop].model = item.name;\n this.goods.tableData[stop].product_id = item.product_id;\n }\n\n /**\n * Used from child components by emit()\n * @param stop\n * @private\n */\n private clear(stop: number) {\n this.goods.tableData[stop].model = '';\n this.goods.tableData[stop].product_id = 0;\n this.goods.tableData[stop].serialNumberFilled = false;\n this.goods.tableData[stop].statusText = '';\n }\n\n private blur(event, stop) {\n const product_id = this.goods.tableData[stop].product_id;\n const serial_number = event.target.value;\n this.goods.tableData[stop].serialNumberFilled = false;\n this.goods.tableData[stop].statusText = '';\n\n if (product_id && serial_number) {\n getProductLocation(product_id, serial_number)\n .then((res: ProductLocation) => {\n let inputText = '';\n if (this.goods.tableData[stop].id === stop) {\n if (Object.keys(res).length >= 1) {\n inputText = `Warehouse: ${res.warehouse}, Status: ${res.name}`;\n } else {\n inputText = 'Out of stock';\n }\n this.goods.tableData[stop].serialNumberFilled = true;\n this.goods.tableData[stop].quantity = 1;\n this.goods.tableData[stop].statusText = inputText;\n }\n })\n .catch(() => {\n this.goods.tableData[stop].statusText = 'Out of stock';\n });\n }\n }\n\n private addMachine(): void {\n let newGood = {\n ...this.defaultTableValue,\n id: this.goods.tableData.length,\n };\n if (this.goodNumber === 2 && !this.stops[2].warehouse) {\n newGood = {\n ...newGood,\n installation: 'DLVONLY',\n };\n }\n this.goods.tableData.push(newGood);\n }\n\n private addFinisher(): void {\n const lastIndex = this.goods.tableData.length - 1;\n this.goods.tableData.push({\n ...this.defaultTableValue,\n id: this.goods.tableData.length,\n model: '',\n product_id: -1,\n installation: this.goods.tableData[lastIndex].installation,\n returnOption: this.goods.tableData[lastIndex].returnOption,\n returnOptionText: this.goods.tableData[lastIndex].returnOptionText,\n });\n }\n\n private async autocompleteFinisher(model, customer) {\n let responce = await getFinisherByName(model, customer);\n // TODO: change default name & id?\n responce = [...responce, { name: 'AA-FINISHER', product_id: 6182 }];\n return responce;\n }\n\n private deleteItem(item: JBGoodsTableData): void {\n this.goods.tableData.splice(this.goods.tableData.indexOf(item), 1);\n }\n\n @Watch('goodsData', { immediate: true, deep: true })\n private watchToGoodsData(): void {\n if (this.goods && this.goodsData) {\n this.goods = this.goodsData;\n this.watchToStops();\n }\n }\n\n @Watch('goods', { deep: true })\n private watchToGoods(): void {\n // counting goods. the limit is 36 printers/finishers\n if (this.goods && this.goods.tableData) {\n this.stopGoodsCounter = this.goods?.tableData?.length + 1;\n this.$emit('changeGoods', this.goods, this.goodNumber);\n if (\n this.goods.checkboxStairs ||\n this.goods.checkboxLoadingDock ||\n this.goods.checkboxPPE ||\n this.goods.checkboxRunup\n ) {\n this.showStairsNotes = true;\n } else {\n this.showStairsNotes = false;\n }\n }\n }\n\n private returnOptionChanged(value, idx): void {\n const optionIdx = returnOptionsList.indexOf(value);\n this.goods.tableData[idx].returnOptionText = returnOptionsTexts[optionIdx];\n }\n\n @Watch('stops', { immediate: true, deep: true })\n private watchToStops(): void {\n // if stop 1 is warehouse – show installation\n const installationIndex = this.tableHeaders.findIndex(header => header.value === 'installation');\n if (\n (!this.stops[1]?.warehouse && installationIndex === -1 && this.goodNumber === 1) ||\n (!this.stops[0]?.warehouse && !this.stops[1]?.warehouse && installationIndex === -1 && this.goodNumber !== 2)\n ) {\n this.tableHeaders.splice(5, 0, { text: 'Installation / service', value: 'installation' });\n } else {\n if (\n (!this.stops[0]?.warehouse && this.stops[1]?.warehouse && installationIndex >= 0) ||\n (this.stops[2]?.warehouse && this.goodNumber === 2)\n ) {\n this.tableHeaders.splice(installationIndex, 1);\n this.goods.tableData.map(product => {\n product.installation = '';\n });\n }\n // WH -> Customer -> Customer case\n if (!this.stops[2]?.warehouse && this.goodNumber === 2 && installationIndex === -1) {\n this.tableHeaders.splice(5, 0, { text: 'Installation / service', value: 'installation' });\n this.goods.tableData.map(product => {\n product.installation = 'DLVONLY';\n });\n }\n }\n // if stop 2 / 3 is warehouse – return options on leg 1 / leg 2\n const returnIndex = this.tableHeaders.findIndex(header => header.value === 'return');\n if (this.stops[this.goodNumber]?.warehouse && returnIndex === -1) {\n this.tableHeaders.splice(5, 0, { text: 'Return option', value: 'return' });\n } else {\n if (!this.stops[this.goodNumber]?.warehouse && returnIndex >= 0) {\n this.tableHeaders.splice(returnIndex, 1);\n this.goods.tableData.map(product => {\n product.returnOption = '';\n product.returnOptionText = '';\n });\n }\n }\n }\n\n private decrementQuantity(item: JBGoodsTableData): void {\n if (\n !this.goods.tableData[this.goods.tableData.indexOf(item)].serialNumberFilled &&\n this.goods.tableData[this.goods.tableData.indexOf(item)].quantity > 1\n ) {\n this.goods.tableData[this.goods.tableData.indexOf(item)].quantity -= 1;\n }\n }\n\n private incrementQuantity(item: JBGoodsTableData): void {\n if (!this.goods.tableData[this.goods.tableData.indexOf(item)].serialNumberFilled) {\n this.goods.tableData[this.goods.tableData.indexOf(item)].quantity += 1;\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Goods.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Goods.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Goods.vue?vue&type=template&id=08bb7125&scoped=true\"\nimport script from \"./Goods.vue?vue&type=script&lang=ts\"\nexport * from \"./Goods.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Goods.scss?vue&type=style&index=0&id=08bb7125&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"08bb7125\",\n null\n \n)\n\nexport default component.exports","\nimport {\n bookJobAdvanced,\n createUserAddressBookItem,\n createDraft,\n editDraft,\n getDraft,\n getProfile,\n uploadJobFiles,\n} from '@/api';\nimport { isCancel } from 'axios';\nimport { sendError } from '@/helpers/sentry';\nimport DeliveryDetails from '@/components/jobBooking/DeliveryDetails/DeliveryDetails.vue';\nimport Goods from '@/components/jobBooking/Goods/Goods.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport FilesTable from '@/components/UI/filesTable/FilesTable.vue';\nimport UploadAttachments from '@/components/UI/UploadAttachments/UploadAttachments.vue';\nimport CustomerDetailsFieldGroup from '@/components/fieldGroups/CustomerDetailsFieldGroup.vue';\nimport * as Sentry from '@sentry/vue';\nimport * as routeNames from '@/router/routeNames';\n\nimport { clearPhoneNumber } from '@/utils/InputProcessingUtilities';\nimport { statesTimeZonesList } from '@/utils/PortalConstants';\nimport { convertTimeStringTo24Hours } from '@/utils/InputProcessingUtilities';\nimport { getReferencesParamsWrapper } from '@/helpers/booking';\n\nimport { JobBookingJobData, User, UserDataAdvancedJB } from '@/models/main';\nimport {\n JBAdvancedStop,\n JBAdvancedStopProducts,\n JBAdvancedStops,\n JBGoodsTableData,\n JBGoodsTableDataFull,\n JBStopDates,\n UIStateJobBooking,\n} from '@/models/jbAdvanced';\nimport { addDays, differenceInMilliseconds } from 'date-fns';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport dp from 'date-fns/parse';\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { notificationErrorText, timeZoneDefault } from '@/utils/PortalConstants';\n\nimport { returnOptionsList, returnOptionsTexts } from '@/utils/PortalConstants';\nimport { AxiosError } from 'axios';\nimport { getUserDataForNonStaffUsers } from '@/utils/Common';\n\n@Component({\n components: {\n FilesTable,\n BackButton,\n Button,\n DeliveryDetails,\n Goods,\n UploadAttachments,\n CustomerDetailsFieldGroup,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n ...mapState(['isSideMenuOpen']),\n },\n data() {\n return {\n returnOptionsList,\n returnOptionsTexts,\n };\n },\n})\nexport default class JobBookingAdvanced extends Vue {\n public routeNames = routeNames;\n private loading = false;\n private user: User;\n private stop3 = false;\n private stopsAr: JBAdvancedStop[] = [];\n private productsAr: JBAdvancedStopProducts[] = [];\n private goods: JBGoodsTableDataFull[] = [\n {\n tableData: [\n {\n id: -1,\n model: '',\n product_id: -1,\n serial_number: '',\n quantity: 1,\n installation: '',\n returnOption: '',\n returnOptionText: '',\n },\n ],\n checkboxStairs: false,\n checkboxLoadingDock: false,\n checkboxPPE: false,\n checkboxRunup: false,\n radioTypeGoods: '',\n stairsNotes: '',\n },\n ];\n private files: File[] = [];\n private errorFromAPIResponse = '';\n private jobHasPriority = false;\n private jobIsInterState = false;\n private jobIsWhCustomerCustomer = false;\n private showFooter = true;\n private isSideMenuOpen!: boolean;\n\n // Recycle return option confirmation\n private jobHasRecycledProduct = false;\n private showRecycleProductDialog = false;\n private bookJobWithRecycledConfirmed = false;\n\n private jobIsDraft = false;\n private jobDraftData: JobBookingJobData = {\n schema_version: '1.0',\n customer_code: '',\n caller: '',\n phone: '',\n REF1: '',\n REF2: '',\n REF3: '',\n stops: [],\n products: [],\n };\n private draftIsLoading = false;\n private draftTitle = '';\n private draftTitleOrigin = '';\n private draftShowError = false;\n\n public uiState: UIStateJobBooking = {\n stops: [],\n };\n\n private userDataDefault: UserDataAdvancedJB = {\n customerCode: '',\n caller: '',\n phone_number: '',\n reference1: '',\n reference2: '',\n reference3: '',\n ref1_prompt: 'Reference 1',\n ref2_prompt: 'Reference 2',\n ref3_prompt: 'Reference 3',\n ref1_required: false,\n ref2_required: false,\n ref3_required: false,\n };\n\n private dateTimes: JBStopDates[] = [];\n private dateTimesDefault = '';\n\n private statesTimeZonesList = statesTimeZonesList;\n\n private userData: UserDataAdvancedJB = { ...this.userDataDefault };\n\n private stops: JBAdvancedStops[] = [];\n private stopsDates: JBStopDates[] = [];\n private stopNames = {\n 0: '',\n 1: '',\n 2: '',\n };\n\n private handleScroll(): void {\n const submitSectionHeight = document.getElementsByClassName('section-submit')[0].clientHeight;\n const pageYOffset = window.pageYOffset;\n const body = document.body,\n html = document.documentElement;\n const pageHeight = Math.max(\n body.scrollHeight,\n body.offsetHeight,\n html.clientHeight,\n html.scrollHeight,\n html.offsetHeight,\n );\n const clientHeight = document.documentElement.clientHeight;\n pageHeight - pageYOffset - clientHeight <= submitSectionHeight\n ? (this.showFooter = false)\n : (this.showFooter = true);\n }\n\n private toggleStop3(): void {\n this.stop3 = !this.stop3;\n if (!this.stop3) {\n this.goods.splice(1, 1);\n this.stops.splice(2, 1);\n }\n this.formChanged();\n }\n\n private hideStop3(): void {\n this.stop3 = false;\n this.goods.splice(1, 1);\n this.stops.splice(2, 1);\n this.formChanged();\n }\n\n private setCustomerCode(customerCode: string): void {\n if (customerCode) {\n this.userData.customerCode = customerCode;\n }\n getReferencesParamsWrapper(this.userData.customerCode, this.userData);\n }\n\n private changeDatesRoot(dates): void {\n this.formChanged();\n this.dateTimes = dates;\n this.dateTimesCorrection();\n }\n\n // Updates Stop's names that are above each Goods block\n private changeStops(stops: JBAdvancedStops[]): void {\n this.formChanged();\n this.stops = [];\n this.stops = [...stops];\n if (stops[0] && stops[0].name) {\n this.stopNames[0] = stops[0].name || '';\n }\n if (stops[1] && stops[1].name) {\n this.stopNames[1] = stops[1].name || '';\n }\n if (stops[2] && stops[2].name) {\n this.stopNames[2] = stops[2].name || '';\n }\n }\n\n // setting priority for the job\n private changePriority(value): void {\n this.jobHasPriority = value;\n }\n\n // setting interstate status for the job\n private changeInterState(value): void {\n this.jobIsInterState = value;\n }\n\n // setting WH -> Customer -> Customer warning\n private changeWhCustomerCustomer(value): void {\n this.jobIsWhCustomerCustomer = value;\n }\n\n private changeGoods(goods, stop): void {\n this.formChanged();\n this.goods[stop - 1] = goods;\n // Check product with 'Recycled' return option\n this.jobHasRecycledProduct = this.goods\n .map(good => {\n return good?.tableData.some(item => {\n if (item.returnOption === 'Recycle') {\n return true;\n }\n return false;\n });\n })\n .some(hasRecycle => !!hasRecycle);\n }\n\n private changeFiles(files: File[]): void {\n this.formChanged();\n this.files = [...this.files, ...files];\n }\n\n private deleteFile(fileIndex: number): void {\n this.files.splice(fileIndex, 1);\n }\n\n private formChanged(): void {\n if (!this.jobIsDraft) {\n this.writeJobToLocalStorage();\n }\n if (this.errorFromAPIResponse.length > 0) {\n this.errorFromAPIResponse = '';\n }\n }\n\n private writeJobToLocalStorage(): void {\n const localStorageJobData = {\n userData: this.userData,\n stops: this.stops,\n goods: this.goods,\n };\n const writtenJobData = localStorage.getItem('jobData');\n if (writtenJobData !== JSON.stringify(localStorageJobData)) {\n localStorage.setItem('jobData', JSON.stringify(localStorageJobData));\n }\n }\n\n // LOCAL STORAGE\n private populateDataFromLocalStorage(): void {\n const writtenJobData = localStorage.getItem('jobData');\n if (writtenJobData) {\n const localStorageJobData = JSON.parse(writtenJobData);\n if (localStorageJobData.userData) {\n this.userData = localStorageJobData.userData;\n }\n if (localStorageJobData.stops) {\n this.stops = localStorageJobData.stops;\n if (this.stops.length === 3) {\n this.stop3 = true;\n }\n }\n if (localStorageJobData.goods) {\n this.goods = localStorageJobData.goods;\n }\n }\n }\n\n private onlyNumberAndSpaceBlur() {\n this.userData.phone_number = clearPhoneNumber(this.userData.phone_number);\n }\n\n /**\n * Helper function to generate JSON according to Job-web-schema JSON-schema.\n * @private\n */\n private buildJob() {\n const warehousesStops = {\n 0: false,\n 1: false,\n 2: null,\n };\n this.stopsAr = [];\n this.productsAr = [];\n\n this.stops.map((stop, i) => {\n const stopStop: JBAdvancedStop = {\n time: {\n earliest: '',\n latest: '',\n },\n name: stop.name,\n suburb: stop.suburb,\n state: stop.state,\n postcode: stop.postCode,\n address_line1: stop.address_1 || '',\n address_line2: stop.address_2 || '',\n number: i + 1,\n attributes: [],\n warehouse: stop.warehouse,\n note_text: stop.notesInstruction || '',\n note_name: stop.notesName || '',\n note_phone: stop.notesPhone || '',\n note_email: '',\n };\n warehousesStops[i] = stop.warehouse;\n this.stopsAr[i] = stopStop;\n });\n\n this.dateTimes.map((date: JBStopDates, i: number) => {\n if (i < this.stops.length) {\n this.stopsAr[i].time = {\n earliest: '',\n latest: '',\n };\n const stopState = this.stopsAr[i].state;\n const timeZone = stopState ? this.statesTimeZonesList[stopState].timezone : 'Australia/Sydney';\n const zoneString = format(utcToZonedTime(new Date(date.date), timeZone), 'xxxxx', {\n timeZone,\n });\n if (date.timeIsSetted) {\n this.stopsAr[i].time.earliest = date.date + 'T' + convertTimeStringTo24Hours(date.timeFrom) + zoneString;\n this.stopsAr[i].time.latest = date.date + 'T' + convertTimeStringTo24Hours(date.timeTo) + zoneString;\n } else {\n let timeFrom = '';\n let timeTo = '';\n // KK Warehouse: 7am - 5pm default\n // ANY Customer address: 9am - 5pm default – (AM = 9am - 12pm, PM = 12pm - 5pm)\n if (this.stopsAr[i].warehouse) {\n timeFrom = '07:00 AM';\n timeTo = '05:00 PM';\n } else {\n timeFrom = '09:00 AM';\n timeTo = '05:00 PM';\n }\n this.stopsAr[i].time.earliest = date.date + 'T' + convertTimeStringTo24Hours(timeFrom) + zoneString;\n this.stopsAr[i].time.latest = date.date + 'T' + convertTimeStringTo24Hours(timeTo) + zoneString;\n }\n }\n });\n\n // Returns indexes of customer stops – ex: `[0, 2]` or `[1]`\n const getCustomerStopsIndexes = (stops): number[] => {\n return Object.keys(stops)\n .filter(index => {\n return stops[index] === false;\n })\n .map(index => parseInt(index));\n };\n\n const stopIndexes = getCustomerStopsIndexes(warehousesStops);\n\n // Setting attributes to customer stops\n const setStopAttributes = (attr: string): void => {\n stopIndexes.map(stopIdx => {\n this.stopsAr[stopIdx].attributes.push(attr);\n });\n };\n\n // Setting notes to customer stops\n const setNotes = (notes: string): void => {\n stopIndexes.map(stopIdx => {\n this.stopsAr[stopIdx].note_text += ` Additional details: ${notes}`;\n });\n };\n\n this.goods.map((good, i) => {\n if (good.checkboxLoadingDock) {\n setStopAttributes('LOW');\n }\n if (good.checkboxPPE) {\n setStopAttributes('PPE');\n }\n if (good.checkboxStairs) {\n setStopAttributes('SSC');\n }\n if (good.stairsNotes) {\n setNotes(good.stairsNotes);\n }\n\n if (i + 1 <= this.stops.length) {\n good.tableData.map((data: JBGoodsTableData) => {\n const stopGoods: JBAdvancedStopProducts = {\n model: data.model || '',\n description: data.description || '',\n serial: data.serial_number || '',\n quantity: data.quantity,\n quant_id: data.quant_id,\n installation: data.installation,\n returns:\n data && (data.returnOption || data.returnOption === '') ? data.returnOption.toUpperCase() : 'STORE',\n from_stop: i + 1,\n to_stop: i + 2,\n weight: 0,\n runup: good.checkboxRunup || false,\n };\n if (data.product_id) {\n stopGoods.model_id = data.product_id;\n }\n this.productsAr.push(stopGoods);\n });\n }\n });\n\n const jobData = [\n {\n schema_version: '1.0',\n customer_code: this.userData.customerCode,\n caller: this.userData.caller,\n phone: this.userData.phone_number,\n source: 'WEB',\n REF1: this.userData.reference1,\n REF2: this.userData.reference2,\n REF3: this.userData.reference3,\n stops: this.stopsAr,\n products: this.productsAr,\n },\n ];\n\n return jobData;\n }\n\n /**\n * Book a job via API call\n * @private\n */\n\n private bookValidatedJob(): void {\n this.loading = true;\n const jobData = this.buildJob();\n //TODO: Refactor each .then to ba a sep function\n bookJobAdvanced(jobData)\n .then(res => {\n // files upload\n const params = {\n rh_id: res.data.booked[0].rh_id,\n rh_date: res.data.booked[0].rh_date,\n files: this.files,\n };\n if (this.files.length > 0) {\n uploadJobFiles(params).catch(() => {\n this.$notify({\n group: 'network',\n text: 'Attachments upload failed',\n type: 'warn',\n });\n });\n }\n // save to address book\n this.stops.map((stop, idx) => {\n if (this.uiState.stops[idx]?.addressBookCheckbox) {\n createUserAddressBookItem({\n suburb: stop.suburbId,\n name: stop.name,\n line1: stop.address_1,\n line2: stop.address_2,\n line3: '',\n city: '',\n note_name: stop.notesName,\n note_phone: stop.notesPhone,\n note_email: stop.notesEmail || '',\n note_text: stop.notesInstruction,\n warehouse: stop.warehouse,\n })\n .then(res => {\n if (res.status === 201) {\n this.$notify({\n group: 'network',\n text: 'The address was added to the address book',\n type: 'success',\n duration: 3000,\n });\n }\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error creating an address in the address book',\n text: 'You can add it manually on the Address Book page',\n type: 'warn',\n duration: 3000,\n });\n });\n }\n });\n // redirecting\n this.$router.push({\n path: `/detailed-job?job_id=${res.data.booked[0].rh_id}&job_date=${res.data.booked[0].rh_date}`,\n });\n this.$notify({\n group: 'network',\n clean: true,\n });\n this.$notify({\n group: 'network',\n text: 'Job booked successfully',\n type: 'success',\n duration: 3000,\n });\n // Remove local storage data\n this.removeLocalStorageData();\n })\n .catch((res: AxiosError | any) => {\n // HTTP 400 comes with error message\n if (res?.response?.status === 400 && res?.response?.data.failed.length > 0) {\n this.errorFromAPIResponse = res.response.data.failed[0].error_reason;\n Sentry.withScope(scope => {\n scope.setLevel('warning');\n Sentry.captureException(res.response?.data.failed[0].error_reason);\n });\n this.$nextTick(() => {\n const el = this.$el.querySelector('.error-response') as HTMLElement;\n if (el) {\n this.$vuetify.goTo(el, { offset: 100 });\n }\n });\n } else {\n this.$notify({\n group: 'network',\n title: 'Unknown error during job booking',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(res);\n });\n }\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n private bookJob(): void {\n const form = this.$refs.form as HTMLFormElement;\n if (form.validate()) {\n if (this.jobHasRecycledProduct && this.bookJobWithRecycledConfirmed) {\n this.bookValidatedJob();\n } else if (\n // Show 'Recycled' return option dialog for staff users\n this.jobHasRecycledProduct &&\n !this.bookJobWithRecycledConfirmed &&\n !this.showRecycleProductDialog &&\n this.$ability.can('staff', 'Job')\n ) {\n this.showRecycleProductDialog = true;\n } else {\n this.bookValidatedJob();\n }\n } else {\n this.$nextTick(() => {\n const el = this.$el.querySelector('.v-messages.error--text:first-of-type') as HTMLElement;\n if (el) {\n this.$vuetify.goTo(el, { offset: 100 });\n }\n });\n }\n }\n\n private removeLocalStorageData(): void {\n localStorage.removeItem('jobData');\n }\n\n //Clear all the form data and localStorage data\n private clearForm(): void {\n const form = this.$refs.form as HTMLFormElement;\n form.resetValidation();\n this.stopsAr = [];\n this.stops = [];\n this.goods = [\n {\n tableData: [\n {\n id: 0,\n description: '',\n installation: '',\n model: '',\n product_id: 0,\n quantity: 1,\n returnOption: '',\n returnOptionText: returnOptionsTexts[0],\n serial_number: '',\n },\n ],\n checkboxStairs: false,\n checkboxLoadingDock: false,\n checkboxPPE: false,\n checkboxRunup: false,\n radioTypeGoods: 'radio',\n stairsNotes: '',\n },\n ];\n this.stop3 = false;\n this.changeDatesRoot(JSON.parse(this.dateTimesDefault));\n this.setBusinessDay();\n // for non-staff users only references are cleared\n if (this.$ability.can('staff', 'Job')) {\n this.userData = { ...this.userDataDefault };\n } else {\n this.userData.reference1 = '';\n this.userData.reference2 = '';\n this.userData.reference3 = '';\n }\n this.removeLocalStorageData();\n }\n\n private showSuccess(text: string): void {\n this.$notify({\n group: 'network',\n text: text,\n type: 'success',\n duration: 5000,\n });\n }\n\n private showError(): void {\n this.$notify({\n group: 'network',\n title: 'Error saving the draft',\n text: notificationErrorText,\n type: 'warn',\n duration: 5000,\n });\n }\n\n private saveDraft(): void {\n this.draftIsLoading = true;\n const jobData = this.buildJob();\n const draftId = Number(this.$route.params.id);\n const params = {\n name: this.draftTitleOrigin,\n content: jobData[0],\n };\n editDraft(draftId, params)\n .then(res => {\n if (res.status === 200) {\n this.showSuccess('Draft updated successfully');\n } else {\n this.showError();\n }\n })\n .catch(() => {\n this.showError();\n })\n .finally(() => {\n this.draftIsLoading = false;\n });\n }\n\n private createDraft(): void {\n if (this.draftTitle.length >= 1) {\n this.draftShowError = false;\n this.draftIsLoading = true;\n const jobData = this.buildJob();\n const params = {\n name: this.draftTitle,\n content: jobData[0],\n };\n createDraft(params)\n .then(res => {\n if (res.status === 201) {\n this.draftTitle = '';\n this.showSuccess('Draft created successfully');\n } else {\n this.showError();\n }\n })\n .catch(() => {\n this.showError();\n })\n .finally(() => {\n this.draftIsLoading = false;\n });\n } else {\n this.draftShowError = true;\n }\n }\n\n private populateFromDraft(): void {\n this.userData.customerCode = this.jobDraftData.customer_code;\n this.userData.caller = this.jobDraftData.caller.slice(0, 16);\n this.userData.phone_number = this.jobDraftData.phone;\n this.userData.reference1 = this.jobDraftData.REF1;\n this.userData.reference2 = this.jobDraftData.REF2;\n this.userData.reference3 = this.jobDraftData.REF3;\n\n const dates: JBStopDates[] = [];\n\n this.jobDraftData.stops.map((stop, idx) => {\n // STOPS\n this.stops[idx] = {\n address_1: stop.address_line1,\n address_2: stop.address_line2,\n id: idx,\n name: stop.name,\n notesInstruction: stop.note_text.split(' Additional details:')[0],\n notesName: stop.note_name,\n notesPhone: stop.note_phone,\n postCode: stop.postcode,\n state: stop.state,\n suburb: stop.suburb,\n suburbId: -1,\n warehouse: stop.warehouse,\n };\n // DATES\n const dateTimesDefault = JSON.parse(this.dateTimesDefault);\n try {\n dates[idx] = {\n date: format(\n utcToZonedTime(new Date(stop.time.earliest), statesTimeZonesList[stop.state].timezone),\n 'yyyy-MM-dd',\n { timeZone: statesTimeZonesList[stop.state].timezone },\n ),\n id: idx,\n priority: false,\n timeIsSetted: true,\n timeFrom: format(\n utcToZonedTime(new Date(stop.time.earliest), statesTimeZonesList[stop.state].timezone),\n 'hh:mm aa',\n { timeZone: statesTimeZonesList[stop.state].timezone },\n ),\n timeTo: format(\n utcToZonedTime(new Date(stop.time.latest), statesTimeZonesList[stop.state].timezone),\n 'hh:mm aa',\n { timeZone: statesTimeZonesList[stop.state].timezone },\n ),\n };\n } catch (e) {\n // In case when times or State are not defined we force default times\n dates[idx] = dateTimesDefault[idx];\n }\n });\n if (dates.length === 2) {\n const dateTimesDefault = JSON.parse(this.dateTimesDefault);\n dates[2] = dateTimesDefault[2];\n }\n this.changeDatesRoot(dates);\n // 3rd stop\n if (this.stops.length === 3) {\n this.stop3 = true;\n }\n\n // PRODUCTS\n const goodsDataFirstStop: JBGoodsTableData[] = [];\n const goodsDataSecondStop: JBGoodsTableData[] = [];\n this.jobDraftData.products.map((product, idx) => {\n function returnValue(string) {\n if (string !== '') {\n return string[0].toUpperCase() + string.slice(1).toLowerCase();\n }\n return string;\n }\n\n const productData = {\n id: idx,\n description: product.description,\n from_stop: product.from_stop,\n installation: product.installation,\n // TODO: change default name & id?\n model: product.model === 'Std Finisher' ? 'AA-FINISHER' : product.model,\n product_id: product.model === 'Std Finisher' ? 6182 : product.model_id || 0,\n quantity: product.quantity,\n quant_id: product.quant_id,\n returnOption: returnValue(product.returns) || '',\n returnOptionText: returnOptionsTexts[returnOptionsList.indexOf(returnValue(product.returns))],\n serial_number: product.serial,\n to_stop: product.to_stop,\n weight: product.weight,\n runup: product.runup || false,\n };\n if (product.from_stop === 1) {\n goodsDataFirstStop[goodsDataFirstStop.length] = productData;\n }\n if (product.from_stop === 2) {\n goodsDataSecondStop[goodsDataSecondStop.length] = productData;\n }\n });\n\n let readFromIdx = 0;\n if (this.jobDraftData?.stops[0]?.warehouse && !this.jobDraftData?.stops[2]?.warehouse) {\n readFromIdx = 1;\n }\n if (!this.jobDraftData?.stops[0]?.warehouse && this.jobDraftData?.stops[1]?.warehouse) {\n readFromIdx = 0;\n }\n if (this.jobDraftData?.stops[0]?.warehouse && this.jobDraftData?.stops[2]?.warehouse) {\n readFromIdx = 1;\n }\n\n this.goods = [\n {\n tableData: goodsDataFirstStop,\n checkboxStairs: this.jobDraftData?.stops[readFromIdx]?.attributes.indexOf('SSC') >= 0 ? true : false,\n checkboxLoadingDock: this.jobDraftData?.stops[readFromIdx]?.attributes.indexOf('LOW') >= 0 ? true : false,\n checkboxPPE: this.jobDraftData?.stops[readFromIdx]?.attributes.indexOf('PPE') >= 0 ? true : false,\n checkboxRunup: this.jobDraftData?.products[0]?.runup || false,\n radioTypeGoods: 'radio',\n stairsNotes: this.jobDraftData.stops[readFromIdx].note_text.split(' Additional details:')[1],\n },\n {\n tableData: goodsDataSecondStop,\n checkboxStairs: false,\n checkboxLoadingDock: false,\n checkboxPPE: false,\n checkboxRunup: false,\n radioTypeGoods: 'radio',\n stairsNotes: '',\n },\n ];\n }\n\n // DATE TIMES\n private setBusinessDay(): void {\n let nextBusinessDayIndex = 1;\n if (addDays(new Date(), 1).getDay() === 6) {\n nextBusinessDayIndex = 3;\n }\n if (addDays(new Date(), 1).getDay() === 7) {\n nextBusinessDayIndex = 2;\n }\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const dateAllowed = format(utcToZonedTime(addDays(new Date(), nextBusinessDayIndex), userTimeZone), 'yyyy-MM-dd');\n this.dateTimes.forEach(item => {\n item.date = dateAllowed;\n });\n }\n\n private dateTimesCorrection(): void {\n if (this.dateTimes[0] && this.dateTimes[1] && this.dateTimes[1].date < this.dateTimes[0].date) {\n this.dateTimes[1].date = this.dateTimes[0].date;\n }\n if (this.dateTimes[1] && this.dateTimes[2] && this.dateTimes[2].date < this.dateTimes[1].date) {\n this.dateTimes[2].date = this.dateTimes[1].date;\n }\n let jobHasPriority = false;\n this.dateTimes.map((date, idx) => {\n // priority calculating (warning is displayed if the difference is less than 3 hours)\n const timeFrom = dp(date.timeFrom, 'hh:mm aa', new Date());\n const timeTo = dp(date.timeTo, 'hh:mm aa', new Date());\n const timeDiff = differenceInMilliseconds(timeTo, timeFrom) / 60000;\n if (timeDiff < 180 && timeDiff >= 0) {\n this.dateTimes[idx].priority = true;\n jobHasPriority = true;\n } else {\n this.dateTimes[idx].priority = false;\n }\n // setting priority for the job\n this.jobHasPriority = jobHasPriority;\n });\n }\n\n private created(): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const today = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd'); // today\n for (let i = 0; i <= 2; i++) {\n this.dateTimes.push({\n id: i,\n date: today,\n timeIsSetted: false,\n timeFrom: '08:00 AM',\n timeTo: '04:00 PM',\n priority: false,\n });\n }\n this.dateTimesDefault = JSON.stringify(this.dateTimes);\n }\n\n private async mounted(): Promise {\n this.setBusinessDay();\n if (this.$route.params.id) {\n this.jobIsDraft = true;\n const draftId = Number(this.$route.params.id);\n getDraft(draftId)\n .then(res => {\n this.draftTitleOrigin = res.name;\n this.jobDraftData = res.content;\n this.populateFromDraft();\n })\n .catch(err => {\n sendError(err, 'JobBookingAdvanced');\n });\n } else {\n this.populateDataFromLocalStorage();\n }\n window.addEventListener('scroll', this.handleScroll);\n if (!this.$ability.can('staff', 'Job')) {\n this.userData = await getUserDataForNonStaffUsers(this.userData, this.user);\n if (this.userData.customerCode) {\n await getReferencesParamsWrapper(this.userData.customerCode, this.userData);\n }\n }\n if (this.userData.customerCode) {\n await getReferencesParamsWrapper(this.user.customerCode, this.userData);\n }\n }\n\n private destroyed(): void {\n window.removeEventListener('scroll', this.handleScroll);\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBookingAdvanced.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBookingAdvanced.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobBookingAdvanced.vue?vue&type=template&id=6c1fc55a&scoped=true\"\nimport script from \"./JobBookingAdvanced.vue?vue&type=script&lang=ts\"\nexport * from \"./JobBookingAdvanced.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobBookingAdvanced.scss?vue&type=style&index=0&id=6c1fc55a&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6c1fc55a\",\n null\n \n)\n\nexport default component.exports","import { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{on:{\"change\":_vm.formChanged}},[_c('Loading',{attrs:{\"active\":_vm.loadingData,\"is-full-page\":false},on:{\"update:active\":function($event){_vm.loadingData=$event}}}),_c(VForm,{ref:\"form\",staticClass:\"jobbooking\",attrs:{\"lazy-validation\":\"\"}},[_c('div',{staticClass:\"header\"},[_c('div',[_c('BackButton'),_c('h2',{staticClass:\"title\"},[_vm._v(\"Job booking / Warehouse to \"+_vm._s(_vm.isSameWH ? 'same' : '')+\" Warehouse\")])],1),_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"customer-details\"},[_c('CustomerDetailsFieldGroup',{attrs:{\"userData\":_vm.userData,\"setCustomerCode\":_vm.setCustomerCode,\"customerCodeIsRequired\":true}}),_c('Button',{staticClass:\"reset-btn\",attrs:{\"size\":\"normal\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-close\",\"text\":\"Clear form\",\"loading\":_vm.loading,\"data-cy\":\"btn-clearForm\",\"tabindex\":7},nativeOn:{\"click\":function($event){return _vm.clearForm.apply(null, arguments)}}})],1)])]),_c('div',{staticClass:\"wrapper\"},[_c('JobBookingWarehouseFieldSet',{staticClass:\"mt-6\",attrs:{\"value\":_vm.warehouses,\"addresses\":_vm.addressesWarehouses,\"date\":_vm.date,\"today\":_vm.today,\"isSameWH\":_vm.isSameWH},on:{\"handleWHChange\":_vm.stopsChanged,\"handleDateChange\":_vm.handleDateChange}}),_c('div',{staticClass:\"goods\"},[_c('h2',{staticClass:\"text-xl font-semibold\"},[_vm._v(\"Goods\")]),_c('ProductsWarehouse',{attrs:{\"products\":_vm.products,\"customerCode\":_vm.userData.customerCode},on:{\"changeProducts\":_vm.changeProducts}})],1),_c('div',{staticClass:\"ml-7\"},[_c(VDivider,{staticClass:\"divider mt-8 mr-1\"}),_c(VExpandTransition,[(_vm.errorFromAPIResponse.length > 0)?_c(VRow,[_c(VCol,{staticClass:\"mx-4 flex justify-end\"},[_c('p',{staticClass:\"w-1/2 error-response ma-0 mt-6 pa-0\"},[_vm._v(_vm._s(_vm.errorFromAPIResponse))])])],1):_vm._e()],1),_c(VRow,[_c(VCol,{staticClass:\"section-submit d-flex justify-end align-baseline mt-4\"},[_c('Button',{staticClass:\"mt-4 mb-16\",attrs:{\"size\":\"big\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-file-edit-outline\",\"text\":\"Book the job\",\"data-cy\":\"btn-submit\",\"tabIndex\":10 + _vm.products?.length || 1 * 5 + 8,\"loading\":_vm.loading,\"disabled\":_vm.loading},nativeOn:{\"click\":function($event){return _vm.bookJob.apply(null, arguments)}}})],1)],1)],1)],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c(VDataTable,{staticClass:\"elevation-1 mt-7 goodsTable whToWh mr-2\",attrs:{\"headers\":_vm.tableHeaders,\"items\":_vm.products,\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"disable-sort\":\"\"},scopedSlots:_vm._u([{key:`item.model`,fn:function({ item, index }){return [(item.finisher)?_c('div',[_c('AutocompleteFinisher',{staticClass:\"w-full mt-5\",attrs:{\"chosen\":{\n product_id: item.model_id,\n name: item.model,\n },\"autocomplete\":_vm.autocompleteFinisher,\"stop\":_vm.products?.indexOf(item),\"tabIndex\":_vm.tabItemsPrevCount + index * 5 + 1,\"customerCode\":_vm.customerCode,\"data-cy\":\"input-model\"},on:{\"change\":_vm.changeModel}})],1):_c('div',[_c('Autocomplete',{staticClass:\"w-full mt-5\",attrs:{\"chosen\":{\n product_id: item.model_id,\n name: item.model,\n },\"autocomplete\":_vm.autocompleteModel,\"stop\":_vm.products.indexOf(item),\"tabIndex\":_vm.tabItemsPrevCount + index * 5 + 1,\"data-cy\":\"input-model\"},on:{\"change\":_vm.changeModel}})],1)]}},{key:`item.description`,fn:function({ item, index }){return [_c(VTextField,{staticClass:\"lookup-customer-code px-2 pt-5\",attrs:{\"label\":\"Description\",\"outlined\":\"\",\"data-cy\":\"input-description\",\"maxlength\":200,\"tabIndex\":_vm.tabItemsPrevCount + index * 5 + 2},model:{value:(item.description),callback:function ($$v) {_vm.$set(item, \"description\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"item.description\"}})]}},{key:`item.serial`,fn:function({ item, index }){return [_c('div',{staticClass:\"serial-number\"},[_c('div',{staticClass:\"input-wrapper\"},[_c(VTextField,{staticClass:\"lookup-customer-code px-2 pt-5\",attrs:{\"label\":\"Serial number\",\"outlined\":\"\",\"data-cy\":\"input-serial\",\"maxlength\":20,\"tabIndex\":_vm.tabItemsPrevCount + index * 5 + 3,\"disabled\":!!item.quant_id,\"messages\":!item.quant_id\n ? _vm.productsHiddenData[index]?.statusText\n : `Editing isn't possible cause a quant is selected. Quant ID: ${item.quant_id}`,},on:{\"blur\":function($event){_vm.blur($event, _vm.products.indexOf(item))}},model:{value:(item.serial),callback:function ($$v) {_vm.$set(item, \"serial\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"item.serial\"}})],1)])]}},{key:`item.quantity`,fn:function({ item, index }){return [_c('div',{staticClass:\"d-flex align-center\",attrs:{\"data-cy\":\"input-quantity-wrapper\"}},[_c(VIcon,{staticClass:\"icon-control\",attrs:{\"color\":\"#9C8CFF\"},on:{\"click\":function($event){return _vm.decrementQuantity(item)}}},[_vm._v(\"mdi-minus-circle\")]),_c(VTextField,{staticClass:\"quantity pt-5 centered-input\",attrs:{\"label\":\"Number\",\"placeholder\":\"Number\",\"type\":\"number\",\"outlined\":\"\",\"data-cy\":\"input-quantity\",\"rules\":[v => (!!v && v > 0) || 'Error'],\"disabled\":_vm.productsHiddenData[index]?.serialNumberFilled,\"tabIndex\":_vm.tabItemsPrevCount + index * 5 + 4},model:{value:(item.quantity),callback:function ($$v) {_vm.$set(item, \"quantity\", _vm._n($$v))},expression:\"item.quantity\"}}),_c(VIcon,{staticClass:\"icon-control\",attrs:{\"color\":\"#9C8CFF\"},on:{\"click\":function($event){return _vm.incrementQuantity(item)}}},[_vm._v(\"mdi-plus-circle\")])],1),(_vm.products.indexOf(item) !== 0)?_c(VIcon,{staticClass:\"btn-close\",attrs:{\"color\":\"#9C8CFF\",\"size\":\"36\",\"tabIndex\":_vm.tabItemsPrevCount + index * 5 + 5},on:{\"click\":function($event){return _vm.deleteItem(item)}}},[_vm._v(\" mdi-close-circle \")]):_vm._e()]}},{key:`item.installation`,fn:function({ item }){return [(item.installation === 'FNSHR')?_c('div',{staticClass:\"d-flex align-start finisher ml-2\"},[_c('p',{staticClass:\"text\"},[_vm._v(\"FINISHER\")])]):_c('div',{staticClass:\"d-flex align-baseline installation\"},[_vm._v(\"INSTALL\")])]}},{key:\"no-data\",fn:function(){return [_c('div',{staticClass:\"flex justify-center items-center w-full py-4\"},[_c('h3',{staticClass:\"text-lg\"},[_vm._v(\"No data, no product added\")])])]},proxy:true}],null,true)}),(_vm.stopGoodsCounter <= 35)?_c('div',{staticClass:\"table-footer elevation-1\"},[_c('div',{staticClass:\"table-footer-btn\",attrs:{\"data-cy\":\"btn-machine-add\",\"tabIndex\":_vm.tabItemsPrevCount + _vm.products?.length || 1 * 5 + 6},on:{\"click\":_vm.addMachine,\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.addMachine.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"space\",32,$event.key,[\" \",\"Spacebar\"]))return null;return _vm.addMachine.apply(null, arguments)}]}},[_vm._v(\" + Add machine \")]),_c('div',{staticClass:\"table-footer-btn\",attrs:{\"data-cy\":\"btn-finisher-add\",\"tabIndex\":_vm.tabItemsPrevCount + _vm.products?.length || 1 * 5 + 7},on:{\"click\":_vm.addFinisher,\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.addFinisher.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"space\",32,$event.key,[\" \",\"Spacebar\"]))return null;return _vm.addFinisher.apply(null, arguments)}]}},[_vm._v(\" + Add finisher \")])]):_c('div',{staticClass:\"table-footer text-center justify-center elevation-1\"},[_vm._v(\" There are already 36 printers/finishers, this is the limit for one stop \")])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getProductLocation, getFinisherByName, getProductModel } from '@/api';\nimport { Header, ProductLocation } from '@/models/main';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport Autocomplete from './Autocomplete.vue';\nimport AutocompleteFinisher from './AutocompleteFinisher.vue';\n\nimport {\n installationOptions,\n installationOptionsText,\n returnOptions,\n returnOptionsList,\n returnOptionsTexts,\n} from '@/utils/PortalConstants';\nimport { JobProducts, JobProductsHiddenData } from '@/models/jobData';\n\n@Component({\n components: {\n Autocomplete,\n AutocompleteFinisher,\n },\n data() {\n return {\n installationOptions,\n installationOptionsText,\n returnOptions,\n returnOptionsList,\n returnOptionsTexts,\n };\n },\n})\nexport default class ProductsWarehouse extends Vue {\n @Prop(Array) public readonly products: JobProducts[];\n @Prop(String) public readonly customerCode: string;\n\n public autocompleteModel = getProductModel;\n public tabItemsPrevCount = 10; // 10 actually for now\n\n public tableHeaders: Header[] = [\n { text: 'Model', value: 'model' },\n { text: 'Description', value: 'description' },\n { text: 'Serial number', value: 'serial' },\n { text: 'Quantity', value: 'quantity' },\n ];\n\n private defaultTableValue: JobProducts = {\n model: '',\n model_id: -1,\n description: '',\n serial: '',\n quantity: 1,\n from_stop: 1,\n to_stop: 2,\n weight: 0,\n runup: false,\n quant_id: null,\n installation: 'DLVONLY',\n returns: '',\n };\n private goods: JobProducts[] = [{ ...this.defaultTableValue }];\n public productsHiddenData: JobProductsHiddenData[] = [];\n\n public stopGoodsCounter = 1;\n\n //\n\n // endpoints\n public changeModel(stop, item) {\n this.products[stop].model = item.name;\n this.products[stop].model_id = item.product_id;\n }\n\n /**\n * Used from child components by emit()\n * @param stop\n * @private\n */\n private clear(stop: number) {\n this.products[stop].model = '';\n this.products[stop].model_id = -1;\n this.productsHiddenData[stop].serialNumberFilled = false;\n this.productsHiddenData[stop].statusText = '';\n }\n\n public async blur(event, stop) {\n const product_id = this.products[stop].model_id;\n const serial_number = event.target.value;\n this.productsHiddenData[stop].serialNumberFilled = false;\n this.productsHiddenData[stop].statusText = '';\n\n if (!!product_id && !!serial_number) {\n await this.getProductLocationWrapper(product_id, serial_number, stop);\n }\n }\n\n private async getProductLocationWrapper(product_id: number, serial_number: string, idx: number) {\n await getProductLocation(product_id, serial_number)\n .then((res: ProductLocation) => {\n let inputText = '';\n if (Object.keys(res).length >= 1) {\n inputText = `Warehouse: ${res.warehouse}, Status: ${res.name}`;\n } else {\n inputText = 'Out of stock';\n }\n this.products[idx].quantity = 1;\n this.productsHiddenData[idx].serialNumberFilled = true;\n this.productsHiddenData[idx].statusText = inputText;\n })\n .catch(() => {\n this.productsHiddenData[idx].statusText = 'Out of stock';\n })\n .finally(() => {\n this.$emit('changeProducts', this.products);\n });\n }\n\n public addMachine(): void {\n this.products.push({\n model: '',\n model_id: -1,\n description: '',\n serial: '',\n quantity: 1,\n installation: 'DLVONLY',\n from_stop: 1,\n to_stop: 2,\n weight: 0,\n runup: false,\n returns: '',\n quant_id: null,\n });\n this.productsHiddenData.push({\n serialNumberFilled: false,\n statusText: '',\n });\n }\n\n public addFinisher(): void {\n const lastIndex = this.products?.length - 1;\n this.products.push({\n ...this.defaultTableValue,\n model: '',\n model_id: -1,\n installation: this.products[lastIndex]?.installation || '',\n });\n this.productsHiddenData.push({\n serialNumberFilled: false,\n statusText: '',\n });\n }\n\n public async autocompleteFinisher(model, customer) {\n let responce = await getFinisherByName(model, customer);\n // TODO: change default name & id?\n responce = [...responce, { name: 'AA-FINISHER', product_id: 6182 }];\n return responce;\n }\n\n public deleteItem(item: JobProducts): void {\n this.products.splice(this.products.indexOf(item), 1);\n }\n\n @Watch('products', { deep: true })\n private watchToProducts(): void {\n if (this.products) {\n this.stopGoodsCounter = this.products?.length + 1;\n\n this.products.map((product, idx) => {\n if (!this.productsHiddenData[idx]) {\n this.productsHiddenData.push({\n serialNumberFilled: false,\n statusText: '',\n });\n }\n if (!!product.serial && !this.productsHiddenData[idx].serialNumberFilled && product.model_id) {\n this.getProductLocationWrapper(product.model_id, product.serial, idx);\n }\n });\n\n this.productsHiddenData.length = this.products.length;\n }\n }\n\n public decrementQuantity(item: JobProducts): void {\n if (\n !this.productsHiddenData[this.products.indexOf(item)].serialNumberFilled &&\n this.products[this.products.indexOf(item)].quantity > 1\n ) {\n this.products[this.products.indexOf(item)].quantity -= 1;\n }\n }\n\n public incrementQuantity(item: JobProducts): void {\n if (!this.productsHiddenData[this.products.indexOf(item)].serialNumberFilled) {\n this.products[this.products.indexOf(item)].quantity += 1;\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsWarehouse.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsWarehouse.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ProductsWarehouse.vue?vue&type=template&id=d5c1a99a&scoped=true\"\nimport script from \"./ProductsWarehouse.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductsWarehouse.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Goods.scss?vue&type=style&index=0&id=d5c1a99a&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d5c1a99a\",\n null\n \n)\n\nexport default component.exports","import { VCombobox } from 'vuetify/lib/components/VCombobox';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VRow,{staticClass:\"flex p-8\"},[_c('div',{staticClass:\"w-76\"},[_c('DatePicker',{attrs:{\"outlined\":\"\"},on:{\"changeDate\":_vm.changeDate},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v},expression:\"date\"}})],1),_vm._l((_vm.isSameWH ? [0] : [0, 1]),function(warehouse,index){return _c('div',{key:index,staticClass:\"w-76 ml-6\"},[_c(VCombobox,{staticClass:\"stop-input\",attrs:{\"label\":index === 0 ? 'From warehouse' : 'To warehouse',\"outlined\":\"\",\"items\":_vm.addresses,\"item-value\":\"name\",\"item-text\":\"name\",\"return-object\":\"\",\"maxlength\":30,\"clearable\":\"\",\"menu-props\":{ 'allow-overflow': true },\"rules\":[v => !!v || 'Warehouse is required field'],\"tabindex\":10 + index},on:{\"change\":_vm.whChanged},scopedSlots:_vm._u([{key:\"append\",fn:function(){return [_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,[_vm._v(\"mdi-card-account-details\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Choose from the Address book\")])])]},proxy:true}],null,true),model:{value:(_vm.value[index]),callback:function ($$v) {_vm.$set(_vm.value, index, $$v)},expression:\"value[index]\"}})],1)})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { AddressBookLookupData } from '@/models/addressBook';\nimport DatePicker from '@/views/Location/DatePicker.vue';\n\n@Component({\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n components: {\n DatePicker,\n },\n})\nexport default class JobBookingWarehouseFieldSet extends Vue {\n @Prop({ type: Array, required: true }) public addresses!: AddressBookLookupData[];\n @Prop({ type: Array, required: true }) public value!: AddressBookLookupData[];\n @Prop({ type: String, required: true }) public date!: string;\n @Prop({ type: Boolean, required: false }) public isSameWH: boolean;\n\n public changeDate(date: string): void {\n this.$emit('handleDateChange', date);\n }\n\n public whChanged(): void {\n this.$emit('handleWHChange', this.value);\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBookingWarehouseFieldSet.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBookingWarehouseFieldSet.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobBookingWarehouseFieldSet.vue?vue&type=template&id=4a73f9f0\"\nimport script from \"./JobBookingWarehouseFieldSet.vue?vue&type=script&lang=ts\"\nexport * from \"./JobBookingWarehouseFieldSet.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue } from 'vue-property-decorator';\nimport Button from '@/components/UI/button/Button.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport CustomerDetailsFieldGroup from '@/components/fieldGroups/CustomerDetailsFieldGroup.vue';\nimport ProductsWarehouse from '@/components/jobBooking/Goods/ProductsWarehouse.vue';\nimport JobBookingWarehouseFieldSet from '@/views/JobBooking/JobBookingAdvanced/JobBookingWarehouseFieldSet.vue';\nimport { getReferencesParamsWrapper } from '@/helpers/booking';\nimport { statesTimeZonesList, timeZoneDefault } from '@/utils/PortalConstants';\nimport { User, UserDataAdvancedJB } from '@/models/main';\nimport { AddressBookLookupData } from '@/models/addressBook';\nimport { mapState } from 'vuex';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { notifyNetworkSuccess } from '@/helpers/notifiers';\nimport { fetchBookJobWhToSameWh, fetchBookJobWhToWh, fetchGetAddressLookup } from '@/helpers/fetchers';\nimport { BookingError } from '@/helpers/throwables';\nimport { JobProducts, JobSchema, JobStop } from '@/models/jobData';\nimport { getUserDataForNonStaffUsers } from '@/utils/Common';\n\n@Component({\n components: {\n Button,\n BackButton,\n CustomerDetailsFieldGroup,\n ProductsWarehouse,\n JobBookingWarehouseFieldSet,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class JobBookingWarehouseToWarehouse extends Vue {\n private user!: User;\n\n public loading = false;\n public loadingData = false;\n public isSameWH = false;\n public localStorageName = '';\n public date!: string;\n public today!: string;\n\n private userDataDefault: UserDataAdvancedJB = {\n customerCode: '',\n caller: '',\n phone_number: '',\n reference1: '',\n reference2: '',\n reference3: '',\n ref1_prompt: 'Reference 1',\n ref2_prompt: 'Reference 2',\n ref3_prompt: 'Reference 3',\n ref1_required: false,\n ref2_required: false,\n ref3_required: false,\n };\n public userData: UserDataAdvancedJB = { ...this.userDataDefault };\n\n public warehouses: AddressBookLookupData[] = [];\n public addressesWarehouses: AddressBookLookupData[] = [];\n\n private defaultTableValue: JobProducts = {\n model: '',\n description: '',\n serial: '',\n quantity: 1,\n installation: 'DLVONLY',\n from_stop: 1,\n to_stop: 2,\n weight: 0,\n runup: false,\n returns: '',\n model_id: null,\n quant_id: null,\n };\n public products: JobProducts[] = [{ ...this.defaultTableValue }];\n\n public errorFromAPIResponse = '';\n\n public async setCustomerCode(customerCode: string): Promise {\n if (customerCode === this.userData.customerCode) {\n return;\n }\n this.userData.customerCode = customerCode;\n await getReferencesParamsWrapper(this.userData.customerCode, this.userData);\n }\n\n public handleDateChange(date: string): void {\n this.date = date;\n this.formChanged();\n }\n\n public changeProducts(products: JobProducts[]): void {\n this.products = products;\n this.formChanged();\n }\n\n public formChanged(): void {\n this.writeJobToLocalStorage();\n this.clearError();\n }\n\n public stopsChanged(data): void {\n this.warehouses = data;\n this.writeJobToLocalStorage();\n this.clearError();\n }\n\n public clearForm(): void {\n const form = this.$refs.form as HTMLFormElement;\n form.resetValidation();\n this.date = this.today;\n this.userData = { ...this.userDataDefault };\n this.warehouses = [];\n this.products = [{ ...this.defaultTableValue }];\n this.clearError();\n this.errorFromAPIResponse = '';\n if (this.$ability.can('staff', 'Job')) {\n this.userData = { ...this.userDataDefault };\n } else {\n this.userData.reference1 = '';\n this.userData.reference2 = '';\n this.userData.reference3 = '';\n }\n localStorage.removeItem(this.localStorageName);\n }\n\n private clearError(): void {\n if (this.errorFromAPIResponse.length > 0) {\n this.errorFromAPIResponse = '';\n }\n }\n\n public writeJobToLocalStorage(): void {\n const localStorageName = this.isSameWH ? 'jobDataWHSameWH' : 'jobDataWHToWH';\n const localStorageJobData = {\n userData: this.userData,\n stops: this.warehouses,\n date: this.date,\n products: this.products,\n };\n localStorage.setItem(localStorageName, JSON.stringify(localStorageJobData));\n }\n\n private async getAddressBookWrapper(code: string): Promise {\n await fetchGetAddressLookup(code).then(res => {\n this.addressesWarehouses = res.filter(x => x.warehouse);\n });\n }\n\n private populateDataFromLocalStorage(): void {\n const localStorageName = this.isSameWH ? 'jobDataWHSameWH' : 'jobDataWHToWH';\n const writtenJobData = localStorage.getItem(localStorageName);\n if (writtenJobData) {\n const localStorageJobData = JSON.parse(writtenJobData);\n this.userData = localStorageJobData.userData || this.userDataDefault;\n this.warehouses = localStorageJobData.stops || [];\n this.date = localStorageJobData.date || this.date;\n this.products = localStorageJobData.products || [];\n }\n }\n\n private buildJob(): JobSchema[] {\n let stops: JobStop[] = this.warehouses.map((warehouse, i) => {\n const stopState = warehouse.suburb.state;\n const timeZone = stopState ? statesTimeZonesList[stopState].timezone : 'Australia/Sydney';\n const date = format(utcToZonedTime(new Date(this.date), timeZone), \"yyyy-MM-dd'T'HH:mm:ssxxx\", { timeZone });\n return {\n name: warehouse.name,\n suburb: warehouse.suburb.name,\n state: warehouse.suburb.state,\n postcode: warehouse.suburb.postcode,\n address_line1: warehouse.line1,\n address_line2: warehouse.line2 || '',\n warehouse: true,\n attributes: [],\n number: i + 1,\n note_text: warehouse.note_text,\n note_name: warehouse.note_name,\n note_phone: warehouse.note_phone,\n note_email: '',\n time: {\n earliest: date,\n latest: date,\n },\n };\n });\n if (this.isSameWH) {\n stops = [\n { ...stops[0] },\n {\n ...stops[0],\n number: 2,\n },\n ];\n }\n\n const products = this.products;\n\n return [\n {\n schema_version: '1.0',\n customer_code: this.userData.customerCode,\n caller: this.userData.caller,\n phone: this.userData.phone_number,\n source: 'WEB',\n REF1: this.userData.reference1,\n REF2: this.userData.reference2,\n REF3: this.userData.reference3,\n stops: stops,\n products,\n },\n ];\n }\n\n /**\n * This function is called when the user clicks the \"Book Job\" button\n * and the form is valid. It sends a request to the server to book the job.\n * If the request is successful, it redirects the user to the detailed job view.\n * If the request fails, it displays an error message or shows a notification.\n */\n private async bookValidatedJob(): Promise {\n this.loading = true;\n const jobData = this.buildJob();\n let promiseRunner: Promise<(string | number)[]>;\n if (this.isSameWH) {\n promiseRunner = fetchBookJobWhToSameWh(jobData);\n } else {\n promiseRunner = fetchBookJobWhToWh(jobData);\n }\n\n await promiseRunner\n .then(data => {\n // If the request is successful, navigate to the detailed job page and clear the local storage\n this.$router.push({\n path: `/detailed-job?job_id=${data[0]}&job_date=${data[1]}`,\n });\n localStorage.removeItem(this.localStorageName);\n notifyNetworkSuccess({ text: 'Job booked successfully' });\n })\n .catch(err => {\n // If the request fails due to business rules validation, display an error message\n if (err instanceof BookingError) {\n this.errorFromAPIResponse = err.message;\n return;\n }\n // This will be Uncaught (in promise) error\n throw err;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n public bookJob(): void {\n const form = this.$refs.form as HTMLFormElement;\n if (form.validate()) {\n this.bookValidatedJob();\n } else {\n this.$nextTick(() => {\n const el = this.$el.querySelector('.v-messages.error--text:first-of-type') as HTMLElement;\n if (el) {\n this.$vuetify.goTo(el, { offset: 100 });\n }\n });\n }\n }\n\n private async mounted(): Promise {\n this.loadingData = true;\n await this.getAddressBookWrapper(this.user.customerCode);\n this.populateDataFromLocalStorage();\n if (!this.$ability.can('staff', 'Job')) {\n this.userData = await getUserDataForNonStaffUsers(this.userData, this.user);\n }\n if (this.userData.customerCode) {\n await getReferencesParamsWrapper(this.userData.customerCode, this.userData);\n }\n this.loadingData = false;\n }\n\n private created(): void {\n if (this.$route.meta?.isSameWH) {\n this.isSameWH = this.$route.meta.isSameWH;\n }\n this.localStorageName = this.isSameWH ? 'jobDataWHSameWH' : 'jobDataWHToWH';\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.date = this.today = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBookingWarehouseToWarehouse.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBookingWarehouseToWarehouse.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobBookingWarehouseToWarehouse.vue?vue&type=template&id=128688cc&scoped=true\"\nimport script from \"./JobBookingWarehouseToWarehouse.vue?vue&type=script&lang=ts\"\nexport * from \"./JobBookingWarehouseToWarehouse.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobBooking.scss?vue&type=style&index=0&id=128688cc&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"128688cc\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"relative\"},[_c('div',{staticClass:\"fixed top-0 w-full pb-8 z-5\",attrs:{\"id\":\"page-header\"}},[_c('div',{staticClass:\"h-20 flex justify-between align-center border-b border-purple-200 bg-purple-50\"},[_c('div',{staticClass:\"pt-4 px-6 flex justify-start align-center\"},[_vm._m(0),_c('div',{staticClass:\"w-full pl-10\"},[_c('PageTabs',{attrs:{\"pageTabs\":_vm.pageTabs}})],1)])])]),_c('div',{staticClass:\"mt-16\"},[_c('ValidationObserver',{ref:\"form\"},[_c('div',[_c('div',{staticClass:\"w-312 pt-8 px-6\"},[_c('h4',{staticClass:\"text-base font-semibold\",attrs:{\"attr-scroll-id\":\"1\"}},[_vm._v(\"1. Customer details:\")]),_c('BookingHeader',{attrs:{\"customerData\":{\n customer_code: _vm.formData.customer_code,\n caller: _vm.formData.caller,\n phone: _vm.formData.phone,\n REF1: _vm.formData.REF1,\n REF2: _vm.formData.REF2,\n REF3: _vm.formData.REF3,\n }},on:{\"dataChanged\":_vm.customerDataChanged}})],1),_c('div',{staticClass:\"mt-4 px-6\"},[_c('h4',{staticClass:\"scroll2 text-base font-semibold\",attrs:{\"attr-scroll-id\":\"2\"}},[_vm._v(\" 2. Addresses: \"),(_vm.formSubmitted && _vm.identicalAddresses)?_c('span',{staticClass:\"ml-2 text-red-700 font-semibold\"},[_vm._v(\"it is forbidden to use identical company names\")]):_vm._e()]),_c('div',{staticClass:\"w-312 grid grid-cols-3 gap-1 items-start h-auto mt-2\"},_vm._l((_vm.formData.stops),function(stop,idx){return _c('div',{key:idx,staticClass:\"flex\"},[_c('div',{class:`border rounded ${\n _vm.formSubmitted && _vm.identicalAddresses ? 'border-red-700' : 'border-purple-200'\n } ${idx === 0 ? 'w-120' : 'w-92'}`},[_c('div',{staticClass:\"h-10 px-2 flex align-center justify-between border-b border-purple-200 bg-purple-50 rounded-t\"},[_c('div',[_c('span',{staticClass:\"text-lg\"},[_vm._v(\"Stop \"+_vm._s(idx + 1))]),_c('span',{staticClass:\"ml-1 text-base text-black-400 opacity-50\"},[_vm._v(_vm._s(idx === 0 ? '/ pick up from' : '/ deliver to'))])]),(_vm.formData.customer_code)?_c('div',[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-home\",\"color\":\"gray\",\"colorIntensity\":\"600\",\"size\":\"xl\"},nativeOn:{\"click\":function($event){return _vm.defaultAddressIconClicked(idx)}}})],1):_vm._e()]),_c('div',{staticClass:\"p-2 flex flex-col h-min\"},[_c('div',{staticClass:\"w-full mr-4\"},[_c('LookupAddresses',{ref:`lookupAddress${idx}`,refInFor:true,attrs:{\"addressData\":_vm.addressBookData,\"name\":`lookupAddress${idx}`},on:{\"changed\":_vm.changeAddressBook}})],1),_c('validation-provider',{staticClass:\"flex flex-col w-full mt-1 floating-label-inset\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":`address_line_1_${idx}`,\"name\":`address_line_1_${idx}`,\"type\":\"text\",\"placeholder\":\"Street address\",\"maxlength\":30,\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.formData.stops[idx].address_line2),callback:function ($$v) {_vm.$set(_vm.formData.stops[idx], \"address_line2\", $$v)},expression:\"formData.stops[idx].address_line2\"}}),_c('label',{staticClass:\"cursor-text\",attrs:{\"for\":`address_line_1_${idx}`}},[_c('span',[_vm._v(\" Street address \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('validation-provider',{staticClass:\"flex flex-col w-full mt-1 floating-label-inset\",scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":`address_line_2_${idx}`,\"name\":`address_line_2_${idx}`,\"type\":\"text\",\"placeholder\":\"Room / Level / Unit\",\"maxlength\":30,\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.formData.stops[idx].address_line1),callback:function ($$v) {_vm.$set(_vm.formData.stops[idx], \"address_line1\", $$v)},expression:\"formData.stops[idx].address_line1\"}}),_c('label',{staticClass:\"cursor-text\",attrs:{\"for\":`address_line_2_${idx}`}},[_c('span',[_vm._v(\" Room / Level / Unit \")])]),(errors[0])?_c('span',{staticClass:\"ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('div',{staticClass:\"w-full mt-1\"},[_c('LookupSuburb',{ref:`lookupSuburb${idx}`,refInFor:true,attrs:{\"name\":`lookupSuburb${idx}`},on:{\"changed\":_vm.suburbChanged}})],1),_c('div',{staticClass:\"w-full mt-1\"},[_c('label',{staticClass:\"flex align-center cursor-pointer\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.formData.stops[idx].addToAddressBook),expression:\"formData.stops[idx].addToAddressBook\"}],staticClass:\"t-checkbox\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.formData.stops[idx].addToAddressBook)?_vm._i(_vm.formData.stops[idx].addToAddressBook,null)>-1:(_vm.formData.stops[idx].addToAddressBook)},on:{\"change\":function($event){var $$a=_vm.formData.stops[idx].addToAddressBook,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.formData.stops[idx], \"addToAddressBook\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.formData.stops[idx], \"addToAddressBook\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.formData.stops[idx], \"addToAddressBook\", $$c)}}}}),_c('span',{staticClass:\"ml-2 text-gray-600\"},[_vm._v(\"Add to the address book\")])])]),_c('h5',{staticClass:\"mt-2 text-sm font-semibold\"},[_vm._v(\"Contact details:\")]),_c('validation-provider',{staticClass:\"flex flex-col w-full mt-1 floating-label-inset\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":`note_name_${idx}`,\"name\":`note_name_${idx}`,\"type\":\"text\",\"placeholder\":\"Name\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.formData.stops[idx].note_name),callback:function ($$v) {_vm.$set(_vm.formData.stops[idx], \"note_name\", $$v)},expression:\"formData.stops[idx].note_name\"}}),_c('label',{staticClass:\"cursor-text\",attrs:{\"for\":`note_name_${idx}`}},[_c('span',[_vm._v(\" Name \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('validation-provider',{staticClass:\"flex flex-col w-full mt-1 floating-label-inset\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":`note_phone_${idx}`,\"name\":`note_phone_${idx}`,\"type\":\"text\",\"placeholder\":\"Phone\",\"maxlength\":20,\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.formData.stops[idx].note_phone),callback:function ($$v) {_vm.$set(_vm.formData.stops[idx], \"note_phone\", $$v)},expression:\"formData.stops[idx].note_phone\"}}),_c('label',{staticClass:\"cursor-text\",attrs:{\"for\":`note_phone_${idx}`}},[_c('span',[_vm._v(\" Phone \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('div',{staticClass:\"w-full mt-1 floating-label-inset\"},[_c('t-textarea',{attrs:{\"id\":`note_text_${idx}`,\"name\":`note_text_${idx}`,\"type\":\"text\",\"placeholder\":\"Collection instruction\"},model:{value:(_vm.formData.stops[idx].note_text),callback:function ($$v) {_vm.$set(_vm.formData.stops[idx], \"note_text\", $$v)},expression:\"formData.stops[idx].note_text\"}}),_c('label',{staticClass:\"cursor-text\",attrs:{\"for\":`note_text_${idx}`}},[_c('span',[_vm._v(\" Collection instruction \")])])],1),_c('div',{staticClass:\"w-full my-2\"},[_c('h5',{staticClass:\"text-sm font-semibold\"},[_vm._v(\"Date:\")]),_c('t-datepicker',{staticClass:\"rounded\",attrs:{\"dateFormat\":\"Y-m-d\",\"userFormat\":\"Y-m-d\",\"minDate\":_vm.formData.stops[idx].minDate,\"clearable\":false,\"weekStart\":1,\"variant\":{\n datePickerDefault: true,\n }},model:{value:(_vm.formData.stops[idx].time.earliest),callback:function ($$v) {_vm.$set(_vm.formData.stops[idx].time, \"earliest\", $$v)},expression:\"formData.stops[idx].time.earliest\"}})],1)],1)]),(idx === 0)?_c('div',{staticClass:\"w-16 ml-6 mt-3\"},[_c('div',{on:{\"click\":_vm.switchAddresses}},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-arrow-left-right\",\"color\":\"gray\",\"colorIntensity\":\"600\",\"size\":\"2xl\"}})],1)]):_vm._e()])}),0),_c('div',{staticClass:\"mt-4\"},[_c('h4',{staticClass:\"scroll3 text-base font-semibold\",attrs:{\"attr-scroll-id\":\"3\"}},[_vm._v(\" 3. Packages:\"),(_vm.formSubmitted && _vm.formData.products.length === 0)?_c('span',{staticClass:\"ml-2 text-red-700 font-semibold\"},[_vm._v(\"please add some packages\")]):_vm._e()]),_c('div',{staticClass:\"w-300 flex flex-wrap border border-solid mt-2 p-1.5 rounded\",class:_vm.formSubmitted && _vm.formData.products.length === 0 ? 'border-red-700 bg-red-50' : 'border-purple-200 '},[_vm._l((_vm.formData.products),function(product,idx){return _c('div',{key:idx,staticClass:\"px-2.5 pt-2.5 pb-2 h-32\",staticStyle:{\"flex\":\"0 0 25%\"}},[_c('div',{staticClass:\"h-full border border-solid border-purple-200 bg-white rounded\"},[_c('div',{staticClass:\"flex justify-between items-center py-2 w-full bg-purple-50 rounded-t\"},[_c('div',{staticClass:\"flex justify-start items-center\"},[_c('p',{staticClass:\"mb-0 ml-2 text-sm leading-3\"},[_vm._v(_vm._s(product.model))])]),_c('div',{staticClass:\"flex justify-end items-start h-full pr-1\",on:{\"click\":function($event){return _vm.removePackage(idx)}}},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-close\",\"color\":\"gray\",\"colorIntensity\":\"600\",\"size\":\"xl\"}})],1)]),_c('div',{staticClass:\"flex justify-start items-center pt-3 px-2 w-full rounded-b\"},[_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(_vm._s(product.description))])]),_c('div',{staticClass:\"flex justify-start items-center pt-1 px-2 w-full rounded-b\"},[_c('div',{staticClass:\"flex justify-start items-center mt-1\"},[_c('Icon',{attrs:{\"name\":\"mdi-weight-kilogram\",\"color\":\"gray\",\"colorIntensity\":\"700\",\"size\":\"xl\"}}),_c('p',{staticClass:\"mb-0 ml-2 text-sm leading-3 whitespace-nowrap\"},[_vm._v(_vm._s(product.weight)+\" kg\")])],1),_c('div',{staticClass:\"flex justify-start items-center\"},[_c('Icon',{attrs:{\"name\":\"mdi-axis-arrow\",\"color\":\"gray\",\"colorIntensity\":\"700\",\"size\":\"xl\"}}),_c('p',{staticClass:\"flex flex-col mb-0 ml-1 text-sm leading-3\"},[_c('span',[_vm._v(_vm._s(product.width)+\"x\"+_vm._s(product.height)+\"x\"+_vm._s(product.length)+\" sm\")]),_c('span',[_vm._v(\" = \"+_vm._s(product.volume)+\" m³\")])])],1)])])])}),(_vm.formData.products.length < 32)?_c('div',{staticClass:\"p-2.5 h-32\",staticStyle:{\"flex\":\"0 0 25%\"}},[_c('a',{staticClass:\"w-full h-full px-3 pt-7 pb-8 border border-solid border-purple-200 flex flex-col align-center justify-center bg-white rounded cursor-pointer hover:shadow-md transform active:translate-y-0.5 transition duration-150 ease-in-out\",attrs:{\"href\":\"#\"},on:{\"click\":_vm.addProductClicked}},[_c('span',{staticClass:\"text-4xl text-purple-400 font-bold leading-9\"},[_vm._v(\"+\")]),_c('span',{staticClass:\"text-1xl text-purple-400 leading-3\"},[_vm._v(\"Add package\")])])]):_vm._e()],2)]),(_vm.formData.products.length)?_c('div',{staticClass:\"w-300 flex flex-col justify-end items-end mt-4\"},[_c('div',{staticClass:\"pb-2 mb-2 w-128 border-b border-purple-200\"},[_c('h4',{staticClass:\"font-semibold\"},[_vm._v(\" Total: \"),_c('span',[_vm._v(_vm._s(_vm.formData.products.length)+\" package\"+_vm._s(_vm.formData.products.length >= 2 ? 's' : ''))])])]),_c('div',{staticClass:\"w-128\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-36 font-semibold\"},[_vm._v(\"Type\")]),_c('div',{staticClass:\"w-28 font-semibold text-right\"},[_vm._v(\"Quantity\")]),_c('div',{staticClass:\"w-32 font-semibold text-right\"},[_vm._v(\"Value\")]),_c('div',{staticClass:\"w-32 font-semibold text-right\"},[_vm._v(\"Weight\")])]),_vm._l((Object.keys(_vm.totalData)),function(item,idx){return _c('div',{key:idx,staticClass:\"flex mt-2\"},[_c('div',{staticClass:\"w-36\"},[_vm._v(_vm._s(item))]),_c('div',{staticClass:\"w-28 text-right\"},[_vm._v(_vm._s(_vm.totalData[item].quantity))]),_c('div',{staticClass:\"w-32 text-right\"},[_vm._v(_vm._s(_vm.totalData[item].volume)+\" m³\")]),_c('div',{staticClass:\"w-32 text-right\"},[_vm._v(_vm._s(_vm.totalData[item].weight)+\" kg\")])])})],2)]):_vm._e(),_c('div',{staticClass:\"w-300 flex flex-col justify-end items-end mt-6 mb-12 pb-12\"},[(_vm.formError.length > 0)?_c('div',{staticClass:\"w-128 flex align-start mb-8 py-2 border-t border-b border-purple-200\"},[_c('Icon',{staticClass:\"mr-2\",attrs:{\"name\":\"mdi-alert-box\",\"color\":\"red\",\"colorIntensity\":\"500\",\"size\":\"3xl\"}}),_c('p',{staticClass:\"error-response p-0\"},[_vm._v(_vm._s(_vm.formError))])],1):_vm._e(),_c('div',{staticClass:\"flex\"},[_c('div',{on:{\"click\":function($event){return _vm.onSubmitBtnClick(false)}}},[_c('Button',{attrs:{\"type\":\"button\",\"text\":\"Book and fill out again\",\"color\":\"purple\",\"icon\":\"mdi-send\"}})],1),_c('div',{staticClass:\"ml-4\",on:{\"click\":function($event){return _vm.onSubmitBtnClick(true)}}},[_c('Button',{attrs:{\"type\":\"submit\",\"text\":\"Book and view\",\"color\":\"lime\",\"icon\":\"mdi-send\"}})],1)])])])])])],1),_c('t-modal',{staticClass:\"z-50\",scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('div',{staticClass:\"flex justify-between px-2\"},[_c('h2',[_vm._v(\"Add package\")])])]},proxy:true}]),model:{value:(_vm.addPackageDialog),callback:function ($$v) {_vm.addPackageDialog=$$v},expression:\"addPackageDialog\"}},[_c('ValidationObserver',{ref:\"packageForm\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onPackageSubmit.apply(null, arguments)}}},[_c('div',{staticClass:\"w-204 p-4\"},[_c('div',{staticClass:\"w-full flex justify-start\"},[_c('div',{staticClass:\"flex align-start w-60\"},[_c('validation-provider',{attrs:{\"rules\":!_vm.addPackageData.customChosen ? 'required' : ''},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-rich-select',{staticClass:\"w-44 h-10\",attrs:{\"closeOnSelect\":true,\"clearable\":true,\"required\":!_vm.addPackageData.customChosen,\"options\":_vm.productsGeneralList.map(x => x.name),\"hideSearchBox\":true,\"disabled\":_vm.addPackageData.customChosen,\"placeholder\":\"Choose box\",\"variant\":{\n error: !!errors[0],\n disabled: _vm.addPackageData.customChosen,\n }},on:{\"change\":_vm.packageBoxSelectChanged},model:{value:(_vm.addPackageData.packageBox),callback:function ($$v) {_vm.$set(_vm.addPackageData, \"packageBox\", $$v)},expression:\"addPackageData.packageBox\"}}),(errors[0])?_c('span',{staticClass:\"ml-3 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])}),_c('span',{staticClass:\"ml-2 mt-3 text-gray-500 whitespace-nowrap\"},[_vm._v(\"= \"+_vm._s(_vm.addPackageData.boxVolume)+\" m³\")])],1),_c('div',{staticClass:\"flex align-start w-28 ml-4\"},[_c('InputPositiveNumbers',{staticClass:\"h-10\",attrs:{\"validation\":true,\"value\":_vm.addPackageData.weight},on:{\"changed\":_vm.addPackageWeightChanged}}),_c('span',{staticClass:\"ml-2 mt-3\"},[_vm._v(\"kg\")])],1),_c('div',{staticClass:\"flex align-start w-32 ml-2\"},[_c('InputIntegers',{staticClass:\"w-32 h-10\",attrs:{\"validation\":true,\"value\":String(_vm.addPackageData.quantity),\"minValue\":1,\"digitsNumberBefore\":2,\"variant\":\"rounded\"},on:{\"changed\":_vm.addPackageQuantityChanged}}),_c('span',{staticClass:\"ml-2 mt-3\"},[_vm._v(\"packages\")])],1),_c('div',{staticClass:\"w-44 ml-4 mr-2 floating-label-inset\"},[_c('t-input-label',{staticClass:\"rounded h-16\",attrs:{\"id\":\"product_description\",\"name\":\"product_description\",\"type\":\"text\",\"placeholder\":\"Description\"},model:{value:(_vm.addPackageData.description),callback:function ($$v) {_vm.$set(_vm.addPackageData, \"description\", $$v)},expression:\"addPackageData.description\"}}),_c('label',{staticClass:\"cursor-text\",attrs:{\"for\":\"product_description\"}},[_c('span',[_vm._v(\" Description \")])])],1)]),_c('div',{staticClass:\"flex flex-col mt-1\"},[_c('div',[_c('label',{staticClass:\"flex align-center cursor-pointer\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.addPackageData.customChosen),expression:\"addPackageData.customChosen\"}],staticClass:\"t-checkbox\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.addPackageData.customChosen)?_vm._i(_vm.addPackageData.customChosen,null)>-1:(_vm.addPackageData.customChosen)},on:{\"click\":function($event){_vm.addPackageData.customChosen ? (_vm.addPackageData.type = 'box') : (_vm.addPackageData.type = 'carton')},\"change\":function($event){var $$a=_vm.addPackageData.customChosen,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.addPackageData, \"customChosen\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.addPackageData, \"customChosen\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.addPackageData, \"customChosen\", $$c)}}}}),_c('span',{staticClass:\"ml-2\"},[_vm._v(\"Custom size\")])])]),_c('div',{staticClass:\"w-40 ml-6 leading-3\"},[_c('span',{staticClass:\"text-sm text-gray-400 italic\"},[_vm._v(\"Check this if you need a custom-sized box\")])])]),(_vm.addPackageData.customChosen)?_c('div',{staticClass:\"w-full flex justify-start mt-4 pt-4 border-t border-purple-200\"},[_c('div',{staticClass:\"w-40\"},[_c('h4',{staticClass:\"text-base font-semibold\"},[_vm._v(\"Package type:\")]),_c('fieldset',{staticClass:\"flex flex-col w-60 mt-2\"},[_c('label',{staticClass:\"flex m-0 p-0 cursor-pointer\"},[_c('t-radio',{staticClass:\"t-radio\",attrs:{\"value\":\"carton\",\"name\":\"carton\"},model:{value:(_vm.addPackageData.type),callback:function ($$v) {_vm.$set(_vm.addPackageData, \"type\", $$v)},expression:\"addPackageData.type\"}}),_c('span',{staticClass:\"ml-2 w-40 text-sm leading-4\"},[_vm._v(\" Carton \")])],1),_c('label',{staticClass:\"flex m-0 p-0 mt-2 cursor-pointer\"},[_c('t-radio',{staticClass:\"t-radio\",attrs:{\"value\":\"pallet\",\"name\":\"pallet\"},model:{value:(_vm.addPackageData.type),callback:function ($$v) {_vm.$set(_vm.addPackageData, \"type\", $$v)},expression:\"addPackageData.type\"}}),_c('span',{staticClass:\"ml-2 w-40 text-sm leading-4\"},[_vm._v(\" Pallet \")])],1)])]),_c('div',[_c('h4',{staticClass:\"text-base font-semibold\"},[_vm._v(\"Dimensions:\")]),_c('div',{staticClass:\"flex pt-2\"},[_c('div',{staticClass:\"flex align-start w-28\"},[_c('InputIntegers',{staticClass:\"w-28 h-10\",attrs:{\"validation\":_vm.addPackageData.customChosen ? true : false,\"value\":String(_vm.addPackageData.width),\"minValue\":1,\"variant\":\"rounded\"},on:{\"changed\":_vm.addPackageWidthChanged}}),_c('span',{staticClass:\"ml-2 mt-2\"},[_vm._v(\"x\")])],1),_c('div',{staticClass:\"flex align-start w-28 ml-2\"},[_c('InputIntegers',{staticClass:\"w-28 h-10\",attrs:{\"validation\":_vm.addPackageData.customChosen ? true : false,\"value\":String(_vm.addPackageData.height),\"minValue\":1,\"variant\":\"rounded\"},on:{\"changed\":_vm.addPackageHeightChanged}}),_c('span',{staticClass:\"ml-2 mt-2\"},[_vm._v(\"x\")])],1),_c('div',{staticClass:\"flex align-start w-32 ml-2\"},[_c('InputIntegers',{staticClass:\"w-28 h-10\",attrs:{\"validation\":_vm.addPackageData.customChosen ? true : false,\"value\":String(_vm.addPackageData.length),\"minValue\":1,\"variant\":\"rounded\"},on:{\"changed\":_vm.addPackageLengthChanged}}),_c('span',{staticClass:\"ml-2 mt-2\"},[_vm._v(\"sm\")])],1),_c('div',{staticClass:\"mt-2 ml-2\"},[_vm._v(\"= \"+_vm._s(_vm.addPackageData.volume)+\" m³\")])])])]):_vm._e(),_c('div',{staticClass:\"flex justify-end align-center\"},[(_vm.addPackageError)?_c('div',{staticClass:\"text-base text-red-700 mr-3\"},[_vm._v(\" \"+_vm._s(_vm.addPackageError)+\" \")]):_vm._e(),_c('div',{staticClass:\"w-42\"},[_c('Button',{attrs:{\"type\":\"submit\",\"text\":\"Add product\",\"color\":\"purple\",\"icon\":\"mdi-plus\"}})],1)])])])])],1)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex flex-col justify-start border-r border-purple-200 pr-10\"},[_c('span',{staticClass:\"text-sm leading-4 whitespace-nowrap\"},[_vm._v(\"Booking /\")]),_c('span',{staticClass:\"text-xl leading-6 font-semibold\"},[_vm._v(\"Parcel\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex align-end justify-start pt-1\"},_vm._l((_vm.pageTabs),function(tab,idx){return _c('div',{key:idx,staticClass:\"pt-4 border-t border-purple-200 cursor-pointer last:border-r\",class:`\n ${tab.active ? 'px-6 pt-6 pb-2.5 bg-white rounded-t-md border-r' : 'px-8 pt-4 pb-3'}\n ${idx >= 1 && _vm.pageTabs[idx - 1].active ? '' : 'border-l'}\n `,on:{\"click\":function($event){return _vm.scrollTo(tab.link)}}},[_c('div',{staticClass:\"flex align-center\"},[_c('Icon',{attrs:{\"name\":tab.icon,\"color\":\"gray\",\"colorIntensity\":\"800\",\"size\":tab.active ? '2xl' : 'xl'}}),_c('span',{staticClass:\"ml-1\",class:tab.active ? 'text-lg font-semibold' : 'text-base'},[_vm._v(_vm._s(tab.title))])],1)])}),0)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\n\nimport { PageTabsData } from '@/models/main';\n\n@Component({\n components: {\n Icon,\n },\n})\n\n// Parent component should have section with 'page-header' id and sections with 'attr-scroll-id=\"...\"' attribute\nexport default class PageTabs extends Vue {\n @Prop({ type: Array, required: true }) public pageTabs: PageTabsData[];\n\n public scrollTo(sectionNumber): void {\n const el = document.querySelector(`[attr-scroll-id=\"${sectionNumber}\"]`);\n if (el) {\n const elDistanceToTop = window.pageYOffset + el.getBoundingClientRect().top;\n const pageHeader = document.getElementById('page-header');\n const pageHeaderHeight = pageHeader ? pageHeader.clientHeight : 0;\n window.scrollTo({ top: elDistanceToTop - pageHeaderHeight + 20, behavior: 'smooth' });\n }\n }\n\n private handleScroll(): void {\n const pageHeader = document.getElementById('page-header');\n const pageHeaderHeight = pageHeader ? pageHeader.clientHeight : 0;\n //\n const sectionPositions: number[] = [];\n //\n this.pageTabs.map((tab, idx) => {\n tab.active = false;\n const el = document.querySelector(`[attr-scroll-id=\"${idx + 1}\"]`);\n if (el) {\n sectionPositions.push(el.getBoundingClientRect().top - pageHeaderHeight + 10);\n }\n });\n //\n let curTab = 0;\n sectionPositions.map((position, idx) => {\n if (position < 0) {\n curTab = idx;\n }\n });\n //\n this.pageTabs[curTab].active = true;\n }\n\n private mounted() {\n window.addEventListener('scroll', this.handleScroll);\n }\n\n private beforeDestroy() {\n window.removeEventListener('scroll', this.handleScroll);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PageTabs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PageTabs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PageTabs.vue?vue&type=template&id=df6002a2\"\nimport script from \"./PageTabs.vue?vue&type=script&lang=ts\"\nexport * from \"./PageTabs.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full flex justify-start align-top mt-2\"},[_c('div',{staticClass:\"w-44 mr-2\"},[(_vm.$ability.can('staff', 'Job'))?_c('LookupCustomerCode',{on:{\"changed\":_vm.customerCodeChanged}}):_c('div',{staticClass:\"flex flex-col w-44 mr-2 floating-label-inset\"},[_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":\"ccode\",\"name\":\"ccode\",\"type\":\"text\",\"placeholder\":\"Customer code\",\"disabled\":true,\"variant\":{\n disabled: true,\n }},model:{value:(_vm.data.customer_code),callback:function ($$v) {_vm.$set(_vm.data, \"customer_code\", $$v)},expression:\"data.customer_code\"}}),_c('label',{attrs:{\"for\":_vm.data.ref1_prompt}},[_c('span',[_vm._v(\" Customer code \")])])],1)],1),_c('validation-provider',{staticClass:\"flex flex-col w-44 mr-2 floating-label-inset\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":\"caller\",\"name\":\"caller\",\"type\":\"text\",\"placeholder\":\"Caller\",\"disabled\":!_vm.$ability.can('staff', 'Job'),\"variant\":{\n error: !!errors[0],\n disabled: !_vm.$ability.can('staff', 'Job'),\n }},model:{value:(_vm.data.caller),callback:function ($$v) {_vm.$set(_vm.data, \"caller\", $$v)},expression:\"data.caller\"}}),_c('label',{staticClass:\"cursor-text\",attrs:{\"for\":\"caller\"}},[_c('span',[_vm._v(\" Caller \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])}),_c('validation-provider',{staticClass:\"flex flex-col w-44 mr-2 floating-label-inset\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":\"phone\",\"name\":\"phone\",\"type\":\"text\",\"placeholder\":\"Phone\",\"disabled\":!_vm.$ability.can('staff', 'Job'),\"variant\":{\n error: !!errors[0],\n disabled: !_vm.$ability.can('staff', 'Job'),\n }},model:{value:(_vm.data.phone),callback:function ($$v) {_vm.$set(_vm.data, \"phone\", $$v)},expression:\"data.phone\"}}),_c('label',{staticClass:\"cursor-text\",attrs:{\"for\":\"phone\"}},[_c('span',[_vm._v(\" Phone \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])}),_c('validation-provider',{staticClass:\"flex flex-col w-44 mr-2 floating-label-inset\",attrs:{\"rules\":{ required: _vm.data.ref1_required }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":_vm.data.ref1_prompt,\"name\":_vm.data.ref1_prompt,\"type\":\"text\",\"placeholder\":_vm.data.ref1_prompt},model:{value:(_vm.data.REF1),callback:function ($$v) {_vm.$set(_vm.data, \"REF1\", $$v)},expression:\"data.REF1\"}}),_c('label',{staticClass:\"cursor-text\",attrs:{\"for\":_vm.data.ref1_prompt}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.data.ref1_prompt)+\" \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])}),_c('validation-provider',{staticClass:\"flex flex-col w-44 mr-2 floating-label-inset\",attrs:{\"rules\":{ required: _vm.data.ref2_required }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":_vm.data.ref2_prompt,\"name\":_vm.data.ref2_prompt,\"type\":\"text\",\"placeholder\":_vm.data.ref2_prompt},model:{value:(_vm.data.REF2),callback:function ($$v) {_vm.$set(_vm.data, \"REF2\", $$v)},expression:\"data.REF2\"}}),_c('label',{staticClass:\"cursor-text\",attrs:{\"for\":_vm.data.ref2_prompt}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.data.ref2_prompt)+\" \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])}),_c('validation-provider',{staticClass:\"flex flex-col w-44 floating-label-inset\",attrs:{\"rules\":{ required: _vm.data.ref3_required }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":_vm.data.ref3_prompt,\"name\":_vm.data.ref3_prompt,\"type\":\"text\",\"placeholder\":_vm.data.ref3_prompt},model:{value:(_vm.data.REF3),callback:function ($$v) {_vm.$set(_vm.data, \"REF3\", $$v)},expression:\"data.REF3\"}}),_c('label',{staticClass:\"cursor-text\",attrs:{\"for\":_vm.data.ref3_prompt}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.data.ref3_prompt)+\" \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\n\nimport LookupCustomerCode from '@/components/UI/LookupCustomerCode.vue';\nimport { clearPhoneNumber } from '@/utils/InputProcessingUtilities';\n\nimport { getReferencesParams } from '@/api';\nimport { BookingHeaderData, ReferencesParams, User } from '@/models/main';\n\n@Component({\n components: {\n LookupCustomerCode,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\n\n// Parent component should have section with 'page-header' id and sections with 'attr-scroll-id=\"...\"' attribute\nexport default class BookingHeader extends Vue {\n @Prop({ required: true }) public customerData;\n\n private user: User;\n\n public data = {\n customer_code: '',\n caller: '',\n phone: '',\n REF1: '',\n REF2: '',\n REF3: '',\n ref1_prompt: '',\n ref2_prompt: '',\n ref3_prompt: '',\n ref1_required: false,\n ref2_required: false,\n ref3_required: false,\n };\n\n private emitData(data: BookingHeaderData) {\n const updateData = {\n customer_code: data.customer_code,\n caller: data.caller,\n phone: data.phone,\n REF1: data.REF1,\n REF2: data.REF2,\n REF3: data.REF3,\n };\n this.$emit('dataChanged', updateData);\n }\n\n @Watch('data', { deep: true })\n private watchData() {\n this.emitData(this.data);\n }\n\n public async customerCodeChanged(code: string): Promise {\n this.data.customer_code = code;\n if (code) {\n await this.getReferences(code);\n }\n this.emitData(this.data);\n }\n\n private async getReferences(customerCode) {\n await getReferencesParams(customerCode)\n .then((res: ReferencesParams) => {\n const updateData = {\n ...this.data,\n };\n //\n updateData.ref1_prompt = res.ref1_prompt || 'Reference 1';\n updateData.ref2_prompt = res.ref2_prompt || 'Reference 2';\n updateData.ref3_prompt = res.ref3_prompt || 'Reference 3';\n updateData.ref1_required = res.ref1_required || false;\n updateData.ref2_required = res.ref2_required || false;\n updateData.ref3_required = res.ref3_required || false;\n // For non-stuff user fill CCode, Caller and Phone\n if (!this.$ability.can('staff', 'Job')) {\n updateData.customer_code = this.user.customerCode;\n updateData.caller = this.user.username.split('@')[0].slice(0, 16);\n updateData.phone = this.user.phone_number ? clearPhoneNumber(this.user.phone_number) : '';\n }\n this.data = { ...updateData };\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: \"Error getting Customer's profile info\",\n text: 'Something went wrong while make a request',\n type: 'warn',\n duration: 3000,\n });\n });\n }\n\n private async mounted() {\n await this.getReferences(this.user.customerCode);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BookingHeader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BookingHeader.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BookingHeader.vue?vue&type=template&id=2ca98cec\"\nimport script from \"./BookingHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./BookingHeader.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { bookJobGeneral, createUserAddressBookItem, getAddressBookDefault, getProductsGeneral } from '@/api';\nimport { fetchGetAddressBookAddresses } from '@/helpers/fetchers';\nimport Button from '@/components/UI/Button.vue';\nimport LookupAddresses from '@/components/UI/LookupAddresses.vue';\nimport LookupCustomerCode from '@/components/UI/LookupCustomerCode.vue';\nimport LookupSuburb from '@/components/UI/LookupSuburb.vue';\nimport Icon from '@/components/UI/Icon.vue';\nimport PageTabs from '@/components/UI/PageTabs.vue';\nimport InputPositiveNumbers from '@/components/UI/InputPositiveNumbers.vue';\nimport InputIntegers from '@/components/UI/InputIntegers.vue';\nimport BookingHeader from '@/components/UI/BookingHeader.vue';\n\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\n\nimport { GeneralBookingFormData, GeneralBookingProductData } from '@/models/generalBooking';\nimport { PageTabsData, User } from '@/models/main';\nimport {\n AddressBookEndpointParam,\n AddressBookAirRoadStop,\n AddressBookDefaultData,\n AddressBookResponse,\n} from '@/models/addressBook';\n\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport * as Sentry from '@sentry/vue';\nimport { notificationErrorText } from '@/utils/PortalConstants';\n\n@Component({\n components: {\n BookingHeader,\n Button,\n Icon,\n InputPositiveNumbers,\n InputIntegers,\n LookupAddresses,\n LookupCustomerCode,\n LookupSuburb,\n PageTabs,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n ...mapState(['isSideMenuOpen']),\n },\n data() {\n return {};\n },\n})\nexport default class JobBookingGeneral extends Vue {\n private loading = false;\n private user: User;\n\n public addPackageDialog = false;\n public addPackageError = '';\n public formSubmitted = false;\n public formError = '';\n public identicalAddresses = false;\n\n public addressBookData: AddressBookAirRoadStop[] = [];\n\n public formData: GeneralBookingFormData = {\n customer_code: '',\n caller: '',\n phone: '',\n REF1: '',\n REF2: '',\n REF3: '',\n ref1_prompt: '',\n ref2_prompt: '',\n ref3_prompt: '',\n ref1_required: false,\n ref2_required: false,\n ref3_required: false,\n stops: [\n {\n name: '',\n suburb: '',\n suburbId: -1,\n state: '',\n postcode: '',\n address_line1: '',\n address_line2: '',\n warehouse: false,\n attributes: [],\n number: 1,\n note_text: '',\n note_name: '',\n note_phone: '',\n note_email: '',\n time: {\n earliest: '',\n latest: '',\n },\n minDate: '',\n addToAddressBook: false,\n },\n {\n name: '',\n suburb: '',\n suburbId: -1,\n state: '',\n postcode: '',\n address_line1: '',\n address_line2: '',\n warehouse: false,\n attributes: [],\n number: 2,\n note_text: '',\n note_name: '',\n note_phone: '',\n note_email: '',\n time: {\n earliest: '',\n latest: '',\n },\n minDate: '',\n addToAddressBook: false,\n },\n ],\n products: [],\n };\n\n public totalData = [];\n\n public pageTabs: PageTabsData[] = [\n {\n title: '1. Customer',\n icon: 'mdi-file-document-outline',\n link: '1',\n active: true,\n },\n {\n title: '2. Addresses',\n icon: 'mdi-map-marker',\n link: '2',\n active: false,\n },\n {\n title: '3. Packages',\n icon: 'mdi-package-variant-closed',\n link: '3',\n active: false,\n },\n ];\n\n public productsGeneralList: GeneralBookingProductData[] = [];\n private productsGeneralCustomList: GeneralBookingProductData[] = [];\n\n public addPackageData = {\n packageBox: '',\n weight: 0,\n quantity: 0,\n description: '',\n customChosen: false,\n type: 'box',\n width: 10,\n height: 10,\n length: 10,\n volume: 0.001,\n boxVolume: 0,\n id: 0,\n name: '',\n };\n\n public suburbChanged(suburb, stop: number) {\n console.log('surb changed:', suburb, stop, this.formData.stops[stop]);\n this.formData.stops[stop].suburb = suburb.name;\n this.formData.stops[stop].suburbId = suburb.id;\n this.formData.stops[stop].state = suburb.state;\n this.formData.stops[stop].postcode = suburb.postcode;\n }\n\n @Watch('formData.products', { deep: true })\n private watchProducts() {\n this.totalData = [];\n\n this.formData.products.map(product => {\n const currentProductIdx = Object.keys(this.totalData).indexOf(product.model);\n\n if (currentProductIdx === -1) {\n this.totalData[product.model] = {\n quantity: 1,\n volume: product.volume,\n weight: product.weight,\n };\n } else {\n this.totalData[product.model].quantity += 1;\n //\n if (product.volume) {\n const newVolume =\n (Math.ceil(this.totalData[product.model].volume * 1000) + Math.ceil(product.volume * 1000)) / 1000;\n this.totalData[product.model].volume = newVolume;\n }\n const newWeight =\n (Math.ceil(this.totalData[product.model].weight * 1000) + Math.ceil(product.weight * 1000)) / 1000;\n this.totalData[product.model].weight = newWeight;\n }\n });\n }\n\n // Custom products radio group (modal):\n @Watch('addPackageData.type', { deep: true })\n private watchPackageType() {\n let chosenIdx = -1;\n if (this.addPackageData.type === 'carton') {\n chosenIdx = this.productsGeneralCustomList.findIndex(x => x.name.toUpperCase() === 'Custom Box'.toUpperCase());\n }\n if (this.addPackageData.type === 'pallet') {\n chosenIdx = this.productsGeneralCustomList.findIndex(x => x.name.toUpperCase() === 'Custom Pallet'.toUpperCase());\n }\n if (chosenIdx >= 0) {\n this.addPackageData.id = this.productsGeneralCustomList[chosenIdx].id;\n this.addPackageData.name = this.productsGeneralCustomList[chosenIdx].name;\n }\n }\n\n public packageBoxSelectChanged(e: string): void {\n const chosenBox = this.productsGeneralList.find(x => x.name === e);\n if (chosenBox) {\n this.addPackageData.boxVolume = (chosenBox.width * chosenBox.height * chosenBox.length) / 1000000;\n this.addPackageData.width = chosenBox.width;\n this.addPackageData.height = chosenBox.height;\n this.addPackageData.length = chosenBox.length;\n this.addPackageData.id = chosenBox.id;\n this.addPackageData.name = chosenBox.name;\n }\n }\n\n public addPackageWeightChanged(value: string) {\n this.addPackageData.weight = Number(value);\n }\n\n public addPackageQuantityChanged(value: string): void {\n this.addPackageData.quantity = Number(value);\n this.addPackageError = '';\n }\n\n public addPackageWidthChanged(value: string): void {\n this.addPackageData.width = Number(value);\n this.recalcPackageVolume();\n }\n\n public addPackageHeightChanged(value: string): void {\n this.addPackageData.height = Number(value);\n this.recalcPackageVolume();\n }\n\n public addPackageLengthChanged(value: string): void {\n this.addPackageData.length = Number(value);\n this.recalcPackageVolume();\n }\n\n private recalcPackageVolume() {\n const newVolume = Number(\n ((this.addPackageData.width * this.addPackageData.height * this.addPackageData.length) / 1000000).toFixed(4),\n );\n this.addPackageData.volume = newVolume;\n }\n\n //\n private getAddressBookWrapper(): void {\n const params: AddressBookEndpointParam = {\n username: '',\n customer: '',\n warehouse: false,\n page: 1,\n };\n fetchGetAddressBookAddresses(params).then((res: AddressBookResponse) => {\n this.addressBookData = res.results;\n });\n }\n\n public switchAddresses(): void {\n // TODO: refactor\n const stopFirst = { ...this.formData.stops[0] };\n const stopSecond = { ...this.formData.stops[1] };\n\n this.formData.stops[0] = { ...stopSecond, number: 1 };\n this.formData.stops[1] = { ...stopFirst, number: 2 };\n\n const lookup0 = this.$refs['lookupSuburb0'] as HTMLFormElement[];\n lookup0[0].applyValueFromParent({\n name: this.formData.stops[0].suburb,\n id: this.formData.stops[0].suburbId,\n postcode: this.formData.stops[0].postcode,\n state: this.formData.stops[0].state,\n });\n\n const lookup1 = this.$refs['lookupSuburb1'] as HTMLFormElement[];\n lookup1[0].applyValueFromParent({\n name: this.formData.stops[1].suburb,\n postcode: this.formData.stops[1].postcode,\n id: this.formData.stops[1].suburbId,\n state: this.formData.stops[1].state,\n });\n\n const lookupAddress0 = this.$refs['lookupAddress0'] as HTMLFormElement[];\n lookupAddress0[0].applyValueFromParent({\n city: null,\n line1: stopSecond.address_line1,\n line2: stopSecond.address_line2,\n line3: null,\n name: stopSecond.name,\n suburb: {\n id: stopSecond.suburbId,\n name: stopSecond.suburb,\n postcode: stopSecond.postcode,\n state: stopSecond.state,\n },\n id: 0,\n warehouse: false,\n });\n\n const lookupAddress1 = this.$refs['lookupAddress1'] as HTMLFormElement[];\n lookupAddress1[0].applyValueFromParent({\n city: null,\n line1: stopFirst.address_line1,\n line2: stopFirst.address_line2,\n line3: null,\n name: stopFirst.name,\n suburb: {\n id: stopFirst.suburbId,\n name: stopFirst.suburb,\n postcode: stopFirst.postcode,\n state: stopFirst.state,\n },\n id: 0,\n warehouse: false,\n });\n\n this.$forceUpdate();\n }\n\n public changeAddressBook(value, idx: number): void {\n if (typeof value === 'string') {\n // Input type\n this.formData.stops[idx].name = value.substring(0, 30);\n } else {\n // List item click\n this.formData.stops[idx].name = value.name.substring(0, 30);\n this.formData.stops[idx].state = value.suburb.state;\n this.formData.stops[idx].address_line1 = value.line1 ? value.line1 : '';\n this.formData.stops[idx].address_line2 = value.line2;\n this.formData.stops[idx].suburb = value.suburb.name;\n this.formData.stops[idx].suburbId = value.suburb.id;\n this.formData.stops[idx].note_name = value.note_name;\n this.formData.stops[idx].note_phone = value.note_phone;\n this.formData.stops[idx].note_text = value.note_text ? value.note_text : '';\n this.formData.stops[idx].note_email = value.note_email || '';\n this.formData.stops[idx].postcode = value.suburb.postcode;\n const lookup = this.$refs[`lookupSuburb${idx}`] as HTMLFormElement[];\n lookup[0].applyValueFromParent(value.suburb);\n }\n // Check identical address names\n this.formData.stops[idx].name !== '' && this.formData.stops[0].name === this.formData.stops[1].name\n ? (this.identicalAddresses = true)\n : (this.identicalAddresses = false);\n this.$forceUpdate();\n }\n\n public removePackage(idx): void {\n this.formData.products.splice(idx, 1);\n }\n\n public addProductClicked(): void {\n this.addPackageDialog = true;\n }\n\n private async bookJob() {\n this.loading = true;\n\n this.formData.stops.map(async stop => {\n // Save to Address book\n if (stop.addToAddressBook) {\n await createUserAddressBookItem({\n suburb: stop.suburbId,\n name: stop.name,\n line1: stop.address_line1,\n line2: stop.address_line2,\n line3: '',\n city: '',\n note_name: stop.note_name,\n note_phone: stop.note_phone,\n note_email: stop.note_email || '',\n note_text: stop.note_text ? stop.note_text : '',\n warehouse: stop.warehouse,\n })\n .then(res => {\n if (res.status === 201) {\n this.$notify({\n group: 'network',\n text: 'The address was added to the address book',\n type: 'success',\n duration: 3000,\n });\n stop.addToAddressBook = false;\n }\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error creating an address in the address book',\n text: 'You can add it manually on the Address Book page',\n type: 'warn',\n duration: 3000,\n });\n });\n }\n // Remove min date & set latest date to the object\n stop.time.latest = stop.time.earliest;\n delete stop.minDate;\n });\n\n const data = [\n {\n ...this.formData,\n schema_version: '1.0',\n provider: 'airroad',\n },\n ];\n\n return bookJobGeneral(data)\n .then(res => {\n return {\n success: true,\n data: res.data,\n };\n })\n .catch(res => {\n // HTTP 400 comes with error message\n if (res?.response?.status === 400 && res?.response?.data.failed.length > 0) {\n Sentry.withScope(scope => {\n scope.setLevel('warning');\n Sentry.captureException(res.response?.data.failed[0].error_reason);\n });\n } else {\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(res);\n });\n }\n return {\n success: false,\n data: res,\n };\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n public async onSubmitBtnClick(redirect): Promise {\n this.formSubmitted = true;\n const form = this.$refs.form as HTMLFormElement;\n // Check identical address names\n this.formData.stops[0].name !== '' && this.formData.stops[0].name === this.formData.stops[1].name\n ? (this.identicalAddresses = true)\n : (this.identicalAddresses = false);\n // Validate form\n if (form && !this.loading && !this.identicalAddresses) {\n const success = await form.validate();\n if (success && this.formData.products.length > 0) {\n const bookResult = await this.bookJob();\n if (bookResult.success) {\n this.$notify({\n group: 'network',\n text: `Job #${bookResult?.data?.booked[0]?.rh_id} booked successfully`,\n type: 'success',\n });\n if (redirect) {\n // Redirect to Detailed job page\n await this.$router.push({\n path: `/job/${bookResult.data.booked[0].rh_id}/`,\n });\n } else {\n // Reload router to reset the form\n this.$router.go(0);\n }\n } else {\n this.$notify({\n group: 'network',\n title: 'Unknown error during job booking',\n text: notificationErrorText,\n type: 'warn',\n });\n }\n }\n }\n }\n\n public async onPackageSubmit(): Promise {\n const packageForm = this.$refs.packageForm as HTMLFormElement;\n if (packageForm) {\n const success = await packageForm.validate();\n //\n if (success) {\n if (this.addPackageData.customChosen && this.addPackageData.volume < 0.001) {\n this.$notify({\n group: 'network',\n text: 'The volume should not be more than 0.001 cubic meters',\n type: 'warn',\n duration: 3000,\n });\n } else if (this.formData.products.length + this.addPackageData.quantity <= 32) {\n for (let i = 0; i < this.addPackageData.quantity; i++) {\n this.formData.products.push({\n model: this.addPackageData.customChosen\n ? this.addPackageData.type.toUpperCase()\n : this.addPackageData.packageBox,\n model_id: this.addPackageData.id,\n description: this.addPackageData.description,\n length: this.addPackageData.length,\n width: this.addPackageData.width,\n height: this.addPackageData.height,\n weight: Number(this.addPackageData.weight.toFixed(2)),\n volume: this.addPackageData.customChosen\n ? Math.ceil(this.addPackageData.volume * 1000) / 1000\n : Math.ceil(this.addPackageData.boxVolume * 1000) / 1000,\n from_stop: 1,\n to_stop: 2,\n });\n }\n this.addPackageDialog = false;\n this.addPackageError = '';\n } else {\n this.addPackageError = '32 packages maximum';\n }\n }\n }\n }\n\n // Customer des data listener\n public customerDataChanged(data): void {\n this.formData.REF1 = data.REF1;\n this.formData.REF2 = data.REF2;\n this.formData.REF3 = data.REF3;\n //\n if (this.$ability.can('staff', 'Job')) {\n this.formData.customer_code = data.customer_code;\n this.formData.caller = data.caller;\n this.formData.phone = data.phone;\n }\n }\n\n private async getProductsGeneralWrapper() {\n await getProductsGeneral()\n .then(res => {\n this.productsGeneralList = res.filter(x => x.goods_code !== 'CBOX' && x.goods_code !== 'CPAL');\n this.productsGeneralCustomList = res.filter(x => x.goods_code === 'CBOX' || x.goods_code === 'CPAL');\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting the products list',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n }\n\n public async defaultAddressIconClicked(stop_number: number): Promise {\n await getAddressBookDefault(this.formData.customer_code)\n .then((res: AddressBookDefaultData) => {\n const lookupAddress = this.$refs[`lookupAddress${stop_number}`] as HTMLFormElement[];\n if (lookupAddress[0]) {\n lookupAddress[0].applyValueFromParent({ ...res });\n }\n this.formData.stops[stop_number].note_text = res.note_text;\n this.formData.stops[stop_number].note_name = res.note_name;\n this.formData.stops[stop_number].note_phone = res.note_phone;\n this.formData.stops[stop_number].note_email = res.note_email || '';\n this.formData.stops[stop_number].addToAddressBook = false;\n this.changeAddressBook(res, stop_number);\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting the default address',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n }\n\n private mounted() {\n this.getAddressBookWrapper();\n this.getProductsGeneralWrapper();\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.formData.stops.map(stop => {\n stop.time.earliest = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n stop.time.latest = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n stop.minDate = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBookingGeneral.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBookingGeneral.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobBookingGeneral.vue?vue&type=template&id=7a85955e\"\nimport script from \"./JobBookingGeneral.vue?vue&type=script&lang=ts\"\nexport * from \"./JobBookingGeneral.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VCombobox } from 'vuetify/lib/components/VCombobox';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"jobbooking-advanced\"},[_c(VForm,{ref:\"form\",attrs:{\"lazy-validation\":\"\"},on:{\"change\":function($event){return _vm.formChanged()}}},[_c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 py-0\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"Job booking / Site Inspection\")])])],1),_c('div',{staticClass:\"wrapper customerDetailsFieldsetAndReset mt-2 ml-1 mr-10\"},[_c('div',{staticClass:\"customerDetailsFieldsetItem\"},[_c('CustomerDetailsFieldGroup',{attrs:{\"userData\":_vm.userData,\"setCustomerCode\":_vm.setCustomerCode,\"handlePhoneBlur\":_vm.onlyNumberAndSpaceBlur,\"customerCodeIsRequired\":true},on:{\"change\":function($event){return _vm.formChanged()}}})],1),_c('div',{staticClass:\"resetItem\"},[_c('Button',{staticClass:\"btn-clear-all mt-1\",attrs:{\"size\":\"normal\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-close\",\"text\":\"Clear form\",\"loading\":_vm.loading,\"data-cy\":\"btn-clearForm\",\"tabindex\":7},nativeOn:{\"click\":function($event){return _vm.clearForm.apply(null, arguments)}}})],1)])])]),_c(VContainer,{staticClass:\"wrapper mx-0 p-0\"},[_c(VRow,{staticClass:\"flex py-8\"},[_c(VCard,{staticClass:\"elevation-1 ml-8\"},[_c('div',{staticClass:\"stop-header pb-2\"},[(_vm.stop.warehouse)?_c('div',{staticClass:\"warehouse-tooltip\"},[_c(VTooltip,{staticClass:\"tooltip\",attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c(VIcon,_vm._g(_vm._b({attrs:{\"color\":\"white\"}},'v-icon',attrs,false),on),[_vm._v(\"mdi-package-variant\")])]}}],null,false,4079390670)},[_c('span',[_vm._v(\"Warehouse stop\")])])],1):_vm._e(),_c('div',{staticClass:\"stop-header-row d-flex justify-space-between align-baseline\"},[_c('div',{staticClass:\"pl-1\"},[_vm._v(\"Site Inspection Stop\")])])]),_c('div',{staticClass:\"stop-body w-156\"},[_c('div',{staticClass:\"stop-name-wrapper\"},[_c(VTooltip,{staticClass:\"clear-selected\",attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c(VIcon,_vm._g(_vm._b({attrs:{\"color\":\"purple\",\"size\":\"24\"},on:{\"click\":function($event){return _vm.clearAddressBook()}}},'v-icon',attrs,false),on),[_vm._v(\"mdi-close-circle\")])]}}])},[_c('span',[_vm._v(\"Clear selected\")])]),_c(VCombobox,{staticClass:\"stop-input\",attrs:{\"label\":\"Customer\",\"outlined\":\"\",\"items\":_vm.addressesWithoutWarehousesNames,\"value\":_vm.stop.name,\"maxlength\":30,\"item-value\":\"name\",\"item-text\":\"name\",\"return-object\":true,\"append-icon\":\"\",\"data-cy\":\"input-address-name\",\"menu-props\":{ 'allow-overflow': true },\"tabindex\":7,\"rules\":[v => !!v || 'Stop name is required field'],\"disabled\":_vm.userData.customerCode === ''},on:{\"change\":function($event){return _vm.changeAddressBook($event)},\"keydown\":function($event){return _vm.keyPressedddressBookName($event)},\"click:clear\":function($event){return _vm.clearAddressBook()}},scopedSlots:_vm._u([{key:\"item\",fn:function({ item }){return [_c('div',[_vm._v(_vm._s(item.name)+\", \"+_vm._s(item.suburb.name))])]}}])},[_c('div',{attrs:{\"slot\":\"append\",\"color\":\"black\"},slot:\"append\"},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,[_vm._v(\"mdi-card-account-details\")])],1)]}}])},[_c('span',[_vm._v(\"Choose from the Address book\")])])],1)]),(_vm.stop.name && _vm.stop.name.length >= 30)?_c('p',{staticClass:\"stop-input-name-hint ml-3\"},[_vm._v(\" The maximum length is limited to 30 characters \")]):_vm._e()],1),_c(VTextField,{staticClass:\"stop-input\",attrs:{\"label\":\"Street address\",\"outlined\":\"\",\"data-cy\":\"input-address-line1\",\"hint\":_vm.stop.address_2 && _vm.stop.address_2.length >= 30\n ? 'The maximum length is limited to 30 characters'\n : null,\"maxlength\":30,\"tabindex\":8,\"rules\":[v => !!v || 'Street address is required field'],\"disabled\":_vm.stop.warehouse},model:{value:(_vm.stop.address_2),callback:function ($$v) {_vm.$set(_vm.stop, \"address_2\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"stop.address_2\"}}),_c(VTextField,{staticClass:\"stop-input\",attrs:{\"label\":\"Room / Level / Unit\",\"outlined\":\"\",\"data-cy\":\"input-address-line2\",\"hint\":_vm.stop.address_1 && _vm.stop.address_1.length >= 30\n ? 'The maximum length is limited to 30 characters'\n : null,\"maxlength\":30,\"tabindex\":9,\"disabled\":_vm.stop.warehouse},model:{value:(_vm.stop.address_1),callback:function ($$v) {_vm.$set(_vm.stop, \"address_1\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"stop.address_1\"}}),_c('LookupSuburb',{attrs:{\"data-cy\":\"input-suburb\",\"chosen\":{\n suburb: _vm.stop.suburb,\n suburbId: _vm.stop.suburbId,\n postCode: _vm.stop.postCode,\n state: _vm.stop.state,\n },\"autocomplete\":_vm.autocompleteSuburb,\"stop\":0,\"editedItem\":-1,\"tabIndex\":10,\"disabled\":false},on:{\"change\":_vm.changeSuburb,\"clear\":_vm.clearSuburb}}),_c(VTextField,{staticClass:\"stop-input\",attrs:{\"label\":\"State\",\"outlined\":\"\",\"disabled\":\"\"},model:{value:(_vm.stop.state),callback:function ($$v) {_vm.$set(_vm.stop, \"state\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"stop.state\"}}),_c(VTextField,{staticClass:\"stop-input\",attrs:{\"label\":\"Post Code\",\"outlined\":\"\",\"disabled\":\"\"},model:{value:(_vm.stop.postCode),callback:function ($$v) {_vm.$set(_vm.stop, \"postCode\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"stop.postCode\"}}),_c('div',{staticClass:\"flex justify-start items-center\"},[_c('label',{staticClass:\"flex align-center cursor-pointer\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.uiState.addressBookCheckbox),expression:\"uiState.addressBookCheckbox\"}],staticClass:\"t-checkbox\",attrs:{\"disabled\":_vm.stop.warehouse,\"tabindex\":11,\"data-cy\":\"checkbox-address-book\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.uiState.addressBookCheckbox)?_vm._i(_vm.uiState.addressBookCheckbox,null)>-1:(_vm.uiState.addressBookCheckbox)},on:{\"change\":function($event){var $$a=_vm.uiState.addressBookCheckbox,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.uiState, \"addressBookCheckbox\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.uiState, \"addressBookCheckbox\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.uiState, \"addressBookCheckbox\", $$c)}}}}),_c('span',{staticClass:\"ml-2 pr-1 text-base leading-4 text-gray-600\"},[_vm._v(\"Add to the address book\")])]),_c('router-link',{staticClass:\"address-book-link ma-0 pa-0\",attrs:{\"to\":{\n name: _vm.routeNames.ADDRESS_BOOK,\n },\"target\":\"_blank\",\"tabindex\":12}},[_c('p',{staticClass:\"ma-0 pa-0 text-base whitespace-nowrap\"},[_vm._v(\"My address book\")])])],1),_c('h4',{staticClass:\"ma-0 mt-4 pa-0\"},[_vm._v(\"Contact Details:\")]),_c(VTextField,{staticClass:\"stop-input\",attrs:{\"label\":\"Name\",\"outlined\":\"\",\"data-cy\":\"input-name\",\"maxlength\":30,\"tabindex\":13,\"rules\":[v => !!v || 'Contact name is required field']},model:{value:(_vm.stop.notesName),callback:function ($$v) {_vm.$set(_vm.stop, \"notesName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"stop.notesName\"}}),_c(VTextField,{staticClass:\"stop-input\",attrs:{\"label\":\"Phone\",\"outlined\":\"\",\"data-cy\":\"input-phone\",\"maxlength\":20,\"tabindex\":14,\"min\":\"0\",\"rules\":[v => !!v || 'Contact phone is required field']},on:{\"keypress\":_vm.onlyNumberAndSpace,\"blur\":function($event){return _vm.onlyNumberAndSpaceBlur()}},model:{value:(_vm.stop.notesPhone),callback:function ($$v) {_vm.$set(_vm.stop, \"notesPhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"stop.notesPhone\"}}),_c(VTextarea,{attrs:{\"outlined\":\"\",\"data-cy\":\"input-instructions\",\"label\":\"Instruction\",\"tabindex\":15,\"rows\":7},model:{value:(_vm.stop.notesInstruction),callback:function ($$v) {_vm.$set(_vm.stop, \"notesInstruction\", $$v)},expression:\"stop.notesInstruction\"}}),_c('DateTimes',{attrs:{\"stop\":0,\"stops_counter\":2,\"warehouse\":false,\"dateTimes\":_vm.dateTimes},on:{\"changeDates\":_vm.changeDates}})],1)]),_c('div',{staticClass:\"files my-5 ml-12 w-1/3\"},[_c('div',{staticClass:\"header-part\"},[_vm._v(\"Add images or documents if needed:\")]),_c(VCol,[_c(VExpandTransition,[_c('FilesTable',{attrs:{\"files\":_vm.files},on:{\"deleteFile\":_vm.deleteFile}})],1)],1),_c('UploadAttachments',{attrs:{\"PFiles\":_vm.files,\"warning\":`Only PDF files will be uploaded to drivers runs.\n Other files can be added for internal operations use.`},on:{\"changeFiles\":_vm.changeFiles}})],1)],1),_c('div',{staticClass:\"wrapper ml-5\"},[_c(VDivider,{staticClass:\"divider mt-8 mr-1\"}),_c(VExpandTransition,[(_vm.errorFromAPIResponse.length > 0)?_c(VRow,[_c(VCol,{staticClass:\"mx-4 flex justify-end\"},[_c('p',{staticClass:\"w-1/2 error-response ma-0 mt-6 pa-0\"},[_vm._v(_vm._s(_vm.errorFromAPIResponse))])])],1):_vm._e()],1),_c(VRow,[_c(VCol,{staticClass:\"section-submit d-flex justify-end align-baseline mt-4\"},[_c('Button',{staticClass:\"mt-4 mb-16\",attrs:{\"size\":\"big\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-file-edit-outline\",\"text\":\"Book the job\",\"data-cy\":\"btn-submit\",\"tabIndex\":20,\"loading\":_vm.loading,\"disabled\":_vm.loading},nativeOn:{\"click\":function($event){return _vm.bookJob.apply(null, arguments)}}})],1)],1)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport {\n getProfile,\n getAddressLookupData,\n getSuburb,\n bookJobSiteInspection,\n uploadJobFiles,\n createUserAddressBookItem,\n} from '@/api';\nimport { isCancel } from 'axios';\nimport { sendError } from '@/helpers/sentry';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport FilesTable from '@/components/UI/filesTable/FilesTable.vue';\nimport UploadAttachments from '@/components/UI/UploadAttachments/UploadAttachments.vue';\nimport CustomerDetailsFieldGroup from '@/components/fieldGroups/CustomerDetailsFieldGroup.vue';\nimport * as Sentry from '@sentry/vue';\nimport * as routeNames from '@/router/routeNames';\n\nimport { clearPhoneNumber, convertTimeStringTo24Hours } from '@/utils/InputProcessingUtilities';\nimport { statesTimeZonesList } from '@/utils/PortalConstants';\nimport { getReferencesParamsWrapper } from '@/helpers/booking';\n\nimport { User, UserDataAdvancedJB } from '@/models/main';\nimport { JBAdvancedDeliveryDetailsStop, JBAdvancedStop, JBStopDates, UIStateJobBookingStop } from '@/models/jbAdvanced';\nimport { format, utcToZonedTime } from 'date-fns-tz';\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\n\nimport { AxiosError } from 'axios';\nimport { AddressBookLookupData } from '@/models/addressBook';\nimport { addDays } from 'date-fns';\n\nimport LookupSuburb from '@/components/UI/lookups/LookupSuburb.vue';\nimport DateTimes from '@/components/jobBooking/DateTimes/DateTimes.vue';\nimport { notifyNetworkError, notifyNetworkSuccess } from '@/helpers/notifiers';\n\n@Component({\n components: {\n FilesTable,\n BackButton,\n Button,\n LookupSuburb,\n DateTimes,\n UploadAttachments,\n CustomerDetailsFieldGroup,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class JobBookingSiteInspection extends Vue {\n public routeNames = routeNames;\n public loading = false;\n private user: User;\n public autocompleteSuburb = getSuburb;\n\n private userDataDefault: UserDataAdvancedJB = {\n customerCode: '',\n caller: '',\n phone_number: '',\n reference1: '',\n reference2: '',\n reference3: '',\n ref1_prompt: 'Reference 1',\n ref2_prompt: 'Reference 2',\n ref3_prompt: 'Reference 3',\n ref1_required: false,\n ref2_required: false,\n ref3_required: false,\n };\n public userData: UserDataAdvancedJB = { ...this.userDataDefault };\n\n private addresses: AddressBookLookupData[] = [];\n public addressesWithoutWarehousesNames: AddressBookLookupData[] = [];\n\n public stop: JBAdvancedDeliveryDetailsStop = {\n id: 0,\n suburb: '',\n state: '',\n postCode: '',\n notesPhone: '',\n notesInstruction: '',\n notesName: '',\n warehouse: false,\n suburbId: 0,\n };\n private stopDefaultData = { ...this.stop };\n\n public uiState: UIStateJobBookingStop = {\n id: 0,\n addressBookCheckbox: false,\n };\n\n private today = format(utcToZonedTime(new Date(), timeZoneDefault), 'yyyy-MM-dd'); // today\n private dateTimeDefaultData = {\n id: 0,\n date: this.today,\n timeIsSetted: false,\n timeFrom: '08:00 AM',\n timeTo: '04:00 PM',\n priority: false,\n };\n public dateTimes: JBStopDates[] = [{ ...this.dateTimeDefaultData }];\n public dateTime = '';\n private statesTimeZonesList = statesTimeZonesList;\n\n public files: File[] = [];\n\n public errorFromAPIResponse = '';\n\n public changeDates(dates): void {\n this.formChanged();\n this.dateTimes = dates;\n }\n\n public changeFiles(files: File[]): void {\n this.formChanged();\n this.files = [...this.files, ...files];\n }\n\n public deleteFile(fileIndex: number): void {\n this.files.splice(fileIndex, 1);\n }\n\n public changeSuburb(stop, item) {\n this.stop.suburb = item.suburb || item.name;\n this.stop.suburbId = item.suburbId || item.id;\n this.stop.postCode = item.postcode;\n this.stop.state = item.state;\n }\n\n public clearSuburb() {\n this.stop.suburb = '';\n this.stop.suburbId = 0;\n this.stop.postCode = '';\n this.stop.state = '';\n }\n\n public clearAddressBook() {\n this.stop.suburb = '';\n this.stop.suburbId = -1;\n this.stop.postCode = '';\n this.stop.state = '';\n this.stop.name = '';\n this.stop.address_1 = '';\n this.stop.address_2 = '';\n this.stop.notesName = '';\n this.stop.notesPhone = '';\n this.stop.notesInstruction = '';\n this.uiState.addressBookCheckbox = false;\n }\n\n public keyPressedddressBookName(key) {\n if (key.target.value) {\n this.stop.name = key.target.value.trim();\n }\n }\n\n public setCustomerCode(customerCode): void {\n if (customerCode) {\n this.userData.customerCode = customerCode;\n this.getAddressBookWrapper(customerCode);\n }\n getReferencesParamsWrapper(this.userData.customerCode, this.userData);\n }\n\n public formChanged(): void {\n if (this.errorFromAPIResponse.length > 0) {\n this.errorFromAPIResponse = '';\n }\n }\n\n public onlyNumberAndSpaceBlur() {\n this.userData.phone_number = clearPhoneNumber(this.userData.phone_number);\n }\n\n public onlyNumberAndSpace($event) {\n const keyCode = $event.keyCode ? $event.keyCode : $event.which;\n if ((keyCode < 48 || keyCode > 57) && keyCode !== 32 && keyCode !== 40 && keyCode !== 41) {\n $event.preventDefault();\n }\n }\n\n public changeAddressBook(address) {\n if (typeof address === 'string') {\n this.stop.name === address;\n address = {\n name: address,\n };\n }\n if (address && this.addresses.length >= 1) {\n const chosenAddress = this.addresses.filter(item => {\n return item.name.trim() === address.name.trim();\n });\n // name, address_1, address_2 – 30 symbols limit\n this.stop.name = address.name.trim().substring(0, 30);\n if (chosenAddress.length >= 1) {\n this.stop.name = chosenAddress[0].name.trim().substring(0, 30);\n this.stop.address_1 = chosenAddress[0].line1 ? chosenAddress[0].line1.substring(0, 30) : '';\n this.stop.address_2 = chosenAddress[0].line2 ? chosenAddress[0].line2.substring(0, 30) : '';\n this.stop.suburb = chosenAddress[0].suburb;\n this.stop.suburbId = chosenAddress[0].id;\n this.stop.notesName = chosenAddress[0].note_name ? chosenAddress[0].note_name : '';\n this.stop.notesPhone = chosenAddress[0].note_phone ? chosenAddress[0].note_phone : '';\n this.stop.notesInstruction = chosenAddress[0].note_text ? chosenAddress[0].note_text : '';\n this.stop.warehouse = chosenAddress[0].warehouse;\n const lookup = {\n suburb: chosenAddress[0].suburb.name,\n state: chosenAddress[0].suburb.state,\n postcode: chosenAddress[0].suburb.postcode,\n suburbId: chosenAddress[0].suburb.id,\n };\n this.changeSuburb(0, lookup);\n this.uiState.addressBookCheckbox = false;\n }\n this.$emit('changeStops', [this.stop]);\n }\n }\n\n // Clear all the form data and localStorage data\n public clearForm(): void {\n const form = this.$refs.form as HTMLFormElement;\n form.resetValidation();\n this.errorFromAPIResponse = '';\n\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.dateTime = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n\n // for non-staff users only references are cleared\n if (this.$ability.can('staff', 'Job')) {\n this.userData = { ...this.userDataDefault };\n } else {\n this.userData.reference1 = '';\n this.userData.reference2 = '';\n this.userData.reference3 = '';\n }\n this.dateTimes = [{ ...this.dateTimeDefaultData }];\n this.clearAddressBook();\n }\n\n private async getAddressBookWrapper(code: string): Promise {\n await getAddressLookupData(code)\n .then((res: AddressBookLookupData[]) => {\n this.addresses = res;\n this.addressesWithoutWarehousesNames = res.filter(x => !x.warehouse);\n })\n .catch(err => {\n Sentry.withScope(scope => {\n scope.setLevel('warning');\n Sentry.captureException(err);\n });\n });\n }\n\n /**\n * Helper function to generate JSON according to Job-web-schema JSON-schema.\n * @private\n */\n private buildJob() {\n const stopState = this.stop.state;\n const timeZone = stopState ? this.statesTimeZonesList[stopState].timezone : 'Australia/Sydney';\n const zoneString = format(utcToZonedTime(new Date(this.dateTime), timeZone), 'xxxxx', {\n timeZone,\n });\n const date = this.dateTime + 'T' + '07:00:00' + zoneString;\n\n const stopStop: JBAdvancedStop[] = [\n {\n time: {\n earliest: date,\n latest: date,\n },\n name: this.stop.name || '',\n suburb: this.stop.suburb.toString() || '0',\n state: this.stop.state,\n postcode: this.stop.postCode,\n address_line1: this.stop.address_1 || '',\n address_line2: this.stop.address_2 || '',\n number: 1,\n attributes: [],\n warehouse: false,\n note_text: this.stop.notesInstruction,\n note_name: this.stop.notesName,\n note_phone: this.stop.notesPhone,\n note_email: '',\n },\n ];\n\n if (this.dateTimes[0].timeIsSetted) {\n stopStop[0].time.earliest =\n this.dateTimes[0].date + 'T' + convertTimeStringTo24Hours(this.dateTimes[0].timeFrom) + zoneString;\n stopStop[0].time.latest =\n this.dateTimes[0].date + 'T' + convertTimeStringTo24Hours(this.dateTimes[0].timeTo) + zoneString;\n } else {\n const timeFrom = '09:00 AM';\n const timeTo = '05:00 PM';\n stopStop[0].time.earliest = this.dateTimes[0].date + 'T' + convertTimeStringTo24Hours(timeFrom) + zoneString;\n stopStop[0].time.latest = this.dateTimes[0].date + 'T' + convertTimeStringTo24Hours(timeTo) + zoneString;\n }\n\n const jobData = [\n {\n schema_version: '1.0',\n customer_code: this.userData.customerCode,\n caller: this.userData.caller,\n phone: this.userData.phone_number,\n source: 'WEB',\n REF1: this.userData.reference1,\n REF2: this.userData.reference2,\n REF3: this.userData.reference3,\n stops: stopStop,\n products: [],\n },\n ];\n return jobData;\n }\n\n /**\n * Book a job via API call\n * @private\n */\n\n private bookValidatedJob(): void {\n this.loading = true;\n const jobData = this.buildJob();\n\n bookJobSiteInspection(jobData)\n .then(res => {\n // files upload\n const params = {\n rh_id: res.data.booked[0].rh_id,\n rh_date: res.data.booked[0].rh_date,\n files: this.files,\n };\n if (this.files.length > 0) {\n uploadJobFiles(params).catch(() => {\n notifyNetworkError({ title: 'Attachments upload failed' });\n });\n }\n // save to address book\n if (this.uiState.addressBookCheckbox) {\n createUserAddressBookItem({\n suburb: this.stop.suburbId,\n name: this.stop.name || '',\n line1: this.stop.address_1 || '',\n line2: this.stop.address_2 || '',\n line3: '',\n city: '',\n note_name: this.stop.notesName,\n note_phone: this.stop.notesPhone,\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n note_email: this.stop.notesEmail || '',\n note_text: this.stop.notesInstruction,\n warehouse: this.stop.warehouse,\n })\n .then(res => {\n if (res.status === 201) {\n notifyNetworkSuccess({ text: 'The address was added to the address book' });\n }\n })\n .catch(() => {\n notifyNetworkError({\n title: 'Error creating an address in the address book',\n text: 'You can add it manually on the Address Book page',\n duration: 3000,\n });\n });\n }\n\n // redirecting\n this.$router.push({\n path: `/detailed-job?job_id=${res.data.booked[0].rh_id}&job_date=${res.data.booked[0].rh_date}`,\n });\n this.$notify({\n group: 'network',\n clean: true,\n });\n notifyNetworkSuccess({ text: 'Job booked successfully' });\n })\n .catch((res: AxiosError | any) => {\n // HTTP 400 comes with error message\n if (res?.response?.status === 400 && res?.response?.data.failed.length > 0) {\n this.errorFromAPIResponse = res.response.data.failed[0].error_reason;\n Sentry.withScope(scope => {\n scope.setLevel('warning');\n Sentry.captureException(res.response?.data.failed[0].error_reason);\n });\n this.$nextTick(() => {\n const el = this.$el.querySelector('.error-response') as HTMLElement;\n if (el) {\n this.$vuetify.goTo(el, { offset: 100 });\n }\n });\n } else {\n notifyNetworkError({ title: 'Unknown error during job booking' });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(res);\n });\n }\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n public bookJob(): void {\n const form = this.$refs.form as HTMLFormElement;\n if (form.validate()) {\n this.bookValidatedJob();\n } else {\n this.$nextTick(() => {\n const el = this.$el.querySelector('.v-messages.error--text:first-of-type') as HTMLElement;\n if (el) {\n this.$vuetify.goTo(el, { offset: 100 });\n }\n });\n }\n }\n\n private created(): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.dateTime = format(utcToZonedTime(addDays(new Date(), 1), userTimeZone), 'yyyy-MM-dd'); // tomorrow\n this.today = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd'); // today\n }\n\n private async mounted(): Promise {\n if (!this.$ability.can('staff', 'Job')) {\n this.userData.customerCode = this.user.customerCode;\n if (\n !this.user.customerCode ||\n !this.user.username ||\n !this.user.phone_number ||\n !this.user.ref1_prompt ||\n !this.user.ref2_prompt ||\n !this.user.ref3_prompt\n ) {\n try {\n await getProfile().then((res: User) => {\n // If user has first name put it into caller and slice to 16 as RH limit\n // else use username\n if (res.first_name) {\n this.userData.caller = (res.first_name + ' ' + res.last_name).slice(0, 16);\n } else {\n this.userData.caller = res.username.split('@')[0].slice(0, 16);\n }\n if (res.phone_number) {\n this.userData.phone_number = clearPhoneNumber(res.phone_number);\n }\n });\n } catch (err) {\n if (!isCancel(err)) {\n sendError(err, 'JobBookingSI');\n }\n }\n } else {\n this.userData.caller = this.user.username.split('@')[0].slice(0, 16);\n this.userData.phone_number = clearPhoneNumber(this.user.phone_number);\n }\n }\n\n if (this.user.customerCode) {\n await getReferencesParamsWrapper(this.user.customerCode, this.userData);\n await this.getAddressBookWrapper(this.user.customerCode);\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBookingSiteInspection.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobBookingSiteInspection.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobBookingSiteInspection.vue?vue&type=template&id=e459d3b4&scoped=true\"\nimport script from \"./JobBookingSiteInspection.vue?vue&type=script&lang=ts\"\nexport * from \"./JobBookingSiteInspection.vue?vue&type=script&lang=ts\"\nimport style0 from \"@/views/JobBooking/JobBookingAdvanced/JobBookingAdvanced.scss?vue&type=style&index=0&id=e459d3b4&prod&scoped=true&lang=scss&external\"\nimport style1 from \"@/views/JobBooking/JobBookingSiteInspection/JobBookingSiteInspection.scss?vue&type=style&index=1&id=e459d3b4&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e459d3b4\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"fixed top-0 left-0 right-0 bottom-0 h-screen flex flex-col justify-center items-center z-20\"},[_c('div',{staticClass:\"absolute top-0 left-0 right-0 bottom-0 w-full h-full bg-black opacity-25 z-10\"}),_c('div',{staticClass:\"modal-job bg-white ma-6 mb-0 z-50 relative\",class:[_vm.formData.stops.length <= 2 ? 'w-320' : 'w-352']},[_c('div',{staticClass:\"w-full h-full relative\"},[_c('div',{attrs:{\"id\":\"slider\"}},[_c('transition-group',{staticClass:\"slides-group\",attrs:{\"tag\":\"div\",\"name\":_vm.transitionName}},[_c('div',{key:_vm.current,staticClass:\"slide\",class:_vm.searchedJobsClone[_vm.currentJobIdx].id},[(_vm.loaders.singleJob)?_c('div',{staticClass:\"w-full h-full flex flex-col justify-center items-center\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"size\":\"48\",\"color\":\"purple\"}},[_vm._v(\"mdi-loading\")]),_c('div',{staticClass:\"mt-2\"},[_vm._v(\" Loading the job #\"+_vm._s(_vm.searchedJobsClone[_vm.currentJobIdx].id)+\" / \"+_vm._s(_vm.searchedJobsClone[_vm.currentJobIdx].job_date)+\" \")])],1):_c('div',{staticClass:\"w-full h-full\"},[_c('JobComplianceModal',{ref:\"jobComplianceForm\",attrs:{\"formData\":_vm.formData,\"jobHiddenData\":_vm.jobHiddenData,\"editingSections\":_vm.editingSections,\"addressData\":_vm.addressBookData,\"jobProcessingState\":_vm.jobProcessingState,\"loaders\":_vm.loaders},on:{\"closeModal\":function($event){return _vm.$emit('closeModal')},\"editSectionClicked\":_vm.editSectionClicked,\"callAnimatePanel\":_vm.callAnimatePanel,\"fetchJobReload\":_vm.fetchJobReload,\"addTmp3rdStop\":_vm.addTmp3rdStop,\"removeTmp3rdStop\":_vm.removeTmp3rdStop,\"fetchUnlockedJobAction\":_vm.fetchUnlockedJob,\"reallocateDriver\":_vm.reallocateDriver,\"canScheduleClicked\":_vm.canScheduleClicked,\"cancelBtnClick\":_vm.cancelBtnClick,\"applyBtnClick\":_vm.applyBtnClick}})],1)])])],1)])]),(\n !_vm.jobProcessingState.hasError &&\n !_vm.jobProcessingState.cannotBeEdited &&\n !_vm.jobProcessingState.isEditingByOther &&\n !_vm.jobProcessingState.hasChanged\n )?_c('div',{staticClass:\"modal-panel relative bg-white mb-4 z-10\",class:_vm.formData.stops.length <= 2 ? 'w-320' : 'w-352'},[_c('footer',{staticClass:\"dialogFooter w-full bg-gray-100 h-20\"},[(Object.values(_vm.editingSections).every(v => v === false))?_c('div',{staticClass:\"flex justify-center items-center h-full\"},[_c('div',{staticClass:\"w-min h-full flex items-center\"},[(_vm.searchedJobsClone.length > 1)?_c('div',{staticClass:\"cursor-pointer\",on:{\"click\":function($event){return _vm.slide(-1)}}},[_c('div',{staticClass:\"flex pl-6 items-center select-none\"},[_c(VIcon,{attrs:{\"size\":\"32\",\"color\":\"purple\"}},[_vm._v(\"mdi-chevron-left\")]),_c('span',{staticClass:\"ml-1 whitespace-nowrap text-lg font-semibold text-purple-400\"},[_vm._v(\" Previous job \")])],1)]):_vm._e()]),_c('div',{staticClass:\"w-full flex justify-center flex-col items-center\"},[_c('span',{staticClass:\"text-gray-900 text-lg font-semibold\"},[_vm._v(\" Job #\"+_vm._s(_vm.searchedJobsClone[_vm.currentJobIdx].id)+\", \"+_vm._s(_vm.searchedJobsClone[_vm.currentJobIdx].job_date)+\" \")]),(_vm.searchedJobsClone.length > 1)?_c('span',{staticClass:\"text-gray-400 text-lg font-semibold\"},[_vm._v(_vm._s(_vm.currentJobIdx + 1)+\" from \"+_vm._s(_vm.searchedJobsClone.length)+\" \")]):_vm._e()]),_c('div',{staticClass:\"w-min h-full flex items-center\"},[(_vm.searchedJobsClone.length > 1)?_c('div',{staticClass:\"cursor-pointer\",on:{\"click\":function($event){return _vm.slide(1)}}},[_c('div',{staticClass:\"flex pr-6 items-center select-none\"},[_c('span',{staticClass:\"mr-1 whitespace-nowrap text-lg font-semibold text-purple-400\"},[_vm._v(\" Next job \")]),_c(VIcon,{attrs:{\"size\":\"32\",\"color\":\"purple\"}},[_vm._v(\"mdi-chevron-right\")])],1)]):_vm._e()])]):_vm._e(),_c('div',{staticClass:\"w-full h-full flex justify-end items-center pr-4\"},[_c('div',{staticClass:\"w-1/4\"}),_c('div',{staticClass:\"w-1/2 py-2\"},[(_vm.animatePanel)?_c('div',{staticClass:\"w-136 h-12 flex items-center justify-center p-2 bg-orange-200 rounded-sm\",class:[_vm.animatePanel ? 'animate-shake' : '']},[_c('Icon',{attrs:{\"name\":\"mdi-alert-circle-outline\",\"color\":\"gray\",\"colorIntensity\":\"900\",\"size\":\"2xl\"}}),_c('span',{staticClass:\"text-gray-900 ml-2\"},[_vm._v(\"Please, press the related button to continue working with this job\")])],1):_vm._e()]),_c('div',{staticClass:\"w-1/4 flex justify-end\"},[_c('div',{},[_c('Button',{staticClass:\"mr-2\",attrs:{\"size\":\"small\",\"color\":\"purple\",\"colorIntensity\":\"400\",\"text\":\"Cancel\",\"icon\":\"mdi-close\"},nativeOn:{\"click\":function($event){return _vm.cancelBtnClick.apply(null, arguments)}}})],1),_c('div',{},[(!_vm.loaders.sectionLoading)?_c('Button',{attrs:{\"size\":\"small\",\"color\":\"lime\",\"colorIntensity\":\"600\",\"text\":\"Save changes\",\"loading\":_vm.loaders.saving},nativeOn:{\"click\":function($event){return _vm.applyBtnClick.apply(null, arguments)}}}):_vm._e()],1)])])])]):_vm._e(),(_vm.isAddRolledServiceCodeDialogOpen)?_c('AddRolledServiceCodeDialog',{attrs:{\"showModal\":_vm.isAddRolledServiceCodeDialogOpen,\"loading\":_vm.loaders.saving},on:{\"closeModal\":_vm.closeAddRolledServiceDialog,\"addService\":_vm.addRolledServiceCode}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"h-full pb-20\"},[_c('div',{staticClass:\"w-full h-full relative\"},[_c('div',{staticClass:\"h-20 absolute top-0 left-0 right-0 flex justify-between align-center rounded-t border-b border-purple-200 bg-purple-50\"},[_c('div',{staticClass:\"h-full pt-1 px-4 flex justify-start align-center\"},[_c('div',{staticClass:\"flex flex-col justify-start border-r border-purple-200 pr-10\"},[_c('span',{staticClass:\"text-sm leading-4 font-semibold\"},[_vm._v(\"Booking compliance check /\")]),_c('span',{staticClass:\"text-xl leading-6 font-semibold whitespace-nowrap\"},[_vm._v(\"Job #\"+_vm._s(_vm.formData.rockhopper_id)+\" / \"+_vm._s(_vm.formData.rockhopper_date))])]),_c('div',{staticClass:\"flex justify-start items-start border-purple-200 pl-10 whitespace-nowrap\"},[_c('div',{staticClass:\"flex flex-col w-min pr-8\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Customer:\")]),_c('span',{staticClass:\"text-lg font-semibold leading-6\"},[_vm._v(_vm._s(_vm.formData.customer))])]),_c('div',{staticClass:\"flex flex-col w-min pr-8\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Status:\")]),_c('span',{staticClass:\"text-lg font-semibold leading-6\"},[_vm._v(_vm._s(_vm.formData.status))])]),_c('div',{staticClass:\"flex flex-col w-min pr-8\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Booked by:\")]),_c('span',{staticClass:\"text-lg font-semibold leading-6\"},[_vm._v(_vm._s(_vm.formData.booked_by))])]),(!!_vm.formData.split_base)?_c('div',{staticClass:\"flex flex-col w-min pr-8\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Split to base:\")]),_c('span',{staticClass:\"text-lg font-semibold leading-6\"},[_vm._v(_vm._s(_vm.formData.split_base))])]):_vm._e()]),_c('div',{staticClass:\"pl-5\"},[(\n !_vm.jobEditError &&\n !_vm.editingSections.customerDetails &&\n !_vm.editingSections.driver &&\n !_vm.editingSections.stop0 &&\n !_vm.editingSections.stop1 &&\n !_vm.editingSections.stop2 &&\n !_vm.editingSections.products0 &&\n !_vm.editingSections.products1 &&\n !_vm.editingSections.services0 &&\n !_vm.editingSections.services1\n )?_c('div',{staticClass:\"flex flex-col w-min h-min mt-2 pl-10 border-l border-purple-200\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4 whitespace-nowrap\"},[_vm._v(\"Can Schedule:\")]),_c('div',{staticClass:\"relative w-24\"},[(!_vm.loaders.canSchedule)?_c('t-toggle',{staticClass:\"mt-1 absolute\",staticStyle:{\"outline\":\"none !important\"},attrs:{\"checked\":_vm.jobHiddenData.canSchedule,\"unchecked-value\":\"NO\",\"checked-placeholder\":\"NO\",\"unchecked-placeholder\":\"YES\",\"checked-label\":\"YES\",\"unchecked-label\":\"NO\"},on:{\"change\":_vm.canScheduleClicked}}):_c('div',{staticClass:\"relative flex justify-start items-center h-8 mt-0.5\"},[_c(VIcon,{staticClass:\"mdi-spin absolute top-0 left-10 z-3\",attrs:{\"color\":\"purple\",\"size\":\"24\"}},[_vm._v(\"mdi-loading\")]),_c('t-toggle',{staticClass:\"w-24 absolute top-0 left-0 z-0\",staticStyle:{\"outline\":\"none !important\"},attrs:{\"checked\":!_vm.jobHiddenData.canSchedule,\"disabled\":\"\",\"unchecked-value\":\"NO\",\"checked-placeholder\":\"NO\",\"unchecked-placeholder\":\"YES\",\"checked-label\":\"YES\",\"unchecked-label\":\"NO\"}})],1)],1)]):_vm._e()]),(_vm.formData.schedule_board)?_c('OpenSchedulerBoardFromJobLink',{attrs:{\"scheduleBoard\":_vm.formData.schedule_board,\"date\":_vm.formData.rockhopper_date}}):_vm._e(),_c('div',{staticClass:\"w-full\"}),(Object.values(_vm.editingSections).every(v => v === false))?_c('div',{staticClass:\"absolute top-4 right-6 flex justify-center items-center cursor-pointer z-10\",on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_c('Icon',{attrs:{\"name\":\"mdi-close\",\"color\":\"purple\",\"size\":\"2xl\"}})],1):_vm._e()],1)]),_c('div',{staticClass:\"w-full h-full absolute overflow-y-scroll overflow-x-hidden mt-20\",staticStyle:{\"overscroll-behavior-y\":\"contain\"}},[_c('div',{staticClass:\"relative w-full pt-6 px-4 pb-8 bg-white rounded-b\"},[(_vm.jobEditError)?_c('div',{staticClass:\"absolute w-full h-full top-0 left-0 right-0 flex justify-center z-10\"},[_c('div',{staticClass:\"absolute w-full h-full top-0 left-0 right-0 bg-white opacity-60\"}),_c('div',{staticClass:\"absolute top-20 w-120 px-4 pt-2 pb-3 flex flex-col justify-center bg-white border border-red-300 text-lg text-center leading-6 rounded-lg z-20\"},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-alert\",\"color\":\"red\",\"colorIntensity\":\"300\",\"size\":\"4xl\"}}),_c('span',[_vm._v(\"Unfortunately, it is not possible to edit this job.\")]),_c('span',[_vm._v(\"Try to \"),_c('span',{staticClass:\"underline hover:no-underline cursor-pointer\",on:{\"click\":_vm.logOutClicked}},[_vm._v(\"log out\")]),_vm._v(\" and log in to the portal.\")])],1)]):_vm._e(),(\n _vm.editingSections.customerDetails ||\n _vm.editingSections.driver ||\n _vm.editingSections.stop0 ||\n _vm.editingSections.stop1 ||\n _vm.editingSections.stop2 ||\n _vm.editingSections.products0 ||\n _vm.editingSections.products1 ||\n _vm.editingSections.services0 ||\n _vm.editingSections.services1 ||\n _vm.editingSections.files_list ||\n _vm.editingSections.files_upload ||\n !!_vm.jobProcessingState.hasError ||\n !!_vm.jobProcessingState.cannotBeEdited ||\n !!_vm.jobProcessingState.isEditingByOther ||\n !!_vm.jobProcessingState.hasChanged\n )?_c('div',{staticClass:\"absolute w-full h-full top-0 left-0 bg-black opacity-50 z-5\",on:{\"click\":_vm.editingBgClicked}}):_vm._e(),(!!_vm.jobProcessingState.isEditingByOther)?_c('div',{staticClass:\"fixed top-20 left-0 right-0 bottom-0 w-full h-full flex items-start justify-center z-100 shadow-md\"},[_c('div',{staticClass:\"w-1/2 min-h-44 pb-4 mt-40 bg-white\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('p',{staticClass:\"text-lg pt-8 px-12 flex items-start leading-6\"},[_c('Icon',{staticClass:\"mr-4\",attrs:{\"name\":\"mdi-alert\",\"color\":\"orange\",\"colorIntensity\":\"400\",\"size\":\"3xl\"}}),_vm._v(\" Job is editing by another user \")],1),_c('div',{staticClass:\"w-full flex flex-col items-end justify-end pt-6 pr-6\"},[_c('div',{staticClass:\"flex w-min\"},[_c('Button',{staticClass:\"mr-4\",attrs:{\"size\":\"small\",\"color\":\"purple\",\"colorIntensity\":\"400\",\"text\":\"Cancel\",\"icon\":\"mdi-cancel\"},nativeOn:{\"click\":function($event){return _vm.$emit('cancelBtnClick')}}}),_c('Button',{attrs:{\"size\":\"small\",\"color\":\"purple\",\"colorIntensity\":\"400\",\"text\":\"Try again\",\"icon\":_vm.loaders.saving ? 'mdi-loading mdi-spin' : 'mdi-reload-alert'},nativeOn:{\"click\":function($event){return _vm.$emit('applyBtnClick')}}})],1)])])])]):(!!_vm.jobProcessingState.cannotBeEdited)?_c('div',{staticClass:\"fixed top-20 left-0 right-0 bottom-0 w-full h-full flex items-start justify-center z-100 shadow-md\"},[_c('div',{staticClass:\"w-1/2 min-h-44 pb-4 mt-40 bg-white\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('p',{staticClass:\"text-lg pt-8 px-12 flex items-start leading-6\"},[_c('Icon',{staticClass:\"mr-4\",attrs:{\"name\":\"mdi-alert\",\"color\":\"orange\",\"colorIntensity\":\"400\",\"size\":\"3xl\"}}),_vm._v(\" \"+_vm._s(_vm.jobProcessingState.cannotBeEdited)+\" \")],1),_c('div',{staticClass:\"w-full flex flex-col items-end justify-end pt-6 pr-6\"},[_c('div',{staticClass:\"flex w-min\"},[_c('Button',{staticClass:\"mr-4\",attrs:{\"size\":\"small\",\"color\":\"purple\",\"colorIntensity\":\"400\",\"text\":\"Okay\",\"icon\":\"mdi-cancel\"},nativeOn:{\"click\":function($event){return _vm.$emit('cancelBtnClick')}}})],1)])])])]):(!!_vm.jobProcessingState.hasChanged)?_c('div',{staticClass:\"fixed top-20 left-0 right-0 bottom-0 w-full h-full flex items-start justify-center z-100 shadow-md\"},[_c('div',{staticClass:\"w-1/2 min-h-44 pb-4 mt-40 bg-white\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('p',{staticClass:\"text-lg pt-8 px-12 flex items-start leading-6\"},[_c('Icon',{staticClass:\"mr-4\",attrs:{\"name\":\"mdi-alert\",\"color\":\"orange\",\"colorIntensity\":\"400\",\"size\":\"3xl\"}}),_vm._v(\" The job's data changed while you were editing it. Go back or reload the job with the new data. \")],1),_c('div',{staticClass:\"w-full flex flex-col items-end justify-end pt-6 pr-6\"},[_c('div',{staticClass:\"flex w-min\"},[_c('Button',{staticClass:\"mr-4\",attrs:{\"size\":\"small\",\"color\":\"purple\",\"colorIntensity\":\"400\",\"text\":\"Go back\",\"icon\":\"mdi-arrow-left\"}}),_c('Button',{attrs:{\"size\":\"small\",\"color\":\"purple\",\"colorIntensity\":\"400\",\"text\":\"Reload\",\"icon\":_vm.loaders.saving ? 'mdi-loading mdi-spin' : 'mdi-reload-alert'},nativeOn:{\"click\":function($event){return _vm.$emit('fetchJobReload')}}})],1)])])])]):(!!_vm.jobProcessingState.hasError)?_c('div',{staticClass:\"fixed top-20 left-0 right-0 bottom-0 w-full h-full flex items-start justify-center z-100 shadow-md\"},[_c('div',{staticClass:\"w-1/2 min-h-44 pb-4 mt-40 bg-white\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"text-lg pt-8 px-12 flex items-start leading-6\"},[_c('Icon',{staticClass:\"mr-4\",attrs:{\"name\":\"mdi-alert\",\"color\":\"orange\",\"colorIntensity\":\"400\",\"size\":\"3xl\"}}),_vm._v(\" \"+_vm._s(_vm.jobProcessingState.hasError)+\" \")],1),_c('Icon',{staticClass:\"mt-7 mr-8 cursor-pointer opacity-80 hover:opacity-100\",attrs:{\"name\":\"mdi-close\",\"color\":\"black\",\"colorIntensity\":\"600\",\"size\":\"3xl\"},nativeOn:{\"click\":function($event){_vm.jobProcessingState.hasError = ''}}})],1),_c('div',{staticClass:\"w-full flex flex-col items-end justify-end pt-6 pr-6\"},[_c('div',{staticClass:\"flex w-min\"},[_c('Button',{staticClass:\"mr-4\",attrs:{\"size\":\"small\",\"color\":\"purple\",\"colorIntensity\":\"400\",\"text\":\"Cancel\",\"icon\":\"mdi-cancel\"},nativeOn:{\"click\":function($event){return _vm.$emit('cancelBtnClick')}}}),_c('Button',{staticClass:\"mr-4\",attrs:{\"size\":\"small\",\"color\":\"purple\",\"colorIntensity\":\"400\",\"text\":\"Close\",\"icon\":\"mdi-close\"},nativeOn:{\"click\":function($event){_vm.jobProcessingState.hasError = ''}}}),_c('Button',{attrs:{\"size\":\"small\",\"color\":\"purple\",\"colorIntensity\":\"400\",\"text\":\"Try send data again\",\"icon\":_vm.loaders.saving ? 'mdi-loading mdi-spin' : 'mdi-reload-alert'},nativeOn:{\"click\":function($event){return _vm.$emit('applyBtnClick')}}})],1)])])])]):_vm._e(),_c('div',{staticClass:\"relative w-full p-2 border border-purple-50 rounded bg-white group\",class:_vm.editingSections.customerDetails ? ' z-40' : 'z-1'},[(_vm.loaders.sectionLoading === 'customerDetails')?_c('div',{staticClass:\"w-full h-full flex justify-center items-center py-1.5\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"30\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.editingSections.customerDetails && _vm.loaders.sectionLoading !== 'customerDetails')?_c('SectionEditPlaceholder',{nativeOn:{\"click\":function($event){return _vm.editSectionClicked('customerDetails')}}}):(_vm.showSectionDisable)?_c('div',{staticClass:\"section-disabled\"}):_vm._e(),_c('div',{staticClass:\"absolute -top-4 flex items-baseline w-min px-1 text-base font-semibold whitespace-nowrap bg-white rounded\",class:_vm.editingSections.customerDetails ? ' z-40' : 'z-1'},[_c('span',[_vm._v(\" 1. Customer details: \")]),(!_vm.editingSections.customerDetails)?_c('Icon',{staticClass:\"ml-1 cursor-pointer\",attrs:{\"name\":\"mdi-pencil\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"base\"},on:{\"click\":function($event){return _vm.editSectionClicked('customerDetails')}}}):_vm._e()],1),_c('ValidationObserver',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loaders.sectionLoading !== 'customerDetails'),expression:\"loaders.sectionLoading !== 'customerDetails'\"}],ref:\"customerDetails\",staticClass:\"w-min flex justify-start align-top mt-1\"},[_c('validation-provider',{staticClass:\"flex flex-col w-44 mr-2 floating-label-inset\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":\"caller\",\"name\":\"caller\",\"type\":\"text\",\"placeholder\":\"Caller\",\"disabled\":!_vm.$ability.can('staff', 'Job'),\"variant\":{\n error: !!errors[0],\n disabled: !_vm.$ability.can('staff', 'Job'),\n }},model:{value:(_vm.formData.caller),callback:function ($$v) {_vm.$set(_vm.formData, \"caller\", $$v)},expression:\"formData.caller\"}}),_c('label',{attrs:{\"for\":\"caller\"}},[_c('span',[_vm._v(\" Caller \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])}),_c('validation-provider',{staticClass:\"flex flex-col w-44 mr-2 floating-label-inset\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":\"phone\",\"name\":\"phone\",\"type\":\"text\",\"placeholder\":\"Phone\",\"disabled\":!_vm.$ability.can('staff', 'Job'),\"variant\":{\n error: !!errors[0],\n disabled: !_vm.$ability.can('staff', 'Job'),\n }},model:{value:(_vm.formData.phone),callback:function ($$v) {_vm.$set(_vm.formData, \"phone\", $$v)},expression:\"formData.phone\"}}),_c('label',{attrs:{\"for\":\"phone\"}},[_c('span',[_vm._v(\" Phone \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])}),_c('validation-provider',{staticClass:\"flex flex-col w-44 mr-2 floating-label-inset\",attrs:{\"rules\":{ required: _vm.jobHiddenData.ref1_required }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":_vm.jobHiddenData.ref1_prompt,\"name\":_vm.jobHiddenData.ref1_prompt,\"type\":\"text\",\"placeholder\":_vm.jobHiddenData.ref1_prompt,\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.formData.reference_1),callback:function ($$v) {_vm.$set(_vm.formData, \"reference_1\", $$v)},expression:\"formData.reference_1\"}}),_c('label',{attrs:{\"for\":_vm.jobHiddenData.ref1_prompt}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.jobHiddenData.ref1_prompt)+\" \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])}),_c('validation-provider',{staticClass:\"flex flex-col w-44 mr-2 floating-label-inset\",attrs:{\"rules\":{ required: _vm.jobHiddenData.ref2_required }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":_vm.jobHiddenData.ref2_prompt,\"name\":_vm.jobHiddenData.ref2_prompt,\"type\":\"text\",\"placeholder\":_vm.jobHiddenData.ref2_prompt,\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.formData.reference_2),callback:function ($$v) {_vm.$set(_vm.formData, \"reference_2\", $$v)},expression:\"formData.reference_2\"}}),_c('label',{attrs:{\"for\":_vm.jobHiddenData.ref2_prompt}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.jobHiddenData.ref2_prompt)+\" \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])}),_c('validation-provider',{staticClass:\"flex flex-col w-44 mr-2 floating-label-inset\",attrs:{\"rules\":{ required: _vm.jobHiddenData.ref3_required }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":_vm.jobHiddenData.ref3_prompt,\"name\":_vm.jobHiddenData.ref3_prompt,\"type\":\"text\",\"placeholder\":_vm.jobHiddenData.ref3_prompt,\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.formData.reference_3),callback:function ($$v) {_vm.$set(_vm.formData, \"reference_3\", $$v)},expression:\"formData.reference_3\"}}),_c('label',{attrs:{\"for\":_vm.jobHiddenData.ref3_prompt}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.jobHiddenData.ref3_prompt)+\" \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])})],1)],1),_c('div',{staticClass:\"flex pt-4\"},[_c('div',{},[_c('div',{staticClass:\"text-base font-semibold whitespace-nowrap\"},[_vm._v(\"2. Choose address:\")]),_c('div',{staticClass:\"w-full grid gap-1 items-start h-auto mt-1\",class:_vm.formData.stops.length <= 2 ? 'grid-cols-2' : 'grid-cols-3 min-w-250'},_vm._l((_vm.formData.stops),function(stop,idx){return _c('ValidationObserver',{key:idx,ref:`stop${idx}`,refInFor:true,staticClass:\"flex\"},[_c('div',{class:`relative bg-white group border rounded border-purple-200 w-80 mr-4 ${\n _vm.editingSections[`stop${idx}`] ? ' z-50' : 'z-1'\n }`},[(_vm.loaders.sectionLoading === `stop${idx}`)?_c('div',{staticClass:\"absolute top-0 left-0 w-full h-full flex justify-center items-center py-1.5 bg-white z-100\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"30\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.editingSections['stop' + idx])?_c('SectionEditPlaceholder',{nativeOn:{\"click\":function($event){return _vm.editSectionClicked('stop' + idx)}}}):(_vm.showSectionDisable)?_c('div',{staticClass:\"section-disabled\"}):_vm._e(),_c('div',{staticClass:\"h-10 px-2 flex align-center justify-between border-b border-purple-200 bg-purple-50 rounded-t\"},[_c('div',[_c('span',{staticClass:\"text-lg\"},[_vm._v(\"Stop \"+_vm._s(idx + 1))]),_c('span',{staticClass:\"ml-1 text-base text-black-400 opacity-50\"},[_c('span',[_vm._v(\" \"+_vm._s(idx === 0 ? '/ pick up from' : '/ deliver to')+\" \")])])]),_c('div',{staticClass:\"flex justify-end\"},[(_vm.formData.customer)?_c('div',[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-home\",\"color\":\"gray\",\"colorIntensity\":\"600\",\"size\":\"xl\"},nativeOn:{\"click\":function($event){return _vm.defaultAddressIconClicked(idx)}}})],1):_vm._e()])]),_c('div',{staticClass:\"px-2 py-2 flex flex-col h-min\"},[_c('div',{staticClass:\"w-full mr-4\"},[_c('LookupAddresses',{ref:`lookupAddress${idx}`,refInFor:true,attrs:{\"name\":`lookupAddress${idx}`,\"addressData\":stop.is_warehouse ? _vm.addressData.filter(x => x.warehouse) : _vm.addressData},on:{\"changed\":function($event){return _vm.addressChanged($event, idx)}}})],1),_c('validation-provider',{staticClass:\"flex flex-col w-full mr-4 mt-1 floating-label-inset\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":`address_line_1_${idx}`,\"name\":`address_line_1_${idx}`,\"type\":\"text\",\"placeholder\":\"Street address\",\"maxlength\":30,\"disabled\":_vm.formData.stops[idx].is_warehouse,\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.formData.stops[idx].address_line_2),callback:function ($$v) {_vm.$set(_vm.formData.stops[idx], \"address_line_2\", $$v)},expression:\"formData.stops[idx].address_line_2\"}}),_c('label',{class:_vm.formData.stops[idx].is_warehouse ? '-z-1 cursor-not-allowed' : 'z-1 cursor-text',attrs:{\"for\":`address_line_1_${idx}`}},[_c('span',[_vm._v(\" Street address \")])]),(errors[0])?_c('span',{staticClass:\"mt-0.5 ml-2.5 text-sm leading-4 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('validation-provider',{staticClass:\"flex flex-col w-full mr-4 mt-1 floating-label-inset\",scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded h-10\",attrs:{\"id\":`address_line_2_${idx}`,\"name\":`address_line_2_${idx}`,\"disabled\":_vm.formData.stops[idx].is_warehouse,\"type\":\"text\",\"placeholder\":\"Room / Level / Unit\",\"maxlength\":30,\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.formData.stops[idx].address_line_1),callback:function ($$v) {_vm.$set(_vm.formData.stops[idx], \"address_line_1\", $$v)},expression:\"formData.stops[idx].address_line_1\"}}),_c('label',{class:_vm.formData.stops[idx].is_warehouse ? '-z-1 cursor-not-allowed' : 'z-1 cursor-text',attrs:{\"for\":`address_line_2_${idx}`}},[_c('span',[_vm._v(\" Room / Level / Unit \")])]),(errors[0])?_c('span',{staticClass:\"ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('div',{staticClass:\"w-full mr-4 mt-1\"},[_c('LookupSuburb',{ref:`lookupSuburb${idx}`,refInFor:true,attrs:{\"name\":`lookupSuburb${idx}`,\"disabled\":_vm.formData.stops[idx].is_warehouse},on:{\"changed\":_vm.suburbLookupChanged}})],1),_c('h5',{staticClass:\"text-sm font-semibold\"},[_vm._v(\"Contact details:\")]),_c('validation-provider',{staticClass:\"w-full mr-4 floating-label-inset\",attrs:{\"rules\":!_vm.formData.stops[idx].is_warehouse ? 'required' : ''},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":`note_name_${idx}`,\"name\":`note_name_${idx}`,\"type\":\"text\",\"placeholder\":\"Name\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.formData.stops[idx].note_name),callback:function ($$v) {_vm.$set(_vm.formData.stops[idx], \"note_name\", $$v)},expression:\"formData.stops[idx].note_name\"}}),_c('label',{attrs:{\"for\":`note_name_${idx}`}},[_c('span',[_vm._v(\" Name \")])]),(errors[0])?_c('span',{staticClass:\"ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('validation-provider',{staticClass:\"w-full mr-4 mt-1 floating-label-inset\",attrs:{\"rules\":!_vm.formData.stops[idx].is_warehouse ? 'required' : ''},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":`note_phone_${idx}`,\"name\":`note_phone_${idx}`,\"type\":\"text\",\"placeholder\":\"Phone\",\"maxlength\":20,\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.formData.stops[idx].note_phone),callback:function ($$v) {_vm.$set(_vm.formData.stops[idx], \"note_phone\", $$v)},expression:\"formData.stops[idx].note_phone\"}}),_c('label',{attrs:{\"for\":`note_phone_${idx}`}},[_c('span',[_vm._v(\" Phone \")])]),(errors[0])?_c('span',{staticClass:\"ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('div',{staticClass:\"w-full mr-4 mt-1.5 floating-label-inset\"},[_c('t-textarea',{attrs:{\"id\":`note_text_${idx}`,\"name\":`note_text_${idx}`,\"type\":\"text\",\"placeholder\":\"Collection instruction\"},model:{value:(_vm.formData.stops[idx].note_text),callback:function ($$v) {_vm.$set(_vm.formData.stops[idx], \"note_text\", $$v)},expression:\"formData.stops[idx].note_text\"}}),_c('label',{attrs:{\"for\":`note_text_${idx}`}},[_c('span',[_vm._v(\" Collection instruction \")])])],1),_c('div',{staticClass:\"w-full mt-1\"},[_c('h5',{staticClass:\"text-sm font-semibold\"},[_vm._v(\" Date and times (\"+_vm._s(_vm.formData.stops[idx].state)+\" local time): \")]),(_vm.formData.status === 'Allocated')?_c('p',{staticClass:\"text-sm leading-3 text-gray-500 mt-2 ml-1 mr-4 flex items-end\"},[_c(VIcon,{staticClass:\"block h-full ml-2 mr-2\",attrs:{\"color\":\"orange\",\"size\":\"22\"}},[_vm._v(\" mdi-alert-outline\")]),_vm._v(\" It is not possible to change the dates for an already allocated job \")],1):_vm._e(),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-12 h-20\"},[_c('div',{staticClass:\"relative h-full flex items-center justify-center\"},[_c('div',{staticClass:\"w-0.25 h-10 absolute top-1/4 left-1/2 -mb-0.5 bg-purple-200\"}),_c('div',{staticClass:\"w-6 h-0.25 absolute top-1/4 left-1/2 bg-purple-200\"}),_c('div',{staticClass:\"w-6 h-0.25 absolute bottom-1/4 left-1/2 bg-purple-200\"}),_c(VIcon,{staticClass:\"bg-white p-0.5 cursor-pointer\",attrs:{\"size\":\"20\",\"color\":_vm.jobHiddenData.dateTimes[idx].dateIsLinked ? 'purple' : 'black',\"disabled\":_vm.formData.status === 'Allocated'},nativeOn:{\"click\":function($event){return _vm.stopsDateLinkClicked(idx)}},model:{value:(_vm.jobHiddenData.dateTimes[idx].dateIsLinked),callback:function ($$v) {_vm.$set(_vm.jobHiddenData.dateTimes[idx], \"dateIsLinked\", $$v)},expression:\"jobHiddenData.dateTimes[idx].dateIsLinked\"}},[_vm._v(\" \"+_vm._s(_vm.jobHiddenData.dateTimes[idx].dateIsLinked ? 'mdi-link-variant' : 'mdi-link-variant-off')+\" \")])],1)]),_c('div',{staticClass:\"w-full flex flex-col\"},[_c('div',{staticClass:\"flex justify-start\"},[_c('div',{staticClass:\"w-36 ml-1\"},[_c('t-datepicker',{attrs:{\"dateFormat\":\"Y-m-d\",\"userFormat\":\"Y-m-d\",\"clearable\":false,\"weekStart\":1,\"disabled\":_vm.formData.status === 'Allocated'},on:{\"change\":function($event){return _vm.stopDateChanged($event, idx, 'from')}},model:{value:(_vm.jobHiddenData.dateTimes[idx].dateFrom),callback:function ($$v) {_vm.$set(_vm.jobHiddenData.dateTimes[idx], \"dateFrom\", $$v)},expression:\"jobHiddenData.dateTimes[idx].dateFrom\"}})],1),_c('div',{staticClass:\"w-28 ml-1\"},[(_vm.jobHiddenData.dateTimes[idx].timeFromInitial)?_c('t-datepicker',{attrs:{\"value\":_vm.jobHiddenData.dateTimes[idx].timeFromInitial,\"user-format\":\"G:i K\",\"date-format\":\"G:i K\",\"timepicker\":\"\",\"clearable\":false,\"datepicker\":false,\"amPm\":true,\"variant\":{\n timepicker: true,\n },\"disabled\":_vm.formData.status === 'Allocated'},on:{\"change\":function($event){return _vm.stopTimeChanged($event, idx, 'from')}}}):_vm._e()],1)]),_c('div',{staticClass:\"flex justify-start mt-1\"},[_c('div',{staticClass:\"w-36 ml-1\"},[_c('t-datepicker',{attrs:{\"dateFormat\":\"Y-m-d\",\"userFormat\":\"Y-m-d\",\"clearable\":false,\"weekStart\":1,\"disabled\":_vm.formData.status === 'Allocated'},on:{\"change\":function($event){return _vm.stopDateChanged($event, idx, 'to')}},model:{value:(_vm.jobHiddenData.dateTimes[idx].dateTo),callback:function ($$v) {_vm.$set(_vm.jobHiddenData.dateTimes[idx], \"dateTo\", $$v)},expression:\"jobHiddenData.dateTimes[idx].dateTo\"}})],1),_c('div',{staticClass:\"w-28 ml-1\"},[(_vm.jobHiddenData.dateTimes[idx].timeToInitial)?_c('t-datepicker',{attrs:{\"value\":_vm.jobHiddenData.dateTimes[idx].timeToInitial,\"user-format\":\"G:i K\",\"date-format\":\"G:i K\",\"timepicker\":\"\",\"clearable\":false,\"datepicker\":false,\"amPm\":true,\"variant\":{\n timepicker: true,\n },\"disabled\":_vm.formData.status === 'Allocated'},on:{\"change\":function($event){return _vm.stopTimeChanged($event, idx, 'to')}}}):_vm._e()],1)])])])]),_c('div',{staticClass:\"w-full flex flex-col mt-3\"},[_c('div',{staticClass:\"flex justify-start align-center\"},[_c('h5',{staticClass:\"w-20 text-sm font-semibold\"},[_vm._v(\"Duration:\")]),_c('InputIntegers',{ref:`inputDuration-${idx}`,refInFor:true,staticClass:\"w-24 h-12 ml-2.5\",attrs:{\"value\":String(_vm.formData.stops[idx].duration || 0),\"validation\":false,\"minValue\":1},on:{\"changed\":function($event){return _vm.durationChanged($event, idx)}}})],1)]),_c('div',{staticClass:\"w-full flex flex-col mt-3\"},[_c('div',{staticClass:\"flex justify-start\"},[_c('h5',{staticClass:\"w-36 text-sm font-semibold\"},[_vm._v(\"Scheduled start time:\")]),_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\" \"+_vm._s(!stop.schedule_start ? '–' : _vm.format( _vm.utcToZonedTime(new Date(stop.schedule_start), _vm.user.timezone || _vm.timeZoneDefault), 'yyyy-MM-dd hh:mm aa', ))+\" \")])]),_c('div',{staticClass:\"flex justify-start mb-1\"},[_c('h5',{staticClass:\"w-36 text-sm font-semibold\"},[_vm._v(\"Scheduled end time:\")]),_c('p',{staticClass:\"mb-0 text-sm\"},[_vm._v(\" \"+_vm._s(!stop.schedule_finish ? '–' : _vm.format( _vm.utcToZonedTime(new Date(stop.schedule_finish), _vm.user.timezone || _vm.timeZoneDefault), 'yyyy-MM-dd hh:mm aa', ))+\" \")])])]),_c('div',{staticClass:\"w-full flex justify-between mt-1\"},[_c('h5',{staticClass:\"text-sm font-semibold\"},[_vm._v(\"Attributes:\")])]),_c('div',{staticClass:\"flex justify-start flex-wrap mt-1\"},_vm._l((_vm.stopsAttributes[idx]),function(attr,jdx){return _c('div',{key:jdx,staticClass:\"w-min p-0.5 mr-1 mb-1 border border-purple-200 cursor-default\"},[_c('div',{staticClass:\"flex items-center\"},[_c('Icon',{staticClass:\"m-0\",attrs:{\"name\":attr.icon || 'mdi-hammer-wrench',\"color\":\"purple\",\"colorIntensity\":\"300\",\"size\":\"lg\"}}),_c('span',{staticClass:\"px-0.5 text-sm whitespace-nowrap\"},[_vm._v(_vm._s(attr.description ? attr.description : attr.code))]),_c('div',{on:{\"click\":function($event){return _vm.removeStopAttributes(attr, idx)}}},[_c('Icon',{staticClass:\"cursor-pointer m-0 opacity-50 hover:opacity-100\",attrs:{\"name\":\"mdi-close\",\"color\":\"purple\",\"colorIntensity\":\"400\",\"size\":\"base\"}})],1)],1)])}),0),_c('SelectAttributes',{staticClass:\"mt-1\",attrs:{\"name\":`attr-${idx}`,\"chosenAttrs\":_vm.stopsAttributes[idx]},on:{\"changed\":_vm.addStopAttributes}})],1)],1)])}),1)]),_c('div',{staticClass:\"w-min mt-3\"},[_c('div',{staticClass:\"relative w-min pl-0.5 pr-4 pb-4 border border-purple-100 rounded bg-white group\",class:_vm.editingSections.driver ? ' z-40' : 'z-1'},[(_vm.loaders.sectionLoading === 'driver')?_c('div',{staticClass:\"absolute top-0 left-0 w-full h-full flex justify-center items-center py-1.5 bg-white z-100\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"30\"}},[_vm._v(\"mdi-loading\")])],1):_vm._e(),(!_vm.editingSections.driver)?_c('SectionEditPlaceholder',{nativeOn:{\"click\":function($event){return _vm.editSectionClicked('driver')}}}):_vm._e(),_c('div',{staticClass:\"absolute -top-4 flex items-baseline w-min px-1 text-base font-semibold whitespace-nowrap bg-white rounded\",class:_vm.editingSections.driver ? ' z-40' : 'z-1'},[_c('span',[_vm._v(\" 3. Driver: \")]),(!_vm.editingSections.driver)?_c('Icon',{staticClass:\"ml-1 cursor-pointer\",attrs:{\"name\":\"mdi-pencil\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"base\"}}):_vm._e()],1),_c('div',{staticClass:\"w-88 mt-3 ml-1 pr-2\"},[(_vm.loaders.driver)?_c('div',{staticClass:\"w-full h-10 flex justify-center items-center\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"30\"}},[_vm._v(\"mdi-loading\")])],1):_c('div',{staticClass:\"w-min flex justify-start align-top\"},[_c('ValidationObserver',{ref:\"driver\"},[_c('LookupDriver',{ref:\"driverLookup\",staticClass:\"w-24\",attrs:{\"driversData\":_vm.staticListsData.drivers,\"name\":\"driver\",\"disabled\":(_vm.jobHiddenData.driverStatus === 'deallocated' && _vm.jobHiddenData.driverStatusChosen === null) ||\n _vm.jobHiddenData.driverStatusChosen === 'deallocate'},on:{\"changed\":_vm.driverChanged}})],1),_c('div',{staticClass:\"w-80 h-10 p-1 flex items-center border border-purple-200\",staticStyle:{\"margin-left\":\"-1px\"}},[_c('div',{staticClass:\"w-1/3 h-full px-2 flex justify-center items-center text-sm whitespace-nowrap cursor-pointer\",class:_vm.jobHiddenData.driverButtonsState.deallocate === 'on' ? 'bg-purple-100 font-semibold' : '',on:{\"click\":function($event){return _vm.driverStatusClicked('deallocate')}}},[_vm._v(\" deallocated \")]),_c('div',{staticClass:\"w-1/3 h-full px-2 flex justify-center items-center text-sm whitespace-nowrap cursor-pointer\",class:[\n _vm.jobHiddenData.driverButtonsState.preallocate === 'on' ? 'bg-purple-100 font-semibold' : '',\n _vm.jobHiddenData.driverButtonsState.preallocate === 'disable'\n ? 'bg-gray-200 cursor-not-allowed'\n : '',\n ],on:{\"click\":function($event){return _vm.driverStatusClicked('preallocate')}}},[_vm._v(\" pre-allocated \")]),_c('div',{staticClass:\"w-1/3 h-full px-2 flex justify-center items-center text-sm rounded-sm whitespace-nowrap cursor-pointer\",class:_vm.jobHiddenData.driverButtonsState.allocate === 'on' ? 'bg-purple-100 font-semibold' : '',on:{\"click\":function($event){return _vm.driverStatusClicked('allocate')}}},[_vm._v(\" allocated \")])])],1)])],1),_c('div',{staticClass:\"w-full mt-4\"},[_c('div',{staticClass:\"text-base font-semibold whitespace-nowrap\"},[_vm._v(\"4. Job actions:\")]),_c('div',{staticClass:\"pt-2\"},[(_vm.formData.stops.length == 2)?_c('Add3rdStop',{staticClass:\"mt-2\",attrs:{\"formData\":_vm.formData},on:{\"addTmp3rdStop\":function($event){return _vm.$emit('addTmp3rdStop')}}}):_vm._e(),(_vm.formData.stops.length === 3)?_c('Remove3rdStop',{staticClass:\"mt-2\",attrs:{\"formData\":_vm.formData},on:{\"removeTmp3rdStop\":function($event){return _vm.$emit('removeTmp3rdStop')},\"fetchData\":function($event){return _vm.$emit('fetchJobReload')}}}):_vm._e(),_c('JobCancel',{staticClass:\"mt-2\",attrs:{\"formData\":_vm.formData},on:{\"fetchData\":_vm.handleFetchJobCancel}}),_c('JobCloseAsFutile',{staticClass:\"mt-2\",attrs:{\"formData\":_vm.formData,\"driver\":_vm.jobHiddenData.driverCode || 0},on:{\"fetchData\":function($event){return _vm.$emit('fetchJobReload')}}}),_c('div',{staticClass:\"w-min mt-2 flex justify-start items-center whitespace-nowrap cursor-pointer\",on:{\"click\":_vm.handleCloneJobClicked}},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-content-duplicate\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"xl\"}}),_c('div',{staticClass:\"mx-1 text-base underline hover:no-underline\"},[_vm._v(\"Clone the job\")]),_c('span',{staticClass:\"icon w-5 h-5 flex justify-center items-center\"},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-open-in-new\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"xl\"}})],1)],1),_c('SplitToBase',{attrs:{\"formData\":_vm.formData},on:{\"fetchData\":function($event){return _vm.$emit('fetchJobReload')},\"reallocateDriver\":_vm.reallocateDriver}})],1)])])]),_c('div',{staticClass:\"mt-2\"},[_c('div',{staticClass:\"text-base font-semibold whitespace-nowrap\"},[_vm._v(\"4. Legs:\")]),_vm._l((_vm.formData.stops),function(stop,idx){return _c('div',{key:idx},[(idx <= _vm.formData.stops.length - 2)?[_c('div',{staticClass:\"mt-2 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\" Leg \"+_vm._s(idx + 1)+\": \"),_c('span',{staticClass:\"italic\"},[_vm._v(\"stop \"+_vm._s(idx + 1)+\" – stop \"+_vm._s(idx + 2))])]),_c('div',{staticClass:\"flex mt-2\"},[_c('div',[_c('div',{staticClass:\"relative w-240 h-min p-2 pr-6 pb-3 border border-purple-200 rounded bg-white group\",class:_vm.editingSections[`products${idx}`] ? ' z-40' : 'z-1'},[(_vm.loaders.sectionLoading === `products${idx}`)?_c('div',{staticClass:\"absolute top-0 left-0 w-full h-full flex justify-center items-center py-1.5 bg-white z-100\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"30\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.editingSections[`products${idx}`])?_c('SectionEditPlaceholder',{nativeOn:{\"click\":function($event){return _vm.editSectionClicked(`products${idx}`)}}}):(_vm.showSectionDisable)?_c('div',{staticClass:\"section-disabled\"}):_vm._e(),_c('div',{staticClass:\"absolute -top-3 flex items-baseline w-min px-1 text-sm font-semibold whitespace-nowrap bg-white rounded group-hover:z-10\",class:_vm.editingSections[`products${idx}`] ? 'z-10' : 'z-1'},[_c('span',[_vm._v(\"Products\")]),(!_vm.editingSections[`products${idx}`])?_c('Icon',{staticClass:\"ml-1 cursor-pointer\",attrs:{\"name\":\"mdi-pencil\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"base\"}}):_vm._e()],1),_vm._m(0,true),_c('ValidationObserver',{ref:`products${idx}`,refInFor:true},[_c('div',_vm._l((Object.values(stop.pickup_products)),function(product,jdx){return _c('div',{key:jdx,staticClass:\"relative flex\"},[_c('div',{staticClass:\"absolute w-4 h-4 top-1 -right-3 flex items-center justify-center bg-purple-300 rounded-full z-3\",on:{\"click\":function($event){return _vm.removeProductClicked(idx, jdx)}}},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-close\",\"color\":\"white\",\"size\":\"base\"}})],1),_c('div',{staticClass:\"w-24\"},[_c('LookupProductPrefix',{ref:`lookupProductsPrefix-${idx}-${jdx}`,refInFor:true,attrs:{\"name\":`lookupProductsPrefix-${idx}-${jdx}`,\"model\":product.model,\"variant\":\"table\"},on:{\"changed\":function($event){return _vm.productPrefixChanged($event, idx, jdx)}}})],1),_c('div',{staticClass:\"w-56\"},[_c('LookupProductModel',{ref:`lookupProducts-${idx}-${jdx}`,refInFor:true,attrs:{\"model\":product.model,\"model_id\":product.model_id,\"name\":`lookupProducts-${idx}-${jdx}`,\"variant\":\"table\"},on:{\"changed\":function($event){return _vm.productModelChanged($event, idx, jdx)}}})],1),_c('div',{staticClass:\"w-44\"},[_c('t-input-label',{staticClass:\"h-10\",attrs:{\"type\":\"text\",\"placeholder\":\"Description\",\"variant\":{\n table: true,\n }},model:{value:(product.description),callback:function ($$v) {_vm.$set(product, \"description\", $$v)},expression:\"product.description\"}})],1),_c('div',{staticClass:\"w-44\"},[_c('t-input-label',{staticClass:\"h-10\",attrs:{\"type\":\"text\",\"placeholder\":\"Serial number\",\"variant\":{\n table: true,\n }},model:{value:(product.serial),callback:function ($$v) {_vm.$set(product, \"serial\", $$v)},expression:\"product.serial\"}})],1),_c('div',{staticClass:\"w-16\"},[_c('InputIntegers',{ref:`inputQuantity-${idx}-${jdx}`,refInFor:true,attrs:{\"variant\":\"table\",\"value\":String(product.pieces),\"validation\":false,\"minValue\":1},on:{\"changed\":function($event){return _vm.inputIntegersProductChanged($event, 'pieces', idx, jdx)}}})],1),_c('div',{staticClass:\"w-32\"},[_c('t-input-label',{staticClass:\"h-10 cursor-not-allowed\",attrs:{\"type\":\"text\",\"placeholder\":!product.quant_id ? '-' : 'Quant ID',\"variant\":{\n table: true,\n },\"disabled\":\"\"},model:{value:(product.quant_id),callback:function ($$v) {_vm.$set(product, \"quant_id\", $$v)},expression:\"product.quant_id\"}})],1),_c('div',{staticClass:\"w-16\"},[_c('t-input-label',{staticClass:\"h-10 cursor-not-allowed\",attrs:{\"type\":\"text\",\"placeholder\":\"Type\",\"variant\":\"table-last\",\"disabled\":\"\"},model:{value:(product.type_code),callback:function ($$v) {_vm.$set(product, \"type_code\", $$v)},expression:\"product.type_code\"}})],1)])}),0),_c('validation-provider',{attrs:{\"rules\":{ required: Object.values(stop.pickup_products)?.length === 0 },\"custom-messages\":{ required: 'At least one product is required' }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [(Object.values(stop.pickup_products).length === 0)?_c('div',{staticClass:\"w-full flex items-center justify-center mt-2 py-2 border-t border-purple-100\"},[_c('span',{staticClass:\"italic text-gray-400\"},[_vm._v(\"No products\")])]):_vm._e(),(errors[0])?_c('span',{staticClass:\"text-red-500 text-sm block text-center py-4 border-t border-red-500\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)})],1),_c('div',{staticClass:\"w-full h-10 flex justify-center items-center border rounded-b border-purple-200 bg-purple-50 text-purple-400 cursor-pointer\",on:{\"click\":function($event){return _vm.addProductClicked(idx)}}},[_vm._v(\" + Add printer \")])],1)])]),_c('div',[_c('div',{staticClass:\"relative w-180 h-min mt-4 p-2 pr-6 pb-3 border border-purple-200 rounded bg-white group\",class:_vm.editingSections[`services${idx}`] ? ' z-40' : 'z-1'},[(_vm.loaders.sectionLoading === `services${idx}`)?_c('div',{staticClass:\"absolute top-0 left-0 w-full h-full flex justify-center items-center py-1.5 bg-white z-100\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"30\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.editingSections[`services${idx}`])?_c('SectionEditPlaceholder',{nativeOn:{\"click\":function($event){return _vm.editSectionClicked(`services${idx}`)}}}):(_vm.showSectionDisable)?_c('div',{staticClass:\"section-disabled\"}):_vm._e(),_c('div',{staticClass:\"absolute -top-3 flex items-baseline w-min px-1 text-sm font-semibold whitespace-nowrap bg-white rounded group-hover:z-10\",class:_vm.editingSections[`services${idx}`] ? 'z-10' : 'z-1'},[_c('span',[_vm._v(\"Service codes\")]),(!_vm.editingSections[`services${idx}`])?_c('Icon',{staticClass:\"ml-1 cursor-pointer\",attrs:{\"name\":\"mdi-pencil\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"base\"}}):_vm._e()],1),_vm._m(1,true),_c('ValidationObserver',{ref:`services${idx}`,refInFor:true},[_vm._l((stop.services),function(service,jdx){return _c('div',{key:jdx,staticClass:\"relative flex\"},[_c('div',{staticClass:\"absolute w-4 h-4 top-1 -right-3 flex items-center justify-center bg-purple-300 rounded-full z-3\",on:{\"click\":function($event){return _vm.removeServiceCodeClicked(idx, jdx)}}},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-close\",\"color\":\"white\",\"size\":\"base\"}})],1),_c('div',{staticClass:\"w-48\"},[_c('LookupServices',{ref:`lookupService-${idx}-${jdx}`,refInFor:true,attrs:{\"serviceData\":_vm.staticListsData.serviceCodes,\"serviceDataChosen\":stop.services.map(service => service.name),\"serviceCode\":service.name,\"name\":`lookupService-${idx}-${jdx}`},on:{\"changed\":function($event){return _vm.serviceCodeChanged($event, idx, jdx)}}})],1),_c('div',{staticClass:\"w-32\"},[_c('InputIntegers',{ref:`inputServiceQuantity-${idx}-${jdx}`,refInFor:true,attrs:{\"variant\":\"table\",\"value\":String(service.quantity),\"validation\":false,\"minValue\":1},on:{\"changed\":function($event){return _vm.serviceCodeQuantityChanged($event, idx, jdx)}}})],1),_c('div',{staticClass:\"w-32\"},[_c('InputPositiveNumbers',{ref:`inputServiceScheduledFee-${idx}-${jdx}`,refInFor:true,attrs:{\"value\":service.scheduled_fee,\"variant\":\"table\",\"validation\":false,\"minValue\":0,\"disabled\":\"\"},on:{\"changed\":function($event){return _vm.serviceCodeScheduledFeeChanged($event, idx, jdx)}}})],1),_c('div',{staticClass:\"w-32\"},[_c('InputPositiveNumbers',{ref:`inputServiceFee-${idx}-${jdx}`,refInFor:true,attrs:{\"value\":service.fee,\"variant\":\"table\",\"validation\":false,\"minValue\":0},on:{\"changed\":function($event){return _vm.serviceCodeFeeChanged($event, idx, jdx)}}})],1),_c('div',{staticClass:\"w-32\"},[_c('InputPositiveNumbers',{ref:`inputServiceGST-${idx}-${jdx}`,refInFor:true,attrs:{\"value\":service.gst,\"variant\":\"table\",\"validation\":false,\"minValue\":0},on:{\"changed\":function($event){return _vm.serviceCodeGSTChanged($event, idx, jdx)}}})],1),_c('div',{staticClass:\"w-32\"},[_c('InputIntegers',{ref:`inputServiceSecondQuantity-${idx}-${jdx}`,refInFor:true,attrs:{\"variant\":\"table\",\"value\":String(service.second_quantity),\"validation\":false,\"minValue\":1,\"disabled\":\"\"},on:{\"changed\":function($event){return _vm.serviceCodeSecondQuantityChanged($event, idx, jdx)}}})],1),_c('div',{staticClass:\"w-32\"},[_c('InputPositiveNumbers',{ref:`inputServicePay-${idx}-${jdx}`,refInFor:true,attrs:{\"value\":service.pay,\"variant\":\"table\",\"validation\":false,\"minValue\":0},on:{\"changed\":function($event){return _vm.serviceCodePayChanged($event, idx, jdx)}}})],1)])}),_c('validation-provider',{attrs:{\"rules\":{ required: !stop.services?.length },\"custom-messages\":{ required: 'At least one service code is required' }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [(!stop.services?.length)?_c('div',{staticClass:\"w-full flex items-center justify-center mt-2 py-2 border-t border-purple-100\"},[_c('span',{staticClass:\"italic text-gray-400\"},[_vm._v(\"No service codes\")])]):_vm._e(),(errors[0])?_c('span',{staticClass:\"text-red-500 text-sm block text-center py-4 border-t border-red-500\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)})],2),_c('div',{staticClass:\"w-full h-10 flex justify-center items-center border rounded-b border-purple-200 bg-purple-50 text-purple-400 cursor-pointer\",on:{\"click\":function($event){return _vm.addServiceCodeClicked(idx)}}},[_vm._v(\" + Add service \")]),_c('div',{staticClass:\"flex mt-2\"},[_c('div',{staticClass:\"w-48 pl-2.5 whitespace-nowrap\"},[_vm._v(\"Stop total:\")]),_c('div',{staticClass:\"w-32 pl-2.5 whitespace-nowrap\"}),_c('div',{staticClass:\"w-32 pl-2.5 whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm.calcStopTotal(stop.services, 'scheduled_fee'))+\" \")]),_c('div',{staticClass:\"w-32 pl-2.5 whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm.calcStopTotal(stop.services, 'fee'))+\" \")]),_c('div',{staticClass:\"w-32 pl-2.5 whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm.calcStopTotal(stop.services, 'gst'))+\" \")]),_c('div',{staticClass:\"w-32 pl-2.5 whitespace-nowrap\"}),_c('div',{staticClass:\"w-32 pl-2.5 whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm.calcStopTotal(stop.services, 'pay'))+\" \")])]),_c('div',{staticClass:\"flex mt-2 pt-2 border-t-1 border-purple-200\"},[_c('div',{staticClass:\"w-48 pl-2.5 font-semibold whitespace-nowrap\"},[_vm._v(\"Job total:\")]),_c('div',{staticClass:\"w-32 pl-2.5 font-semibold whitespace-nowrap\"}),_c('div',{staticClass:\"w-32 pl-2.5 font-semibold whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm.calcJobTotal(_vm.formData.stops, 'scheduled_fee'))+\" \")]),_c('div',{staticClass:\"w-32 pl-2.5 font-semibold whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm.calcJobTotal(_vm.formData.stops, 'fee'))+\" \")]),_c('div',{staticClass:\"w-32 pl-2.5 font-semibold whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm.calcJobTotal(_vm.formData.stops, 'gst'))+\" \")]),_c('div',{staticClass:\"w-32 pl-2.5 font-semibold whitespace-nowrap\"}),_c('div',{staticClass:\"w-32 pl-2.5 font-semibold whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm.calcJobTotal(_vm.formData.stops, 'pay'))+\" \")])])],1)])]:_vm._e()],2)})],2),_c('div',{staticClass:\"flex mt-2\"},[_c('div',{staticClass:\"w-240\"},[_c('div',{staticClass:\"flex justify-between items-baseline\"},[_c('div',{staticClass:\"text-base font-semibold whitespace-nowrap\"},[_vm._v(\"5. Mail:\")]),_c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.newMailClickedOutside),expression:\"newMailClickedOutside\"}],staticClass:\"h-full relative\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.newMailOpen),expression:\"newMailOpen\"}],staticClass:\"absolute z-100 right-0 w-100 p-4 pt-2 bg-white border-t border-l border-r border-b border-purple-200 rounded-l-lg shadow shadow-purple-400/40\",class:[_vm.newMailOpenToTop ? 'bottom-10 rounded-t-lg' : 'top-8 rounded-b-lg']},[_c('ZammadTicketCreationForm',{attrs:{\"formData\":_vm.ticketFormData,\"jobId\":_vm.formData.rockhopper_id,\"loading\":_vm.loadingRfcRequest},on:{\"submit\":_vm.ticketFormSubmitted}})],1),_c('div',{staticClass:\"relative flex items-center border-l border-r border-transparent cursor-pointer bg-white -mt-2 px-4 py-2 z-4\",class:[\n _vm.newMailOpen\n ? 'bg-white border-purple-200 z-100'\n : 'transform active:translate-y-0.5 transition duration-150 ease-in-out',\n _vm.newMailOpenToTop ? 'border-b rounded-b-lg' : 'border-t rounded-t-lg',\n ],on:{\"click\":_vm.newMailClicked}},[_c('Icon',{attrs:{\"name\":\"mdi-email-plus\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"xl\"}}),_c('div',{staticClass:\"mx-1 text-base underline hover:no-underline\"},[_vm._v(\"New ticket\")])],1)])]),_c('div',{staticClass:\"mt-2\"},[_c('ZammadList',{staticClass:\"mb-8\",attrs:{\"ticketsData\":_vm.zammadTickets},on:{\"zammadArticleClicked\":_vm.zammadArticleClicked}})],1)]),_c('div',{staticClass:\"ml-8\"},[_vm._m(2),(_vm.formData.messages.length)?_c('div',_vm._l((_vm.formData.messages),function(msg,idx){return _c('div',{key:idx,staticClass:\"mt-2\"},[_c('div',{staticClass:\"flex justify-between items-start\"},[_c('div',{staticClass:\"w-min text-base text-gray-600 leading-4 font-semibold\"},[_vm._v(\" \"+_vm._s(msg.respond_to || msg.sender)+\": \")]),_c('div',{staticClass:\"flex flex-col justify-end ml-1\"},[_c('p',{staticClass:\"mb-0 text-base text-right leading-4\"},[_vm._v(\" \"+_vm._s(msg.msgtext)+\" \")]),_c('p',{staticClass:\"mb-0 text-sm text-right text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.format( _vm.utcToZonedTime(new Date(msg.sent), _vm.user.timezone || _vm.timeZoneDefault), 'yyyy-MM-dd hh:mm aa', ))+\" \")])])])])}),0):_c('div',{staticClass:\"w-full flex justify-center pt-2\"},[_c('span',{staticClass:\"text-base text-gray-600 text-center italic w-44\"},[_vm._v(\"No messages\")])])])]),_c('div',{staticClass:\"flex justify-start mt-8 items-start\"},[_c('div',[_c('div',{staticClass:\"relative p-2 border border-purple-200 rounded bg-white group\",class:_vm.editingSections['files_list'] ? ' z-40' : 'z-1'},[(_vm.loaders.sectionLoading === `files_list`)?_c('div',{staticClass:\"absolute top-0 left-0 w-full h-full flex justify-center items-center py-1.5 bg-white z-100\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"30\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.editingSections['files_list'] && _vm.formData.attachments.length)?_c('SectionEditPlaceholder',{nativeOn:{\"click\":function($event){return _vm.editSectionClicked('files_list')}}}):(_vm.showSectionDisable)?_c('div',{staticClass:\"section-disabled\"}):_vm._e(),_c('div',{staticClass:\"absolute -top-3 flex items-baseline w-min px-1 text-sm font-semibold whitespace-nowrap bg-white rounded group-hover:z-10\",class:_vm.editingSections['files'] ? 'z-10' : 'z-1'},[_c('span',{staticClass:\"text-base font-semibold whitespace-nowrap\"},[_vm._v(\"7. Attached files:\")]),(!_vm.editingSections['files_list'] && _vm.formData.attachments.length)?_c('Icon',{staticClass:\"ml-1 cursor-pointer\",attrs:{\"name\":\"mdi-pencil\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"base\"}}):_vm._e()],1),_c('div',{staticClass:\"w-72 px-1 py-3\"},[(_vm.formData.attachments.length)?_c('div',_vm._l((_vm.formData.attachments),function(file,idx){return _c('div',{key:idx,staticClass:\"flex justify-start items-center\"},[_c('Icon',{staticClass:\"mt-0.5\",attrs:{\"name\":\"mdi-attachment\",\"color\":\"black\",\"size\":\"base\"}}),_c('span',{staticClass:\"ml-2 hover:underline cursor-pointer\",class:[_vm.jobHiddenData.filesToRemove.includes(Number(file.id)) ? 'line-through' : ''],on:{\"click\":function($event){return _vm.downloadImage(file)}}},[_vm._v(_vm._s(file.file.substring(file.file.lastIndexOf('/') + 1)))]),_c('Icon',{staticClass:\"ml-4 cursor-pointer\",attrs:{\"name\":_vm.jobHiddenData.filesToRemove.includes(Number(file.id)) ? 'mdi-delete-restore' : 'mdi-delete',\"color\":\"black\",\"size\":\"base\"},nativeOn:{\"click\":function($event){return _vm.deleteFiles(file.id)}}})],1)}),0):_c('div',{staticClass:\"mt-2 text-base text-gray-600 italic text-center\"},[_vm._v(\"No attached files\")])])],1)]),_c('div',{staticClass:\"relative p-2 border border-purple-200 rounded bg-white group ml-4\",class:_vm.editingSections['files_upload'] ? ' z-40' : 'z-1'},[(_vm.loaders.sectionLoading === `files_upload`)?_c('div',{staticClass:\"absolute top-0 left-0 w-full h-full flex justify-center items-center py-1.5 bg-white z-100\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"30\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.editingSections['files_upload'])?_c('SectionEditPlaceholder',{nativeOn:{\"click\":function($event){return _vm.editSectionClicked('files_upload')}}}):(_vm.showSectionDisable)?_c('div',{staticClass:\"section-disabled\"}):_vm._e(),_c('div',{staticClass:\"absolute -top-3 flex items-baseline w-min px-1 text-sm font-semibold whitespace-nowrap bg-white rounded group-hover:z-10\",class:_vm.editingSections['files_upload'] ? 'z-10' : 'z-1'},[_c('span',{staticClass:\"text-base font-semibold whitespace-nowrap\"},[_vm._v(\"7.1. Upload files:\")]),(!_vm.editingSections['files_upload'])?_c('Icon',{staticClass:\"ml-1 cursor-pointer\",attrs:{\"name\":\"mdi-pencil\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"base\"}}):_vm._e()],1),_c('div',{staticClass:\"w-128 px-1 py-3\"},[_c('JobAttachmentsField',{staticClass:\"w-128 mt-4 mb-4 -ml-1 mr-4\",attrs:{\"jobHiddenData\":_vm.jobHiddenData}})],1)],1),_c('div',{staticClass:\"ml-8 w-64 pr-2\"},[_vm._m(3),(!_vm.formData.warnings.length)?_c('div',_vm._l((_vm.formData.warnings),function(warning,idx){return _c('div',{key:idx,staticClass:\"mt-2\"},[_c('div',{staticClass:\"flex justify-between items-start\"},[_c('div',{staticClass:\"w-min font-semibold\"},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-alert-circle\",\"color\":\"orange\",\"colorIntensity\":\"400\",\"size\":\"xl\"}})],1),_c('div',{staticClass:\"flex flex-col justify-end ml-1\"},[_c('p',{staticClass:\"mb-0 text-base text-right leading-4\"},[_vm._v(\" \"+_vm._s(warning)+\" \")])])])])}),0):_c('div',{staticClass:\"w-full flex justify-center pt-2\"},[_c('span',{staticClass:\"text-base text-gray-600 text-center italic w-44\"},[_vm._v(\"No correction notices\")])])])])])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-24 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"Prefix\")]),_c('div',{staticClass:\"w-56 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"Model\")]),_c('div',{staticClass:\"w-44 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"Description\")]),_c('div',{staticClass:\"w-44 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"Serial number\")]),_c('div',{staticClass:\"w-16 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"Quantity\")]),_c('div',{staticClass:\"w-32 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"Quant ID\")]),_c('div',{staticClass:\"w-16 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"Goods type\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-48 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"Service code\")]),_c('div',{staticClass:\"w-32 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"Qty (fee)\")]),_c('div',{staticClass:\"w-32 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"Sch.Fee\")]),_c('div',{staticClass:\"w-32 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"Fee\")]),_c('div',{staticClass:\"w-32 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"GST\")]),_c('div',{staticClass:\"w-32 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"Qty (pay)\")]),_c('div',{staticClass:\"w-32 text-sm font-semibold whitespace-nowrap\"},[_vm._v(\"Pay\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"pt-2 pb-4 border-b border-purple-100\"},[_c('div',{staticClass:\"text-base font-semibold whitespace-nowrap\"},[_vm._v(\"6. Messages:\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"pt-2 pb-4 border-b border-purple-100\"},[_c('div',{staticClass:\"text-base font-semibold whitespace-nowrap\"},[_vm._v(\"8. Correction notices:\")])])\n}]\n\nexport { render, staticRenderFns }","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\nimport ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.clickedOutside),expression:\"clickedOutside\"}],staticClass:\"relative\",on:{\"blur\":_vm.inputBlured}},[(!_vm.model_id)?_c('div',{staticClass:\"absolute -top-1 -right-1.5 z-20\"},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-alert-circle\",\"color\":\"orange\",\"size\":\"lg\",\"tabindex\":\"-1\"},nativeOn:{\"click\":function($event){_vm.showOptions = false}}})],1)]}}],null,false,2059175533)},[_c('span',[_vm._v(\"There is no match with the real model name\")])])],1):_vm._e(),_c('div',{staticClass:\"relative w-full\"},[_c('validation-provider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"floating-label-inset\"},[_c('t-input-label',{ref:\"input\",staticClass:\"pr-10\",attrs:{\"id\":`product-${_vm.name}`,\"value\":_vm.productValue,\"name\":`product-${_vm.name}`,\"placeholder\":\"Model\",\"autocomplete\":\"off\",\"variant\":{\n error: !!errors[0],\n [_vm.variant]: true,\n }},on:{\"focus\":_vm.inputFocused,\"blur\":_vm.inputBlured,\"input\":_vm.handleInput,\"keydown\":_vm.inputKeyPressed}}),_c('label',{staticClass:\"select-none\",staticStyle:{\"margin-top\":\"0.5px\"},attrs:{\"for\":`product-${_vm.name}`}},[_c('span',[_vm._v(\" Model \")])])],1),_c('div',{staticClass:\"absolute top-2.5 right-0.5 bg-white flex justify-end\"},[(_vm.productValue.length >= 3)?_c('Icon',{staticClass:\"mt-0.5 -mr-1 cursor-pointer\",attrs:{\"name\":\"mdi-close\",\"color\":\"black\",\"size\":\"lg\",\"tabindex\":\"-1\"},nativeOn:{\"click\":function($event){return _vm.clearInput.apply(null, arguments)}}}):_vm._e(),(_vm.showOptions)?_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-chevron-up\",\"color\":\"black\",\"size\":\"2xl\",\"tabindex\":\"-1\"},nativeOn:{\"click\":function($event){_vm.showOptions = false}}}):_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-chevron-down\",\"color\":\"black\",\"size\":\"2xl\",\"tabindex\":\"-1\"},nativeOn:{\"click\":function($event){_vm.showOptions = true}}})],1),(errors[0])?_c('span',{staticClass:\"absolute -bottom-0.5 ml-2.5 text-xs text-red-700 select-none\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showOptions),expression:\"showOptions\"}],staticClass:\"absolute w-64 z-3 bg-white border border-solid border-purple-400 top-9 mt-0.5 ml-0.5 mh-48 overflow-hidden overflow-y-scroll rounded shadow-md p-0\"},[(_vm.productValue.length < 3)?_c('div',{staticClass:\"h-16 px-3 leading-4 text-center flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" Enter more than 1 character \")]):_c('div',[(_vm.loading)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.loading && _vm.selectItems.length === 0)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" No such data \")]):_c('div',{ref:\"scrollContainer\",staticClass:\"flex flex-col mh-48 overflow-y-scroll overflow-x-hidden\"},_vm._l((_vm.selectItems),function(item,idx){return _c('div',{key:idx,ref:\"options\",refInFor:true,staticClass:\"px-4 py-2 leading-4 cursor-pointer hover:bg-purple-50\",class:_vm.arrowIdx === idx ? 'bg-purple-100 focus:bg-purple-100' : '',on:{\"click\":function($event){return _vm.handleItemClick(item)}}},[_vm._v(\" \"+_vm._s(item)+\" \")])}),0)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getProductModel } from '@/api';\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { ValidationProvider, extend } from 'vee-validate';\nimport { required } from 'vee-validate/dist/rules';\nimport Icon from '@/components/UI/Icon.vue';\nimport { JobComplianceProductLookupData } from '@/models/JobComplianceTypes';\nimport { getModelFromString, getPrefixFromString } from '@/helpers/booking';\n\nextend('required', {\n ...required,\n message: 'This field is required',\n});\n\n@Component({\n components: {\n Icon,\n ValidationProvider,\n },\n})\nexport default class LookupProductModel extends Vue {\n @Prop({ type: String, required: false, default: '0' }) public name: string;\n @Prop({ type: String, required: false, default: '' }) public variant: string;\n @Prop({ type: String, required: false, default: '' }) public model: string;\n @Prop({ type: Number, required: false, default: '' }) public model_id: number | null;\n\n public loading = false;\n public productValue = '';\n public selectItems: string[] = [];\n public selectItemsData: JobComplianceProductLookupData[] = [];\n public showOptions = false;\n public valueChosen = '';\n public arrowIdx = -1;\n\n @Watch('valueChosen', { deep: true })\n private watchValueChosen() {\n const pref = getPrefixFromString(this.model);\n const chosenItem = this.selectItemsData.find(x => x.name === this.valueChosen);\n if (chosenItem) {\n chosenItem.name = pref + chosenItem.name;\n this.$emit('changed', chosenItem);\n }\n }\n\n private applyValueFromParent(item: string): void {\n this.productValue = item;\n this.showOptions = false;\n this.valueChosen = item;\n this.$forceUpdate();\n }\n\n public async handleInput(evt: string): Promise {\n if (evt || evt === '') {\n this.productValue = evt;\n }\n if (this.productValue.length >= 3) {\n this.loading = true;\n await getProductModel(this.productValue)\n .then((data: JobComplianceProductLookupData[]) => {\n this.selectItems = data.map(x => x.name);\n this.selectItemsData = data;\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n }\n }\n\n public inputKeyPressed(evt: KeyboardEvent): void {\n // Open dropdown on Focus\n if (!this.showOptions) {\n this.showOptions = true;\n this.arrowIdx = -1;\n }\n // Close dropdown when \"Escape\" pressed\n if (evt.code === 'Escape') {\n this.showOptions = false;\n this.arrowIdx = -1;\n }\n // ArrowDown / ArrowUp pressed\n if (evt.code === 'ArrowDown' && this.arrowIdx < this.selectItems.length - 1) {\n this.arrowIdx += 1;\n this.fixScrolling();\n }\n if (evt.code === 'ArrowUp' && this.arrowIdx >= 1) {\n this.arrowIdx -= 1;\n this.fixScrolling();\n }\n // Enter pressed\n if (evt.code === 'Enter' && this.arrowIdx >= 0) {\n evt.preventDefault();\n this.valueChosen = this.selectItems[this.arrowIdx];\n this.showOptions = false;\n this.productValue = this.selectItems[this.arrowIdx];\n this.arrowIdx = -1;\n }\n }\n\n private fixScrolling() {\n const options = this.$refs.options as HTMLFormElement;\n const scrollContainer = this.$refs.scrollContainer as HTMLFormElement;\n if (options && scrollContainer) {\n const liH = options[this.arrowIdx].clientHeight;\n scrollContainer.scrollTop = liH * this.arrowIdx;\n }\n }\n\n public clearInput(): void {\n this.productValue = '';\n this.showOptions = false;\n this.valueChosen = '';\n this.arrowIdx = -1;\n this.selectItems = [];\n }\n\n public inputFocused(): void {\n this.showOptions = true;\n if (this.productValue.length >= 3) {\n this.handleInput(this.productValue);\n }\n }\n\n public inputBlured(): void {\n setTimeout(() => {\n if (this.valueChosen !== this.productValue) {\n this.productValue = '';\n }\n }, 300);\n setTimeout(() => {\n this.showOptions = false;\n }, 500);\n }\n\n public handleItemClick(item: string): void {\n this.valueChosen = item;\n this.showOptions = false;\n this.productValue = item;\n this.arrowIdx = -1;\n }\n\n public clickedOutside(): void {\n this.showOptions = false;\n }\n\n @Watch('model', { immediate: true })\n private watchPropTypeCode() {\n if (this.model) {\n if (this.model.includes(': ')) {\n this.productValue = getModelFromString(this.model);\n } else {\n this.productValue = this.model;\n }\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupProductModel.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupProductModel.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupProductModel.vue?vue&type=template&id=2057507a&scoped=true\"\nimport script from \"./LookupProductModel.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupProductModel.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LookupProductModel.vue?vue&type=style&index=0&id=2057507a&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2057507a\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.clickedOutside),expression:\"clickedOutside\"}],staticClass:\"relative\"},[_c('div',{staticClass:\"relative w-full\"},[_c('validation-provider',{attrs:{\"rules\":{ required: true, oneOf: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"floating-label-inset\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.serviceValue),expression:\"serviceValue\",modifiers:{\"lazy\":true}}],staticClass:\"input w-full h-full border w-full px-2 border border-solid focus:outline-none focus:shadow focus:shadow-purple-4 border-b-0 border-r-0 border-purple-200 focus:border-b focus:border-purple-400\",attrs:{\"id\":_vm.name,\"name\":_vm.name,\"type\":\"text\",\"placeholder\":\"Service\",\"autocomplete\":\"off\",\"variant\":{\n error: !!errors[0],\n table: true,\n },\"custom-messages\":{ oneOf: 'Not match' },\"maxlength\":30},domProps:{\"value\":(_vm.serviceValue)},on:{\"focus\":_vm.inputFocused,\"input\":_vm.handleInput,\"keydown\":_vm.inputKeyPressed,\"blur\":_vm.inputBlured,\"change\":function($event){_vm.serviceValue=$event.target.value}}}),_c('label',{staticStyle:{\"margin-top\":\"0.5px\"},attrs:{\"for\":_vm.name}},[_c('span',[_vm._v(\" Service \")])])]),_c('div',{staticClass:\"absolute top-2.5 right-2 bg-white pl-2\"},[(_vm.showOptions)?_c(VIcon,{staticClass:\"-mt-2\",attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":function($event){_vm.showOptions = false}}},[_vm._v(\"mdi-chevron-up\")]):_c(VIcon,{staticClass:\"-mt-2\",attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":_vm.inputFocused}},[_vm._v(\"mdi-chevron-down\")])],1),(errors[0])?_c('span',{staticClass:\"absolute bottom-0 ml-2 text-xs leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showOptions),expression:\"showOptions\"}],staticClass:\"absolute w-60 z-3 bg-white border border-solid border-purple-400 top-9 ml-0.5 mt-0.5 mh-48 overflow-hidden overflow-y-scroll rounded shadow-md p-0\"},[_c('div',[(_vm.loading)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.loading && _vm.selectItems.length === 0)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" No such data \")]):_c('div',{ref:\"scrollContainer\",staticClass:\"flex flex-col mh-48 overflow-y-scroll\"},_vm._l((_vm.selectItems),function(item,idx){return _c('div',{key:idx,ref:\"options\",refInFor:true,staticClass:\"px-1 py-2 leading-4 cursor-pointer hover:bg-purple-50\",class:_vm.arrowIdx === idx ? 'bg-purple-100 focus:bg-purple-100' : '',on:{\"click\":function($event){return _vm.handleItemClick(item)}}},[_vm._v(\" \"+_vm._s(item)+\" \")])}),0)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { ValidationProvider, extend } from 'vee-validate';\nimport { required } from 'vee-validate/dist/rules';\nimport { JobComplianceServiceLookupData } from '@/models/JobComplianceTypes';\nimport store from '@/store';\n\nextend('required', {\n ...required,\n message: 'This field is required',\n});\n\n@Component({\n components: {\n ValidationProvider,\n },\n})\nexport default class LookupServices extends Vue {\n @Prop({ type: Array, required: true }) public serviceData: JobComplianceServiceLookupData[];\n @Prop({ type: Array, required: true }) public serviceDataChosen: string[];\n @Prop({ type: String, required: true }) public name: string;\n @Prop({ type: String, required: false }) public serviceCode: string;\n\n public loading = false;\n public serviceValue = '';\n public selectItems: string[] = [];\n public showOptions = false;\n public arrowIdx = -1;\n private serviceChosen: JobComplianceServiceLookupData = {\n code: '',\n description: '',\n };\n @Watch('serviceCode', { immediate: true })\n private watchPropServiceCode() {\n this.serviceValue = this.serviceCode;\n }\n\n @Watch('serviceChosen', { deep: true })\n private watchServiceChosen() {\n this.$emit('changed', this.serviceChosen.code, this.name.slice(-1));\n }\n\n private applyValueFromParent(item): void {\n this.serviceChosen = item;\n this.showOptions = false;\n this.serviceValue = item.code;\n this.$forceUpdate();\n }\n\n public handleInput(evt): void {\n const filteredAddresses = this.serviceData\n .filter(x => this.serviceDataChosen.indexOf(x.code) === -1)\n .filter(x => `${x.code} - ${x.description}`.toUpperCase().indexOf(String(evt.target.value).toUpperCase()) >= 0)\n .sort((a, b) => {\n const firstVal = `${a.code} - ${a.description}`.toUpperCase();\n const secondVal = `${b.code} - ${b.description}`.toUpperCase();\n const inputVal = evt.target.value.toUpperCase();\n const firstValToSortString = firstVal.slice(0, inputVal.length);\n const secondValToSortString = secondVal.slice(0, inputVal.length);\n if (firstValToSortString === inputVal) {\n return -1;\n }\n if (secondValToSortString === inputVal) {\n return 1;\n }\n return firstVal.localeCompare(secondVal);\n });\n this.selectItems = [\n ...filteredAddresses.map(\n (service: JobComplianceServiceLookupData) =>\n `${service.code}${service.description ? ` - ${service.description}` : ''}`,\n ),\n ];\n this.$emit('changed', evt.target.value.toUpperCase(), this.name.slice(-1));\n }\n\n public inputKeyPressed(evt: KeyboardEvent): void {\n // Open dropdown on Focus\n if (!this.showOptions) {\n this.showOptions = true;\n this.arrowIdx = -1;\n }\n // Close dropdown when \"Escape\" pressed\n if (evt.code === 'Escape') {\n this.showOptions = false;\n this.arrowIdx = -1;\n }\n // ArrowDown / ArrowUp pressed\n if (evt.code === 'ArrowDown' && this.arrowIdx < this.selectItems.length - 1) {\n this.arrowIdx += 1;\n this.fixScrolling();\n }\n if (evt.code === 'ArrowUp' && this.arrowIdx >= 1) {\n this.arrowIdx -= 1;\n this.fixScrolling();\n }\n // Enter pressed\n if (evt.code === 'Enter' && this.arrowIdx >= 0) {\n evt.preventDefault();\n const itemCode = this.selectItems[this.arrowIdx].split(' - ')[0];\n\n const chosenService = this.serviceData.find((x: JobComplianceServiceLookupData) => x.code === itemCode);\n if (chosenService) {\n this.serviceChosen = chosenService;\n this.showOptions = false;\n this.serviceValue = itemCode;\n this.arrowIdx = -1;\n }\n }\n }\n\n private fixScrolling() {\n const options = this.$refs.options as HTMLFormElement;\n const scrollContainer = this.$refs.scrollContainer as HTMLFormElement;\n if (options && scrollContainer) {\n const liH = options[this.arrowIdx].clientHeight;\n scrollContainer.scrollTop = liH * this.arrowIdx;\n }\n }\n\n public inputFocused(): void {\n this.showOptions = true;\n // filter by input value when open\n if (this.serviceValue.length) {\n this.handleInput({\n target: {\n value: this.serviceValue,\n },\n });\n } else {\n this.selectItems = this.serviceData\n .filter(x => this.serviceDataChosen.indexOf(x.code) === -1)\n .filter(x => `${x.code} - ${x.description}`.toUpperCase().indexOf(this.serviceValue.toUpperCase()) >= 0)\n .map((service: JobComplianceServiceLookupData) => `${service.code} - ${service.description}`);\n }\n }\n\n public inputBlured(): void {\n setTimeout(() => {\n this.showOptions = false;\n }, 200);\n }\n\n public handleItemClick(item: string): void {\n const itemCode = item.split(' - ')[0];\n\n const chosenService = this.serviceData.find((x: JobComplianceServiceLookupData) => x.code === itemCode);\n\n if (chosenService) {\n this.serviceChosen = chosenService;\n this.showOptions = false;\n this.serviceValue = itemCode;\n }\n }\n\n public clickedOutside(): void {\n this.showOptions = false;\n }\n\n public oneOfExtendValidationRule = extend('oneOf', value => {\n return store.getters['moduleStaticData/getServiceCodes'].map(x => x.code).includes(value.toUpperCase())\n ? true\n : 'Does not match';\n });\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupServices.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupServices.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupServices.vue?vue&type=template&id=a5c52fa0&scoped=true\"\nimport script from \"./LookupServices.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupServices.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LookupServices.vue?vue&type=style&index=0&id=a5c52fa0&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a5c52fa0\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.clickedOutside),expression:\"clickedOutside\"}],staticClass:\"relative\"},[_c('div',{staticClass:\"relative w-full\",class:[_vm.disabled ? 'cursor-not-allowed' : '']},[_c('validation-provider',{attrs:{\"rules\":{ requiredDriver: true, oneOfDiver: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"floating-label-inset\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.driverValue),expression:\"driverValue\",modifiers:{\"lazy\":true}}],staticClass:\"input w-full h-full border w-full px-2 border border-solid focus:outline-none focus:shadow focus:shadow-purple-4 border-r-0 border-purple-200 focus:border-b focus:border-purple-400\",class:[_vm.disabled ? 'bg-gray-100' : ''],attrs:{\"id\":_vm.name,\"name\":_vm.name,\"type\":\"text\",\"placeholder\":\"Driver\",\"autocomplete\":\"off\",\"variant\":{\n error: !!errors[0],\n table: true,\n },\"disabled\":_vm.disabled},domProps:{\"value\":(_vm.driverValue)},on:{\"focus\":_vm.inputFocused,\"input\":_vm.handleInput,\"keydown\":_vm.inputKeyPressed,\"blur\":_vm.inputBlured,\"change\":function($event){_vm.driverValue=$event.target.value}}}),_c('label',{staticClass:\"outline-none\",class:[_vm.disabled ? 'cursor-not-allowed' : ''],staticStyle:{\"margin-top\":\"0.5px\"},attrs:{\"for\":_vm.name}},[_c('span',[_vm._v(\" Driver \")])])]),(!_vm.disabled)?_c('div',{staticClass:\"absolute top-2.5 right-2 bg-white pl-2\"},[(_vm.driverValue?.length >= 1)?_c(VIcon,{staticClass:\"mr-0\",attrs:{\"size\":\"18\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":_vm.clearInput}},[_vm._v(\"mdi-close\")]):_vm._e(),(_vm.showOptions)?_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":function($event){_vm.showOptions = false}}},[_vm._v(\"mdi-chevron-up\")]):_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":_vm.inputFocused}},[_vm._v(\"mdi-chevron-down\")])],1):_vm._e(),(errors[0])?_c('span',{staticClass:\"absolute bottom-0 ml-2 text-xs leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showOptions),expression:\"showOptions\"}],staticClass:\"absolute w-60 z-3 bg-white border border-solid border-purple-400 top-9 ml-0.5 mt-0.5 mh-48 overflow-hidden overflow-y-scroll rounded shadow-md p-0\"},[_c('div',[(_vm.loading)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.loading && _vm.selectItems.length === 0)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" No such data \")]):_c('div',{ref:\"scrollContainer\",staticClass:\"flex flex-col mh-48 overflow-y-scroll\"},_vm._l((_vm.selectItems),function(item,idx){return _c('div',{key:idx,ref:\"options\",refInFor:true,staticClass:\"px-1 py-2 leading-4 cursor-pointer hover:bg-purple-50\",class:_vm.arrowIdx === idx ? 'bg-purple-100 focus:bg-purple-100' : '',on:{\"click\":function($event){return _vm.handleItemClick(item)}}},[_vm._v(\" \"+_vm._s(item)+\" \")])}),0)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { ValidationProvider, extend } from 'vee-validate';\nimport { required } from 'vee-validate/dist/rules';\nimport { JobComplianceDriver } from '@/models/JobComplianceTypes';\nimport store from '@/store';\n\nextend('requiredDriver', {\n ...required,\n message: 'Required',\n});\n\n@Component({\n components: {\n ValidationProvider,\n },\n})\nexport default class LookupDriver extends Vue {\n @Prop({ type: Array, required: true }) public driversData: JobComplianceDriver[];\n @Prop({ type: String, required: true }) public name: string;\n @Prop({ type: Boolean, required: false, default: false }) public disabled: boolean;\n\n public loading = false;\n public driverValue = '';\n public selectItems: string[] = [];\n public showOptions = false;\n public arrowIdx = -1;\n private driverChosen = {\n id: 0,\n code: 0,\n full_name: '',\n mobile_phone: '',\n };\n private driverChosenDefault = { ...this.driverChosen };\n\n @Watch('driverChosen', { deep: true })\n private watchServiceChosen() {\n this.$emit('changed', this.driverChosen);\n }\n\n private applyValueFromParent(item): void {\n this.driverChosen = item;\n this.showOptions = false;\n this.driverValue = item.code;\n this.$forceUpdate();\n }\n\n public handleInput(evt): void {\n if (evt.target.value) {\n this.driverValue = evt.target.value;\n const filteredAddresses = this.driversData.filter(\n x => `${x.code} - ${x.full_name}`.toUpperCase().indexOf(String(evt.target.value).toUpperCase()) >= 0,\n );\n this.selectItems = [...filteredAddresses.map(driver => `${driver.code} - ${driver.full_name}`)];\n }\n }\n\n public inputKeyPressed(evt: KeyboardEvent): void {\n // Open dropdown on Focus\n if (!this.showOptions) {\n this.showOptions = true;\n this.arrowIdx = -1;\n }\n // Close dropdown when \"Escape\" pressed\n if (evt.code === 'Escape') {\n this.showOptions = false;\n this.arrowIdx = -1;\n }\n // ArrowDown / ArrowUp pressed\n if (evt.code === 'ArrowDown' && this.arrowIdx < this.selectItems.length - 1) {\n this.arrowIdx += 1;\n this.fixScrolling();\n }\n if (evt.code === 'ArrowUp' && this.arrowIdx >= 1) {\n this.arrowIdx -= 1;\n this.fixScrolling();\n }\n // Enter pressed\n if (evt.code === 'Enter' && this.arrowIdx >= 0) {\n evt.preventDefault();\n const chosenService = this.driversData.find(\n x => `${x.code} - ${x.full_name}`.substring(0, 30) === this.selectItems[this.arrowIdx].substring(0, 30),\n );\n if (chosenService) {\n this.driverChosen = chosenService;\n this.showOptions = false;\n this.driverValue = this.selectItems[this.arrowIdx].split(' - ')[0];\n this.arrowIdx = -1;\n }\n }\n }\n\n public clearInput(): void {\n this.driverValue = '';\n this.showOptions = false;\n this.driverChosen = { ...this.driverChosenDefault };\n this.arrowIdx = -1;\n this.selectItems = [];\n }\n\n private fixScrolling() {\n const options = this.$refs.options as HTMLFormElement;\n const scrollContainer = this.$refs.scrollContainer as HTMLFormElement;\n if (options && scrollContainer) {\n const liH = options[this.arrowIdx].clientHeight;\n scrollContainer.scrollTop = liH * this.arrowIdx;\n }\n }\n\n public inputFocused(): void {\n this.showOptions = true;\n if (this.driverValue?.length) {\n this.handleInput({\n target: {\n value: this.driverValue,\n },\n });\n } else {\n this.selectItems = this.driversData.map(driver => `${driver.code} - ${driver.full_name}`);\n }\n }\n\n public inputBlured(): void {\n const codes = this.selectItems.map(x => x.split(' - ')[0]);\n const code = codes.find(x => x === String(this.driverValue));\n const idx = this.driversData.find(x => String(x.code) === code);\n if (idx) {\n this.driverChosen = { ...idx };\n }\n setTimeout(() => {\n this.showOptions = false;\n }, 200);\n }\n\n public handleItemClick(item: string): void {\n const driverChosen = this.driversData.find(\n x => `${x.code} - ${x.full_name}`.substring(0, 30) === item.substring(0, 30),\n );\n if (driverChosen) {\n this.driverChosen = driverChosen;\n this.showOptions = false;\n this.driverValue = item.split(' - ')[0];\n }\n }\n\n public clickedOutside(): void {\n this.showOptions = false;\n }\n\n public oneOfExtendValidationRule = extend('oneOfDiver', value => {\n return store.getters['moduleStaticData/getDrivers'].some(x => String(x.code) === String(value).toUpperCase())\n ? true\n : 'Not match';\n });\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupDriver.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupDriver.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupDriver.vue?vue&type=template&id=f0aba1f8&scoped=true\"\nimport script from \"./LookupDriver.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupDriver.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LookupDriver.vue?vue&type=style&index=0&id=f0aba1f8&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f0aba1f8\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.clickedOutside),expression:\"clickedOutside\"}],staticClass:\"relative\"},[_c('div',{staticClass:\"relative w-full\"},[_c('validation-provider',{attrs:{\"rules\":{ required: false }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"floating-label-inset\"},[_c('t-input-label',{attrs:{\"id\":_vm.name,\"name\":_vm.name,\"type\":\"text\",\"placeholder\":\"Type\",\"autocomplete\":\"off\",\"variant\":{\n error: !!errors[0],\n [_vm.variant]: true,\n },\"maxlength\":30},on:{\"focus\":_vm.inputFocused,\"input\":_vm.handleInput,\"keydown\":_vm.inputKeyPressed,\"focusout\":_vm.inputBlured},model:{value:(_vm.productTypeValue),callback:function ($$v) {_vm.productTypeValue=$$v},expression:\"productTypeValue\"}}),_c('label',{attrs:{\"for\":_vm.name}},[_c('span',[_vm._v(\" Type \")])])],1),_c('div',{staticClass:\"absolute top-2.5 right-2 bg-white pl-2\"},[(_vm.showOptions)?_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":function($event){_vm.showOptions = false}}},[_vm._v(\"mdi-chevron-up\")]):_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":_vm.inputFocused}},[_vm._v(\"mdi-chevron-down\")])],1),(errors[0])?_c('span',{staticClass:\"absolute bottom-0 ml-2.5 text-xs text-red-700\"},[_vm._v(\"Required\")]):_vm._e()]}}])})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showOptions),expression:\"showOptions\"}],staticClass:\"absolute w-64 z-3 bg-white border border-solid border-purple-400 top-9 ml-0.5 mh-48 overflow-hidden overflow-y-scroll rounded shadow-md p-0\"},[_c('div',[(_vm.loading)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.loading && _vm.selectItems.length === 0)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" No such data \")]):_c('div',{ref:\"scrollContainer\",staticClass:\"flex flex-col mh-48 overflow-y-scroll\"},_vm._l((_vm.selectItems),function(item,idx){return _c('div',{key:idx,ref:\"options\",refInFor:true,staticClass:\"px-2 py-2 leading-4 cursor-pointer hover:bg-purple-50\",class:_vm.arrowIdx === idx ? 'bg-purple-100 focus:bg-purple-100' : '',on:{\"click\":function($event){return _vm.handleItemClick(item)}}},[_vm._v(\" \"+_vm._s(item)+\" \")])}),0)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { ValidationProvider, extend } from 'vee-validate';\nimport { required } from 'vee-validate/dist/rules';\nimport { JobComplianceProductType } from '@/models/JobComplianceTypes';\n\nextend('required', {\n ...required,\n message: 'This field is required',\n});\n\n@Component({\n components: {\n ValidationProvider,\n },\n})\nexport default class LookupProductTypes extends Vue {\n @Prop({ type: Array, required: true }) public productTypes: JobComplianceProductType[];\n @Prop({ type: String, required: true }) public name: string;\n @Prop({ type: String, required: false }) public type_code: string;\n @Prop({ type: String, required: false, default: '' }) public variant: string;\n\n public loading = false;\n public productTypeValue = '';\n public selectItems: string[] = [];\n public showOptions = false;\n public arrowIdx = -1;\n\n public productTypeChosen: JobComplianceProductType = {\n code: '',\n description: '',\n default_length: 0,\n default_width: 0,\n default_height: 0,\n weight: 0,\n };\n private productTypeChosenDefault = { ...this.productTypeChosen };\n\n @Watch('type_code', { immediate: true })\n private watchPropTypeCode() {\n this.productTypeValue = this.type_code;\n }\n\n private applyValueFromParent(item): void {\n this.productTypeChosen = item;\n this.showOptions = false;\n this.productTypeValue = item.code;\n this.$forceUpdate();\n }\n\n public handleInput(evt: string): void {\n const filteredType: JobComplianceProductType[] = this.productTypes.filter(\n (x: JobComplianceProductType) => x.code.toUpperCase().indexOf(evt.toUpperCase()) >= 0,\n );\n this.selectItems = [...filteredType.map((item: JobComplianceProductType) => `${item.code} - ${item.description}`)];\n }\n\n public inputKeyPressed(evt: KeyboardEvent): void {\n // Open dropdown on Focus\n if (!this.showOptions) {\n this.showOptions = true;\n this.arrowIdx = -1;\n }\n // Close dropdown when \"Escape\" pressed\n if (evt.code === 'Escape') {\n this.showOptions = false;\n this.arrowIdx = -1;\n }\n // ArrowDown / ArrowUp pressed\n if (evt.code === 'ArrowDown' && this.arrowIdx < this.selectItems.length - 1) {\n this.arrowIdx += 1;\n this.fixScrolling();\n }\n if (evt.code === 'ArrowUp' && this.arrowIdx >= 1) {\n this.arrowIdx -= 1;\n this.fixScrolling();\n }\n // Enter pressed\n if (evt.code === 'Enter' && this.arrowIdx >= 0) {\n evt.preventDefault();\n const itemCode = this.selectItems[this.arrowIdx].split(' - ')[0];\n const chosenService = this.productTypes.find(x => x.code === itemCode);\n if (chosenService) {\n this.productTypeChosen = chosenService;\n this.showOptions = false;\n this.productTypeValue = itemCode;\n this.arrowIdx = -1;\n this.$emit('changed', this.productTypeChosen, this.name.split('-')[1], this.name.split('-')[2]);\n }\n }\n }\n\n private fixScrolling() {\n const options = this.$refs.options as HTMLFormElement;\n const scrollContainer = this.$refs.scrollContainer as HTMLFormElement;\n if (options && scrollContainer) {\n const liH = options[this.arrowIdx].clientHeight;\n scrollContainer.scrollTop = liH * this.arrowIdx;\n }\n }\n\n public inputFocused(): void {\n this.showOptions = true;\n this.selectItems = this.productTypes.map((item: JobComplianceProductType) => `${item.code} - ${item.description}`);\n }\n\n public inputBlured(): void {\n setTimeout(() => {\n this.showOptions = false;\n }, 200);\n }\n\n public handleItemClick(item: string): void {\n const itemCode = item.split(' - ')[0];\n const productTypeChosen = this.productTypes.find((x: JobComplianceProductType) => x.code === itemCode);\n if (productTypeChosen) {\n this.productTypeChosen = productTypeChosen;\n this.showOptions = false;\n this.productTypeValue = itemCode;\n this.$emit('changed', productTypeChosen, this.name.split('-')[1], this.name.split('-')[2]);\n }\n }\n\n public clickedOutside(): void {\n this.showOptions = false;\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupProductTypes.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupProductTypes.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupProductTypes.vue?vue&type=template&id=76ca3e2e&scoped=true\"\nimport script from \"./LookupProductTypes.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupProductTypes.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LookupProductTypes.vue?vue&type=style&index=0&id=76ca3e2e&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"76ca3e2e\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.clickedOutside),expression:\"clickedOutside\"}],staticClass:\"relative\"},[_c('div',{staticClass:\"relative w-full\"},[_c('validation-provider',{attrs:{\"rules\":{ required: false }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"floating-label-inset\"},[_c('t-input-label',{attrs:{\"id\":_vm.name,\"name\":_vm.name,\"type\":\"select\",\"placeholder\":\"Type\",\"autocomplete\":\"off\",\"readonly\":\"\",\"variant\":{\n error: !!errors[0],\n [_vm.variant]: true,\n },\"maxlength\":30},on:{\"focus\":_vm.inputFocused,\"input\":_vm.handleInput,\"keydown\":_vm.inputKeyPressed,\"focusout\":_vm.inputBlured},model:{value:(_vm.prefixValueToShow),callback:function ($$v) {_vm.prefixValueToShow=$$v},expression:\"prefixValueToShow\"}}),_c('label',{attrs:{\"for\":_vm.name}},[_c('span',[_vm._v(\" Type \")])])],1),_c('div',{staticClass:\"absolute top-2.5 right-2 bg-white pl-2\"},[(_vm.showOptions)?_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":function($event){_vm.showOptions = false}}},[_vm._v(\"mdi-chevron-up\")]):_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":_vm.inputFocused}},[_vm._v(\"mdi-chevron-down\")])],1),(errors[0])?_c('span',{staticClass:\"absolute bottom-0 ml-2.5 text-xs text-red-700\"},[_vm._v(\"Required\")]):_vm._e()]}}])})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showOptions),expression:\"showOptions\"}],ref:\"scrollContainer\",staticClass:\"absolute w-64 z-3 bg-white border border-solid border-purple-400 overflow-x-hidden overflow-y-auto rounded shadow-md p-0 top-9 ml-0.5 mh-64\"},[(_vm.prefixList.length)?_c('div',{},_vm._l((_vm.prefixList),function(item,idx){return _c('div',{key:idx,ref:\"options\",refInFor:true,staticClass:\"px-2 py-2 leading-4 cursor-pointer hover:bg-purple-50\",class:[\n _vm.arrowIdx === idx ? 'bg-purple-100 focus:bg-purple-100' : '',\n `${item}${item !== '-' ? ': ' : ''}` === _vm.prefixValue ? 'bg-purple-200' : '',\n ],on:{\"click\":function($event){return _vm.handleItemClick(item)}}},[_vm._v(\" \"+_vm._s(item)+\" \")])}),0):_c('div',{staticClass:\"flex items-center justify-center py-6 italic text-gray-500\"},[_vm._v(\"No such data\")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { ValidationProvider, extend } from 'vee-validate';\nimport { required } from 'vee-validate/dist/rules';\nimport { getPrefixFromString } from '@/helpers/booking';\n\nextend('required', {\n ...required,\n message: 'This field is required',\n});\n\n@Component({\n components: {\n ValidationProvider,\n },\n})\nexport default class LookupProductPrefix extends Vue {\n @Prop({ type: String, required: true }) public name: string;\n @Prop({ type: String, required: true }) public model: string;\n @Prop({ type: String, required: false, default: '' }) public variant: string;\n\n public prefixList = ['-', 'IN', 'OUT', 'OUT: RECYCLE', 'OUT: STORE', 'OUT: RETURN', 'OUT: WORKSHOP'];\n public prefixListShortList = {\n 'OUT: RECYCLE': 'REC',\n 'OUT: STORE': 'STO',\n 'OUT: RETURN': 'RTN',\n 'OUT: WORKSHOP': 'WS',\n };\n\n public loading = false;\n public prefixValue = '';\n public prefixValueToShow = '';\n public selectItems: string[] = [];\n public showOptions = false;\n public arrowIdx = -1;\n\n @Watch('model', { immediate: true })\n private watchPropTypeCode() {\n if (this.model.includes(':')) {\n this.prefixValue = getPrefixFromString(this.model);\n } else {\n this.prefixValue = '-';\n }\n // Show short names in the input\n if (Object.keys(this.prefixListShortList).includes(this.prefixValue.slice(0, -2))) {\n this.prefixValueToShow = this.prefixListShortList[this.prefixValue.slice(0, -2)];\n } else {\n this.prefixValueToShow = this.prefixValue;\n }\n }\n\n private applyValueFromParent(item): void {\n this.showOptions = false;\n this.prefixValue = item;\n this.$forceUpdate();\n }\n\n public handleInput(): void {\n this.arrowIdx = -1;\n }\n\n public inputKeyPressed(evt: KeyboardEvent): void {\n // Open dropdown on Focus\n if (!this.showOptions) {\n this.showOptions = true;\n this.arrowIdx = 0;\n }\n // Close dropdown when \"Escape\" pressed\n if (evt.code === 'Escape') {\n this.showOptions = false;\n this.arrowIdx = -1;\n }\n // ArrowDown / ArrowUp pressed\n if (evt.code === 'ArrowDown' && this.arrowIdx < this.prefixList.length - 1) {\n this.arrowIdx += 1;\n this.fixScrolling();\n }\n if (evt.code === 'ArrowUp' && this.arrowIdx >= 1) {\n this.arrowIdx -= 1;\n this.fixScrolling();\n }\n // Enter pressed\n if (evt.code === 'Enter' && this.arrowIdx >= 0) {\n evt.preventDefault();\n const item = this.prefixList[this.arrowIdx];\n this.showOptions = false;\n this.$emit('changed', item);\n }\n }\n\n private fixScrolling() {\n const options = this.$refs.options as HTMLFormElement;\n const scrollContainer = this.$refs.scrollContainer as HTMLFormElement;\n if (options && scrollContainer) {\n const liH = options[this.arrowIdx].clientHeight;\n scrollContainer.scrollTop = liH * this.arrowIdx;\n }\n }\n\n public inputFocused(): void {\n this.showOptions = true;\n }\n\n public inputBlured(): void {\n setTimeout(() => {\n this.showOptions = false;\n }, 200);\n }\n\n public handleItemClick(item: string): void {\n this.$emit('changed', item);\n this.showOptions = false;\n }\n\n public clickedOutside(): void {\n this.showOptions = false;\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupProductPrefix.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupProductPrefix.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupProductPrefix.vue?vue&type=template&id=1ffb725b&scoped=true\"\nimport script from \"./LookupProductPrefix.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupProductPrefix.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LookupProductPrefix.vue?vue&type=style&index=0&id=1ffb725b&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1ffb725b\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.clickedOutside),expression:\"clickedOutside\"}],staticClass:\"relative\"},[_c('div',{staticClass:\"relative w-full\"},[_c('validation-provider',{attrs:{\"rules\":{}},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('div',{staticClass:\"floating-label\"},[_c('t-input-label',{staticClass:\"rounded\",attrs:{\"id\":_vm.name,\"name\":_vm.name,\"type\":\"text\",\"placeholder\":\"Add attribute\",\"autocomplete\":\"off\",\"maxlength\":30},on:{\"focus\":_vm.inputFocused,\"input\":_vm.handleInput,\"keydown\":_vm.inputKeyPressed,\"blur\":_vm.inputBlured},model:{value:(_vm.attributeValue),callback:function ($$v) {_vm.attributeValue=$$v},expression:\"attributeValue\"}}),_c('label',{attrs:{\"for\":_vm.name}},[_c('span',[_vm._v(\" Add attribute \")])])],1),_c('div',{staticClass:\"absolute top-2 right-2 bg-white pl-2\"},[(_vm.showOptions)?_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":function($event){_vm.showOptions = false}}},[_vm._v(\"mdi-chevron-up\")]):_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\",\"tabindex\":\"-1\"},on:{\"click\":function($event){_vm.showOptions = true}}},[_vm._v(\"mdi-chevron-down\")])],1),(errors[0])?_c('span',{staticClass:\"ml-4 text-sm text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showOptions),expression:\"showOptions\"}],staticClass:\"absolute w-80 z-3 bg-white border border-solid border-purple-400 top-9 ml-0.5 mh-48 overflow-hidden overflow-y-scroll rounded shadow-md p-0\"},[_c('div',[(_vm.loading)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\"}},[_vm._v(\"mdi-loading\")])],1):(!_vm.loading && _vm.selectItems.length === 0)?_c('div',{staticClass:\"h-16 flex align-center justify-center text-base text-gray-500\"},[_vm._v(\" No such data \")]):_c('div',{ref:\"scrollContainer\",staticClass:\"flex flex-col mh-48 overflow-y-scroll\"},_vm._l((_vm.selectItems),function(item,idx){return _c('div',{key:idx,ref:\"options\",refInFor:true,staticClass:\"px-2 py-2 leading-4 cursor-pointer hover:bg-purple-50\",class:_vm.arrowIdx === idx ? 'bg-purple-100 focus:bg-purple-100' : '',on:{\"click\":function($event){return _vm.handleItemClick(item)}}},[_c('div',{staticClass:\"flex justify-start items-center\"},[_c('div',{staticClass:\"w-min\"},[_c('div',{staticClass:\"w-6 h-6 flex justify-center items-center rounded-full bg-purple-300\"},[_c('Icon',{attrs:{\"name\":item.icon || 'mdi-hammer-wrench',\"color\":\"white\",\"size\":\"base\"}})],1)]),_c('div',{staticClass:\"w-max\"},[_c('span',{staticClass:\"w-min ml-2\"},[_vm._v(\" \"+_vm._s(item.description ? item.description : item.code)+\" \")])])])])}),0)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { ValidationProvider, extend } from 'vee-validate';\nimport Icon from '@/components/UI/Icon.vue';\nimport { required } from 'vee-validate/dist/rules';\nimport { JobComplianceAttribute } from '@/models/JobComplianceTypes';\nimport { AttributeItem } from '@/store/modules/staticData/staticDataTypes';\nimport store from '@/store';\n\nextend('required', {\n ...required,\n message: 'This field is required',\n});\n\n@Component({\n components: {\n Icon,\n ValidationProvider,\n },\n})\nexport default class SelectAttributes extends Vue {\n @Prop({ type: Array, required: true }) public chosenAttrs: [];\n @Prop({ type: String, required: true }) public name: string;\n\n public loading = false;\n public attributeValue = '';\n public selectItems: JobComplianceAttribute[] = [];\n public showOptions = false;\n public arrowIdx = -1;\n\n private attributeList: AttributeItem[];\n\n public handleInput(evt: string): void {\n const filteredItems = this.attributeList.filter(\n x => `${x.description}`.toUpperCase().indexOf(evt.toUpperCase()) >= 0,\n );\n this.selectItems = [...filteredItems];\n }\n\n public inputKeyPressed(evt: KeyboardEvent): void {\n // Open dropdown on Focus\n if (!this.showOptions) {\n this.showOptions = true;\n this.arrowIdx = -1;\n }\n // Close dropdown when \"Escape\" pressed\n if (evt.code === 'Escape') {\n this.showOptions = false;\n this.arrowIdx = -1;\n }\n // ArrowDown / ArrowUp pressed\n if (evt.code === 'ArrowDown' && this.arrowIdx < this.selectItems.length - 1) {\n this.arrowIdx += 1;\n this.fixScrolling();\n }\n if (evt.code === 'ArrowUp' && this.arrowIdx >= 1) {\n this.arrowIdx -= 1;\n this.fixScrolling();\n }\n // Enter pressed\n if (evt.code === 'Enter' && this.arrowIdx >= 0) {\n evt.preventDefault();\n const chosenAddress = this.attributeList.find(\n x => `${x.description}` === this.selectItems[this.arrowIdx].description,\n );\n if (chosenAddress) {\n this.showOptions = false;\n this.attributeValue = '';\n this.arrowIdx = -1;\n this.$emit('changed', chosenAddress, this.name.slice(-1));\n }\n }\n }\n\n private fixScrolling() {\n const options = this.$refs.options as HTMLFormElement;\n const scrollContainer = this.$refs.scrollContainer as HTMLFormElement;\n if (options && scrollContainer) {\n const liH = options[this.arrowIdx].clientHeight;\n scrollContainer.scrollTop = liH * this.arrowIdx;\n }\n }\n\n public async inputFocused(): Promise {\n if (!this.attributeList) {\n this.attributeList = await store.getters['moduleStaticData/getAttributes'];\n }\n this.showOptions = true;\n const chosenAttrs = this.chosenAttrs.map((x: JobComplianceAttribute) => x.description.toUpperCase());\n if (this.chosenAttrs.length) {\n this.selectItems = [...this.attributeList.filter(x => chosenAttrs.indexOf(x?.description?.toUpperCase()) === -1)];\n } else {\n this.selectItems = [...this.attributeList];\n }\n }\n\n public inputBlured(): void {\n setTimeout(() => {\n this.showOptions = false;\n }, 200);\n }\n\n public handleItemClick(item: JobComplianceAttribute): void {\n this.showOptions = false;\n this.attributeValue = '';\n this.arrowIdx = -1;\n this.$emit('changed', item, this.name.slice(-1));\n }\n\n public clickedOutside(): void {\n this.showOptions = false;\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SelectAttributes.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SelectAttributes.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SelectAttributes.vue?vue&type=template&id=4e88d042&scoped=true\"\nimport script from \"./SelectAttributes.vue?vue&type=script&lang=ts\"\nexport * from \"./SelectAttributes.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SelectAttributes.vue?vue&type=style&index=0&id=4e88d042&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4e88d042\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"absolute w-full h-full top-0 left-0 flex items-center z-30 cursor-pointer opacity-0 group-hover:opacity-100 transition-all ease-in-out duration-200\"},[_c('div',{staticClass:\"absolute top-0 left-0 w-full h-full bg-purple-200 border-purple opacity-50\"}),_c('div',{staticClass:\"w-full h-10 flex justify-center items-center bg-purple-400 opacity-80\"},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-pencil-circle\",\"color\":\"white\",\"size\":\"2xl\"}}),_c('span',{staticClass:\"ml-1 text-white\"},[_vm._v(\" Click anywhere to edit \")])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\n\n@Component({\n components: {\n Icon,\n },\n})\nexport default class SectionEditPlaceholder extends Vue {}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SectionEditPlaceholder.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SectionEditPlaceholder.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SectionEditPlaceholder.vue?vue&type=template&id=1dc897fc\"\nimport script from \"./SectionEditPlaceholder.vue?vue&type=script&lang=ts\"\nexport * from \"./SectionEditPlaceholder.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VExpansionPanels,{staticClass:\"mt-2 expansion-panels\",attrs:{\"accordion\":\"\"}},[_c(VExpansionPanel,{staticClass:\"expansion-panel\"},[_c(VExpansionPanelHeader,{staticClass:\"expansion-panel-header\"},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-call-merge\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"xl\"}}),_c('div',{staticClass:\"mx-1 text-base underline hover:no-underline\"},[_vm._v(\"Split to base\")])],1),_c(VExpansionPanelContent,{staticClass:\"expansion-panel-content mt-2 p-2 border border-purple-100 rounded\"},[_c('fieldset',{staticClass:\"flex w-60 py-4\"},[_c('label',{staticClass:\"flex w-1/3 m-0 p-0 cursor-pointer\",on:{\"change\":function($event){return _vm.splitToBaseRadioClicked(2)}}},[_c('t-radio',{staticClass:\"t-radio\",attrs:{\"value\":\"1\",\"name\":\"splitStop1\",\"checked\":_vm.split_stop_number === 2}}),_c('span',{staticClass:\"ml-2 text-sm leading-4\"},[_vm._v(\" Stop 2 \")])],1),(_vm.formData.stops.length >= 3)?_c('label',{staticClass:\"flex w-1/3 m-0 p-0 cursor-pointer\",on:{\"change\":function($event){return _vm.splitToBaseRadioClicked(3)}}},[_c('t-radio',{staticClass:\"t-radio\",attrs:{\"value\":\"2\",\"name\":\"splitStop2\",\"checked\":_vm.split_stop_number === 3}}),_c('span',{staticClass:\"ml-2 text-sm leading-4\"},[_vm._v(\" Stop 3 \")])],1):_vm._e()]),_c('LookupWarehouses',{attrs:{\"lookupData\":_vm.kktsSplitToBase,\"stop_number\":_vm.split_stop_number},on:{\"changed\":_vm.splitToBaseChanged}}),_c('button',{staticClass:\"mt-6 w-full h-12 flex justify-center items-center bg-red-100 text-red-400 border border-solid border-red-400 rounded hover:bg-red-200 hover:text-red-500\",class:`${_vm.loading ? 'cursor-not-allowed' : 'cursor-pointer'}`,attrs:{\"type\":\"submit\",\"disabled\":_vm.loading},on:{\"click\":_vm.setJobSplitToBase}},[(!_vm.loading)?_c('span',[_vm._v(\" Set split to base \")]):_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"red\",\"size\":\"24\"}},[_vm._v(\"mdi-loading\")])],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\nimport Icon from '@/components/UI/Icon.vue';\nimport LookupWarehouses from '@/components/UI/LookupWarehouses.vue';\n\nimport { kktsSplitToBase } from '@/utils/PortalConstants';\nimport { fetchJobUnlock, fetchSetJobEditStatusSplitToBase, fetchSetJobLock } from '@/helpers/fetchers';\n\nimport { JobComplianceData } from '@/models/JobComplianceTypes';\nimport { JobLockError, ValidationAPIError } from '@/helpers/throwables';\nimport { notifyNetworkError } from '@/helpers/notifiers';\n\n@Component({\n components: {\n Icon,\n LookupWarehouses,\n },\n})\nexport default class SplitToBase extends Vue {\n @Prop({ type: Object, required: false, default: false }) public formData: JobComplianceData;\n\n public loading = false;\n public kktsSplitToBase = kktsSplitToBase;\n public split_stop_number = 2;\n public split_base = 1;\n\n public splitToBaseRadioClicked(stop_number: number): void {\n this.split_stop_number = stop_number;\n }\n\n public splitToBaseChanged(warehouse: string): void {\n this.split_base = kktsSplitToBase.indexOf(warehouse) + 1;\n }\n\n public async setJobSplitToBase(): Promise {\n this.loading = true;\n const params = {\n action: 'tobase',\n driver: this.formData.driver_code || 0,\n base: this.split_base,\n stop_number: this.split_stop_number,\n };\n\n await fetchSetJobLock(this.formData.rockhopper_id, this.formData.rockhopper_date)\n .then(async () => {\n await fetchSetJobEditStatusSplitToBase(this.formData.rockhopper_id, this.formData.rockhopper_date, params)\n .then(() => {\n this.$emit('fetchData');\n })\n .catch(err => {\n // In case of validation error, unlock the job\n if (err instanceof ValidationAPIError) {\n console.debug('ValidationAPIError', err);\n notifyNetworkError({ text: err.message });\n }\n })\n .finally(async () => {\n await fetchJobUnlock(this.formData.rockhopper_id, this.formData.rockhopper_date);\n });\n })\n .catch(err => {\n if (err instanceof JobLockError) {\n return;\n }\n });\n\n this.loading = false;\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SplitToBase.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SplitToBase.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SplitToBase.vue?vue&type=template&id=e5bb6ae2&scoped=true\"\nimport script from \"./SplitToBase.vue?vue&type=script&lang=ts\"\nexport * from \"./SplitToBase.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobActions.scss?vue&type=style&index=0&id=e5bb6ae2&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e5bb6ae2\",\n null\n \n)\n\nexport default component.exports","import { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VExpansionPanels,{staticClass:\"mt-2 expansion-panels\",attrs:{\"accordion\":\"\"}},[_c(VExpansionPanel,{staticClass:\"expansion-panel\"},[_c(VExpansionPanelHeader,{staticClass:\"expansion-panel-header\"},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-map-marker-plus-outline\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"xl\"}}),_c('div',{staticClass:\"mx-1 text-base underline hover:no-underline\"},[_vm._v(\"Add Stop 3\")])],1),_c(VExpansionPanelContent,{staticClass:\"expansion-panel-content mt-2 p-2 border border-purple-100 rounded\"},[_c('div',{staticClass:\"w-full floating-label-inset\"},[_c('span',[_vm._v(\"If you want to add stop 3, press the button to confirm you action:\")])]),_c('button',{staticClass:\"mt-2 w-full h-12 flex justify-center items-center bg-red-100 text-red-400 border border-solid border-red-400 rounded hover:bg-red-200 hover:text-red-500\",class:`${_vm.loading ? 'cursor-not-allowed' : 'cursor-pointer'}`,attrs:{\"type\":\"submit\",\"disabled\":_vm.loading},on:{\"click\":_vm.add3rdStop}},[(!_vm.loading)?_c('span',[_vm._v(\" Add Stop 3 \")]):_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"red\",\"size\":\"24\"}},[_vm._v(\"mdi-loading\")])],1)])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\nimport { JobComplianceData } from '@/models/JobComplianceTypes';\nimport { mapState } from 'vuex';\nimport { User } from '@/models/main';\n\n@Component({\n components: {\n Icon,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class Add3rdStop extends Vue {\n @Prop({ type: Object, required: false, default: false }) public formData: JobComplianceData;\n\n private user!: User;\n public loading = false;\n\n public add3rdStop() {\n this.$emit('addTmp3rdStop');\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Add3rdStop.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Add3rdStop.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Add3rdStop.vue?vue&type=template&id=698e46b1&scoped=true\"\nimport script from \"./Add3rdStop.vue?vue&type=script&lang=ts\"\nexport * from \"./Add3rdStop.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobActions.scss?vue&type=style&index=0&id=698e46b1&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"698e46b1\",\n null\n \n)\n\nexport default component.exports","import { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VExpansionPanels,{staticClass:\"mt-2 expansion-panels\",attrs:{\"accordion\":\"\"}},[_c(VExpansionPanel,{staticClass:\"expansion-panel\"},[_c(VExpansionPanelHeader,{staticClass:\"expansion-panel-header\"},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-trash-can-outline\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"xl\"}}),_c('div',{staticClass:\"mx-1 text-base underline hover:no-underline\"},[_vm._v(\"Delete Stop 3\")])],1),_c(VExpansionPanelContent,{staticClass:\"expansion-panel-content mt-2 p-2 border border-purple-100 rounded\"},[_c('div',{staticClass:\"w-full floating-label-inset\"},[_c('span',[_vm._v(\"If you want to delete stop 3, press the button to confirm you action:\")])]),_c('button',{staticClass:\"mt-2 w-full h-12 flex justify-center items-center bg-red-100 text-red-400 border border-solid border-red-400 rounded hover:bg-red-200 hover:text-red-500\",class:`${_vm.loading ? 'cursor-not-allowed' : 'cursor-pointer'}`,attrs:{\"type\":\"submit\",\"disabled\":_vm.loading},on:{\"click\":_vm.remove3rdStop}},[(!_vm.loading)?_c('span',[_vm._v(\" Delete Stop 3 \")]):_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"red\",\"size\":\"24\"}},[_vm._v(\"mdi-loading\")])],1)])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\nimport { fetchJobUnlock, fetchRemove3rdStop, fetchSetJobLock } from '@/helpers/fetchers';\nimport { JobComplianceData } from '@/models/JobComplianceTypes';\nimport { mapState } from 'vuex';\nimport { User } from '@/models/main';\nimport { JobLockError, ValidationAPIError } from '@/helpers/throwables';\nimport { notifyNetworkError } from '@/helpers/notifiers';\n\n@Component({\n components: {\n Icon,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class Remove3rdStop extends Vue {\n @Prop({ type: Object, required: false, default: false }) public formData: JobComplianceData;\n\n private user!: User;\n public loading = false;\n\n public async remove3rdStop() {\n if (this.formData.stops[2]._isTmp) {\n return this.$emit('removeTmp3rdStop');\n }\n this.loading = true;\n\n await fetchSetJobLock(this.formData.rockhopper_id, this.formData.rockhopper_date)\n .then(async () => {\n await fetchRemove3rdStop(this.formData.rockhopper_id, this.formData.rockhopper_date, 3, {})\n .then(() => {\n this.$emit('fetchData');\n })\n .catch(err => {\n // In case of validation error, unlock the job\n if (err instanceof ValidationAPIError) {\n notifyNetworkError({ text: err.message });\n }\n })\n .finally(async () => {\n await fetchJobUnlock(this.formData.rockhopper_id, this.formData.rockhopper_date);\n });\n })\n .catch(err => {\n if (err instanceof JobLockError) {\n return;\n }\n });\n\n this.loading = false;\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Remove3rdStop.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Remove3rdStop.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Remove3rdStop.vue?vue&type=template&id=d0f433a4&scoped=true\"\nimport script from \"./Remove3rdStop.vue?vue&type=script&lang=ts\"\nexport * from \"./Remove3rdStop.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobActions.scss?vue&type=style&index=0&id=d0f433a4&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d0f433a4\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('details',[_c('summary',{staticClass:\"w-min flex justify-start items-center whitespace-nowrap cursor-pointer\"},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-stairs\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"xl\"}}),_c('div',{staticClass:\"mx-1 text-base underline hover:no-underline\"},[_vm._v(\"Add stairs service\")]),_c('span',{staticClass:\"icon w-5 h-5 flex justify-center items-center\"},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-chevron-down\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"xl\"}})],1)],1),_c('div',{staticClass:\"mt-2 p-2 border border-purple-100 rounded\"},[_c('div',{staticClass:\"w-full py-4\"},[_c('fieldset',{staticClass:\"flex w-60 mt-2\"},[_c('label',{staticClass:\"flex w-1/3 m-0 p-0 cursor-pointer\",on:{\"change\":function($event){return _vm.stairsServiceRadioClicked(1)}}},[_c('t-radio',{staticClass:\"t-radio\",attrs:{\"value\":\"1\",\"name\":\"stairsStop1\",\"checked\":_vm.stairs_stop_number === 1}}),_c('span',{staticClass:\"ml-2 text-sm leading-4\"},[_vm._v(\" Stop 1 \")])],1),_c('label',{staticClass:\"flex w-1/3 m-0 p-0 cursor-pointer\",on:{\"change\":function($event){return _vm.stairsServiceRadioClicked(2)}}},[_c('t-radio',{staticClass:\"t-radio\",attrs:{\"value\":\"2\",\"name\":\"stairsStop1\",\"checked\":_vm.stairs_stop_number === 2}}),_c('span',{staticClass:\"ml-2 text-sm leading-4\"},[_vm._v(\" Stop 2 \")])],1)])]),_c('button',{staticClass:\"mt-2 w-full h-12 flex justify-center items-center bg-red-100 text-red-400 border border-solid border-red-400 rounded hover:bg-red-200 hover:text-red-500\",class:`${_vm.loading ? 'cursor-not-allowed' : 'cursor-pointer'}`,attrs:{\"type\":\"submit\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.addStairsClicked(_vm.stairs_stop_number)}}},[(!_vm.loading)?_c('span',[_vm._v(\" Add stairs service \")]):_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"red\",\"size\":\"24\"}},[_vm._v(\"mdi-loading\")])],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\nimport Icon from '@/components/UI/Icon.vue';\nimport LookupWarehouses from '@/components/UI/LookupWarehouses.vue';\n\nimport { fetchAddStairsService } from '@/helpers/fetchers';\n\nimport { JobComplianceData } from '@/models/JobComplianceTypes';\n\n@Component({\n components: {\n Icon,\n LookupWarehouses,\n },\n})\nexport default class AddStairsService extends Vue {\n @Prop({ type: Object, required: false, default: false }) public formData: JobComplianceData;\n\n public loading = false;\n public stairs_stop_number = 1;\n\n public stairsServiceRadioClicked(stop_number: number): void {\n this.stairs_stop_number = stop_number;\n }\n public addStairsClicked(stop_number: number): Promise {\n this.loading = true;\n\n return fetchAddStairsService(this.formData.rockhopper_id, this.formData.rockhopper_date, stop_number)\n .then(res => {\n if (res === true) {\n this.$emit('fetchData', stop_number);\n }\n\n if (res === 'unlocked') {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n // const that = this;\n const that = () => {\n return this.addStairsClicked(stop_number);\n };\n\n this.$emit('fetchUnlockedJobAction', void this.addStairsClicked(stop_number), stop_number);\n }\n })\n .catch(() => void {})\n .finally(() => (this.loading = false));\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddStairsService.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddStairsService.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddStairsService.vue?vue&type=template&id=f6122da2\"\nimport script from \"./AddStairsService.vue?vue&type=script&lang=ts\"\nexport * from \"./AddStairsService.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VExpansionPanels,{staticClass:\"mt-2 expansion-panels\",attrs:{\"accordion\":\"\"}},[_c(VExpansionPanel,{staticClass:\"expansion-panel\"},[_c(VExpansionPanelHeader,{staticClass:\"expansion-panel-header\"},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-file-remove-outline\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"xl\"}}),_c('div',{staticClass:\"mx-1 text-base underline hover:no-underline\"},[_vm._v(\"Cancel the job\")])],1),_c(VExpansionPanelContent,{staticClass:\"expansion-panel-content mt-2 p-2 border border-purple-100 rounded\"},[_c('ValidationObserver',{ref:\"formCancel\"},[_c('validation-provider',{staticClass:\"w-full flex flex-col floating-label-inset\",attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-input-label',{staticClass:\"input rounded\",attrs:{\"id\":\"name_cancel\",\"name\":\"name_cancel\",\"type\":\"text\",\"placeholder\":\"Name\",\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.cancel_name),callback:function ($$v) {_vm.cancel_name=$$v},expression:\"cancel_name\"}}),_c('label',{attrs:{\"for\":\"name_cancel\"}},[_c('span',[_vm._v(\" Name \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])}),_c('div',{staticClass:\"w-full mt-2 floating-label-inset\"},[_c('validation-provider',{staticClass:\"flex flex-col\",attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-textarea',{attrs:{\"id\":\"reason_cancel\",\"name\":\"reason_cancel\",\"type\":\"text\",\"variant\":{\n error: !!errors[0],\n },\"placeholder\":\"Reason\"},model:{value:(_vm.cancel_reason),callback:function ($$v) {_vm.cancel_reason=$$v},expression:\"cancel_reason\"}}),_c('label',{attrs:{\"for\":\"reason_cancel\"}},[_c('span',[_vm._v(\" Reason \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])})],1),_c('button',{staticClass:\"mt-2 w-full h-12 flex justify-center items-center bg-red-100 text-red-400 border border-solid border-red-400 rounded hover:bg-red-200 hover:text-red-500\",class:`${_vm.loading ? 'cursor-not-allowed' : 'cursor-pointer'}`,attrs:{\"type\":\"submit\",\"disabled\":_vm.loading},on:{\"click\":_vm.setJobAsCancelClicked}},[(!_vm.loading)?_c('span',[_vm._v(\" Cancel the job \")]):_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"red\",\"size\":\"24\"}},[_vm._v(\"mdi-loading\")])],1)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\nimport { fetchJobUnlock, fetchSetJobEditCancel, fetchSetJobLock } from '@/helpers/fetchers';\nimport { JobEditCancelParams, JobComplianceData } from '@/models/JobComplianceTypes';\nimport { User } from '@/models/main';\nimport { mapState } from 'vuex';\nimport { JobLockError, ValidationAPIError } from '@/helpers/throwables';\nimport { notifyNetworkError } from '@/helpers/notifiers';\n\n@Component({\n components: {\n Icon,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class JobCancel extends Vue {\n @Prop({ type: Object, required: false, default: false }) public formData: JobComplianceData;\n\n private user!: User;\n public loading = false;\n\n public cancel_name = '';\n public cancel_reason = '';\n\n public async setJobAsCancelClicked(): Promise {\n const form = this.$refs.formCancel as HTMLFormElement;\n if (form) {\n const success = await form.validate();\n if (success) {\n this.loading = true;\n\n await fetchSetJobLock(this.formData.rockhopper_id, this.formData.rockhopper_date)\n .then(async () => {\n const params: JobEditCancelParams = {\n actor: this.cancel_name,\n reason: this.cancel_reason,\n };\n await fetchSetJobEditCancel(this.formData.rockhopper_id, this.formData.rockhopper_date, params)\n .then(() => {\n this.cancel_name = '';\n this.cancel_reason = '';\n this.$emit('fetchData');\n })\n .catch(async err => {\n // In case of validation error, unlock the job\n if (err instanceof ValidationAPIError) {\n await fetchJobUnlock(this.formData.rockhopper_id, this.formData.rockhopper_date);\n notifyNetworkError({ text: err.message });\n }\n });\n })\n .catch(err => {\n if (err instanceof JobLockError) {\n return;\n }\n });\n\n this.loading = false;\n }\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobCancel.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobCancel.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobCancel.vue?vue&type=template&id=30ff9924&scoped=true\"\nimport script from \"./JobCancel.vue?vue&type=script&lang=ts\"\nexport * from \"./JobCancel.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobActions.scss?vue&type=style&index=0&id=30ff9924&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"30ff9924\",\n null\n \n)\n\nexport default component.exports","import { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VExpansionPanels,{staticClass:\"mt-2 expansion-panels\",attrs:{\"accordion\":\"\"}},[_c(VExpansionPanel,{staticClass:\"expansion-panel\"},[_c(VExpansionPanelHeader,{staticClass:\"expansion-panel-header\"},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-file-cancel\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"xl\"}}),_c('div',{staticClass:\"mx-1 text-base underline hover:no-underline\"},[_vm._v(\"Close the job as futile\")])],1),_c(VExpansionPanelContent,{staticClass:\"expansion-panel-content mt-2 p-2 border border-purple-100 rounded\"},[_c('ValidationObserver',{ref:\"formFutile\"},[_c('div',{staticClass:\"w-full floating-label-inset\"},[_c('validation-provider',{staticClass:\"flex flex-col\",attrs:{\"rules\":{ required: true }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-textarea',{attrs:{\"id\":\"reason_close\",\"name\":\"reason_close\",\"type\":\"text\",\"variant\":{\n error: !!errors[0],\n },\"placeholder\":\"Reason\"},model:{value:(_vm.futile_reason),callback:function ($$v) {_vm.futile_reason=$$v},expression:\"futile_reason\"}}),_c('label',{attrs:{\"for\":\"reason_close\"}},[_c('span',[_vm._v(\" Reason \")])]),(errors[0])?_c('span',{staticClass:\"mt-1 ml-2.5 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}])})],1),_c('button',{staticClass:\"mt-2 w-full h-12 flex justify-center items-center bg-red-100 text-red-400 border border-solid border-red-400 rounded hover:bg-red-200 hover:text-red-500\",class:`${_vm.loading ? 'cursor-not-allowed' : 'cursor-pointer'}`,attrs:{\"type\":\"submit\",\"disabled\":_vm.loading},on:{\"click\":_vm.setJobAsFutileClicked}},[(!_vm.loading)?_c('span',[_vm._v(\" Close the job as futile \")]):_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"red\",\"size\":\"24\"}},[_vm._v(\"mdi-loading\")])],1)])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Icon from '@/components/UI/Icon.vue';\nimport { fetchJobUnlock, fetchSetJobEditAsFutile, fetchSetJobLock } from '@/helpers/fetchers';\nimport { JobComplianceData } from '@/models/JobComplianceTypes';\nimport { JobLockError, ValidationAPIError } from '@/helpers/throwables';\nimport { notifyNetworkError } from '@/helpers/notifiers';\n\n@Component({\n components: {\n Icon,\n },\n})\nexport default class JobCloseAsFutile extends Vue {\n @Prop({ type: Number, required: true, default: 0 }) private driver: number;\n @Prop({ type: Object, required: false, default: false }) public formData: JobComplianceData;\n\n public loading = false;\n public futile_reason = '';\n\n public async setJobAsFutileClicked(): Promise {\n const form = this.$refs.formFutile as HTMLFormElement;\n if (form) {\n const success = await form.validate();\n if (success) {\n this.loading = true;\n\n await fetchSetJobLock(this.formData.rockhopper_id, this.formData.rockhopper_date)\n .then(async () => {\n const params: { [key: string]: string } = {\n reason: this.futile_reason,\n };\n await fetchSetJobEditAsFutile(this.formData.rockhopper_id, this.formData.rockhopper_date, params)\n .then(() => {\n this.futile_reason = '';\n this.$emit('fetchData');\n })\n .catch(err => {\n // In case of validation error, unlock the job\n if (err instanceof ValidationAPIError) {\n notifyNetworkError({ text: err.message });\n }\n })\n .finally(async () => {\n await fetchJobUnlock(this.formData.rockhopper_id, this.formData.rockhopper_date);\n });\n })\n .catch(err => {\n if (err instanceof JobLockError) {\n return;\n }\n });\n\n this.loading = false;\n }\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobCloseAsFutile.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobCloseAsFutile.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobCloseAsFutile.vue?vue&type=template&id=68e72d6e&scoped=true\"\nimport script from \"./JobCloseAsFutile.vue?vue&type=script&lang=ts\"\nexport * from \"./JobCloseAsFutile.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobActions.scss?vue&type=style&index=0&id=68e72d6e&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"68e72d6e\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mt-3 pl-2\"},[_vm._l((_vm.jobHiddenData.filesToUpload),function(file,idx){return _c('div',{key:idx,staticClass:\"flex justify-start items-center\"},[_c('Icon',{staticClass:\"mt-0.5\",attrs:{\"name\":\"mdi-attachment\",\"color\":\"black\",\"size\":\"base\"}}),_c('span',{staticClass:\"ml-2 underline\"},[_vm._v(_vm._s(file.file.substring(file.file.lastIndexOf('/') + 1)))]),_c('Icon',{staticClass:\"ml-4 cursor-pointer\",attrs:{\"name\":\"mdi-trash-can-outline\",\"color\":\"black\",\"size\":\"base\"},nativeOn:{\"click\":function($event){return _vm.deleteFiles(file.id)}}})],1)}),_c('DropZone',{staticClass:\"mt-2\",attrs:{\"type\":\"one-line\"},on:{\"filesAdded\":_vm.filesAdded}})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport DropZone from '@/components/UI/DropZone.vue';\nimport Icon from '@/components/UI/Icon.vue';\nimport { JobComplianceHiddenData } from '@/models/JobComplianceTypes';\nimport { uuidv4 } from '@/utils/Common';\nimport { FileExtended } from '@/models/jobTicket';\n\n@Component({\n components: {\n DropZone,\n Icon,\n },\n})\nexport default class JobAttachmentsField extends Vue {\n @Prop({ type: Object, required: false, default: false }) public jobHiddenData: JobComplianceHiddenData;\n\n public deleteFiles(id: string | number): void {\n const fileToUploadIdx = this.jobHiddenData.filesToUpload.findIndex(x => x.id === id);\n if (fileToUploadIdx >= 0) {\n this.jobHiddenData.filesToUpload.splice(fileToUploadIdx, 1);\n this.$forceUpdate();\n }\n }\n\n public filesAdded(files: FileExtended[]): void {\n if (files.length > 0) {\n files.map(file => {\n const newFile = {\n id: uuidv4(),\n uploaded_by: '',\n file: file.name,\n created_at: '',\n file_data: file,\n };\n this.jobHiddenData.filesToUpload.push(newFile);\n });\n this.$forceUpdate();\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobAttachmentsField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobAttachmentsField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobAttachmentsField.vue?vue&type=template&id=56a36c2f\"\nimport script from \"./JobAttachmentsField.vue?vue&type=script&lang=ts\"\nexport * from \"./JobAttachmentsField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { getAddressBookDefault, createJobTicket, getJobTicketsByJobId } from '@/api';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\n\nimport LookupAddresses from '@/components/UI/LookupAddresses.vue';\nimport LookupCustomerCode from '@/components/UI/LookupCustomerCode.vue';\nimport LookupProductModel from '@/components/UI/LookupProductModel.vue';\nimport LookupServices from '@/components/UI/LookupServices.vue';\nimport LookupDriver from '@/components/UI/LookupDriver.vue';\nimport LookupProductTypes from '@/components/UI/LookupProductTypes.vue';\nimport LookupProductPrefix from '@/components/UI/LookupProductPrefix.vue';\nimport LookupSuburb from '@/components/UI/LookupSuburb.vue';\nimport LookupWarehouses from '@/components/UI/LookupWarehouses.vue';\nimport SelectAttributes from '@/components/UI/SelectAttributes.vue';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport Icon from '@/components/UI/Icon.vue';\nimport SectionEditPlaceholder from '@/components/UI/SectionEditPlaceholder.vue';\nimport InputIntegers from '@/components/UI/InputIntegers.vue';\nimport Button from '@/components/UI/Button.vue';\nimport ZammadTicketCreationForm from '@/components/jobDetailed/ZammadTicketCreationForm.vue';\nimport ZammadList from '@/components/jobDetailed/ZammadList.vue';\n\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { statesTimeZonesList, timeZoneDefault } from '@/utils/PortalConstants';\nimport { convertTimeString12to24 } from '@/utils/InputProcessingUtilities';\n\nimport { UploadingFilesObjectForTable, User } from '@/models/main';\nimport { AddressBookAirRoadStop, AddressBookDefaultData } from '@/models/addressBook';\nimport {\n JobComplianceAttribute,\n JobComplianceData,\n JobComplianceDriver,\n JobComplianceHiddenData,\n JobComplianceEditingSections,\n JobComplianceLoaders,\n JobComplianceDriverAllocateParams,\n JobComplianceStopService,\n JobComplianceStop,\n} from '@/models/JobComplianceTypes';\nimport { ModuleStaticDataState } from '@/store/modules/staticData/staticDataTypes';\nimport store from '@/store';\nimport { fetchDetailedJob } from '@/helpers/fetchers';\n\nimport OpenSchedulerBoardFromJobLink from '@/components/btns/OpenSchedulerBoardFromJobLink.vue';\nimport SplitToBase from '@/components/jobBooking/JobActions/SplitToBase.vue';\nimport Add3rdStop from '@/components/jobBooking/JobActions/Add3rdStop.vue';\nimport Remove3rdStop from '@/components/jobBooking/JobActions/Remove3rdStop.vue';\nimport AddStairsService from '@/components/jobBooking/JobActions/AddStairsService.vue';\nimport JobCancel from '@/components/jobBooking/JobActions/JobCancel.vue';\nimport JobCloseAsFutile from '@/components/jobBooking/JobActions/JobCloseAsFutile.vue';\n\nimport JobAttachmentsField from '@/components/fields/JobAttachmentsField.vue';\nimport { cloneJob, getModelFromString } from '@/helpers/booking';\nimport { JobTicket, JobTicketResponce } from '@/models/jobTicket';\nimport { cleanEmailString, uuidv4 } from '@/utils/Common';\nimport { notifyNetworkError, notifyNetworkSuccess } from '@/helpers/notifiers';\nimport * as routeNames from '@/router/routeNames';\nimport * as Sentry from '@sentry/vue';\nimport InputPositiveNumbers from '../UI/InputPositiveNumbers.vue';\n\n@Component({\n components: {\n JobAttachmentsField,\n Button,\n InputIntegers,\n InputPositiveNumbers,\n DateTimezoneToggle,\n Icon,\n LookupAddresses,\n LookupSuburb,\n LookupCustomerCode,\n LookupProductModel,\n LookupServices,\n LookupDriver,\n LookupProductTypes,\n LookupProductPrefix,\n LookupWarehouses,\n OpenSchedulerBoardFromJobLink,\n SectionEditPlaceholder,\n SelectAttributes,\n SplitToBase,\n Add3rdStop,\n Remove3rdStop,\n AddStairsService,\n JobCancel,\n JobCloseAsFutile,\n ZammadTicketCreationForm,\n ZammadList,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class JobComplianceModal extends Vue {\n @Prop({ type: Object, required: false, default: false }) public formData: JobComplianceData;\n @Prop({ type: Array, required: false, default: false }) public addressData: AddressBookAirRoadStop[];\n @Prop({ type: Object, required: false, default: false }) public jobHiddenData: JobComplianceHiddenData;\n @Prop({ type: Object, required: false, default: false }) public editingSections: JobComplianceEditingSections;\n @Prop({ type: Object, required: false, default: false }) public loaders: JobComplianceLoaders;\n @Prop({ type: Object, required: false, default: false }) public jobProcessingState;\n\n public user: User;\n public routeNames = routeNames;\n public jobEditError = false;\n public loadingRfcRequest = false;\n private files: File[] = [];\n public filesObjectsForTable: UploadingFilesObjectForTable[] = [];\n public uploadError = '';\n public timeZoneDefault = timeZoneDefault;\n public newMailOpen = false;\n public newMailOpenToTop = true;\n public opsEmails: string[] = [];\n private channelsEmailList: string[] = [];\n public format = format;\n public utcToZonedTime = utcToZonedTime;\n\n public staticListsData: ModuleStaticDataState = {\n attributes: [],\n drivers: [],\n serviceCodes: [],\n productTypes: [],\n };\n\n public zammadTickets: JobTicketResponce[] = [];\n public isCanceling: boolean;\n\n public get showSectionDisable() {\n return (\n !!this.jobProcessingState.hasError ||\n !!this.jobProcessingState.cannotBeEdited ||\n !!this.jobProcessingState.hasChanged ||\n !!this.jobProcessingState.isEditingByOther ||\n this.loaders.saving\n );\n }\n\n public stopsAttributes = {\n 0: [],\n 1: [],\n 2: [],\n };\n\n private driverChosen: JobComplianceDriver = {\n id: 0,\n code: 0,\n full_name: '',\n mobile_phone: '',\n };\n\n public ticketFormData = {\n subject: '',\n msg: '',\n toChips: [],\n ccChips: [],\n };\n\n public getOpenSectionName() {\n let sectionName = '';\n Object.keys(this.editingSections).some(section => {\n if (this.editingSections[section] === true) {\n sectionName = section;\n }\n });\n return sectionName;\n }\n\n // Sections editing\n public stopsDateLinkClicked(idx: number): void {\n this.jobHiddenData.dateTimes[idx].dateIsLinked = !this.jobHiddenData.dateTimes[idx].dateIsLinked;\n // When it's `true`, set the second date the same as the first\n if (this.jobHiddenData.dateTimes[idx].dateIsLinked) {\n this.jobHiddenData.dateTimes[idx].dateTo = this.jobHiddenData.dateTimes[idx].dateFrom;\n const prevDateStringTime = this.formData.stops[idx].time_latest.split('T')[1];\n this.formData.stops[idx].time_latest = this.jobHiddenData.dateTimes[idx].dateFrom + 'T' + prevDateStringTime;\n }\n }\n\n public async editSectionClicked(section: string): Promise {\n let form = this.$refs[section];\n if (form && form[0]) {\n form = form[0];\n }\n const openSectionChecker = Object.values(this.editingSections).every(v => v === false);\n if (openSectionChecker) {\n this.$emit('editSectionClicked', section, form);\n } else {\n this.$emit('callAnimatePanel');\n }\n }\n\n public reallocateDriver(params: JobComplianceDriverAllocateParams): void {\n this.$emit('reallocateDriver', params);\n }\n\n public editingBgClicked(): void {\n this.$emit('callAnimatePanel');\n }\n\n public canScheduleClicked(): void {\n this.$emit('canScheduleClicked');\n }\n\n public async logOutClicked(): Promise {\n await store.dispatch('moduleAuthData/removeAuthData');\n await store.dispatch('moduleUser/removeUser');\n await store.dispatch('setLoginError', 'Error when getting static lists');\n await this.$router.push('/login');\n }\n\n public downloadImage(file): void {\n window.open(file.file, '_blank');\n }\n\n // STOP SECTIONS\n public addressChanged(address: AddressBookAirRoadStop, stop_number: number): void {\n if (typeof address === 'string') {\n this.formData.stops[stop_number].name = address;\n } else {\n this.formData.stops[stop_number].address_line_1 = address.line1;\n this.formData.stops[stop_number].address_line_2 = address.line2;\n this.formData.stops[stop_number].is_warehouse = address.warehouse;\n if (address.suburb) {\n this.formData.stops[stop_number].suburb = address.suburb.name;\n this.formData.stops[stop_number].post_code = address.suburb.postcode;\n this.formData.stops[stop_number].state = address.suburb.state;\n const lookupSuburb = this.$refs[`lookupSuburb${stop_number}`] as HTMLFormElement[];\n lookupSuburb[0].applyValueFromParent({\n name: address.suburb.name,\n id: address.suburb.id,\n postcode: address.suburb.postcode,\n state: address.suburb.state,\n });\n }\n }\n this.$forceUpdate();\n }\n\n public suburbLookupChanged(value, idx): void {\n this.formData.stops[idx].state = value.state;\n this.formData.stops[idx].post_code = value.postcode;\n this.formData.stops[idx].suburb = value.name;\n }\n\n public stopDateChanged(value: string, idx: number, name: string): void {\n const fieldName = name === 'from' ? 'time_earliest' : 'time_latest';\n if (this.formData.stops[idx][fieldName]) {\n const prevDateStringTime = this.formData.stops[idx][fieldName].split('T')[1];\n this.formData.stops[idx][fieldName] = value + 'T' + prevDateStringTime;\n if (this.jobHiddenData.dateTimes[idx].dateIsLinked) {\n const linkedFielddName = name === 'from' ? 'time_latest' : 'time_earliest';\n const linkedHiddenFielddName = name === 'from' ? 'dateTo' : 'dateFrom';\n const prevLinkedDateStringTime = this.formData.stops[idx][linkedFielddName].split('T')[1];\n this.formData.stops[idx][linkedFielddName] = value + 'T' + prevLinkedDateStringTime;\n this.jobHiddenData.dateTimes[idx][linkedHiddenFielddName] = value;\n }\n }\n }\n\n public stopTimeChanged(value: string, idx: number, name: string): void {\n const fieldName = name === 'from' ? 'time_earliest' : 'time_latest';\n if (this.formData.stops[idx][fieldName]) {\n name === 'from'\n ? (this.jobHiddenData.dateTimes[idx].timeFromInitial = value)\n : (this.jobHiddenData.dateTimes[idx].timeToInitial = value);\n const oldDateValue = this.formData.stops[idx][fieldName].split('T')[0];\n const newTimeValue = convertTimeString12to24(value) + ':00';\n const stopTimeZone = statesTimeZonesList[this.formData.stops[idx].state].timezone;\n const zoneString = format(utcToZonedTime(new Date(), stopTimeZone), 'xxx', {\n timeZone: stopTimeZone,\n });\n const newDateTimeValue = oldDateValue + 'T' + newTimeValue + zoneString;\n this.formData.stops[idx][fieldName] = newDateTimeValue;\n }\n }\n\n public durationChanged(value: string, idx: number): void {\n this.formData.stops[idx].duration = Number(value);\n }\n\n public addStopAttributes(value: JobComplianceAttribute, idx: number): void {\n this.stopsAttributes[idx].push(value);\n this.formData.stops[idx].attributes.push(value.code);\n }\n\n public removeStopAttributes(value: JobComplianceAttribute, idx: number): void {\n const attrIdx = this.stopsAttributes[idx].findIndex(x => x.description === value.description);\n this.stopsAttributes[idx].splice(attrIdx, 1);\n const attrDataIdx = this.formData.stops[idx].attributes.indexOf(value.code);\n this.formData.stops[idx].attributes.splice(attrDataIdx, 1);\n }\n\n public calculateDriverButtonsState(): void {\n if (this.formData.allocation_state === 'allocated') {\n this.jobHiddenData.driverButtonsState = {\n deallocate: 'off',\n preallocate: 'disable',\n allocate: 'on',\n };\n } else if (this.formData.allocation_state === 'preallocated') {\n this.jobHiddenData.driverButtonsState = {\n deallocate: 'off',\n preallocate: 'on',\n allocate: 'off',\n };\n } else {\n this.jobHiddenData.driverButtonsState = {\n deallocate: 'on',\n preallocate: 'off',\n allocate: 'off',\n };\n }\n }\n\n private applyStopsData(stops?): void {\n const stopsToApply = stops ? stops : this.formData.stops;\n stopsToApply.map((stop, i) => {\n // Addresses\n const lookupAddress = this.$refs[`lookupAddress${i}`] as HTMLFormElement[];\n if (lookupAddress && lookupAddress[0]) {\n lookupAddress[0].applyValueFromParent({\n city: null,\n line1: stop.address_line_1,\n line2: stop.address_line_2,\n line3: null,\n name: stop.name,\n suburb: {\n id: i,\n name: stop.suburb,\n postcode: stop.post_code,\n state: stop.state,\n },\n id: 0,\n warehouse: stop.is_warehouse,\n });\n }\n // Suburbs\n const lookupSuburb = this.$refs[`lookupSuburb${i}`] as HTMLFormElement[];\n lookupSuburb[0].applyValueFromParent({\n name: stop.suburb,\n id: i, // not real??\n postcode: stop.post_code,\n state: stop.state,\n });\n\n // Date & times\n const stopTimeZone = statesTimeZonesList[stop.state]?.timezone || timeZoneDefault;\n\n this.jobHiddenData.dateTimes[i].dateFrom = format(\n utcToZonedTime(new Date(stop.time_earliest), stopTimeZone),\n 'yyyy-MM-dd',\n );\n this.jobHiddenData.dateTimes[i].dateTo = format(\n utcToZonedTime(new Date(stop.time_latest), stopTimeZone),\n 'yyyy-MM-dd',\n );\n this.jobHiddenData.dateTimes[i].timeFromInitial = format(\n utcToZonedTime(new Date(stop.time_earliest), stopTimeZone),\n 'hh:mm aa',\n );\n this.jobHiddenData.dateTimes[i].timeToInitial = format(\n utcToZonedTime(new Date(stop.time_latest), stopTimeZone),\n 'hh:mm aa',\n );\n\n this.jobHiddenData.dateTimes[i].dateIsLinked =\n this.jobHiddenData.dateTimes[i].dateFrom === this.jobHiddenData.dateTimes[i].dateTo;\n\n // Attributes\n this.stopsAttributes[i] = [];\n stop.attributes.map(attr => {\n const chosenAttr = this.staticListsData.attributes.find(x => x.code === attr);\n if (chosenAttr) {\n this.stopsAttributes[i].push(chosenAttr);\n }\n });\n this.applyProductsData(i);\n });\n\n // Get a driver to render in lookup\n // To make this we need to check if state is not deallocated\n // If so then find a first driver from the end which is not 0\n let currentDriver: number | null = null;\n if (this.formData.allocation_state !== 'deallocated') {\n const drivers: boolean[] = stopsToApply.map(stop => !!stop.driver_is);\n currentDriver = stopsToApply[drivers.lastIndexOf(true)].driver_is;\n } else {\n currentDriver = null;\n }\n // Set buttons\n this.calculateDriverButtonsState();\n\n this.jobHiddenData.driverStatus = this.formData.allocation_state;\n this.jobHiddenData.driverStatusChosen = null;\n const lookupDriver = this.$refs['driverLookup'] as HTMLFormElement;\n const chosenDriver = this.staticListsData.drivers.find(x => x.code === currentDriver);\n\n if ((!!currentDriver || currentDriver === 0) && chosenDriver) {\n this.jobHiddenData.driverCode = currentDriver;\n lookupDriver.applyValueFromParent(chosenDriver);\n }\n }\n\n public async defaultAddressIconClicked(stop_number: number): Promise {\n await getAddressBookDefault(this.formData.customer)\n .then((res: AddressBookDefaultData) => {\n const lookupAddress = this.$refs[`lookupAddress${stop_number}`] as HTMLFormElement[];\n if (lookupAddress[0]) {\n lookupAddress[0].applyValueFromParent({ ...res });\n }\n this.formData.stops[stop_number].note_text = res.note_text;\n this.formData.stops[stop_number].note_name = res.note_name;\n this.formData.stops[stop_number].note_phone = res.note_phone;\n this.formData.stops[stop_number].note_email = res.note_email || '';\n })\n .catch(() => {\n notifyNetworkError({ title: 'Error getting the default address' });\n });\n }\n\n // DRIVER / ALLOCATIONS\n public driverChanged(value: JobComplianceDriver): void {\n this.driverChosen = value;\n this.jobHiddenData.driverCode = value.code;\n }\n\n public driverStatusClicked(action: 'deallocate' | 'preallocate' | 'allocate'): void {\n // ??? Unknown IF\n // if (this.jobHiddenData.driverStatus !== 'allocated' || (!!this.formData.split_base && action === 'deallocate')) {\n // this.jobHiddenData.driverStatusChosen = action;\n // }\n switch (action) {\n case 'deallocate':\n this.jobHiddenData.driverStatusChosen = action;\n if (this.jobHiddenData.driverStatus === 'allocated') {\n this.jobHiddenData.driverButtonsState = {\n deallocate: 'on',\n preallocate: 'disable',\n allocate: 'off',\n };\n } else {\n this.jobHiddenData.driverButtonsState = {\n deallocate: 'on',\n preallocate: 'off',\n allocate: 'off',\n };\n }\n break;\n case 'preallocate':\n if (this.jobHiddenData.driverStatus === 'allocated') {\n break;\n }\n this.jobHiddenData.driverStatusChosen = action;\n this.jobHiddenData.driverButtonsState = {\n deallocate: 'off',\n preallocate: 'on',\n allocate: 'off',\n };\n break;\n case 'allocate':\n this.jobHiddenData.driverStatusChosen = action;\n this.jobHiddenData.driverButtonsState = {\n deallocate: 'off',\n preallocate: 'disable',\n allocate: 'on',\n };\n break;\n }\n }\n\n // Used in JobCompliance.vue\n public applyDriverData(): void {\n this.calculateDriverButtonsState();\n const lookupDriver = this.$refs['driverLookup'] as HTMLFormElement;\n lookupDriver.applyValueFromParent({\n code: this.jobHiddenData.driverCode,\n });\n const driverForm = this.$refs['driver'] as HTMLFormElement;\n driverForm.reset();\n }\n\n public async handleCloneJobClicked(): Promise {\n const job = await fetchDetailedJob(this.formData.rockhopper_id, this.formData.rockhopper_date);\n cloneJob(job, this.$router);\n }\n\n // PRODUCTS\n public productPrefixChanged(value, stop_number, product_number) {\n const prevVal = Object.values(this.formData.stops[stop_number].pickup_products)[product_number].model;\n const prefixList = ['OUT: RECYCLE: ', 'OUT: STORE: ', 'OUT: RETURN: ', 'OUT: WORKSHOP: ', 'OUT: ', 'IN: '];\n const prefix = new RegExp('^(' + prefixList.join('|') + ')', 'g');\n const afterLastPrefix = prevVal.replace(prefix, '');\n if (value === '-') {\n Object.values(this.formData.stops[stop_number].pickup_products)[product_number].model = afterLastPrefix;\n } else {\n Object.values(this.formData.stops[stop_number].pickup_products)[product_number].model =\n value + ': ' + afterLastPrefix;\n }\n }\n\n public productModelChanged(value, stop_number, product_number) {\n this.formData.stops[stop_number].pickup_products[\n Object.keys(this.formData.stops[stop_number].pickup_products)[product_number]\n ].model = value.name;\n this.formData.stops[stop_number].pickup_products[\n Object.keys(this.formData.stops[stop_number].pickup_products)[product_number]\n ].model_id = value.product_id;\n\n this.productsChanged(value, stop_number, product_number);\n }\n\n public productsChanged(value, idx: number, jdx: number): void {\n Object.values(this.formData.stops[idx].pickup_products)[jdx].type_code = value.type_code;\n Object.values(this.formData.stops[idx].pickup_products)[jdx].weight = value.weight;\n Object.values(this.formData.stops[idx].pickup_products)[jdx].width = value.width;\n Object.values(this.formData.stops[idx].pickup_products)[jdx].height = value.height;\n Object.values(this.formData.stops[idx].pickup_products)[jdx].length = value.length;\n }\n\n public inputIntegersProductChanged(value, field, stop_number, product_number) {\n Object.values(this.formData.stops[stop_number].pickup_products)[product_number][field] = Number(value);\n }\n\n public removeProductClicked(idx: number, jdx: number): void {\n const newProducts = { ...this.formData.stops[idx].pickup_products };\n const id = Object.keys(this.formData.stops[idx].pickup_products)[jdx];\n delete newProducts[id];\n\n this.formData.stops[idx].pickup_products = { ...newProducts };\n }\n\n public addProductClicked(idx: number): void {\n this.formData.stops[idx].pickup_products = {\n ...this.formData.stops[idx].pickup_products,\n [uuidv4()]: {\n id: null,\n model: '',\n model_id: null,\n description: '',\n serial: '',\n delivery_stop_number: idx + 2,\n weight: 1,\n pieces: 1,\n type_code: '',\n primary_service: '',\n quant_id: null,\n volume: '',\n width: 0,\n height: 0,\n length: 0,\n },\n };\n // Reset validation after adding a product\n const productsRef = this.$refs[`products${idx}`] as HTMLFormElement[];\n if (productsRef?.[0]) {\n productsRef[0].reset();\n }\n }\n\n private applyProductsData(stop_number: number): void {\n Object.values(this.formData.stops[stop_number].pickup_products).map((product, jdx) => {\n const inputModel = this.$refs[`lookupProducts-${stop_number}-${jdx}`] as HTMLFormElement[];\n inputModel[0]?.applyValueFromParent(getModelFromString(product.model));\n // Input Quantity\n const inputQuantity = this.$refs[`inputQuantity-${stop_number}-${jdx}`] as HTMLFormElement[];\n inputQuantity[0]?.applyValueFromParent(String(product.pieces));\n });\n }\n\n // SERVICE CODES\n public serviceCodeChanged(value, stop_number, product_number) {\n this.formData.stops[stop_number].services[product_number].name = value;\n }\n\n public serviceCodeQuantityChanged(value: string | number, stop_number: number, service_number: number): void {\n this.formData.stops[stop_number].services[service_number].quantity = Number(value);\n this.formData.stops[stop_number].services[service_number].second_quantity = Number(value);\n }\n\n public serviceCodeSecondQuantityChanged(value: string | number, stop_number: number, service_number: number): void {\n this.formData.stops[stop_number].services[service_number].second_quantity = Number(value);\n }\n\n public serviceCodeFeeChanged(value: string | number, stop_number: number, service_number: number): void {\n this.formData.stops[stop_number].services[service_number].fee = Number(value);\n this.recalculateServiceFeeChanged(stop_number, service_number);\n }\n\n public serviceCodeScheduledFeeChanged(value: string | number, stop_number: number, service_number: number): void {\n this.formData.stops[stop_number].services[service_number].scheduled_fee = Number(value);\n }\n\n public serviceCodeGSTChanged(value: string | number, stop_number: number, service_number: number): void {\n this.formData.stops[stop_number].services[service_number].gst = Number(value);\n this.recalculateServiceGstChanged(stop_number, service_number);\n }\n\n public serviceCodePayChanged(value: string | number, stop_number: number, service_number: number): void {\n this.formData.stops[stop_number].services[service_number].pay = Number(value);\n }\n\n public calcStopTotal(services: JobComplianceStopService[], name: string): number {\n return Number(services.reduce((acc, service) => acc + Number(service[name]), 0).toFixed(2));\n }\n\n public calcJobTotal(stops: JobComplianceStop[], name: string): number {\n return Number(stops.reduce((acc, stop) => acc + this.calcStopTotal(stop.services, name), 0).toFixed(2));\n }\n\n public recalculateServiceFeeChanged(stop_number: number, service_number: number): void {\n const service = this.formData.stops[stop_number].services[service_number];\n service.gst = Number((service.fee * 0.1).toFixed(2));\n const feeAfterGST = service.fee - service.gst;\n service.pay = Number((feeAfterGST * 0.5).toFixed(2));\n }\n\n public recalculateServiceGstChanged(stop_number: number, service_number: number): void {\n const service = this.formData.stops[stop_number].services[service_number];\n const feeAfterGST = service.fee - service.gst;\n service.pay = Number((feeAfterGST * 0.5).toFixed(2));\n }\n\n public addServiceCodeClicked(idx: number): void {\n this.formData.stops[idx].services.push({\n name: '',\n quantity: 1,\n second_quantity: 0,\n scheduled_fee: 0,\n fee: 0,\n gst: 0,\n pay: 0,\n });\n // Reset validation after adding a service\n const servicesRef = this.$refs[`services${idx}`] as HTMLFormElement[];\n if (servicesRef?.[0]) {\n servicesRef[0].reset();\n }\n }\n\n public removeServiceCodeClicked(idx: number, jdx: number): void {\n this.formData.stops[idx].services.splice(jdx, 1);\n }\n\n private applyServicesData(stop_number: number): void {\n this.formData.stops[stop_number].services.map((service, jdx) => {\n // Products model lookup\n const lookupService = this.$refs[`lookupService-${stop_number}-${jdx}`] as HTMLFormElement[];\n if (lookupService && lookupService[0]) {\n lookupService[0].applyValueFromParent({\n code: service.name,\n description: '',\n });\n }\n // Input Quantity\n const inputServiceQuantity = this.$refs[`inputServiceQuantity-${stop_number}-${jdx}`] as HTMLFormElement[];\n if (inputServiceQuantity && inputServiceQuantity[0]) {\n inputServiceQuantity[0].applyValueFromParent(String(service.quantity));\n }\n });\n }\n\n // MAIL SECTION\n public newMailClicked(): void {\n this.newMailOpen = !this.newMailOpen;\n }\n\n public newMailClickedOutside(): void {\n this.newMailOpen = false;\n }\n\n public zammadArticleClicked(article): void {\n const routeData = this.$router.resolve({ path: `/job/ticket/${article.id}` });\n window.open(routeData.href, '_blank');\n }\n\n public ticketFormSubmitted(formData: {\n msg: string;\n subject: string;\n is_rfc: boolean;\n toChips: string[];\n ccChips: string[];\n attachments: File[];\n }) {\n this.loadingRfcRequest = true;\n let group = 'IT Support';\n if (process.env.VUE_APP_SENTRY_ENVIRONMENT === 'production') {\n group = 'Service Delivery Team';\n }\n\n const bodyRfc = `
\n

A new request for change of the Job #${this.formData.rockhopper_id}\n at ${this.formData.rockhopper_date}


The RFC message:
${this.ticketFormData.msg}
`;\n const bodyNote = `

Job #${this.formData.rockhopper_id}\n at ${this.formData.rockhopper_date}


Message:
${this.ticketFormData.msg}
`;\n\n const ticketData: JobTicket = {\n title: formData.subject,\n group: group,\n customer: store.getters['moduleUser/user'].email.toLowerCase(),\n article: {\n subject: formData.is_rfc ? `[RFC] ${this.ticketFormData.subject}` : this.ticketFormData.subject,\n body: formData.is_rfc ? bodyRfc : bodyNote,\n type: this.$ability.can('staff', 'Job') && !formData.is_rfc ? 'email' : 'note',\n content_type: 'text/html',\n sender: this.$ability.can('staff', 'Job') ? 'Agent' : 'Customer',\n internal: false,\n attachments: formData.attachments,\n ...(!formData.is_rfc && this.$ability.can('staff', 'Job')\n ? { to: cleanEmailString(this.ticketFormData.toChips, this.channelsEmailList).join(', ') }\n : {}),\n ...(!formData.is_rfc && this.$ability.can('staff', 'Job')\n ? { cc: cleanEmailString(this.ticketFormData.ccChips, this.channelsEmailList).join(', ') }\n : {}),\n },\n rh_job: this.formData.rockhopper_id,\n is_rfc: formData.is_rfc,\n };\n //\n createJobTicket(ticketData)\n .then(res => {\n this.newMailOpen = false;\n this.formData.zammad_tickets.push({\n id: String(res.id),\n title: res.title,\n created_at: res.created_at,\n updated_at: res.updated_at,\n state: res.state,\n is_rfc: res.is_rfc,\n customer: res.customer,\n });\n notifyNetworkSuccess({ text: 'The ticket was successfully created' });\n this.$emit('fetchJobReload', true, true);\n })\n .catch(() => {\n notifyNetworkError({ title: 'An error occurred when creating the ticket' });\n })\n .finally(() => {\n this.loadingRfcRequest = false;\n });\n }\n\n // ATTACHMENTS SECTION\n public deleteFiles(id) {\n const idx = this.jobHiddenData.filesToRemove.indexOf(id);\n if (idx >= 0) {\n this.jobHiddenData.filesToRemove.splice(idx, 1);\n } else {\n this.jobHiddenData.filesToRemove.push(id);\n }\n }\n\n public handleFetchJobCancel() {\n this.isCanceling = true;\n this.$emit('fetchJobReload', this.formData.rockhopper_id, this.formData.rockhopper_date, false);\n }\n\n private async mounted() {\n // Static lists:\n // Check static lists in the state\n const allStaticCheckData = await store.getters['moduleStaticData/getAllStaticData'];\n // Request static lists if some is empty\n for (let i = 0; i < Object.keys(allStaticCheckData).length; i++) {\n if (!allStaticCheckData[Object.keys(allStaticCheckData)[i]].length) {\n await store.dispatch('moduleStaticData/requestAllStaticDataWait');\n break;\n }\n }\n // Check again\n this.staticListsData = await store.getters['moduleStaticData/getAllStaticData'];\n // Set edit error if some list is empty\n for (let i = 0; i < Object.keys(this.staticListsData).length; i++) {\n if (!this.staticListsData[Object.keys(this.staticListsData)[i]].length) {\n this.jobEditError = true;\n break;\n }\n }\n\n this.formData.attachments.map(file => {\n const fileName = file.file.substring(file.file.lastIndexOf('/') + 1);\n this.filesObjectsForTable.push({\n name: fileName,\n size: 0,\n });\n });\n\n getJobTicketsByJobId(this.formData.rockhopper_id)\n .then(data => {\n this.zammadTickets = data;\n })\n .catch(err => {\n notifyNetworkError({ title: 'Unable to get tickets for this job' });\n Sentry.withScope(scope => {\n scope.setLevel('warning');\n Sentry.captureException(err);\n });\n });\n\n // Form fill\n this.applyStopsData();\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobComplianceModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobComplianceModal.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobComplianceModal.vue?vue&type=template&id=589342da&scoped=true\"\nimport script from \"./JobComplianceModal.vue?vue&type=script&lang=ts\"\nexport * from \"./JobComplianceModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobComplianceModal.vue?vue&type=style&index=0&id=589342da&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"589342da\",\n null\n \n)\n\nexport default component.exports","import { VDialog } from 'vuetify/lib/components/VDialog';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VDialog,{attrs:{\"max-width\":\"480\",\"persistent\":\"\"},model:{value:(_vm.showModal),callback:function ($$v) {_vm.showModal=$$v},expression:\"showModal\"}},[_c('div',{ref:\"form\",staticClass:\"bg-white p-4\"},[_c('div',{staticClass:\"flex justify-space-between align-center\"},[_c('h3',{staticClass:\"text-xl font-semibold\"},[_vm._v(\"Should we add \\\"ROLLED\\\" service code?\")]),_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-close\",\"color\":\"gray\",\"colorIntensity\":\"400\",\"size\":\"2xl\"},nativeOn:{\"click\":function($event){return _vm.$emit('closeModal')}}})],1),_c('p',{staticClass:\"mt-4 pr-6 leading-4\"},[_vm._v(\" You have changed the date of the stop, do you want to add the service code \\\"ROLLED\\\" to the corresponding leg? \")]),_c('div',{staticClass:\"flex justify-end mt-8\"},[_c('div',[_c('Button',{attrs:{\"size\":\"small\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-close\",\"text\":\"Cancel\",\"disabled\":_vm.loading},nativeOn:{\"click\":function($event){return _vm.$emit('closeModal')}}})],1),_c('div',{staticClass:\"ml-4\"},[_c('Button',{attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-check\",\"text\":\"Add service\",\"disabled\":_vm.loading,\"loading\":_vm.loading},nativeOn:{\"click\":function($event){return _vm.$emit('addService')}}})],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Button from '@/components/UI/button/Button.vue';\nimport Icon from '@/components/UI/Icon.vue';\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({\n components: {\n Button,\n Icon,\n },\n})\nexport default class AddRolledServiceCodeDialog extends Vue {\n @Prop({ type: Boolean, required: true, default: false }) public showModal: boolean;\n @Prop({ type: Boolean, default: false }) public loading: boolean;\n\n public isAddRolledServiceCodeDialogOpen = false;\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddRolledServiceCodeDialog.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddRolledServiceCodeDialog.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddRolledServiceCodeDialog.vue?vue&type=template&id=766d094a\"\nimport script from \"./AddRolledServiceCodeDialog.vue?vue&type=script&lang=ts\"\nexport * from \"./AddRolledServiceCodeDialog.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { deleteJobAttachment, getAddressLookupData, getJobWithoutLock, setJobLock, uploadJobFiles } from '@/api';\nimport {\n fetchSetJobEditAllocation,\n fetchSetJobCustomerDetails,\n fetchCreateJobStopData,\n fetchSetJobStopData,\n fetchSetJobStopProductData,\n fetchSetJobStopServiceCodesData,\n fetchJobLock,\n fetchJobUnlock,\n fetchCanScheduleChange,\n fetchSetJobLock,\n} from '@/helpers/fetchers';\nimport DatePicker from '@/components/searchPage/DatePicker.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/Button.vue';\nimport StopDrawing from '@/components/jobDetailed/StopDrawing/StopDrawing.vue';\n\nimport ToggleButton from '@/components/UI/ToggleButton.vue';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport LookupSuburb from '@/components/UI/lookups/LookupSuburb.vue';\nimport Icon from '@/components/UI/Icon.vue';\nimport { getReferencesParamsWrapper } from '@/helpers/booking';\n\nimport JobComplianceModal from '@/components/jobBooking/JobComplianceModal.vue';\nimport AddRolledServiceCodeDialog from '@/components/jobBooking/AddRolledServiceCodeDialog.vue';\n\nimport { Job, User } from '@/models/main';\nimport { AddressBookLookupData } from '@/models/addressBook';\n\nimport {\n JobComplianceData,\n JobComplianceHiddenData,\n JobComplianceEditingSections,\n JobComplianceLoaders,\n JobComplianceDataFetchResponse,\n JobComplianceProductsDataFetchResponse,\n JobComplianceDiffData,\n} from '@/models/JobComplianceTypes';\n\nimport { mapState } from 'vuex';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport * as jsonpatch from 'fast-json-patch/index.mjs';\nimport { notifyNetworkError, notifyNetworkSuccess } from '@/helpers/notifiers';\nimport * as Sentry from '@sentry/vue';\nimport { JobLockByUserError, JobLockError } from '@/helpers/throwables';\nimport { checkJobDatesChanged } from '@/utils/Common';\n\n@Component({\n components: {\n AddRolledServiceCodeDialog,\n BackButton,\n Button,\n DatePicker,\n DateTimezoneToggle,\n JobComplianceModal,\n Icon,\n LookupSuburb,\n StopDrawing,\n ToggleButton,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class JobCompliance extends Vue {\n @Prop({ type: Array, required: true, default: false })\n public tableData: Job[];\n @Prop({ type: Boolean, required: true, default: false })\n public showModal: boolean;\n @Prop({ type: Number, required: true, default: null })\n public currentJobIdx: number;\n\n private user!: User;\n\n public isAddRolledServiceCodeDialogOpen = false;\n public rolledServiceCodeStopNumber = -1;\n\n public loaders: JobComplianceLoaders = {\n singleJob: false,\n driver: false,\n canSchedule: false,\n cancel: false,\n futile: false,\n splitToBase: false,\n stairsService: false,\n remove: false,\n saving: false,\n sectionLoading: null,\n };\n\n public animatePanel = false;\n\n public current = 0;\n public direction = 1;\n public transitionName = 'fade';\n public jobProcessingState = {\n hasError: '',\n cannotBeEdited: '',\n hasChanged: false,\n isEditingByOther: false,\n };\n public searchedJobsClone: Job[] = [];\n\n private editSectionForm: null | HTMLFormElement = null;\n\n public editingSections: JobComplianceEditingSections = {\n customerDetails: false,\n driver: false,\n stop0: false,\n stop1: false,\n stop2: false,\n products0: false,\n services0: false,\n products1: false,\n services1: false,\n files_list: false,\n files_upload: false,\n };\n\n public formData: JobComplianceData = {\n rockhopper_id: 0,\n rockhopper_date: '',\n booked_by: '',\n rockhopper_key: 0,\n cancelled_at: '',\n booked_at: '',\n allocated_at: '',\n completed_at: '',\n price: '',\n reference_1: '',\n reference_2: '',\n reference_3: '',\n reference_4: '',\n customer_ref1_prompt: '',\n customer_ref2_prompt: '',\n customer_ref3_prompt: '',\n customer_ref4_prompt: '',\n is_rfc: true,\n customer: '',\n status: '',\n wh_status: '',\n main_stop: 0,\n service_area: 0,\n split_base: '',\n ar_jobs_count: 0,\n stops: [\n {\n stop_number: 1,\n arrived_at: '',\n departed_at: null,\n required_at: '',\n pod_time: null,\n pod_name: null,\n is_pod_image: false,\n is_warehouse: false,\n driver_is: null,\n equipment_code: '',\n name: '',\n address_line_1: '',\n address_line_2: '',\n suburb: '',\n post_code: '',\n state: '',\n attributes: [],\n instructions: '',\n time_earliest: '',\n time_latest: '',\n schedule_start: '',\n schedule_finish: '',\n can_schedule: false,\n pickup_products: {},\n note_text: '',\n note_name: '',\n note_phone: '',\n note_email: '',\n app_images: [],\n services: [],\n duration: 0,\n },\n {\n stop_number: 2,\n arrived_at: '',\n departed_at: null,\n required_at: '',\n pod_time: null,\n pod_name: null,\n is_pod_image: false,\n is_warehouse: false,\n driver_is: null,\n equipment_code: '',\n name: '',\n address_line_1: '',\n address_line_2: '',\n suburb: '',\n post_code: '',\n state: '',\n attributes: [],\n instructions: '',\n time_earliest: '',\n time_latest: '',\n schedule_start: '',\n schedule_finish: '',\n can_schedule: false,\n pickup_products: {},\n note_text: '',\n note_name: '',\n note_phone: '',\n note_email: '',\n app_images: [],\n services: [],\n duration: 0,\n },\n {\n stop_number: 3,\n arrived_at: '',\n departed_at: null,\n required_at: '',\n pod_time: null,\n pod_name: null,\n is_pod_image: false,\n is_warehouse: false,\n driver_is: null,\n equipment_code: '',\n name: '',\n address_line_1: '',\n address_line_2: '',\n suburb: '',\n post_code: '',\n state: '',\n attributes: [],\n instructions: '',\n time_earliest: '',\n time_latest: '',\n schedule_start: '',\n schedule_finish: '',\n can_schedule: false,\n pickup_products: {},\n note_text: '',\n note_name: '',\n note_phone: '',\n note_email: '',\n app_images: [],\n services: [],\n duration: 0,\n },\n ],\n notes: [],\n zammad_tickets: [],\n messages: [],\n attachments: [],\n delay: [],\n caller: '',\n phone: '',\n warnings: [],\n allocation_state: 'deallocated',\n schedule_board: {},\n };\n private formDataSaved = JSON.stringify(this.formData);\n\n public jobHiddenData: JobComplianceHiddenData = {\n canSchedule: null,\n ref1_prompt: '',\n ref2_prompt: '',\n ref3_prompt: '',\n ref4_prompt: '',\n ref1_required: false,\n ref2_required: false,\n ref3_required: false,\n ref4_required: false,\n driverCode: null,\n driverStatus: 'deallocated',\n driverStatusChosen: null,\n cancel_name: '',\n cancel_reason: '',\n futile_name: 0,\n futile_reason: '',\n split_base: 1,\n split_stop_number: 1,\n stairs_stop_number: 1,\n dateTimes: [\n {\n dateFrom: '',\n dateTo: '',\n timeFrom: '',\n timeFromInitial: '',\n timeTo: '',\n timeToInitial: '',\n dateIsLinked: false,\n },\n {\n dateFrom: '',\n dateTo: '',\n timeFrom: '',\n timeFromInitial: '',\n timeTo: '',\n timeToInitial: '',\n dateIsLinked: false,\n },\n {\n dateFrom: '',\n dateTo: '',\n timeFrom: '',\n timeFromInitial: '',\n timeTo: '',\n timeToInitial: '',\n dateIsLinked: false,\n },\n ],\n filesToUpload: [],\n filesToRemove: [],\n driverButtonsState: {\n deallocate: 'off',\n preallocate: 'off',\n allocate: 'off',\n },\n };\n private jobHiddenDataSaved = JSON.stringify(this.jobHiddenData);\n\n public addressBookData: AddressBookLookupData[] = [];\n\n //\n\n @Watch('showModal', { immediate: true })\n private watchToShowModal() {\n if (this.showModal) {\n this.searchedJobsClone = structuredClone(this.tableData);\n }\n }\n\n @Watch('currentJobIdx', { immediate: true, deep: true })\n private currentJobIdxChanged() {\n this.current = this.currentJobIdx;\n this.fetchDataById(\n this.searchedJobsClone[this.currentJobIdx].id,\n this.searchedJobsClone[this.currentJobIdx].job_date,\n );\n }\n\n public slide(dir: number): void {\n if (this.currentJobIdx >= 0) {\n this.direction = dir;\n dir === 1 ? (this.transitionName = 'slide-next') : (this.transitionName = 'slide-prev');\n const len = this.searchedJobsClone.length;\n this.current = (this.current + (dir % len) + len) % len;\n this.$emit('currentJobChanged', this.current);\n }\n }\n\n private getAddressBookWrapper(): void {\n getAddressLookupData(this.formData.customer)\n .then((res: AddressBookLookupData[]) => {\n this.addressBookData = res;\n })\n .catch(err => {\n Sentry.withScope(scope => {\n scope.setLevel('warning');\n Sentry.captureException(err);\n });\n });\n }\n\n public async canScheduleClicked(): Promise {\n if (this.jobHiddenData.canSchedule === null) {\n return;\n }\n this.loaders.canSchedule = true;\n const canSchedule = this.jobHiddenData.canSchedule;\n await fetchCanScheduleChange(!canSchedule, this.formData.rockhopper_id, this.formData.rockhopper_date)\n .then(() => {\n // Toggle the canSchedule state upon successful completion of the fetch function\n this.jobHiddenData.canSchedule = !canSchedule;\n // Changing the `can_schedule` flag on all stops, because of the \"diff\"\n this.formData.stops.forEach(stop => (stop.can_schedule = !stop.can_schedule));\n })\n .catch(() => {\n this.jobHiddenData.canSchedule = canSchedule;\n });\n this.loaders.canSchedule = false;\n }\n\n // FETCHERS\n //\n public async fetchDataById(id: number, date: string, loaders?: boolean) {\n this.jobProcessingState.hasError = '';\n this.jobProcessingState.cannotBeEdited = '';\n this.jobProcessingState.hasChanged = false;\n\n if (loaders !== false) {\n this.loaders.singleJob = true;\n this.loaders.canSchedule = true;\n }\n\n // fetchJobLock\n await getJobWithoutLock(id, date)\n .then(async data => {\n this.formData = { ...data };\n // Driver section apply\n let currentDriver: number | null = null;\n if (this.formData.allocation_state !== 'deallocated') {\n const drivers: boolean[] = this.formData.stops.map(stop => !!stop.driver_is);\n currentDriver = this.formData.stops[drivers.lastIndexOf(true)].driver_is;\n } else {\n currentDriver = null;\n }\n this.jobHiddenData.driverCode = currentDriver;\n this.jobHiddenData.canSchedule = this.formData.stops[0].can_schedule;\n await getReferencesParamsWrapper(this.formData.customer, this.jobHiddenData);\n this.getAddressBookWrapper();\n // Clear errors:\n this.jobProcessingState.cannotBeEdited = '';\n this.jobProcessingState.hasChanged = false;\n this.jobProcessingState.isEditingByOther = false;\n this.jobProcessingState.hasError = '';\n })\n .catch(err => {\n if (err.response?.status) {\n this.jobProcessingState.cannotBeEdited = `\n The job is used in another system\n ${err.response.data.error}.\n Wait for the job to be unlocked or ask a manager to enforce its unlocking\n `;\n return;\n }\n this.jobProcessingState.cannotBeEdited = 'Something went wrong during loading';\n })\n .finally(() => {\n if (loaders !== false) {\n this.loaders.canSchedule = false;\n this.loaders.singleJob = false;\n }\n });\n }\n\n public addTmp3rdStop() {\n if (!this.formData.stops[2]) {\n this.formData.stops[2] = {\n stop_number: 3,\n arrived_at: '',\n departed_at: null,\n required_at: '',\n pod_time: null,\n pod_name: null,\n is_pod_image: false,\n is_warehouse: false,\n driver_is: null,\n equipment_code: '',\n name: '',\n address_line_1: '',\n address_line_2: '',\n suburb: '',\n post_code: '',\n state: this.formData.stops[1].state,\n attributes: [],\n instructions: '',\n time_earliest: this.formData.stops[1].time_latest,\n time_latest: this.formData.stops[1].time_latest,\n schedule_start: '',\n schedule_finish: '',\n can_schedule: false,\n pickup_products: {},\n note_text: '',\n note_name: '',\n note_phone: '',\n note_email: '',\n app_images: [],\n services: [],\n duration: 0,\n };\n this.formData.stops[2]._isTmp = true;\n this.formData = { ...this.formData };\n this.$nextTick(() => {\n const jobComplianceForm = this.$refs['jobComplianceForm'] as HTMLFormElement;\n if (jobComplianceForm) {\n jobComplianceForm.applyStopsData();\n }\n });\n }\n }\n\n public removeTmp3rdStop() {\n if (this.formData.stops[2]?._isTmp) {\n this.formData.stops = this.formData.stops.slice(0, 2);\n this.formData = { ...this.formData };\n this.$nextTick(() => {\n const jobComplianceForm = this.$refs['jobComplianceForm'] as HTMLFormElement;\n if (jobComplianceForm) {\n jobComplianceForm.applyStopsData();\n }\n });\n }\n }\n\n public async fetchJobReload(loaders?: boolean, delay?: boolean) {\n if (delay) {\n this.loaders.singleJob = true;\n this.loaders.canSchedule = true;\n setTimeout(async () => {\n await this.fetchDataById(\n this.searchedJobsClone[this.current].id,\n this.searchedJobsClone[this.current].job_date,\n loaders,\n );\n }, 5000);\n } else {\n await this.fetchDataById(\n this.searchedJobsClone[this.current].id,\n this.searchedJobsClone[this.current].job_date,\n loaders,\n );\n }\n await this.closeEditingSections();\n }\n\n public async fetchUnlockedJob(): Promise {\n const lockRes = await this.checkUpdateDataPossibility(this.formData.rockhopper_id, this.formData.rockhopper_date);\n if (!lockRes) {\n await this.applyBtnClick();\n }\n this.jobProcessingState.hasChanged = lockRes;\n }\n\n // Returns false if job is locked again and ready for data injection\n // Returns true if the job cant be changed\n private async checkUpdateDataPossibility(id, date) {\n const setLock = await fetchJobLock(id, date);\n if (typeof setLock !== 'boolean' && setLock.locked_by === this.user.username) {\n const diff = jsonpatch.compare(setLock.job, JSON.parse(this.formDataSaved));\n if (!diff.length) {\n return false;\n }\n }\n return true;\n }\n\n public callAnimatePanel(): void {\n this.animatePanel = true;\n setTimeout(() => {\n this.animatePanel = false;\n }, 10000);\n }\n\n public getOpenSectionName() {\n let sectionName = '';\n Object.keys(this.editingSections).some(section => {\n if (this.editingSections[section] === true) {\n sectionName = section;\n }\n });\n return sectionName;\n }\n\n public async handleSetJobLock(section: string): Promise {\n if (section) {\n this.editingSections[section] = true;\n this.loaders.sectionLoading = section;\n this.jobProcessingState.cannotBeEdited = '';\n }\n\n await fetchSetJobLock(this.formData.rockhopper_id, this.formData.rockhopper_date)\n .then(() => {\n this.jobProcessingState.cannotBeEdited = '';\n this.jobProcessingState.hasChanged = false;\n this.jobProcessingState.isEditingByOther = false;\n this.jobProcessingState.hasError = '';\n })\n .catch(err => {\n if (err instanceof JobLockError) {\n this.jobProcessingState.cannotBeEdited = `\n The job is used in another system:\n ${err}.\n Wait for the job to be unlocked or ask a manager to enforce its unlocking\n `;\n return;\n } else if (err instanceof JobLockByUserError) {\n this.jobProcessingState.cannotBeEdited = `The job is being edited by ${err.message}`;\n this.editingSections[section] = false;\n return;\n }\n this.jobProcessingState.cannotBeEdited = 'Something went wrong during locking';\n })\n .finally(() => {\n this.loaders.sectionLoading = null;\n });\n }\n\n public async editSectionClicked(section, form): Promise {\n this.editSectionForm = form;\n if (section === 'stop2' && this.formData.stops[2]._isTmp) {\n // this.formDataSaved should be JSON from ths.formData without stops[2]\n this.formDataSaved = JSON.stringify({\n ...this.formData,\n stops: this.formData.stops.slice(0, 2),\n });\n } else {\n this.formDataSaved = JSON.stringify(this.formData);\n }\n this.jobHiddenDataSaved = JSON.stringify(this.jobHiddenData);\n await this.handleSetJobLock(section);\n }\n\n public async closeEditingSections(): Promise {\n Object.keys(this.editingSections).map(section => {\n this.editingSections[section] = false;\n });\n this.editSectionForm = null;\n this.jobProcessingState.cannotBeEdited = '';\n await fetchJobUnlock(this.formData.rockhopper_id, this.formData.rockhopper_date);\n }\n\n public async reallocateDriver(params) {\n const lock = await fetchJobLock(this.formData.rockhopper_id, this.formData.rockhopper_date);\n if (lock) {\n const result = await fetchSetJobEditAllocation(\n this.formData.rockhopper_id,\n this.formData.rockhopper_date,\n params,\n );\n if (result) {\n await this.fetchDataById(this.formData.rockhopper_id, this.formData.rockhopper_date, false);\n this.$emit('updateTable');\n await this.closeEditingSections();\n }\n } else {\n notifyNetworkError({ title: 'Something went wrong' });\n }\n }\n\n public async cancelBtnClick(): Promise {\n this.jobProcessingState.hasError = '';\n\n const sectionName = this.getOpenSectionName();\n const jobComplianceForm = this.$refs['jobComplianceForm'] as HTMLFormElement;\n\n if (jobComplianceForm) {\n const prevData = JSON.parse(this.jobHiddenDataSaved);\n const prevDriver = prevData.driverCode;\n switch (sectionName) {\n case 'customerDetails':\n this.formData = JSON.parse(this.formDataSaved);\n break;\n case 'driver':\n this.jobHiddenData.driverCode = prevDriver;\n this.jobHiddenData.driverStatusChosen = null;\n await jobComplianceForm.applyDriverData();\n break;\n case 'stop0':\n case 'stop1':\n case 'stop2':\n this.formData.stops = JSON.parse(this.formDataSaved).stops;\n await jobComplianceForm.applyStopsData();\n break;\n case 'products0':\n this.formData.stops = await JSON.parse(this.formDataSaved).stops;\n await jobComplianceForm.applyProductsData(0);\n break;\n case 'products1':\n this.formData.stops = await JSON.parse(this.formDataSaved).stops;\n await jobComplianceForm.applyProductsData(1);\n break;\n case 'services0':\n this.formData.stops = await JSON.parse(this.formDataSaved).stops;\n await jobComplianceForm.applyServicesData(0);\n break;\n case 'services1':\n this.formData.stops = await JSON.parse(this.formDataSaved).stops;\n await jobComplianceForm.applyServicesData(1);\n break;\n case 'files_list':\n this.jobHiddenData.filesToRemove = [];\n break;\n case 'files_upload':\n this.jobHiddenData.filesToUpload = [];\n break;\n }\n }\n\n this.editSectionForm?.reset();\n await this.closeEditingSections();\n }\n\n public async create3rdStop(params): Promise {\n // Remove _isTmp flag from the params\n params.forEach(item => {\n if (item.value && item.value._isTmp !== undefined) {\n delete item.value._isTmp;\n }\n });\n const result = await fetchCreateJobStopData(this.formData.rockhopper_id, this.formData.rockhopper_date, 3, params);\n if (result.status === 'unlocked') {\n const setLock = await fetchJobLock(this.formData.rockhopper_id, this.formData.rockhopper_date);\n if (!setLock) {\n notifyNetworkError({ title: 'Something went wrong' });\n return;\n }\n if (typeof setLock !== 'boolean' && setLock.locked_by === this.user.username) {\n await this.create3rdStop(params);\n }\n } else if (result.status === 'ok') {\n this.$emit('updateTable');\n await this.fetchJobReload();\n } else if (result.status === 'error' && result.error) {\n this.jobProcessingState.hasError = result.error;\n } else {\n notifyNetworkError({ title: 'Failed to create stop data' });\n }\n }\n\n public async applyBtnClick(): Promise {\n const sectionName = this.getOpenSectionName();\n const diff = jsonpatch.compare(JSON.parse(this.formDataSaved), this.formData);\n\n const noValidationSections = ['files_list', 'files_upload'];\n if (!noValidationSections.includes(sectionName)) {\n const jobComplianceForm = this.$refs['jobComplianceForm'] as HTMLFormElement;\n const isProductsSection = sectionName?.includes('products');\n const isServicesSection = sectionName?.includes('services');\n\n if (isProductsSection || isServicesSection) {\n const stopIndex = Number(sectionName.slice(-1));\n const sectionRef = jobComplianceForm.$refs[`${sectionName}`] as HTMLFormElement[];\n if (!(await sectionRef?.[0]?.validate())) {\n return;\n }\n } else if (!(await this.editSectionForm?.validate())) {\n return;\n }\n\n if (!diff.length && sectionName !== 'driver') {\n await this.closeEditingSections();\n this.jobProcessingState.isEditingByOther = false;\n return;\n }\n }\n\n try {\n this.loaders.saving = true;\n\n switch (sectionName) {\n case 'customerDetails':\n await this.handleCustomerDetailsSection(diff);\n break;\n case 'stop0':\n case 'stop1':\n case 'stop2':\n await this.handleStopSection(diff, sectionName);\n break;\n case 'products0':\n case 'products1':\n await this.handleProductSection(diff, sectionName);\n break;\n case 'services0':\n case 'services1':\n await this.handleServiceSection(diff, sectionName);\n break;\n case 'driver':\n await this.handleDriverSection();\n break;\n case 'files_list':\n await this.handleFilesListSection();\n break;\n case 'files_upload':\n await this.handleFilesUploadSection();\n break;\n }\n } finally {\n this.loaders.saving = false;\n }\n }\n\n private async handleCustomerDetailsSection(diff: any[]): Promise {\n const res = await fetchSetJobCustomerDetails(this.formData.rockhopper_id, this.formData.rockhopper_date, diff);\n this.sendUpdateHandler(res);\n }\n\n private async handleStopSection(diff: any[], sectionName: string): Promise {\n if (sectionName === 'stop2' && this.formData.stops[2]._isTmp) {\n await this.create3rdStop(diff);\n } else {\n const res = await fetchSetJobStopData(\n this.formData.rockhopper_id,\n this.formData.rockhopper_date,\n Number(sectionName.slice(-1)) + 1,\n diff,\n );\n this.sendUpdateHandler(res);\n }\n }\n\n private async handleProductSection(diff: any[], sectionName: string): Promise {\n const res = await fetchSetJobStopProductData(\n this.formData.rockhopper_id,\n this.formData.rockhopper_date,\n Number(sectionName.slice(-1)) + 1,\n diff,\n );\n if (res.data) {\n this.formData.stops[Number(sectionName.slice(-1))].pickup_products = res.data;\n const jobComplianceForm = this.$refs['jobComplianceForm'] as HTMLFormElement;\n await jobComplianceForm.applyProductsData(Number(sectionName.slice(-1)));\n }\n this.sendUpdateHandler(res);\n }\n\n private async handleServiceSection(diff: any[], sectionName: string): Promise {\n const res = await fetchSetJobStopServiceCodesData(\n this.formData.rockhopper_id,\n this.formData.rockhopper_date,\n Number(sectionName.slice(-1)) + 1,\n diff,\n );\n if (res.data) {\n this.formData.stops[Number(sectionName.slice(-1))].services = res.data;\n const jobComplianceForm = this.$refs['jobComplianceForm'] as HTMLFormElement;\n await jobComplianceForm.applyServicesData(Number(sectionName.slice(-1)));\n }\n this.sendUpdateHandler(res);\n }\n\n private async handleDriverSection(): Promise {\n const action =\n this.formData.allocation_state === 'allocated' && this.jobHiddenData.driverStatusChosen !== 'preallocate'\n ? 'deallocate_driv'\n : this.jobHiddenData.driverStatusChosen;\n const params = {\n action: action ?? 'not-null',\n job_id: this.formData.rockhopper_id,\n job_date: this.formData.rockhopper_date,\n driver: this.jobHiddenData.driverCode,\n stop_number: this.formData.stops.length,\n };\n const result = await fetchSetJobEditAllocation(this.formData.rockhopper_id, this.formData.rockhopper_date, params);\n if (result.status === 'unlocked') {\n await this.reallocateDriver(params);\n } else if (result.status === 'ok') {\n this.$emit('updateTable');\n await this.fetchJobReload(false);\n const jobComplianceForm = this.$refs['jobComplianceForm'] as HTMLFormElement;\n await jobComplianceForm.applyDriverData();\n }\n }\n\n private async handleFilesListSection(): Promise {\n if (this.jobHiddenData.filesToRemove.length > 0) {\n const removeResult = await Promise.all(\n this.jobHiddenData.filesToRemove.map(id => {\n return deleteJobAttachment(id)\n .then(() => {\n return true;\n })\n .catch(() => {\n return false;\n });\n }),\n );\n\n if (removeResult.every(x => x === true)) {\n this.jobHiddenData.filesToRemove.map(id => {\n const idxToRemove = this.formData.attachments.findIndex(x => x.id === id);\n if (idxToRemove >= 0) {\n this.formData.attachments.splice(idxToRemove, 1);\n }\n });\n notifyNetworkSuccess({ text: 'Successfully deleted' });\n this.jobHiddenData.filesToRemove = [];\n await this.closeEditingSections();\n } else {\n notifyNetworkError({ title: 'Error while deleting files' });\n }\n } else {\n await this.closeEditingSections();\n }\n }\n\n private async handleFilesUploadSection(): Promise {\n if (this.jobHiddenData.filesToUpload.length > 0) {\n const files: File[] = [];\n this.jobHiddenData.filesToUpload.map(file => {\n if (file.file_data) {\n files.push(file.file_data);\n }\n });\n\n const params = {\n rh_id: this.formData.rockhopper_id,\n rh_date: this.formData.rockhopper_date,\n files: files,\n };\n\n await uploadJobFiles(params)\n .then(res => {\n this.formData.attachments = [...this.formData.attachments, ...res.data.saved];\n this.jobHiddenData.filesToUpload = [];\n this.closeEditingSections();\n notifyNetworkSuccess({ text: 'Successfully uploaded' });\n })\n .catch(() => {\n notifyNetworkError({ title: 'Attachments upload failed' });\n });\n } else {\n await this.closeEditingSections();\n }\n }\n\n public closeAddRolledServiceDialog() {\n this.isAddRolledServiceCodeDialogOpen = false;\n }\n\n /**\n * This function is used to add 'ROLLED' service code to the 2nd last stop.\n * It first checks if the stop already has 'ROLLED' service code, if it does, it increases the quantity by 1,\n * if it doesn't, it adds 'ROLLED' service code with quantity of 1.\n * It then calls handleSetJobLock to lock the job and then fetchSetJobStopServiceCodesData to update the job data.\n * If the request is successful, it updates the formData and applies the new data to the form.\n * It then calls `sendUpdateHandler` to update the job data in the parent component.\n * Finally it closes the 'Add ROLLED service code' dialog.\n */\n public async addRolledServiceCode(): Promise {\n const changedStopNumber = this.rolledServiceCodeStopNumber;\n if (changedStopNumber === -1) {\n return;\n }\n this.loaders.saving = true;\n const changedStopServicesCounter = this.formData.stops[changedStopNumber].services.length;\n const changedStopServices = this.formData.stops[changedStopNumber].services;\n const changedStopWithRolledSCIdx = changedStopServices.findIndex(x => x.name === 'ROLLED');\n let reqChange: JobComplianceDiffData[] = [];\n\n if (changedStopWithRolledSCIdx >= 0) {\n reqChange = [\n {\n op: 'replace',\n path: `/stops/${changedStopNumber}/services/${changedStopWithRolledSCIdx}/quantity`,\n value: changedStopServices[changedStopWithRolledSCIdx].quantity + 1,\n },\n ];\n } else {\n reqChange = [\n {\n op: 'add',\n path: `/stops/${changedStopNumber}/services/${changedStopServicesCounter}`,\n value: {\n name: 'ROLLED',\n quantity: 1,\n pay: 0,\n scheduled_fee: 0,\n second_quantity: 0,\n gst: 0,\n fee: 0,\n },\n },\n ];\n }\n\n await this.handleSetJobLock('');\n\n try {\n const res = await fetchSetJobStopServiceCodesData(\n this.formData.rockhopper_id,\n this.formData.rockhopper_date,\n changedStopNumber + 1,\n reqChange,\n );\n if (res?.data) {\n this.formData.stops[changedStopNumber].services = res.data;\n const jobComplianceForm = this.$refs['jobComplianceForm'] as HTMLFormElement;\n await jobComplianceForm.applyServicesData(changedStopNumber);\n this.sendUpdateHandler(res);\n }\n this.isAddRolledServiceCodeDialogOpen = false;\n } catch (error) {\n notifyNetworkError({ title: \"Can't add ROLLED service code\" });\n }\n\n this.loaders.saving = false;\n }\n\n private async sendUpdateHandler(\n res: JobComplianceDataFetchResponse | JobComplianceProductsDataFetchResponse,\n ): Promise {\n switch (res.status) {\n case 'ok':\n this.jobProcessingState.isEditingByOther = false;\n // Date changed case:\n if (res.job) {\n // Current job data:\n this.formData = { ...res.job };\n // Apply stop data to change dates and times in `jobHiddenData`\n const jobComplianceForm = this.$refs['jobComplianceForm'] as HTMLFormElement;\n jobComplianceForm.applyStopsData(res.job.stops);\n // Show 'ROLLED' dialog if dates has changed\n this.isAddRolledServiceCodeDialogOpen = checkJobDatesChanged(\n JSON.parse(this.formDataSaved),\n this.formData,\n )[0];\n\n this.rolledServiceCodeStopNumber = checkJobDatesChanged(JSON.parse(this.formDataSaved), this.formData)[1];\n const idx = this.searchedJobsClone.findIndex(x => Number(x.id) === res.job?.rockhopper_id);\n this.searchedJobsClone[idx].job_date = res.job.rockhopper_date;\n // Parent table update:\n this.$emit('updateTable', res.job.rockhopper_date);\n // Close aka unlock should be after updating with new job date to unlock with correct date\n this.closeEditingSections();\n break;\n }\n // Show 'ROLLED' dialog if dates has changed\n this.isAddRolledServiceCodeDialogOpen = checkJobDatesChanged(JSON.parse(this.formDataSaved), this.formData)[0];\n this.rolledServiceCodeStopNumber = checkJobDatesChanged(JSON.parse(this.formDataSaved), this.formData)[1];\n this.$emit('updateTable');\n this.closeEditingSections();\n break;\n case 'unlocked':\n this.fetchUnlockedJob();\n break;\n case 'editing':\n this.jobProcessingState.isEditingByOther = true;\n break;\n case 'error':\n if (res.error) {\n this.jobProcessingState.hasError = res.error;\n }\n break;\n }\n }\n //\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobCompliance.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobCompliance.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobCompliance.vue?vue&type=template&id=57bce42d&scoped=true\"\nimport script from \"./JobCompliance.vue?vue&type=script&lang=ts\"\nexport * from \"./JobCompliance.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobCompliance.vue?vue&type=style&index=0&id=57bce42d&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"57bce42d\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('JobbookingCreateForm')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue } from 'vue-property-decorator';\nimport JobbookingCreateForm from '@/components/forms/JobbookingCreateForm.vue';\n\n@Component({\n components: {\n JobbookingCreateForm,\n },\n})\nexport default class NewJobbookingView extends Vue {}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NewJobbookingView.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NewJobbookingView.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NewJobbookingView.vue?vue&type=template&id=0b9b5c0c\"\nimport script from \"./NewJobbookingView.vue?vue&type=script&lang=ts\"\nexport * from \"./NewJobbookingView.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"wrapper spreadsheet\"},[_c('Header',{attrs:{\"title\":\"Spreadsheet upload\",\"subtitle\":\"Order a job via spreadsheet upload:\"}}),_c('div',{staticClass:\"instructions px-6 py-8\"},[_vm._m(0),_c('div',{staticClass:\"btns pt-4\"},[_c('ButtonDownload',{attrs:{\"link\":\"https://kraken.kkts.com.au/static/KKTS-Bulk-Import-Template.xls\",\"text\":\"Download template\"}})],1)]),_c(VExpandTransition,[(_vm.failedJobs.length > 0)?_c('div',{staticClass:\"px-6\"},[_c(VDivider,{staticClass:\"divider\"}),_c('h3',{staticClass:\"mt-6\"},[_vm._v(\"Jobs validation failed:\")]),_c('div',_vm._l((_vm.failedJobs),function(job){return _c(VRow,{key:job.booked,staticClass:\"error-response ml-3 mr-3 mt-3 pa-0\"},[_c(VCol,{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":2}},[_vm._v(\" Error: \")]),_c(VCol,{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":10}},[_vm._v(\" \"+_vm._s(job.error_reason)+\" \")])],1)}),1),_c('h4',{staticClass:\"mt-6\"},[_vm._v(\"Please fix the errors and try to upload the file again:\")])],1):_vm._e()]),_c('Loading',{attrs:{\"active\":_vm.loading,\"is-full-page\":false},on:{\"update:active\":function($event){_vm.loading=$event}}}),(_vm.failedJobs.length < 1 && _vm.dryRun)?_c(VDivider,{staticClass:\"divider ml-6 mb-10\"}):_vm._e(),_c(VExpandTransition,[(_vm.dryRun)?_c('div',{staticClass:\"px-6 mb-10\"},[_c(VRow,[(_vm.failedJobs.length < 1)?_c('h3',{staticClass:\"ml-3\"},[_vm._v(\"Upload your file here:\")]):_vm._e()]),_c(VRow,{staticClass:\"upload-area\"},[_c(VCol,{attrs:{\"cols\":5}},[_c('DropZone',{attrs:{\"type\":\"one-line\",\"text\":\"Drop spreadsheet here or \",\"allowedFormats\":_vm.allowedFormats,\"multiple\":false},on:{\"filesAdded\":_vm.onFilesAdded}})],1)],1)],1):_vm._e()]),_c(VExpandTransition,[(_vm.createdJobs.length > 0)?_c('div',{staticClass:\"px-6 mb-12\"},[_c(VDivider,{staticClass:\"divider\"}),_c(VRow,{staticClass:\"d-flex justify-space-between align-baseline\"},[_c('h3',{staticClass:\"mt-6 ml-3\"},[_vm._v(\"Jobs created successfully:\")]),_c('div',{staticClass:\"copy mr-3\",on:{\"click\":_vm.copyURL}},[_c(VIcon,{staticClass:\"icon\",attrs:{\"size\":\"24\",\"color\":\"black\"}},[_vm._v(\"mdi-content-copy\")]),_c('span',[_vm._v(\"Copy the link of this search results\")])],1)]),_c('div',{staticClass:\"mt-6 mb-12\"},[_c(VDataTable,{staticClass:\"elevation-1 spreadsheet-table\",attrs:{\"headers\":_vm.headers,\"items\":_vm.createdJobs,\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"sort-desc\":[false, true]},scopedSlots:_vm._u([{key:`item.booked`,fn:function({ item }){return [(_vm.filesCounter[item.rh_id] > 0)?_c('p',{staticClass:\"mt-4\"},[_vm._v(\"Uploaded \"+_vm._s(_vm.filesCounter[item.rh_id])+\" files\")]):_vm._e(),(!_vm.filesCounter[item.rh_id])?_c('FileUploader',{attrs:{\"PFiles\":_vm.files,\"rh_id\":item.rh_id,\"rh_date\":item.rh_date},on:{\"changeFiles\":_vm.changeFiles}}):_vm._e()]}}],null,true)})],1),_c(VRow,{staticClass:\"ml-1 mt-6\",on:{\"click\":_vm.newUpload}},[_c('Button',{staticClass:\"btn\",attrs:{\"size\":\"normal\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-close\",\"text\":\"Upload new file\"}})],1)],1):_vm._e()])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"text\"},[_c('p',[_vm._v(\" On this page, you can book jobs using the SpreadSheet template file\"),_c('br'),_vm._v(\" Please download it by the link below. Edit the file and upload it back to our system\"),_c('br'),_vm._v(\" In case of any error messages, please, fix them in a file and upload it again\"),_c('br')])])\n}]\n\nexport { render, staticRenderFns }","\nimport { uploadJobsSpreadsheet } from '@/api';\nimport FileUploader from '@/components/jobBooking/FileUploader/FileUploader.vue';\nimport Header from '@/components/jobBooking/Header/Header.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport ButtonDownload from '@/components/UI/button/ButtonDownload.vue';\nimport DropZone from '@/components/UI/dropZone/DropZone.vue';\nimport Notification from '@/components/UI/Notification.vue';\nimport { Header as HeaderType, FileCustom } from '@/models/main';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport { AxiosError } from 'axios';\nimport * as Sentry from '@sentry/vue';\n\n@Component({\n components: {\n FileUploader,\n BackButton,\n Button,\n ButtonDownload,\n DropZone,\n Header,\n Notification,\n },\n computed: {\n ...mapState(['user']),\n },\n})\nexport default class SpreadSheet extends Vue {\n dryRun = true;\n failedJobs = [];\n createdJobs = [];\n ids = '';\n loading = false;\n\n allowedFormats = ['application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'];\n\n files: File[] = [];\n\n filesCounter = {};\n\n headers: HeaderType[] = [\n { text: 'Id', value: 'rh_id', align: 'left' },\n { text: 'Date', value: 'rh_date', align: 'left' },\n { text: 'Customer Code', value: 'customer_code', align: 'left' },\n { text: 'Reference 1', value: 'references[0].reference', align: 'left' },\n { text: 'Reference 2', value: 'references[1].reference', align: 'left' },\n { text: 'Stop 1 Name', value: 'stops[0].name', align: 'left' },\n { text: 'Stop 1 Suburb', value: 'stops[0].suburb', align: 'left' },\n { text: 'Stop 1 State', value: 'stops[0].state', align: 'left' },\n { text: 'Stop 2 Name', value: 'stops[1].name', align: 'left' },\n { text: 'Stop 2 Suburb', value: 'stops[1].suburb', align: 'left' },\n { text: 'Stop 2 State', value: 'stops[1].state', align: 'left' },\n { text: 'Files attachments', value: 'booked', align: 'left' },\n ];\n onFilesAdded(files: FileCustom[]): void {\n const params = {\n dry_run: this.dryRun,\n };\n this.loading = true;\n uploadJobsSpreadsheet(files[0], params)\n .then(res => {\n if (res.data.failed.length > 0) {\n this.failedJobs = res.data.failed;\n } else {\n this.dryRun = false;\n params.dry_run = false;\n uploadJobsSpreadsheet(files[0], params).then(resNoDry => {\n this.createdJobs = resNoDry.data.booked || [];\n // There could be a list a failed jobs as well\n this.failedJobs = resNoDry.data.failed || [];\n resNoDry.data.booked.map((item, i) => {\n if (item.rh_id) {\n this.ids += item.rh_id;\n if (resNoDry.data.booked.length - 1 > i) {\n this.ids += ',';\n }\n }\n });\n });\n }\n })\n .catch((res: AxiosError | any) => {\n switch (res?.response?.status) {\n // HTTP 400 comes with error message\n case 400:\n if (res?.response?.data.failed.length > 0) {\n this.failedJobs = res.response.data.failed || [];\n Sentry.withScope(scope => {\n scope.setLevel('warning');\n Sentry.captureException(res.response?.data.failed[0].error_reason);\n });\n }\n break;\n case 500:\n if (res?.response?.data.length > 0) {\n this.loading = false;\n this.$notify({\n group: 'network',\n title: 'Error HTTP 500. Something wrong with the file',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(res);\n });\n }\n break;\n default:\n this.loading = false;\n this.$notify({\n group: 'network',\n title: 'Unknown error during uploading the spreadsheet',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(res);\n });\n break;\n }\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n changeFiles(id: number, files: []): void {\n this.filesCounter[id] = files.length;\n this.files = files;\n }\n\n copyURL(): void {\n const copyText = document.createElement('input');\n let appUrl = window.location.href.substr(0, window.location.href.indexOf(this.$route.path));\n appUrl += `/search?job_id=${this.ids}`;\n copyText.value = appUrl;\n document.body.appendChild(copyText);\n copyText.select();\n document.execCommand('copy');\n document.body.removeChild(copyText);\n this.$notify({\n group: 'network',\n text: 'Link copied',\n type: 'success',\n duration: 3000,\n });\n }\n\n newUpload(): void {\n this.dryRun = true;\n this.failedJobs = [];\n this.createdJobs = [];\n this.ids = '';\n this.files = [];\n Object.keys(this.filesCounter).forEach(key => {\n delete this.filesCounter[key];\n });\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SpreadSheet.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SpreadSheet.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SpreadSheet.vue?vue&type=template&id=bdb8fca4&scoped=true\"\nimport script from \"./SpreadSheet.vue?vue&type=script&lang=ts\"\nexport * from \"./SpreadSheet.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SpreadSheet.scss?vue&type=style&index=0&id=bdb8fca4&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bdb8fca4\",\n null\n \n)\n\nexport default component.exports","import { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"wrapper spreadsheet\"},[_c('Header',{attrs:{\"title\":\"Spreadsheet upload\",\"subtitle\":\"Order a job via spreadsheet upload:\"}}),_vm._m(0),_c(VExpandTransition,[(_vm.failedJobs.length > 0)?_c('div',{staticClass:\"px-6\"},[_c(VDivider,{staticClass:\"divider\"}),_c('h3',{staticClass:\"mt-6\"},[_vm._v(\"Jobs validation failed:\")]),_c('div',_vm._l((_vm.failedJobs),function(job){return _c(VRow,{key:job.booked,staticClass:\"error-response ml-3 mr-3 mt-3 pa-0\"},[_c(VCol,{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":2}},[_vm._v(\" REF1: \"+_vm._s(job.REF1)+\" \")]),_c(VCol,{staticClass:\"ma-0 pa-0\",attrs:{\"cols\":10}},[_vm._v(\" \"+_vm._s(job.error_reason)+\" \")])],1)}),1),_c('h4',{staticClass:\"mt-6\"},[_vm._v(\"Please fix the errors and try to upload the file again:\")])],1):_vm._e()]),_c('Loading',{attrs:{\"active\":_vm.loading,\"is-full-page\":false},on:{\"update:active\":function($event){_vm.loading=$event}}}),(_vm.failedJobs.length < 1 && _vm.dryRun)?_c(VDivider,{staticClass:\"divider ml-6 mb-10\"}):_vm._e(),_c(VExpandTransition,[(_vm.dryRun)?_c('div',{staticClass:\"px-6 mb-10\"},[_c(VRow,[_c(VCol,{attrs:{\"cols\":4}},[_c('p',[_vm._v(\"Choose service code to use for jobs\")]),_c(VSelect,{staticClass:\"ml-3\",attrs:{\"items\":_vm.serviceCodeItems,\"label\":\"Service Code\"},model:{value:(_vm.serviceCode),callback:function ($$v) {_vm.serviceCode=$$v},expression:\"serviceCode\"}})],1)],1),(_vm.serviceCode)?[_c(VRow,[(_vm.failedJobs.length < 1)?_c('h3',{staticClass:\"ml-3\"},[_vm._v(\"Upload your file here:\")]):_vm._e()]),_c(VRow,{staticClass:\"upload-area\"},[_c(VCol,{attrs:{\"cols\":5}},[_c('DropZone',{attrs:{\"type\":\"one-line\",\"text\":\"Drop spreadsheet here or \",\"allowedFormats\":_vm.allowedFormats,\"multiple\":false},on:{\"filesAdded\":_vm.onFilesAdded}})],1)],1)]:_vm._e()],2):_vm._e()]),_c(VExpandTransition,[(_vm.createdJobs.length > 0)?_c('div',{staticClass:\"px-6 mb-12\"},[_c(VDivider,{staticClass:\"divider\"}),_c(VRow,{staticClass:\"d-flex justify-space-between align-baseline\"},[_c('h3',{staticClass:\"mt-6 ml-3\"},[_vm._v(\"Jobs created successfully:\")]),_c('div',{staticClass:\"copy mr-3\",on:{\"click\":_vm.copyURL}},[_c(VIcon,{staticClass:\"icon\",attrs:{\"size\":\"24\",\"color\":\"black\"}},[_vm._v(\"mdi-content-copy\")]),_c('span',[_vm._v(\"Copy the link of this search results\")])],1)]),_c('div',{staticClass:\"mt-6 mb-12\"},[_c(VDataTable,{staticClass:\"elevation-1 spreadsheet-table\",attrs:{\"headers\":_vm.headers,\"items\":_vm.createdJobs,\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"sort-desc\":[false, true]},scopedSlots:_vm._u([{key:`item.booked`,fn:function({ item }){return [(_vm.filesCounter[item.rh_id] > 0)?_c('p',{staticClass:\"mt-4\"},[_vm._v(\"Uploaded \"+_vm._s(_vm.filesCounter[item.rh_id])+\" files\")]):_vm._e(),(!_vm.filesCounter[item.rh_id])?_c('FileUploader',{attrs:{\"PFiles\":_vm.files,\"rh_id\":item.rh_id,\"rh_date\":item.rh_date},on:{\"changeFiles\":_vm.changeFiles}}):_vm._e()]}}],null,true)})],1),_c(VRow,{staticClass:\"ml-1 mt-6\",on:{\"click\":_vm.newUpload}},[_c('Button',{staticClass:\"btn\",attrs:{\"size\":\"normal\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-close\",\"text\":\"Upload new file\"}})],1)],1):_vm._e()])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"instructions px-6 py-8\"},[_c('div',{staticClass:\"text\"},[_c('p',[_vm._v(\" On this page, you can book B2B jobs using the SpreadSheet file\"),_c('br'),_vm._v(\" In case of any error messages, please, fix them in a file and upload it again\"),_c('br')])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { uploadB2BJobsSpreadsheet } from '@/api';\nimport FileUploader from '@/components/jobBooking/FileUploader/FileUploader.vue';\nimport Header from '@/components/jobBooking/Header/Header.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport ButtonDownload from '@/components/UI/button/ButtonDownload.vue';\nimport DropZone from '@/components/UI/dropZone/DropZone.vue';\nimport Notification from '@/components/UI/Notification.vue';\nimport { Header as HeaderType, FileCustom } from '@/models/main';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport { isAxiosError } from 'axios';\nimport * as Sentry from '@sentry/vue';\n\n@Component({\n components: {\n FileUploader,\n BackButton,\n Button,\n ButtonDownload,\n DropZone,\n Header,\n Notification,\n },\n computed: {\n ...mapState(['user']),\n },\n})\nexport default class SpreadSheet extends Vue {\n dryRun = true;\n serviceCodeItems = ['SAME', 'INT'];\n serviceCode = '';\n failedJobs = [];\n createdJobs = [];\n ids = '';\n loading = false;\n\n allowedFormats = ['application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'];\n\n files: File[] = [];\n\n filesCounter = {};\n\n headers: HeaderType[] = [\n { text: 'Id', value: 'rh_id', align: 'left' },\n { text: 'Date', value: 'rh_date', align: 'left' },\n { text: 'Customer Code', value: 'customer_code', align: 'left' },\n { text: 'Reference 1', value: 'references[0].reference', align: 'left' },\n { text: 'Reference 2', value: 'references[1].reference', align: 'left' },\n { text: 'Stop 2 Name', value: 'stops[1].name', align: 'left' },\n { text: 'Stop 2 Suburb', value: 'stops[1].suburb', align: 'left' },\n { text: 'Stop 2 State', value: 'stops[1].state', align: 'left' },\n { text: 'Files attachments', value: 'booked', align: 'left' },\n ];\n onFilesAdded(files: FileCustom[]): void {\n const params = {\n dry_run: this.dryRun,\n };\n this.loading = true;\n uploadB2BJobsSpreadsheet(files[0], params, this.serviceCode)\n .then(res => {\n if (res.data.failed.length > 0) {\n this.failedJobs = res.data.failed;\n } else {\n this.dryRun = false;\n params.dry_run = false;\n uploadB2BJobsSpreadsheet(files[0], params, this.serviceCode).then(resNoDry => {\n this.createdJobs = resNoDry.data.booked || [];\n // There could be a list a failed jobs as well\n this.failedJobs = resNoDry.data.failed || [];\n resNoDry.data.booked.map((item, i) => {\n if (item.rh_id) {\n this.ids += item.rh_id;\n if (resNoDry.data.booked.length - 1 > i) {\n this.ids += ',';\n }\n }\n });\n });\n }\n })\n .catch(error => {\n if (isAxiosError(error)) {\n switch (error.response?.status) {\n // HTTP 400 comes with error message\n case 400:\n if (error.response?.data.failed.length > 0) {\n this.failedJobs = error.response.data.failed || [];\n Sentry.withScope(scope => {\n scope.setLevel('warning');\n Sentry.captureException(error.response?.data.failed[0].error_reason);\n });\n }\n break;\n case 500:\n if (error?.response?.data.length > 0) {\n this.loading = false;\n this.$notify({\n group: 'network',\n title: 'Error HTTP 500. Something wrong with the file',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(error);\n });\n }\n break;\n default:\n this.loading = false;\n this.$notify({\n group: 'network',\n title: 'Unknown error during uploading the spreadsheet',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(error);\n });\n break;\n }\n } else {\n throw new Error('non-Axios error');\n }\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n changeFiles(id: number, files: []): void {\n this.filesCounter[id] = files.length;\n this.files = files;\n }\n\n copyURL(): void {\n const copyText = document.createElement('input');\n let appUrl = window.location.href.substr(0, window.location.href.indexOf(this.$route.path));\n appUrl += `/search?job_id=${this.ids}`;\n copyText.value = appUrl;\n document.body.appendChild(copyText);\n copyText.select();\n document.execCommand('copy');\n document.body.removeChild(copyText);\n this.$notify({\n group: 'network',\n text: 'Link copied',\n type: 'success',\n duration: 3000,\n });\n }\n\n newUpload(): void {\n this.dryRun = true;\n this.failedJobs = [];\n this.createdJobs = [];\n this.ids = '';\n this.files = [];\n Object.keys(this.filesCounter).forEach(key => {\n delete this.filesCounter[key];\n });\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SpreadSheetB2B.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SpreadSheetB2B.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SpreadSheetB2B.vue?vue&type=template&id=40664a74&scoped=true\"\nimport script from \"./SpreadSheetB2B.vue?vue&type=script&lang=ts\"\nexport * from \"./SpreadSheetB2B.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SpreadSheet.scss?vue&type=style&index=0&id=40664a74&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"40664a74\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"detailed-job pb-8\"},[(_vm.loading)?[_c('Loading',{attrs:{\"active\":_vm.loading,\"is-full-page\":true},on:{\"update:active\":function($event){_vm.loading=$event}}})]:(_vm.job)?[_c('Header',{attrs:{\"job\":_vm.job},on:{\"fetchData\":_vm.fetchData,\"newTicketClicked\":_vm.newTicketClicked}}),_c(VContainer,{staticClass:\"wrapper max-w-300\"},[_c(VRow,{staticClass:\"mt-4 max-w-300\"},_vm._l((_vm.job.stops),function(stop,idx){return _c(VCol,{key:idx,attrs:{\"cols\":4}},[_c('Stop',{attrs:{\"stop\":stop,\"state\":_vm.job.stops[0].state}})],1)}),1),(_vm.job && _vm.job.stops)?_c('StopDrawing',{staticClass:\"drawing mt-8 px-7 max-w-300\",attrs:{\"job\":_vm.job,\"stops\":_vm.job.stops,\"completed_at\":_vm.job.completed_at,\"showNotes\":false},on:{\"fetchData\":_vm.fetchData}}):_vm._e(),_c(VRow,{staticClass:\"title mt-8 ml-4 pb-2\"},[_c(VCol,{staticClass:\"pl-0\",attrs:{\"cols\":4}},[_vm._v(\"Delivery Products:\")]),(_vm.job.stops)?[(_vm.job.stops[1]?.pickup_products?.length ?? 0 > 0)?_c(VCol,{staticClass:\"ml-2 pl-0\",attrs:{\"cols\":4}},[_vm._v(\"Return Products:\")]):_vm._e()]:_vm._e()],2),_c(VRow,_vm._l((_vm.job.stops),function(stop,idx){return _c(VCol,{key:idx,attrs:{\"cols\":4}},[_c('Products',{attrs:{\"products\":stop.pickup_products}})],1)}),1),(_vm.job.stops[0].note_text || _vm.job.stops[1].note_text)?_c(VRow,{staticClass:\"title mt-8 ml-4 pb-2\"},[_vm._v(\"Notes:\")]):_vm._e(),_c(VRow,_vm._l((_vm.job.stops),function(stop,idx){return _c(VCol,{key:idx,attrs:{\"cols\":4}},[_c('Note',{attrs:{\"note\":{\n text: stop.note_text,\n phone: stop.note_phone,\n name: stop.note_name,\n }}})],1)}),1),(_vm.job.stops && _vm.job.stops.find(stop => stop.is_pod_image || !!stop.pod_time))?_c('div',[_c(VRow,{staticClass:\"title mt-8 ml-4 pb-2\"},[_vm._v(\"POD:\")]),_c(VRow,_vm._l((_vm.job.stops),function(stop,idx){return _c(VCol,{key:idx,attrs:{\"cols\":4}},[_c('POD',{staticClass:\"pod\",attrs:{\"id\":_vm.job.rockhopper_id,\"date\":_vm.job.rockhopper_date,\"idx\":idx,\"name\":stop.pod_name,\"pod\":stop.is_pod_image,\"uniqueId\":String(_vm.job.rockhopper_key)}})],1)}),1)],1):_vm._e(),(\n (_vm.job.stops && _vm.job.stops[0] && _vm.job.stops[0].app_images && _vm.job.stops[0].app_images.length >= 1) ||\n (_vm.job.stops && _vm.job.stops[1] && _vm.job.stops[1].app_images && _vm.job.stops[1].app_images.length >= 1)\n )?_c('div',[_c(VRow,{staticClass:\"title mt-8 ml-4 pb-2\"},[_vm._v(\"Images:\")]),_c(VRow,{staticClass:\"mt-4 mb-8 ml-4 pr-2\"},[_vm._l((_vm.job.stops),function(stop,idx){return _c('div',{key:idx,staticClass:\"d-flex\"},_vm._l((stop.app_images),function(image,id){return _c('div',{key:id,staticClass:\"mr-4\"},[_c('div',{staticClass:\"image-wrapper\"},[_c(VImg,{attrs:{\"max-width\":\"180\",\"src\":image.path},on:{\"click\":function($event){(_vm.dialog = true), (_vm.dialogImage = image.path)}}}),_c(VBtn,{staticClass:\"icon-download\",attrs:{\"fab\":\"\",\"color\":\"primary\",\"width\":\"32\",\"height\":\"32\",\"href\":image.path,\"target\":\"_blank\",\"download\":\"img\"}},[_c(VIcon,{attrs:{\"size\":\"24\"}},[_vm._v(\"mdi-download\")])],1)],1),(image.ref)?_c('p',{staticClass:\"image-text mt-2\"},[_vm._v(_vm._s(image.ref))]):_vm._e()])}),0)}),_c(VDialog,{attrs:{\"max-width\":\"480\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c(VCard,[_c('div',{staticClass:\"dialog-wrapper\"},[_c(VImg,{attrs:{\"max-width\":\"480\",\"src\":_vm.dialogImage}}),_c(VBtn,{staticClass:\"icon-close\",attrs:{\"fab\":\"\",\"color\":\"primary\",\"width\":\"40\",\"height\":\"40\"},on:{\"click\":function($event){_vm.dialog = false}}},[_c(VIcon,{attrs:{\"size\":\"32\"}},[_vm._v(\"mdi-close\")])],1),_c(VBtn,{staticClass:\"icon-download\",attrs:{\"fab\":\"\",\"color\":\"primary\",\"width\":\"40\",\"height\":\"40\",\"href\":_vm.dialogImage,\"target\":\"_blank\",\"download\":\"img\"}},[_c(VIcon,{attrs:{\"size\":\"32\"}},[_vm._v(\"mdi-download\")])],1)],1)])],1)],2)],1):_vm._e(),(_vm.job.attachments && _vm.job.attachments.length > 0)?_c(VRow,{staticClass:\"title mt-8 ml-4 mb-4\"},[_vm._v(\"Attachments:\")]):_vm._e(),_vm._l((_vm.job.attachments),function(attachment,idx){return _c('div',{key:idx,staticClass:\"d-flex ml-8 mt-1\"},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"black\",\"size\":\"20\"}},[_vm._v(\"mdi-attachment\")]),_c('a',{staticClass:\"link\",attrs:{\"href\":attachment.file,\"target\":\"_blank\"}},[(attachment.file && attachment.file.indexOf('/') >= 0)?_c('p',{staticClass:\"text\"},[_vm._v(\" \"+_vm._s(attachment.file.substr(attachment.file.lastIndexOf('/') + 1))+\" \")]):_c('p',{staticClass:\"text\"},[_vm._v(_vm._s(attachment.file))])]),_c(VIcon,{staticClass:\"icon ml-4\",attrs:{\"color\":\"black\",\"size\":\"20\"},on:{\"click\":function($event){return _vm.deleteAttachment(attachment.id)}}},[_vm._v(\"mdi-trash-can-outline\")])],1)}),(_vm.job.attachments && _vm.job.attachments.length === 0)?_c(VDivider,{staticClass:\"divider mt-3 ml-4\"}):_vm._e(),_c('div',{staticClass:\"files mt-6 ml-4 mr-7\"},[_c('div',{staticClass:\"header-part mb-4\"},[_vm._v(\"Add images or documents if needed:\")]),_c('UploadAttachments',{attrs:{\"PFiles\":_vm.files,\"warning\":`Only PDF files will be uploaded to drivers runs.\n Other files can be added for internal operations use.`},on:{\"changeFiles\":_vm.changeFiles}})],1),_c(VRow,{staticClass:\"title mt-8 ml-4 pb-2\"},[_vm._v(\"Messages:\")]),_c(VRow,{staticClass:\"w-248 max-w-300\"},[_c(VCol,[_c('Messages',{staticClass:\"mt-2 ml-4\",attrs:{\"job\":_vm.job},on:{\"updateJob\":_vm.fetchDataNoLoader}})],1)],1),_c(VRow,{staticClass:\"w-300 mt-4 ml-4\"},[_c('div',{},[_c('div',{staticClass:\"flex flex-col mt-4 w-240\"},[_c('div',{staticClass:\"flex-none\"},[_c('div',{staticClass:\"text-xl font-semibold whitespace-nowrap\"},[_vm._v(\"Mail:\")])]),(!_vm.loadingTickets)?_c('div',{staticClass:\"h-full flex-1 flex justify-end -mt-8 w-full\"},[_c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.newRequestForChangeDialogClickedOutside),expression:\"newRequestForChangeDialogClickedOutside\"}],staticClass:\"h-full relative\",attrs:{\"attr-scroll-id\":\"newRequest\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.newRequestForChangeDialogOpen),expression:\"newRequestForChangeDialogOpen\"}],staticClass:\"absolute right-0 w-100 p-4 pt-2 bg-white border-t border-l border-r border-b border-purple-200 rounded-l-lg z-3 shadow shadow-purple-400/40\",class:[_vm.newMailOpenToTop ? 'bottom-10 rounded-t-lg' : 'top-8 rounded-b-lg']},[_c('ZammadTicketCreationForm',{attrs:{\"type\":\"r4c\",\"loading\":_vm.loadingRfcRequest,\"formData\":_vm.zammadFormData,\"jobId\":_vm.jobId},on:{\"submit\":_vm.ticketFormSubmitted}})],1),_c('div',{staticClass:\"relative flex items-center -mt-2 border-l border-r border-transparent cursor-pointer bg-white px-4 py-2\",class:[\n _vm.newRequestForChangeDialogOpen\n ? 'bg-white border-purple-200 z-5'\n : 'transform active:translate-y-0.5 transition duration-150 ease-in-out',\n _vm.newMailOpenToTop ? 'border-b rounded-b-lg' : 'border-t rounded-t-lg',\n ],on:{\"click\":_vm.newTicketClicked}},[_c('Icon',{attrs:{\"name\":\"mdi-frequently-asked-questions\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"xl\"}}),_c('div',{staticClass:\"mx-1 text-base underline hover:no-underline\"},[_vm._v(\"New request for change\")])],1)]),_c('div',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.newMailClickedOutside),expression:\"newMailClickedOutside\"}],staticClass:\"h-full relative\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.newMailOpen),expression:\"newMailOpen\"}],staticClass:\"absolute right-0 w-100 p-4 pt-2 bg-white border-t border-l border-r border-b border-purple-200 rounded-l-lg z-3 shadow shadow-purple-400/40\",class:[_vm.newMailOpenToTop ? 'bottom-10 rounded-t-lg' : 'top-8 rounded-b-lg']},[_c('ZammadTicketCreationForm',{attrs:{\"loading\":_vm.loadingRfcRequest,\"formData\":_vm.zammadFormData,\"jobId\":_vm.jobId},on:{\"submit\":_vm.ticketFormSubmitted}})],1),_c('div',{staticClass:\"relative flex items-center border-l border-r border-transparent cursor-pointer bg-white -mt-2 px-4 py-2\",class:[\n _vm.newMailOpen\n ? 'bg-white border-purple-200 z-5'\n : 'transform active:translate-y-0.5 transition duration-150 ease-in-out',\n _vm.newMailOpenToTop ? 'border-b rounded-b-lg' : 'border-t rounded-t-lg',\n ],on:{\"click\":_vm.newMailClicked}},[_c('Icon',{attrs:{\"name\":\"mdi-email-plus\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"xl\"}}),_c('div',{staticClass:\"mx-1 text-base underline hover:no-underline\"},[_vm._v(\"New ticket\")])],1)])]):_vm._e(),(_vm.loadingTickets)?_c('div',{staticClass:\"flex justify-center items-center p-6\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"48\"}},[_vm._v(\"mdi-loading\")])],1):_c('div',{staticClass:\"mt-2\"},[_c('ZammadList',{staticClass:\"mb-8\",attrs:{\"ticketsData\":_vm.ticketsData},on:{\"zammadArticleClicked\":_vm.zammadArticleClicked}})],1)])]),_c(VDialog,{attrs:{\"max-width\":\"1200\"},on:{\"click:outside\":_vm.ticketDialogCloseClicked},model:{value:(_vm.dialogEditTicket),callback:function ($$v) {_vm.dialogEditTicket=$$v},expression:\"dialogEditTicket\"}},[_c(VCard,[_c('div',{staticClass:\"dialog-wrapper\"},[_c('div',{staticClass:\"pb-8\"},[(_vm.loadingTicketArticles)?_c('div',{staticClass:\"d-flex align-center justify-center pa-6\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"48\"}},[_vm._v(\"mdi-loading\")])],1):_c('div',[(_vm.editingTicketArticles.length && _vm.editingTicketArticles[0])?_c('div',{staticClass:\"flex px-6 py-3 border-b border-purple-100 bg-purple-50\"},[_c('div',{staticClass:\"flex flex-col justify-start border-r border-purple-200 pr-3\"},[_c('span',{staticClass:\"flex items-center text-lg leading-6 font-semibold whitespace-nowrap\"},[_vm._v(\"Ticket # \"),_c('a',{staticClass:\"flex items-center underline hover:no-underline cursor-pointer\",attrs:{\"href\":'https://service.kkts.com.au/#ticket/zoom/' + _vm.editingTicketData.id,\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.editingTicketData.id)+\" \"),_c('Icon',{staticClass:\"ml-0.5 cursor-pointer\",attrs:{\"name\":\"mdi-open-in-new\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"lg\"}})],1)])]),_c('div',{staticClass:\"w-full flex justify-start items-start px-3 whitespace-nowrap\"},[_c('div',{staticClass:\"w-min pr-3 flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Status:\")]),_c('span',{staticClass:\"text-base font-semibold leading-6\"},[_vm._v(_vm._s(_vm.editingTicketData.state ? _vm.editingTicketData.state.charAt(0).toUpperCase() + _vm.editingTicketData.state.slice(1) : 'Unknown')+\" \")])]),(!_vm.editingTicketData.is_rfc)?_c('div',{staticClass:\"w-min pr-3 flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Is RFC:\")]),_c('span',{staticClass:\"text-base font-semibold leading-6\"},[_vm._v(\"No \")])]):_vm._e(),_c('div',{staticClass:\"w-min pr-3 flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Created by:\")]),_c('span',{staticClass:\"text-base font-semibold leading-6\"},[_vm._v(_vm._s(_vm.editingTicketArticles[0].created_by)+\" \")])]),_c('div',{staticClass:\"w-min pr-3 flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Created at:\")]),_c('span',{staticClass:\"text-base font-semibold leading-6\"},[_vm._v(_vm._s(_vm.format( _vm.utcToZonedTime( new Date(_vm.editingTicketArticles[0].created_at), _vm.user.timezone || _vm.timeZoneDefault, ), 'yyyy-MM-dd hh:mm aa', ))+\" \")])]),(_vm.editingTicketArticles[0].updated_by !== _vm.editingTicketArticles[0].created_by)?_c('div',{staticClass:\"w-min pr-3 flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Updated by:\")]),_c('span',{staticClass:\"text-base font-semibold leading-6\"},[_vm._v(_vm._s(_vm.editingTicketArticles[0].updated_by))])]):_vm._e(),(_vm.editingTicketArticles[0].updated_at !== _vm.editingTicketArticles[0].created_at)?_c('div',{staticClass:\"w-min pr-3 flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Updated at:\")]),_c('span',{staticClass:\"text-base font-semibold leading-6\"},[_vm._v(_vm._s(_vm.format( _vm.utcToZonedTime( new Date(_vm.editingTicketArticles[0].updated_at), _vm.user.timezone || _vm.timeZoneDefault, ), 'yyyy-MM-dd hh:mm aa', ))+\" \")])]):_vm._e()]),_c('div',{staticClass:\"flex border-l border-purple-200 pl-5\"},[_c('div',{staticClass:\"w-min flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4 whitespace-nowrap\"},[_vm._v(\"Affiliated job(s):\")]),(!!_vm.editingTicketData.rh_job)?_c('span',{staticClass:\"text-lg font-semibold leading-6 whitespace-nowrap\"},[_vm._v(\"#\"),_vm._l((_vm.editingTicketData.rh_job.split(', ')),function(id,idx){return _c('span',{key:idx,staticClass:\"ml-2 cursor-pointer\",class:[\n Number(id) === _vm.job.rockhopper_id\n ? 'cursor-not-allowed'\n : 'underline hover:no-underline',\n ],on:{\"click\":function($event){return _vm.jobIdClicked(id)}}},[_vm._v(_vm._s(id))])})],2):_c('span',{staticClass:\"text-lg font-semibold leading-6\"},[_vm._v(\"No\")])])]),(_vm.editingTicketData.state.toLowerCase() !== 'closed')?_c('div',{staticClass:\"h-10 ml-5 pl-5 flex justify-end items-center group cursor-pointer border-l border-purple-200\"},[_c('p',{staticClass:\"mb-0 underline group-hover:no-underline text-base font-medium whitespace-nowrap\",on:{\"click\":function($event){return _vm.setTicketState('closed', 4)}}},[_vm._v(\" Close the request \")]),_c('Icon',{staticClass:\"ml-1\",attrs:{\"name\":\"mdi-close-box-outline\",\"color\":\"black\",\"size\":\"2xl\"}})],1):_vm._e(),_c('div',{staticClass:\"w-full\"}),_c('div',[_c(VIcon,{staticClass:\"icon-close cursor-pointer\",attrs:{\"size\":\"32\",\"color\":\"black\"},nativeOn:{\"click\":function($event){return _vm.ticketDialogCloseClicked.apply(null, arguments)}}},[_vm._v(\"mdi-close\")])],1)]):_vm._e(),_c('ZammadTicket',{staticClass:\"overflow-hidden\",attrs:{\"articlesData\":_vm.editingTicketArticles,\"ticketData\":_vm.editingTicketData,\"loadingRfcRequest\":_vm.loadingRfcRequest},on:{\"zammadListChanged\":_vm.zammadListChanged}})],1)])])])],1)],1),(_vm.arJobs.length > 0)?[_c('div',{staticClass:\"mt-8 ml-4 text-xl font-semibold\"},[_vm._v(\"AirRoad jobs:\")]),_c('div',{staticClass:\"max-w-300 mt-1 ml-4 pr-6 pb-2\"},[_c('AirRoadJobsDetailed',{attrs:{\"arJobs\":_vm.arJobs}})],1)]:_vm._e()],2)]:_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VNavigationDrawer } from 'vuetify/lib/components/VNavigationDrawer';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"header\"},[_c('header',{staticClass:\"pb-2\"},[_c('BackButton',{staticClass:\"btn-back px-4\"}),_c('div',{staticClass:\"page_title pa-4 bg d-flex\"},[_c('h2',{staticClass:\"title\"},[_vm._v(\"Job #\"+_vm._s(_vm.job.rockhopper_id))]),(_vm.job.priority)?_c('p',{staticClass:\"priority pl-4\"},[_vm._v(\"Priority\")]):_vm._e()]),_c('div',{staticClass:\"d-flex flex-row\"},[_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Job date:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.rockhopper_date))])],1),_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Customer:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.customer))])],1),_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Status:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.status))])],1),_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Caller:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.caller))])],1),_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Phone:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.phone))])],1),(_vm.job.split_base && _vm.job.split_base !== '')?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Split to base:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.split_base))])],1):_vm._e(),(_vm.job.reference_1)?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Reference 1:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.reference_1))])],1):_vm._e(),(_vm.job.reference_2)?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Reference 2:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.reference_2))])],1):_vm._e(),(_vm.job.reference_3)?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Reference 3:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.reference_3))])],1):_vm._e(),(_vm.$can('staff', 'Job'))?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Can schedule:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_c(VSwitch,{staticClass:\"ma-0 mt-1 pa-0\",attrs:{\"label\":_vm.job.stops[0].can_schedule ? 'Yes' : 'No',\"disabled\":_vm.isLoading,\"color\":\"#9C8CFF\"},on:{\"change\":_vm.handleCanScheduleChange},model:{value:(_vm.job.stops[0].can_schedule),callback:function ($$v) {_vm.$set(_vm.job.stops[0], \"can_schedule\", $$v)},expression:\"job.stops[0].can_schedule\"}})],1)],1):_vm._e(),(_vm.$can('staff', 'Job'))?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[(_vm.job.schedule_board)?_c('OpenSchedulerBoardFromJobLink',{attrs:{\"scheduleBoard\":_vm.job.schedule_board,\"date\":_vm.job.rockhopper_date}}):_vm._e()],1):_vm._e()],1),_c('div',{staticClass:\"d-flex flex-row flex-row-columns mt-4\"},[_c('div',{staticClass:\"row-left\"},[(_vm.job.booked_by)?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Booked by:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.booked_by))])],1):_vm._e(),(_vm.job.booked_at)?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Booked at:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.booked_at,\"state\":_vm.job.stops[0].state,\"pattern\":\"yyyy-M-d hh:mm:ss a\"}})],1)],1):_vm._e(),(_vm.job.completed_at)?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Completed:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.completed_at,\"state\":_vm.job.stops[0].state,\"pattern\":\"yyyy-M-d hh:mm:ss a\"}})],1)],1):_vm._e(),(_vm.job.cancelled_at)?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Cancelled:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.cancelled_at,\"state\":_vm.job.stops[0].state,\"pattern\":\"yyyy-M-d hh:mm:ss a\"}})],1)],1):_vm._e(),(_vm.job.cancel_person)?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Cancel Person:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.cancel_person))])],1):_vm._e(),(_vm.job.cancel_reason)?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Cancel Reason:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.cancel_reason))])],1):_vm._e(),(_vm.job.delay && _vm.job.delay[1] !== 0)?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Delay:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.calcDelay()))])],1):_vm._e(),(_vm.job.reference_4)?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Reference 4:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.reference_4))])],1):_vm._e(),_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"POD required:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.require_pod ? 'Yes' : 'No'))])],1),(_vm.job.wh_status)?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Warehouse:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.wh_status))])],1):_vm._e(),(_vm.job.quant_id)?_c(VCard,{staticClass:\"bg\",attrs:{\"color\":\"white\",\"outlined\":\"\"}},[_c(VCardSubtitle,{staticClass:\"py-0 item_sub_title\"},[_vm._v(\"Job Quant ID:\")]),_c(VCardTitle,{staticClass:\"py-0 item_title\"},[_vm._v(_vm._s(_vm.job.quant_id))])],1):_vm._e()],1)]),(!_vm.drawer)?_c('div',{staticClass:\"btns-group-toggle\"},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn btn-slide-open\",attrs:{\"default\":\"\",\"fab\":\"\",\"color\":\"purple\"},on:{\"click\":function($event){$event.stopPropagation();_vm.drawer = !_vm.drawer}}},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"white\",\"size\":\"32\"}},[_vm._v(\"mdi-arrow-left-thick\")])],1)],1)]}}],null,false,1548555829)},[_c('span',[_c('p',{staticClass:\"tooltip-text ma-0 pa-0\"},[_vm._v(\"Show Actions panel\")])])])],1):_vm._e(),_c(VNavigationDrawer,{staticClass:\"btns-group\",attrs:{\"hide-overlay\":\"\",\"right\":\"\",\"absolute\":\"\",\"temporary\":\"\"},model:{value:(_vm.drawer),callback:function ($$v) {_vm.drawer=$$v},expression:\"drawer\"}},[_c('div',{staticClass:\"request-dialog d-flex align-center justify-start\"},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn btn-slide mr-4\",attrs:{\"default\":\"\",\"fab\":\"\",\"color\":\"purple\"},on:{\"click\":function($event){$event.stopPropagation();_vm.drawer = !_vm.drawer}}},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"white\",\"size\":\"32\"}},[_vm._v(\"mdi-arrow-right-thick\")])],1)],1)]}}])},[_c('span',[_c('p',{staticClass:\"tooltip-text ma-0 pa-0\"},[_vm._v(\"Hide Actions panel\")])])]),(!_vm.job.completed_at && !_vm.job.is_done)?_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn btn-request mr-2\",attrs:{\"fab\":\"\",\"loading\":_vm.isLoading},on:{\"click\":_vm.openRequestForChangeDialog}},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-pencil\")])],1)],1)]}}],null,false,280541677)},[_c('span',[_c('p',{staticClass:\"tooltip-text ma-0 pa-0\"},[_vm._v(\"Create request for change\")])])]):_vm._e(),_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[(_vm.$can('staff', 'Job'))?_c(VBtn,{staticClass:\"btn btn-resync mr-2\",attrs:{\"loading\":_vm.isLoading,\"disabled\":_vm.isLoading,\"fab\":\"\"},on:{\"click\":_vm.doReSync}},[_c('div',{staticClass:\"icon-wrapper\"},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-refresh\")])],1)]):_vm._e()],1)]}}])},[_c('span',[_c('p',{staticClass:\"tooltip-text ma-0 pa-0\"},[_vm._v(\"Re-Sync from RH\")])])]),_c('div',{staticClass:\"request-dialog\"},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn btn-pdf\",attrs:{\"fab\":\"\",\"loading\":_vm.loadingPDF,\"disabled\":_vm.loadingPDF},on:{\"click\":function($event){return _vm.downloadShippingPdf(_vm.job.rockhopper_id, _vm.job.rockhopper_date)}}},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-printer\")])],1)],1)]}}])},[_c('span',[_c('p',{staticClass:\"tooltip-text ma-0 pa-0\"},[_vm._v(\"Print label\")])])])],1),_c('div',{staticClass:\"request-dialog ml-2\"},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn btn-pdf\",attrs:{\"fab\":\"\",\"loading\":_vm.isLoading},on:{\"click\":_vm.printPdf}},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-file-pdf-box\")])],1)],1)]}}])},[_c('span',[_c('p',{staticClass:\"tooltip-text ma-0 pa-0\"},[_vm._v(\"Print PDF\")])])])],1),_c('div',{staticClass:\"request-dialog ml-2\"},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn btn-pdf\",attrs:{\"fab\":\"\",\"loading\":_vm.isLoading},on:{\"click\":_vm.downloadCsv}},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-file-delimited\")])],1)],1)]}}])},[_c('span',[_c('p',{staticClass:\"tooltip-text ma-0 pa-0\"},[_vm._v(\"Download CSV\")])])])],1),_c('div',{staticClass:\"request-dialog ml-2\"},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn btn-pdf\",attrs:{\"fab\":\"\",\"loading\":_vm.isLoading},on:{\"click\":_vm.splitToBaseDialogToggle}},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-call-split\")])],1)],1)]}}])},[_c('span',[_c('p',{staticClass:\"tooltip-text ma-0 pa-0\"},[_vm._v(\"Split to base\")])])])],1),_c('div',{staticClass:\"request-dialog ml-2\"},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn btn-pdf\",attrs:{\"fab\":\"\",\"loading\":_vm.isLoading},on:{\"click\":_vm.handleCloneJobClick}},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-content-duplicate\")])],1)],1)]}}])},[_c('span',[_c('p',{staticClass:\"tooltip-text ma-0 pa-0\"},[_vm._v(\"Clone\")])])])],1),(_vm.$can('staff', 'Edit'))?_c('div',{staticClass:\"request-dialog ml-2\"},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn btn-pdf\",attrs:{\"fab\":\"\"},on:{\"click\":_vm.openInEditModal}},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-file-document-edit-outline\")])],1)],1)]}}],null,false,919827251)},[_c('span',[_c('p',{staticClass:\"tooltip-text ma-0 pa-0\"},[_vm._v(\"Job Edit\")])])])],1):_vm._e(),(_vm.$can('staff', 'Job'))?_c('div',{staticClass:\"request-dialog ml-2\"},[_c(VTooltip,{attrs:{\"top\":\"\",\"open-delay\":\"600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn btn-pdf\",attrs:{\"fab\":\"\"},on:{\"click\":function($event){return _vm.$router.push(`/job-history/?job_id=${_vm.job.rockhopper_id}&job_date=${_vm.job.rockhopper_date}`)}}},[_c(VIcon,{staticClass:\"icon\",attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-history\")])],1)],1)]}}],null,false,1196998981)},[_c('span',[_c('p',{staticClass:\"tooltip-text ma-0 pa-0\"},[_vm._v(\"Job History\")])])])],1):_vm._e()],1)]),_c('SplitToBaseDialog',{attrs:{\"job\":_vm.job,\"isOpen\":_vm.splitToBaseDialogIsOpen},on:{\"fetchData\":function($event){return _vm.$emit('fetchData')},\"splitToBaseDialogToggle\":_vm.splitToBaseDialogToggle}}),(_vm.showModal)?_c('JobCompliance',{attrs:{\"showModal\":_vm.showModal,\"tableData\":[{ ..._vm.job, id: _vm.job.rockhopper_id, job_date: _vm.job.rockhopper_date }],\"currentJobIdx\":_vm.currentJobIdx},on:{\"closeModal\":_vm.closeModal,\"currentJobChanged\":_vm.currentJobChanged,\"updateTable\":_vm.updateTable}}):_vm._e()],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VDialog } from 'vuetify/lib/components/VDialog';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VDialog,{attrs:{\"persistent\":\"\",\"max-width\":\"400\"},model:{value:(_vm.isOpen),callback:function ($$v) {_vm.isOpen=$$v},expression:\"isOpen\"}},[_c('div',{staticClass:\"px-5 pt-7 bg-white\",class:_vm.$style.dialogCard},[_c('div',{staticClass:\"d-flex justify-space-between align-center\"},[_c('div',{staticClass:\"text-xl font-semibold\"},[_vm._v(\"Split to base\")]),_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-close\",\"color\":\"gray\",\"colorIntensity\":\"400\",\"size\":\"2xl\"},nativeOn:{\"click\":function($event){return _vm.$emit('splitToBaseDialogToggle')}}})],1),_c('div',{staticClass:\"mt-6\"},[_c('h3',{staticClass:\"text-lg\"},[_vm._v(\"To warehouse\")]),_c('LookupWarehouses',{attrs:{\"lookupData\":_vm.kktsSplitToBase,\"stop_number\":_vm.job.stops.length},on:{\"changed\":_vm.whChanged}}),_c('div',{staticClass:\"flex justify-end mt-24 pb-8\"},[_c('div',{staticClass:\"w-min\"},[_c('Button',{attrs:{\"type\":\"button\",\"size\":\"small\",\"text\":\"Confirm\",\"color\":\"lime\",\"colorIntensity\":\"600\",\"icon\":\"mdi-check\",\"loading\":_vm.loading,\"disabled\":!_vm.whChosen},nativeOn:{\"click\":function($event){return _vm.setSplitToBase()}}})],1)])],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { fetchSetJobStatusSplitToBase } from '@/helpers/fetchers';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Button from '@/components/UI/Button.vue';\nimport Icon from '@/components/UI/Icon.vue';\nimport LookupWarehouses from '@/components/UI/LookupWarehouses.vue';\nimport { JobDetailedData } from '@/models/jobDetailed';\nimport { kktsSplitToBase } from '@/utils/PortalConstants';\nimport { JobAllocateParams } from '@/models/JobComplianceTypes';\n\n@Component({\n components: {\n Button,\n Icon,\n LookupWarehouses,\n },\n})\nexport default class SplitToBaseDialog extends Vue {\n @Prop(Boolean) public isOpen: boolean;\n @Prop(Object) public job!: JobDetailedData;\n\n public loading = false;\n public whChosen = '';\n public kktsSplitToBase = kktsSplitToBase;\n\n public whChanged(value: string): void {\n this.whChosen = value;\n }\n\n public setSplitToBase(): Promise {\n this.loading = true;\n const params: JobAllocateParams = {\n action: 'tobase',\n job_id: this.job.rockhopper_id,\n job_date: this.job.rockhopper_date,\n driver: this.job.driver_code || 0,\n stop_number: 2,\n base: this.kktsSplitToBase.indexOf(this.whChosen) + 1 || 0,\n };\n\n return fetchSetJobStatusSplitToBase(params)\n .then(() => void this.$emit('fetchData'))\n .catch(() => void {})\n .finally(() => (this.loading = false));\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SplitToBaseDialog.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SplitToBaseDialog.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"SplitToBaseDialog_sidemenu_FVrZn\",\"layout-wrapper\":\"SplitToBaseDialog_layout-wrapper_LbrYF\",\"wrapper-portal\":\"SplitToBaseDialog_wrapper-portal_ZPi9g\",\"wrapper-portal-dash\":\"SplitToBaseDialog_wrapper-portal-dash_voUvJ\",\"container\":\"SplitToBaseDialog_container_QS_N3\",\"b-fa\":\"SplitToBaseDialog_b-fa_C4NKG\",\"mdi-stairs\":\"SplitToBaseDialog_mdi-stairs_GX1vk\",\"mdi-progress-wrench\":\"SplitToBaseDialog_mdi-progress-wrench_t6Cg5\",\"mdi-wrench\":\"SplitToBaseDialog_mdi-wrench_ihoc9\",\"mdi-file-document\":\"SplitToBaseDialog_mdi-file-document_vHWrw\",\"mdi-account\":\"SplitToBaseDialog_mdi-account_rhRyJ\",\"mdi-caravan\":\"SplitToBaseDialog_mdi-caravan_KVP07\",\"mdi-forklift\":\"SplitToBaseDialog_mdi-forklift_syLe0\",\"mdi-account-plus\":\"SplitToBaseDialog_mdi-account-plus_Qhmma\",\"mdi-format-align-bottom\":\"SplitToBaseDialog_mdi-format-align-bottom_xY1mK\",\"mdi-clock-alert\":\"SplitToBaseDialog_mdi-clock-alert_SfRJk\",\"mdi-school\":\"SplitToBaseDialog_mdi-school_YxcKS\",\"mdi-face-mask\":\"SplitToBaseDialog_mdi-face-mask_Tvsqi\",\"fa\":\"SplitToBaseDialog_fa_j7DAo\",\"fa-angle-up\":\"SplitToBaseDialog_fa-angle-up_d7UXw\",\"fa-angle-left\":\"SplitToBaseDialog_fa-angle-left_AMi5u\",\"fa-search\":\"SplitToBaseDialog_fa-search_Zj7Di\",\"fa-consolidate\":\"SplitToBaseDialog_fa-consolidate_OEq0o\",\"fa-split\":\"SplitToBaseDialog_fa-split_KzXHh\",\"mdi-food-fork-drink\":\"SplitToBaseDialog_mdi-food-fork-drink_Dvhxk\",\"mdi-package-variant\":\"SplitToBaseDialog_mdi-package-variant_L9PoB\",\"mdi-call-merge\":\"SplitToBaseDialog_mdi-call-merge_ccHsR\",\"mdi-tray-arrow-up\":\"SplitToBaseDialog_mdi-tray-arrow-up_gourn\",\"fa-arrow-circle-up\":\"SplitToBaseDialog_fa-arrow-circle-up_ilHla\",\"fa-arrow-circle-down\":\"SplitToBaseDialog_fa-arrow-circle-down_B8QuR\",\"mdi-calendar-check\":\"SplitToBaseDialog_mdi-calendar-check_BNsSG\",\"mdi-calendar-remove\":\"SplitToBaseDialog_mdi-calendar-remove_XKptM\",\"stop-tooltip\":\"SplitToBaseDialog_stop-tooltip_UJZLn\",\"bold\":\"SplitToBaseDialog_bold_SfjAr\",\"tooltip-header\":\"SplitToBaseDialog_tooltip-header_xCaFz\",\"tooltip-content\":\"SplitToBaseDialog_tooltip-content_gqI9q\",\"stops\":\"SplitToBaseDialog_stops_EYeJ1\",\"tooltip-attrs\":\"SplitToBaseDialog_tooltip-attrs_HVQFC\",\"attr\":\"SplitToBaseDialog_attr_YVi2A\",\"warnings\":\"SplitToBaseDialog_warnings_xhYxG\",\"b-panel-body-wrap\":\"SplitToBaseDialog_b-panel-body-wrap_RGFj0\",\"b-panel-content\":\"SplitToBaseDialog_b-panel-content_jyys4\",\"b-tooltip-content\":\"SplitToBaseDialog_b-tooltip-content_XqJYa\",\"t-radio\":\"SplitToBaseDialog_t-radio_XH6lB\",\"t-checkbox\":\"SplitToBaseDialog_t-checkbox_Hj_8o\",\"floating-label\":\"SplitToBaseDialog_floating-label_ZvKsp\",\"floating-label-inset\":\"SplitToBaseDialog_floating-label-inset_HcsXI\",\"dialogCard\":\"SplitToBaseDialog_dialogCard_LcEYY\"};","import { render, staticRenderFns } from \"./SplitToBaseDialog.vue?vue&type=template&id=0e60fe74\"\nimport script from \"./SplitToBaseDialog.vue?vue&type=script&lang=ts\"\nexport * from \"./SplitToBaseDialog.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SplitToBaseDialog.vue?vue&type=style&index=0&id=0e60fe74&prod&lang=scss&module=true\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { getJobReSync, getShippingPDF } from '@/api';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport { User } from '@/models/main';\nimport { JobDetailedData } from '@/models/jobDetailed';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport IconWithTooltip from '@/components/UI/iconWithTooltip/IconWithTooltip.vue';\nimport { flattenObject } from '@/utils/InputProcessingUtilities';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport { mapState } from 'vuex';\nimport SplitToBaseDialog from '@/components/jobDetailed/StopCompleteDialog/SplitToBaseDialog.vue';\nimport * as routeNames from '@/router/routeNames';\n\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport JobCompliance from '@/views/JobBooking/JobCompliance.vue';\nimport OpenSchedulerBoardFromJobLink from '@/components/btns/OpenSchedulerBoardFromJobLink.vue';\nimport { cloneJob } from '@/helpers/booking';\nimport { fetchCanScheduleChange } from '@/helpers/fetchers';\n\n@Component({\n components: {\n BackButton,\n DateTimezoneToggle,\n JobCompliance,\n IconWithTooltip,\n OpenSchedulerBoardFromJobLink,\n SplitToBaseDialog,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class Header extends Vue {\n @Prop({ type: Object, required: true }) public readonly job!: JobDetailedData;\n\n public requestForChangeMessage = '';\n public isLoading = false;\n public loadingPDF = false;\n public isZammadLoading = false;\n public drawer: null | boolean = null;\n private user!: User;\n\n public splitToBaseDialogIsOpen = false;\n\n public routeNames = routeNames;\n\n // Compliance modal\n public showModal = false;\n public currentJobIdx = -1;\n\n public handleCloneJobClick(): void {\n cloneJob(this.job, this.$router);\n }\n\n public updateTable(date: string): void {\n this.job.rockhopper_date = date;\n this.$emit('fetchData', true, date);\n }\n\n public currentJobChanged(idx: number): void {\n this.currentJobIdx = idx;\n }\n\n public closeModal(): void {\n this.showModal = false;\n this.currentJobIdx = -1;\n }\n\n public openInEditModal(): void {\n this.currentJobIdx = 0;\n this.showModal = true;\n }\n // / Compliance modal\n\n public calcDelay(): string | void {\n if (this.job.delay[1] !== 0) {\n const numHours = Math.floor(this.job.delay[0] / 60 / 60);\n return `${numHours} ${numHours > 1 ? 'hrs' : 'hr'}`;\n }\n }\n\n public openRequestForChangeDialog() {\n const el = document.querySelector('[attr-scroll-id=\"newRequest\"]');\n if (el) {\n const elDistanceToTop = window.pageYOffset + el.getBoundingClientRect().top;\n window.scrollTo({ top: elDistanceToTop, behavior: 'smooth' });\n // Close the panel\n this.drawer = false;\n // Open modal immediately if here is no space to scroll\n if (window.innerHeight + window.scrollY >= document.body.offsetHeight) {\n this.$emit('newTicketClicked');\n } else {\n // Or scroll to `zammad` section\n // Add listener to open the model when scroll finished\n if (!this.job.is_rfc) {\n window.onscroll = () => {\n const currentScrollOffset = window.pageYOffset || document.documentElement.scrollTop;\n const scrollStopPoint = document.documentElement.scrollHeight - window.screen.availHeight;\n if (currentScrollOffset >= scrollStopPoint - 20) {\n this.$emit('newTicketClicked');\n // Remove listener after scroll\n window.onscroll = null;\n }\n };\n }\n }\n }\n }\n\n /**\n * Sends request to API to change \"can_schedule\" for the job\n *\n * @param value - new value for \"can_schedule\"\n */\n public async handleCanScheduleChange(value: boolean): Promise {\n this.isLoading = true;\n await fetchCanScheduleChange(value, this.job.rockhopper_id, this.job.rockhopper_date).catch(() => {\n // If request was not successful, revert toggle\n this.job.stops[0].can_schedule = !value;\n });\n this.isLoading = false;\n }\n\n public doReSync() {\n this.isLoading = true;\n getJobReSync(this.job.rockhopper_id, this.job.rockhopper_date)\n .then(() => {\n this.$emit('fetchData');\n this.$notify({\n group: 'network',\n title: 'Success',\n text: 'Job re-synced from the RH',\n type: 'success',\n duration: 3000,\n });\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error sending the request',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.isLoading = false;\n });\n }\n\n public printPdf(): void {\n window.print();\n }\n\n public downloadCsv(): void {\n try {\n const flattenJob = flattenObject(this.job);\n const headers: string[] = [];\n Object.keys(flattenJob).map(header => {\n headers.push(`\"${header}\"`);\n });\n const data: string[] = [];\n Object.values(flattenJob).map(item => {\n data.push(`\"${item}\"`);\n });\n const csv = `${headers.toString()}\n${data.toString()}`;\n const blob = new Blob([csv], { type: 'csv' });\n const link = document.createElement('a');\n link.href = URL.createObjectURL(blob);\n link.download = `${this.job.rockhopper_id}-${this.job.rockhopper_date}.csv`;\n link.click();\n URL.revokeObjectURL(link.href);\n } catch (err) {\n this.$notify({\n group: 'network',\n title: 'Error downloading the CSV',\n text: notificationErrorText,\n type: 'warn',\n });\n }\n }\n\n public splitToBaseDialogToggle(): void {\n this.splitToBaseDialogIsOpen = !this.splitToBaseDialogIsOpen;\n }\n\n public downloadShippingPdf(job_id, job_date): void {\n this.loadingPDF = true;\n getShippingPDF(job_id, job_date)\n .then(res => {\n const link = document.createElement('a');\n link.href = URL.createObjectURL(res);\n link.download = `${job_id}-${job_date}.pdf`;\n link.click();\n URL.revokeObjectURL(link.href);\n link.remove();\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error downloading the pdf',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loadingPDF = false;\n });\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Header.vue?vue&type=template&id=32d2c64e&scoped=true\"\nimport script from \"./Header.vue?vue&type=script&lang=ts\"\nexport * from \"./Header.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Header.scss?vue&type=style&index=0&id=32d2c64e&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"32d2c64e\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"flex flex-col\"},[((_vm.job.messages && _vm.job.messages.length > 0) || _vm.messagesList.length > 0)?_c('div',_vm._l((_vm.messagesList),function(message,idx){return _c('div',{key:idx,staticClass:\"mb-2 flex justify-start items-start\"},[_c('div',{staticClass:\"w-92 text-right font-medium hyphens-auto leading-4 break-all text-gray-600\"},[_vm._v(\" \"+_vm._s(message.respond_to || message.sender)+\": \")]),_c('div',{staticClass:\"w-full mx-4 hyphens-auto leading-4 break-words\"},[_vm._v(_vm._s(message.msgtext))]),_c('div',{staticClass:\"w-72 text-sm text-gray-600\"},[_c('DateTimezoneToggle',{attrs:{\"dateString\":message.sent,\"state\":_vm.job.stops[0].state}})],1),(_vm.$can('staff', 'Job'))?_c('div',{staticClass:\"w-6 ml-2 flex items-start\"},[_c('tooltip',{attrs:{\"text\":message.is_private ? 'Set as public' : 'Set as private',\"class-name\":\"text-white whitespace-nowrap\"}},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":message.is_private ? 'mdi-lock' : 'mdi-lock-open',\"color\":message.is_private ? 'black' : 'lime',\"size\":\"xl\"},nativeOn:{\"click\":function($event){return _vm.togglePrivacy(message)}}})],1)],1):_vm._e()])}),0):_c('div',[_c('p',{staticClass:\"text-gray-500 text-center italic\"},[_vm._v(\"No messages yet\")])]),(_vm.$ability.can('staff', 'Job'))?_c('validation-observer',{ref:\"jobMsgForm\",staticClass:\"flex justify-between items-start mt-4\"},[_c('div',{staticClass:\"w-full bg-purple-50 rounded shadow p-2\"},[_c('validation-provider',{staticClass:\"w-full mt-1 flex flex-col\",attrs:{\"rules\":\"required|max:250\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('t-textarea',{staticClass:\"bg-white leading-4 w-full h-24 pt-1\",attrs:{\"type\":\"text\",\"placeholder\":\"New message\",\"maxLength\":250,\"variant\":{\n error: !!errors[0],\n }},model:{value:(_vm.message),callback:function ($$v) {_vm.message=$$v},expression:\"message\"}}),(errors[0])?_c('span',{staticClass:\"mt-2 ml-2 text-sm leading-3 text-red-700\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,false,1883807934)})],1),_c('div',{staticClass:\"w-28 ml-4\"},[_c('Button',{attrs:{\"size\":\"small\",\"color\":\"lime\",\"colorIntensity\":\"600\",\"text\":\"Send\",\"icon\":\"mdi-send\",\"loading\":_vm.loading,\"disabled\":_vm.loading},nativeOn:{\"click\":function($event){return _vm.sendMessage.apply(null, arguments)}}})],1)]):_vm._e()],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n// Api\nimport { changeJobDetailedMessageVisibility, detailedJobSendMessage } from '@/api';\n// Components\nimport Button from '@/components/UI/Button.vue';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport Icon from '@/components/UI/Icon.vue';\nimport Tooltip from '@/components/UI/Tooltip.vue';\n// Vue\nimport { mapState } from 'vuex';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport * as Sentry from '@sentry/vue';\n// Types\nimport { IDetailedJobSendMessage, MessageVisibilityParams, User } from '@/models/main';\nimport { JobDetailedData, Message } from '@/models/jobDetailed';\n// Constants\nimport { notificationErrorText } from '@/utils/PortalConstants';\n// Validation rules:\nimport { extend } from 'vee-validate';\nimport { required, max } from 'vee-validate/dist/rules';\nextend('required', {\n ...required,\n message: 'Message is required',\n});\nextend('max', {\n ...max,\n message: 'The message is too long. 250 characters is the limit',\n});\n\n@Component({\n components: {\n Button,\n DateTimezoneToggle,\n Icon,\n Notification,\n Tooltip,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class Messages extends Vue {\n @Prop({ type: Object, required: true }) public readonly job!: JobDetailedData;\n\n private user: User;\n public message = '';\n public loading = false;\n public loadingVisibility = {};\n public messagesList: Message[] = [];\n\n @Watch('job.messages', { immediate: true, deep: true })\n private messagesChanged(): void {\n this.messagesList = [];\n this.job.messages.map(message => {\n if (!message.is_private || this.$ability.can('staff', 'Job')) {\n this.messagesList.push(message);\n }\n });\n }\n\n public togglePrivacy(message): void {\n const showError = () => {\n this.$notify({\n group: 'network',\n title: 'Error changing the message visibility',\n text: notificationErrorText,\n type: 'warn',\n });\n };\n\n const editingMessage = this.job.messages.find(x => x.message_id === message.message_id);\n const params: MessageVisibilityParams = {\n message_id: message.message_id,\n private: !message.is_private,\n };\n if (editingMessage) {\n this.loadingVisibility[message.message_id] = true;\n changeJobDetailedMessageVisibility(params)\n .then(res => {\n if (res.status === 201) {\n editingMessage.is_private = !message.is_private;\n } else {\n showError();\n }\n this.loadingVisibility[message.message_id] = false;\n })\n .catch(() => {\n showError();\n })\n .finally(() => {\n this.loadingVisibility[message.message_id] = false;\n });\n } else {\n showError();\n }\n }\n\n public async sendMessage() {\n const showError = res => {\n this.$notify({\n group: 'network',\n title: 'Error sending the message',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(res);\n });\n };\n const form = this.$refs.jobMsgForm as HTMLFormElement;\n if (form) {\n const success = await form.validate();\n if (success) {\n this.loading = true;\n const params: IDetailedJobSendMessage = {\n job_key: this.job.rockhopper_key,\n job_date: this.job.rockhopper_date,\n message: this.message,\n respond_to: this.user.username.slice(0, 20),\n respond_email: this.user.email || '',\n };\n setTimeout(() => {\n detailedJobSendMessage(params)\n .then(res => {\n if (res.Result === 'Message sent') {\n this.$emit('updateJob');\n this.$notify({\n group: 'network',\n text: 'The message was sent successfully',\n type: 'success',\n duration: 3000,\n });\n this.message = '';\n form.reset();\n } else {\n showError(res);\n }\n })\n .catch(res => {\n showError(res);\n })\n .finally(() => {\n this.loading = false;\n });\n }, 1000);\n }\n }\n }\n\n private mounted(): void {\n this.job.messages.map(message => {\n this.loadingVisibility[message.message_id] = false;\n });\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Messages.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Messages.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Messages.vue?vue&type=template&id=53cdd524\"\nimport script from \"./Messages.vue?vue&type=script&lang=ts\"\nexport * from \"./Messages.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"ma-0 pa-0 ml-8 pr-6\"},[(_vm.note.text)?_c('div',{staticClass:\"text py-2\",domProps:{\"innerHTML\":_vm._s(_vm.note.text.replace(/(?:\\r\\n|\\r|\\n)/g, '
'))}}):_vm._e(),(_vm.note.name)?_c('div',{staticClass:\"name d-flex justify-end\"},[_vm._v(_vm._s(_vm.note.name))]):_vm._e(),(_vm.note.phone && _vm.note.phone.length > 0)?_c('div',{staticClass:\"d-flex justify-end mt-1\"},[_c(VIcon,{staticClass:\"icon ml-1\",attrs:{\"size\":\"16\",\"color\":\"purple\"}},[_vm._v(\"mdi-phone\")]),_c('a',{staticClass:\"phone\",attrs:{\"href\":`tel:${_vm.note.phone}`}},[_vm._v(_vm._s(_vm.note.phone))])],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { JobDetailedStopNotes } from '@/models/jobDetailed';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class Note extends Vue {\n @Prop({ type: Object, required: true }) private readonly note!: JobDetailedStopNotes;\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Note.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Note.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Note.vue?vue&type=template&id=0004e75e&scoped=true\"\nimport script from \"./Note.vue?vue&type=script&lang=ts\"\nexport * from \"./Note.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Note.scss?vue&type=style&index=0&id=0004e75e&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0004e75e\",\n null\n \n)\n\nexport default component.exports","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"products\"},_vm._l((_vm.products),function(item,values,idx){return _c(VCard,{key:idx,staticClass:\"products-card ma-0 pa-0 ml-8\",attrs:{\"flat\":\"\"}},[_c(VCardTitle,{staticClass:\"header ma-0 pa-0 pb-2\"},[_c('div',{staticClass:\"wrapper d-flex\"},[_c('div',{staticClass:\"count\"},[_vm._v(\"#\"+_vm._s(idx + 1))]),_c('div',{staticClass:\"text\"},[(item)?_c('div',{staticClass:\"item ma-0\"},[_c('p',{staticClass:\"item-title ma-0 mx-2\"},[_c('span',{staticClass:\"header-text\"},[_vm._v(\"Model:\")])]),_c('p',{staticClass:\"item-text ma-0 mb-1\"},[_vm._v(_vm._s(item.model))])]):_vm._e(),(item.serial)?_c('div',{staticClass:\"item mt-2\"},[_c('p',{staticClass:\"item-title mx-2\"},[_c('span',{staticClass:\"header-text\"},[_vm._v(\"Serial number:\")])]),_c('p',{staticClass:\"item-text\"},[_vm._v(_vm._s(item.serial))])]):_vm._e(),(item.description)?_c('div',{staticClass:\"item\"},[_c('p',{staticClass:\"item-title mx-2\"},[_c('span',{staticClass:\"header-text\"},[_vm._v(\"Description:\")])]),_c('p',{staticClass:\"item-text\"},[_vm._v(_vm._s(item.description))])]):_vm._e(),(item.pieces > 1)?_c('div',{staticClass:\"item\"},[_c('p',{staticClass:\"item-title mx-2\"},[_c('span',{staticClass:\"header-text\"},[_vm._v(\"Quantity:\")])]),_c('p',{staticClass:\"item-text\"},[_vm._v(_vm._s(item.pieces))])]):_vm._e(),(item.type_code && item.type_code.toLowerCase().startsWith('c'))?_c('div',{staticClass:\"item\"},[_c('p',{staticClass:\"item-title mx-2\"},[_c('span',{staticClass:\"header-text\"},[_vm._v(\"Size:\")])]),_c('p',{staticClass:\"item-text\"},[_vm._v(\" \"+_vm._s(item.weight)+\"kg - \"+_vm._s(item.height)+\"x\"+_vm._s(item.width)+\"x\"+_vm._s(item.length)+\" (\"+_vm._s(item.volume)+\") \")])]):_vm._e(),(item.special_instructions && item.special_instructions.length)?_c('div',{staticClass:\"item\"},[_c('p',{staticClass:\"item-title mx-2\"},[_c('span',{staticClass:\"header-text\"},[_vm._v(\"Special instructions:\")])]),_vm._l((item.special_instructions),function(instruction,index){return _c('div',{key:index,staticClass:\"item-text\"},[_c('p',[_vm._v(_vm._s(instruction.text)+\" (\"+_vm._s(instruction.type)+\")\")])])})],2):_vm._e(),(item.extra_options && (item.extra_options.installation || item.extra_options.returns))?_c('div',{staticClass:\"item\"},[_c('p',{staticClass:\"item-title mx-2\"},[_c('span',{staticClass:\"header-text\"},[_vm._v(\"Installation/Return:\")])]),_c('p',{staticClass:\"item-text\"},[_vm._v(_vm._s(item.extra_options.installation || item.extra_options.returns))])]):_vm._e(),(item.quant_id)?_c('div',{staticClass:\"item\"},[_c('p',{staticClass:\"item-title mx-2\"},[_c('span',{staticClass:\"header-text\"},[_vm._v(\"Quant:\")])]),_c('p',{staticClass:\"item-text\"},[_c('a',{staticClass:\"quant\",attrs:{\"href\":_vm.warehouseLink(item),\"target\":\"_blank\"}},[_vm._v(_vm._s(item.quant_id))])])]):_vm._e()]),_c('div',{staticClass:\"btn-copy ml-4 mr-2\"},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,{staticClass:\"icon\",attrs:{\"size\":\"20\",\"color\":\"black\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.copyProductName(item)}}},[_vm._v(\" mdi-content-copy\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Copy product sn+model\")])])],1)])]),_c(VCardText,{staticClass:\"ma-0 pa-0 content\"})],1)}),1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { components } from '@/models/jobDetailed';\ntype Product = components['schemas']['Product'];\ntype ProductsType = components['schemas']['Stop']['pickup_products'];\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class Products extends Vue {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n @Prop({ type: Object, default: () => {} }) public readonly products!: ProductsType;\n\n public get numberOfProducts(): number {\n return Object.keys(this.products).length;\n }\n\n public copyProductName(product: Product | Record): void {\n const copyText = document.createElement('input');\n copyText.value = `${product.serial} ${product.model}`;\n document.body.appendChild(copyText);\n copyText.select();\n document.execCommand('copy');\n document.body.removeChild(copyText);\n this.$notify({\n group: 'network',\n text: 'Product copied',\n type: 'success',\n duration: 3000,\n });\n }\n\n /** Returns a link to the Quant page in Odoo WH */\n public warehouseLink = (item: Product | Record): string => {\n return `${process.env.VUE_APP_URL}/web#id=${item.quant_id}&view_type=form&model=stock.quant&action=176`;\n };\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Products.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Products.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Products.vue?vue&type=template&id=014d926b&scoped=true\"\nimport script from \"./Products.vue?vue&type=script&lang=ts\"\nexport * from \"./Products.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Products.scss?vue&type=style&index=0&id=014d926b&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"014d926b\",\n null\n \n)\n\nexport default component.exports","import { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"items-wrapper ml-8 pr-8\"},[(_vm.stop.required_at)?_c(VRow,{staticClass:\"item-row\"},[_c(VCol,{staticClass:\"item_title pt-0 pr-0\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Time required:\")]),_c(VCol,{staticClass:\"item_sub_title pa-0\",attrs:{\"cols\":\"8\"}},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.stop.required_at,\"state\":_vm.state}})],1)],1):_vm._e(),(_vm.stop.time_latest)?_c(VRow,{staticClass:\"item-row\"},[_c(VCol,{staticClass:\"item_title pt-0 pr-0\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Time latest:\")]),_c(VCol,{staticClass:\"item_sub_title pa-0\",attrs:{\"cols\":\"8\"}},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.stop.time_latest,\"state\":_vm.state}})],1)],1):_vm._e(),_c(VRow,{staticClass:\"item-row\"},[_c(VCol,{staticClass:\"item_title pt-0 pr-0\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Driver:\")]),_c(VCol,{staticClass:\"item_sub_title pa-0\",attrs:{\"cols\":\"8\"}},[_vm._v(_vm._s(_vm.stop.driver_is)+\", \"+_vm._s(_vm.getDriverData(_vm.stop.driver_is)))])],1),(_vm.stop.arrived_at)?_c(VRow,{staticClass:\"item-row\"},[_c(VCol,{staticClass:\"item_title pt-0 pr-0\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Arrived at:\")]),_c(VCol,{staticClass:\"item_sub_title pa-0\",attrs:{\"cols\":\"8\"}},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.stop.arrived_at,\"state\":_vm.state}})],1)],1):_vm._e(),(_vm.stop.departed_at)?_c(VRow,{staticClass:\"item-row\"},[_c(VCol,{staticClass:\"item_title pt-0 pr-0\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Departed at:\")]),_c(VCol,{staticClass:\"item_sub_title pa-0\",attrs:{\"cols\":\"8\"}},[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.stop.departed_at,\"state\":_vm.state}})],1)],1):_vm._e(),(_vm.stop.attributes.length > 0)?_c(VRow,{staticClass:\"item-row\"},[_c(VCol,{staticClass:\"item_title pt-0 pr-0\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Attributes:\")]),_c(VCol,{staticClass:\"item_sub_title pa-0\",attrs:{\"cols\":\"8\"}},[_vm._v(_vm._s(_vm.stop.attributes.join(', ')))])],1):_vm._e(),(_vm.stop.services.length > 0)?_c(VRow,{staticClass:\"item-row\"},[_c(VCol,{staticClass:\"item_title pt-0 pr-0\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Services:\")]),_c(VCol,{staticClass:\"item_sub_title pa-0\",attrs:{\"cols\":\"8\"}},[_c('StopServices',{attrs:{\"services\":_vm.stop.services}})],1)],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { JobDetailedStop } from '@/models/jobDetailed';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport StopServices from '@/components/jobDetailed/StopServices.vue';\nimport store from '@/store';\n\n@Component({\n components: {\n DateTimezoneToggle,\n StopServices,\n },\n})\nexport default class Stop extends Vue {\n @Prop({ type: Object, required: true }) private readonly stop!: JobDetailedStop;\n @Prop({ type: String }) private readonly state!: string;\n\n public getDriverData(id: number) {\n const driverList = store.getters['moduleStaticData/getDrivers'];\n const driver = driverList.find(x => x.code === id);\n return driver?.full_name || 'No name';\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Stop.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Stop.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Stop.vue?vue&type=template&id=1421700f&scoped=true\"\nimport script from \"./Stop.vue?vue&type=script&lang=ts\"\nexport * from \"./Stop.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Stop.scss?vue&type=style&index=0&id=1421700f&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1421700f\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.arJobs.length <= 0)?_c('div',[_c('div',{staticClass:\"flex justify-center items-center mt-8\"},[_c('div',{staticClass:\"mt-6 w-64 flex flex-col justify-center items-center\"},[_c('div',{staticClass:\"flex justify-center items-center w-36 h-36 bg-purple-400 rounded-full\"},[_c(VIcon,{staticClass:\"mr-2\",attrs:{\"size\":\"72\",\"color\":\"white\"}},[_vm._v(\"mdi-flask-empty-remove-outline\")])],1),_c('h1',{staticClass:\"mt-6 w-64 text-xl text-center leading-6\"},[_vm._v(\"There are no such jobs, try changing the request\")])])])]):_c('div',{staticClass:\"flex pt-3 pb-2\"},[_c('div',{staticClass:\"pl-2 w-12 h-4\"}),_vm._m(0),_vm._m(1),_vm._m(2),_vm._m(3),_vm._m(4),_vm._m(5),_vm._m(6),_vm._m(7),_vm._m(8)]),_vm._l((_vm.arJobs),function(job,idx){return _c('div',{key:idx,staticClass:\"pt-2 mb-4 bg-purple-50 rounded border border-purple-200\"},[_c('div',{staticClass:\"flex items-center pb-2\"},[_c('div',{staticClass:\"pl-2 w-12\"},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-chevron-down\",\"color\":\"black\",\"size\":\"xl\"},nativeOn:{\"click\":function($event){return _vm.tableJobRowClick(idx)}}})],1),_c('div',{staticClass:\"w-36\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.connote))])]),_c('div',{staticClass:\"w-24\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(_vm.arJobStatuses.find(x => x.value === job.status)?.text))])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.location_code))])]),_c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.total_weight))])]),_c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.total_volume))])]),_c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.items.length))])]),_c('div',{staticClass:\"w-28\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(job.scans.length))])]),_c('div',{staticClass:\"w-14\"},[(Object.keys(job.pod).length === 0)?_c('span',[_vm._v(\"No\")]):_c('span',[_vm._v(\"Yes\")])]),_c('div',{staticClass:\"w-28 flex\"},[_c('Tooltip',{attrs:{\"text\":\"Download label\",\"class-name\":\"text-white whitespace-nowrap\"}},[_c(VBtn,{staticClass:\"btn-detailed ma-1\",attrs:{\"fab\":\"\",\"small\":\"\",\"color\":\"primary\",\"disabled\":!job.labels},on:{\"click\":function($event){return _vm.downloadLabel(job.id, job.connote)}}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-download\")])],1)],1),_c('PrintActionBtn',{attrs:{\"arJob\":job}})],1)]),_c('Transition',{attrs:{\"name\":\"fade\"}},[(_vm.tableOpenedJobIdx === idx)?_c('section',{staticClass:\"py-4 px-2 bg-white\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"flex justify-start pl-4 mt-2 mb-12\"},[_c('div',{staticClass:\"mr-16 w-72\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold\"},[_vm._v(\"Job type:\")]),_c('p',{staticClass:\"mb-0 text-sm text-right leading\"},[_vm._v(\" \"+_vm._s(job.job_type)+\" \")])]),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold\"},[_vm._v(\"Status:\")]),_c('p',{staticClass:\"mb-0 text-sm text-right leading\"},[_vm._v(\" \"+_vm._s(_vm.arJobStatuses.find(x => x.value === job.status)?.text)+\" \")])]),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold\"},[_vm._v(\"Reference 1:\")]),_c('p',{staticClass:\"mb-0 text-sm text-right leading\"},[_vm._v(_vm._s(job.reference_1))])]),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold\"},[_vm._v(\"Reference 2:\")]),_c('p',{staticClass:\"mb-0 text-sm text-right leading\"},[_vm._v(_vm._s(job.reference_2))])]),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold\"},[_vm._v(\"Service type:\")]),_c('p',{staticClass:\"mb-0 text-sm text-right leading\"},[_vm._v(_vm._s(job.service_type))])])]),_c('div',{staticClass:\"mr-24 w-96\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold\"},[_vm._v(\"Connote:\")]),_c('p',{staticClass:\"mb-0 text-sm text-right uppercase leading\"},[_vm._v(_vm._s(job.connote))])]),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold\"},[_vm._v(\"AR code:\")]),_c('p',{staticClass:\"mb-0 text-sm text-right leading\"},[_vm._v(\" \"+_vm._s(job.location_code)+\" \")])]),(job.eta)?_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold\"},[_vm._v(\"ETA:\")]),_c('p',{staticClass:\"mb-0 text-sm text-right leading\"},[_vm._v(_vm._s(job.eta))])]):_vm._e(),_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"mb-0 text-sm font-semibold\"},[_vm._v(\"Instructions:\")]),_c('p',{staticClass:\"mb-0 text-sm text-right leading-4\"},[_vm._v(_vm._s(job.instructions))])])])]),(job && job.stops)?_c('StopDrawing',{staticClass:\"mt-12 pl-7 pr-28 drawing\",attrs:{\"stops\":job.stops,\"editable\":false}}):_vm._e()],1),_c('div',{staticClass:\"w-96 pr-2\"},[_c('h3',{staticClass:\"text-base font-semibold\"},[_vm._v(\"Products:\")]),_c('div',{staticClass:\"flex mt-2\"},[_c('div',{staticClass:\"w-36 text-sm font-semibold\"},[_vm._v(\"Type\")]),_c('div',{staticClass:\"w-20 text-sm font-semibold\"},[_vm._v(\"Volume\")]),_c('div',{staticClass:\"w-20 text-sm font-semibold\"},[_vm._v(\"Weight\")])]),_vm._l((job.items),function(item,jdx){return _c('div',{key:jdx,staticClass:\"flex\"},[_c('div',{staticClass:\"w-36 text-sm\"},[_vm._v(_vm._s(_vm.arJobItemsTypes.find(x => x.value === item.item_type)?.text))]),_c('div',{staticClass:\"w-20 text-sm\"},[_vm._v(_vm._s(item.volume)+\" m³\")]),_c('div',{staticClass:\"w-20 text-sm\"},[_vm._v(_vm._s(item.weight)+\" kg\")])])}),_c('div',{staticClass:\"flex mt-2 pt-2 border-t border-purple-200\"},[_c('div',{staticClass:\"w-36 text-sm font-semibold\"},[_vm._v(\"Total:\")]),_c('div',{staticClass:\"w-20 text-sm\"},[_vm._v(_vm._s(job.total_volume)+\" m³\")]),_c('div',{staticClass:\"w-20 text-sm\"},[_vm._v(_vm._s(job.total_weight)+\" kg\")])])],2)]),(job.special_options?.length)?_c('div',{staticClass:\"ml-4\"},[_c('h4',{staticClass:\"mt-8 mb-2 font-semibold\"},[_vm._v(\"Special options:\")]),_vm._l((job.special_options),function(option,idx){return _c('div',{key:idx,staticClass:\"flex\"},[_c('div',[_vm._v(_vm._s(option.isPickup ? 'Pickup' : 'Delivery')+\" -\")]),(!!_vm.getARServiceData(option.specialOptionId))?_c('div',{staticClass:\"ml-2\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(_vm._s(_vm.getARServiceData(option.specialOptionId).code))]),_vm._v(\" (\"+_vm._s(_vm.getARServiceData(option.specialOptionId).name)+\") \")]):_vm._e(),(option.notes)?_c('div',{staticClass:\"ml-2\"},[_vm._v(\"- \"+_vm._s(option.notes))]):_vm._e()])})],2):_vm._e()]):_vm._e()])],1)})],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-36\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Connote\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-24\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Status\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Location code\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Total weight\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Total volume\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Items\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-28\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Scans\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-12\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"POD\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-28\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Actions\")])])\n}]\n\nexport { render, staticRenderFns }","\nimport { AirroadJobDetailed } from '@/models/airRoad';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { downloadAirRoadJobsPDF } from '@/api';\nimport { notificationErrorText, jobItemsTypes, arJobStatuses } from '@/utils/PortalConstants';\nimport { getARServiceData } from '@/utils/Common';\n\nimport Icon from '@/components/UI/Icon.vue';\nimport StopDrawing from '@/components/jobDetailed/StopDrawing/StopDrawing.vue';\nimport Tooltip from '@/components/UI/Tooltip.vue';\nimport PrintActionBtn from '@/components/btns/PrintActionBtn.vue';\n\n@Component({\n components: {\n Icon,\n StopDrawing,\n Tooltip,\n PrintActionBtn,\n },\n})\nexport default class AirRoadJobsDetailed extends Vue {\n @Prop({ type: Array, required: true }) public readonly arJobs!: AirroadJobDetailed[];\n\n private getARServiceData = getARServiceData;\n\n public loading = false;\n public loadingPdf = false;\n\n // AirRoad constants\n public arJobItemsTypes = jobItemsTypes;\n public arJobStatuses = arJobStatuses;\n\n public tableOpenedJobIdx = -1;\n\n // TABLE ROW CLICK\n public tableJobRowClick(idx) {\n if (this.tableOpenedJobIdx === idx) {\n this.tableOpenedJobIdx = -1;\n } else {\n this.tableOpenedJobIdx = idx;\n }\n }\n\n /**\n * Expand vuetify-data-table if data has a single job\n * @private\n */\n private expandIfSingleJob() {\n if (this.arJobs.length === 1) {\n this.tableOpenedJobIdx = 0;\n }\n }\n\n /**\n * Downloads generated PDF from the server.\n * @param id list of AR job IDs.\n * @param connote connote, used to name a PDF file\n * @public\n */\n public downloadLabel(id: number, connote: string) {\n this.loadingPdf = true;\n downloadAirRoadJobsPDF([id])\n .then(res => {\n const blob = new Blob([res.data], { type: 'pdf' });\n const link = document.createElement('a');\n link.href = URL.createObjectURL(blob);\n link.download = `${connote}_labels.pdf`;\n link.click();\n URL.revokeObjectURL(link.href);\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error downloading labels',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loadingPdf = false;\n });\n }\n\n private mounted() {\n this.expandIfSingleJob();\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AirRoadJobsDetailed.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AirRoadJobsDetailed.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AirRoadJobsDetailed.vue?vue&type=template&id=6aaae31a&scoped=true\"\nimport script from \"./AirRoadJobsDetailed.vue?vue&type=script&lang=ts\"\nexport * from \"./AirRoadJobsDetailed.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AirRoadJobsDetailed.scss?vue&type=style&index=0&id=6aaae31a&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6aaae31a\",\n null\n \n)\n\nexport default component.exports","\nimport {\n createJobTicket,\n deleteJobAttachment,\n editJobTicket,\n getDetailedJob,\n getDetailedJobById,\n getJobArticles,\n getJobTicket,\n getReferencesParams,\n uploadJobFiles,\n getZammadChannelsEmail,\n getJobTicketsByJobIdShort,\n getDetailedAirRoadJobByRHId,\n} from '@/api';\nimport store from '@/store';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { isCancel } from 'axios';\nimport { sendError } from '@/helpers/sentry';\nimport Avatar from '@/components/UI/Avatar.vue';\nimport StopDrawing from '@/components/jobDetailed/StopDrawing/StopDrawing.vue';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport Icon from '@/components/UI/Icon.vue';\nimport Header from '@/components/jobDetailed/Header/Header.vue';\nimport Messages from '@/components/jobDetailed/Messages/Messages.vue';\nimport Note from '@/components/jobDetailed/Note/Note.vue';\nimport POD from '@/components/jobDetailed/POD/POD.vue';\nimport Products from '@/components/jobDetailed/Products/Products.vue';\nimport Stop from '@/components/jobDetailed/Stop/Stop.vue';\nimport UploadAttachments from '@/components/UI/UploadAttachments/UploadAttachments.vue';\n\nimport ZammadList from '@/components/jobDetailed/ZammadList.vue';\nimport ZammadTicket from '@/components/jobDetailed/ZammadTicket.vue';\nimport ZammadTicketCreationForm from '@/components/jobDetailed/ZammadTicketCreationForm.vue';\nimport AirRoadJobsDetailed from '@/components/jobDetailed/AirRoad/AirRoadJobsDetailed.vue';\n\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\n// import { JobDetailedData } from '@/models/jobDetailed';\nimport { components } from '@/models/jobDetailed';\ntype DetailedJob = components['schemas']['Job'];\n\nimport { User } from '@/models/main';\n\nimport { JobTicket, JobTicketAtricle, JobTicketResponce, ZammadTicketData } from '@/models/jobTicket';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport { checkTicketIsRfc, cleanEmailString } from '@/utils/Common';\nimport * as routeNames from '@/router/routeNames';\n\nimport * as Sentry from '@sentry/vue';\nimport { AirroadJobDetailed } from '@/models/airRoad';\n\n@Component({\n components: {\n Avatar,\n DateTimezoneToggle,\n Header,\n Icon,\n Messages,\n Note,\n Stop,\n StopDrawing,\n POD,\n Products,\n UploadAttachments,\n AirRoadJobsDetailed,\n ZammadList,\n ZammadTicket,\n ZammadTicketCreationForm,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class JobDetailed extends Vue {\n public jobId = -1;\n private jobDate = '';\n\n public format = format;\n public utcToZonedTime = utcToZonedTime;\n public checkTicketIsRfc = checkTicketIsRfc;\n\n public job: DetailedJob;\n public files: File[] = [];\n\n public loading = false;\n public loadingTickets = false;\n public loadingTicketArticles = false;\n public loadingRfcRequest = false;\n public timeZoneDefault = timeZoneDefault;\n public arJobs: AirroadJobDetailed[] = [];\n\n public newRequestForChangeDialogOpen = false;\n public newMailOpen = false;\n public newMailOpenToTop = false;\n public opsEmails: string[] = [];\n private channelsEmailList: string[] = [];\n\n public user: User;\n\n public zammadFormData: ZammadTicketData = {\n toChips: [],\n ccChips: [],\n subject: '',\n msg: '',\n is_rfc: false,\n };\n\n // Mail data\n // Tickets\n public ticketsData: JobTicketResponce[] = [];\n\n public editingTicketIdx = -1;\n public editingTicketArticles: JobTicketAtricle[] = [];\n public editingTicketData: JobTicketResponce = {\n article_count: 0,\n article_ids: [],\n close_at: '',\n close_diff_in_min: null,\n close_escalation_at: null,\n close_in_min: null,\n create_article_sender: '',\n create_article_sender_id: 0,\n create_article_type: '',\n create_article_type_id: 0,\n created_at: '',\n created_by: '',\n created_by_id: 0,\n customer: '',\n customer_id: 0,\n escalation_at: null,\n first_response_at: '',\n first_response_diff_in_min: 0,\n first_response_escalation_at: null,\n first_response_in_min: '',\n group: '',\n group_id: 0,\n id: 0,\n last_contact_agent_at: '',\n last_contact_at: '',\n last_contact_customer_at: '',\n last_owner_update_at: null,\n note: null,\n number: '',\n organization_id: null,\n owner: '',\n owner_id: 0,\n pending_time: null,\n preferences: {\n escalation_calculation: {\n calendar_id: 0,\n calendar_updated_at: '',\n escalation_disabled: false,\n first_response_at: '',\n last_contact_at: '',\n last_update_at: '',\n sla_id: 0,\n sla_updated_at: '',\n },\n },\n calendar_id: 0,\n calendar_updated_at: '',\n escalation_disabled: false,\n last_update_at: '',\n sla_id: 0,\n sla_updated_at: '',\n priority: '',\n priority_id: 0,\n rh_job: '',\n state: '',\n state_id: 0,\n ticket_time_accounting: [],\n ticket_time_accounting_ids: [],\n time_unit: null,\n title: '',\n type: null,\n update_diff_in_min: null,\n update_escalation_at: null,\n update_in_min: null,\n updated_at: '',\n updated_by: '',\n updated_by_id: 0,\n is_rfc: false,\n };\n\n public dialog = false;\n public dialogEditTicket = false;\n public dialogImage = '';\n\n public jobIdClicked(id) {\n if (Number(id) !== this.job.rockhopper_id) {\n this.$router.push({ path: '/job/' + id });\n }\n }\n\n public async setTicketState(state: string, state_id: number) {\n this.loadingRfcRequest = true;\n const newTicketData: JobTicketResponce = {\n ...this.editingTicketData,\n state: state,\n state_id: state_id,\n };\n await editJobTicket(newTicketData)\n .then(() => {\n this.ticketsData[this.editingTicketIdx].state = 'Closed';\n this.ticketsData[this.editingTicketIdx].state_id = 4;\n this.editingTicketData.state = 'Closed';\n this.editingTicketData.state_id = 4;\n this.$notify({\n group: 'network',\n text: 'Ticket successfully closed',\n type: 'success',\n duration: 3000,\n });\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error closing the ticket',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n this.loadingRfcRequest = false;\n }\n\n public zammadListChanged(ticket) {\n const ticketIdx = this.ticketsData.findIndex(x => Number(x.id) === ticket.id);\n if (ticketIdx >= 0) {\n this.ticketsData[ticketIdx] = { ...ticket };\n this.ticketsData[ticketIdx].state = ticket.state;\n this.ticketsData[ticketIdx].state_id = ticket.state_id;\n this.editingTicketData.state = ticket.state;\n this.editingTicketData.state_id = ticket.state_id;\n }\n }\n\n public ticketFormSubmitted(formData: {\n msg: string;\n subject: string;\n is_rfc: boolean;\n toChips: string[];\n ccChips: string[];\n attachments: File[];\n }) {\n this.loadingRfcRequest = true;\n let group = 'IT Support';\n if (process.env.VUE_APP_SENTRY_ENVIRONMENT === 'production') {\n group = 'Service Delivery Team';\n }\n\n const bodyRfc = `
\n

A new request for change of the Job #${this.jobId}\n at ${this.jobDate}


The RFC message:
${formData.msg}
`;\n const bodyNote = `

Job #${this.jobId}\n at ${this.jobDate}


Message:
${formData.msg}
`;\n\n const ticketData: JobTicket = {\n title: formData.subject,\n group: group,\n customer: store.getters['moduleUser/user'].email.toLowerCase(),\n article: {\n subject: formData.is_rfc ? `[RFC] ${formData.subject}` : formData.subject,\n body: formData.is_rfc ? bodyRfc : bodyNote,\n type: this.$ability.can('staff', 'Job') && !formData.is_rfc ? 'email' : 'note',\n content_type: 'text/html',\n sender: this.$ability.can('staff', 'Job') ? 'Agent' : 'Customer',\n internal: false,\n attachments: formData.attachments,\n ...(!formData.is_rfc && this.$ability.can('staff', 'Job')\n ? { to: cleanEmailString(formData.toChips, this.channelsEmailList).join(', ') }\n : {}),\n ...(!formData.is_rfc && this.$ability.can('staff', 'Job')\n ? { cc: cleanEmailString(formData.ccChips, this.channelsEmailList).join(', ') }\n : {}),\n },\n rh_job: this.jobId,\n is_rfc: formData.is_rfc,\n };\n //\n createJobTicket(ticketData)\n .then(() => {\n this.newRequestForChangeDialogOpen = false;\n this.newMailOpen = false;\n this.zammadFormData.toChips = [];\n this.zammadFormData.subject = '';\n this.zammadFormData.msg = '';\n this.zammadFormData.ccChips = this.opsEmails;\n this.$notify({\n group: 'network',\n text: 'The ticket was successfully created',\n type: 'success',\n duration: 3000,\n });\n this.loading = true;\n setTimeout(() => {\n this.fetchData();\n }, 5000);\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'An error occurred when creating the ticket',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loadingRfcRequest = false;\n });\n }\n\n private setModalOpenDirection(): void {\n const el = document.querySelector('[attr-scroll-id=\"newRequest\"]');\n if (el) {\n const distFromElToViewportBottom = el.getBoundingClientRect().top + el.getBoundingClientRect().height + 300;\n if (window.innerHeight - distFromElToViewportBottom < 0) {\n this.newMailOpenToTop = true;\n } else {\n this.newMailOpenToTop = false;\n }\n }\n }\n\n public newTicketClicked(): void {\n this.newRequestForChangeDialogOpen = !this.newRequestForChangeDialogOpen;\n this.setModalOpenDirection();\n }\n\n public newMailClicked(): void {\n this.newMailOpen = !this.newMailOpen;\n this.setModalOpenDirection();\n }\n\n public newRequestForChangeDialogClickedOutside(): void {\n this.newRequestForChangeDialogOpen = false;\n }\n\n public newMailClickedOutside(): void {\n this.newMailOpen = false;\n }\n\n public ticketDialogCloseClicked(): void {\n this.dialogEditTicket = false;\n }\n\n // Ticket title click\n public zammadArticleClicked(ticket: { id: number }): void {\n this.ticketClicked(ticket.id);\n }\n\n public async ticketClicked(id: number): Promise {\n this.dialogEditTicket = true;\n this.loadingTicketArticles = true;\n this.editingTicketIdx = this.ticketsData.findIndex(x => x.id === id);\n // Get ticket\n await getJobTicket(id)\n .then(res => {\n this.editingTicketData = res;\n })\n .catch(() => {\n this.ticketDialogCloseClicked();\n this.$notify({\n group: 'network',\n title: 'Error getting the ticket',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n // Get articles\n await getJobArticles(id)\n .then(res => {\n this.editingTicketArticles = res;\n })\n .catch(() => {\n this.ticketDialogCloseClicked();\n this.$notify({\n group: 'network',\n title: 'Error getting the ticket',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n this.loadingTicketArticles = false;\n }\n\n public deleteAttachment(id: number): void {\n deleteJobAttachment(id)\n .then(() => {\n const filteredAttachments = this.job.attachments?.filter(x => x.id !== id);\n this.job.attachments = filteredAttachments;\n this.$forceUpdate();\n this.$notify({\n group: 'network',\n text: 'File successfully deleted',\n type: 'success',\n duration: 3000,\n });\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error deleting the job',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n }\n\n private async getOpsEmails(): Promise {\n await getReferencesParams(this.job.customer)\n .then(res => {\n this.opsEmails = res.ops_emails;\n this.zammadFormData.ccChips = this.opsEmails;\n })\n .catch(err => {\n sendError(err, 'JobDetailed-getOpsEmails');\n });\n }\n\n private async getZammadChannelsEmailWrapper() {\n await getZammadChannelsEmail()\n .then(res => {\n this.channelsEmailList = res;\n })\n .catch(err => {\n sendError(err, 'JobDetailed-getZammadChannels');\n });\n }\n\n private async getJobTickets() {\n await getJobTicketsByJobIdShort(this.jobId, this.jobDate)\n .then(res => {\n // Mail tickets:\n this.ticketsData = res;\n })\n .catch(err => {\n sendError(err, 'JobDetailed-getTicketByJobShort');\n });\n }\n\n private async getAirRoadJobsData(rh_id: number, rh_date: string) {\n getDetailedAirRoadJobByRHId(rh_id, rh_date)\n .then((data: AirroadJobDetailed[]) => {\n this.arJobs = data;\n })\n .catch(err => {\n this.$notify({\n group: 'network',\n title: 'Error getting AirRoad detailed data',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(err);\n });\n });\n }\n\n public fetchData(withoutLoaders?: boolean, job_date?: string): void {\n if (job_date) {\n this.jobDate = job_date;\n this.$router.replace({\n name: routeNames.DETAILED_QUERY_JOB,\n query: { job_id: String(this.jobId), job_date: job_date },\n });\n }\n if (!withoutLoaders) {\n this.loading = true;\n }\n getDetailedJob(this.jobId, this.jobDate)\n .then(async (data: DetailedJob) => {\n this.job = data;\n await this.getOpsEmails();\n await this.getZammadChannelsEmailWrapper();\n await this.getJobTickets();\n await this.getAirRoadJobsData(data.rockhopper_id, data.rockhopper_date);\n })\n .catch(err => {\n if (!isCancel(err)) {\n sendError(err, 'JobDetailed');\n if (err.response.status !== 401) {\n this.$router.push({ path: '/error' });\n }\n }\n })\n .finally(() => {\n if (!withoutLoaders) {\n this.loading = false;\n }\n });\n }\n\n private fetchDataById(id: number): void {\n this.loading = true;\n getDetailedJobById(id)\n .then(async (data: DetailedJob) => {\n this.job = data;\n await this.getOpsEmails();\n await this.getZammadChannelsEmailWrapper();\n // Set job id & date:\n this.jobId = id;\n this.jobDate = data.rockhopper_date;\n await this.getJobTickets();\n await this.getAirRoadJobsData(this.jobId, this.jobDate);\n })\n .catch(err => {\n if (!isCancel(err)) {\n sendError(err, 'JobDetailed');\n if (err.response.status !== 401) {\n this.$router.push({ path: '/error' });\n }\n }\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n // FOR UPDATING MESSAGES\n public fetchDataNoLoader(): void {\n getDetailedJob(this.jobId, this.jobDate)\n .then((data: DetailedJob) => {\n this.job = data;\n this.$forceUpdate();\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error updating the job',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n }\n\n public changeFiles(files: File[]): void {\n this.files = files;\n if (this.files.length > 0) {\n const params = {\n rh_id: Number(this.job.rockhopper_id),\n rh_date: String(this.job.rockhopper_date),\n files: this.files,\n };\n uploadJobFiles(params)\n .then(res => {\n if (res?.data?.saved.length > 0) {\n res?.data?.saved.map((item: { file: any; id: any }) => {\n this.job.attachments?.push({\n created_at: '',\n file: item.file,\n id: item.id,\n uploaded_by: '',\n });\n });\n this.$forceUpdate();\n this.$notify({\n group: 'network',\n text: 'File(s) successfully uploaded',\n type: 'success',\n duration: 3000,\n });\n }\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n text: 'Attachments upload failed',\n type: 'warn',\n });\n });\n }\n }\n\n private created() {\n // Set job Id & date for old route\n if (this.$route.query.job_id) {\n this.jobId = Number(this.$route.query.job_id);\n }\n if (this.$route.query.job_date) {\n this.jobDate = String(this.$route.query.job_date);\n }\n // For Id in the URL\n if (this.$route.params.id) {\n // New route: `/job/:id/`\n this.fetchDataById(Number(this.$route.params.id));\n } else if (!this.jobId && !this.jobDate) {\n this.$router.push({ path: '/dash' });\n } else {\n // Old route: `/detailed-job?job_id=${id}&job_date=${date}`\n this.fetchData();\n }\n // Route changes watcher:\n this.$watch(\n () => this.$route.params,\n (toParams, previousParams) => {\n if (toParams.id && previousParams.id) {\n this.fetchDataById(Number(this.$route.params.id));\n }\n },\n );\n }\n\n private mounted() {\n store.dispatch('setRouterData', {\n name: this.$route.name,\n url: this.$route.fullPath,\n });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobDetailed.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobDetailed.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobDetailed.vue?vue&type=template&id=28da985b&scoped=true\"\nimport script from \"./JobDetailed.vue?vue&type=script&lang=ts\"\nexport * from \"./JobDetailed.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobDetailed.scss?vue&type=style&index=0&id=28da985b&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"28da985b\",\n null\n \n)\n\nexport default component.exports","import { VDataTable } from 'vuetify/lib/components/VDataTable';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"bg-purple-50 border-b border-puple-600 p-3\"},[_c('div',{staticClass:\"px-3\"},[_c('BackButton',{}),_c('h2',{staticClass:\"text-4xl font-semibold leading-10\"},[_vm._v(\"Job History\")]),_c('p',{staticClass:\"text-gray-500 text-base mb-0\"},[_vm._v(\"Shows all job actions\")])],1)]),_c('div',{staticClass:\"relative p-6\"},[_c('div',{staticClass:\"table-wrapper\"},[_c('div',{staticClass:\"mt-4\"},[_c(VDataTable,{staticClass:\"elevation-1\",attrs:{\"dense\":\"\",\"headers\":_vm.headers,\"items\":_vm.jobHistory,\"sort-by\":['action_time'],\"sort-desc\":[false],\"loading\":_vm.isLoading,\"items-per-page\":-1}})],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Vue, Component } from 'vue-property-decorator';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport { Header } from '@/models/main';\nimport { getJobHistory } from '@/api';\nimport { JobHistory as JobHistoryType } from '@/models/jobDetailed';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport { format, utcToZonedTime } from 'date-fns-tz';\n\n@Component({\n components: {\n BackButton,\n },\n})\nexport default class JobHistory extends Vue {\n private jobHistory: JobHistoryType[] = [];\n private isLoading = false;\n private headers: Header[] = [\n { text: 'Source', value: 'source', align: 'left' },\n { text: 'Time', value: 'action_time', align: 'left', sortable: true },\n { text: 'Message', value: 'change_message', align: 'left', sortable: false },\n { text: 'User', value: 'user', align: 'left', sortable: false },\n ];\n private jobId: number;\n private jobDate: string;\n\n /** on created hook. gets job id and date from URL */\n private created() {\n // Set job_id & job_date\n if (this.$route.query.job_id) {\n this.jobId = Number(this.$route.query.job_id);\n }\n if (this.$route.query.job_date) {\n this.jobDate = String(this.$route.query.job_date);\n }\n if (this.jobId && this.jobDate) {\n this.getJobHistory(this.jobId, this.jobDate);\n }\n }\n\n /** get date from API and format time at Sydney TZ */\n private getJobHistory(id: number, date: string) {\n this.isLoading = true;\n getJobHistory(id, date)\n .then(res => {\n this.isLoading = false;\n this.jobHistory = res;\n this.jobHistory.forEach(item => {\n item.action_time = format(utcToZonedTime(item.action_time, timeZoneDefault), 'yyyy-MM-dd HH:mm:ss');\n });\n })\n .catch(() => {\n this.isLoading = false;\n });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobHistory.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobHistory.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobHistory.vue?vue&type=template&id=b3e3c22a&scoped=true\"\nimport script from \"./JobHistory.vue?vue&type=script&lang=ts\"\nexport * from \"./JobHistory.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b3e3c22a\",\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"relative\"},[_c('div',{staticClass:\"w-full\"},[(!_vm.loading && _vm.articlesData.length)?_c('div',{staticClass:\"h-20 pb-2 flex flex-col border-b border-purple-200 bg-purple-50\"},[_c('div',{staticClass:\"w-min ml-5 mt-1 flex items-center back-btn cursor-pointer\",on:{\"click\":function($event){return _vm.$router.back()}}},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-arrow-left\")]),_c('span',{staticClass:\"text text-gray-600\"},[_vm._v(\"Back\")])],1),_c('div',{staticClass:\"pt-1 px-6 flex justify-start align-center\"},[_c('div',{staticClass:\"flex flex-col justify-start border-r border-purple-200 pr-5 h-full\"},[_c('span',{staticClass:\"text-sm leading-4\"},[_vm._v(\"Service desk /\")]),_c('span',{staticClass:\"flex text-xl leading-6 font-semibold whitespace-nowrap\"},[_vm._v(\"Ticket # \"),_c('a',{staticClass:\"flex items-center underline hover:no-underline cursor-pointer\",attrs:{\"href\":'https://service.kkts.com.au/#ticket/zoom/' + _vm.articlesData[0].ticket_id,\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.articlesData[0].ticket_id)+\" \"),_c('Icon',{staticClass:\"ml-0.5 cursor-pointer\",attrs:{\"name\":\"mdi-open-in-new\",\"color\":\"black\",\"colorIntensity\":\"200\",\"size\":\"lg\"}})],1)])]),_c('div',{staticClass:\"w-full flex justify-start items-start px-5 whitespace-nowrap h-full\"},[_c('div',{staticClass:\"w-min pr-5 flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Status:\")]),_c('span',{staticClass:\"text-lg font-semibold leading-6\"},[_vm._v(_vm._s(_vm.ticketData.state ? _vm.ticketData.state.charAt(0).toUpperCase() + _vm.ticketData.state.slice(1) : 'Unknown')+\" \")])]),(!_vm.ticketData.is_rfc)?_c('div',{staticClass:\"w-min pr-5 flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Is RFC:\")]),_c('span',{staticClass:\"text-lg font-semibold leading-6\"},[_vm._v(\"No \")])]):_vm._e(),_c('div',{staticClass:\"w-min pr-5 flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Created by:\")]),_c('span',{staticClass:\"text-lg font-semibold leading-6\"},[_vm._v(_vm._s(_vm.articlesData[0].created_by)+\" \")])]),_c('div',{staticClass:\"w-min pr-5 flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Created at:\")]),_c('span',{staticClass:\"text-lg font-semibold leading-6\"},[_vm._v(_vm._s(_vm.format( _vm.utcToZonedTime(new Date(_vm.articlesData[0].created_at), _vm.user.timezone || _vm.timeZoneDefault), 'yyyy-MM-dd hh:mm aa', ))+\" \")])]),(_vm.articlesData[0].updated_by !== _vm.articlesData[0].created_by)?_c('div',{staticClass:\"w-min pr-5 flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Updated by:\")]),_c('span',{staticClass:\"text-lg font-semibold leading-6\"},[_vm._v(_vm._s(_vm.articlesData[0].updated_by))])]):_vm._e(),(_vm.articlesData[0].updated_at !== _vm.articlesData[0].created_at)?_c('div',{staticClass:\"w-min pr-5 flex flex-col\"},[_c('span',{staticClass:\"text-sm text-gray-600 leading-4\"},[_vm._v(\"Updated at:\")]),_c('span',{staticClass:\"text-lg font-semibold leading-6\"},[_vm._v(_vm._s(_vm.format( _vm.utcToZonedTime(new Date(_vm.articlesData[0].updated_at), _vm.user.timezone || _vm.timeZoneDefault), 'yyyy-MM-dd hh:mm aa', ))+\" \")])]):_vm._e()]),_c('div',{staticClass:\"flex border-l border-purple-200 pl-5 h-full\"},[_c('AffiliatedJobsHeaderItem',{attrs:{\"jobsString\":_vm.ticketData.rh_job}})],1),(_vm.ticketData.state !== 'closed')?_c('div',{staticClass:\"h-10 ml-5 pl-5 flex justify-end items-center group cursor-pointer border-l border-purple-200\"},[_c('p',{staticClass:\"mb-0 underline group-hover:no-underline text-base font-medium whitespace-nowrap\",on:{\"click\":function($event){return _vm.setTicketState('closed', 4)}}},[_vm._v(\" Close the request \")]),_c('Icon',{staticClass:\"ml-1\",attrs:{\"name\":\"mdi-close-box-outline\",\"color\":\"black\",\"size\":\"2xl\"}})],1):_vm._e(),_c('div',{staticClass:\"w-full\"})])]):_vm._e()]),_c('div',{},[(!_vm.loading && _vm.articlesData.length)?_c('div',[_c('ZammadTicket',{staticClass:\"w-240 max-w-7xl mb-8\",attrs:{\"articlesData\":_vm.articlesData,\"ticketData\":_vm.ticketData,\"loadingRfcRequest\":_vm.loadingCloseRfc},on:{\"zammadListChanged\":_vm.zammadListChanged}})],1):_c('div',{staticClass:\"flex py-24 justify-center items-center\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"48\"}},[_vm._v(\"mdi-loading\")])],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"affiliatedJobHeaderItem\"},[_c('div',{staticClass:\"itemTitle\"},[_vm._v(\"Affiliated job(s):\")]),_c('div',{staticClass:\"itemValue\"},[(_vm.jobsArray.length)?[(_vm.isDialogs)?_vm._l((_vm.jobsArray),function(jobId,index){return _c('div',{key:index,staticClass:\"jobItem\"},[_c('AffiliatedJobsDialogLink',{staticClass:\"jobLink\",attrs:{\"jobId\":jobId}},[_vm._v(\"#\"+_vm._s(jobId))]),(index != _vm.jobsArray.length - 1)?[_vm._v(\", \")]:_vm._e()],2)}):_vm._l((_vm.jobsArray),function(jobId,index){return _c('div',{key:index,staticClass:\"jobItem\"},[_c('AffiliatedJobsTooltipLink',{staticClass:\"jobLink\",attrs:{\"jobId\":jobId}},[_vm._v(\"#\"+_vm._s(jobId))]),(index != _vm.jobsArray.length - 1)?[_vm._v(\", \")]:_vm._e()],2)})]:[_c('span',{staticClass:\"jobItem\"},[_vm._v(\"—\")])]],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('span',[_c('a',{on:{\"click\":function($event){return _vm.handleJobClick(_vm.jobId)}}},[_vm._t(\"default\")],2),_c('AffiliatedJobsPreviewJobDialog',{attrs:{\"jobId\":_vm.previewJobId,\"isShow\":_vm.isShow},on:{\"close\":function($event){return _vm.handleDialogClose()}}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VDialog } from 'vuetify/lib/components/VDialog';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VDialog,{attrs:{\"scrollable\":true,\"content-class\":_vm.$style.affiliatedJobsPreviewJobDialog},on:{\"input\":_vm.handleInput},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('TooltipWindow',{scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('PreviewJobHeader',{attrs:{\"jobId\":_vm.jobId,\"jobDate\":_vm.jobDate}})]},proxy:true}])},[_c('PreviewJobLoadBody',{attrs:{\"jobId\":_vm.jobId,\"isShow\":_vm.isShow},on:{\"loaded\":_vm.handleLoaded}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"tooltipWindow\"},[_c('div',{staticClass:\"header\"},[_vm._t(\"header\")],2),_c('div',{staticClass:\"main\"},[_vm._t(\"default\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./TooltipWindow.vue?vue&type=template&id=cb4a42d6&scoped=true\"\nvar script = {}\nimport style0 from \"./TooltipWindow.scss?vue&type=style&index=0&id=cb4a42d6&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"cb4a42d6\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"previewJobHeader\"},[_vm._v(\" Job \"),_c('router-link',{staticClass:\"link\",attrs:{\"to\":`/job/${_vm.jobId}`}},[_vm._v(\"#\"+_vm._s(_vm.jobId))]),(_vm.jobDate)?[_vm._v(\", \"+_vm._s(_vm.jobDate))]:_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component({})\nexport default class PreviewJobHeader extends Vue {\n @Prop(Number) public jobId: number;\n @Prop(String) public jobDate: string;\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PreviewJobHeader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PreviewJobHeader.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PreviewJobHeader.vue?vue&type=template&id=4905b114&scoped=true\"\nimport script from \"./PreviewJobHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./PreviewJobHeader.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PreviewJobHeader.scss?vue&type=style&index=0&id=4905b114&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4905b114\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.loading)?_c('Loading',{attrs:{\"active\":_vm.loading,\"is-full-page\":false,\"opacity\":0},on:{\"update:active\":function($event){_vm.loading=$event}}}):_vm._e(),(_vm.job)?_c('PreviewJobBody',{attrs:{\"job\":_vm.job}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"previewJobBody\"},[_c('div',{staticClass:\"jobParams\"},[_c('table',{staticClass:\"jobParamsTable\"},[_c('tr',[_c('td',[_vm._v(\"Customer:\")]),_c('td',[_vm._v(_vm._s(_vm.job.customer || '—'))])]),_c('tr',[_c('td',[_vm._v(\"Status:\")]),_c('td',[_vm._v(_vm._s(_vm.job.status || '—'))])]),_c('tr',[_c('td',[_vm._v(\"POD required:\")]),_c('td',[_vm._v(_vm._s(_vm.job.require_pod ? 'Yes' : 'No'))])])]),_c('table',{staticClass:\"jobParamsTable\"},[_c('tr',[_c('td',[_vm._v(\"Booked by:\")]),_c('td',[_vm._v(_vm._s(_vm.job.booked_by || '—'))])]),_c('tr',[_c('td',[_vm._v(\"Booked at:\")]),(_vm.job.booked_at)?_c('td',[_c('DateTimezoneToggle',{attrs:{\"dateString\":_vm.job.booked_at,\"state\":_vm.job.stops[0].state,\"pattern\":\"yyyy-MM-dd hh:mm a\"}})],1):_c('td',[_vm._v(\"—\")])])]),_c('table',{staticClass:\"jobParamsTable\"},[_c('tr',[_c('td',[_vm._v(\"Reference 1:\")]),_c('td',[_vm._v(_vm._s(_vm.job.reference_1 || '—'))])]),_c('tr',[_c('td',[_vm._v(\"Reference 2:\")]),_c('td',[_vm._v(_vm._s(_vm.job.reference_2 || '—'))])]),_c('tr',[_c('td',[_vm._v(\"Reference 3:\")]),_c('td',[_vm._v(_vm._s(_vm.job.reference_3 || '—'))])])])]),_c('PreviewJobStopDrawing',{attrs:{\"stops\":_vm.job.stops}}),_c('div',{staticClass:\"stopParams\"},_vm._l((_vm.job.stops),function(stop,index){return _c('div',{key:index,staticClass:\"paramsWrapper\"},[_c('table',{staticClass:\"stopParamsTable\"},[_c('tr',[_c('td',[_vm._v(\"Time required:\")]),(stop.required_at)?_c('td',[_c('DateTimezoneToggle',{attrs:{\"dateString\":stop.required_at,\"state\":_vm.job.stops[0].state,\"pattern\":\"yyyy-MM-dd hh:mm a\"}})],1):_c('td',[_vm._v(\"—\")])]),_c('tr',[_c('td',[_vm._v(\"Driver:\")]),_c('td',[_vm._v(_vm._s(stop.driver_is || '—'))])]),_c('tr',[_c('td',[_vm._v(\"Arrived at:\")]),(stop.arrived_at)?_c('td',[_c('DateTimezoneToggle',{attrs:{\"dateString\":stop.arrived_at,\"state\":_vm.job.stops[0].state,\"pattern\":\"yyyy-MM-dd hh:mm a\"}})],1):_c('td',[_vm._v(\"—\")])]),_c('tr',[_c('td',[_vm._v(\"Departed at:\")]),(stop.departed_at)?_c('td',[_c('DateTimezoneToggle',{attrs:{\"dateString\":stop.departed_at,\"state\":_vm.job.stops[0].state,\"pattern\":\"yyyy-MM-dd hh:mm a\"}})],1):_c('td',[_vm._v(\"—\")])]),_c('tr',[_c('td',[_vm._v(\"Attributes:\")]),(stop.attributes && stop.attributes.length)?_c('td',[_vm._v(_vm._s(stop.attributes.join(', ')))]):_c('td',[_vm._v(\"—\")])]),_c('tr',[_c('td',[_vm._v(\"Services:\")]),(stop.services.length)?_c('td',[_c('StopServices',{attrs:{\"services\":stop.services}})],1):_c('td',[_vm._v(\"—\")])])])])}),0)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"previewJobStopDrawing\"},_vm._l((_vm.stops),function(stop,index){return _c('div',{key:index,staticClass:\"stop\"},[_c('div',{staticClass:\"stopItem\"},[_c('div',{staticClass:\"octagonWrap\"},[_c('div',{staticClass:\"octagon\"},[_vm._v(_vm._s(index + 1))])]),_c('div',{staticClass:\"pole\"})]),_c('div',{staticClass:\"stopItem\"},[_c('div',{staticClass:\"stopName\"},[_vm._v(_vm._s(stop.name))]),_c('div',{staticClass:\"stopAddr\"},[_vm._v(\" \"+_vm._s([stop.address_line_1, stop.address_line_2].filter(i => i).join(', '))+\" \"),_c('br'),_vm._v(\" \"+_vm._s([stop.suburb, stop.state, stop.post_code].filter(i => i).join(', '))+\" \")])])])}),0)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { JobDetailedStop } from '@/models/jobDetailed';\n\n@Component\nexport default class PreviewJobStopDrawing extends Vue {\n @Prop(Array) public stops: JobDetailedStop[];\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PreviewJobStopDrawing.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PreviewJobStopDrawing.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PreviewJobStopDrawing.vue?vue&type=template&id=7218daca&scoped=true\"\nimport script from \"./PreviewJobStopDrawing.vue?vue&type=script&lang=ts\"\nexport * from \"./PreviewJobStopDrawing.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PreviewJobStopDrawing.scss?vue&type=style&index=0&id=7218daca&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7218daca\",\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { JobDetailedData } from '@/models/jobDetailed';\nimport PreviewJobStopDrawing from '@/components/jobDetailed//previewJob/PreviewJobStopDrawing.vue';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport StopServices from '@/components/jobDetailed/StopServices.vue';\n\n@Component({\n components: {\n PreviewJobStopDrawing,\n DateTimezoneToggle,\n StopServices,\n },\n})\nexport default class PreviewJobDialogBody extends Vue {\n @Prop(Object) public job: JobDetailedData | null;\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PreviewJobBody.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PreviewJobBody.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PreviewJobBody.vue?vue&type=template&id=5d22e630&scoped=true\"\nimport script from \"./PreviewJobBody.vue?vue&type=script&lang=ts\"\nexport * from \"./PreviewJobBody.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PreviewJobBody.scss?vue&type=style&index=0&id=5d22e630&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5d22e630\",\n null\n \n)\n\nexport default component.exports","\nimport { sendError } from '@/helpers/sentry';\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport PreviewJobBody from '@/components/jobDetailed/previewJob/PreviewJobBody.vue';\nimport { getDetailedJobById } from '@/api';\n// import { JobDetailedData } from '@/models/jobDetailed';\nimport { components } from '@/models/jobDetailed';\ntype JobDetailedData = components['schemas']['Job'];\n\n@Component({\n components: {\n PreviewJobBody,\n },\n})\nexport default class PreviewJobLoadBody extends Vue {\n @Prop(Number) public jobId: number;\n @Prop(Boolean) public isShow: boolean;\n\n public loading = false;\n public job: JobDetailedData | null = null;\n\n @Watch('isShow', { immediate: true })\n private watchIsShow(isShow: boolean) {\n if (isShow) {\n this.fetchDataById(this.jobId);\n }\n }\n\n private fetchDataById(id: number): void {\n this.loading = true;\n this.job = null;\n getDetailedJobById(id)\n .then((job: JobDetailedData) => {\n this.job = job;\n this.$emit('loaded', job);\n })\n .catch(err => {\n sendError(err, 'PreviewJobLoadBody');\n })\n .finally(() => {\n this.loading = false;\n });\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PreviewJobLoadBody.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PreviewJobLoadBody.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PreviewJobLoadBody.vue?vue&type=template&id=db89f6e2\"\nimport script from \"./PreviewJobLoadBody.vue?vue&type=script&lang=ts\"\nexport * from \"./PreviewJobLoadBody.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport TooltipWindow from '@/components/windows/TooltipWindow.vue';\nimport PreviewJobHeader from '@/components/jobDetailed/previewJob/PreviewJobHeader.vue';\nimport PreviewJobLoadBody from '@/components/jobDetailed/previewJob/PreviewJobLoadBody.vue';\nimport { JobDetailedData } from '@/models/jobDetailed';\n\n@Component({\n components: {\n TooltipWindow,\n PreviewJobHeader,\n PreviewJobLoadBody,\n },\n})\nexport default class AffiliatedJobsPreviewJobDialog extends Vue {\n @Prop(Number) public jobId: number;\n @Prop(Boolean) public isShow: boolean;\n\n public dialog = false;\n public jobDate = '';\n\n @Watch('isShow', { immediate: true })\n private watchIsShow(isShow: boolean) {\n this.dialog = isShow;\n if (!isShow) {\n this.jobDate = '';\n }\n }\n\n public handleLoaded(job: JobDetailedData): void {\n this.jobDate = job.rockhopper_date;\n }\n\n public handleInput() {\n this.$emit('close');\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AffiliatedJobsPreviewJobDialog.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AffiliatedJobsPreviewJobDialog.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"AffiliatedJobsPreviewJobDialog_sidemenu_ioVPe\",\"layout-wrapper\":\"AffiliatedJobsPreviewJobDialog_layout-wrapper_cXAcc\",\"wrapper-portal\":\"AffiliatedJobsPreviewJobDialog_wrapper-portal_fmLVl\",\"wrapper-portal-dash\":\"AffiliatedJobsPreviewJobDialog_wrapper-portal-dash_pgLlm\",\"container\":\"AffiliatedJobsPreviewJobDialog_container_nMra0\",\"b-fa\":\"AffiliatedJobsPreviewJobDialog_b-fa_cY2Zz\",\"mdi-stairs\":\"AffiliatedJobsPreviewJobDialog_mdi-stairs_hxqVK\",\"mdi-progress-wrench\":\"AffiliatedJobsPreviewJobDialog_mdi-progress-wrench_FJBRI\",\"mdi-wrench\":\"AffiliatedJobsPreviewJobDialog_mdi-wrench_K8n9Y\",\"mdi-file-document\":\"AffiliatedJobsPreviewJobDialog_mdi-file-document_BZjHd\",\"mdi-account\":\"AffiliatedJobsPreviewJobDialog_mdi-account_ZHuom\",\"mdi-caravan\":\"AffiliatedJobsPreviewJobDialog_mdi-caravan_R8j8l\",\"mdi-forklift\":\"AffiliatedJobsPreviewJobDialog_mdi-forklift_nKaab\",\"mdi-account-plus\":\"AffiliatedJobsPreviewJobDialog_mdi-account-plus_j6c9u\",\"mdi-format-align-bottom\":\"AffiliatedJobsPreviewJobDialog_mdi-format-align-bottom_kY4Pq\",\"mdi-clock-alert\":\"AffiliatedJobsPreviewJobDialog_mdi-clock-alert_HXD3t\",\"mdi-school\":\"AffiliatedJobsPreviewJobDialog_mdi-school_Gn8HE\",\"mdi-face-mask\":\"AffiliatedJobsPreviewJobDialog_mdi-face-mask__L8Ia\",\"fa\":\"AffiliatedJobsPreviewJobDialog_fa_dHoUy\",\"fa-angle-up\":\"AffiliatedJobsPreviewJobDialog_fa-angle-up_pZd8q\",\"fa-angle-left\":\"AffiliatedJobsPreviewJobDialog_fa-angle-left_EjBoP\",\"fa-search\":\"AffiliatedJobsPreviewJobDialog_fa-search_X6WOn\",\"fa-consolidate\":\"AffiliatedJobsPreviewJobDialog_fa-consolidate_UBnnP\",\"fa-split\":\"AffiliatedJobsPreviewJobDialog_fa-split_lNmF7\",\"mdi-food-fork-drink\":\"AffiliatedJobsPreviewJobDialog_mdi-food-fork-drink_eLUiu\",\"mdi-package-variant\":\"AffiliatedJobsPreviewJobDialog_mdi-package-variant_UOGgP\",\"mdi-call-merge\":\"AffiliatedJobsPreviewJobDialog_mdi-call-merge_MZCBg\",\"mdi-tray-arrow-up\":\"AffiliatedJobsPreviewJobDialog_mdi-tray-arrow-up_IT3xJ\",\"fa-arrow-circle-up\":\"AffiliatedJobsPreviewJobDialog_fa-arrow-circle-up_n4W6E\",\"fa-arrow-circle-down\":\"AffiliatedJobsPreviewJobDialog_fa-arrow-circle-down_kjn_S\",\"mdi-calendar-check\":\"AffiliatedJobsPreviewJobDialog_mdi-calendar-check_z6gYl\",\"mdi-calendar-remove\":\"AffiliatedJobsPreviewJobDialog_mdi-calendar-remove_AiLcv\",\"stop-tooltip\":\"AffiliatedJobsPreviewJobDialog_stop-tooltip_ar0T7\",\"bold\":\"AffiliatedJobsPreviewJobDialog_bold_jaBmM\",\"tooltip-header\":\"AffiliatedJobsPreviewJobDialog_tooltip-header_G6xjy\",\"tooltip-content\":\"AffiliatedJobsPreviewJobDialog_tooltip-content_nu5vX\",\"stops\":\"AffiliatedJobsPreviewJobDialog_stops_Tb_8W\",\"tooltip-attrs\":\"AffiliatedJobsPreviewJobDialog_tooltip-attrs_UWTgP\",\"attr\":\"AffiliatedJobsPreviewJobDialog_attr_jVULk\",\"warnings\":\"AffiliatedJobsPreviewJobDialog_warnings_RxAmC\",\"b-panel-body-wrap\":\"AffiliatedJobsPreviewJobDialog_b-panel-body-wrap_p1Vh5\",\"b-panel-content\":\"AffiliatedJobsPreviewJobDialog_b-panel-content_noAyi\",\"b-tooltip-content\":\"AffiliatedJobsPreviewJobDialog_b-tooltip-content_FrV_X\",\"t-radio\":\"AffiliatedJobsPreviewJobDialog_t-radio_wQcGS\",\"t-checkbox\":\"AffiliatedJobsPreviewJobDialog_t-checkbox_EQOes\",\"floating-label\":\"AffiliatedJobsPreviewJobDialog_floating-label_YS9jj\",\"floating-label-inset\":\"AffiliatedJobsPreviewJobDialog_floating-label-inset_d8Waf\",\"affiliatedJobsPreviewJobDialog\":\"AffiliatedJobsPreviewJobDialog_affiliatedJobsPreviewJobDialog_FG0vC\"};","import { render, staticRenderFns } from \"./AffiliatedJobsPreviewJobDialog.vue?vue&type=template&id=b759e9b8\"\nimport script from \"./AffiliatedJobsPreviewJobDialog.vue?vue&type=script&lang=ts\"\nexport * from \"./AffiliatedJobsPreviewJobDialog.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AffiliatedJobsPreviewJobDialog.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport AffiliatedJobsPreviewJobDialog from '@/components/dialogs/AffiliatedJobsPreviewJobDialog.vue';\n\n@Component({\n components: {\n AffiliatedJobsPreviewJobDialog,\n },\n})\nexport default class AffiliatedJobsDialogLink extends Vue {\n @Prop(Number) public jobId: number;\n\n public previewJobId = NaN;\n public isShow = false;\n\n public handleJobClick(jobId) {\n this.previewJobId = jobId;\n this.isShow = true;\n }\n\n public handleDialogClose() {\n this.isShow = false;\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AffiliatedJobsDialogLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AffiliatedJobsDialogLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AffiliatedJobsDialogLink.vue?vue&type=template&id=9c4b7de6\"\nimport script from \"./AffiliatedJobsDialogLink.vue?vue&type=script&lang=ts\"\nexport * from \"./AffiliatedJobsDialogLink.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VTooltip } from 'vuetify/lib/components/VTooltip';\nimport ClickOutside from 'vuetify/lib/directives/click-outside';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('span',{ref:\"affiliatedJobsTooltipLink\",class:_vm.$style.affiliatedJobsTooltipLink},[_c(VTooltip,{attrs:{\"content-class\":_vm.$style.tooltip,\"attach\":_vm.$refs.affiliatedJobsTooltipLink,\"absolute\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({}){return [_c('a',{ref:\"link\",attrs:{\"href\":\"javascript:\"},on:{\"click\":function($event){_vm.isShow = !_vm.isShow}}},[_vm._t(\"default\")],2)]}}],null,true),model:{value:(_vm.isShow),callback:function ($$v) {_vm.isShow=$$v},expression:\"isShow\"}},[_c('TooltipWindow',{directives:[{def: ClickOutside,name:\"click-outside\",rawName:\"v-click-outside\",value:({ handler: _vm.onClickOutside, include: _vm.include }),expression:\"{ handler: onClickOutside, include }\"}],scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('PreviewJobHeader',{attrs:{\"jobId\":_vm.jobId,\"jobDate\":_vm.jobDate}})]},proxy:true}])},[_c('PreviewJobLoadBody',{attrs:{\"jobId\":_vm.jobId,\"isShow\":_vm.isShow},on:{\"loaded\":_vm.handleLoaded}})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport TooltipWindow from '@/components/windows/TooltipWindow.vue';\nimport PreviewJobHeader from '@/components/jobDetailed/previewJob/PreviewJobHeader.vue';\nimport PreviewJobLoadBody from '@/components/jobDetailed/previewJob/PreviewJobLoadBody.vue';\nimport { JobDetailedData } from '@/models/jobDetailed';\n\n@Component({\n components: {\n TooltipWindow,\n PreviewJobHeader,\n PreviewJobLoadBody,\n },\n})\nexport default class AffiliatedJobsTooltipLink extends Vue {\n @Prop(Number) public jobId: number;\n\n public isShow = false;\n public jobDate = '';\n\n @Watch('isShow', { immediate: true })\n private watchIsShow(isShow: boolean) {\n if (isShow) {\n document.addEventListener('keydown', this.handleEsc);\n } else {\n this.jobDate = '';\n document.removeEventListener('keydown', this.handleEsc);\n }\n }\n\n public handleLoaded(job: JobDetailedData): void {\n this.jobDate = job.rockhopper_date;\n }\n\n public handleEsc(event) {\n if (event.key === 'Escape') {\n this.isShow = false;\n }\n }\n\n public onClickOutside() {\n this.isShow = false;\n }\n\n public include() {\n return [this.$refs.link];\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AffiliatedJobsTooltipLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AffiliatedJobsTooltipLink.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"AffiliatedJobsTooltipLink_sidemenu_MUTnI\",\"layout-wrapper\":\"AffiliatedJobsTooltipLink_layout-wrapper_iy1W1\",\"wrapper-portal\":\"AffiliatedJobsTooltipLink_wrapper-portal_eEOOg\",\"wrapper-portal-dash\":\"AffiliatedJobsTooltipLink_wrapper-portal-dash_PwHVx\",\"container\":\"AffiliatedJobsTooltipLink_container_CZQq5\",\"b-fa\":\"AffiliatedJobsTooltipLink_b-fa_XxiQS\",\"mdi-stairs\":\"AffiliatedJobsTooltipLink_mdi-stairs_aoWEh\",\"mdi-progress-wrench\":\"AffiliatedJobsTooltipLink_mdi-progress-wrench_EHK8h\",\"mdi-wrench\":\"AffiliatedJobsTooltipLink_mdi-wrench_NX1cP\",\"mdi-file-document\":\"AffiliatedJobsTooltipLink_mdi-file-document_sjXrL\",\"mdi-account\":\"AffiliatedJobsTooltipLink_mdi-account_yRnCO\",\"mdi-caravan\":\"AffiliatedJobsTooltipLink_mdi-caravan_FiXJL\",\"mdi-forklift\":\"AffiliatedJobsTooltipLink_mdi-forklift_vCXU0\",\"mdi-account-plus\":\"AffiliatedJobsTooltipLink_mdi-account-plus_I0HE9\",\"mdi-format-align-bottom\":\"AffiliatedJobsTooltipLink_mdi-format-align-bottom_D5JQi\",\"mdi-clock-alert\":\"AffiliatedJobsTooltipLink_mdi-clock-alert_kALSK\",\"mdi-school\":\"AffiliatedJobsTooltipLink_mdi-school_PFNQ0\",\"mdi-face-mask\":\"AffiliatedJobsTooltipLink_mdi-face-mask_N0A2U\",\"fa\":\"AffiliatedJobsTooltipLink_fa_T5U7Y\",\"fa-angle-up\":\"AffiliatedJobsTooltipLink_fa-angle-up_yrpbp\",\"fa-angle-left\":\"AffiliatedJobsTooltipLink_fa-angle-left_SoSSi\",\"fa-search\":\"AffiliatedJobsTooltipLink_fa-search_CGJIK\",\"fa-consolidate\":\"AffiliatedJobsTooltipLink_fa-consolidate_YWeOo\",\"fa-split\":\"AffiliatedJobsTooltipLink_fa-split_qEOO6\",\"mdi-food-fork-drink\":\"AffiliatedJobsTooltipLink_mdi-food-fork-drink_DMly2\",\"mdi-package-variant\":\"AffiliatedJobsTooltipLink_mdi-package-variant_hEYPt\",\"mdi-call-merge\":\"AffiliatedJobsTooltipLink_mdi-call-merge_iwU1C\",\"mdi-tray-arrow-up\":\"AffiliatedJobsTooltipLink_mdi-tray-arrow-up_X7VYS\",\"fa-arrow-circle-up\":\"AffiliatedJobsTooltipLink_fa-arrow-circle-up_DD51a\",\"fa-arrow-circle-down\":\"AffiliatedJobsTooltipLink_fa-arrow-circle-down_zrI6D\",\"mdi-calendar-check\":\"AffiliatedJobsTooltipLink_mdi-calendar-check_iMOU7\",\"mdi-calendar-remove\":\"AffiliatedJobsTooltipLink_mdi-calendar-remove_fKXgC\",\"stop-tooltip\":\"AffiliatedJobsTooltipLink_stop-tooltip_qp3hY\",\"bold\":\"AffiliatedJobsTooltipLink_bold_ndtLA\",\"tooltip-header\":\"AffiliatedJobsTooltipLink_tooltip-header_bNRu3\",\"tooltip-content\":\"AffiliatedJobsTooltipLink_tooltip-content_YePX7\",\"stops\":\"AffiliatedJobsTooltipLink_stops_Fq_XX\",\"tooltip-attrs\":\"AffiliatedJobsTooltipLink_tooltip-attrs_QXDAP\",\"attr\":\"AffiliatedJobsTooltipLink_attr_s4Igt\",\"warnings\":\"AffiliatedJobsTooltipLink_warnings_Iyacz\",\"b-panel-body-wrap\":\"AffiliatedJobsTooltipLink_b-panel-body-wrap_l3bgk\",\"b-panel-content\":\"AffiliatedJobsTooltipLink_b-panel-content_AQdU4\",\"b-tooltip-content\":\"AffiliatedJobsTooltipLink_b-tooltip-content_UY7dc\",\"t-radio\":\"AffiliatedJobsTooltipLink_t-radio_HAbpp\",\"t-checkbox\":\"AffiliatedJobsTooltipLink_t-checkbox_xCUYs\",\"floating-label\":\"AffiliatedJobsTooltipLink_floating-label_m6Htb\",\"floating-label-inset\":\"AffiliatedJobsTooltipLink_floating-label-inset_CPkkc\",\"affiliatedJobsTooltipLink\":\"AffiliatedJobsTooltipLink_affiliatedJobsTooltipLink_YGXca\",\"tooltip\":\"AffiliatedJobsTooltipLink_tooltip_lCDeA\"};","import { render, staticRenderFns } from \"./AffiliatedJobsTooltipLink.vue?vue&type=template&id=5bfb5622\"\nimport script from \"./AffiliatedJobsTooltipLink.vue?vue&type=script&lang=ts\"\nexport * from \"./AffiliatedJobsTooltipLink.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AffiliatedJobsTooltipLink.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport AffiliatedJobsDialogLink from '@/components/jobDetailed/zammadTicketPage/AffiliatedJobsDialogLink.vue';\nimport AffiliatedJobsTooltipLink from '@/components/jobDetailed/zammadTicketPage/AffiliatedJobsTooltipLink.vue';\n\n@Component({\n components: {\n AffiliatedJobsDialogLink,\n AffiliatedJobsTooltipLink,\n },\n})\nexport default class AffiliatedJobHeaderItem extends Vue {\n @Prop(String) public jobsString: string;\n\n public jobsArray: number[] = [];\n public isDialogs = false;\n\n @Watch('jobsString', { immediate: true })\n private watchJobs() {\n this.jobsArray = this.jobsString\n .split(',')\n .filter(jobId => jobId.trim())\n .map(jobId => Number(jobId));\n }\n}\n","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AffiliatedJobsHeaderItem.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AffiliatedJobsHeaderItem.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AffiliatedJobsHeaderItem.vue?vue&type=template&id=36beee95&scoped=true\"\nimport script from \"./AffiliatedJobsHeaderItem.vue?vue&type=script&lang=ts\"\nexport * from \"./AffiliatedJobsHeaderItem.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AffiliatedJobsHeaderItem.scss?vue&type=style&index=0&id=36beee95&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36beee95\",\n null\n \n)\n\nexport default component.exports","\nimport { getJobArticles, getJobTicket } from '@/api';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\n\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport Avatar from '@/components/UI/avatar/Avatar.vue';\nimport Icon from '@/components/UI/Icon.vue';\nimport ZammadTicket from '@/components/jobDetailed/ZammadTicket.vue';\nimport AffiliatedJobsHeaderItem from '@/components/jobDetailed/zammadTicketPage/headerItems/AffiliatedJobsHeaderItem.vue';\n\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport { checkTicketIsRfc } from '@/utils/Common';\n\nimport { User } from '@/models/main';\nimport { JobTicketAtricle, JobTicketResponce } from '@/models/jobTicket';\nimport { JobDetailedData } from '@/models/jobDetailed';\nimport { fetchSetTicketState } from '@/helpers/fetchers';\n\n@Component({\n components: {\n Avatar,\n DateTimezoneToggle,\n Icon,\n ZammadTicket,\n AffiliatedJobsHeaderItem,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class ZammadTicketPage extends Vue {\n public loading = false;\n public loadingCloseRfc = false;\n public user: User;\n\n public format = format;\n public utcToZonedTime = utcToZonedTime;\n public timeZoneDefault = timeZoneDefault;\n\n public articlesData: JobTicketAtricle[] = [];\n public ticketData: JobTicketResponce = {\n article_count: 0,\n article_ids: [],\n close_at: '',\n close_diff_in_min: null,\n close_escalation_at: null,\n close_in_min: null,\n create_article_sender: '',\n create_article_sender_id: 0,\n create_article_type: '',\n create_article_type_id: 0,\n created_at: '',\n created_by: '',\n created_by_id: 0,\n customer: '',\n customer_id: 0,\n escalation_at: null,\n first_response_at: '',\n first_response_diff_in_min: 0,\n first_response_escalation_at: null,\n first_response_in_min: '',\n group: '',\n group_id: 0,\n id: 0,\n last_contact_agent_at: '',\n last_contact_at: '',\n last_contact_customer_at: '',\n last_owner_update_at: null,\n note: null,\n number: '',\n organization_id: null,\n owner: '',\n owner_id: 0,\n pending_time: null,\n preferences: {\n escalation_calculation: {\n calendar_id: 0,\n calendar_updated_at: '',\n escalation_disabled: false,\n first_response_at: '',\n last_contact_at: '',\n last_update_at: '',\n sla_id: 0,\n sla_updated_at: '',\n },\n },\n calendar_id: 0,\n calendar_updated_at: '',\n escalation_disabled: false,\n last_update_at: '',\n sla_id: 0,\n sla_updated_at: '',\n priority: '',\n priority_id: 0,\n rh_job: '',\n state: '',\n state_id: 0,\n ticket_time_accounting: [],\n ticket_time_accounting_ids: [],\n time_unit: null,\n title: '',\n type: null,\n update_diff_in_min: null,\n update_escalation_at: null,\n update_in_min: null,\n updated_at: '',\n updated_by: '',\n updated_by_id: 0,\n is_rfc: false,\n };\n\n public job: JobDetailedData;\n public checkTicketIsRfc = checkTicketIsRfc;\n public files: File[] = [];\n public editingTicketAttachments: File[] = [];\n\n private async loadTicketData(id: string) {\n this.loading = true;\n if (id) {\n // Get articles\n await getJobArticles(Number(id))\n .then(res => {\n this.articlesData = res;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting articles',\n text: notificationErrorText,\n type: 'warn',\n });\n this.$router.push({ path: '/error' });\n });\n // Get ticket\n await getJobTicket(Number(id))\n .then(res => {\n this.ticketData = res;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting the ticket',\n text: notificationErrorText,\n type: 'warn',\n });\n });\n }\n this.loading = false;\n }\n\n public zammadListChanged(ticket) {\n this.ticketData = ticket;\n }\n\n public async setTicketState(state: string, state_id: number) {\n this.loadingCloseRfc = true;\n await fetchSetTicketState(this.ticketData, state, state_id).then(res => {\n this.ticketData = res;\n });\n this.loadingCloseRfc = false;\n }\n\n private async mounted() {\n await this.loadTicketData(this.$route.params.id);\n }\n\n private created() {\n this.$watch(\n () => this.$route.params,\n (toParams, previousParams) => {\n // ticket route changes:\n if (toParams.id && previousParams.id) {\n this.loadTicketData(toParams.id);\n }\n },\n );\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ZammadTicketPage.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ZammadTicketPage.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ZammadTicketPage.vue?vue&type=template&id=4e0d4f17\"\nimport script from \"./ZammadTicketPage.vue?vue&type=script&lang=ts\"\nexport * from \"./ZammadTicketPage.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.$style.jobbookingView},[_c('Header',{attrs:{\"title\":_vm.$route.meta.title,\"subtitle\":_vm.$route.meta.subtitle}}),_c('div',{class:_vm.$style.main},[_c('router-view')],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue } from 'vue-property-decorator';\nimport Header from '@/components/jobBooking/Header/Header.vue';\n\n@Component({\n components: {\n Header,\n },\n})\nexport default class JobbookingView extends Vue {}\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobbookingView.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobbookingView.vue?vue&type=script&lang=ts\"","// extracted by mini-css-extract-plugin\nexport default {\"sidemenu\":\"JobbookingView_sidemenu_rPU7p\",\"layout-wrapper\":\"JobbookingView_layout-wrapper_RgTND\",\"wrapper-portal\":\"JobbookingView_wrapper-portal_ctu9x\",\"wrapper-portal-dash\":\"JobbookingView_wrapper-portal-dash_VIVZm\",\"container\":\"JobbookingView_container_n2v1J\",\"b-fa\":\"JobbookingView_b-fa_okNCL\",\"mdi-stairs\":\"JobbookingView_mdi-stairs_cV5e2\",\"mdi-progress-wrench\":\"JobbookingView_mdi-progress-wrench_dUBrj\",\"mdi-wrench\":\"JobbookingView_mdi-wrench_SKgfp\",\"mdi-file-document\":\"JobbookingView_mdi-file-document_rPS6x\",\"mdi-account\":\"JobbookingView_mdi-account_VtRdW\",\"mdi-caravan\":\"JobbookingView_mdi-caravan_Ebh9K\",\"mdi-forklift\":\"JobbookingView_mdi-forklift_YkPDs\",\"mdi-account-plus\":\"JobbookingView_mdi-account-plus_fS7ZV\",\"mdi-format-align-bottom\":\"JobbookingView_mdi-format-align-bottom_C2VRH\",\"mdi-clock-alert\":\"JobbookingView_mdi-clock-alert_qIuWU\",\"mdi-school\":\"JobbookingView_mdi-school_NQjfB\",\"mdi-face-mask\":\"JobbookingView_mdi-face-mask_VuOqY\",\"fa\":\"JobbookingView_fa_e2V2M\",\"fa-angle-up\":\"JobbookingView_fa-angle-up_Fve5C\",\"fa-angle-left\":\"JobbookingView_fa-angle-left_liVYv\",\"fa-search\":\"JobbookingView_fa-search_C96Io\",\"fa-consolidate\":\"JobbookingView_fa-consolidate_jJppI\",\"fa-split\":\"JobbookingView_fa-split_lKgEo\",\"mdi-food-fork-drink\":\"JobbookingView_mdi-food-fork-drink_Jz9Cg\",\"mdi-package-variant\":\"JobbookingView_mdi-package-variant_ZcQhh\",\"mdi-call-merge\":\"JobbookingView_mdi-call-merge_ZYwww\",\"mdi-tray-arrow-up\":\"JobbookingView_mdi-tray-arrow-up_DS0yc\",\"fa-arrow-circle-up\":\"JobbookingView_fa-arrow-circle-up_n90i5\",\"fa-arrow-circle-down\":\"JobbookingView_fa-arrow-circle-down_k6tjn\",\"mdi-calendar-check\":\"JobbookingView_mdi-calendar-check_kvrtU\",\"mdi-calendar-remove\":\"JobbookingView_mdi-calendar-remove_RBzzV\",\"stop-tooltip\":\"JobbookingView_stop-tooltip_Y3VLu\",\"bold\":\"JobbookingView_bold_LLV0J\",\"tooltip-header\":\"JobbookingView_tooltip-header_jBDfM\",\"tooltip-content\":\"JobbookingView_tooltip-content_UHhiR\",\"stops\":\"JobbookingView_stops_SY2Ae\",\"tooltip-attrs\":\"JobbookingView_tooltip-attrs__bkNp\",\"attr\":\"JobbookingView_attr_FMxaI\",\"warnings\":\"JobbookingView_warnings_oZ0KA\",\"b-panel-body-wrap\":\"JobbookingView_b-panel-body-wrap_ErwPE\",\"b-panel-content\":\"JobbookingView_b-panel-content_yLO3i\",\"b-tooltip-content\":\"JobbookingView_b-tooltip-content_HYTkP\",\"t-radio\":\"JobbookingView_t-radio_mE549\",\"t-checkbox\":\"JobbookingView_t-checkbox_Bpy7z\",\"floating-label\":\"JobbookingView_floating-label_FG_G7\",\"floating-label-inset\":\"JobbookingView_floating-label-inset_N2Hcf\",\"main\":\"JobbookingView_main_yGu5g\"};","import { render, staticRenderFns } from \"./JobbookingView.vue?vue&type=template&id=0cc5908e\"\nimport script from \"./JobbookingView.vue?vue&type=script&lang=ts\"\nexport * from \"./JobbookingView.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobbookingView.scss?vue&type=style&index=0&prod&lang=scss&module=true&external\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"wrapper jobs-booked\"},[_c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 py-0\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"Booked jobs\")])]),_c('div',{staticClass:\"page_subtitle\"},[_c('p',{staticClass:\"subtitle mt-2\"},[_vm._v(\"All jobs already booked:\")])])],1),_c(VRow,{staticClass:\"d-flex justify-start ml-1 mr-10 mb-2\"},[_c(VCol,{staticClass:\"col\"},[_c('div',{staticClass:\"col-wrapper d-flex align-baseline\"},[_c('div',{staticClass:\"input-wrapper\"},[_c('DatePicker',{attrs:{\"disabled\":false,\"Pdates\":_vm.dates},on:{\"changeDate\":_vm.changeDate,\"cleareDateFilter\":_vm.clearDate}})],1)])]),(_vm.$can('staff', 'Job'))?_c(VCol,{staticClass:\"col col-user\"},[_c('div',{staticClass:\"col-wrapper d-flex align-baseline ma-0 pa-0\"},[_c('div',{staticClass:\"input-wrapper input-user\"},[_c(VTextField,{staticClass:\"stop-input\",attrs:{\"background-color\":\"white\",\"label\":\"User\",\"clearable\":\"\",\"outlined\":\"\",\"required\":\"\"},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.setUsername.apply(null, arguments)},\"click:clear\":_vm.clearUsername},model:{value:(_vm.username),callback:function ($$v) {_vm.username=$$v},expression:\"username\"}})],1),_c('div',{staticClass:\"btn-wrapper ml-2\"},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"color\":\"primary\",\"fab\":\"\"},on:{\"click\":_vm.setUsername}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)])]):_vm._e()],1)],1),_c('div',{staticClass:\"content mx-8 my-8\"},[(_vm.loading)?_c(VProgressLinear,{staticClass:\"progress-bar mt-12\",attrs:{\"indeterminate\":\"\",\"rounded\":\"\",\"height\":\"4\"}}):_c('div',{staticClass:\"table-wrapper\"},[_c('div',{staticClass:\"d-flex\"},[_c('p',{staticClass:\"mr-1\"},[_vm._v(\"My jobs\")]),_c(VSwitch,{staticClass:\"ma-0 pa-0 pl-2\",attrs:{\"label\":\"\",\"color\":\"#9C8CFF\"},on:{\"change\":_vm.toggleChange},model:{value:(_vm.customerChoosen),callback:function ($$v) {_vm.customerChoosen=$$v},expression:\"customerChoosen\"}}),_c('p',{staticClass:\"ml-1\"},[_vm._v(\"Company jobs\")])],1),_c('h2',{staticClass:\"table-title\"},[_c('span',{staticClass:\"name\"},[_vm._v(_vm._s(_vm.tableTitle))]),_vm._v(\" jobs: \")]),_c('div',{staticClass:\"mt-4\"},[_c(VDataTable,{staticClass:\"elevation-1\",attrs:{\"dense\":\"\",\"headers\":_vm.headers,\"items\":_vm.jobs,\"expanded\":_vm.expanded,\"item-key\":\"id\"},on:{\"update:expanded\":function($event){_vm.expanded=$event},\"click:row\":function($event){return _vm.expandRow($event, _vm.expanded)}},scopedSlots:_vm._u([{key:`item.date`,fn:function({ item }){return [_vm._v(\" \"+_vm._s(_vm.formatDateStringWithTZ(item.date, _vm.user.timezone, 'yyyy-MM-dd'))+\" \")]}},{key:`item.link`,fn:function({ item }){return [_c('router-link',{staticClass:\"btn-detailed-wrapper\",attrs:{\"to\":{\n name: _vm.routeNames.DETAILED_QUERY_JOB,\n query: {\n job_id: item.id,\n job_date: item.date,\n },\n }}},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn-detailed\",attrs:{\"fab\":\"\",\"color\":\"primary\"}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-microscope\")])],1)],1)]}}],null,true)},[_c('span',{staticClass:\"ma-0 pa-0\"},[_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"Open detailed job page\")])])])],1)]}},{key:\"expanded-item\",fn:function({ headers }){return [_c('td',{attrs:{\"colspan\":headers.length}},[(_vm.loadingExpanded)?_c('div',{staticClass:\"d-flex align-center justify-center ma-6\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"48\"}},[_vm._v(\"mdi-loading\")])],1):_c('div',{staticClass:\"expanded mx-1 my-6\"},[_c('vue-json-pretty',{attrs:{\"data\":_vm.expanded}})],1)])]}}],null,true)})],1)])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getJobsBookedByCustomer, getJobsBookedByUser, getJobsBookedLog } from '@/api';\nimport DatePicker from '@/components/searchPage/DatePicker.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport { Header, JobsBookedApiData, JobsBookedData, User } from '@/models/main';\nimport { addWeeks } from 'date-fns';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport * as routeNames from '@/router/routeNames';\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport VueJsonPretty from 'vue-json-pretty';\nimport 'vue-json-pretty/lib/styles.css';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport { formatDateStringWithTZ } from '@/utils/InputProcessingUtilities';\n\n@Component({\n components: {\n BackButton,\n DatePicker,\n VueJsonPretty,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class JobsBooked extends Vue {\n public routeNames = routeNames;\n private loading = false;\n private loadingExpanded = false;\n private datesDefault: string[] = [];\n private dates: string[] = [];\n private user: User;\n // to use func in the template\n private formatDateStringWithTZ = formatDateStringWithTZ;\n private username = '';\n private customerCode = '';\n private customerChoosen = false;\n private tableTitle = 'My';\n private jobs: JobsBookedData[] = [];\n private expanded: JobsBookedData[] | JobsBookedApiData = [];\n private expandedIsOpen = false;\n private expandedJobId = 0;\n\n private headers: Header[] = [\n { text: 'Id', value: 'id', align: 'left' },\n { text: 'Date', value: 'date', align: 'left' },\n { text: 'Source', value: 'source', align: 'left' },\n { text: 'Created by', value: 'created_by', align: 'left' },\n { text: 'Created at', value: 'created_at', align: 'left' },\n { text: 'Status', value: 'status', align: 'left' },\n { text: 'Link', value: 'link', align: 'left', sortable: false },\n ];\n\n private changeDate(dates): void {\n this.dates = dates;\n this.getJobsWrapper(this.username, dates, this.customerChoosen);\n }\n\n private clearDate() {\n this.dates = this.datesDefault;\n }\n\n private setUsername(): void {\n this.getJobsWrapper(this.username, this.dates, this.customerChoosen);\n }\n\n private clearUsername(): void {\n this.username = '';\n this.getJobsWrapper(this.username, this.dates, this.customerChoosen);\n }\n\n private toggleChange(): void {\n this.expandedIsOpen = false;\n if (this.customerChoosen) {\n this.getJobsWrapper(this.customerCode, this.dates, this.customerChoosen);\n } else {\n this.getJobsWrapper(this.username, this.dates, this.customerChoosen);\n }\n }\n\n private expandRow(job: JobsBookedData): void {\n if (this.expandedIsOpen && this.expandedJobId === job.id) {\n this.expanded = [];\n this.expandedIsOpen = false;\n } else {\n this.expandedIsOpen = true;\n this.expanded = [];\n this.loadingExpanded = true;\n this.expanded.push(job);\n this.expandedJobId = job.id;\n\n getJobsBookedLog(job.log_id)\n .then(res => {\n this.expanded[0] = res;\n this.$forceUpdate();\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting the log',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loadingExpanded = false;\n });\n }\n }\n\n private getJobsWrapper(user: string, dates: string[], isCustomer): void {\n this.loading = true;\n const userTimeZone = this.user.timezone || timeZoneDefault;\n if (isCustomer) {\n getJobsBookedByCustomer(user, dates)\n .then((res: JobsBookedApiData[]) => {\n this.jobs = [];\n res.map(job => {\n this.jobs.push({\n id: job.rockhopper_id,\n log_id: job.id,\n date: job.rockhopper_date,\n created_by: job.created_by,\n created_at: `${format(utcToZonedTime(new Date(job.created_at), userTimeZone), 'yyyy-MM-dd HH:mm:ss')}`,\n source: job.source_text,\n status: job.status,\n });\n });\n this.tableTitle = user || 'My';\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting the jobs',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loading = false;\n });\n } else {\n getJobsBookedByUser(user, dates)\n .then((res: JobsBookedApiData[]) => {\n this.jobs = [];\n res.map(job => {\n this.jobs.push({\n id: job.rockhopper_id,\n log_id: job.id,\n date: job.rockhopper_date,\n created_by: job.created_by,\n created_at: `${format(utcToZonedTime(new Date(job.created_at), userTimeZone), 'yyyy-MM-dd HH:mm:ss')}`,\n source: job.source_text,\n status: job.status,\n });\n });\n this.tableTitle = user || 'My';\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting the jobs',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n\n private mounted(): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const fromDate = format(utcToZonedTime(addWeeks(new Date(), -2), userTimeZone), 'yyyy-MM-dd'); // today\n const toDate = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd'); // today\n this.datesDefault = [fromDate, toDate];\n this.dates = [...this.datesDefault];\n this.customerCode = this.user.customerCode;\n this.getJobsWrapper('', this.datesDefault, this.customerChoosen);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobsBooked.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./JobsBooked.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./JobsBooked.vue?vue&type=template&id=1d2c9b31&scoped=true\"\nimport script from \"./JobsBooked.vue?vue&type=script&lang=ts\"\nexport * from \"./JobsBooked.vue?vue&type=script&lang=ts\"\nimport style0 from \"./JobsBooked.scss?vue&type=style&index=0&id=1d2c9b31&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1d2c9b31\",\n null\n \n)\n\nexport default component.exports","import { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VMenu,{attrs:{\"close-on-content-click\":true,\"nudge-right\":40,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"max-width\":\"auto\",\"min-width\":\"auto\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on }){return [_c(VTextField,_vm._g({attrs:{\"background-color\":\"white\",\"readonly\":\"\",\"outlined\":\"\",\"label\":\"Date\"},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v},expression:\"date\"}},on))]}}]),model:{value:(_vm.datePickerOpen),callback:function ($$v) {_vm.datePickerOpen=$$v},expression:\"datePickerOpen\"}},[_c(VDatePicker,{attrs:{\"no-title\":\"\",\"scrollable\":\"\",\"first-day-of-week\":\"1\"},on:{\"input\":_vm.dateChanged},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v},expression:\"date\"}},[_c(VSpacer)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n@Component({})\nexport default class DatePicker extends Vue {\n @Prop({ type: String, required: true }) public value: string;\n\n public datePickerOpen = false;\n public date = '';\n\n public dateChanged(): void {\n this.datePickerOpen = false;\n this.$emit('changeDate', this.date);\n }\n\n @Watch('value', { immediate: true })\n private watchValue() {\n this.date = this.value;\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DatePicker.vue?vue&type=template&id=50520bf0\"\nimport script from \"./DatePicker.vue?vue&type=script&lang=ts\"\nexport * from \"./DatePicker.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"bg-purple-50 border-b border-puple-600 p-3\"},[_c('div',{staticClass:\"px-3\"},[_c('BackButton',{}),_c('h2',{staticClass:\"text-4xl font-semibold leading-10\"},[_vm._v(\"Locations\")]),_c('p',{staticClass:\"text-gray-500 text-base mb-0\"},[_vm._v(\"Drivers tracking\")])],1),_c('div',{staticClass:\"flex p-3\"},[_c('div',{staticClass:\"w-72\"},[_c('DatePicker',{attrs:{\"outlined\":\"\"},on:{\"changeDate\":_vm.changeDate},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v},expression:\"date\"}})],1),_c('div',{staticClass:\"w-136 ml-4\"},[_c('DriverByDayLookup',{class:[_vm.loadingDrivers ? 'cursor-not-allowed' : ''],attrs:{\"items\":_vm.driversOnDate,\"disabled\":_vm.loadingMap || _vm.loadingDrivers},on:{\"changeDrivers\":_vm.changeDrivers},model:{value:(_vm.driversToShow),callback:function ($$v) {_vm.driversToShow=$$v},expression:\"driversToShow\"}})],1),_c('div',{staticClass:\"ml-4\"},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"fab\":\"\",\"color\":\"primary\",\"disabled\":_vm.loadingMap || _vm.loadingDrivers || _vm.driversToShow.length === 0,\"loading\":_vm.loadingMap},on:{\"click\":_vm.getLocations}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)])]),_c('div',{staticClass:\"relative p-6\"},[_c('l-map',{ref:\"myMap\",staticClass:\"h-200 z-0 outline-none\",attrs:{\"center\":_vm.center,\"scroll-wheel-zoom\":false,\"zoom\":5,\"min-zoom\":5},on:{\"ready\":function($event){return _vm.initMapOnReady()},\"mouseover\":_vm.mouseover,\"mouseleave\":_vm.mouseleave}},[_c('l-tile-layer',{attrs:{\"url\":_vm.url,\"attribution\":_vm.attribution}})],1),(_vm.mapIsHovered && !_vm.ctrlBtnIsDown)?_c('div',{staticClass:\"bg-white bottom-8 left-8 p-5 absolute z-100\"},[_vm._v(\" Use the CTRL key to zoom \")]):_vm._e(),(_vm.loadingMap)?_c('div',{staticClass:\"top-0 left-0 absolute z-100 w-full h-full\"},[_c('div',{staticClass:\"relative flex items-center justify-center w-full h-full\"},[_c('div',{staticClass:\"bg-white opacity-40 top-0 left-0 absolute w-full h-full\"}),_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"64\"}},[_vm._v(\"mdi-loading\")])],1)]):_vm._e()],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c(VAutocomplete,{attrs:{\"label\":\"Drivers\",\"chips\":\"\",\"clearable\":\"\",\"deletable-chips\":\"\",\"multiple\":\"\",\"small-chips\":\"\",\"outlined\":\"\",\"required\":\"\",\"background-color\":\"white\",\"items\":_vm.items,\"disabled\":_vm.disabled,\"hint\":!_vm.items.length && !_vm.disabled ? _vm.hintText : null,\"hide-details\":\"auto\",\"persistent-hint\":true},on:{\"change\":_vm.changed},scopedSlots:_vm._u([(!!_vm.items.length)?{key:\"prepend-item\",fn:function(){return [_c(VListItem,{attrs:{\"ripple\":\"\"},on:{\"click\":function($event){return _vm.toggleAll()}}},[_c(VListItemAction,[_c(VIcon,{attrs:{\"color\":_vm.value.length > 0 ? 'primary' : ''}},[_vm._v(_vm._s(_vm.toggleAllStatesIcon))])],1),_c(VListItemContent,[_vm._v(\"All\")])],1),_c(VDivider)]},proxy:true}:null,{key:\"selection\",fn:function({ index, item }){return [(_vm.items.length !== _vm.value.length)?[_c(VChip,{staticClass:\"chip\",class:[_vm.disabled ? 'cursor-not-allowed' : ''],attrs:{\"close\":\"\",\"small\":\"\"},on:{\"click:close\":function($event){return _vm.chipCloseClicked(item)}}},[_vm._v(\" \"+_vm._s(String(item))+\" \")])]:[(index === 0)?_c('span',[_vm._v(\"All\")]):_vm._e()]]}}],null,true),model:{value:(_vm.chosenItems),callback:function ($$v) {_vm.chosenItems=$$v},expression:\"chosenItems\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport Chip from '@/components/UI/chip/Chip.vue';\n\n@Component({\n components: {\n Chip,\n },\n})\nexport default class DriverByDayLookup extends Vue {\n @Prop({ type: Array || String, required: true }) public value: string | number[];\n @Prop({ type: Array, required: true }) public items: number[];\n @Prop({ type: Boolean, required: false }) public disabled: boolean;\n\n public chosenItems: number[] = [];\n public date = '';\n public hintText = 'There are no available drivers on this day. Try to choose another day';\n\n public changed(items): void {\n this.$emit('changeDrivers', items);\n }\n\n public toggleAll(): void {\n let newValue: number[] = [];\n if (this.value.length < this.items.length) {\n newValue = this.items;\n }\n this.$emit('changeDrivers', newValue);\n }\n\n public get toggleAllStatesIcon(): string {\n if (this.value.length === 0) {\n return 'mdi-checkbox-blank-outline';\n } else if (this.value.length === this.items.length) {\n return 'mdi-checkbox-marked';\n } else {\n return 'mdi-minus-box';\n }\n }\n\n public chipCloseClicked(value): void {\n console.log('chipCloseClicked:', value, this.disabled);\n\n if (this.disabled) {\n return;\n }\n if (Array.isArray(this.value)) {\n const idx = this.value.indexOf(value);\n if (idx >= 0) {\n this.value.splice(idx, 1);\n }\n }\n }\n\n @Watch('value', { immediate: true })\n private async valueChanged(): Promise {\n if (Array.isArray(this.value)) {\n this.chosenItems = this.value;\n } else {\n this.chosenItems = this.items;\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DriverByDayLookup.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DriverByDayLookup.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DriverByDayLookup.vue?vue&type=template&id=3379f55c&scoped=true\"\nimport script from \"./DriverByDayLookup.vue?vue&type=script&lang=ts\"\nexport * from \"./DriverByDayLookup.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DriverByDayLookup.vue?vue&type=style&index=0&id=3379f55c&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3379f55c\",\n null\n \n)\n\nexport default component.exports","\nimport { getDriverLocations, getDriverOnDay } from '@/api';\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport store from '@/store';\nimport * as Sentry from '@sentry/vue';\n\nimport { LMap, LTileLayer, LMarker } from 'vue2-leaflet';\nimport 'leaflet.markercluster';\nimport { DriverLocations, DriverLocationsParams, Location as LocationType, Package } from '@/models/location';\nimport L, { CircleMarker, Icon } from 'leaflet';\nimport { GIcon } from './Lglyph';\n\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport DatePicker from '@/views/Location/DatePicker.vue';\nimport DriverByDayLookup from '@/views/Location/DriverByDayLookup.vue';\n\nimport { format, isValid } from 'date-fns';\nimport { utcToZonedTime } from 'date-fns-tz';\nimport _isEqual from 'lodash/isEqual';\nimport * as routeNames from '@/router/routeNames';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\n\nimport { User } from '@/models/main';\n\ntype D = Icon.Default & {\n _getIconUrl?: string;\n};\n\n@Component({\n components: {\n BackButton,\n DatePicker,\n DriverByDayLookup,\n LMap,\n LTileLayer,\n LMarker,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class Location extends Vue {\n private user!: User;\n\n public mapRef: HTMLFormElement;\n public mapAus;\n\n public loadingMap = false;\n public loadingDrivers = false;\n\n public date = '';\n public driversInQuery: number[] = [];\n public driversOnDate: number[] = [];\n public driversToShow: number[] = [];\n\n private driverMarkersAll: CircleMarker[] = [];\n // Geo center of Australia\n public center = L.latLng(-23.116667, 132.133333);\n public url = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';\n public attribution =\n 'Map data © OpenStreetMap contributors';\n public mapIsHovered = false;\n public ctrlBtnIsDown = false;\n\n public mouseover(): void {\n this.mapIsHovered = true;\n document.addEventListener('keydown', this.handleCtrl);\n document.addEventListener('keyup', this.handleCtrlUp);\n }\n\n public mouseleave(): void {\n this.mapIsHovered = false;\n document.removeEventListener('keydown', this.handleCtrl);\n document.removeEventListener('keyup', this.handleCtrlUp);\n }\n\n public handleCtrl(value): void {\n if (this.mapIsHovered && value.keyCode === 17) {\n this.mapAus.scrollWheelZoom.enable();\n this.ctrlBtnIsDown = true;\n }\n }\n\n public handleCtrlUp(): void {\n this.mapAus.scrollWheelZoom.disable();\n this.ctrlBtnIsDown = false;\n }\n\n public getLocations(): void {\n const driver_code = this.driversToShow.length === this.driversOnDate.length ? 'all' : String(this.driversToShow);\n const newRoute = {\n date: this.date,\n driver_code: driver_code,\n };\n const isEqual = _isEqual(newRoute, this.$route.query);\n if (!isEqual) {\n this.$router.push({\n path: this.$route.path,\n query: { ...this.$route.query, ...newRoute },\n });\n } else {\n this.drawMapData(this.mapAus);\n }\n }\n\n public async changeDate(value: string): Promise {\n this.date = value;\n this.clearMapLayers(this.mapAus);\n this.mapAus.flyTo(this.center, 5);\n await this.getDriversOnDate(this.date);\n }\n\n public changeDrivers(value: number[]): void {\n this.driversToShow = value;\n }\n\n private getDriversOnDate(date: string) {\n this.loadingDrivers = true;\n return getDriverOnDay(date)\n .then(data => {\n this.driversOnDate = data;\n })\n .catch(err => {\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(err);\n });\n })\n .finally(() => (this.loadingDrivers = false));\n }\n\n public async initMapOnReady(): Promise {\n delete (Icon.Default.prototype as D)._getIconUrl;\n Icon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png'),\n });\n this.mapRef = this.$refs.myMap as HTMLFormElement;\n this.mapAus = this.mapRef.mapObject;\n this.mapAus.scrollWheelZoom.disable();\n // Flag replacement:\n this.mapAus.attributionControl.setPrefix(\n `\n \n \n \n \n \n \n \n `,\n );\n }\n\n private generateDriversByState(response: DriverLocations[]) {\n const drivers = store.getters['moduleStaticData/getDrivers'];\n const driversByState = drivers.reduce((acc, driver) => {\n if (!acc[driver.state]) {\n acc[driver.state] = [];\n }\n const driverData = response[driver.code];\n if (driverData) {\n acc[driver.state].push(driver.code);\n }\n return acc;\n }, {});\n // Remove empty arrays from the output object\n Object.keys(driversByState).forEach(key => {\n if (driversByState[key].length === 0) {\n delete driversByState[key];\n }\n });\n return driversByState;\n }\n\n private clearMapLayers(map): void {\n // Removing all layers except the map itself\n map.eachLayer(layer => {\n if (!layer['_tiles']) {\n layer.remove();\n }\n });\n }\n\n private drawLocations(driversByState, map, response: DriverLocations[]) {\n this.clearMapLayers(map);\n\n const colorPallet = [\n '#fb6313',\n '#663de7',\n '#5f234a',\n '#f2c653',\n '#c36cc0',\n '#05b112',\n '#537237',\n '#20f6da',\n '#9f3f1a',\n '#0fa3e6',\n '#fbb3bb',\n '#5c59d7',\n ];\n const firstGlyphIcon = GIcon.glyph({\n prefix: 'mdi',\n glyph: 'flag',\n glyphSize: '16px',\n glyphColor: 'green',\n });\n\n for (const austate of Object.keys(driversByState) as string[]) {\n for (const driver_number of driversByState[austate] as number[]) {\n const driverData = response[driver_number];\n\n if (!driverData.locations[0]) {\n continue;\n }\n\n const driverIdxInState = driversByState[austate].indexOf(driver_number);\n const driverColor: string = colorPallet[driverIdxInState];\n\n // Draw driver markers. Black circle on path line.\n // We filter out not marked locations(mark==false) and first and last elements\n // as we don't want to draw them on this step\n // If location doesn't have latitude or longitude, we don't draw it\n const driverMarkers = driverData.locations\n .filter(\n (location: LocationType, index: number) =>\n (location.mark && index !== 0 && index !== driverData.locations.length - 1) ||\n !location.latitude ||\n !location.longitude,\n )\n .map((location: LocationType) => {\n const marker = L.circleMarker([location.latitude, location.longitude], {\n color: 'black',\n fillColor: '#808080',\n fillOpacity: 0.0,\n radius: 2,\n weight: 5,\n });\n const userTimeZone = this.user.timezone || timeZoneDefault;\n marker.bindPopup(\n `Driver: #${location.driver_code.toString()}
${format(\n utcToZonedTime(new Date(location.timestamp), userTimeZone),\n 'yyyy-MM-dd hh:mm aa',\n )}`,\n );\n return marker;\n });\n\n L.featureGroup(driverMarkers).addTo(map);\n\n // Collecting markers to fitBounds the map\n const driverMarkersFiltred = driverData.locations.map((location: LocationType) => {\n const marker = L.circleMarker([location.latitude, location.longitude]);\n return marker;\n });\n this.driverMarkersAll = [...this.driverMarkersAll, ...driverMarkersFiltred];\n\n // Draw polyline on map\n L.polyline(\n driverData.locations.map((location: LocationType) => [location.latitude, location.longitude]),\n {\n color: driverColor,\n interactive: false,\n weight: 3,\n },\n ).addTo(map);\n\n // Draw first and last markers of driver\n const lastDivIcon = new L.DivIcon({\n className: 'last-icon',\n html: `
${driver_number}
`,\n });\n\n const firstMarker = L.marker([driverData.locations[0].latitude, driverData.locations[0].longitude], {\n icon: firstGlyphIcon,\n draggable: false,\n });\n const lastMarker = L.marker(\n [\n driverData.locations[driverData.locations.length - 1].latitude,\n driverData.locations[driverData.locations.length - 1].longitude,\n ],\n {\n icon: lastDivIcon,\n draggable: false,\n },\n );\n firstMarker.bindPopup(`${driver_number} start point`);\n lastMarker.bindPopup('latest gps point');\n L.featureGroup([firstMarker, lastMarker]).addTo(map);\n }\n }\n }\n\n private drawPackages(map, response: DriverLocations[]) {\n const pickupGlyphIcon = GIcon.glyph({\n prefix: 'mdi',\n glyph: 'mdi-alpha-d-circle',\n glyphSize: '16px',\n glyphColor: 'white',\n });\n const deliveryGlyphIcon = GIcon.glyph({\n prefix: 'mdi',\n glyph: 'mdi-alpha-p-circle',\n glyphSize: '16px',\n glyphColor: 'white',\n });\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n const markerG = L.markerClusterGroup({\n maxClusterRadius: 120,\n spiderfyOnMaxZoom: true,\n });\n for (const key of Object.keys(response)) {\n const driverPackages = response[key].packages\n .filter((pack: Package) => pack.point && pack.point.length > 0)\n .map((pack: Package) => {\n const marker = L.marker([Number(pack.point[0]), Number(pack.point[1])], {\n icon: pack.stop_type === 'P' ? pickupGlyphIcon : deliveryGlyphIcon,\n draggable: false,\n });\n const toRender = `Drv: ${key}; Job: ${pack.rockhopper_id}; No: ${pack.stop_number}; Type: ${pack.stop_type}\n
\n Stop name: ${pack.name};\n
\n Stop addres: ${pack.address_line_2}, ${pack.address_line_1}, ${pack.post_code}, ${pack.suburb}, ${pack.state}\n
\n Stop departed: ${pack.departed_at}\n `;\n marker.bindPopup(toRender);\n return marker;\n });\n // Collecting markers to fitBounds the map\n this.driverMarkersAll = [...this.driverMarkersAll, ...driverPackages];\n\n markerG.addLayers(driverPackages);\n map.addLayer(markerG);\n }\n }\n\n public async drawMapData(map) {\n this.loadingMap = true;\n const driver_code = this.driversToShow.length === this.driversOnDate.length ? 'all' : String(this.driversToShow);\n const params: DriverLocationsParams = {\n driver_code: driver_code,\n date: this.date,\n };\n // Draw driver locations\n const response = await getDriverLocations(params);\n const driversByState = this.generateDriversByState(response);\n // Draw locations, first and last markers, polylines\n this.drawLocations(driversByState, map, response);\n // Draw packages\n this.drawPackages(map, response);\n // Setting center and zoom\n if (this.driverMarkersAll.length >= 1) {\n const allDriversGroup = L.featureGroup(this.driverMarkersAll);\n map.fitBounds(allDriversGroup.getBounds());\n }\n this.loadingMap = false;\n }\n\n @Watch('$route.query', { immediate: true })\n private async routeChanged(): Promise {\n if (this.$route.name === routeNames.LOCATIONS) {\n // Date: get from the query if valid or set today\n if (this.$route.query?.date && isValid(new Date(String(this.$route.query.date)))) {\n this.date = String(this.$route.query.date);\n } else {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.date = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n }\n }\n await this.getDriversOnDate(this.date);\n\n // Drivers:\n if (this.$route.query?.driver_code) {\n const driver_code = this.$route.query.driver_code as string;\n if (driver_code.toLowerCase() === 'all') {\n this.driversToShow = this.driversOnDate;\n } else {\n this.driversInQuery = driver_code.split(',').map(code => Number(code));\n this.driversToShow = this.driversOnDate.filter((element: number) => this.driversInQuery.includes(element));\n }\n }\n\n if (!!this.date && !!this.driversToShow.length) {\n this.drawMapData(this.mapAus);\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Location.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Location.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Location.vue?vue&type=template&id=0e3e8924&scoped=true\"\nimport script from \"./Location.vue?vue&type=script&lang=ts\"\nexport * from \"./Location.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Location.scss?vue&type=style&index=0&id=0e3e8924&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0e3e8924\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"bg-purple-50 border-b border-puple-600 p-3\"},[_c('div',{staticClass:\"px-3\"},[_c('BackButton',{}),_c('h2',{staticClass:\"text-4xl font-semibold leading-10\"},[_vm._v(\"Next day Stops\")]),_c('p',{staticClass:\"text-gray-500 text-base mb-0\"},[_vm._v(\"Shows stops for the next day\")])],1),_c('div',{staticClass:\"flex p-3\"},[_c('div',{staticClass:\"w-72\"},[_c('DatePicker',{attrs:{\"outlined\":\"\"},on:{\"changeDate\":_vm.changeDate},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v},expression:\"date\"}})],1),_c('div',{staticClass:\"ml-4 w-80 h-12\"},[_c('StateSelect',{attrs:{\"selectedStatesProp\":_vm.states,\"showInputText\":true},on:{\"change\":_vm.changeStates}})],1),_c('div',{staticClass:\"ml-4\"},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"fab\":\"\",\"color\":\"primary\",\"disabled\":_vm.loadingMap,\"loading\":_vm.loadingMap},on:{\"click\":_vm.clickSearch}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)])]),_c('div',{staticClass:\"relative p-6\"},[_c('l-map',{ref:\"myMap\",staticClass:\"h-200 z-0 outline-none\",attrs:{\"center\":_vm.center,\"scroll-wheel-zoom\":false,\"zoom\":5,\"min-zoom\":5},on:{\"ready\":function($event){return _vm.initMapOnReady()},\"mouseover\":_vm.mouseover,\"mouseleave\":_vm.mouseleave}},[_c('l-tile-layer',{attrs:{\"url\":_vm.url,\"attribution\":_vm.attribution}})],1),(_vm.mapIsHovered && !_vm.ctrlBtnIsDown)?_c('div',{staticClass:\"bg-white bottom-8 left-8 p-5 absolute z-100\"},[_vm._v(\" Use the CTRL key to zoom \")]):_vm._e(),(_vm.loadingMap)?_c('div',{staticClass:\"top-0 left-0 absolute z-100 w-full h-full\"},[_c('div',{staticClass:\"relative flex items-center justify-center w-full h-full\"},[_c('div',{staticClass:\"bg-white opacity-40 top-0 left-0 absolute w-full h-full\"}),_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"64\"}},[_vm._v(\"mdi-loading\")])],1)]):_vm._e()],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getNextDayStops } from '@/api';\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\n\nimport { LMap, LTileLayer, LMarker } from 'vue2-leaflet';\nimport 'leaflet.markercluster';\nimport { NextDayStopsParams, Package } from '@/models/location';\nimport L, { Icon } from 'leaflet';\nimport { GIcon } from './Lglyph';\n\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport DatePicker from '@/views/Location/DatePicker.vue';\n\nimport { addBusinessDays, format, isValid } from 'date-fns';\nimport { utcToZonedTime } from 'date-fns-tz';\nimport _isEqual from 'lodash/isEqual';\nimport * as routeNames from '@/router/routeNames';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\n\nimport { User } from '@/models/main';\nimport StateSelect from '@/components/searchPage/components/StateSelect/StateSelect.vue';\n\ntype D = Icon.Default & {\n _getIconUrl?: string;\n};\n\n@Component({\n components: {\n StateSelect,\n BackButton,\n DatePicker,\n LMap,\n LTileLayer,\n LMarker,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class NextDayMap extends Vue {\n private user!: User;\n\n public mapRef: HTMLFormElement;\n public mapAus;\n\n public loadingMap = false;\n public loadingDrivers = false;\n\n public date = '';\n public states: string[] = [];\n\n // Geo center of Australia\n public center = L.latLng(-23.116667, 132.133333);\n public url = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';\n public attribution =\n 'Map data © OpenStreetMap contributors';\n public mapIsHovered = false;\n public ctrlBtnIsDown = false;\n\n public mouseover(): void {\n this.mapIsHovered = true;\n document.addEventListener('keydown', this.handleCtrl);\n document.addEventListener('keyup', this.handleCtrlUp);\n }\n\n public mouseleave(): void {\n this.mapIsHovered = false;\n document.removeEventListener('keydown', this.handleCtrl);\n document.removeEventListener('keyup', this.handleCtrlUp);\n }\n\n public handleCtrl(value): void {\n if (this.mapIsHovered && value.keyCode === 17) {\n this.mapAus.scrollWheelZoom.enable();\n this.ctrlBtnIsDown = true;\n }\n }\n\n public handleCtrlUp(): void {\n this.mapAus.scrollWheelZoom.disable();\n this.ctrlBtnIsDown = false;\n }\n\n public clickSearch(): void {\n const newRoute = {\n date: this.date,\n state: this.states.join(','),\n };\n const isEqual = _isEqual(newRoute, this.$route.query);\n if (!isEqual) {\n this.$router.push({\n path: this.$route.path,\n query: { ...this.$route.query, ...newRoute },\n });\n } else {\n this.drawMapData(this.mapAus);\n }\n }\n\n public async changeDate(value: string): Promise {\n this.date = value;\n this.mapAus.flyTo(this.center, 5);\n }\n\n private changeStates(states: string[]) {\n this.states = states;\n }\n\n public async initMapOnReady(): Promise {\n delete (Icon.Default.prototype as D)._getIconUrl;\n Icon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png'),\n });\n this.mapRef = this.$refs.myMap as HTMLFormElement;\n this.mapAus = this.mapRef.mapObject;\n this.mapAus.scrollWheelZoom.disable();\n // Flag replacement:\n this.mapAus.attributionControl.setPrefix(\n `\n \n \n \n \n \n \n \n `,\n );\n }\n\n private clearMapLayers(map): void {\n // Removing all layers except the map itself\n map.eachLayer(layer => {\n if (!layer['_tiles']) {\n layer.remove();\n }\n });\n }\n\n private drawPackages(map, response: Package[]) {\n const pickupGlyphIcon = GIcon.glyph({\n prefix: 'mdi',\n glyph: 'mdi-alpha-d-circle',\n glyphSize: '16px',\n glyphColor: 'white',\n });\n const deliveryGlyphIcon = GIcon.glyph({\n prefix: 'mdi',\n glyph: 'mdi-alpha-p-circle',\n glyphSize: '16px',\n glyphColor: 'white',\n });\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n const markerG = L.markerClusterGroup({\n maxClusterRadius: 120,\n spiderfyOnMaxZoom: true,\n });\n const driverPackages = response\n .filter((pack: Package) => pack.point && pack.point.length > 0)\n .map((pack: Package) => {\n const marker = L.marker([Number(pack.point[0]), Number(pack.point[1])], {\n icon: pack.stop_type === 'P' ? pickupGlyphIcon : deliveryGlyphIcon,\n draggable: false,\n });\n const toRender = `Job: ${pack.rockhopper_id}; Stop Number: ${pack.stop_number};\n
\n Stop name: ${pack.name};\n
\n Stop addres: ${pack.address_line_2}, ${pack.address_line_1}, ${pack.post_code}, ${pack.suburb}, ${pack.state}\n `;\n marker.bindPopup(toRender);\n return marker;\n });\n\n markerG.addLayers(driverPackages);\n map.addLayer(markerG);\n }\n\n public async drawMapData(map) {\n this.loadingMap = true;\n const params: NextDayStopsParams = {\n state: this.states,\n date: this.date,\n };\n this.clearMapLayers(this.mapAus);\n // Draw driver locations\n const response = await getNextDayStops(params);\n // Draw packages\n this.drawPackages(map, response);\n this.loadingMap = false;\n }\n\n @Watch('$route.query', { immediate: true })\n private async routeChanged(): Promise {\n if (this.$route.name === routeNames.NEXT_DAY_STOPS) {\n // Date: get from the query if valid or set today\n if (this.$route.query?.date && isValid(new Date(String(this.$route.query.date)))) {\n this.date = String(this.$route.query.date);\n } else {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.date = format(utcToZonedTime(addBusinessDays(new Date(), 1), userTimeZone), 'yyyy-MM-dd');\n }\n }\n\n // States:\n // TODO: Need to pass this.states to the StateSelect component\n if (this.$route.query?.state) {\n const states = this.$route.query.state as string;\n if (states.toLowerCase() === 'all') {\n console.log('all');\n } else {\n this.states = states.split(',');\n console.log('states', this.states);\n }\n }\n // Wait for the DOM to update\n this.$nextTick(() => {\n this.initMapOnReady();\n if (!!this.$route.query?.date && !!this.$route.query?.state) {\n this.drawMapData(this.mapAus);\n }\n });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NextDayMap.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NextDayMap.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NextDayMap.vue?vue&type=template&id=51856aa8&scoped=true\"\nimport script from \"./NextDayMap.vue?vue&type=script&lang=ts\"\nexport * from \"./NextDayMap.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Location.scss?vue&type=style&index=0&id=51856aa8&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"51856aa8\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"fill-height login-view\",attrs:{\"fluid\":\"\"}},[_c(VRow,{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c(VCol,{attrs:{\"cols\":\"12\",\"sm\":\"8\",\"md\":\"4\"}},[_c(VForm,{ref:\"form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}},model:{value:(_vm.formValid),callback:function ($$v) {_vm.formValid=$$v},expression:\"formValid\"}},[_c(VCard,{staticClass:\"elevation-12\"},[_c(VToolbar,{attrs:{\"color\":\"primary\",\"dark\":\"\",\"flat\":\"\"}},[_c(VToolbarTitle,[_vm._v(\"Login form\")]),_c(VSpacer)],1),_c(VCardText,[_c(VTextField,{attrs:{\"label\":\"E-mail or username\",\"name\":\"username\",\"prepend-icon\":\"mdi-account\",\"type\":\"text\",\"rules\":[v => !!v || 'Username is required'],\"required\":\"\"},model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}}),_c(VTextField,{attrs:{\"id\":\"password\",\"label\":\"Password\",\"name\":\"password\",\"prepend-icon\":\"mdi-lock\",\"type\":\"password\",\"rules\":[v => !!v || 'Password is required'],\"required\":\"\"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}})],1),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"loading\":_vm.isLoading,\"color\":\"primary\",\"type\":\"submit\",\"disabled\":!_vm.formValid}},[_vm._v(\" Login \"),_c(VIcon,[_vm._v(\"mdi-login\")])],1)],1)],1)],1)],1)],1),_c('notifications',{attrs:{\"group\":\"login\",\"position\":\"bottom right\",\"classes\":\"notification-dash\",\"duration\":-1}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { logIn } from '@/api';\nimport { AppErrors } from '@/models/main';\nimport { LoginForm } from '@/models/auth';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { notifyNetworkError } from '@/helpers/notifiers';\n\n@Component({\n computed: {\n ...mapState(['alertTimeout', 'errors']),\n },\n})\nexport default class Login extends Vue {\n public $refs!: {\n form: HTMLElement;\n };\n private alertTimeout!: number;\n public formValid = false;\n public isLoading = false;\n\n public form: LoginForm = {\n username: '',\n password: '',\n };\n private errors: AppErrors;\n\n public async onSubmit(): Promise {\n if ((this.$refs.form as HTMLFormElement).validate()) {\n try {\n this.isLoading = true;\n const result = await logIn(this.form);\n if (result) {\n await this.$router.push('/');\n } else {\n notifyNetworkError({ text: 'Username or password invalid', group: 'login' });\n }\n } catch (e) {\n notifyNetworkError({ text: 'Username or password invalid', group: 'login' });\n } finally {\n this.isLoading = false;\n }\n }\n }\n\n private mounted() {\n if (this.errors.loginError) {\n notifyNetworkError({ text: this.errors.loginError, group: 'login' });\n }\n }\n}\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=11139cfa&scoped=true\"\nimport script from \"./Login.vue?vue&type=script&lang=ts\"\nexport * from \"./Login.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Login.vue?vue&type=style&index=0&id=11139cfa&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"11139cfa\",\n null\n \n)\n\nexport default component.exports","import { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"mx-3\",attrs:{\"fluid\":\"\"}},[_c('BackButton'),_c(VForm,{ref:\"form\",staticClass:\"wrapper-portal\",attrs:{\"lazy-validation\":\"\"}},[_c('div',{staticClass:\"header mt-2\"},[_vm._v(\"New quote\")]),_c(VDivider,{staticClass:\"divider mr-3 divider-header\"}),_c('div',{staticClass:\"header-part\"},[_vm._v(\" Collection / Delivery Details \")]),_c('DeliveryDetails',{attrs:{\"stop3\":_vm.stop3,\"PStops\":_vm.stops},on:{\"toggleStop3\":_vm.toggleStop3,\"changeSpecificDates\":_vm.changeSpecificDates,\"changeCollectionDate\":_vm.changeCollectionDate,\"changeCollectionDeliveryDate\":_vm.changeCollectionDeliveryDate,\"changeTime\":_vm.changeTime,\"changeDeliveryTime\":_vm.changeDeliveryTime,\"changeStops\":_vm.changeStops}}),_c(VDivider,{staticClass:\"divider mr-3\"}),_c('div',{staticClass:\"header-part\"},[_vm._v(\" Equipment & Services \")]),_vm._l((_vm.stop3 ? 2 : 1),function(good){return _c('div',{key:good},[_c('Goods',{attrs:{\"PGoods\":_vm.goods[good - 1],\"goodNumber\":good},on:{\"changeGoods\":_vm.changeGoods}})],1)}),_c(VDivider,{staticClass:\"divider mr-3\"}),_c('div',{staticClass:\"header-part\"},[_vm._v(\"Add images or documents if needed:\")]),_c(VCol,{attrs:{\"cols\":\"4\"}},[_c(VExpandTransition,[_c('FilesTable',{attrs:{\"files\":_vm.files},on:{\"deleteFile\":_vm.deleteFile}})],1)],1),_c('UploadAttachments',{attrs:{\"PFiles\":_vm.files},on:{\"changeFiles\":_vm.changeFiles}}),_c(VDivider,{staticClass:\"divider mr-3\"}),_c(VRow,[_c(VCol,{staticClass:\"section-submit d-flex justify-end align-center mb-16\"},[_c('Button',{staticClass:\"btn-submit mr-3\",attrs:{\"size\":\"big\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-file-edit-outline\",\"text\":\"Submit quote\",\"loading\":_vm.loading,\"disabled\":_vm.loading},nativeOn:{\"click\":function($event){return _vm.sendNewMessage.apply(null, arguments)}}})],1)],1)],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VFadeTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c(VRow,{staticClass:\"mt-3 pl-3\"},_vm._l((3),function(stop){return _c('div',{key:stop,staticClass:\"w-1/3 pr-8\"},[(stop === 3 && !_vm.stop3)?_c(VFadeTransition,[_c('Button',{staticStyle:{\"width\":\"180px\"},attrs:{\"size\":\"normal\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-plus\",\"text\":\"Add stop 3\"},nativeOn:{\"click\":function($event){return _vm.$emit('toggleStop3')}}})],1):_c(VFadeTransition,{attrs:{\"duration\":\"1\"}},[_c(VCard,{staticClass:\"elevation-1\"},[_c('div',{staticClass:\"stop-header\"},[_c('div',{staticClass:\"pl-1\"},[_vm._v(\" Stop \"+_vm._s(stop)+\" \"),(stop === 1)?_c('span',{staticClass:\"stop-header-desk\"},[_vm._v(\"/ collect from\")]):_vm._e(),(stop === 2)?_c('span',{staticClass:\"stop-header-desk\"},[_vm._v(\"/ deliver to\")]):_vm._e()]),(stop === 3)?_c(VIcon,{attrs:{\"color\":\"black\",\"size\":\"24\"},on:{\"click\":function($event){return _vm.$emit('toggleStop3')}}},[_vm._v(\"mdi-close\")]):_vm._e()],1),_c('div',{staticClass:\"stop-body\"},[_c('LookupSuburb',{attrs:{\"data-cy\":\"input-suburb\",\"chosen\":{\n suburb: _vm.stops[stop - 1].suburb,\n suburbId: _vm.stops[stop - 1].suburbId,\n postCode: _vm.stops[stop - 1].postCode,\n state: _vm.stops[stop - 1].state,\n },\"autocomplete\":_vm.autocompleteSuburb,\"stop\":stop - 1,\"editedItem\":-1,\"disabled\":false},on:{\"change\":_vm.changeSuburb,\"clear\":_vm.clear}}),_c(VTextField,{attrs:{\"label\":\"State\",\"outlined\":\"\",\"disabled\":\"\"},model:{value:(_vm.stops[stop - 1].state),callback:function ($$v) {_vm.$set(_vm.stops[stop - 1], \"state\", $$v)},expression:\"stops[stop - 1].state\"}}),_c(VTextField,{attrs:{\"label\":\"Post Code\",\"outlined\":\"\",\"disabled\":\"\"},model:{value:(_vm.stops[stop - 1].postCode),callback:function ($$v) {_vm.$set(_vm.stops[stop - 1], \"postCode\", $$v)},expression:\"stops[stop - 1].postCode\"}}),_c(VTextarea,{attrs:{\"outlined\":\"\",\"label\":stop === 1 ? 'Collection Instruction' : 'Delivery Instructions'},model:{value:(_vm.stops[stop - 1].instruction),callback:function ($$v) {_vm.$set(_vm.stops[stop - 1], \"instruction\", $$v)},expression:\"stops[stop - 1].instruction\"}})],1)])],1)],1)}),0),_c(VRow,{staticClass:\"ma-0 pa-0\"},[_c(VCol,{staticClass:\"ma-0 pa-0\"},[_c(VSwitch,{staticClass:\"specificDates mx-0 my-4\",attrs:{\"label\":\"Does this require specific collection/delivery dates?\",\"color\":\"#9C8CFF\"},model:{value:(_vm.specificDates),callback:function ($$v) {_vm.specificDates=$$v},expression:\"specificDates\"}})],1)],1),_c(VExpandTransition,[(_vm.specificDates)?_c('div',[_c(VRow,[_c('p',{staticClass:\"priority-warn ml-3 my-4\"},[_vm._v(\"Priority Charges may apply to time specific services\")])]),_c(VRow,[_c(VCol,{staticClass:\"ma-0 pa-0 ml-3\",attrs:{\"cols\":\"3\"}},[_c(VMenu,{ref:\"collectionDateModal\",attrs:{\"close-on-content-click\":false,\"return-value\":_vm.collectionDate,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"min-width\":\"290px\"},on:{\"update:returnValue\":function($event){_vm.collectionDate=$event},\"update:return-value\":function($event){_vm.collectionDate=$event}},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c(VTextField,_vm._g(_vm._b({attrs:{\"value\":_vm.computedDateFormattedDate(_vm.collectionDate),\"label\":\"Collection date:\",\"prepend-icon\":\"mdi-calendar\",\"readonly\":\"\",\"outlined\":\"\"}},'v-text-field',attrs,false),on))]}}],null,false,969819977),model:{value:(_vm.collectionDateModal),callback:function ($$v) {_vm.collectionDateModal=$$v},expression:\"collectionDateModal\"}},[_c(VDatePicker,{attrs:{\"no-title\":\"\",\"scrollable\":\"\"},model:{value:(_vm.collectionDate),callback:function ($$v) {_vm.collectionDate=$$v},expression:\"collectionDate\"}},[_c(VSpacer),_c(VBtn,{attrs:{\"text\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){_vm.collectionDateModal = false}}},[_vm._v(\"Cancel\")]),_c(VBtn,{attrs:{\"text\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.$refs.collectionDateModal.save(_vm.collectionDate)}}},[_vm._v(\"OK\")])],1)],1)],1),_c(VCol,{staticClass:\"ma-0 pa-0 ml-2\",attrs:{\"cols\":\"2\"}},[_c(VSelect,{attrs:{\"items\":_vm.timeArray,\"label\":\"Time:\",\"outlined\":\"\",\"prepend-icon\":\"mdi-calendar-clock\"},on:{\"change\":function($event){return _vm.$emit('changeTime', _vm.time)}},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:\"time\"}})],1),_c(VCol,{staticClass:\"ma-0 pa-0 ml-12\",attrs:{\"cols\":\"3\"}},[_c(VMenu,{ref:\"collectionDeliveryDateModal\",attrs:{\"close-on-content-click\":false,\"return-value\":_vm.collectionDeliveryDate,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"min-width\":\"290px\"},on:{\"update:returnValue\":function($event){_vm.collectionDeliveryDate=$event},\"update:return-value\":function($event){_vm.collectionDeliveryDate=$event}},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c(VTextField,_vm._g(_vm._b({attrs:{\"value\":_vm.computedDateFormattedDate(_vm.collectionDeliveryDate),\"label\":\"Delivery date:\",\"prepend-icon\":\"mdi-calendar\",\"readonly\":\"\",\"outlined\":\"\"}},'v-text-field',attrs,false),on))]}}],null,false,4116983711),model:{value:(_vm.collectionDeliveryDateModal),callback:function ($$v) {_vm.collectionDeliveryDateModal=$$v},expression:\"collectionDeliveryDateModal\"}},[_c(VDatePicker,{attrs:{\"no-title\":\"\",\"scrollable\":\"\"},model:{value:(_vm.collectionDeliveryDate),callback:function ($$v) {_vm.collectionDeliveryDate=$$v},expression:\"collectionDeliveryDate\"}},[_c(VSpacer),_c(VBtn,{attrs:{\"text\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){_vm.collectionDeliveryDateModal = false}}},[_vm._v(\"Cancel\")]),_c(VBtn,{attrs:{\"text\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.$refs.collectionDeliveryDateModal.save(_vm.collectionDeliveryDate)}}},[_vm._v(\" OK \")])],1)],1)],1),_c(VCol,{staticClass:\"ma-0 pa-0 ml-2\",attrs:{\"cols\":\"2\"}},[_c(VSelect,{attrs:{\"items\":_vm.timeArray,\"label\":\"Time:\",\"outlined\":\"\",\"prepend-icon\":\"mdi-calendar-clock\"},on:{\"change\":function($event){return _vm.$emit('changeDeliveryTime', _vm.deliveryTime)}},model:{value:(_vm.deliveryTime),callback:function ($$v) {_vm.deliveryTime=$$v},expression:\"deliveryTime\"}})],1)],1)],1):_vm._e()])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VAutocomplete,{attrs:{\"items\":_vm.itemSearch,\"loading\":_vm.loading,\"item-text\":\"name\",\"outlined\":\"\",\"clearable\":\"\",\"label\":\"Suburb\",\"required\":\"\",\"rules\":[v => !!v || 'Suburb is required field']},on:{\"update:search-input\":_vm.search,\"change\":_vm.change,\"focus\":function($event){_vm.inputVal = ''},\"blur\":_vm.blur},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c(VListItem,[(_vm.loading)?_c(VListItemTitle,[_vm._v(\"Loading...\")]):(!_vm.loading && _vm.inputVal && _vm.inputVal.length >= 3 && _vm.itemSearch.length === 0)?_c(VListItemTitle,[_vm._v(\"Not found\")]):_c(VListItemTitle,[_vm._v(\"Enter more than 3 characters\")])],1)]},proxy:true}]),model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:\"input\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { ISelectSuburb } from '@/models/jbAdvanced';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class Autocomplete extends Vue {\n @Prop({ type: Number, required: true }) private readonly stop!: number;\n @Prop({ type: Function, required: true }) private autocomplete!: (params: string) => Promise;\n\n private input = '';\n private inputVal = '';\n private itemSearch: ISelectSuburb[] = [];\n private loading = false;\n\n private search(val: string) {\n if (val === this.input) {\n return;\n }\n\n this.inputVal = val;\n if (val?.length >= 3) {\n this.itemSearch = [];\n this.loading = true;\n this.autocomplete(val)\n .then(data => {\n this.itemSearch = data;\n })\n .catch(e => console.log(e))\n .finally(() => {\n this.loading = false;\n });\n }\n }\n private change() {\n const item = this.itemSearch.filter(x => x.name === this.input)[0];\n if (item) {\n this.inputVal = item.name;\n this.$emit('change', this.stop, item);\n } else {\n this.$emit('clear', this.stop);\n }\n }\n\n private blur() {\n if (this.input !== this.inputVal) {\n this.input = '';\n this.$emit('clear', this.stop);\n }\n }\n}\n","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Autocomplete.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Autocomplete.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Autocomplete.vue?vue&type=template&id=05f45984&scoped=true\"\nimport script from \"./Autocomplete.vue?vue&type=script&lang=ts\"\nexport * from \"./Autocomplete.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"05f45984\",\n null\n \n)\n\nexport default component.exports","\nimport { getSuburb } from '@/api';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport Autocomplete from './components/Autocomplete.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport LookupSuburb from '@/components/UI/lookups/LookupSuburb.vue';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport { generateDayTimesAmPm } from '@/utils/InputProcessingUtilities';\nimport { mapState } from 'vuex';\nimport { IStopNewQuote, User } from '@/models/main';\n\n@Component({\n components: {\n Autocomplete,\n Button,\n LookupSuburb,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class DeliveryDetails extends Vue {\n @Prop(Boolean) private stop3: boolean;\n @Prop(Array) private PStops: IStopNewQuote[];\n private user!: User;\n private autocompleteSuburb = getSuburb;\n private today = '';\n private specificDates = false;\n private collectionDateModal = false;\n private collectionDeliveryDateModal = false;\n private collectionDate = '';\n private collectionDeliveryDate = '';\n private timeArray: string[] = [];\n private time = '';\n private deliveryTime = '';\n private defaultStopValue: IStopNewQuote = {\n id: 0,\n suburb: '',\n state: '',\n postCode: '',\n instruction: '',\n };\n private stops: IStopNewQuote[] = [\n { ...this.defaultStopValue, id: 0 },\n { ...this.defaultStopValue, id: 1 },\n ];\n @Watch('PStops', { immediate: true, deep: true })\n private watchToPStops() {\n if (this.PStops.length === 0) {\n this.stops = [\n { ...this.defaultStopValue, id: 0 },\n { ...this.defaultStopValue, id: 1 },\n ];\n this.specificDates = false;\n }\n }\n @Watch('specificDates')\n private toggleSwitch() {\n if (this.specificDates) {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.collectionDate = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n this.collectionDeliveryDate = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd');\n this.time = '12:00 AM';\n this.deliveryTime = '12:00 AM';\n } else {\n this.collectionDate = '';\n this.collectionDeliveryDate = '';\n this.time = '';\n this.deliveryTime = '';\n }\n }\n @Watch('stop3', { immediate: true })\n private toggleStop3value() {\n if (this.stop3) {\n this.stops.push({ ...this.defaultStopValue, id: 2 });\n } else {\n this.stops.splice(2, 1);\n }\n }\n\n private computedDateFormattedDate(dateString: string): string {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n return format(utcToZonedTime(new Date(dateString), userTimeZone), 'dd/MM/yyyy');\n }\n\n @Watch('stops', { immediate: true, deep: true })\n private watchToStops(): void {\n this.$emit('changeStops', this.stops);\n }\n @Watch('specificDates', { immediate: true })\n private watchToSpecificDates() {\n this.$emit('changeSpecificDates', this.specificDates);\n }\n @Watch('time', { immediate: true })\n private watchToTime() {\n this.$emit('changeTime', this.time);\n }\n @Watch('deliveryTime', { immediate: true })\n private watchToDeliveryTime() {\n this.$emit('changeDeliveryTime', this.deliveryTime);\n }\n @Watch('collectionDate', { immediate: true })\n private watchToCollectionDate() {\n this.$emit('changeCollectionDate', this.collectionDate);\n }\n @Watch('collectionDeliveryDate', { immediate: true })\n private watchToCollectionDeliveryDate() {\n this.$emit('changeCollectionDeliveryDate', this.collectionDeliveryDate);\n }\n private changeSuburb(stop, item) {\n this.stops[stop].suburb = item.name;\n this.stops[stop].postCode = item.postcode;\n this.stops[stop].state = item.state;\n }\n private clear(stop: number) {\n this.stops[stop].suburb = '';\n this.stops[stop].postCode = '';\n this.stops[stop].state = '';\n }\n private mounted(): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.today = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd'); // today\n this.timeArray = generateDayTimesAmPm(30);\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DeliveryDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DeliveryDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DeliveryDetails.vue?vue&type=template&id=0e5fc265&scoped=true\"\nimport script from \"./DeliveryDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./DeliveryDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DeliveryDetails.scss?vue&type=style&index=0&id=0e5fc265&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0e5fc265\",\n null\n \n)\n\nexport default component.exports","import { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListGroup } from 'vuetify/lib/components/VList';\nimport { VRadio } from 'vuetify/lib/components/VRadioGroup';\nimport { VRadioGroup } from 'vuetify/lib/components/VRadioGroup';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c(VListGroup,{staticClass:\"mr-10\",attrs:{\"value\":\"1\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(){return [_c('div',{staticClass:\"table-header mx-0 pa-0 mt-6 mb-6\"},[_vm._v(\"Item on leg \"+_vm._s(_vm.goodNumber))])]},proxy:true}])},[_c(VDataTable,{staticClass:\"elevation-1 mt-7 goodsTable mr-2\",attrs:{\"headers\":_vm.tableHeaders,\"items\":_vm.goods.tableData,\"hide-default-footer\":\"\",\"disable-sort\":\"\"},scopedSlots:_vm._u([{key:`item.model`,fn:function({ item }){return [_c(VTextField,{staticClass:\"px-2 pt-5\",attrs:{\"label\":\"Description\",\"outlined\":\"\",\"rules\":[v => !!v || 'Description is required field']},model:{value:(_vm.goods.tableData[_vm.goods.tableData.indexOf(item)].model),callback:function ($$v) {_vm.$set(_vm.goods.tableData[_vm.goods.tableData.indexOf(item)], \"model\", $$v)},expression:\"goods.tableData[goods.tableData.indexOf(item)].model\"}})]}},{key:`item.description`,fn:function({ item }){return [_c(VSelect,{staticClass:\"px-2 pt-5\",attrs:{\"items\":_vm.description,\"label\":\"Choose type\",\"value\":\"Desktop Printer\",\"outlined\":\"\"},model:{value:(_vm.goods.tableData[_vm.goods.tableData.indexOf(item)].description),callback:function ($$v) {_vm.$set(_vm.goods.tableData[_vm.goods.tableData.indexOf(item)], \"description\", $$v)},expression:\"goods.tableData[goods.tableData.indexOf(item)].description\"}})]}},{key:`item.quantity`,fn:function({ item }){return [_c('div',{staticClass:\"d-flex align-center\"},[_c(VIcon,{staticClass:\"icon-control\",attrs:{\"color\":\"#9C8CFF\"},on:{\"click\":function($event){return _vm.changeMinusQuantity(item)}}},[_vm._v(\"mdi-minus-circle\")]),_c(VTextField,{staticClass:\"pt-5 centered-input quantity-input\",attrs:{\"readonly\":\"\",\"label\":\"Number\",\"placeholder\":\"Number\",\"type\":\"number\",\"outlined\":\"\",\"rules\":[v => v > 0 || 'Error']},model:{value:(_vm.goods.tableData[_vm.goods.tableData.indexOf(item)].quantity),callback:function ($$v) {_vm.$set(_vm.goods.tableData[_vm.goods.tableData.indexOf(item)], \"quantity\", $$v)},expression:\"goods.tableData[goods.tableData.indexOf(item)].quantity\"}}),_c(VIcon,{staticClass:\"icon-control\",attrs:{\"color\":\"#9C8CFF\"},on:{\"click\":function($event){_vm.goods.tableData[_vm.goods.tableData.indexOf(item)].quantity += 1}}},[_vm._v(\"mdi-plus-circle\")])],1)]}},{key:`item.weight`,fn:function({ item }){return [_c(VSelect,{staticClass:\"px-2 pt-5\",attrs:{\"items\":_vm.weight,\"label\":\"Choose weight\",\"outlined\":\"\"},model:{value:(_vm.goods.tableData[_vm.goods.tableData.indexOf(item)].weight),callback:function ($$v) {_vm.$set(_vm.goods.tableData[_vm.goods.tableData.indexOf(item)], \"weight\", $$v)},expression:\"goods.tableData[goods.tableData.indexOf(item)].weight\"}})]}},{key:`item.doing`,fn:function({ item }){return [_c(VSelect,{staticClass:\"px-2 pt-5\",attrs:{\"items\":_vm.service,\"label\":\"Choose service\",\"outlined\":\"\"},model:{value:(_vm.goods.tableData[_vm.goods.tableData.indexOf(item)].doing),callback:function ($$v) {_vm.$set(_vm.goods.tableData[_vm.goods.tableData.indexOf(item)], \"doing\", $$v)},expression:\"goods.tableData[goods.tableData.indexOf(item)].doing\"}})]}},{key:`item.required`,fn:function({ item }){return [_c('div',{staticClass:\"del-wrapper\"},[_c(VSelect,{staticClass:\"px-2 pt-5\",attrs:{\"items\":_vm.technician,\"label\":\"Choose\",\"outlined\":\"\"},model:{value:(_vm.goods.tableData[_vm.goods.tableData.indexOf(item)].required),callback:function ($$v) {_vm.$set(_vm.goods.tableData[_vm.goods.tableData.indexOf(item)], \"required\", $$v)},expression:\"goods.tableData[goods.tableData.indexOf(item)].required\"}})],1),(_vm.goods.tableData.indexOf(item) !== 0)?_c(VIcon,{staticClass:\"btn-close\",attrs:{\"color\":\"#9C8CFF\",\"size\":\"36\"},on:{\"click\":function($event){return _vm.deleteItem(item)}}},[_vm._v(\" mdi-close-circle \")]):_vm._e()]}}],null,true)}),_c('div',{staticClass:\"table-footer elevation-1\"},[_c('div',{staticClass:\"table-footer-btn\",on:{\"click\":function($event){_vm.count += 1;\n _vm.goods.tableData.push({ ..._vm.defaultTableValue, id: _vm.count });}}},[_vm._v(\" + Add machine \")]),_c('div',{staticClass:\"table-footer-btn\",on:{\"click\":function($event){_vm.count += 1;\n _vm.goods.tableData.push({ ..._vm.finisherTableValue, id: _vm.count });}}},[_vm._v(\" + Add finisher \")])]),_c('div',{staticClass:\"additional\"},[_vm._v(\"Additional details:\")]),_c(VRow,{staticClass:\"mt-3\"},[_c(VCol,{staticClass:\"mx-2 my-0 pa-0\",attrs:{\"cols\":\"3\"}},[_c(VSwitch,{staticClass:\"ma-0 mt-4 pa-0 pl-2\",attrs:{\"label\":\"Stairs - Include photos\",\"color\":\"#9C8CFF\"},model:{value:(_vm.goods.checkboxStairs),callback:function ($$v) {_vm.$set(_vm.goods, \"checkboxStairs\", $$v)},expression:\"goods.checkboxStairs\"}}),_c(VSwitch,{staticClass:\"ma-0 pa-0 pl-2\",attrs:{\"label\":\"Site Restrictions - Please add details\",\"color\":\"#9C8CFF\"},model:{value:(_vm.goods.checkboxLoadingDock),callback:function ($$v) {_vm.$set(_vm.goods, \"checkboxLoadingDock\", $$v)},expression:\"goods.checkboxLoadingDock\"}}),_c(VSwitch,{staticClass:\"ma-0 pa-0 pl-2\",attrs:{\"label\":\"Other Site Restrictions - PPE, Inductions etc\",\"color\":\"#9C8CFF\"},model:{value:(_vm.goods.checkboxPPE),callback:function ($$v) {_vm.$set(_vm.goods, \"checkboxPPE\", $$v)},expression:\"goods.checkboxPPE\"}})],1),_c(VCol,{staticClass:\"mx-2 my-0 pa-0\",attrs:{\"cols\":\"3\"}},[_c(VRadioGroup,{attrs:{\"column\":\"\"},model:{value:(_vm.goods.radioTypeGoods),callback:function ($$v) {_vm.$set(_vm.goods, \"radioTypeGoods\", $$v)},expression:\"goods.radioTypeGoods\"}},[_c(VRadio,{attrs:{\"label\":\"Boxed\",\"value\":\"boxed\",\"color\":\"#9C8CFF\"}}),_c(VRadio,{staticClass:\"py-3\",attrs:{\"label\":\"Palletised\",\"value\":\"palletised\",\"color\":\"#9C8CFF\"}}),_c(VRadio,{attrs:{\"label\":\"On Wheels\",\"value\":\"free\",\"color\":\"#9C8CFF\"}})],1)],1)],1),_c(VExpandTransition,[(_vm.showStairsNotes)?_c(VRow,{staticClass:\"mt-3 ml-0\"},[_c(VCol,{staticClass:\"mx-2 my-0 pa-0 stairs-details\",attrs:{\"cols\":\"6\"}},[_c('p',{staticClass:\"text\"},[_vm._v(\"Please provide more details. Extra charges may apply if details are not accurate:\")]),_c(VTextarea,{attrs:{\"outlined\":\"\",\"label\":\"Additional details:\"},model:{value:(_vm.goods.stairsNotes),callback:function ($$v) {_vm.$set(_vm.goods, \"stairsNotes\", $$v)},expression:\"goods.stairsNotes\"}})],1)],1):_vm._e()],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Header, IGoodsNewQuote, ITableDataNewQuote } from '@/models/main';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n@Component\nexport default class Goods extends Vue {\n @Prop(Number) private readonly goodNumber: number;\n @Prop(Object) private readonly PGoods: IGoodsNewQuote;\n\n private count = 0;\n private tableHeaders: Header[] = [\n { text: 'Model / Details', value: 'model' },\n { text: 'Goods description', value: 'description' },\n { text: 'Quantity', value: 'quantity' },\n { text: 'Weight', value: 'weight' },\n { text: 'Service Requirement', value: 'doing' },\n { text: 'Installation', value: 'required' },\n ];\n private defaultTableValue: ITableDataNewQuote = {\n id: 0,\n model: '',\n description: 'Desktop Printer',\n quantity: 1,\n weight: '1-30kg',\n doing: 'Deliver & Test',\n required: 'Deliver & Test',\n };\n private finisherTableValue: ITableDataNewQuote = {\n id: 0,\n model: 'Finisher',\n description: 'Finisher',\n quantity: 1,\n weight: '1-30kg',\n doing: 'Deliver & Test',\n required: 'Deliver & Test',\n };\n private goods: IGoodsNewQuote = {\n tableData: [{ ...this.defaultTableValue }],\n checkboxStairs: false,\n checkboxLoadingDock: false,\n checkboxPPE: false,\n radioTypeGoods: 'free',\n stairsNotes: '',\n };\n private weight: string[] = ['1-30kg', '31-150kg', '151-225kg', '>225kg'];\n private service: string[] = [\n 'Deliver & Test',\n 'Deliver & Collect',\n 'Deliver and Install',\n 'Collect Only',\n 'Internal Relocation',\n 'External Relocation',\n 'Onsite Install',\n 'Deliver Only',\n ];\n private technician: string[] = ['Deliver & Test', 'Basic TECH1', 'Standard TECH2', 'Full TECH3'];\n private description: string[] = [\n 'Desktop Printer',\n 'MFD',\n 'Additional Piece',\n 'Box',\n 'Desktop MFD',\n 'Envelope',\n 'Finisher',\n 'Pallet',\n 'Pro Machine',\n 'Site Inspection',\n ];\n private showStairsNotes = false;\n\n @Watch('PGoods', { immediate: true, deep: true })\n private watchToPGoods() {\n if (!this.PGoods) {\n this.goods = {\n tableData: [{ ...this.defaultTableValue }],\n checkboxStairs: false,\n checkboxLoadingDock: false,\n checkboxPPE: false,\n radioTypeGoods: 'free',\n stairsNotes: '',\n };\n }\n }\n\n private deleteItem(item: ITableDataNewQuote): void {\n this.goods.tableData.splice(this.goods.tableData.indexOf(item), 1);\n }\n\n @Watch('goods', { immediate: true, deep: true })\n private watchToGoods(): void {\n this.$emit('changeGoods', this.goods, this.goodNumber);\n if (this.goods.checkboxStairs || this.goods.checkboxLoadingDock || this.goods.checkboxPPE) {\n this.showStairsNotes = true;\n } else {\n this.showStairsNotes = false;\n }\n }\n private changeMinusQuantity(item: ITableDataNewQuote): void {\n if (this.goods.tableData[this.goods.tableData.indexOf(item)].quantity > 1) {\n this.goods.tableData[this.goods.tableData.indexOf(item)].quantity -= 1;\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Goods.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Goods.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Goods.vue?vue&type=template&id=a3ab17c2&scoped=true\"\nimport script from \"./Goods.vue?vue&type=script&lang=ts\"\nexport * from \"./Goods.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Goods.scss?vue&type=style&index=0&id=a3ab17c2&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a3ab17c2\",\n null\n \n)\n\nexport default component.exports","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VDialog,{attrs:{\"persistent\":\"\",\"max-width\":\"800\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({staticClass:\"header-link\"},'span',attrs,false),on),[_vm._v(\"Show instructions\")])]}}]),model:{value:(_vm.modal),callback:function ($$v) {_vm.modal=$$v},expression:\"modal\"}},[_c(VCard,{staticClass:\"px-5 pt-10\"},[_c('div',{staticClass:\"modal-header pb-15 d-flex justify-space-between align-center\"},[_c('span',[_vm._v(\" Instructions for Collection / Delivery Details \")]),_c(VIcon,{attrs:{\"color\":\"black\",\"size\":\"40\"},on:{\"click\":function($event){_vm.modal = false}}},[_vm._v(\"mdi-close\")])],1),_c(VExpansionPanels,{staticClass:\"pb-16\",attrs:{\"accordion\":\"\"}},_vm._l((5),function(item,i){return _c(VExpansionPanel,{key:i},[_c(VExpansionPanelHeader,{staticClass:\"expansion-header\"},[_vm._v(\"Lorem ipsum dolor?\")]),_c(VExpansionPanelContent,{staticClass:\"expansion-body\"},[_vm._v(\" Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. \")])],1)}),1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class ShowInstructions extends Vue {\n private modal = false;\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ShowInstructions.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ShowInstructions.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ShowInstructions.vue?vue&type=template&id=295dbb1d&scoped=true\"\nimport script from \"./ShowInstructions.vue?vue&type=script&lang=ts\"\nexport * from \"./ShowInstructions.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ShowInstructions.scss?vue&type=style&index=0&id=295dbb1d&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"295dbb1d\",\n null\n \n)\n\nexport default component.exports","\nimport { createJobTicket } from '@/api';\nimport DeliveryDetails from '@/components/newQuote/deliveryDetails/DeliveryDetails.vue';\nimport Goods from '@/components/newQuote/goods/Goods.vue';\nimport ShowInstructions from '@/components/newQuote/showInstructions/ShowInstructions.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport FilesTable from '@/components/UI/filesTable/FilesTable.vue';\nimport UploadAttachments from '@/components/UI/UploadAttachments/UploadAttachments.vue';\nimport { IGoodsNewQuote, IStopNewQuote, User } from '@/models/main';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport * as Sentry from '@sentry/vue';\n\n@Component({\n components: {\n BackButton,\n Button,\n DeliveryDetails,\n FilesTable,\n Goods,\n ShowInstructions,\n UploadAttachments,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class NewQuote extends Vue {\n private user!: User;\n private stop3 = false;\n private stops: IStopNewQuote[] = [];\n private specificDates = false;\n private collectionDate = '';\n private collectionDeliveryDate = '';\n private time = '';\n private deliveryTime = '';\n private goods: IGoodsNewQuote[] = [];\n private files: File[] = [];\n private messageHTML = '';\n private loading = false;\n\n private toggleStop3(): void {\n this.stop3 = !this.stop3;\n if (!this.stop3) {\n this.goods.splice(1, 1);\n }\n }\n private changeSpecificDates(specificDates: boolean): void {\n this.specificDates = specificDates;\n }\n private changeStops(stops: IStopNewQuote[]): void {\n this.stops = stops;\n }\n private changeCollectionDate(date: string): void {\n this.collectionDate = date;\n }\n private changeCollectionDeliveryDate(date: string): void {\n this.collectionDeliveryDate = date;\n }\n private changeTime(time: string): void {\n this.time = time;\n }\n private changeDeliveryTime(time: string): void {\n this.deliveryTime = time;\n }\n private changeGoods(good: IGoodsNewQuote, goodNumber: number): void {\n this.goods[goodNumber - 1] = good;\n }\n private changeFiles(files: File[]): void {\n this.files = [...this.files, ...files];\n }\n\n private deleteFile(fileIndex: number): void {\n this.files.splice(fileIndex, 1);\n }\n\n private createHTMLMessage(): void {\n this.messageHTML = `\n
\\\n
\\\n

User:

\\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n
Email:Phone:CCode:
\n ${this.user.username}\n \\\n ${this.user.customerCode}\n
\\\n
\\\n
\\\n

Stops:

\\\n \\\n `;\n for (let i = 0; i < (this.stop3 ? 3 : 2); i++) {\n this.messageHTML += `\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n `;\n }\n this.messageHTML += `\n
\\\n Stop ${i + 1}:\n \\\n ${this.stops[i].suburb}\n \\\n ${this.stops[i].state}\n \\\n ${this.stops[i].postCode}\n \\\n ${this.stops[i].instruction}\n
\\\n `;\n if (this.specificDates) {\n this.messageHTML += `\n

Specific dates:

\\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n
\\\n Collection date:\n \\\n ${this.collectionDate}\n \\\n ${this.time}\n
\\\n Delivery date:\n \\\n ${this.collectionDeliveryDate}\n \\\n ${this.deliveryTime}\n
\\\n `;\n }\n this.messageHTML += `\n
\\\n `;\n this.messageHTML += `\n
\\\n

Goods:

\\\n `;\n for (let goods = 0; goods < this.goods.length; goods++) {\n this.messageHTML += `\n

Items on leg ${goods + 1}

\\\n \\\n `;\n for (let tableData = 0; tableData < this.goods[goods].tableData.length; tableData++) {\n this.messageHTML += `\n \\\n \\\n \\\n \\\n \\\n \\\n `;\n }\n this.messageHTML += `\n
${tableData + 1}\\\n
\\\n Model / Details:\\\n
\\\n

\\\n ${this.goods[goods].tableData[tableData].model}\\\n

\\\n
\\\n
\\\n Quantity:\\\n
\\\n

\\\n ${this.goods[goods].tableData[tableData].quantity}\\\n

\\\n
\\\n
\\\n
\\\n Goods description:\\\n
\\\n

\\\n ${this.goods[goods].tableData[tableData].description}\\\n

\\\n
\\\n
\\\n Weight:\\\n
\\\n

\\\n ${this.goods[goods].tableData[tableData].weight}\\\n

\\\n
\\\n
\\\n
\\\n
\\\n What are we doing:\\\n
\\\n

\\\n ${this.goods[goods].tableData[tableData].doing}\\\n

\\\n
\\\n
\\\n
\\\n Technician Required?:\\\n
\\\n

\\\n ${this.goods[goods].tableData[tableData].required}\\\n

\\\n
\\\n
\\\n

Additional details:

\\\n\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n \\\n
\\\n Stairs - Include photos:\n \\\n ${this.goods[goods].checkboxStairs ? 'yes' : 'no'}\n
\\\n Site Restrictions - Please add details:\n \\\n ${this.goods[goods].checkboxLoadingDock ? 'yes' : 'no'}\n
\\\n Other Site Restrictions - PPE, Inductions etc:\n \\\n ${this.goods[goods].checkboxPPE ? 'yes' : 'no'}\n
\\\n Type:\n \\\n ${this.goods[goods].radioTypeGoods}\n
\\\n Stairs notes:\n \\\n ${this.goods[goods].stairsNotes}\n
\\\n `;\n }\n\n this.messageHTML += `\n
\\\n
\\\n `;\n }\n private sendNewMessage(): void {\n const form = this.$refs.form as HTMLFormElement;\n\n if (form.validate()) {\n this.createHTMLMessage();\n this.loading = true;\n const cCode = this.user.customerCode;\n const suburb1 = this.stops[0].suburb;\n const suburb2 = this.stops[1].suburb;\n const suburb3 = this.stops[2] ? '-' + this.stops[2].suburb : '';\n const counter = this.goods[0].tableData.length + (this.goods[1] ? this.goods[1].tableData.length : 0);\n const title = `${cCode}-${suburb1}-${suburb2}${suburb3}-quantity-${counter}`;\n let group = 'IT Support';\n if (process.env.VUE_APP_SENTRY_ENVIRONMENT === 'production') {\n group = 'Finance Team';\n }\n createJobTicket({\n title: `Quote: ${title}`,\n group,\n customer: this.user?.username.toLowerCase(),\n article: {\n subject: title,\n body: this.messageHTML,\n type: 'note',\n content_type: 'text/html',\n sender: this.$ability.can('staff', 'Job') ? 'Agent' : 'Customer',\n internal: false,\n attachments: this.files,\n },\n is_rfc: false,\n })\n .then(res => {\n this.stop3 = false;\n this.stops = [];\n this.goods = [];\n this.files = [];\n form.resetValidation();\n\n this.$router.push({ path: `/quotes/${res.id}` });\n })\n .catch(err => {\n Sentry.withScope(scope => {\n scope.setLevel('warning');\n Sentry.captureException(err);\n });\n this.$notify({\n group: 'network',\n title: 'Error sending the quote',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loading = false;\n });\n } else {\n this.$nextTick(() => {\n const el = this.$el.querySelector('.v-messages.error--text:first-of-type') as HTMLElement;\n if (el) {\n this.$vuetify.goTo(el, { offset: 100 });\n }\n });\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NewQuote.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NewQuote.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NewQuote.vue?vue&type=template&id=23cc9483&scoped=true\"\nimport script from \"./NewQuote.vue?vue&type=script&lang=ts\"\nexport * from \"./NewQuote.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NewQuote.scss?vue&type=style&index=0&id=23cc9483&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23cc9483\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c(VContainer,{staticClass:\"header\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"wrapper-portal\"},[_c('BackButton',{staticClass:\"ml-3\",attrs:{\"routePath\":\"/dash\"}}),_c('div',{staticClass:\"title_page ml-4 pt-6\"},[_vm._v(\"Profile\")]),_c('div',{staticClass:\"d-flex flex-column align-center\"},[_c('div',{staticClass:\"avatar\"},[(_vm.$can('staff', 'Job'))?_c(VBtn,{staticClass:\"isStaff\",attrs:{\"color\":\"green\",\"small\":\"\",\"dark\":\"\",\"absolute\":\"\",\"top\":\"\",\"right\":\"\",\"fab\":\"\"}},[_c(VIcon,[_vm._v(\"mdi-check\")])],1):_vm._e(),_c('Avatar',{attrs:{\"size\":\"180\",\"color\":\"white\",\"background\":\"purple\",\"text\":_vm.user && _vm.user.username ? _vm.user.username[0].toUpperCase() : '',\"imageURL\":_vm.user.avatar,\"newImage\":_vm.newAvatar}}),_c('div',{staticClass:\"updateButton d-flex align-center\",on:{\"click\":_vm.onButtonClick}},[_c(VBtn,{attrs:{\"color\":\"#C1B7FE\",\"small\":\"\",\"dark\":\"\",\"fab\":\"\",\"loading\":_vm.isSelecting}},[_c(VIcon,[_vm._v(\"mdi-camera\")])],1),_c('div',{staticClass:\"updateButton__text pl-2\"},[(_vm.buttonText)?_c('div',[_vm._v(_vm._s(_vm.buttonText))]):_c('div',[_c('div',{staticClass:\"updateButton__text_line1\"},[_vm._v(\"Change avatar\")]),_c('div',{staticClass:\"updateButton__text_line2\"},[_vm._v(\"Equilateral, from 180x180px\")])])])],1)],1),_c('input',{ref:\"uploader\",staticClass:\"d-none\",attrs:{\"type\":\"file\",\"accept\":\"image/*\"},on:{\"change\":_vm.onFileChanged}}),(_vm.user.first_name)?_c('div',{staticClass:\"user_name pt-6\"},[_vm._v(_vm._s(`${_vm.user.first_name} ${_vm.user.last_name}`))]):_vm._e(),(_vm.user.username)?_c('div',{staticClass:\"user_email pt-3\"},[_vm._v(_vm._s(_vm.user.username))]):_vm._e()])],1)]),_c(VContainer,{staticClass:\"content py-16\",attrs:{\"fluid\":\"\"}},[_c(VForm,{ref:\"form\",staticClass:\"wrapper-portal\",attrs:{\"lazy-validation\":\"\"}},[_c(VRow,[(_vm.user.customerCode)?_c(VCol,{staticClass:\"d-flex\",attrs:{\"offset\":\"3\",\"cols\":\"7\"}},[_c('div',{staticClass:\"row_text1 d-flex align-center\"},[_vm._v(\"Customer code:\")]),_c('div',{staticClass:\"row_text2 d-flex align-center\"},[_vm._v(_vm._s(_vm.user.customerCode))])]):_vm._e(),(_vm.user.phone_number)?_c(VCol,{staticClass:\"d-flex\",attrs:{\"offset\":\"3\",\"cols\":\"7\"}},[_c('div',{staticClass:\"row_text1 d-flex align-center\"},[_vm._v(\"Phone number:\")]),_c('div',{staticClass:\"row_text2 d-flex align-center\"},[_vm._v(_vm._s(_vm.user.phone_number))])]):_vm._e(),(_vm.user && _vm.user.state.length > 0)?_c(VCol,{staticClass:\"d-flex\",attrs:{\"offset\":\"3\",\"cols\":\"7\"}},[_c('div',{staticClass:\"row_text1 d-flex align-center\"},[_vm._v(\"States:\")]),_c('div',{staticClass:\"row_text2 d-flex align-center\"},[_vm._v(_vm._s(_vm.user.state.join(', ')))])]):_vm._e(),_c(VCol,{staticClass:\"d-flex\",attrs:{\"offset\":\"3\",\"cols\":\"7\"}},[_c('div',{staticClass:\"row_text1 d-flex align-center\"},[_vm._v(\"Timezone:\")]),_c('div',{staticClass:\"row_text2 d-flex align-center\"},[_c(VSelect,{staticClass:\"time_zone\",attrs:{\"items\":_vm.timeZoneItems,\"item-text\":\"timeZone\",\"item-value\":\"city\",\"label\":\"Choose your time zone\",\"dense\":\"\",\"outlined\":\"\",\"persistent-hint\":\"\",\"hide-details\":\"\"},scopedSlots:_vm._u([{key:\"item\",fn:function({ item }){return [_c(VRow,{staticClass:\"pa-0\"},[_c(VCol,{staticClass:\"pa-0 select_zone\",attrs:{\"cols\":\"5\"}},[_vm._v(\"UTC \"+_vm._s(item.timeZone)+\" / \"+_vm._s(item.zoneCode))]),_c(VCol,{staticClass:\"pa-0 select_city\",attrs:{\"cols\":\"3\"}},[_vm._v(_vm._s(item.city))]),_c(VCol,{staticClass:\"pa-0 pr-4 d-flex justify-end select_time\",attrs:{\"cols\":\"4\"}},[_vm._v(\" \"+_vm._s(_vm.format(_vm.utcToZonedTime(new Date(_vm.date), item.timeZone), 'ccc, HH:mm:ss'))+\" \")])],1)]}},{key:\"selection\",fn:function({ item }){return [_c(VRow,{staticClass:\"pl-5 selected\"},[_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(\"UTC \"+_vm._s(item.timeZone)+\" / \"+_vm._s(item.zoneCode))]),_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(_vm._s(item.city))])],1)]}}]),model:{value:(_vm.selectZone),callback:function ($$v) {_vm.selectZone=$$v},expression:\"selectZone\"}})],1)])],1)],1)],1),_c('div',{staticClass:\"wrapper-portal pt-10 pb-16 d-flex justify-end\"},[_c('Button',{staticClass:\"mr-6\",attrs:{\"size\":\"big\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-close\",\"text\":\"Reset changes\"},nativeOn:{\"click\":function($event){return _vm.clickReset.apply(null, arguments)}}}),_c('Button',{staticClass:\"mr-10\",attrs:{\"size\":\"big\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-file-edit-outline\",\"text\":\"Save\",\"loading\":_vm.loadingUpdate},nativeOn:{\"click\":function($event){return _vm.clickUpdate.apply(null, arguments)}}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { updateProfile } from '@/api';\nimport Avatar from '@/components/UI/avatar/Avatar.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport Notification from '@/components/UI/Notification.vue';\nimport { IUserUpdate, User } from '@/models/main';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { notificationErrorText } from '@/utils/PortalConstants';\n\n@Component({\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n components: {\n Avatar,\n BackButton,\n Button,\n Notification,\n },\n})\nexport default class Profile extends Vue {\n private notification = false;\n private notificationColor = '';\n private notificationText = '';\n\n private user!: User;\n\n private loadingUpdate = false;\n private selectZone: string | undefined = '';\n private selectedFile: File | '' = '';\n private newAvatar: string | ArrayBuffer | null = '';\n private intervalId: number;\n\n private date = new Date();\n private isSelecting = false;\n\n private format = format;\n private utcToZonedTime = utcToZonedTime;\n\n private timeZoneItems = [\n {\n timeZone: '+08:00',\n zoneCode: 'AWST',\n city: 'Perth',\n },\n {\n timeZone: '+08:45',\n zoneCode: 'ACWST',\n city: 'Eucla',\n },\n {\n timeZone: '+09:30',\n zoneCode: 'ACST',\n city: 'Darwin',\n },\n {\n timeZone: '+10:00',\n zoneCode: 'AEST',\n city: 'Brisbane',\n },\n {\n timeZone: '+10:30',\n zoneCode: 'ACDT',\n city: 'Adelaide',\n },\n {\n timeZone: '+11:00',\n zoneCode: 'AEDT',\n city: 'Sydney',\n },\n {\n timeZone: '+11:00',\n zoneCode: 'LHDT',\n city: 'Lord Howe Island',\n },\n ];\n private get buttonText() {\n return this.selectedFile ? this.selectedFile.name : '';\n }\n\n /* taken from\n * https://codepen.io/blachocolat/pen/BgMKRQ\n */\n private onButtonClick() {\n this.isSelecting = true;\n window.addEventListener(\n 'focus',\n () => {\n this.isSelecting = false;\n },\n { once: true },\n );\n (this.$refs.uploader as HTMLInputElement).value = '';\n (this.$refs.uploader as HTMLInputElement).click();\n }\n\n private async onFileChanged(e) {\n if (e.target.files[0].size > 2 * 1024 * 1024) {\n this.notification = true;\n this.notificationColor = 'red';\n this.notificationText = 'Max size 2mb';\n (this.$refs.uploader as HTMLInputElement).value = '';\n return;\n }\n this.selectedFile = e.target.files[0];\n\n if (this.selectedFile) {\n const fr = new FileReader();\n fr.onload = () => {\n this.newAvatar = fr.result;\n };\n fr.readAsDataURL(e.target.files[0]);\n }\n }\n\n // update profile\n private clickUpdate() {\n this.loadingUpdate = true;\n\n const params: IUserUpdate = {};\n if (this.user.timezone !== `Australia/${this.selectZone}`) {\n params.timezone = `Australia/${this.selectZone}`;\n }\n const formData = new FormData();\n formData.append('payload', JSON.stringify(params));\n formData.append('avatar_file', this.selectedFile);\n\n const form = this.$refs.form as Vue & { validate: () => boolean };\n if (form.validate() && (params.timezone !== this.user.timezone || !!this.selectedFile)) {\n updateProfile(formData)\n .then(res => {\n if (res.status === 200) {\n this.$store.dispatch('moduleUser/setUser', res.data);\n this.selectedFile = '';\n }\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error updating the profile',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loadingUpdate = false;\n this.$notify({\n group: 'network',\n text: 'Profile updated',\n type: 'success',\n duration: 3000,\n });\n });\n }\n }\n private clickReset() {\n this.selectZone = this.user.timezone?.split('/')[1];\n this.selectedFile = '';\n this.newAvatar = '';\n }\n\n private created() {\n this.intervalId = setInterval(() => (this.date = new Date()), 1000) as unknown as number;\n }\n\n private beforeDestroy() {\n if (this.intervalId) {\n clearInterval(this.intervalId);\n }\n }\n private mounted() {\n this.selectZone = this.user.timezone?.split('/')[1];\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Profile.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Profile.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Profile.vue?vue&type=template&id=38ec1703&scoped=true\"\nimport script from \"./Profile.vue?vue&type=script&lang=ts\"\nexport * from \"./Profile.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Profile.scss?vue&type=style&index=0&id=38ec1703&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"38ec1703\",\n null\n \n)\n\nexport default component.exports","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VPagination } from 'vuetify/lib/components/VPagination';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"my-0 py-2 pl-5 pr-2\",attrs:{\"fluid\":\"\"}},[_c('Loading',{attrs:{\"active\":_vm.loadingVisible,\"is-full-page\":true},on:{\"update:active\":function($event){_vm.loadingVisible=$event}}}),_c(VRow,{staticClass:\"wrapper-portal\"},[_c(VCol,{staticClass:\"py-0 mb-6\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"pa-0 ma-0 mt-4 mx-1\"},[_c(VRow,[_c(VCol,{staticClass:\"header\",attrs:{\"cols\":\"7\"}},[_c('h1',{},[_vm._v(\"Quotes\")]),_c('p',{staticClass:\"filter ma-0\"},[_c('span',{staticClass:\"slash\"},[_vm._v(\"/\")]),_c(VSwitch,{staticClass:\"pl-2\",attrs:{\"label\":\"Show closed quotes:\",\"color\":\"#9C8CFF\"},model:{value:(_vm.closedMailsFiltered),callback:function ($$v) {_vm.closedMailsFiltered=$$v},expression:\"closedMailsFiltered\"}})],1)]),_c(VCol,{attrs:{\"cols\":\"3\"}},[_c(VTextField,{staticClass:\"pt-1\",attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c(VCol,{staticClass:\"d-flex justify-end align-center\",attrs:{\"cols\":\"2\"}},[_c('Button',{attrs:{\"size\":\"medium\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-file-edit-outline\",\"text\":\"New quote\"},nativeOn:{\"click\":function($event){return _vm.$router.push({ path: '/quotes/new' })}}})],1)],1),_c(VRow,{staticClass:\"px-3 py-0\"},[_c(VDivider,{staticClass:\"divider\"})],1)],1),_c(VDataTable,{staticClass:\"quotes-table mt-4\",attrs:{\"headers\":_vm.tableHeaders,\"items\":_vm.mailsFiltered,\"item-key\":\"id\",\"single-expand\":\"\",\"hide-default-footer\":\"\",\"hide-default-header\":\"\",\"search\":_vm.search,\"sort-by\":\"updated_at\",\"sort-desc\":true,\"page\":_vm.page,\"items-per-page\":_vm.itemsPerPage},on:{\"update:page\":function($event){_vm.page=$event},\"page-count\":function($event){_vm.pageCount = $event}},scopedSlots:_vm._u([{key:\"item\",fn:function({ item }){return [_c('router-link',{attrs:{\"to\":{\n path: `/quotes/${item.id}`,\n }}},[_c(VCard,{staticClass:\"quotes-table-row mx-1 my-3 elevation-1\"},[_c(VRow,{staticClass:\"ma-0 px-4 py-2\"},[(item.title.length > 80)?_c(VCol,{staticClass:\"d-flex align-center text pa-0\",attrs:{\"cols\":\"8\"}},[_vm._v(\" \"+_vm._s(item.title.slice(0, 80) + ' ...')+\" \")]):_c(VCol,{staticClass:\"d-flex align-center text pa-0\",attrs:{\"cols\":\"8\"}},[_vm._v(\" \"+_vm._s(item.title)+\" \")]),_c(VCol,{staticClass:\"d-flex align-center pa-0\",attrs:{\"cols\":\"2\"}},[(item.state === 'closed')?_c('Chip',{attrs:{\"background\":\"gray\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-check\",\"text\":\"Closed\"}}):(item.state === 'merged')?_c('Chip',{attrs:{\"background\":\"purple-soft\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-axis-z-arrow\",\"text\":\"Merged\"}}):(item.state === 'pending reminder')?_c('Chip',{attrs:{\"background\":\"orange\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-lan-pending\",\"text\":\"Pending reminder\"}}):(item.state === 'Awaiting DIMS')?_c('Chip',{attrs:{\"background\":\"orange\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-account-clock-outline\",\"text\":\"Awaiting DIMS\"}}):(item.state === 'new')?_c('Chip',{attrs:{\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-email-outline\",\"text\":\"New\"}}):(item.state === 'open')?_c('Chip',{attrs:{\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-email-open-outline\",\"text\":\"Open\"}}):_c(VChip,[_vm._v(\" \"+_vm._s(item.state)+\" \")])],1),_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"1\"}}),_c(VCol,{staticClass:\"d-flex align-center date text pa-0\",attrs:{\"cols\":\"1\"}},[_vm._v(\" \"+_vm._s(_vm.dateFormat(item.updated_at)))])],1)],1)],1)]}}])}),(_vm.pageCount > 1)?_c(VPagination,{staticClass:\"py-5 mr-3 app-pagination\",attrs:{\"color\":\"#E5E5E5\",\"length\":_vm.pageCount},model:{value:(_vm.page),callback:function ($$v) {_vm.page=$$v},expression:\"page\"}}):_vm._e()],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getZammadQuotes } from '@/api';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { notificationErrorText } from '@/utils/PortalConstants';\n\nimport Button from '@/components/UI/button/Button.vue';\nimport Chip from '@/components/UI/chip/Chip.vue';\nimport { User } from '@/models/main';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\n\ninterface TableHeaders {\n text: string;\n value: string;\n align?: string;\n width?: string;\n filterable?: false;\n}\n@Component({\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n components: {\n Button,\n Chip,\n },\n})\nexport default class Quotes extends Vue {\n private page = 1;\n private pageCount = 0;\n private itemsPerPage = 10;\n\n private user!: User;\n\n private search = '';\n private title = '';\n private loadingVisible = false;\n private mails: Array> = [];\n private mailsFiltered: Array> = [];\n private closedMailsFiltered = false;\n private tableHeaders: TableHeaders[] = [\n { text: 'Id', value: 'id', align: 'center' },\n { text: 'Title', value: 'title', align: 'left' },\n { text: 'Status', value: 'state', align: 'center' },\n { text: 'Updated', value: 'updated_at', align: 'center' },\n ];\n\n @Watch('closedMailsFiltered')\n private toggleSwitch() {\n if (this.closedMailsFiltered) {\n this.mailsFiltered = this.mails;\n } else {\n this.mailsFiltered = this.mails.filter(item => {\n return item.state !== 'closed';\n });\n }\n }\n\n private dateFormat(date: string): string {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n return format(utcToZonedTime(new Date(date), userTimeZone), 'yyyy-MM-dd');\n }\n\n private mounted(): void {\n this.loadingVisible = true;\n getZammadQuotes()\n .then(res => {\n if (res.status === 200) {\n this.mailsFiltered = res.data.filter(item => {\n return item.state !== 'closed';\n });\n this.mails = res.data;\n } else {\n this.$notify({\n group: 'network',\n title: 'Error getting the quotes',\n text: notificationErrorText,\n type: 'warn',\n });\n }\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting the quotes',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loadingVisible = false;\n });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Quotes.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Quotes.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Quotes.vue?vue&type=template&id=53db54e8&scoped=true\"\nimport script from \"./Quotes.vue?vue&type=script&lang=ts\"\nexport * from \"./Quotes.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Quotes.scss?vue&type=style&index=0&id=53db54e8&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"53db54e8\",\n null\n \n)\n\nexport default component.exports","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{attrs:{\"fluid\":\"\"}},[_c('Loading',{attrs:{\"active\":_vm.loadingVisible,\"is-full-page\":true},on:{\"update:active\":function($event){_vm.loadingVisible=$event}}}),_c('BackButton',{staticClass:\"px-3\",attrs:{\"routePath\":\"/quotes/list\"}}),(_vm.ticketArticles.length > 0)?_c(VRow,{staticClass:\"wrapper-portal pl-3 pr-1 py-4\"},[_c(VCol,{attrs:{\"cols\":\"12\"}},[_c(VRow,[_c(VCol,{attrs:{\"cols\":\"1\"}},[_c('Avatar',{attrs:{\"size\":\"100\",\"color\":\"white\",\"background\":\"purple\",\"text\":_vm.user.username[0].toUpperCase()}})],1),_c(VCol,{staticClass:\"d-flex ml-4 flex-column justify-center\",attrs:{\"cols\":\"10\"}},[_c('p',{staticClass:\"text-subject ma-0\"},[_vm._v(\" \"+_vm._s(_vm.ticketArticles[0].subject ? _vm.ticketArticles[0].subject : 'Subject')+\" \")]),_c('p',{staticClass:\"text-id ma-0\"},[_vm._v(\" id #\"),_c('a',{staticClass:\"ticket-link\",attrs:{\"href\":'https://service.kkts.com.au/#ticket/zoom/' + _vm.ticketArticles[0].ticket_id,\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.ticketArticles[0].ticket_id))]),_vm._v(\" – created on \"+_vm._s(_vm.format( _vm.utcToZonedTime(new Date(_vm.ticketArticles[0].created_at), _vm.user.timezone || _vm.timeZoneDefault), 'yyyy-MM-dd HH:mm', ))+\" \")])])],1),_c(VDivider,{staticClass:\"divider mt-3\"}),_c('transition-group',{attrs:{\"name\":\"list\",\"tag\":\"div\"}},[_vm._l((_vm.ticketArticles),function(article){return [(_vm.showInternal(article))?_c(VRow,{key:article.id,class:article.from.indexOf(_vm.user.username) !== -1 ? 'd-flex flex-row-reverse' : 'd-flex'},[_c(VCol,{staticClass:\"d-flex justify-center text-header pa-0 pt-6 pb-2\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.format( _vm.utcToZonedTime(new Date(article.created_at), _vm.user.timezone || _vm.timeZoneDefault), 'yyyy-MM-dd HH:mm', ))+\" \")]),_c(VCol,{staticClass:\"avatar-column\",attrs:{\"cols\":\"1\"}},[_c(VMenu,{staticClass:\"avatar-menu\",attrs:{\"open-on-hover\":\"\",\"right\":article.from.indexOf(_vm.user.username) === -1,\"disabled\":article.from.indexOf(_vm.user.username) !== -1,\"offset-x\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('Avatar',{attrs:{\"size\":\"64\",\"color\":\"white\",\"background\":\"purple\",\"text\":article.from}})],1)]}}],null,true)},[_c(VCard,{staticClass:\"avatar-card\"},[_c(VCardText,[_vm._v(_vm._s(article.from)+\" \")])],1)],1)],1),_c(VCol,{attrs:{\"cols\":\"7\"}},[_c(VExpansionPanels,[_c(VExpansionPanel,{staticClass:\"message\"},[_c(VExpansionPanelHeader,{staticClass:\"d-block pa-0 article-header\",attrs:{\"hide-actions\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ open }){return [_c(VExpandTransition,[(open)?_c('div',{staticClass:\"pa-5 pt-0\",staticStyle:{\"background-color\":\"#e4dfff\"}},[_c(VRow,[_c(VCol,{staticClass:\"py-2 pt-0 text-header\",attrs:{\"cols\":\"2\"}},[_vm._v(\" From:\")]),_c(VCol,{staticClass:\"py-2 pt-0 text-header\",attrs:{\"cols\":\"10\"}},[_vm._v(\" \"+_vm._s(article.from)+\" \")])],1),_c(VRow,[_c(VCol,{staticClass:\"py-2 text-header\",attrs:{\"cols\":\"2\"}},[_vm._v(\" To: \")]),_c(VCol,{staticClass:\"py-2 text-header\",attrs:{\"cols\":\"10\"}},[_vm._v(\" \"+_vm._s(article.to)+\" \")])],1),_c(VRow,[_c(VCol,{staticClass:\"py-2 text-header\",attrs:{\"cols\":\"2\"}},[_vm._v(\" CC: \")]),_c(VCol,{staticClass:\"py-2 text-header\",attrs:{\"cols\":\"10\"}},[_vm._v(\" \"+_vm._s(article.cc)+\" \")])],1),_c(VRow,[_c(VCol,{staticClass:\"py-2\",attrs:{\"cols\":\"2\"}},[_vm._v(\" Subject: \")]),_c(VCol,{staticClass:\"py-2 text-header\",attrs:{\"cols\":\"10\"}},[_vm._v(\" \"+_vm._s(article.subject)+\" \")])],1)],1):_vm._e()]),(!open)?_c('div',{staticClass:\"pa-5\"},[_c('div',{domProps:{\"innerHTML\":_vm._s(article.body.substring(0, 300))}}),_c('div',{staticClass:\"link-toggle mt-4\"},[_vm._v(\"See more\")])]):_vm._e()]}}],null,true)}),_c(VExpansionPanelContent,{staticClass:\"article-content\"},[_c('div',{staticClass:\"d-block pa-5\",domProps:{\"innerHTML\":_vm._s(article.body)}}),(article.attachments.length > 0)?_c('div',{staticClass:\"px-5\"},[_c(VDivider,{staticClass:\"attachments-divider\"}),_c('div',{staticClass:\"attachments-header py-2\"},[_c(VIcon,[_vm._v(\"mdi-attachment\")]),_vm._v(\" \"+_vm._s(article.attachments.length)+\" attached files: \")],1),_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"9\"}},[_c(VDataTable,{staticClass:\"tableFiles\",attrs:{\"headers\":_vm.filesHeaders,\"items\":article.attachments,\"hide-default-header\":\"\",\"hide-default-footer\":\"\"},scopedSlots:_vm._u([{key:`item.filename`,fn:function({ item }){return [(_vm.filesLoading.indexOf(item.id) !== -1)?_c(VProgressCircular,{attrs:{\"size\":\"16\",\"indeterminate\":\"\",\"color\":\"rgba(0, 0, 0, 0.5);\"}}):_vm._e(),_c('span',{staticClass:\"file-download-link\",on:{\"click\":function($event){return _vm.downloadImage(article.ticket_id, article.id, item.id, item.filename)}}},[_vm._v(\" \"+_vm._s(item.filename)+\" \")])]}},{key:`item.size`,fn:function({ item }){return [(+item.size < 1024)?_c('span',{staticClass:\"files-size\"},[_vm._v(_vm._s((+item.size).toFixed(1))+\" b\")]):(+item.size / 1024 < 1024)?_c('span',{staticClass:\"files-size\"},[_vm._v(_vm._s((+item.size / 1024).toFixed(1))+\" kb\")]):_c('span',{staticClass:\"files-size\"},[_vm._v(_vm._s((+item.size / 1024 / 1024).toFixed(1))+\" mb\")])]}}],null,true)})],1)],1):_vm._e(),_c(VExpansionPanelHeader,{staticClass:\"pa-0\",attrs:{\"hide-actions\":\"\"}},[_c('div',{staticClass:\"link-toggle ma-5\"},[_vm._v(\"See less\")])])],1)],1)],1)],1)],1):_vm._e()]})],2)],1),_c(VCol,{staticClass:\"mt-4\",attrs:{\"cols\":\"1\"}},[_c('div',{staticClass:\"avatar-wrapper\"},[_c('Avatar',{attrs:{\"size\":\"64\",\"color\":\"white\",\"background\":\"purple\",\"text\":_vm.user.username[0].toUpperCase()}})],1)]),_c(VCol,{staticClass:\"mt-4 mb-6\",attrs:{\"cols\":\"8\"}},[_c(VCard,{staticClass:\"new-message-card px-4 pt-4\"},[_c(VForm,{ref:\"form\",attrs:{\"lazy-validation\":\"\"}},[_c(VRow,[_c(VCol,{staticClass:\"pt-0 pb-2\",attrs:{\"cols\":\"12\"}},[_c(VTextField,{staticClass:\"text-header\",staticStyle:{\"font-size\":\"14px\"},attrs:{\"outlined\":\"\",\"label\":\"Subject\",\"rules\":[v => !!v || 'Subject is required'],\"required\":\"\",\"background-color\":\"white\"},model:{value:(_vm.subject),callback:function ($$v) {_vm.subject=$$v},expression:\"subject\"}})],1),_c(VCol,{staticClass:\"py-0 textarea\",attrs:{\"cols\":\"12\"}},[_c(VTextarea,{staticClass:\"text-header\",staticStyle:{\"font-size\":\"18px\"},attrs:{\"outlined\":\"\",\"label\":\"New message\",\"rows\":\"4\",\"row-height\":\"30\",\"rules\":[v => !!v || 'Message is required'],\"required\":\"\",\"background-color\":\"white\"},model:{value:(_vm.message),callback:function ($$v) {_vm.message=$$v},expression:\"message\"}})],1)],1)],1)],1)],1),_c(VCol,{staticClass:\"mt-4\",attrs:{\"cols\":\"2\"}},[_c('div',{staticClass:\"button-wrapper\",on:{\"click\":_vm.sendMessage}},[_c('Button',{attrs:{\"size\":\"big\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-file-edit-outline\",\"text\":\"Send\",\"loading\":_vm.formLoading}})],1)])],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getJobArticles, getJobTicketAttachment, createJobArticle } from '@/api';\nimport Avatar from '@/components/UI/avatar/Avatar.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport { Header, User } from '@/models/main';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { notificationErrorText } from '@/utils/PortalConstants';\n\nimport { JobTicketAtricle } from '@/models/jobTicket';\n\n@Component({\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n components: {\n Avatar,\n Button,\n BackButton,\n },\n})\nexport default class ZammadDetailed extends Vue {\n private user!: User;\n private loadingVisible = true;\n private ticketArticles: JobTicketAtricle[] = [];\n private subject = '';\n private message = '';\n private format = format;\n private utcToZonedTime = utcToZonedTime;\n\n private formLoading = false;\n\n private filesLoading: number[] = [];\n private filesHeaders: Header[] = [\n { text: 'Name', value: 'filename', align: 'left' },\n { text: 'Size', value: 'size', align: 'left' },\n ];\n\n private showInternal(article): boolean {\n if (article.internal) {\n return this.$ability.can('staff', 'Job');\n } else {\n return true;\n }\n }\n\n private sendMessage(): void {\n const form = this.$refs.form as HTMLFormElement;\n if (form.validate()) {\n this.formLoading = true;\n createJobArticle({\n ticket_id: this.ticketArticles[0].ticket_id,\n to: this.ticketArticles.slice(-1)[0].from,\n subject: this.subject,\n body: this.message,\n content_type: 'text/html',\n type: 'note',\n internal: false,\n sender: this.$ability.can('staff', 'Job') ? 'Agent' : 'Customer',\n attachments: [],\n })\n .then(res => {\n this.ticketArticles.push(res);\n form.resetValidation();\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error sending the message',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.formLoading = false;\n this.message = '';\n });\n }\n }\n\n // TODO: Create TS interface for ticketArticles\n private downloadImage(ticket_id: number, article_id: number, file_id: number, file_name: string) {\n this.filesLoading.push(file_id);\n getJobTicketAttachment(ticket_id, article_id, file_id)\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', file_name);\n document.body.appendChild(link);\n link.click();\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error downloading the image',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .then(() => {\n this.filesLoading.splice(this.filesLoading.indexOf(file_id), 1);\n });\n }\n private mounted(): void {\n getJobArticles(Number(this.$route.params.id))\n .then(res => {\n this.ticketArticles = res.map(item => {\n const body = item.body.replace(/<\\/?img[^>]+(>|$)/g, '');\n return { ...item, body };\n });\n this.subject = `Re: ${this.ticketArticles[0].subject}`;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting the articles',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loadingVisible = false;\n });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./QuotesDetailed.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./QuotesDetailed.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./QuotesDetailed.vue?vue&type=template&id=3b52c936&scoped=true&class=quotes-detailed\"\nimport script from \"./QuotesDetailed.vue?vue&type=script&lang=ts\"\nexport * from \"./QuotesDetailed.vue?vue&type=script&lang=ts\"\nimport style0 from \"./QuotesDetailed.scss?vue&type=style&index=0&id=3b52c936&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3b52c936\",\n null\n \n)\n\nexport default component.exports","import { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"wrapper ml-6 mb-3\"},[_c(VContainer,{attrs:{\"fluid\":\"\"}},[_c(VRow,{staticClass:\"header mt-2\"},[_c('h2',[_vm._v(\"BULK reports\")]),_c('p',{staticClass:\"subtitle\"},[_vm._v(\" Send a list of Rockhopper Job Reference field numbers (starting with REF) and download an archive with PODs files related to these jobs. \")]),_c('p',{staticClass:\"tip\"},[_c(VIcon,[_vm._v(\"mdi-alert\")]),_c('span',[_vm._v(\"The number of each job must be on a new line.\")])],1)]),_c(VForm,{ref:\"form\",staticClass:\"form mt-2\"},[_c('div',{staticClass:\"textarea-wrapper\"},[_c(VTextarea,{attrs:{\"outlined\":\"\",\"auto-grow\":\"\",\"label\":\"Put RH job numbers here\",\"rows\":\"6\",\"row-height\":\"30\",\"rules\":[v => !!v || 'Message is required'],\"error\":!_vm.isValid,\"error-messages\":_vm.errorMessage,\"required\":\"\"},model:{value:(_vm.message),callback:function ($$v) {_vm.message=$$v},expression:\"message\"}})],1),_c('div',{staticClass:\"button-row\"},[_c('div',{staticClass:\"button-wrapper\",on:{\"click\":_vm.sendRequest}},[_c('Button',{staticClass:\"button\",attrs:{\"size\":\"big\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-folder-download\",\"text\":\"Download archive\",\"loading\":_vm.isLoading,\"disabled\":_vm.isLoading}})],1)])])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { postBulkSignature } from '@/api';\nimport Button from '@/components/UI/button/Button.vue';\nimport { User } from '@/models/main';\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\n\n@Component({\n components: {\n Button,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class BulkReports extends Vue {\n private user!: User;\n private message = '';\n private errorMessage = '';\n private isValid = true;\n private isLoading = false;\n private sendRequest(): void {\n this.errorMessage = '';\n this.isValid = (this.$refs.form as Vue & { validate: () => boolean }).validate();\n if (this.isValid) {\n this.isLoading = true;\n const messageJson = {\n refs: this.message.split('\\n'),\n };\n const fileName: string = this.message.replace('\\n', '-').substring(0, 29);\n postBulkSignature(messageJson)\n .then(res => {\n const blob = new Blob([res.data], { type: 'application/zip' });\n const link = document.createElement('a');\n link.href = URL.createObjectURL(blob);\n link.download = fileName;\n link.click();\n URL.revokeObjectURL(link.href);\n this.isLoading = false;\n })\n .catch(e => {\n if (e.response.status === 404) {\n this.errorMessage = 'It seems that there is no job with this RH number';\n this.isValid = false;\n this.isLoading = false;\n return null;\n }\n this.errorMessage = 'Something went wrong';\n this.isLoading = false;\n });\n }\n }\n private mounted(): void {\n if (!this.user.staff) {\n this.$router.push({ path: '/dash' });\n }\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BulkReports.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BulkReports.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BulkReports.vue?vue&type=template&id=653958c4&scoped=true\"\nimport script from \"./BulkReports.vue?vue&type=script&lang=ts\"\nexport * from \"./BulkReports.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BulkReports.scss?vue&type=style&index=0&id=653958c4&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"653958c4\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemGroup } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSubheader } from 'vuetify/lib/components/VSubheader';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 pb-4\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg pb-2 mb-3\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"AM/PM Jobs\")])]),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('div',[_c('p',[_vm._v(\"AM/PM Jobs:\")])])]),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"3\"}},[_c('DateSelect',{attrs:{\"range-msg-warn\":false},on:{\"changeDate\":_vm.changeDate}})],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"fab\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.getAMPMJobs()}}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)],1)],1)]),_c('div',{staticClass:\"content pa-6\"},[(_vm.isLoading)?_c(VProgressLinear,{staticClass:\"progress-bar mt-12\",attrs:{\"indeterminate\":\"\",\"rounded\":\"\",\"height\":\"4\"}}):_vm._e(),(_vm.statsReport)?_c('div',{staticClass:\"table-wrapper\"},[_c('div',{staticClass:\"mt-4\"},[_c(VCard,[_c(VCardTitle,{staticClass:\"pa-4\"},[_c('div',{staticClass:\"d-flex justify-space-between\"},[_c('div',{staticClass:\"d-flex\"},[_c(VIcon,{staticClass:\"mr-2\"},[_vm._v(\"mdi-chart-box-outline\")]),_c('h3',{staticClass:\"title\"},[_vm._v(\"AM/PM Jobs statistics on \"+_vm._s(_vm.dates[0]))])],1)])]),_c(VCardSubtitle,[_c(VRow,[_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('div',{staticClass:\"d-flex justify-space-around\"},[_c('div',{staticClass:\"d-flex\"},[_c('h3',{staticClass:\"title\"},[_vm._v(\"AM\")])]),_c('div',{staticClass:\"d-flex\"},[_c('h3',{staticClass:\"title font-weight-bold\"},[_vm._v(_vm._s(_vm.statsReport.am_count))])])])]),_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('div',{staticClass:\"d-flex justify-space-around\"},[_c('div',{staticClass:\"d-flex\"},[_c('h3',{staticClass:\"title\"},[_vm._v(\"PM\")])]),_c('div',{staticClass:\"d-flex\"},[_c('h3',{staticClass:\"title font-weight-bold\"},[_vm._v(_vm._s(_vm.statsReport.pm_count))])])])]),_c(VCol,{attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"d-flex justify-space-around\"},[_c('div',{staticClass:\"d-flex\"},[_c('h3',{staticClass:\"title\"},[_vm._v(\"Total AM/PM jobs\")])]),_c('div',{staticClass:\"d-flex\"},[_c('h3',{staticClass:\"title font-weight-bold\"},[_vm._v(_vm._s(_vm.statsReport.total_limit))])])])]),_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('div',{staticClass:\"d-flex justify-space-around\"},[_c('div',{staticClass:\"d-flex\"},[_c('h3',{staticClass:\"title\"},[_vm._v(\"Total jobs\")])]),_c('div',{staticClass:\"d-flex\"},[_c('h3',{staticClass:\"title font-weight-bold\"},[_vm._v(_vm._s(_vm.statsReport.total))])])])]),_c(VCol,{attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"d-flex justify-space-around\"},[_c('div',{staticClass:\"d-flex\"},[_c(VIcon,{staticClass:\"mr-2\"},[_vm._v(\"mdi-percent-outline\")]),_c('h3',{staticClass:\"title\"},[_vm._v(\"Percentage of AM/PM\")])],1),_c('div',{staticClass:\"d-flex\"},[_c('h3',{staticClass:\"title font-weight-bold\"},[_vm._v(_vm._s(_vm.statsReport.percentage)+\"%\")])])])])],1)],1)],1)],1),_c('div',{staticClass:\"mt-4\"},[_c(VCard,[_c(VList,{attrs:{\"disabled\":\"\"}},[_c(VSubheader,[_vm._v(\"AM Jobs\")]),_c(VListItemGroup,_vm._l((_vm.amPmJobs()),function(item,i){return _c(VListItem,{key:i},[_c(VListItemContent,[_c(VListItemTitle,[_vm._v(_vm._s(item[0]))])],1),_c(VListItemContent,[_c(VListItemTitle,[_vm._v(_vm._s(item[1]))])],1)],1)}),1),_c(VDivider),_c(VSubheader,[_vm._v(\"PM Jobs\")]),_c(VListItemGroup,_vm._l((_vm.pmPmJobs()),function(item,i){return _c(VListItem,{key:i},[_c(VListItemContent,[_c(VListItemTitle,[_vm._v(_vm._s(item[0]))])],1),_c(VListItemContent,[_c(VListItemTitle,[_vm._v(_vm._s(item[1]))])],1)],1)}),1)],1)],1)],1)]):_vm._e()],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getAMPMJobs } from '@/api';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport DateSelect from '@/components/dashBoard/selectsFields/components/DateSelect/DateSelect.vue';\nimport { AmPmJobs } from '@/models/reports';\n\n@Component({\n components: {\n DateSelect,\n BackButton,\n },\n computed: {\n ...mapState('moduleUser', { userSelectedDates: 'userSelectedDates' }),\n },\n})\nexport default class AmPmReport extends Vue {\n private isLoading = false;\n private dates: string[] = [];\n private statsReport: AmPmJobs = {\n customer_am: {},\n customer_pm: {},\n am_count: 0,\n pm_count: 0,\n total: 0,\n total_limit: 0,\n percentage: '',\n };\n private userSelectedDates!: string[];\n\n // Date lookup\n private changeDate(date: string): void {\n this.dates[0] = date;\n }\n\n private amPmJobs() {\n if (this.statsReport?.customer_am) {\n return Object.entries(this.statsReport?.customer_am);\n }\n }\n private pmPmJobs() {\n if (this.statsReport?.customer_pm) {\n return Object.entries(this.statsReport?.customer_pm);\n }\n }\n\n // Weekly report\n private getAMPMJobs() {\n this.isLoading = true;\n const params = {\n dates: this.dates,\n };\n getAMPMJobs(params)\n .then(res => {\n this.statsReport = res;\n console.log(this.statsReport);\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting AM/PM jobs',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.isLoading = false;\n });\n }\n\n private mounted(): void {\n this.dates[0] = this.userSelectedDates[0];\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DailyJobs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DailyJobs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DailyJobs.vue?vue&type=template&id=109e83f8&scoped=true\"\nimport script from \"./DailyJobs.vue?vue&type=script&lang=ts\"\nexport * from \"./DailyJobs.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DailyJobs.scss?vue&type=style&index=0&id=109e83f8&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"109e83f8\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 pb-4\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg pb-2 mb-3\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"Driver Report\")])]),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('div',[_c('p',[_vm._v(\"List reports. Choose a date when report has been created (filter GTE):\")])])]),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c('DateSelect',{attrs:{\"range-msg-warn\":false},on:{\"changeDate\":_vm.changeDate}})],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"fab\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.getDriverReportList()}}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)],1),_c(VDivider,{staticClass:\"ma-4\"}),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"1\"}},[_c('div',[_c('p',[_vm._v(\"Generate report\")])])]),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"6\"}},[_c('p',[_vm._v(\"For \\\"Week of report\\\" choose any date inside a week\")]),_c(VSwitch,{staticClass:\"pa-2\",model:{value:(_vm.generatePeriod),callback:function ($$v) {_vm.generatePeriod=$$v},expression:\"generatePeriod\"}}),_c('p',[_vm._v(\"For \\\"Month of report\\\" choose any date inside a month\")])],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c('DateSelect',{attrs:{\"range-msg-warn\":false},on:{\"changeDate\":_vm.changeDate}})],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c(VBtn,{attrs:{\"fab\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.generateDriverReport()}}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-folder-plus\")])],1)],1)],1)],1)]),_c('div',{staticClass:\"content pa-6\"},[(_vm.isLoading)?_c(VProgressLinear,{staticClass:\"progress-bar mt-12\",attrs:{\"indeterminate\":\"\",\"rounded\":\"\",\"height\":\"4\"}}):_c('div',{staticClass:\"table-wrapper\"},[_c('div',{staticClass:\"mt-4\"},[_c(VDataTable,{staticClass:\"elevation-1\",attrs:{\"dense\":\"\",\"headers\":_vm.headers,\"items\":_vm.driverReport,\"sort-by\":['id'],\"sort-desc\":[true],\"item-key\":\"id\"},scopedSlots:_vm._u([{key:`item.link`,fn:function({ item }){return [_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn-detailed ma-1\",attrs:{\"fab\":\"\",\"small\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.downloadDriverReport(item.id)}}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-download\")])],1)],1)]}}],null,true)},[_c('span',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"Download\")])])]}},{key:`item.created_at`,fn:function({ item }){return [_vm._v(\" \"+_vm._s(_vm.formatDateStringWithTZ(item.created_at, _vm.user.timezone, 'yyyy-MM-dd hh:mm aa')))]}},{key:`item.approved_at`,fn:function({ item }){return [_vm._v(\" \"+_vm._s(item.approved_at ? _vm.formatDateStringWithTZ(item.approved_at, _vm.user.timezone, 'yyyy-MM-dd hh:mm aa') : '–'))]}}],null,true)})],1)])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getReportFile, getReportList, generateReport } from '@/api';\nimport DateSelect from '@/components/dashBoard/selectsFields/components/DateSelect/DateSelect.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { Header, User } from '@/models/main';\nimport { ReportRequestParams, ReportResponse } from '@/models/reports';\nimport { notificationErrorText, timeZoneDefault } from '@/utils/PortalConstants';\nimport { blobDownloader } from '@/utils/Common';\nimport * as Sentry from '@sentry/vue';\nimport { formatDateStringWithTZ } from '@/utils/InputProcessingUtilities';\nimport { mapState } from 'vuex';\n\n@Component({\n components: {\n BackButton,\n DateSelect,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class DriverReport extends Vue {\n private isLoading = false;\n private isDownloadLoading = false;\n private dates: string[] = [];\n private driverReport: ReportResponse[] = [];\n private generatePeriod = false;\n private user: User;\n private formatDateStringWithTZ = formatDateStringWithTZ;\n\n private headers: Header[] = [\n { text: 'Id', value: 'id', align: 'left' },\n { text: 'Title', value: 'title', align: 'left', sortable: false },\n { text: 'Created by', value: 'created_by', align: 'left' },\n { text: 'Created at', value: 'created_at', align: 'left' },\n { text: 'Approved at', value: 'approved_at', align: 'left' },\n { text: 'Download', value: 'link', align: 'left', sortable: false },\n ];\n\n // Date lookup\n private changeDate(dates: string[]): void {\n this.dates = dates;\n }\n // Driver report\n private getDriverReportList() {\n this.isLoading = true;\n const params: ReportRequestParams = {\n created_at: this.dates,\n report_type: 1,\n };\n getReportList(params)\n .then((res: ReportResponse[]) => {\n this.driverReport = res;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting Driver report',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.isLoading = false;\n this.isLoading = false;\n });\n }\n\n private getGenerateParams() {\n let params: ReportRequestParams;\n if (this.generatePeriod) {\n params = {\n month: this.dates,\n report_type: 1,\n };\n } else {\n params = {\n week: this.dates,\n report_type: 1,\n };\n }\n return params;\n }\n\n /**\n * Generate a report on backend\n * Type = 1 for Driver report type\n * @private\n */\n private generateDriverReport() {\n // download loader should be used, but I don't want to spent time on template to implement it\n // so using isLoading for now\n this.isLoading = true;\n this.isDownloadLoading = true;\n const params = this.getGenerateParams();\n generateReport(params)\n .then(() => {\n this.$notify({\n group: 'network',\n title: 'Driver report requested',\n text: 'Wait for the result. It could take up to 10-15m in case of big Report.',\n type: 'success',\n });\n this.getDriverReportList();\n })\n .catch(err => {\n this.$notify({\n group: 'network',\n title: 'Error generation Driver report',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(err);\n });\n })\n .finally(() => {\n this.isLoading = false;\n this.isDownloadLoading = false;\n });\n }\n\n /**\n * Download a report file by report ID\n * @param report_id\n * @private\n */\n private downloadDriverReport(report_id: number) {\n // TODO: download loader should be used, but I don't want to spent time on template to implement it\n // so using isLoading for now\n this.isLoading = true;\n this.isDownloadLoading = true;\n getReportFile(report_id)\n .then(res => {\n blobDownloader(res);\n })\n .catch(err => {\n this.$notify({\n group: 'network',\n title: 'Error getting Driver report',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(err);\n });\n })\n .finally(() => {\n this.isLoading = false;\n this.isDownloadLoading = false;\n });\n }\n\n private mounted(): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.dates = [format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd')];\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Driver.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Driver.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Driver.vue?vue&type=template&id=92489292&scoped=true\"\nimport script from \"./Driver.vue?vue&type=script&lang=ts\"\nexport * from \"./Driver.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Driver.scss?vue&type=style&index=0&id=92489292&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"92489292\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 pb-4\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg pb-2 mb-3\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"ETA Report\")])]),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('LookupCustomerCode',{staticClass:\"lookup-customer-code\",attrs:{\"outlined\":\"\",\"background-color\":\"white\",\"chosen\":_vm.customerCode,\"autocomplete\":_vm.autocompleteCustomer},on:{\"change\":_vm.setCustomerCode,\"clear\":_vm.clearCustomCode}})],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c('DateSelect',{attrs:{\"range-msg-warn\":false},on:{\"changeDate\":_vm.changeDate}})],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"fab\":\"\",\"disabled\":!_vm.customerCode,\"color\":\"primary\"},on:{\"click\":function($event){return _vm.getETAReport()}}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)],1)],1)]),_c('div',{staticClass:\"content pa-6\"},[_c('div',{staticClass:\"table-wrapper\"},[_c('div',{staticClass:\"mt-4\"},[_c(VDataTable,{staticClass:\"elevation-1\",attrs:{\"dense\":\"\",\"single-expand\":\"\",\"headers\":_vm.headers,\"items\":_vm.etaReport,\"sort-by\":['eta'],\"sort-desc\":[false],\"expanded\":_vm.expanded,\"loading\":_vm.isLoading,\"item-key\":\"unique_key\"},on:{\"click:row\":function($event){return _vm.expandRow($event)}},scopedSlots:_vm._u([{key:`item.link`,fn:function({ item }){return [_c('router-link',{staticClass:\"btn-detailed-wrapper\",attrs:{\"to\":{\n name: _vm.routeNames.DETAILED_QUERY_JOB,\n query: {\n job_id: item.job_id,\n job_date: _vm.dates[0],\n },\n }}},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn-detailed\",attrs:{\"fab\":\"\",\"color\":\"primary\"}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-microscope\")])],1)],1)]}}],null,true)},[_c('span',{staticClass:\"ma-0 pa-0\"},[_c('p',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"Open detailed job page\")])])])],1)]}},{key:\"expanded-item\",fn:function({ item, headers }){return [_c('td',{attrs:{\"colspan\":headers.length}},_vm._l((item.packages),function(product,idx){return _c(VCol,{key:idx,staticClass:\"pl-0\"},[_c(VCard,{staticClass:\"bg\",attrs:{\"flat\":\"\",\"color\":\"white\",\"outlined\":\"\"}},[_c('div',[_c(VCardTitle,{staticClass:\"item_title ma-0 py-0 pl-0\"},[_vm._v(\"Package \"+_vm._s(idx + 1))])],1),_c('div',{staticClass:\"d-flex mt-2\"},[_c('div',[_c(VCardText,{staticClass:\"item_title item_title_description py-0 pl-0\"},[_vm._v(\"Description\")]),_c(VCardTitle,{staticClass:\"item_sub_title mt-1 mb-2 py-0 pl-0\"},[_vm._v(_vm._s(product.pkg_description))])],1),_c('div',[(product.pkg_id)?_c(VCardText,{staticClass:\"item_title py-0\"},[_vm._v(\"Id\")]):_vm._e(),(product.pkg_id)?_c(VCardTitle,{staticClass:\"item_sub_title mt-1 mb-2 py-0\"},[_vm._v(_vm._s(product.pkg_id))]):_vm._e()],1),_c('div',[_c(VCardText,{staticClass:\"item_title py-0\"},[_vm._v(\"Serial\")]),_c(VCardTitle,{staticClass:\"item_sub_title mt-1 mb-2 py-0\"},[_vm._v(_vm._s(product.pkg_serial))])],1)])])],1)}),1)]}}],null,true)})],1)]),_c('div',{staticClass:\"footer wrapper-portal d-flex justify-space-between align-center mt-8 mb-12\"},[_c('div',{staticClass:\"footer-left d-flex mb-6\"},[_c('Button',{attrs:{\"text\":\"Download PDF\",\"icon\":\"mdi-arrow-down\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"disabled\":!_vm.customerCode || _vm.isDownloading,\"loading\":_vm.isDownloading},nativeOn:{\"click\":function($event){return _vm.downloadETAReport('PDF')}}}),_c('Button',{staticClass:\"ml-4\",attrs:{\"text\":\"Download CSV\",\"icon\":\"mdi-arrow-down\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"disabled\":!_vm.customerCode || _vm.isDownloading,\"loading\":_vm.isDownloading},nativeOn:{\"click\":function($event){return _vm.downloadETAReport('CSV')}}})],1),_c('div',{staticClass:\"footer-right mb-6\"},[_c('Button',{staticClass:\"btn\",attrs:{\"size\":\"small\",\"disabled\":!_vm.customerCode || _vm.isSendReportLoading,\"loading\":_vm.isSendReportLoading,\"icon\":\"mdi-send\",\"text\":\"Send ETA report\"},nativeOn:{\"click\":function($event){return _vm.sendReport.apply(null, arguments)}}})],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getETAFile, getETAList, lookupCustomer, sendETAReport } from '@/api';\nimport LookupCustomerCode from '@/components/jobBooking/AdvancedJobBooking/LookupCustomerCode.vue';\nimport DateSelect from '@/components/dashBoard/selectsFields/components/DateSelect/DateSelect.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { Header } from '@/models/main';\nimport { ETAReportResponse } from '@/models/reports';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport { mapState } from 'vuex';\nimport * as routeNames from '@/router/routeNames';\n\n@Component({\n components: {\n Button,\n BackButton,\n DateSelect,\n LookupCustomerCode,\n },\n computed: {\n ...mapState('moduleUser', { userSelectedDates: 'userSelectedDates' }),\n },\n})\nexport default class ETAReport extends Vue {\n public routeNames = routeNames;\n private isLoading = false;\n private isSendReportLoading = false;\n private isDownloading = false;\n private dates: string[] = [];\n private etaReport: ETAReportResponse[] = [];\n private userSelectedDates!: string[];\n\n // Table related\n private expanded: ETAReportResponse[] = [];\n private headers: Header[] = [\n { text: 'Id', value: 'job_id', align: 'left' },\n { text: 'Cost Service', value: 'cost_service', align: 'left', sortable: false },\n { text: 'Reference 1', value: 'ref1', align: 'left', sortable: false },\n { text: 'Stop Name', value: 'name', align: 'left' },\n { text: 'Stop Suburb', value: 'suburb', align: 'left', sortable: false },\n { text: 'Stop State', value: 'state', align: 'left', sortable: false },\n { text: 'ETA', value: 'eta', align: 'left' },\n { text: 'Link', value: 'link', align: 'left', sortable: false },\n ];\n private expandRow(job: ETAReportResponse): void {\n if (this.expanded[0] === job) {\n this.expanded = [];\n } else {\n this.expanded = [];\n this.expanded.push(job);\n }\n }\n //Customer code lookup related\n private customerCode = '';\n private autocompleteCustomer = lookupCustomer;\n private setCustomerCode(customerCode): void {\n if (customerCode) {\n this.customerCode = customerCode;\n }\n }\n private clearCustomCode(): void {\n this.customerCode = '';\n }\n // Date lookup\n private changeDate(date: string): void {\n this.dates[0] = date;\n if (this.customerCode) {\n this.getETAReport();\n }\n }\n // ETA report\n private getETAReport() {\n this.isLoading = true;\n getETAList(this.dates, this.customerCode)\n .then(res => {\n this.etaReport = res.data.results;\n })\n .catch(e => {\n if (e.response.status === 403) {\n this.$notify({\n group: 'network',\n title: 'Error getting ETA report',\n text: 'No access rights to get ETA report',\n type: 'warn',\n });\n } else {\n this.$notify({\n group: 'network',\n title: 'Error getting ETA report',\n text: notificationErrorText,\n type: 'warn',\n });\n }\n })\n .finally(() => {\n this.isLoading = false;\n });\n }\n\n private downloadETAReport(downloadType = 'JSON') {\n if (this.customerCode) {\n this.isDownloading = true;\n getETAFile(this.dates, this.customerCode, downloadType)\n .then(res => {\n this.blobDownloader(res, downloadType);\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting ETA report',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.isDownloading = false;\n });\n }\n }\n private blobDownloader(response, type) {\n let blob;\n let fileName;\n if (type === 'PDF') {\n blob = new Blob([response.data], { type: 'application/pdf' });\n fileName = this.customerCode + '_' + this.dates[0] + '_report_eta.pdf';\n } else if (type === 'CSV') {\n blob = new Blob([response.data], { type: 'text/csv;charset=utf-8' });\n fileName = this.customerCode + '_' + this.dates[0] + '_report_eta.csv';\n }\n const link = document.createElement('a');\n link.setAttribute('href', URL.createObjectURL(blob));\n link.setAttribute('download', fileName);\n link.click();\n URL.revokeObjectURL(link.href);\n link.remove();\n }\n\n private sendReport(): void {\n if (this.customerCode) {\n this.isSendReportLoading = true;\n sendETAReport(this.dates, this.customerCode)\n .then(res => {\n if (res.status === 200) {\n this.$notify({\n group: 'network',\n text: 'The report was successfully sent',\n type: 'success',\n duration: 3000,\n });\n } else {\n this.$notify({\n group: 'network',\n title: 'Error sending the report',\n text: notificationErrorText,\n type: 'warn',\n });\n }\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error sending the report',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.isSendReportLoading = false;\n });\n }\n }\n\n private mounted(): void {\n this.dates[0] = this.userSelectedDates[0];\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ETA.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ETA.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ETA.vue?vue&type=template&id=ef149c4a&scoped=true\"\nimport script from \"./ETA.vue?vue&type=script&lang=ts\"\nexport * from \"./ETA.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ETA.scss?vue&type=style&index=0&id=ef149c4a&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ef149c4a\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 pb-4\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg pb-2 mb-3\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"KPI Report\")])]),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('div',[_c('p',[_vm._v(\"Choose Customer first:\")])])]),_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('LookupCustomerCode',{staticClass:\"lookup-customer-code\",attrs:{\"outlined\":\"\",\"background-color\":\"white\",\"chosen\":_vm.customerCode,\"autocomplete\":_vm.autocompleteCustomer},on:{\"change\":_vm.setCustomerCode,\"clear\":_vm.clearCustomerCode}})],1)],1),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('div',[_c('p',[_vm._v(\"Next, choose any date within a month you want the report be generated:\")])])]),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c('DateSelect',{attrs:{\"range-msg-warn\":false},on:{\"changeDate\":_vm.changeDate}})],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"fab\":\"\",\"disabled\":!_vm.customerCode,\"color\":\"primary\"},on:{\"click\":function($event){return _vm.getKPIReportList()}}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)],1),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('div',[_c('p',[_vm._v(\"Generate report for this month\")])])]),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c(VBtn,{attrs:{\"fab\":\"\",\"disabled\":!_vm.customerCode,\"color\":\"primary\"},on:{\"click\":function($event){return _vm.generateKPIReport()}}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-folder-plus\")])],1)],1)],1)],1)]),_c('div',{staticClass:\"content pa-6\"},[(_vm.isLoading)?_c(VProgressLinear,{staticClass:\"progress-bar mt-12\",attrs:{\"indeterminate\":\"\",\"rounded\":\"\",\"height\":\"4\"}}):_c('div',{staticClass:\"table-wrapper\"},[_c('div',{staticClass:\"mt-4\"},[_c(VDataTable,{staticClass:\"elevation-1\",attrs:{\"dense\":\"\",\"headers\":_vm.headers,\"items\":_vm.kpiReport,\"sort-by\":['id'],\"sort-desc\":[true],\"item-key\":\"id\"},scopedSlots:_vm._u([{key:`item.link`,fn:function({ item }){return [_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VBtn,{staticClass:\"btn-detailed ma-1\",attrs:{\"fab\":\"\",\"small\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.downloadKPIReport(item.id)}}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-download\")])],1)],1)]}}],null,true)},[_c('span',{staticClass:\"ma-0 pa-0\"},[_vm._v(\"Download\")])])]}},{key:`item.created_at`,fn:function({ item }){return [_vm._v(\" \"+_vm._s(_vm.formatDateStringWithTZ(item.created_at, _vm.user.timezone, 'yyyy-MM-dd hh:mm aa')))]}},{key:`item.approved_at`,fn:function({ item }){return [_vm._v(\" \"+_vm._s(item.approved_at ? _vm.formatDateStringWithTZ(item.approved_at, _vm.user.timezone, 'yyyy-MM-dd hh:mm aa') : '–'))]}}],null,true)})],1)])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getReportFile, getReportList, generateReport, lookupCustomer } from '@/api';\nimport LookupCustomerCode from '@/components/jobBooking/AdvancedJobBooking/LookupCustomerCode.vue';\nimport DateSelect from '@/components/dashBoard/selectsFields/components/DateSelect/DateSelect.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { Header, User } from '@/models/main';\nimport { ReportRequestParams, ReportResponse } from '@/models/reports';\nimport { notificationErrorText, timeZoneDefault } from '@/utils/PortalConstants';\nimport { blobDownloader } from '@/utils/Common';\nimport * as Sentry from '@sentry/vue';\nimport { formatDateStringWithTZ } from '@/utils/InputProcessingUtilities';\nimport { mapState } from 'vuex';\n\n@Component({\n components: {\n BackButton,\n DateSelect,\n LookupCustomerCode,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class KPIReport extends Vue {\n private isLoading = false;\n private isDownloadLoading = false;\n private dates: string[] = [];\n private kpiReport: ReportResponse[] = [];\n private user: User;\n private timeZone = 'Australia/Sydney';\n private formatDateStringWithTZ = formatDateStringWithTZ;\n\n private headers: Header[] = [\n { text: 'Id', value: 'id', align: 'left' },\n { text: 'Customer', value: 'customer', align: 'left' },\n { text: 'Title', value: 'title', align: 'left', sortable: false },\n { text: 'Type', value: 'type', align: 'left', sortable: false },\n { text: 'Created by', value: 'created_by', align: 'left' },\n { text: 'Created at', value: 'created_at', align: 'left' },\n { text: 'Approved at', value: 'approved_at', align: 'left' },\n { text: 'Download', value: 'link', align: 'left', sortable: false },\n ];\n\n //Customer code lookup related\n private customerCode = '';\n private autocompleteCustomer = lookupCustomer;\n private setCustomerCode(customerCode): void {\n if (customerCode) {\n this.customerCode = customerCode;\n }\n }\n private clearCustomerCode(): void {\n this.customerCode = '';\n }\n // Date lookup\n private changeDate(dates: string[]): void {\n this.dates = dates;\n this.getKPIReportList();\n }\n // KPI report\n private getKPIReportList() {\n this.isLoading = true;\n const params: ReportRequestParams = {\n month: this.dates,\n customer_codes: this.customerCode,\n report_type: 2,\n };\n getReportList(params)\n .then((res: ReportResponse[]) => {\n this.kpiReport = res;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting KPI report',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.isLoading = false;\n this.isLoading = false;\n });\n }\n\n /**\n * Generate a report on backend\n * Type = 2 for KPI report type\n * @private\n */\n private generateKPIReport() {\n // download loader should be used, but I don't want to spent time on template to implement it\n // so using isLoading for now\n this.isLoading = true;\n this.isDownloadLoading = true;\n const params: ReportRequestParams = {\n month: this.dates,\n customer_codes: this.customerCode,\n report_type: 2,\n };\n generateReport(params)\n .then(() => {\n this.$notify({\n group: 'network',\n title: 'KPI report requested',\n text: 'Wait for the result. It could take up to 10-15m in case of big Report.',\n type: 'success',\n });\n this.getKPIReportList();\n })\n .catch(err => {\n this.$notify({\n group: 'network',\n title: 'Error generation KPI report',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(err);\n });\n })\n .finally(() => {\n this.isLoading = false;\n this.isDownloadLoading = false;\n });\n }\n\n /**\n * Download a report file by report ID\n * @param report_id\n * @private\n */\n private downloadKPIReport(report_id: number) {\n // download loader should be used, but I don't want to spent time on template to implement it\n // so using isLoading for now\n this.isLoading = true;\n this.isDownloadLoading = true;\n getReportFile(report_id)\n .then(res => {\n blobDownloader(res);\n })\n .catch(err => {\n this.$notify({\n group: 'network',\n title: 'Error getting KPI report',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(err);\n });\n })\n .finally(() => {\n this.isLoading = false;\n this.isDownloadLoading = false;\n });\n }\n\n private mounted(): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n this.dates = [format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd')];\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./KPI.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./KPI.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./KPI.vue?vue&type=template&id=e33e8e82&scoped=true\"\nimport script from \"./KPI.vue?vue&type=script&lang=ts\"\nexport * from \"./KPI.vue?vue&type=script&lang=ts\"\nimport style0 from \"./KPI.scss?vue&type=style&index=0&id=e33e8e82&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e33e8e82\",\n null\n \n)\n\nexport default component.exports","import { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 pb-4\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg pb-2\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"Run sheet\")])]),_c(VRow,{staticClass:\"py-3\"},[_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"4\"}},[_c(VIcon,{staticClass:\"mr-2\"},[_vm._v(\"mdi-calendar\")]),_c('DatePicker',{attrs:{\"Pdates\":_vm.dates},on:{\"changeDate\":_vm.changeDate}})],1),_c(VCol,{attrs:{\"cols\":\"3\"}},[_c('StateSelect',{on:{\"change\":_vm.changeStates}})],1)],1)],1)]),_c('div',{staticClass:\"content pa-6\"},[_c(VExpansionPanels,{staticClass:\"dates\",attrs:{\"accordion\":\"\",\"multiple\":\"\"}},_vm._l((_vm.driversList),function(day,idx){return _c(VExpansionPanel,{key:idx,staticClass:\"panel ma-0 pa-0 mb-8\"},[_c('div',{staticClass:\"dates-header-title\"},[(_vm.checkedList[idx])?_c('div',{staticClass:\"counter\"},[_vm._v(_vm._s(_vm.checkedList[idx].length))]):_vm._e(),_c('div',{staticClass:\"date-title ma-0 pa-0 ml-5\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.checkedDateList[idx]),expression:\"checkedDateList[idx]\"}],staticClass:\"checkbox\",attrs:{\"id\":`${idx}`,\"type\":\"checkbox\",\"name\":\"subscribe\",\"value\":\"checked\"},domProps:{\"checked\":Array.isArray(_vm.checkedDateList[idx])?_vm._i(_vm.checkedDateList[idx],\"checked\")>-1:(_vm.checkedDateList[idx])},on:{\"change\":[function($event){var $$a=_vm.checkedDateList[idx],$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=\"checked\",$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.checkedDateList, idx, $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.checkedDateList, idx, $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.checkedDateList, idx, $$c)}},function($event){return _vm.checkboxDateClick($event, idx)}]}}),_c('label',{staticClass:\"label\",attrs:{\"for\":`${idx}`}},[_c('div',{staticClass:\"checkbox-icon\"},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-check\")])],1),_c('p',{staticClass:\"ml-2 mb-0 pa-0\"},[_vm._v(_vm._s(idx))])])])]),_c(VExpansionPanelHeader,{staticClass:\"dates-header ma-0 pa-0 pl-3\"}),_c(VExpansionPanelContent,{staticClass:\"ma-0 pa-0 pl-5 pt-3 dates-content\"},_vm._l((day),function(driver,id){return _c('div',{key:id,staticClass:\"checkbox-wrapper my-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.driversList[idx][id]),expression:\"driversList[idx][id]\"}],staticClass:\"checkbox\",attrs:{\"id\":`${idx}-${id}`,\"type\":\"checkbox\",\"name\":\"subscribe\",\"value\":\"checked\"},domProps:{\"checked\":Array.isArray(_vm.driversList[idx][id])?_vm._i(_vm.driversList[idx][id],\"checked\")>-1:(_vm.driversList[idx][id])},on:{\"change\":[function($event){var $$a=_vm.driversList[idx][id],$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=\"checked\",$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.driversList[idx], id, $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.driversList[idx], id, $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.driversList[idx], id, $$c)}},function($event){return _vm.checkboxClick(idx, id)}]}}),_c('label',{staticClass:\"label ml-2\",attrs:{\"for\":`${idx}-${id}`}},[_c('div',{staticClass:\"checkbox-icon\"},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-check\")])],1),_c('p',{staticClass:\"ml-2\"},[_vm._v(_vm._s(driver[0])+\" \"+_vm._s(driver[1]))])])])}),0)],1)}),1),_c(VRow,{staticClass:\"d-flex justify-end mb-12\"},[_c('Button',{staticClass:\"btn-submit mr-3 mb-6\",attrs:{\"size\":\"big\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-download\",\"text\":\"Download\",\"loading\":_vm.isLoading,\"disabled\":_vm.isLoading || Object.keys(_vm.checkedList).length === 0},nativeOn:{\"click\":function($event){return _vm.downloadFile.apply(null, arguments)}}})],1)],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { getRunSheetList, getRunSheetPDFs } from '@/api';\nimport DateSelect from '@/components/dashBoard/selectsFields/components/DateSelect/DateSelect.vue';\nimport StateSelect from '@/components/dashBoard/selectsFields/components/StateSelect/StateSelect.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport DatePicker from '@/components/searchPage/DatePicker.vue';\nimport { User } from '@/models/main';\n\nimport { addDays } from 'date-fns';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { notificationErrorText, timeZoneDefault } from '@/utils/PortalConstants';\n\n@Component({\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n components: {\n Button,\n BackButton,\n DatePicker,\n DateSelect,\n StateSelect,\n },\n})\nexport default class RunSheet extends Vue {\n private isLoading = false;\n private user!: User;\n\n private dates: string[] = [];\n private states: string[] = [];\n\n private driversList = {};\n private checkedList = {};\n private checkedDateList = {};\n\n private getDriversList() {\n const params = {\n states: this.states,\n dates: this.dates,\n };\n\n this.isLoading = true;\n\n getRunSheetList(params)\n .then(res => {\n this.driversList = res;\n this.checkedList = {};\n Object.keys(this.driversList).map(item => {\n this.checkedDateList[item] = false;\n });\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting run sheet',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.isLoading = false;\n });\n }\n\n private changeDate(dates: string[]): void {\n this.dates = dates;\n this.getDriversList();\n }\n\n private changeStates(states: string[]) {\n this.states = states;\n this.getDriversList();\n }\n\n private checkboxClick(idx, id): void {\n if (this.driversList[idx][id].length >= 3) {\n if (!this.checkedList[idx]) {\n this.checkedList[idx] = [];\n }\n if (!this.checkedList[idx].includes(id)) {\n this.checkedList[idx].push(id);\n }\n } else {\n this.checkedDateList[idx] = false;\n this.checkedList[idx].splice(this.checkedList[idx].indexOf(id), 1);\n if (this.checkedList[idx].length === 0) {\n delete this.checkedList[idx];\n }\n }\n if (this.checkedList[idx] && this.checkedList[idx].length === this.driversList[idx].length) {\n this.checkedDateList[idx] = true;\n }\n }\n\n private checkboxDateClick(event, idx): void {\n this.checkedDateList[idx] = true;\n if (!this.checkedList[idx]) {\n this.checkedList[idx] = [];\n this.driversList[idx].map((item, i) => {\n if (item.indexOf('checked') === -1) {\n item.push('checked');\n this.checkedList[idx].push(i);\n }\n });\n } else if (this.checkedList[idx].length === this.driversList[idx].length) {\n this.driversList[idx].map(item => {\n item.splice(item.indexOf('checked'), 1);\n });\n delete this.checkedList[idx];\n } else {\n this.driversList[idx].map((item, i) => {\n if (item.indexOf('checked') === -1) {\n item.push('checked');\n this.checkedList[idx].push(i);\n }\n });\n }\n }\n\n private downloadFile(): void {\n this.isLoading = true;\n const sendingList: [string, number][] = [];\n Object.keys(this.driversList).map((date: string) => {\n this.driversList[date].map((driver: [number]) => {\n if (driver && driver.length >= 3) {\n sendingList.push([date, driver[0]]);\n }\n });\n });\n\n getRunSheetPDFs(sendingList)\n .then(res => {\n const blob = new Blob([res.data], { type: 'pdf' });\n const link = document.createElement('a');\n link.href = URL.createObjectURL(blob);\n link.download = 'runsheet.pdf';\n link.click();\n URL.revokeObjectURL(link.href);\n this.isLoading = false;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Download error',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.isLoading = false;\n });\n }\n\n private mounted(): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const fromDate = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd'); // today\n const toDate = format(utcToZonedTime(addDays(new Date(), 5), userTimeZone), 'yyyy-MM-dd'); // +5 days\n this.dates = [fromDate, toDate];\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RunSheet.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RunSheet.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RunSheet.vue?vue&type=template&id=26981974&scoped=true\"\nimport script from \"./RunSheet.vue?vue&type=script&lang=ts\"\nexport * from \"./RunSheet.vue?vue&type=script&lang=ts\"\nimport style0 from \"./RunSheet.scss?vue&type=style&index=0&id=26981974&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"26981974\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 pb-4\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg pb-2 mb-3\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"Weekly Statistic\")])]),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('div',[_c('p',[_vm._v(\"Weekly statistics:\")])])]),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"3\"}},[_c('DatePicker',{attrs:{\"disabled\":_vm.isLoading,\"Pdates\":_vm.dates},on:{\"changeDate\":_vm.changeDate}})],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"3\"}},[_c('StateSelect',{on:{\"change\":_vm.changeStates}})],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"fab\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.getWeeklyStatReport()}}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)],1)],1)]),_c('div',{staticClass:\"content pa-6\"},[(_vm.isLoading)?_c(VProgressLinear,{staticClass:\"progress-bar mt-12\",attrs:{\"indeterminate\":\"\",\"rounded\":\"\",\"height\":\"4\"}}):_c('div',{staticClass:\"table-wrapper\"},_vm._l((_vm.statsReport),function(state,name,index){return _c('div',{key:state.date,staticClass:\"mt-4\"},[_c('span',[_vm._v(_vm._s(Object.keys(_vm.statsReport)[index]))]),_c(VDataTable,{staticClass:\"elevation-1\",attrs:{\"dense\":\"\",\"headers\":_vm.headers,\"items\":state,\"sort-by\":['date'],\"sort-desc\":[false],\"item-key\":\"date\"}})],1)}),0)],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getWeeklyStats } from '@/api';\nimport DatePicker from '@/components/searchPage/DatePicker.vue';\nimport StateSelect from '@/components/dashBoard/selectsFields/components/StateSelect/StateSelect.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport { addDays } from 'date-fns';\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { Header, User } from '@/models/main';\nimport { ReportWeeklyStats } from '@/models/reports';\nimport { notificationErrorText, timeZoneDefault } from '@/utils/PortalConstants';\nimport { format, utcToZonedTime } from 'date-fns-tz';\n\n@Component({\n components: {\n BackButton,\n DatePicker,\n StateSelect,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class StatsReport extends Vue {\n private isLoading = false;\n private dates: string[] = [];\n private states: string[] = [];\n private statsReport: ReportWeeklyStats = {};\n private user: User;\n\n private headers: Header[] = [\n { text: 'Date', value: 'date', align: 'left' },\n { text: 'Total', value: 'total', align: 'left', sortable: false },\n { text: 'Uncompleted', value: 'uncompleted', align: 'left' },\n { text: 'Completed', value: 'completed', align: 'left' },\n { text: 'Percentage', value: 'percentage', align: 'left' },\n ];\n\n private changeDate(dates: string[]): void {\n this.dates = dates;\n }\n private changeStates(states: string[]) {\n this.states = states;\n }\n // Weekly report\n private getWeeklyStatReport() {\n this.isLoading = true;\n const params = {\n states: this.states,\n dates: this.dates,\n };\n getWeeklyStats(params)\n .then(res => {\n this.statsReport = res;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting Weekly report',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.isLoading = false;\n });\n }\n\n private mounted(): void {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const fromDate = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd'); // today\n const toDate = format(utcToZonedTime(addDays(new Date(), -7), userTimeZone), 'yyyy-MM-dd'); // +5 days\n this.dates = [fromDate, toDate];\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Stats.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Stats.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Stats.vue?vue&type=template&id=034a0d18&scoped=true\"\nimport script from \"./Stats.vue?vue&type=script&lang=ts\"\nexport * from \"./Stats.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Stats.scss?vue&type=style&index=0&id=034a0d18&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"034a0d18\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 pb-4\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg pb-2 mb-3\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"Tomorrow Report\")])]),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('div',[_c('p',[_vm._v(\"Report for the date:\")])])]),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c('DateSelect',{attrs:{\"range-msg-warn\":false},on:{\"changeDate\":_vm.changeDate}})],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c(VSelect,{attrs:{\"items\":_vm.divisions,\"item-text\":\"name\",\"item-value\":\"name\",\"placeholder\":\"Choose division\"},model:{value:(_vm.selectedDivision),callback:function ($$v) {_vm.selectedDivision=$$v},expression:\"selectedDivision\"}})],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"fab\":\"\",\"color\":\"primary\",\"disabled\":!_vm.selectedDivision},on:{\"click\":_vm.getReportData}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)],1),_c(VDivider,{staticClass:\"ma-4\"})],1)]),_c('div',{staticClass:\"content pa-6\"},[_c('div',{staticClass:\"text-lg text-center\"},[_vm._v(\"Scheduled\")]),_c('div',{staticClass:\"table-wrapper\"},[_c('div',{staticClass:\"mt-4\"},[_c(VDataTable,{staticClass:\"elevation-1\",attrs:{\"dense\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"headers\":_vm.headers,\"items\":_vm.reportShedData,\"sort-by\":['rockhopper_id'],\"sort-desc\":[false],\"loading\":_vm.isLoading,\"item-key\":\"rockhopper_id\"},scopedSlots:_vm._u([{key:`item.products`,fn:function({ item }){return _vm._l((item.products),function(product,idx){return _c('div',{key:idx},[_c('span',[_vm._v(_vm._s(product.name)+\" | \"+_vm._s(product.serial))])])})}}],null,true)})],1)]),_c('div',{staticClass:\"text-lg text-center mt-20\"},[_vm._v(\"To be Scheduled\")]),_c('div',{staticClass:\"table-wrapper\"},[_c('div',{staticClass:\"mt-4\"},[_c(VDataTable,{staticClass:\"elevation-1\",attrs:{\"dense\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"headers\":_vm.headersTobeShed,\"items\":_vm.reportTobeShedData,\"sort-by\":['rockhopper_id'],\"sort-desc\":[false],\"loading\":_vm.isLoading,\"item-key\":\"rockhopper_id\"}})],1)]),_c('div',{staticClass:\"text-lg text-center mt-20\"},[_vm._v(\"Split-to-base\")]),_c('div',{staticClass:\"table-wrapper\"},[_c('div',{staticClass:\"mt-4\"},[_c(VDataTable,{staticClass:\"elevation-1\",attrs:{\"dense\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"headers\":_vm.headers,\"items\":_vm.reportSplitData,\"sort-by\":['rockhopper_id'],\"sort-desc\":[false],\"loading\":_vm.isLoading,\"item-key\":\"rockhopper_id\"},scopedSlots:_vm._u([{key:`item.products`,fn:function({ item }){return _vm._l((item.products),function(product,idx){return _c('div',{key:idx},[_c('span',[_vm._v(_vm._s(product.name))])])})}}],null,true)})],1)]),_c('div',{staticClass:\"footer wrapper-portal d-flex justify-space-between align-center mt-8 mb-12\"},[_c('div',{staticClass:\"footer-left d-flex mb-6\"},[_c('Button',{attrs:{\"text\":\"Download Schedule Report\",\"icon\":\"mdi-arrow-down\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"disabled\":_vm.reportShedData.length === 0 || _vm.isDownloading,\"loading\":_vm.isDownloading},nativeOn:{\"click\":function($event){return _vm.downloadTomorrowScheduleReport.apply(null, arguments)}}}),_c('Button',{attrs:{\"text\":\"Download to be Scheduled Report\",\"icon\":\"mdi-arrow-down\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"disabled\":_vm.reportTobeShedData.length === 0 || _vm.isDownloading,\"loading\":_vm.isDownloading},nativeOn:{\"click\":function($event){return _vm.downloadTomorrowTobeShedReport.apply(null, arguments)}}}),_c('Button',{staticClass:\"ml-4\",attrs:{\"text\":\"Download Tomorrow Report\",\"icon\":\"mdi-arrow-down\",\"background\":\"white\",\"color\":\"purple\",\"circleColor\":\"purple\",\"disabled\":_vm.reportShedData.length === 0 && _vm.reportSplitData.length === 0,\"loading\":_vm.isDownloading},nativeOn:{\"click\":function($event){return _vm.downloadTomorrowGeneralReport.apply(null, arguments)}}})],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport {\n getTomorrowReportFile,\n getDivisions,\n getTomorrowReportSplitData,\n getTomorrowReportShedData,\n getTomorrowReportSchedPDF,\n getTomorrowReportTobeSchedData,\n getTomorrowReportTobeSchedPDF,\n} from '@/api';\nimport DateSelect from '@/components/dashBoard/selectsFields/components/DateSelect/DateSelect.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport { format } from 'date-fns';\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { notificationErrorText, timeZoneDefault } from '@/utils/PortalConstants';\nimport { blobDownloader } from '@/utils/Common';\nimport { Division, Header } from '@/models/main';\nimport { TomorrowReportData, TomorrowTobeSchedReportData } from '@/models/reports';\nimport * as Sentry from '@sentry/vue';\nimport { utcToZonedTime } from 'date-fns-tz';\n\n@Component({\n components: {\n BackButton,\n DateSelect,\n Button,\n },\n})\nexport default class TomorrowReport extends Vue {\n private isLoading = false;\n private isDownloading = false;\n private dates: string[] = [];\n private selectedDivision = '';\n private divisions: Division[] = [];\n private headers: Header[] = [\n { text: 'Id', value: 'rockhopper_id', align: 'left' },\n { text: 'Customer', value: 'customer', align: 'left' },\n { text: 'Reference', value: 'reference', align: 'left' },\n { text: 'Suburb', value: 'suburb', align: 'left' },\n { text: 'Driver', value: 'driver', align: 'left' },\n { text: 'Qty', value: 'qty', align: 'left' },\n { text: 'Products', value: 'products', align: 'left', sortable: false },\n // { text: 'Link', value: 'link', align: 'left' },\n ];\n private headersTobeShed: Header[] = [\n { text: 'Id', value: 'rockhopper_id', align: 'left' },\n { text: 'Name', value: 'name', align: 'left' },\n { text: 'Suburb', value: 'suburb', align: 'left' },\n { text: 'Departed at', value: 'departed_at', align: 'left' },\n { text: 'Split to Base', value: 'split_to_base', align: 'left' },\n { text: 'Scheduled', value: 'scheduled', align: 'left' },\n ];\n private reportSplitData: TomorrowReportData[] = [];\n private reportShedData: TomorrowReportData[] = [];\n private reportTobeShedData: TomorrowTobeSchedReportData[] = [];\n\n // Date lookup\n private changeDate(dates: string[]): void {\n this.dates = dates;\n }\n\n private getDivisionList() {\n getDivisions().then(res => {\n this.divisions = res;\n });\n }\n\n private async getReportData() {\n this.reportShedData = [];\n this.reportSplitData = [];\n this.reportTobeShedData = [];\n this.isLoading = true;\n await getTomorrowReportShedData(this.dates, this.selectedDivision)\n .then(res => {\n this.reportShedData = res;\n })\n .catch(err => {\n this.$notify({\n group: 'network',\n title: 'Error getting Tomorrow report',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(err);\n });\n });\n await getTomorrowReportSplitData(this.dates, this.selectedDivision)\n .then(res => {\n this.reportSplitData = res;\n })\n .catch(err => {\n this.$notify({\n group: 'network',\n title: 'Error getting Tomorrow report',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(err);\n });\n });\n await getTomorrowReportTobeSchedData(this.dates, this.selectedDivision)\n .then(res => {\n this.reportTobeShedData = res;\n })\n .catch(err => {\n this.$notify({\n group: 'network',\n title: 'Error getting Tomorrow report',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(err);\n });\n });\n this.isLoading = false;\n }\n\n /**\n * Download a general report file by division and date\n * @private\n */\n private downloadTomorrowGeneralReport() {\n // download loader should be used, but I don't want to spent time on template to implement it\n // so using isLoading for now\n this.isDownloading = true;\n getTomorrowReportFile(this.dates, this.selectedDivision)\n .then(res => {\n blobDownloader(res);\n })\n .catch(err => {\n this.$notify({\n group: 'network',\n title: 'Error getting Tomorrow report',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(err);\n });\n })\n .finally(() => {\n this.isDownloading = false;\n });\n }\n\n /**\n * Download \"to be shed\" report file by division and date\n * @private\n */\n private downloadTomorrowTobeShedReport() {\n // download loader should be used, but I don't want to spent time on template to implement it\n // so using isLoading for now\n this.isDownloading = true;\n getTomorrowReportTobeSchedPDF(this.dates, this.selectedDivision)\n .then(res => {\n blobDownloader(res);\n })\n .catch(err => {\n this.$notify({\n group: 'network',\n title: 'Error getting Tomorrow report',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(err);\n });\n })\n .finally(() => {\n this.isDownloading = false;\n });\n }\n\n /**\n * Download a schedule report file by division and date\n * @private\n */\n private downloadTomorrowScheduleReport() {\n // download loader should be used, but I don't want to spent time on template to implement it\n // so using isLoading for now\n this.isDownloading = true;\n getTomorrowReportSchedPDF(this.dates, this.selectedDivision)\n .then(res => {\n blobDownloader(res);\n })\n .catch(err => {\n this.$notify({\n group: 'network',\n title: 'Error getting Tomorrow report',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(err);\n });\n })\n .finally(() => {\n this.isDownloading = false;\n });\n }\n\n private mounted(): void {\n this.getDivisionList();\n this.dates = [format(utcToZonedTime(new Date(), timeZoneDefault), 'yyyy-MM-dd')];\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Tomorrow.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Tomorrow.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Tomorrow.vue?vue&type=template&id=5d068867&scoped=true\"\nimport script from \"./Tomorrow.vue?vue&type=script&lang=ts\"\nexport * from \"./Tomorrow.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Tomorrow.scss?vue&type=style&index=0&id=5d068867&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5d068867\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 pb-4\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg pb-2 mb-3\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"Transfers Report\")])]),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('div',[_c('p',[_vm._v(\"Report for the date:\")])])]),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c('DatePicker',{attrs:{\"Pdates\":_vm.dates},on:{\"changeDate\":_vm.changeDate}})],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c(VSelect,{attrs:{\"items\":_vm.barcodes,\"item-text\":\"name\",\"item-value\":\"value\",\"placeholder\":\"Choose Barcode\"},model:{value:(_vm.selectedBarcode),callback:function ($$v) {_vm.selectedBarcode=$$v},expression:\"selectedBarcode\"}})],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"fab\":\"\",\"color\":\"primary\",\"disabled\":!_vm.selectedBarcode},on:{\"click\":_vm.getReportData}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)],1),_c(VDivider,{staticClass:\"ma-4\"})],1)]),_c('div',{staticClass:\"content pa-6\"},[(_vm.expiredTransfers['count'])?_c('div',{staticClass:\"text-lg text-center\"},[_vm._v(\"Expired \"+_vm._s(_vm.expiredTransfers['count']))]):_vm._e(),_c('div',{staticClass:\"table-wrapper\"},[_c('div',{staticClass:\"mt-4\"},[_c(VDataTable,{staticClass:\"elevation-1\",attrs:{\"dense\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"headers\":_vm.headers,\"items\":_vm.expiredTransfers['stock_moves'],\"sort-by\":['id'],\"sort-desc\":[false],\"loading\":_vm.isLoading,\"item-key\":\"id\"}})],1)]),(_vm.moveOutTransfers['count'])?_c('div',{staticClass:\"text-lg text-center mt-20\"},[_vm._v(\" Move Out \"+_vm._s(_vm.moveOutTransfers['count'])+\" \"),_c(VExpansionPanels,[_c(VExpansionPanel,[_c(VExpansionPanelHeader,{staticClass:\"dates-header ma-0 pa-0 pl-3\"},[_vm._v(\"Expand\")]),_c(VExpansionPanelContent,{staticClass:\"ma-0 pa-0 pl-5 pt-3 dates-content\"},[_c('div',{staticClass:\"table-wrapper\"},[_c('div',{staticClass:\"mt-4\"},[_c(VDataTable,{staticClass:\"elevation-1\",attrs:{\"dense\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"headers\":_vm.headers,\"items\":_vm.moveOutTransfers['stock_moves'],\"sort-by\":['id'],\"sort-desc\":[false],\"loading\":_vm.isLoading,\"item-key\":\"id\"}})],1)])])],1)],1)],1):_vm._e(),(_vm.totalTransfers['count'])?_c('div',{staticClass:\"text-lg text-center mt-20\"},[_vm._v(\" Total \"+_vm._s(_vm.totalTransfers['count'])+\" \"),_c(VExpansionPanels,[_c(VExpansionPanel,[_c(VExpansionPanelHeader,{staticClass:\"dates-header ma-0 pa-0 pl-3\"},[_vm._v(\"Expand\")]),_c(VExpansionPanelContent,{staticClass:\"ma-0 pa-0 pl-5 pt-3 dates-content\"},[_c('div',{staticClass:\"table-wrapper\"},[_c('div',{staticClass:\"mt-4\"},[_c(VDataTable,{staticClass:\"elevation-1\",attrs:{\"dense\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"headers\":_vm.headers,\"items\":_vm.moveOutTransfers['stock_moves'],\"sort-by\":['id'],\"sort-desc\":[false],\"loading\":_vm.isLoading,\"item-key\":\"id\"}})],1)])])],1)],1)],1):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getTransfersReport } from '@/api';\nimport DateSelect from '@/components/dashBoard/selectsFields/components/DateSelect/DateSelect.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport { format } from 'date-fns';\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { notificationErrorText, timeZoneDefault } from '@/utils/PortalConstants';\nimport { Header } from '@/models/main';\nimport { TransfersReportData, TransfersStocks } from '@/models/reports';\nimport * as Sentry from '@sentry/vue';\nimport { utcToZonedTime } from 'date-fns-tz';\nimport DatePicker from '@/components/searchPage/DatePicker.vue';\n\n@Component({\n components: {\n DatePicker,\n BackButton,\n DateSelect,\n Button,\n },\n})\nexport default class TransfersReport extends Vue {\n private isLoading = false;\n private dates: string[] = [];\n private selectedBarcode = '';\n private barcodes = [\n { name: 'ADL1/Despatch', value: 'A1DESPATCH' },\n { name: 'AKL1/Despatch', value: 'AKL1/Despatch' },\n { name: 'AKLHP/Despatch', value: 'NZHPD' },\n { name: 'BNE1/Despatch', value: 'B1DES' },\n { name: 'CBR1/Despatch', value: 'C1-DESPATCH' },\n { name: 'MEL1/DES-HOLD', value: 'despatch' },\n { name: 'MEL1/Despatch', value: 'MEL1-DESPATCH' },\n { name: 'NT1/Despatch', value: 'NT1D' },\n { name: 'SWH2/Despatch', value: 'SWH2D' },\n { name: 'PER-P/Despatch', value: 'Despatch' },\n { name: 'PER-R/Despatch', value: 'PERRD' },\n { name: 'RIC/Despatch', value: 'RDES' },\n { name: 'SYD1/SYD1-DESPATCH', value: 'SYD1-DESPATCH' },\n { name: 'ADL1/Incoming', value: 'A1Incoming' },\n { name: 'AKL1/Incoming', value: 'AKL1/INCOMING' },\n { name: 'AKLHP/Incoming', value: 'NZHPI' },\n { name: 'BNE1/Incoming', value: 'B1IN' },\n { name: 'CBR1/INCOMING', value: 'C1-INCOMING' },\n { name: 'MEL1/Incoming', value: 'Mel1/Incoming' },\n { name: 'MWH2/Incoming', value: 'MWH2I' },\n { name: 'NT1/Incoming', value: 'NT1I' },\n { name: 'SWH2/Incoming', value: 'swh2I' },\n { name: 'PER-P/Incoming', value: 'INCOMING' },\n { name: 'PER-R/Incoming', value: 'PERRI' },\n { name: 'RIC/Incoming', value: 'RIN' },\n { name: 'SYD1/Incoming', value: 'sydinc' },\n ];\n private headers: Header[] = [\n { text: 'Id', value: 'id', align: 'left' },\n { text: 'State', value: 'state', align: 'left' },\n { text: 'Quants IDs', value: 'quant_ids', align: 'left' },\n { text: 'Date', value: 'date', align: 'left' },\n { text: 'Create date', value: 'create_date', align: 'left' },\n { text: 'Reserved quant IDs', value: 'reserved_quant_ids', align: 'left' },\n ];\n private transfersReportData: TransfersReportData | object = {};\n private expiredTransfers: TransfersStocks | object = {};\n private moveOutTransfers: TransfersStocks | object = {};\n private totalTransfers: TransfersStocks | object = {};\n\n // Date lookup\n private changeDate(dates: string[]): void {\n this.dates = dates;\n }\n\n private async getReportData() {\n this.transfersReportData = {};\n this.isLoading = true;\n const params = {\n dates: this.dates,\n barcode: this.selectedBarcode,\n };\n await getTransfersReport(params)\n .then(res => {\n this.transfersReportData = res;\n })\n .catch(err => {\n this.$notify({\n group: 'network',\n title: 'Error getting Transfers report',\n text: notificationErrorText,\n type: 'warn',\n });\n Sentry.withScope(scope => {\n scope.setLevel('error');\n Sentry.captureException(err);\n });\n });\n this.expiredTransfers = this.transfersReportData['expired'];\n this.moveOutTransfers = this.transfersReportData['move_out'];\n this.totalTransfers = this.transfersReportData['total'];\n this.isLoading = false;\n }\n\n private mounted(): void {\n this.dates = [\n format(utcToZonedTime(new Date(), timeZoneDefault), 'yyyy-MM-dd'),\n format(utcToZonedTime(new Date(), timeZoneDefault), 'yyyy-MM-dd'),\n ];\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Transfers.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Transfers.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Transfers.vue?vue&type=template&id=25f40ef0&scoped=true\"\nimport script from \"./Transfers.vue?vue&type=script&lang=ts\"\nexport * from \"./Transfers.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Transfers.scss?vue&type=style&index=0&id=25f40ef0&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"25f40ef0\",\n null\n \n)\n\nexport default component.exports","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRadio } from 'vuetify/lib/components/VRadioGroup';\nimport { VRadioGroup } from 'vuetify/lib/components/VRadioGroup';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c(VContainer,{attrs:{\"fluid\":\"\"}},[_c(VRow,{staticClass:\"wrapper-portal\"},[_c(VCol,{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"d-flex justify-space-between\"},[_c('div',{staticClass:\"search ml-3\"},[_vm._v(\"Search\")]),_c('div',{staticClass:\"copy mr-2\",on:{\"click\":_vm.copyURL}},[_c(VIcon,{attrs:{\"size\":\"24\",\"color\":\"black\"}},[_vm._v(\"mdi-content-copy\")]),_c('span',[_vm._v(\"Copy the link of this search results\")])],1)])])],1)],1),_c('div',{staticClass:\"horizontal_line\"}),_c(VContainer,{staticClass:\"header\",attrs:{\"fluid\":\"\"}},[_c(VRow,{staticClass:\"header py-4\"},[_c(VCol,{attrs:{\"cols\":\"12\"}},[_c(VRow,{staticClass:\"d-flex align-baseline\"},[_c('div',{staticClass:\"d-flex align-center ml-9 mr-4 text\"},[_vm._v(\"Search the job by the Job Id\")]),_c('div',[_c('Input',{attrs:{\"label\":\"Job ID\",\"type\":\"text\",\"model\":\"jobIDs\",\"disabled\":_vm.advanced || _vm.loading},on:{\"add\":_vm.addInput}})],1),_c('div',{staticClass:\"d-flex align-center mx-4 text\"},[_vm._v(\"and\")]),_c('div',[_c('DateRangeCustom',{attrs:{\"disabled\":_vm.advanced || _vm.loading,\"Pdates\":_vm.datesIdSearch,\"showExtended\":true,\"extendedRange\":24},on:{\"changeDate\":_vm.changeDateIdSearch,\"clearDateFilter\":_vm.clearDatesIdSearch}})],1)])],1)],1),_c(VDivider,{staticClass:\"separator\"}),_c(VRow,{staticClass:\"relative\"},[_c('div',{staticClass:\"absolute -top-2 left-96 ml-96 w-10 h-10 bg-purple-400 rounded-full flex justify-center items-center cursor-pointer hover:bg-purple-500 hover:shadow\",on:{\"click\":function($event){(_vm.modalMupltipleSearch.isOpen = true), (_vm.advanced = true)}}},[_c('Tooltip',{attrs:{\"text\":\"Open Multiple Search modal window\",\"class-name\":\"text-white whitespace-nowrap\"}},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-file-table-box-multiple-outline\",\"color\":\"white\",\"size\":\"xl\"}})],1)],1),_c('div',{staticClass:\"d-flex align-center mt-4 ml-9 text text-small\"},[_vm._v(\" Or use advanced search: \"),_c(VSwitch,{staticClass:\"ml-4\",model:{value:(_vm.advanced),callback:function ($$v) {_vm.advanced=$$v},expression:\"advanced\"}})],1)]),_c(VRow,{staticClass:\"inputs-rows-advanced pb-12 mt-2 ml-3 pl-0 mr-4\"},[_c('div',{staticClass:\"pa-3 pt-0\"},[_c('DateRangeCustom',{attrs:{\"disabled\":!_vm.advanced || _vm.loading,\"Pdates\":_vm.dates,\"showThisWeek\":true,\"showTomorrow\":true},on:{\"changeDate\":_vm.changeDate,\"clearDateFilter\":_vm.clearDateFilter}}),_c('p',{staticClass:\"advanced-info text ma-0 mt-6 pa-0\"},[_vm._v(\" To find jobs, we need at least one more input parameter besides the date and states \")])],1),_c('div',{staticClass:\"inputs-row-advanced\"},[_c(VRow,[_c('div',{staticClass:\"pa-3 pr-0\"},[_c('Autocomplete',{attrs:{\"label\":\"Driver ID\",\"type\":\"number\",\"lookup\":true,\"model\":\"driverIDs\",\"searchLoad\":_vm.loading,\"disabled\":!_vm.advanced || _vm.loading || _vm.dates.length !== 2,\"activeItems\":_vm.selected.driverIDs.data,\"dates\":_vm.dates,\"drivers\":_vm.selected.driverIDs.data,\"serviceCodes\":_vm.selected.serviceCodes.data,\"customerCodes\":_vm.selected.customerCodes.data,\"autocomplete\":_vm.autocompleteDriver},on:{\"delete\":_vm.deleteItems}})],1),(_vm.$can('staff', 'Job'))?_c('div',{staticClass:\"pa-3 pr-0\"},[_c('Autocomplete',{attrs:{\"label\":\"Customer code\",\"model\":\"customerCodes\",\"lookup\":true,\"searchLoad\":_vm.loading,\"disabled\":!_vm.advanced || _vm.loading || _vm.dates.length !== 2,\"activeItems\":_vm.selected.customerCodes.data,\"dates\":_vm.dates,\"drivers\":_vm.selected.driverIDs.data,\"serviceCodes\":_vm.selected.serviceCodes.data,\"customerCodes\":_vm.selected.customerCodes.data,\"autocomplete\":_vm.autocompleteCustomer},on:{\"delete\":_vm.deleteItems}})],1):_vm._e(),_c('div',{staticClass:\"pa-3 pr-0\"},[_c('Autocomplete',{attrs:{\"label\":\"Service code\",\"model\":\"serviceCodes\",\"lookup\":true,\"searchLoad\":_vm.loading,\"disabled\":!_vm.advanced || _vm.loading || _vm.dates.length !== 2,\"activeItems\":_vm.selected.serviceCodes.data,\"dates\":_vm.dates,\"drivers\":_vm.selected.driverIDs.data,\"serviceCodes\":_vm.selected.serviceCodes.data,\"customerCodes\":_vm.selected.customerCodes.data,\"autocomplete\":_vm.autocompleteService},on:{\"delete\":_vm.deleteItems}})],1),_c('div',{staticClass:\"pa-3 pr-0\"},[_c('InputText',{staticClass:\"input\",attrs:{\"label\":\"Serial number\",\"type\":\"text\",\"model\":\"serialNumbers\",\"disabled\":!_vm.advanced || _vm.loading || _vm.dates.length !== 2 || _vm.selectedSingleInputs.serialNumbers.data.length >= 1},on:{\"add\":_vm.addInputSingle}})],1)]),_c(VRow,[_c('div',{staticClass:\"pa-3\"},[_c('InputText',{staticClass:\"input input-mixed\",attrs:{\"label\":\"Combined data\",\"model\":\"mixed\",\"disabled\":!_vm.advanced || _vm.loading || _vm.dates.length !== 2 || _vm.selectedSingleInputs.mixed.data.length >= 1,\"hint\":\"Reference 1-3, Product's description (Model + Freetext), Job's message, Stops' note\"},on:{\"add\":_vm.addInputSingle}})],1),_c('div',{staticClass:\"pa-3\"},[_c('InputText',{staticClass:\"input input-mixed\",attrs:{\"label\":\"Combined Address\",\"model\":\"mixedAddress\",\"disabled\":!_vm.advanced || _vm.loading || _vm.dates.length !== 2 || _vm.selectedSingleInputs.mixedAddress.data.length >= 1,\"hint\":\"Stop address: name, line 1 and 2, suburb\"},on:{\"add\":_vm.addInputSingle}})],1),_c('div',{staticClass:\"w-72 h-12 pa-3\"},[_c('StateSelect',{attrs:{\"selectedStatesProp\":_vm.selected.stateName.data,\"disabled\":!_vm.advanced || _vm.loading || _vm.dates.length !== 2},on:{\"change\":_vm.addState}})],1),_c('div',{staticClass:\"pa-3\"},[_c(VSelect,{staticClass:\"filters-select pt-3\",attrs:{\"items\":_vm.availableFilters,\"item-value\":_vm.availableFilters[2],\"disabled\":!_vm.advanced || _vm.loading || _vm.dates.length !== 2,\"multiple\":\"\",\"label\":\"Filters\",\"hide-details\":\"\",\"dense\":\"\"},on:{\"change\":_vm.filtersChanged},model:{value:(_vm.selected.filters.data),callback:function ($$v) {_vm.$set(_vm.selected.filters, \"data\", $$v)},expression:\"selected.filters.data\"}})],1)])],1)])],1),_c('div',{staticClass:\"horizontal_line\"}),_c(VContainer,{staticClass:\"selected pl-6 pt-0 pb-4 pr-8\",attrs:{\"fluid\":\"\"}},[_c(VRow,{staticClass:\"wrapper-portal pt-0\"},[_c(VCol,{staticClass:\"d-flex justify-end pa-2 pr-0\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"clear mt-3\",on:{\"click\":_vm.clearFilters}},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-close\")]),_c('span',{staticClass:\"text\"},[_vm._v(\"Clear all filters\")])],1)]),_vm._l(({\n ..._vm.selected,\n ..._vm.selectedSingleInputs,\n }),function(type,selectedIdx){return _c('div',{key:selectedIdx},[(type.data.length > 0)?_c('div',{staticClass:\"pl-1 pt-0 pr-3 pb-3 ml-0\"},[_c('span',{staticClass:\"pa-0 pl-2\"},[_vm._v(_vm._s(type.name)+\":\")]),_c('div',{staticClass:\"ml-2\"},_vm._l((type.data),function(item,dataIdx){return _c('InputSelected',{key:item,attrs:{\"id\":dataIdx,\"model\":selectedIdx,\"text\":item,\"searchLoad\":_vm.loading,\"type\":selectedIdx},on:{\"delete\":function($event){return _vm.deleteInput(selectedIdx, dataIdx, type)}},nativeOn:{\"click\":function($event){return _vm.deleteInput(selectedIdx, dataIdx, type)}}})}),1)]):_vm._e()])})],2)],1),_c('div',{staticClass:\"horizontal_line\"}),(_vm.isLimited)?_c('div',{staticClass:\"warning-limited pt-2\"},[_c('div',{staticClass:\"content ml-6\"},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-alert-box\")]),_c('p',{staticClass:\"text font-weight-medium\"},[_vm._v(\"Only 100 jobs are shown. Try to refine your request.\")])],1),_c('div',{staticClass:\"horizontal_line\"})]):_vm._e(),(_vm.numberOfJobs && !_vm.isLimited)?_c('div',{staticClass:\"warning-limited pt-2\"},[_c('div',{staticClass:\"content ml-6\"},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-alert-box\")]),_c('p',{staticClass:\"text font-weight-medium\"},[_vm._v(\"Result: \"+_vm._s(_vm.numberOfJobs)+\" jobs found\")])],1),_c('div',{staticClass:\"horizontal_line\"})]):_vm._e(),_c('JobTable',{staticClass:\"job-table_search wrapper-portal ml-3 mr-4 mt-4 mb-12 pr-5 pb-12\",attrs:{\"loading\":_vm.loading,\"jobs\":_vm.searchedJobs,\"staff\":_vm.$can('staff', 'Job'),\"headersProps\":_vm.headers,\"showJobEditBtn\":true},on:{\"openInEditModal\":_vm.openInEditModal}}),(_vm.showModal)?_c('JobCompliance',{attrs:{\"tableData\":_vm.searchedJobs,\"currentJobIdx\":_vm.currentJobIdx,\"showModal\":_vm.showModal},on:{\"closeModal\":_vm.closeModal,\"updateTable\":_vm.find,\"currentJobChanged\":_vm.currentJobChanged}}):_vm._e(),_c(VDialog,{attrs:{\"max-width\":\"800px\"},model:{value:(_vm.modalMupltipleSearch.isOpen),callback:function ($$v) {_vm.$set(_vm.modalMupltipleSearch, \"isOpen\", $$v)},expression:\"modalMupltipleSearch.isOpen\"}},[_c(VCard,{staticClass:\"dialog-delete pa-4\"},[_c(VCardTitle,{staticClass:\"text-h5 m-0 p-0\"},[_c('div',{staticClass:\"flex justify-between items-center\"},[_c('h3',{},[_vm._v(\"Multiple search:\")]),_c(VIcon,{staticClass:\"icon-close mr-1\",attrs:{\"color\":\"black\"},on:{\"click\":function($event){_vm.modalMupltipleSearch.isOpen = false}}},[_vm._v(\"mdi-close\")])],1)]),_c(VCardText,{staticClass:\"m-0 p-0 mt-4\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"flex flex-col w-3/4\"},[_c('h4',{staticClass:\"text-base mb-1 font-semibold\"},[_vm._v(\"Insert a column from Excel or a line with commas:\")]),_c(VTextarea,{staticClass:\"g-field pr-12\",attrs:{\"rows\":\"1\",\"row-height\":\"15\",\"no-resize\":\"\",\"persistent-clear\":\"\",\"auto-grow\":\"\",\"outlined\":\"\"},on:{\"input\":_vm.multipleInputChanged},model:{value:(_vm.modalMupltipleSearch.value),callback:function ($$v) {_vm.$set(_vm.modalMupltipleSearch, \"value\", $$v)},expression:\"modalMupltipleSearch.value\"}})],1),_c('div',{staticClass:\"flex flex-col\"},[_c('h4',{staticClass:\"text-base mb-1 font-semibold\"},[_vm._v(\"Select the type of data entered:\")]),_c(VRadioGroup,{attrs:{\"column\":\"\"},model:{value:(_vm.modalMupltipleSearch.radio),callback:function ($$v) {_vm.$set(_vm.modalMupltipleSearch, \"radio\", $$v)},expression:\"modalMupltipleSearch.radio\"}},_vm._l((_vm.modalMupltipleSearch.types),function(item,idx){return _c(VRadio,{key:idx,attrs:{\"label\":Object.values(item)[0].name,\"value\":idx,\"color\":\"#9C8CFF\"},on:{\"click\":function($event){_vm.modalMupltipleSearch.radio = idx}}})}),1)],1)]),(_vm.modalMupltipleSearch.items.length > 0)?_c('div',[_c('h4',{staticClass:\"text-base mb-1 font-semibold\"},[_vm._v(\"Check the result:\")]),_c(VDivider,{staticClass:\"separator mb-2\"}),_c('div',[_vm._v(_vm._s(Object.values(_vm.modalMupltipleSearch.types[_vm.modalMupltipleSearch.radio])[0].name)+\":\")]),_vm._l((_vm.modalMupltipleSearch.items),function(item,idx){return _c(VChip,{key:idx,staticClass:\"mr-2 mt-1 chip\",attrs:{\"color\":\"#C1B7FE\",\"label\":\"\",\"text-color\":\"white\"}},[_vm._v(\" \"+_vm._s(item)+\" \")])}),_c(VDivider,{staticClass:\"separator mt-2\"})],2):_vm._e()]),_c(VCardActions,{staticClass:\"actions\"},[_c('div',{staticClass:\"btn-wrapper flex items-end justify-end w-full\"},[_c('Button',{staticClass:\"btn ml-2\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-check\",\"text\":\"Submit\"},nativeOn:{\"click\":function($event){return _vm.modalMupltipleSearchSubmit.apply(null, arguments)}}})],1),_c(VSpacer)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VAutocomplete,{staticClass:\"input input-search\",attrs:{\"multiple\":\"\",\"required\":\"\",\"outlined\":\"\",\"label\":_vm.label,\"type\":_vm.type,\"disabled\":_vm.disabled,\"items\":_vm.itemSearch,\"loading\":_vm.loading},on:{\"update:search-input\":_vm.search,\"change\":_vm.change,\"blur\":_vm.blur,\"focus\":_vm.focus},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c(VListItem,[(_vm.loading)?_c(VListItemTitle,[_vm._v(\"Loading...\")]):(!_vm.inputVal)?_c(VListItemTitle,[_vm._v(\"Start typing...\")]):_c(VListItemTitle,[_vm._v(\"Not found\")])],1)]},proxy:true},{key:\"selection\",fn:function({}){return undefined}},{key:\"item\",fn:function({ item }){return [_c(VListItem,{attrs:{\"disabled\":_vm.searchLoad},on:{\"click\":function($event){return _vm.clickToItem(item)}}},[_c(VListItemAction,[_c(VCheckbox,{attrs:{\"input-value\":_vm.activeItems.indexOf(item) !== -1,\"disabled\":_vm.searchLoad}})],1),_c(VListItemTitle,{attrs:{\"disabled\":_vm.searchLoad}},[_vm._v(_vm._s(item))])],1)]}}]),model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:\"input\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { ILookUp } from '@/models/main';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class Autocomplete extends Vue {\n @Prop(Boolean) private readonly disabled!: boolean;\n @Prop(Boolean) private readonly searchLoad!: boolean;\n @Prop(String) private readonly label!: string;\n @Prop(String) private readonly model!: string;\n @Prop({ type: String, default: 'string' }) private readonly type!: string;\n @Prop(Array) private readonly activeItems!: string[];\n @Prop(Array) private readonly dates!: string[];\n @Prop(Array) private readonly drivers!: string[];\n @Prop(Array) private readonly customerCodes!: string[];\n @Prop(Array) private readonly serviceCodes!: string[];\n @Prop(Function) private autocomplete!: (params: ILookUp) => Promise;\n\n private input: string[] = [];\n private inputVal = '';\n private itemSearch: string[] = [];\n private loading = false;\n\n private search(val: string) {\n this.inputVal = val;\n if (val) {\n this.itemSearch = [];\n this.input = this.activeItems;\n this.loading = true;\n\n const params: ILookUp = {\n dates: this.dates.join(','),\n driver_id: this.model === 'driverIDs' ? val : this.drivers.join(','),\n service_code: this.model === 'serviceCodes' ? val : this.serviceCodes.join(','),\n customer_code: this.model === 'customerCodes' ? val : this.customerCodes.join(','),\n };\n this.autocomplete(params)\n .then(data => {\n this.itemSearch = data;\n })\n .catch(e => console.log(e))\n .finally(() => {\n if (!this.loading) {\n this.itemSearch = [];\n }\n this.loading = false;\n });\n }\n }\n private change() {\n const difference = this.activeItems.filter(x => this.input.indexOf(x) === -1);\n if (difference.length > 0) {\n this.$emit('delete', this.model, difference[0]);\n }\n if (this.input) {\n this.$emit('add', this.model, this.input);\n }\n }\n private blur() {\n this.loading = false;\n }\n\n private focus() {\n if (!this.inputVal && this.activeItems.length === 0) {\n this.itemSearch = [];\n }\n }\n\n private clickToItem(item: string) {\n if (this.activeItems.indexOf(item) === -1) {\n this.activeItems.push(item);\n } else {\n this.activeItems.splice(this.activeItems.indexOf(item), 1);\n }\n }\n}\n","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Autocomplete.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Autocomplete.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Autocomplete.vue?vue&type=template&id=1aa71693&scoped=true\"\nimport script from \"./Autocomplete.vue?vue&type=script&lang=ts\"\nexport * from \"./Autocomplete.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Autocomplete.scss?vue&type=style&index=0&id=1aa71693&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1aa71693\",\n null\n \n)\n\nexport default component.exports","import { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VTextField,{staticClass:\"input input-search\",attrs:{\"label\":_vm.label,\"outlined\":\"\",\"hide-details\":!_vm.hint,\"type\":_vm.type,\"disabled\":_vm.disabled,\"prepend-icon\":_vm.icon,\"hint\":_vm.hint},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.changeInput.apply(null, arguments)},\"blur\":_vm.blur},model:{value:(_vm.input),callback:function ($$v) {_vm.input=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"input\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class InputText extends Vue {\n @Prop(String) public readonly label!: string;\n @Prop({ type: String, default: 'string' }) public readonly type!: string;\n @Prop(String) private readonly model!: string;\n @Prop(Boolean) public readonly disabled!: boolean;\n @Prop(String) public readonly icon!: string;\n @Prop(String) public readonly hint!: string;\n public input = '';\n public changeInput() {\n this.$emit('add', this.model, [this.input]);\n this.input = '';\n }\n public blur() {\n this.input = '';\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InputText.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InputText.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InputText.vue?vue&type=template&id=ceabadd8&scoped=true\"\nimport script from \"./InputText.vue?vue&type=script&lang=ts\"\nexport * from \"./InputText.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InputText.vue?vue&type=style&index=0&id=ceabadd8&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ceabadd8\",\n null\n \n)\n\nexport default component.exports","import { VChip } from 'vuetify/lib/components/VChip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VChip,{staticClass:\"mr-2 mt-1 chip\",attrs:{\"disabled\":_vm.searchLoad,\"close\":\"\",\"color\":\"#C1B7FE\",\"label\":\"\",\"text-color\":\"white\"},on:{\"click:close\":function($event){return _vm.$emit('delete', _vm.model, _vm.id)}}},[_vm._v(\" \"+_vm._s(_vm.text)+\" \")])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class InputSelected extends Vue {\n @Prop(Boolean) private readonly searchLoad!: string;\n @Prop(String) private readonly text!: string;\n @Prop(Number) private readonly id!: number;\n @Prop(String) private readonly model!: string;\n @Prop(Array) private readonly serverItems!: string[];\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InputSelected.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InputSelected.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InputSelected.vue?vue&type=template&id=445aa196&scoped=true\"\nimport script from \"./InputSelected.vue?vue&type=script&lang=ts\"\nexport * from \"./InputSelected.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InputSelected.vue?vue&type=style&index=0&id=445aa196&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"445aa196\",\n null\n \n)\n\nexport default component.exports","\nimport { lookupCustomer, lookupDriver, lookupService, searchJobs } from '@/api';\nimport JobTable from '@/components/dashBoard/jobTable/JobTable.vue';\nimport Autocomplete from '@/components/searchPage/components/Autocomplete/Autocomplete.vue';\nimport StateSelect from '@/components/searchPage/components/StateSelect/StateSelect.vue';\nimport DatePicker from '@/components/searchPage/DatePicker.vue';\nimport DateRangeCustom from '@/components/searchPage/DateRangeCustom.vue';\nimport Input from '@/components/searchPage/Input.vue';\nimport InputText from '@/components/searchPage/InputText.vue';\nimport InputSelected from '@/components/searchPage/InputSelected.vue';\nimport { Header, IGetJobs, ISearchSelected, Job, User } from '@/models/main';\nimport * as Sentry from '@sentry/vue';\nimport { addMonths, isValid } from 'date-fns';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport Button from '@/components/UI/button/Button.vue';\nimport Chip from '@/components/UI/chip/Chip.vue';\nimport Icon from '@/components/UI/Icon.vue';\nimport Tooltip from '@/components/UI/Tooltip.vue';\n\nimport dp from 'date-fns/parse';\n\nimport Vue from 'vue';\nimport { Component, Watch } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { notificationErrorText, timeZoneDefault } from '@/utils/PortalConstants';\n\nimport JobCompliance from '@/views/JobBooking/JobCompliance.vue';\n\n@Component({\n components: {\n Button,\n Chip,\n Icon,\n Tooltip,\n JobTable,\n DatePicker,\n DateRangeCustom,\n Input,\n InputText,\n InputSelected,\n Autocomplete,\n StateSelect,\n JobCompliance,\n },\n computed: {\n ...mapState(['availableStates']),\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class SearchPage extends Vue {\n public advanced = false;\n public user!: User;\n public dates: string[] = [];\n public datesIdSearch: string[] = [];\n public searchedJobs: Job[] = [];\n public loading = false;\n private timeout: ReturnType;\n public isLimited = false;\n public numberOfJobs = 0;\n public headers: Header[] = [\n { text: 'Id', value: 'id', align: 'left' },\n { text: 'Date', value: 'job_date', align: 'left' },\n { text: 'Customer Code', value: 'customer_code', align: 'left' },\n { text: 'Reference 1', value: 'ref1', align: 'left' },\n { text: 'Suburb Name', value: 'stop2_name', align: 'left' },\n { text: 'Suburb State', value: 'suburb_state2', align: 'left' },\n { text: 'Stop Number', value: 'main_stop', align: 'left' },\n { text: 'Driver', value: 'driver2', align: 'left' },\n { text: 'Service code', value: 'cost_service', align: 'left' },\n { text: 'Warehouse', value: 'wh_status', align: 'left', sortable: false },\n { text: 'Attributes', value: 'attributes', align: 'left', sortable: false },\n { text: 'Status', value: 'status', align: 'left', sortable: false },\n { text: 'Actions', value: 'actions', align: 'left custom' },\n ];\n public autocompleteDriver = lookupDriver;\n public autocompleteCustomer = lookupCustomer;\n public autocompleteService = lookupService;\n\n public modalMupltipleSearch = {\n value: '',\n isOpen: false,\n linesCounter: 0,\n items: [],\n radio: 0,\n types: [\n {\n jobIDs: {\n name: 'Job IDs',\n type: 'default',\n },\n },\n {\n serialNumbers: {\n name: 'Serial Numbers',\n type: 'single',\n },\n },\n {\n mixed: {\n name: 'Combined data',\n type: 'single',\n },\n },\n {\n mixedAddress: {\n name: 'Combined address',\n type: 'single',\n },\n },\n ],\n };\n\n public multipleInputChanged(value) {\n const lines = value.split(/\\r|\\r\\n|\\n/);\n this.modalMupltipleSearch.linesCounter = lines.length;\n this.modalMupltipleSearch.items = [];\n if (this.modalMupltipleSearch.linesCounter === 1) {\n this.modalMupltipleSearch.items = value.split(',').filter(x => x.trim() !== '');\n } else {\n this.modalMupltipleSearch.items = lines.filter(x => x.trim() !== '');\n }\n }\n\n public modalMupltipleSearchSubmit(): void {\n const chosenType = this.modalMupltipleSearch.types[this.modalMupltipleSearch.radio];\n const model = Object.keys(chosenType)[0];\n const modelType = Object.values(chosenType)[0].type;\n\n if (this.selected[model] || this.selectedSingleInputs[model]) {\n this.modalMupltipleSearch.items\n .filter(x => x !== '')\n .map(item => {\n if (modelType === 'single') {\n if (!this.selectedSingleInputs[model].data.includes(item)) {\n this.selectedSingleInputs[model].data.push(item);\n }\n } else {\n if (!this.selected[model].data.includes(item)) {\n this.selected[model].data.push(item);\n }\n }\n });\n\n if (modelType === 'single') {\n this.find();\n }\n\n this.modalMupltipleSearch.isOpen = false;\n this.modalMupltipleSearch.value = '';\n this.modalMupltipleSearch.items = [];\n this.modalMupltipleSearch.radio = 0;\n }\n }\n\n // Compliance modal\n public showModal = false;\n public currentJobIdx = -1;\n\n public currentJobChanged(idx: number): void {\n this.currentJobIdx = idx;\n }\n\n public closeModal(): void {\n this.showModal = false;\n this.currentJobIdx = -1;\n this.$forceUpdate();\n }\n\n public openInEditModal(unique_id: string): void {\n this.showModal = true;\n this.currentJobIdx = this.searchedJobs.findIndex(x => x.unique_id === unique_id);\n }\n // / Compliance modal\n\n availableFilters = [\n this.$ability.can('staff', 'Job') ? \"Can't schedule\" : null, // hide for non-staff users\n 'Requested for change',\n 'Only Active',\n 'Not Allocated',\n ];\n private selectedFilters: string[] = [];\n\n selected: Record = {\n jobIDs: {\n name: 'Job IDs',\n data: [],\n },\n driverIDs: {\n name: 'Driver IDs',\n data: [],\n },\n customerCodes: {\n name: 'Customer codes',\n data: [],\n },\n serviceCodes: {\n name: 'Service codes',\n data: [],\n },\n stateName: {\n name: 'State',\n data: [],\n },\n filters: {\n name: 'Filters',\n data: [],\n },\n };\n\n selectedSingleInputs: Record = {\n serialNumbers: {\n name: 'Serial numbers',\n data: [],\n },\n mixed: {\n name: 'Mixed',\n data: [],\n },\n mixedAddress: {\n name: 'Mixed Address',\n data: [],\n },\n };\n\n selectedSingleInputsCloned = { ...this.selectedSingleInputs };\n\n @Watch('selected', { deep: true })\n private async watchToSelected() {\n const selectsHaveNoData = this.checkSelectsHaveNoData({\n ...this.selected,\n ...this.selectedSingleInputs,\n });\n if (selectsHaveNoData) {\n this.searchedJobs = [];\n this.loading = false;\n this.numberOfJobs = 0;\n this.isLimited = false;\n } else {\n if (!this.loading) {\n await this.find();\n }\n }\n }\n\n // Single Inputs:\n @Watch('selectedSingleInputs', { deep: true })\n private async watchToSelectedSingleInputs() {\n // Make clone of selectedSingleInputs to detect changes in children array\n this.selectedSingleInputsCloned = structuredClone(this.selectedSingleInputs);\n }\n\n // Single Inputs Clone:\n @Watch('selectedSingleInputsCloned', { deep: true })\n private watchToSelectedSingleInputsCloned(\n nextValue: Record,\n prevValue: Record,\n ) {\n if (this.advanced) {\n // Calculate prev & next value length\n const countInputsLength = (selectArray: Record): number => {\n return Object.values(selectArray)\n .map((item: ISearchSelected) => item.data)\n .reduce((acc, item) => {\n return acc + item.length;\n }, 0);\n };\n const prevValueLength = countInputsLength(prevValue);\n const nextValueLength = countInputsLength(nextValue);\n // Update immediate when adding, set delay for removing\n const shouldUpdateImmediate = prevValueLength < nextValueLength;\n\n if (!this.loading) {\n const selectsHaveNoData = this.checkSelectsHaveNoData({\n ...this.selected,\n ...this.selectedSingleInputs,\n });\n if (selectsHaveNoData) {\n this.searchedJobs = [];\n this.loading = false;\n this.numberOfJobs = 0;\n this.isLimited = false;\n } else {\n this.find(shouldUpdateImmediate);\n }\n }\n }\n }\n\n @Watch('dates', { deep: true })\n private watchToDates() {\n if (!this.loading) {\n this.rulesForFind();\n }\n }\n\n private checkSelectsHaveNoData(data: Record) {\n delete data.filters;\n const chipsSum = Object.values(data)\n .map(item => item.data.length)\n .reduce((partialSum, a) => partialSum + a, 0);\n return chipsSum === 0;\n }\n\n // rules for automatic find\n private async rulesForFind(immediate?: boolean) {\n const selectsHaveNoData = this.checkSelectsHaveNoData({\n ...this.selected,\n ...this.selectedSingleInputs,\n });\n if (this.selected.jobIDs.data.length > 0 || (this.dates.length === 2 && !selectsHaveNoData)) {\n await this.find(immediate);\n } else {\n this.loading = false;\n }\n }\n\n public clearDateFilter() {\n this.dates = [];\n }\n\n private setDefaultDatesRange(): void {\n // Default is +/- 6 month from today\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const fromDate = format(utcToZonedTime(addMonths(new Date(), -6), userTimeZone), 'yyyy-MM-dd'); // - 6 month\n const toDate = format(utcToZonedTime(addMonths(new Date(), 6), userTimeZone), 'yyyy-MM-dd'); // + 6 month\n this.datesIdSearch = [fromDate, toDate];\n }\n\n public clearDatesIdSearch(): void {\n this.setDefaultDatesRange();\n }\n\n public find(immediate?: boolean): void {\n const filtersCodes: string[] = [];\n this.selected.filters.data.map(filter => {\n filter === \"Can't schedule\" ? filtersCodes.push('CNTSCHDL') : null;\n filter === 'Requested for change' ? filtersCodes.push('RFC') : null;\n filter === 'Only Active' ? filtersCodes.push('ACTIVE') : null;\n filter === 'Not Allocated' ? filtersCodes.push('ALLOC') : null;\n });\n const params = {\n job_id: this.selected.jobIDs.data.join(','),\n dates: this.advanced ? this.dates.join(',') : this.datesIdSearch.join(','),\n service_code: this.selected.serviceCodes.data.join(','),\n driver_id: this.selected.driverIDs.data.join(','),\n customer_code: this.selected.customerCodes.data.join(','),\n state: this.selected.stateName.data.join(','),\n serial_number: this.selectedSingleInputs.serialNumbers.data.join(','),\n mixed_content: this.selectedSingleInputs.mixed.data.join(','),\n mixed_address: this.selectedSingleInputs.mixedAddress.data.join(','),\n extra: filtersCodes.join(','),\n };\n\n this.addParamsToLocation(params);\n clearTimeout(this.timeout);\n\n // Search immediate for \"Single\" inputs (Serial number, Combined Address and Data)\n if (immediate) {\n this.findWrapper(params);\n } else {\n // Or 1.5 sec timeout for selects\n this.timeout = setTimeout(() => {\n this.findWrapper(params);\n }, 1500);\n }\n }\n\n private findWrapper(params) {\n this.loading = true;\n searchJobs(params)\n .then((data: IGetJobs) => {\n if (!this.loading) {\n this.searchedJobs = [];\n } else {\n this.searchedJobs = [...data.cancelled, ...data.completed, ...data.in_progress, ...data.unallocated];\n }\n this.numberOfJobs =\n data.cancelled.length + data.completed.length + data.in_progress.length + data.unallocated.length;\n this.isLimited = this.numberOfJobs === 100;\n if (this.isLimited) {\n Sentry.withScope(scope => {\n scope.setLevel('warning');\n Sentry.captureMessage('100 jobs limit search page');\n });\n }\n })\n .catch(err => {\n if (err.response?.status === 400) {\n Sentry.withScope(scope => {\n scope.setLevel('warning');\n Sentry.captureException(err);\n });\n this.$notify({\n group: 'network',\n title: 'Wrong request',\n text: 'Try to clarify the input data',\n type: 'warn',\n });\n } else {\n this.$notify({\n group: 'network',\n title: 'Something went wrong',\n text: notificationErrorText,\n type: 'warn',\n });\n }\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n public changeDate(dates: string[]) {\n this.dates = dates;\n this.isLimited = false;\n this.numberOfJobs = 0;\n }\n\n public changeDateIdSearch(dates: string[]) {\n this.datesIdSearch = dates;\n if (this.selected.jobIDs.data.length > 0) {\n this.find();\n }\n }\n\n public addInput(model: string, input: string[]) {\n input.forEach(item => {\n if (item && this.selected[model].data.indexOf(item) === -1) {\n this.selected[model].data.push(item);\n }\n });\n }\n\n public addInputSingle(model: string, input: string[]) {\n input.forEach(item => {\n if (item && this.selectedSingleInputs[model].data.indexOf(item) === -1) {\n this.selectedSingleInputs[model].data.push(item);\n }\n });\n }\n\n public addState(input: string[]) {\n const selectName = 'stateName';\n this.selected[selectName].data = input;\n }\n\n public filtersChanged(filters) {\n filters.forEach(item => {\n if (item && this.selected.filters.data.indexOf(item) === -1) {\n this.selected.filters.data.push(item);\n }\n });\n }\n\n public deleteItems(model: string, difference: string) {\n this.selected[model].data = this.selected[model].data.filter(item => item !== difference);\n }\n\n public deleteInput(model: string, idx: number, type) {\n if (model === 'serialNumbers' || model === 'mixed' || model === 'mixedAddress') {\n this.selectedSingleInputs[model].data.splice(idx, 1);\n } else {\n this.selected[model].data.splice(idx, 1);\n }\n const params = {\n job_id: this.selected.jobIDs.data.join(','),\n dates: this.dates.join(','),\n service_code: this.selected.serviceCodes.data.join(','),\n driver_id: this.selected.driverIDs.data.join(','),\n customer_code: this.selected.customerCodes.data.join(','),\n state_name: this.selected.stateName.data.join(','),\n serial_number: this.selectedSingleInputs.serialNumbers.data.join(','),\n mixed_content: this.selectedSingleInputs.mixed.data.join(','),\n mixed_address: this.selectedSingleInputs.mixedAddress.data.join(','),\n };\n this.addParamsToLocation(params);\n }\n\n // watch to switch advanced search\n @Watch('advanced')\n private watchToAdvanced() {\n if (this.advanced) {\n this.selected.jobIDs.data = [];\n if (this.selected.filters.data.indexOf('Only Active') === -1) {\n this.selected.filters.data.push('Only Active');\n }\n if (Object.keys(this.$route.query).indexOf('dates') === -1) {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const fromDate = format(utcToZonedTime(addMonths(new Date(), -6), userTimeZone), 'yyyy-MM-dd'); // - 6 month\n const toDate = format(utcToZonedTime(addMonths(new Date(), 6), userTimeZone), 'yyyy-MM-dd'); // + 6 month\n this.dates = [fromDate, toDate];\n } else {\n this.dates = (this.$route.query.dates as string).split(',');\n }\n } else {\n this.selected.driverIDs.data = [];\n this.selected.serviceCodes.data = [];\n this.selected.customerCodes.data = [];\n this.selected.stateName.data = [];\n this.selectedSingleInputs.serialNumbers.data = [];\n this.selectedSingleInputs.mixed.data = [];\n this.selectedSingleInputs.mixedAddress.data = [];\n this.selected.filters.data = [];\n this.isLimited = false;\n this.numberOfJobs = 0;\n }\n }\n\n // click to clear filters\n public clearFilters() {\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const fromDate = format(utcToZonedTime(addMonths(new Date(), -6), userTimeZone), 'yyyy-MM-dd'); // - 6 month\n const toDate = format(utcToZonedTime(addMonths(new Date(), 6), userTimeZone), 'yyyy-MM-dd'); // + 6 month\n this.dates = [fromDate, toDate];\n this.selected.jobIDs.data = [];\n this.selected.driverIDs.data = [];\n this.selected.serviceCodes.data = [];\n this.selected.customerCodes.data = [];\n this.selected.stateName.data = [];\n this.selectedSingleInputs.serialNumbers.data = [];\n this.selectedSingleInputs.mixed.data = [];\n this.selectedSingleInputs.mixedAddress.data = [];\n this.selected.filters.data = [];\n this.isLimited = false;\n this.numberOfJobs = 0;\n this.rulesForFind();\n }\n\n private addParamsToLocation(params) {\n const query = {};\n for (const key in params) {\n if (Object.prototype.hasOwnProperty.call(params, key)) {\n if (params[key]) {\n query[key] = params[key];\n }\n }\n }\n this.$router.push({ path: 'search', query: { ...query } }).catch(() => false);\n }\n\n private created(): void {\n // search route query watcher:\n this.$watch(\n () => this.$route.query,\n (toParams, previousParams) => {\n if (toParams.job_id && previousParams.job_id && typeof toParams.job_id === 'string') {\n this.selected.jobIDs.data = toParams.job_id.split(',');\n this.find();\n }\n },\n );\n // Default dates (+/- 6 month)\n this.setDefaultDatesRange();\n // URL parsing\n if (Object.keys(this.$route.query).length !== 0) {\n Object.keys(this.$route.query).forEach(key => {\n if (key === 'job_id') {\n this.selected.jobIDs.data = (this.$route.query.job_id as string).split(',');\n }\n if (key === 'dates') {\n const dateString = (this.$route.query.dates as string).split(',');\n if (\n isValid(dp(dateString[0], 'yyyy-MM-dd', new Date())) &&\n isValid(dp(dateString[1], 'yyyy-MM-dd', new Date()))\n ) {\n this.dates = (this.$route.query.dates as string).split(',');\n } else {\n // date string has one date, \"YYYY-MM-DD\" format, copy the second date from the first\n if (isValid(dp(dateString[0], 'yyyy-MM-dd', new Date()))) {\n this.dates[0] = dateString[0];\n if (!dateString[1]) {\n this.dates[1] = this.dates[0];\n }\n } else {\n // no dates at all – plus/minus 6 months\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const fromDate = format(utcToZonedTime(addMonths(new Date(), -6), userTimeZone), 'yyyy-MM-dd'); //-6 month\n const toDate = format(utcToZonedTime(addMonths(new Date(), 6), userTimeZone), 'yyyy-MM-dd'); // +6 month\n this.dates = [fromDate, toDate];\n }\n }\n this.datesIdSearch = this.dates;\n }\n if (\n key === 'driver_id' ||\n key === 'customer_code' ||\n key === 'service_code' ||\n key === 'serial_number' ||\n key === 'state_name' ||\n key === 'mixed_content' ||\n key === 'mixed_address' ||\n key === 'extra'\n ) {\n this.advanced = true;\n }\n if (key === 'driver_id') {\n this.selected.driverIDs.data = (this.$route.query.driver_id as string).split(',');\n }\n if (key === 'customer_code') {\n this.selected.customerCodes.data = (this.$route.query.customer_code as string).split(',');\n }\n if (key === 'service_code') {\n this.selected.serviceCodes.data = (this.$route.query.service_code as string).split(',');\n }\n if (key === 'state') {\n this.selected.stateName.data = (this.$route.query.state as string).split(',');\n }\n if (key === 'serial_number') {\n this.selectedSingleInputs.serialNumbers.data = (this.$route.query.serial_number as string).split(',');\n }\n if (key === 'mixed_content') {\n this.selectedSingleInputs.mixed.data = (this.$route.query.mixed_content as string).split(',');\n }\n if (key === 'mixed_address') {\n this.selectedSingleInputs.mixedAddress.data = (this.$route.query.mixed_address as string).split(',');\n }\n if (key === 'extra') {\n const filtersCodes = (this.$route.query.extra as string).split(',');\n const filters: string[] = [];\n filtersCodes.map(code => {\n code === 'CNTSCHDL' && this.$ability.can('staff', 'Job') ? filters.push(\"Can't schedule\") : null; // hide for non-staff users\n code === 'RFC' ? filters.push('Requested for change') : null;\n code === 'ACTIVE' ? filters.push('Only Active') : null;\n code === 'ALLOC' ? filters.push('Not Allocated') : null;\n });\n this.selected.filters.data = filters;\n }\n });\n }\n }\n\n /* taken from https://www.cyberforum.ru/javascript-beginners/thread2271518.html\n */\n public copyURL() {\n const copyText = document.createElement('input');\n copyText.value = window.location.href;\n document.body.appendChild(copyText);\n copyText.select();\n document.execCommand('copy');\n document.body.removeChild(copyText);\n this.$notify({\n group: 'network',\n text: 'Link copied',\n type: 'success',\n duration: 3000,\n });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SearchPage.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SearchPage.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SearchPage.vue?vue&type=template&id=a7beb616&scoped=true\"\nimport script from \"./SearchPage.vue?vue&type=script&lang=ts\"\nexport * from \"./SearchPage.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SearchPage.scss?vue&type=style&index=0&id=a7beb616&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a7beb616\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 pb-4\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg pb-2 mb-3\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"Postcode Search\")])]),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('DateRangeCustom',{attrs:{\"disabled\":_vm.loading,\"Pdates\":_vm.datesIdSearch,\"from-today\":true,\"use-days\":true,\"default-range\":14,\"extended-range\":30},on:{\"changeDate\":_vm.changeDateIdSearch,\"clearDateFilter\":_vm.clearDatesIdSearch}})],1),_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('LookupPostcode',{staticClass:\"lookup-postcode\",attrs:{\"background-color\":\"white\",\"outlined\":\"\",\"disabled\":_vm.loading,\"autocomplete\":_vm.autocompletePostcode},on:{\"change\":_vm.postcodeLookupDataChanged}})],1),_c(VCol,{attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"d-flex\"},[_c('p',[_vm._v(\"Distance (km):\")]),_vm._l((Object.keys(_vm.distance)),function(item,idx){return _c('div',{key:idx,staticClass:\"distance pl-0\"},[_c('div',{staticClass:\"distance-item mr-2\",class:[!!_vm.distance[item] ? 'chosen' : _vm.loading ? 'loading' : ''],on:{\"click\":function($event){return _vm.distanceClicked(item)}}},[_vm._v(\" \"+_vm._s(item)+\" \")])])})],2)]),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"2\"}},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"fab\":\"\",\"disabled\":_vm.loading,\"color\":\"primary\"},on:{\"click\":function($event){return _vm.find()}}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)],1)],1)]),_c('div',{staticClass:\"content pa-3\"},[_c('JobTable',{staticClass:\"mb-12 mr-0 pr-0\",attrs:{\"headersProps\":_vm.headers,\"loading\":_vm.loading,\"jobs\":_vm.jobs}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VAutocomplete,{attrs:{\"items\":_vm.itemSearch,\"loading\":_vm.loading,\"item-text\":\"postcode\",\"item-key\":\"id\",\"type\":\"number\",\"outlined\":\"\",\"clearable\":\"\",\"label\":\"Postcode\",\"background-color\":\"white\",\"return-object\":\"\"},on:{\"update:search-input\":_vm.search,\"input\":_vm.change,\"keydown\":_vm.keydown},scopedSlots:_vm._u([{key:\"item\",fn:function({ item }){return [_c('p',[_vm._v(_vm._s(item.postcode)+\", \"+_vm._s(item.name)+\", \"+_vm._s(item.state))])]}},{key:\"no-data\",fn:function(){return [_c(VListItem,[(_vm.loading)?_c(VListItemTitle,[_vm._v(\"Loading...\")]):(!_vm.loading && _vm.inputVal && _vm.inputVal.length >= 2)?_c(VListItemTitle,[_vm._v(\"Not found\")]):_c(VListItemTitle,[_vm._v(\"Enter more than 2 character\")])],1)]},proxy:true}]),model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:\"input\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { PostcodeDataResponce } from '@/models/main';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { notificationErrorText } from '@/utils/PortalConstants';\n\n@Component({})\nexport default class LookupPostcode extends Vue {\n @Prop({ type: Function, required: true }) private autocomplete!: (\n postcode: string,\n ) => Promise;\n\n private input = '';\n private inputVal = '';\n private itemSearch: PostcodeDataResponce[] = [];\n private loading = false;\n\n private keydown(event) {\n // Only numbers, Backspace, Delete & Arrows\n const numberPattern = /\\d+/g;\n const valueValid = event.key.match(numberPattern);\n if (\n !valueValid &&\n event.code !== 'Backspace' &&\n event.code !== 'Delete' &&\n event.code !== 'ArrowLeft' &&\n event.code !== 'ArrowRight'\n ) {\n event.preventDefault();\n }\n }\n\n private search(val: string) {\n if (val === this.input) {\n return;\n }\n this.inputVal = val;\n if (val?.length >= 2) {\n this.itemSearch = [];\n this.loading = true;\n this.autocomplete(val)\n .then((data: PostcodeDataResponce[]) => {\n this.itemSearch = data;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error searching the postcode',\n text: notificationErrorText,\n type: 'warn',\n duration: 3000,\n });\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n\n private change(val) {\n this.input = val;\n this.$emit('change', val);\n }\n}\n","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupPostcode.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LookupPostcode.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LookupPostcode.vue?vue&type=template&id=d8f76d40&scoped=true\"\nimport script from \"./LookupPostcode.vue?vue&type=script&lang=ts\"\nexport * from \"./LookupPostcode.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d8f76d40\",\n null\n \n)\n\nexport default component.exports","\nimport { lookupPostcode, searchJobsByPostcode } from '@/api';\nimport DateRangeCustom from '@/components/searchPage/DateRangeCustom.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { notificationErrorText, timeZoneDefault } from '@/utils/PortalConstants';\nimport { addDays } from 'date-fns';\nimport Input from '@/components/searchPage/Input.vue';\nimport JobTable from '@/components/dashBoard/jobTable/JobTable.vue';\nimport LookupPostcode from '@/components/searchPage/components/LookupPostcode/LookupPostcode.vue';\nimport { Header, IGetJobs, Job, LookupPostcodeData, User } from '@/models/main';\n\n@Component({\n components: {\n Button,\n BackButton,\n DateRangeCustom,\n JobTable,\n Input,\n LookupPostcode,\n },\n computed: {\n ...mapState('moduleUser', { userSelectedDates: 'userSelectedDates' }),\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class SearchPostcode extends Vue {\n private user!: User;\n private loading = false;\n\n private autocompletePostcode = lookupPostcode;\n\n private datesIdSearch: string[] = [];\n private postcode = '';\n private distance = {\n 20: true,\n 50: false,\n 100: false,\n 200: false,\n };\n\n private jobs: Job[] = [];\n\n private postcodeLookupData = {\n id: -1,\n name: '',\n postcode: '',\n state: '',\n status: -1,\n zone: '',\n };\n\n private headers: Header[] = [\n { text: 'Id', value: 'id', align: 'left' },\n { text: 'Date', value: 'job_date', align: 'left' },\n { text: 'Customer Code', value: 'customer_code', align: 'left' },\n { text: 'Reference 1', value: 'ref1', align: 'left' },\n { text: 'Suburb Name', value: 'stop2_name', align: 'left' },\n { text: 'Suburb State', value: 'suburb_state2', align: 'left' },\n { text: 'Stop Number', value: 'main_stop', align: 'left' },\n { text: 'Driver', value: 'driver2', align: 'left' },\n { text: 'Service code', value: 'cost_service', align: 'left' },\n { text: 'Warehouse', value: 'wh_status', align: 'left', sortable: false },\n { text: 'Attributes', value: 'attributes', align: 'left', sortable: false },\n { text: 'Status', value: 'status', align: 'left', sortable: false },\n ];\n\n private postcodeLookupDataChanged(data) {\n this.postcodeLookupData = data;\n }\n\n private setDefaultDatesRange(): void {\n // Default is +7 days from today\n const userTimeZone = this.user.timezone || timeZoneDefault;\n const fromDate = format(utcToZonedTime(new Date(), userTimeZone), 'yyyy-MM-dd'); // today\n const toDate = format(utcToZonedTime(addDays(new Date(), 14), userTimeZone), 'yyyy-MM-dd'); // + 14 days\n this.datesIdSearch = [fromDate, toDate];\n }\n\n private clearDatesIdSearch(): void {\n this.setDefaultDatesRange();\n }\n\n private changeDateIdSearch(dates: string[]) {\n this.datesIdSearch = dates;\n }\n\n private distanceClicked(value) {\n if (!this.loading) {\n Object.keys(this.distance).map(item => {\n this.distance[item] = false;\n });\n this.distance[value] = true;\n }\n if (this.postcodeLookupData.id !== -1) {\n this.find();\n }\n }\n\n private find() {\n this.loading = true;\n const distanceChosen = Object.values(this.distance).findIndex(x => !!x);\n const params: LookupPostcodeData = {\n dates: this.datesIdSearch,\n suburb_id: this.postcodeLookupData.id,\n postcode: this.postcodeLookupData.postcode,\n distance: Number(Object.keys(this.distance)[distanceChosen]),\n };\n searchJobsByPostcode(params)\n .then((data: IGetJobs) => {\n this.jobs = [...data.cancelled, ...data.completed, ...data.in_progress, ...data.unallocated];\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error getting the jobs',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n private mounted() {\n this.setDefaultDatesRange();\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SearchPostcode.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SearchPostcode.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SearchPostcode.vue?vue&type=template&id=5ce1469c&scoped=true\"\nimport script from \"./SearchPostcode.vue?vue&type=script&lang=ts\"\nexport * from \"./SearchPostcode.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SearchPostcode.scss?vue&type=style&index=0&id=5ce1469c&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5ce1469c\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VContainer,{staticClass:\"ma-0 pa-0\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 pb-4\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg pb-2 mb-3\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"Suburbs\")])]),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('div',{staticClass:\"d-flex align-center justify-center ml-9 mr-4 text\"},[_vm._v(\"Lookup suburb by name:\")])]),_c(VCol,{attrs:{\"cols\":\"3\"}},[_c('SuburbSearchField',{attrs:{\"parseInput\":_vm.parseInput},model:{value:(_vm.suburbInput),callback:function ($$v) {_vm.suburbInput=$$v},expression:\"suburbInput\"}})],1),_c(VCol,{attrs:{\"cols\":\"1\"}},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"fab\":\"\",\"disabled\":!_vm.suburbInput,\"color\":\"primary\"},on:{\"click\":_vm.parseInput}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1),_c(VCol,{attrs:{\"cols\":\"2\"}},[_c('div',{staticClass:\"d-flex align-center justify-center ml-9 mr-4 text\"},[_vm._v(\"Lookup suburb by postcode:\")])]),_c(VCol,{attrs:{\"cols\":\"3\"}},[_c('SuburbSearchField',{attrs:{\"parseInput\":_vm.parseInput},model:{value:(_vm.postcodeInput),callback:function ($$v) {_vm.postcodeInput=$$v},expression:\"postcodeInput\"}})],1),_c(VCol,{attrs:{\"cols\":\"1\"}},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"fab\":\"\",\"disabled\":!_vm.postcodeInput,\"color\":\"primary\"},on:{\"click\":_vm.parseInput}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)],1)],1)]),_c('div',{staticClass:\"content pa-6\"},[(_vm.isLoading)?_c(VProgressLinear,{staticClass:\"progress-bar mt-12\",attrs:{\"indeterminate\":\"\",\"rounded\":\"\",\"height\":\"4\"}}):_c('div',{staticClass:\"table-wrapper\"},[_c('div',{staticClass:\"mt-4\"},[_c(VDataTable,{staticClass:\"elevation-1\",attrs:{\"dense\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"headers\":_vm.headers,\"items\":_vm.suburbData,\"item-key\":\"key\"}})],1)])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"relative w-full h-full\"},[_c('t-input',{staticClass:\"w-full h-full border bg-white\",on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.parseInput.apply(null, arguments)}},model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:\"searchValue\"}}),_c('TInputCloseBtn',{staticClass:\"absolute top-2.5 right-0.5 h-8 bg-white px-1\",model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:\"searchValue\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport TInputCloseBtn from '@/components/btns/TInputCloseBtn.vue';\n\n@Component({\n components: {\n TInputCloseBtn,\n },\n})\nexport default class SuburbSearchField extends Vue {\n @Prop(String) public value: string;\n @Prop(Function) public parseInput: () => void;\n\n get searchValue() {\n return this.value;\n }\n\n set searchValue(value) {\n this.$emit('input', value);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SuburbSearchField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SuburbSearchField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SuburbSearchField.vue?vue&type=template&id=254d3a9e\"\nimport script from \"./SuburbSearchField.vue?vue&type=script&lang=ts\"\nexport * from \"./SuburbSearchField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { getLookupGNAFSuburb } from '@/api';\nimport DateSelect from '@/components/dashBoard/selectsFields/components/DateSelect/DateSelect.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport SuburbSearchField from '@/components/fields/SuburbSearchField.vue';\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { Header, SuburbGNAFLookUpData } from '@/models/main';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport { mapState } from 'vuex';\nimport { uuidv4 } from '@/utils/Common';\n\n@Component({\n components: {\n BackButton,\n DateSelect,\n SuburbSearchField,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class Suburbs extends Vue {\n private isLoading = false;\n private suburbData: SuburbGNAFLookUpData[] = [];\n private suburbInput = '';\n private postcodeInput = '';\n\n // {\"locality_name\": \"NANGRAM\", \"postcode\": \"4416\", \"state\": \"QLD\", \"locality_alias_name\": \"CHINCHILLA\"}\n private headers: Header[] = [\n { text: 'Suburb', value: 'locality_name', align: 'left' },\n { text: 'Postcode', value: 'postcode', align: 'left' },\n { text: 'State', value: 'state', align: 'left' },\n { text: 'Suburb alias', value: 'locality_alias_name', align: 'left' },\n ];\n\n // @Watch('suburbInput')\n private parseInput(input) {\n this.getSuburbs();\n return input;\n }\n\n private getSuburbs() {\n this.isLoading = true;\n getLookupGNAFSuburb(this.suburbInput, this.postcodeInput)\n .then((res: SuburbGNAFLookUpData[]) => {\n // this.suburbData = res;\n this.suburbData = res.map(item => ({ ...item, key: uuidv4() }));\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error Suburbs report',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.isLoading = false;\n });\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Suburbs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Suburbs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Suburbs.vue?vue&type=template&id=768403cc&scoped=true\"\nimport script from \"./Suburbs.vue?vue&type=script&lang=ts\"\nexport * from \"./Suburbs.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Suburbs.scss?vue&type=style&index=0&id=768403cc&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"768403cc\",\n null\n \n)\n\nexport default component.exports","import { VChip } from 'vuetify/lib/components/VChip';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"pb-0 bg-purple-50 border-b border-purple-200 pa-3\"},[_c('div',{staticClass:\"py-0 px-3\"},[_c('BackButton',{}),_vm._m(0),_vm._m(1)],1),_c(VRow,{staticClass:\"ma-0 mt-2 ml-3 pb-6\"},[_c('div',[_c('DateRangeCustom',{attrs:{\"disabled\":_vm.loadingTechnicians || _vm.loadingJobs,\"Pdates\":_vm.dates,\"showDefault\":false,\"showExtended\":false},on:{\"changeDate\":_vm.changeDate}})],1)])],1),_c('div',{staticClass:\"flex mx-6 my-12\"},[_c('div',{staticClass:\"w-64\"},[_c('h3',{staticClass:\"text-xl font-semibold\"},[_vm._v(\"Technicians catalog:\")]),(_vm.loadingTechnicians)?_c('div',{staticClass:\"h-20 flex align-center justify-center py-10\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"size\":\"48\",\"color\":\"purple\"}},[_vm._v(\"mdi-loading\")])],1):(_vm.technicians.length === 0)?_c('div',[_c('span',[_vm._v(\"You don't have any technicians\")])]):_c('div',[_vm._l((_vm.technicians),function(technician,idx){return _c('div',{key:idx,staticClass:\"cursor-grab\",attrs:{\"draggable\":true,\"transfer-data\":{ technician }},on:{\"dragstart\":function($event){return _vm.onDragStart($event, technician)},\"dragend\":function($event){return _vm.onDragEnd()}}},[_c('div',{staticClass:\"border border-purple-200 rounded my-2 p-2 bg-purple-50\"},[_vm._v(\" \"+_vm._s(technician.full_name)+\", \"+_vm._s(technician.state)+\" \")])])}),(_vm.$can('staff', 'Job'))?_c('div',[_c('router-link',{staticClass:\"flex justify-center mt-4 p-0\",attrs:{\"to\":{\n name: _vm.routeNames.TECHNICIANS_CATALOG,\n }}},[_c('p',{staticClass:\"ma-0 pa-0 text-base whitespace-nowrap underline hover:no-underline\"},[_vm._v(\"Manage catalog\")])])],1):_vm._e()],2)]),_c('div',{staticClass:\"w-192 ml-10\"},[_c('h3',{staticClass:\"text-xl font-semibold\"},[_vm._v(\"Jobs:\")]),(_vm.loadingJobs)?_c('div',{staticClass:\"h-40 flex align-center justify-center py-20\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"size\":\"48\",\"color\":\"purple\"}},[_vm._v(\"mdi-loading\")])],1):(_vm.pageData.results.length === 0)?_c('div',[_c('span',{staticClass:\"flex justify-start align-center h-10 mt-2 text-lg\"},[_vm._v(\"There are no such jobs, try changing the request\")])]):_c('div',[_vm._l((_vm.pageData.results),function(job,idx){return _c('div',{key:idx},[_c('div',{staticClass:\"border border-purple-200 rounded my-2 p-4 bg-purple-50\"},[_c('div',[_c('span',[_vm._v(\"#\"),_c('span',{staticClass:\"font-semibold\"},[_vm._v(_vm._s(job.rockhopper_id)+\", \")]),_vm._v(_vm._s(_vm.format(_vm.utcToZonedTime(new Date(job.rockhopper_date), _vm.userTimeZone), 'yyyy-MM-dd HH:mm aa')))]),_c('span',{staticClass:\"ml-4 font-semibold\"},[_vm._v(_vm._s(job.customer))])]),_c('div',{staticClass:\"flex justify-between bg-white rounded mt-4\"},[(job && job.stops)?_c('StopDrawing',{staticClass:\"w-full mt-6 mx-4 pt-4\",attrs:{\"job\":job,\"stops\":job.stops,\"editable\":false}}):_vm._e()],1),_c('div',{staticClass:\"flex justify-start bg-white rounded-b\"},_vm._l((job.stops),function(stop,jdx){return _c('div',{key:jdx,staticClass:\"w-64 h-28 pl-6\",class:jdx === 0 ? 'pl-10' : '',on:{\"dragover\":function($event){$event.preventDefault();},\"dragenter\":function($event){$event.preventDefault();},\"drop\":function($event){$event.preventDefault();return _vm.handleDrop({\n target: stop,\n })}}},[_c('span',{staticClass:\"ml-4\"},[_vm._v(\"Technicians:\")]),_c('div',{staticClass:\"flex justify-between align-center h-16 m-4 mt-2 p-2 border border-purple-300 border-dashed rounded hover:border-purple-600\"},[(_vm.changedTechniciansList[stop.id])?_c('div',[_c(VChip,{attrs:{\"color\":\"purple\",\"small\":\"\"}},[_c('span',{staticClass:\"text-sm text-white\"},[_vm._v(_vm._s(_vm.changedTechniciansList[stop.id]?.full_name))]),_c(VIcon,{staticClass:\"text-white m-0 ml-2 cursor-pointer\",attrs:{\"small\":\"\",\"color\":\"white\"},nativeOn:{\"click\":function($event){return _vm.handleChipClose(stop.id)}}},[_vm._v(\"mdi-close\")])],1)],1):_c('div',{staticClass:\"w-full text-center\"},[_c('span',{staticClass:\"text-gray-600 font-italic\"},[_vm._v(\"Drop technician here\")])])])])}),0)])])}),_c('div',{staticClass:\"flex flex-col mt-8\"},[_c('div',{staticClass:\"relative\",class:_vm.pageHaveUnsavedChanges() ? 'group' : ''},[(_vm.pageHaveUnsavedChanges())?_c('div',{staticClass:\"absolute top-0 left-0 right-0 bottom-0 w-full h-full cursor-not-allowed hover:bg-gray-200 z-100 opacity-20\"}):_vm._e(),_c('div',{staticClass:\"flex justify-between\",class:_vm.pageHaveUnsavedChanges() ? 'opacity-40' : ''},[_c('div',{staticClass:\"flex items-center\"},[_c('p',{staticClass:\"ma-0 ml-1 text-sm whitespace-nowrap\"},[_vm._v(\"Show by:\")]),_c('p',{staticClass:\"ma-0 w-20 px-2\"},[_c('t-select',{attrs:{\"options\":_vm.pagination.perPageOptions,\"wrapped\":\"\"},model:{value:(_vm.pagination.perPage),callback:function ($$v) {_vm.$set(_vm.pagination, \"perPage\", $$v)},expression:\"pagination.perPage\"}})],1),_c('p',{staticClass:\"ma-0 pl-4 text-sm whitespace-nowrap\"},[_vm._v(\"jobs from \"+_vm._s(_vm.pagination.total)+\" pages\")])]),_c('div',[(_vm.pagination.total > 0)?_c('t-pagination',{staticClass:\"ma-0\",class:_vm.pagination.total >= 100 ? 'text-sm' : '',attrs:{\"total-items\":_vm.pagination.total * Number(_vm.pagination.perPage),\"per-page\":Number(_vm.pagination.perPage),\"limit\":_vm.pagination.visible,\"disabled\":_vm.loadingJobs},on:{\"change\":_vm.updatePagination},model:{value:(_vm.pagination.page),callback:function ($$v) {_vm.$set(_vm.pagination, \"page\", $$v)},expression:\"pagination.page\"}}):_vm._e()],1)]),(_vm.pageHaveUnsavedChanges())?_c('div',{staticClass:\"w-full flex justify-center align-center p-4 text-orange-400 group-hover:text-orange-600\"},[_c(VIcon,{staticClass:\"mr-2\",attrs:{\"size\":\"28\",\"color\":\"orange\"}},[_vm._v(\"mdi-alert\")]),_vm._v(\" You have unsaved changes. Update technicals to enable pagination \")],1):_vm._e()]),_c('div',{staticClass:\"flex justify-end mt-6\"},[_c('div',[_c('Button',{staticClass:\"w-min\",attrs:{\"size\":\"small\",\"color\":\"lime\",\"colorIntensity\":\"600\",\"text\":\"Update technicians\",\"icon\":\"mdi-send\",\"loading\":_vm.loadingUpdateTechnicians,\"disabled\":_vm.loadingJobs || _vm.loadingUpdateTechnicians || !_vm.pageHaveUnsavedChanges()},nativeOn:{\"click\":function($event){return _vm.updateTechnicians.apply(null, arguments)}}})],1)])])],2)])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('h2',{staticClass:\"mt-4 text-3xl font-bold\"},[_vm._v(\"Technicians\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('p',{staticClass:\"mt-1 text-lg\"},[_vm._v(\"Add technicians to the jobs\")])])\n}]\n\nexport { render, staticRenderFns }","\nimport { getTechniciansJobs, getTechniciansList, updateTechniciansJobs } from '@/api';\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport { User } from '@/models/main';\nimport { mapState } from 'vuex';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport * as routeNames from '@/router/routeNames';\nimport DateRangeCustom from '@/components/searchPage/DateRangeCustom.vue';\nimport StopDrawing from '@/components/jobDetailed/StopDrawing/StopDrawing.vue';\n\nimport Header from '@/components/jobBooking/Header/Header.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/Button.vue';\nimport { TechnicianCatalogItem, TechniciansJobsResponseData } from '@/models/technicians';\nimport { notifyNetworkError, notifyNetworkSuccess } from '@/helpers/notifiers';\nimport { JobDetailedData, JobDetailedStop } from '@/models/jobDetailed';\nimport { addDays } from 'date-fns';\n\n@Component({\n components: {\n BackButton,\n Button,\n DateRangeCustom,\n Header,\n StopDrawing,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class Technicians extends Vue {\n private user!: User;\n public routeNames = routeNames;\n public format = format;\n public utcToZonedTime = utcToZonedTime;\n get userTimeZone() {\n return this.user?.timezone || timeZoneDefault;\n }\n\n public loadingTechnicians = false;\n public loadingJobs = false;\n public loadingUpdateTechnicians = false;\n public technicians: TechnicianCatalogItem[] = [];\n public jobs: JobDetailedData[] = [];\n public draggingTechnician: TechnicianCatalogItem | null = null;\n public changedTechniciansList: { [key: number]: TechnicianCatalogItem | null } = {};\n public savedTechniciansList: { [key: number]: TechnicianCatalogItem | null } = {};\n\n private pageData: TechniciansJobsResponseData = {\n count: 0,\n next: '',\n previous: '',\n results: [],\n };\n private pagination = {\n page: 1,\n total: 0,\n perPage: 10,\n visible: 6,\n perPageOptions: [1, 5, 10, 50, 100],\n };\n\n public dates: string[] = [\n format(utcToZonedTime(addDays(new Date(), -13), this.userTimeZone), 'yyyy-MM-dd'),\n format(utcToZonedTime(new Date(), this.userTimeZone), 'yyyy-MM-dd'),\n ];\n\n /**\n * Checks if there are unsaved changes in the technicians list.\n *\n * Compares the current state of `changedTechniciansList` with `savedTechniciansList`\n * to determine if any modifications have been made that have not yet been saved.\n */\n public pageHaveUnsavedChanges() {\n return JSON.stringify(this.changedTechniciansList) !== JSON.stringify(this.savedTechniciansList);\n }\n\n public changeDate(dates: string[]) {\n this.dates = dates;\n this.changedTechniciansList = {};\n this.getJobListWrapper();\n }\n\n public onDragStart(event: DragEvent, technician: TechnicianCatalogItem) {\n this.draggingTechnician = technician;\n }\n\n public onDragEnd() {\n this.draggingTechnician = null;\n }\n\n /**\n * Handle a drop event\n * If the user is dragging a technician, record it in changedTechniciansList\n * We use the target id as the key, not the draggingTechnician id\n */\n public handleDrop(data: { target: JobDetailedStop }) {\n if (this.draggingTechnician == null) {\n return;\n }\n if (!this.changedTechniciansList[this.draggingTechnician.id]) {\n this.changedTechniciansList[data.target.id] = this.draggingTechnician;\n this.$forceUpdate();\n }\n }\n\n /**\n * Called when the user clicks on the 'X' button in the technician chip at a stop.\n * Clears the changedTechniciansList entry for the given stop id and updates the savedTechniciansList\n * if the stop was not set before\n * @param stop_id The id of the stop which the technician was assigned to\n */\n public handleChipClose(stop_id: number): void {\n if (this.changedTechniciansList[stop_id] !== null) {\n this.changedTechniciansList[stop_id] = null;\n if (!this.savedTechniciansList[stop_id]) {\n this.savedTechniciansList[stop_id] = null;\n }\n this.$forceUpdate();\n }\n }\n\n /**\n * Updates the pagination details for the job list.\n * It fetches the job list data, calculates the total number of pages based on\n * the total job count and items per page, and adjusts the current page\n * if it is out of bounds\n */\n private async updatePagination() {\n await this.getJobListWrapper();\n this.pagination.total = Math.ceil(this.pageData.count / Number(this.pagination.perPage));\n if (this.pagination.page === 0 && this.pagination.total >= 1) {\n this.pagination.page = 1;\n }\n if (this.pagination.page > this.pagination.total) {\n this.pagination.page = this.pagination.total;\n }\n }\n\n @Watch('pagination.perPage')\n private async perPageSelectChanged() {\n this.pagination.page = 1;\n this.pagination.perPage = Number(this.pagination.perPage);\n this.updatePagination();\n }\n\n public async updateTechnicians() {\n this.loadingUpdateTechnicians = true;\n const techs = Object.keys(this.changedTechniciansList).map(tech => {\n const id = this.changedTechniciansList[tech]?.id;\n return [tech, id ? id : null];\n });\n\n await updateTechniciansJobs(techs)\n .then(() => {\n notifyNetworkSuccess({ text: 'Technicians was successfully updated' });\n this.getJobListWrapper();\n })\n .catch(err => {\n notifyNetworkError({ title: 'Error loading technicians', text: err.response.data });\n })\n .finally(() => {\n this.loadingUpdateTechnicians = false;\n });\n }\n\n private async getTechniciansWrapper() {\n this.loadingTechnicians = true;\n await getTechniciansList()\n .then(res => {\n this.technicians = res.data;\n })\n .catch(() => {\n notifyNetworkError({ text: 'Error loading technicians' });\n })\n .finally(() => {\n this.loadingTechnicians = false;\n });\n }\n\n /**\n * Makes a request to API to get a list of jobs for given dates\n * and updates the page data. Also, it resets the changedTechniciansList\n * and savedTechniciansList and sets the pagination.total\n */\n private async getJobListWrapper() {\n this.loadingJobs = true;\n const endpointParams = {\n page: this.pagination.page,\n page_size: this.pagination.perPage,\n };\n await getTechniciansJobs(this.dates.join(','), endpointParams.page, endpointParams.page_size)\n .then(res => {\n this.pageData = res.data;\n this.changedTechniciansList = {};\n this.savedTechniciansList = {};\n this.pageData.results.map(job => {\n job.stops.map(stop => {\n if (stop.assigned_technician) {\n this.savedTechniciansList[stop.id] = stop.assigned_technician;\n this.changedTechniciansList = { ...this.savedTechniciansList };\n }\n });\n });\n this.pagination.total = Math.ceil(this.pageData.count / this.pagination.perPage);\n })\n .catch(() => {\n this.pagination.page = 1;\n this.pageData.results.length = 0;\n notifyNetworkError({ text: 'Error loading jobs' });\n })\n .finally(() => {\n this.loadingJobs = false;\n });\n }\n\n private mounted(): void {\n this.getTechniciansWrapper();\n this.getJobListWrapper();\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Technicians.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Technicians.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Technicians.vue?vue&type=template&id=73ed0dc6\"\nimport script from \"./Technicians.vue?vue&type=script&lang=ts\"\nexport * from \"./Technicians.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"wrapper\"},[_c('Header',{attrs:{\"title\":\"Technicians Catalog\",\"subtitle\":\"Manage technicians\"}}),_c('div',{staticClass:\"w-300 mx-6 my-12\"},[_c('div',{staticClass:\"flex justify-between align-center px-1\"},[_c('h2',{staticClass:\"text-lg font-semibold\"},[_vm._v(\"Manage technicians\")]),_c('Button',{attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-file-edit-outline\",\"text\":\"New technician\"},nativeOn:{\"click\":function($event){return _vm.handleOpenCreateTechnicianClicked.apply(null, arguments)}}})],1),_c(VDataTable,{staticClass:\"mt-8\",attrs:{\"headers\":_vm.tableHeaders,\"items\":_vm.technicians,\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"loading\":_vm.loading},scopedSlots:_vm._u([{key:`item.is_active`,fn:function({ item }){return [_c('Icon',{attrs:{\"name\":item.is_active ? 'mdi-check' : 'mdi-close',\"color\":item.is_active ? 'black' : 'gray',\"colorIntensity\":\"400\",\"size\":\"xl\"}})]}},{key:`item.notify_by_email`,fn:function({ item }){return [_c('Icon',{attrs:{\"name\":item.notify_by_email ? 'mdi-check' : 'mdi-close',\"color\":item.notify_by_email ? 'black' : 'gray',\"colorIntensity\":\"400\",\"size\":\"xl\"}})]}},{key:`item.notify_by_sms`,fn:function({ item }){return [_c('Icon',{attrs:{\"name\":item.notify_by_sms ? 'mdi-check' : 'mdi-close',\"color\":item.notify_by_sms ? 'black' : 'gray',\"colorIntensity\":\"400\",\"size\":\"xl\"}})]}},{key:`item.edit`,fn:function({ item }){return [_c('p',{staticClass:\"mb-0 text-sm leading-4\",on:{\"click\":function($event){return _vm.handleOpenEditTechnicianClicked(item)}}},[_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-pencil\",\"color\":\"gray\",\"colorIntensity\":\"400\",\"size\":\"xl\"}})],1)]}}],null,true)})],1),(_vm.currentTechnician)?_c(VDialog,{attrs:{\"max-width\":\"480\"},model:{value:(_vm.isDialogOpen),callback:function ($$v) {_vm.isDialogOpen=$$v},expression:\"isDialogOpen\"}},[_c(VForm,{ref:\"form\",staticClass:\"bg-white p-4\",attrs:{\"lazy-validation\":\"\"}},[_c('div',{staticClass:\"d-flex justify-space-between align-center\"},[_c('div',{staticClass:\"text-xl font-semibold\"},[_vm._v(_vm._s(_vm.isNewTechnician ? 'New' : 'Edit')+\" technician\")]),_c('Icon',{staticClass:\"cursor-pointer\",attrs:{\"name\":\"mdi-close\",\"color\":\"gray\",\"colorIntensity\":\"400\",\"size\":\"2xl\"},nativeOn:{\"click\":function($event){_vm.isDialogOpen = false}}})],1),_c('div',{staticClass:\"flex mt-8\"},[_c('div',{staticClass:\"w-full mt-1\"},[_c('div',{staticClass:\"w-full\"},[_c(VTextField,{attrs:{\"label\":\"Name\",\"outlined\":\"\",\"rules\":[v => !!v || 'Name is required field']},model:{value:(_vm.currentTechnician.full_name),callback:function ($$v) {_vm.$set(_vm.currentTechnician, \"full_name\", $$v)},expression:\"currentTechnician.full_name\"}})],1),_c('div',{staticClass:\"w-full\"},[_c(VSelect,{attrs:{\"items\":_vm.availableStates,\"label\":\"State\",\"outlined\":\"\",\"rules\":[v => !!v || 'State is required field']},model:{value:(_vm.currentTechnician.state),callback:function ($$v) {_vm.$set(_vm.currentTechnician, \"state\", $$v)},expression:\"currentTechnician.state\"}})],1),_c('div',{staticClass:\"w-full\"},[_c(VTextField,{attrs:{\"label\":\"Mobile phone\",\"outlined\":\"\",\"rules\":[v => !!v || 'Mobile phone is required field']},model:{value:(_vm.currentTechnician.mobile_phone),callback:function ($$v) {_vm.$set(_vm.currentTechnician, \"mobile_phone\", $$v)},expression:\"currentTechnician.mobile_phone\"}})],1)]),_c('div',{staticClass:\"ml-6\"},[_c('div',{staticClass:\"w-44 flex justify-between\"},[_c('span',{staticClass:\"leading-4\"},[_vm._v(\"Notify by email:\")]),_c(VSwitch,{staticClass:\"mt-0 pt-0\",attrs:{\"color\":\"#9C8CFF\"},model:{value:(_vm.currentTechnician.notify_by_email),callback:function ($$v) {_vm.$set(_vm.currentTechnician, \"notify_by_email\", $$v)},expression:\"currentTechnician.notify_by_email\"}})],1),_c('div',{staticClass:\"w-44 flex justify-between\"},[_c('span',{staticClass:\"leading-4\"},[_vm._v(\"Notify by sms:\")]),_c(VSwitch,{staticClass:\"mt-0 pt-0\",attrs:{\"color\":\"#9C8CFF\"},model:{value:(_vm.currentTechnician.notify_by_sms),callback:function ($$v) {_vm.$set(_vm.currentTechnician, \"notify_by_sms\", $$v)},expression:\"currentTechnician.notify_by_sms\"}})],1),_c('div',{staticClass:\"w-44 flex justify-between\"},[_c('span',{staticClass:\"leading-4\"},[_vm._v(\"Is active:\")]),_c(VSwitch,{staticClass:\"mt-0 pt-0\",attrs:{\"color\":\"#9C8CFF\"},model:{value:(_vm.currentTechnician.is_active),callback:function ($$v) {_vm.$set(_vm.currentTechnician, \"is_active\", $$v)},expression:\"currentTechnician.is_active\"}})],1)])]),_c('div',{staticClass:\"flex justify-end\"},[_c('Button',{attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-file-edit-outline\",\"text\":_vm.isNewTechnician ? 'Create technician' : 'Update technician',\"loading\":_vm.pendingForm},nativeOn:{\"click\":function($event){_vm.isNewTechnician ? _vm.handleTechnicianCreateClicked() : _vm.handleTechnicianUpdateClicked()}}})],1)])],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getTechniciansList, createTechnicianItem, updateTechnicianItem } from '@/api';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { User } from '@/models/main';\nimport { mapState } from 'vuex';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport { notifyNetworkError } from '@/helpers/notifiers';\n\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport Icon from '@/components/UI/Icon.vue';\nimport Header from '@/components/jobBooking/Header/Header.vue';\nimport { TechnicianCatalogItem } from '@/models/technicians';\n\nexport interface TechnicianData {\n full_name: string;\n state: string;\n mobile_phone: string;\n notify_by_email: boolean;\n notify_by_sms: boolean;\n is_active: boolean;\n}\n\n@Component({\n components: {\n Button,\n BackButton,\n Header,\n Icon,\n },\n computed: {\n ...mapState(['availableStates']),\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class TechniciansCatalog extends Vue {\n private loading = false;\n private pendingForm = false;\n private user!: User;\n public format = format;\n public utcToZonedTime = utcToZonedTime;\n private availableStates: string[];\n\n public tableHeaders = [\n { text: 'Is active', value: 'is_active', align: '' },\n { text: 'Name', value: 'full_name', align: '' },\n { text: 'Notify by email', value: 'notify_by_email', align: '' },\n { text: 'Notify by phone', value: 'notify_by_sms', align: '' },\n { text: 'Email', value: 'email', align: '' },\n { text: 'Mobile phone', value: 'mobile_phone', align: '' },\n { text: 'Customer', value: 'customer', align: '' },\n { text: 'State', value: 'state', align: '' },\n { text: 'Edit', value: 'edit', align: '', sortable: false },\n ];\n\n public currentTechnician: TechnicianCatalogItem | null = null;\n public isNewTechnician = false;\n public technicianDefault: TechnicianCatalogItem = {\n full_name: '',\n state: '',\n mobile_phone: '',\n notify_by_email: true,\n notify_by_sms: true,\n is_active: true,\n id: 0,\n customer: '',\n email: '',\n created_at: '',\n updated_at: '',\n };\n\n get userTimeZone() {\n return this.user?.timezone || timeZoneDefault;\n }\n\n public isDialogOpen = false;\n public technicians: TechnicianCatalogItem[] = [];\n\n public draggingTechnician: TechnicianData | null = null;\n\n public handleOpenCreateTechnicianClicked(): void {\n const form = this.$refs.form as HTMLFormElement;\n if (form) {\n form.reset();\n }\n this.isNewTechnician = true;\n this.currentTechnician = { ...this.technicianDefault };\n this.isDialogOpen = true;\n }\n\n public handleOpenEditTechnicianClicked(technician: TechnicianCatalogItem): void {\n this.isNewTechnician = false;\n this.currentTechnician = { ...technician };\n this.isDialogOpen = true;\n }\n\n public handleTechnicianCreateClicked(): void {\n const form = this.$refs.form as Vue & { validate: () => boolean };\n const isValid = form.validate();\n if (isValid) {\n this.pendingForm = true;\n createTechnicianItem(this.currentTechnician)\n .then(res => {\n this.technicians.push(res.data);\n })\n .catch(() => {\n notifyNetworkError({ text: 'Error creating technician' });\n })\n .finally(() => {\n this.pendingForm = false;\n });\n }\n }\n\n public handleTechnicianUpdateClicked(): void {\n const form = this.$refs.form as Vue & { validate: () => boolean };\n const isValid = form.validate();\n if (isValid && this.currentTechnician) {\n this.pendingForm = true;\n updateTechnicianItem(this.currentTechnician.id, this.currentTechnician)\n .then(res => {\n const technician = this.technicians.find(x => x.id === res.data.id);\n if (technician) {\n Object.assign(technician, res.data);\n }\n })\n .catch(() => {\n notifyNetworkError({ text: 'Error updating technician' });\n })\n .finally(() => {\n this.pendingForm = false;\n });\n }\n }\n\n private async getDraftsWrapper() {\n this.loading = true;\n\n await getTechniciansList()\n .then(res => {\n this.technicians = res.data;\n })\n .catch(() => {\n notifyNetworkError({ text: 'Error loading technicians catalog' });\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n private mounted(): void {\n this.getDraftsWrapper();\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TechniciansCatalog.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TechniciansCatalog.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TechniciansCatalog.vue?vue&type=template&id=67e57dbe\"\nimport script from \"./TechniciansCatalog.vue?vue&type=script&lang=ts\"\nexport * from \"./TechniciansCatalog.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex flex-col w-full h-screen justify-center items-center bg-purple-50\"},[_c('div',{staticClass:\"mb-8\"},[_c('LookupMailbox',{staticClass:\"w-168 bg-white\",attrs:{\"label\":\"to\",\"hasError\":false,\"chipsProp\":_vm.chips}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue } from 'vue-property-decorator';\nimport LookupMailbox from '@/components/UI/LookupMailbox.vue';\n\n@Component({\n components: {\n LookupMailbox,\n },\n})\nexport default class Mailbox extends Vue {\n public chips: string[] = [];\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Mailbox.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Mailbox.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Mailbox.vue?vue&type=template&id=0475a05d\"\nimport script from \"./Mailbox.vue?vue&type=script&lang=ts\"\nexport * from \"./Mailbox.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{},[_c('div',{staticClass:\"relative flex flex-col px-5 bg-purple-50 border-b border-purple-200\"},[_c('div',{staticClass:\"w-min mt-1 -ml-1 flex items-center back-btn cursor-pointer\",on:{\"click\":function($event){return _vm.$router.back()}}},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-arrow-left\")]),_c('span',{staticClass:\"text text-gray-600\"},[_vm._v(\"Back\")])],1),_c('div',{staticClass:\"w-min flex justify-start items-start pb-4\"},[_vm._m(0),_c('div',{staticClass:\"flex justify-start items-start mt-2 ml-8 pl-8 border-l border-purple-200\"},[_c('div',{staticClass:\"w-36\"},[_c('t-toggle',{staticClass:\"mt-2 text-sm\",attrs:{\"checked-value\":true,\"unchecked-value\":false,\"checked-placeholder\":\"UNREAD\",\"unchecked-placeholder\":\"ALL\",\"checked-label\":\"ALL\",\"unchecked-label\":\"UNREAD\"},on:{\"change\":_vm.showAllChanged},model:{value:(_vm.showAll),callback:function ($$v) {_vm.showAll=$$v},expression:\"showAll\"}})],1),_c('div',{staticClass:\"ml-8\"},[_c('tooltip',{attrs:{\"text\":_vm.showRfcOnly ? 'Show everyting including RFC' : 'Show RFC only',\"class-name\":\"text-white whitespace-nowrap \"},nativeOn:{\"click\":function($event){return _vm.rfcFilterClicked.apply(null, arguments)}}},[_c('div',{staticClass:\"w-10 h-10 rounded-full flex justify-center items-center cursor-pointer\",class:_vm.showRfcOnly ? 'bg-orange-400 group-hover:bg-orange-500' : 'bg-purple-400 hover:bg-purple-500'},[_c('Icon',{attrs:{\"name\":\"mdi-frequently-asked-questions\",\"color\":\"white\",\"size\":\"2xl\"}})],1)])],1),_c('div',{staticClass:\"w-80 ml-8 flex\"},[_c('div',{staticClass:\"w-10 mr-2\"},[_c('tooltip',{attrs:{\"text\":_vm.mailStateFilters['new'] ? 'Hide New' : 'Show New',\"class-name\":\"text-white whitespace-nowrap\"},nativeOn:{\"click\":function($event){return _vm.stateFilterClicked('new')}}},[_c('div',{staticClass:\"relative w-10 h-10 flex justify-center items-center rounded-full cursor-pointer\",class:_vm.mailStateFilters['new'] ? 'bg-purple-300 hover:bg-purple-400' : 'bg-gray-300'},[_c('Icon',{attrs:{\"name\":\"mdi-email-alert-outline\",\"color\":\"white\",\"size\":\"2xl\"}})],1)])],1),_c('div',{staticClass:\"w-10 mr-2\"},[_c('tooltip',{attrs:{\"text\":_vm.mailStateFilters['open'] ? 'Hide Open' : 'Show Open',\"class-name\":\"text-white whitespace-nowrap\"},nativeOn:{\"click\":function($event){return _vm.stateFilterClicked('open')}}},[_c('div',{staticClass:\"relative w-10 h-10 flex justify-center items-center rounded-full cursor-pointer group\",class:_vm.mailStateFilters['open'] ? 'bg-purple-300 hover:bg-purple-400' : 'bg-gray-300'},[_c('Icon',{attrs:{\"name\":\"mdi-email-open-outline\",\"color\":\"white\",\"size\":\"2xl\"}})],1)])],1),_c('div',{staticClass:\"w-10 mr-2\"},[_c('tooltip',{attrs:{\"text\":_vm.mailStateFilters['closed'] ? 'Hide Closed' : 'Show Closed',\"class-name\":\"text-white whitespace-nowrap\"},nativeOn:{\"click\":function($event){return _vm.stateFilterClicked('closed')}}},[_c('div',{staticClass:\"relative w-10 h-10 flex justify-center items-center rounded-full cursor-pointer group\",class:_vm.mailStateFilters['closed'] ? 'bg-purple-300 hover:bg-purple-400' : 'bg-gray-300'},[_c('Icon',{attrs:{\"name\":\"mdi-email-check-outline\",\"color\":\"white\",\"size\":\"2xl\"}})],1)])],1),_c('div',{staticClass:\"w-10 mr-2\"},[_c('tooltip',{attrs:{\"text\":_vm.mailStateFilters['merged'] ? 'Hide Merged' : 'Show Merged',\"class-name\":\"text-white whitespace-nowrap\"},nativeOn:{\"click\":function($event){return _vm.stateFilterClicked('merged')}}},[_c('div',{staticClass:\"relative w-10 h-10 flex justify-center items-center rounded-full cursor-pointer group\",class:_vm.mailStateFilters['merged'] ? 'bg-purple-300 hover:bg-purple-400' : 'bg-gray-300'},[_c('Icon',{attrs:{\"name\":\"mdi-call-merge\",\"color\":\"white\",\"size\":\"2xl\"}})],1)])],1),_c('div',{staticClass:\"w-10 mr-2\"},[_c('tooltip',{attrs:{\"text\":_vm.mailStateFilters['pending reminder'] ? 'Hide Pending Reminder' : 'Show Pending Reminder',\"class-name\":\"text-white whitespace-nowrap\"},nativeOn:{\"click\":function($event){return _vm.stateFilterClicked('pending reminder')}}},[_c('div',{staticClass:\"relative w-10 h-10 flex justify-center items-center rounded-full cursor-pointer group\",class:_vm.mailStateFilters['pending reminder'] ? 'bg-purple-300 hover:bg-purple-400' : 'bg-gray-300'},[_c('Icon',{attrs:{\"name\":\"mdi-message-text-clock-outline\",\"color\":\"white\",\"size\":\"2xl\"}})],1)])],1),_c('div',{staticClass:\"w-10 mr-2\"},[_c('tooltip',{attrs:{\"text\":_vm.mailStateFilters['awaiting dims'] ? 'Hide Awaiting DIMS' : 'Show Awaiting DIMS',\"class-name\":\"text-white whitespace-nowrap\"},nativeOn:{\"click\":function($event){return _vm.stateFilterClicked('awaiting dims')}}},[_c('div',{staticClass:\"relative w-10 h-10 flex justify-center items-center rounded-full cursor-pointer group\",class:_vm.mailStateFilters['awaiting dims'] ? 'bg-purple-300 hover:bg-purple-400' : 'bg-gray-300'},[_c('Icon',{attrs:{\"name\":\"mdi-account-clock-outline\",\"color\":\"white\",\"size\":\"2xl\"}})],1)])],1)]),_c('TicketSearchField',{attrs:{\"loadingSearch\":_vm.loadingSearch,\"getTicketsWrapper\":_vm.getTicketsWrapper},model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:\"searchValue\"}}),_c(VBtn,{staticClass:\"mt-0.5 ml-2\",attrs:{\"color\":\"primary\",\"disabled\":_vm.loadingSearch,\"fab\":\"\",\"small\":\"\"},on:{\"click\":_vm.searchBtnClicked}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1),_c('ReloadButton',{attrs:{\"loading\":_vm.loading,\"disabled\":_vm.loading},nativeOn:{\"click\":function($event){return _vm.getTicketsWrapper()}}})],1)])]),_c('div',{staticClass:\"pa-6\"},[(_vm.loading)?_c('div',{staticClass:\"w-324 flex justify-center items-center py-12 mt-5\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"48\"}},[_vm._v(\"mdi-loading\")])],1):_c('div',{staticClass:\"w-324 mt-4 mb-12\"},[_c('div',[(_vm.tableData.length <= 0 && !_vm.loading)?_c('div',[_c('div',{staticClass:\"flex justify-center items-center mt-8\"},[_c('div',{staticClass:\"mt-6 w-64 flex flex-col justify-center items-center\"},[_c('div',{staticClass:\"flex justify-center items-center w-36 h-36 bg-purple-400 rounded-full\"},[_c(VIcon,{staticClass:\"mr-2\",attrs:{\"size\":\"72\",\"color\":\"white\"}},[_vm._v(\"mdi-flask-empty-remove-outline\")])],1),_c('h1',{staticClass:\"mt-6 w-64 text-xl text-center leading-6\"},[_vm._v(\" There are no such jobs, try changing the request \")])])])]):_c('div',{staticClass:\"flex pt-3 pb-2 border-b border-puple-200\"},[_vm._m(1),_vm._m(2),_vm._m(3),_vm._m(4),_vm._m(5),_vm._m(6),_vm._m(7),_vm._m(8)]),_vm._l((_vm.tableData),function(ticket,idx){return _c('div',{key:idx,staticClass:\"pt-2 border-b border-puple-200\",class:[_vm.checkTicketIsRfc(ticket) ? 'bg-orange-100 hover:bg-orange-200' : '']},[_c('div',{staticClass:\"pb-2 flex\"},[_c('div',{staticClass:\"w-72\"},[_c('router-link',{staticClass:\"pl-2 pr-1 mb-0 text-sm leading-4 hyphens-auto underline hover:no-underline cursor-pointer\",attrs:{\"to\":{ path: `/job/ticket/${ticket.external_id}` }}},[_vm._v(\" \"+_vm._s(ticket.title)+\" \")])],1),_c('div',{staticClass:\"w-36 flex items-start\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4 inline-block break-all\"},[_vm._v(_vm._s(ticket.updated_by))])]),_c('div',{staticClass:\"w-36 flex items-start\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4 inline-block break-all\"},[_vm._v(_vm._s(ticket.customer))])]),_c('div',{staticClass:\"w-36 flex items-start\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4 inline-block break-all\"},[_vm._v(_vm._s(ticket.created_by))])]),_c('div',{staticClass:\"w-60\"},[_c('DateTimezoneToggle',{staticClass:\"text-sm text-left justify-start\",attrs:{\"dateString\":ticket.updated_at,\"pattern\":\"yyyy-MM-d hh:mm a\"}})],1),_c('div',{staticClass:\"w-16\"},[(ticket.is_rfc)?_c('div',{staticClass:\"w-7 h-7 bg-orange-400 rounded-full flex justify-center items-center group-hover:bg-orange-500\"},[_c('Icon',{attrs:{\"name\":\"mdi-frequently-asked-questions\",\"color\":\"white\",\"size\":\"base\"}})],1):_c('div',{staticClass:\"pl-3\"},[_vm._v(\"-\")])]),_c('div',{staticClass:\"w-44\"},[_c('div',{staticClass:\"w-40 h-7 px-2 py-1 flex justify-start items-center rounded\",class:[\n ticket.state.toLocaleLowerCase() === 'open'\n ? 'bg-purple-300'\n : ticket.state.toLocaleLowerCase() === 'new'\n ? 'bg-lime-600'\n : 'bg-gray-300',\n ]},[_c('div',{staticClass:\"w-min\"},[_c('div',{staticClass:\"w-5 h-5 flex justify-center items-center rounded-full bg-white\"},[_c('Icon',{attrs:{\"name\":ticket.state.toLocaleLowerCase() === 'new'\n ? 'mdi-email-alert-outline'\n : ticket.state.toLocaleLowerCase() === 'open'\n ? 'mdi-email-open-outline'\n : ticket.state.toLocaleLowerCase() === 'closed'\n ? 'mdi-email-check-outline'\n : ticket.state.toLocaleLowerCase() === 'merged'\n ? 'mdi-call-merge'\n : ticket.state.toLocaleLowerCase() === 'pending reminder'\n ? 'mdi-message-text-clock-outline'\n : ticket.state.toLocaleLowerCase() === 'awaiting dims'\n ? 'mdi-clock-alert-outline'\n : 'mdi-progress-question',\"color\":ticket.state.toLocaleLowerCase() === 'open'\n ? 'purple'\n : ticket.state.toLocaleLowerCase() === 'new'\n ? 'lime'\n : 'gray',\"colorIntensity\":ticket.state.toLocaleLowerCase() === 'open'\n ? '300'\n : ticket.state.toLocaleLowerCase() === 'new'\n ? '600'\n : '300',\"size\":\"base\"}})],1)]),_c('span',{staticClass:\"text-sm ml-2 text-white whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(ticket.state)+\" \")])])]),_c('div',{staticClass:\"w-24\"},_vm._l((ticket.jobs),function(jobId,jdx){return _c('div',{key:jdx,staticClass:\"flex flex-wrap\"},[_c('router-link',{staticClass:\"pr-1 mb-0 text-sm leading-4 hyphens-auto underline hover:no-underline cursor-pointer\",attrs:{\"to\":{ path: `/job/${jobId}` }}},[_vm._v(\" \"+_vm._s(jobId)+\" \")])],1)}),0)])])}),(_vm.tableData.length >= 1)?_c('div',{staticClass:\"flex justify-end items-end mt-6\"},[_c('div',{staticClass:\"w-full\"}),_c('div',{staticClass:\"w-1/2 flex justify-end items-end px-2\"},[_c('div',{staticClass:\"flex items-center\"},[_c('p',{staticClass:\"ma-0 text-sm whitespace-nowrap\"},[_vm._v(\"Show by:\")]),_c('p',{staticClass:\"ma-0 w-20 px-2\"},[_c('t-select',{attrs:{\"options\":_vm.pagination.perPageOptions,\"wrapped\":\"\"},model:{value:(_vm.pagination.perPage),callback:function ($$v) {_vm.$set(_vm.pagination, \"perPage\", $$v)},expression:\"pagination.perPage\"}})],1),_c('p',{staticClass:\"ma-0 pl-4 whitespace-nowrap text-sm\"},[_vm._v(\"tickets from \"+_vm._s(_vm.pagination.total)+\" pages\")])]),(_vm.pagination.total > 0)?_c('t-pagination',{staticClass:\"w-128 ma-0\",class:_vm.pagination.total >= 100 ? 'text-sm' : '',attrs:{\"total-items\":_vm.pagination.total * Number(_vm.pagination.perPage),\"per-page\":Number(_vm.pagination.perPage),\"limit\":_vm.pagination.visible,\"disabled\":_vm.loading},on:{\"change\":_vm.updatePagination},model:{value:(_vm.pagination.current),callback:function ($$v) {_vm.$set(_vm.pagination, \"current\", $$v)},expression:\"pagination.current\"}}):_vm._e()],1)]):_vm._e()],2)])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex flex-col\"},[_c('span',{staticClass:\"mt-1 text-sm text-gray-700 leading-4 whitespace-nowrap\"},[_vm._v(\"Dashboards /\")]),_c('h1',{staticClass:\"font text-xl font-semibold leading-8 whitespace-nowrap\"},[_vm._v(\"Tickets\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-72\"},[_c('p',{staticClass:\"pl-2 pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Subject\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-36\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Updated by\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-36\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Customer\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-36\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Created by\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-60\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Updated at\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-16\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"RFC\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-44\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Ticket status\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-24\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Job id(s)\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"relative flex flex-col w-52 ml-3 floating-label-inset\"},[_c('t-input-label',{staticClass:\"w-full pr-7 rounded bg-white\",attrs:{\"id\":\"search\",\"name\":\"search\",\"type\":\"text\",\"placeholder\":\"Search\",\"variant\":{\n disabled: _vm.loadingSearch,\n }},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.getTicketsWrapper.apply(null, arguments)}},model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:\"searchValue\"}}),_vm._m(0),_c('TInputCloseBtn',{staticClass:\"absolute top-0.5 right-0.5 h-8 bg-white px-1\",model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:\"searchValue\"}})],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('label',{staticClass:\"cursor-text\",attrs:{\"for\":\"search\"}},[_c('span',[_vm._v(\" Search \")])])\n}]\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport TInputCloseBtn from '@/components/btns/TInputCloseBtn.vue';\n\n@Component({\n components: {\n TInputCloseBtn,\n },\n})\nexport default class TicketSearchField extends Vue {\n @Prop(String) public value: string;\n @Prop(Boolean) public loadingSearch: boolean;\n @Prop(Function) public getTicketsWrapper: () => Promise;\n\n get searchValue() {\n return this.value;\n }\n\n set searchValue(value) {\n this.$emit('input', value);\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TicketSearchField.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TicketSearchField.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TicketSearchField.vue?vue&type=template&id=d68fbab4\"\nimport script from \"./TicketSearchField.vue?vue&type=script&lang=ts\"\nexport * from \"./TicketSearchField.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport { getUnreadTicketsDahboard } from '@/api';\nimport DatePicker from '@/components/searchPage/DatePicker.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport StopDrawing from '@/components/jobDetailed/StopDrawing/StopDrawing.vue';\n\nimport Icon from '@/components/UI/Icon.vue';\nimport Tooltip from '@/components/UI/Tooltip.vue';\nimport ToggleButton from '@/components/UI/ToggleButton.vue';\nimport DateTimezoneToggle from '@/components/UI/dateTimezoneToggle/DateTimezoneToggle.vue';\nimport ReloadButton from '@/components/UI/ReloadButton.vue';\nimport TicketSearchField from '@/components/fields/TicketSearchField.vue';\n\nimport { User } from '@/models/main';\nimport { JobTicketDashboardItem, JobTicketDashboardResponse } from '@/models/jobTicket';\n\nimport { mapState } from 'vuex';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport { checkTicketIsRfc } from '@/utils/Common';\n\nimport { Component, Vue, Watch } from 'vue-property-decorator';\n\n@Component({\n components: {\n BackButton,\n Button,\n DatePicker,\n DateTimezoneToggle,\n Icon,\n ReloadButton,\n StopDrawing,\n ToggleButton,\n Tooltip,\n TicketSearchField,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class AirRoadJobs extends Vue {\n // LOADERS\n public loading = false;\n public loadingSearch = false;\n\n // USER\n public user!: User;\n\n // HEADER DATA\n //\n public checkTicketIsRfc = checkTicketIsRfc;\n\n public ticketStateNames = {\n 1: 'new',\n 2: 'open',\n 3: 'pending reminder',\n 4: 'closed',\n 5: 'merged',\n 6: 'removed',\n 7: 'pending close',\n };\n\n // SEARCH\n public searchValue = '';\n\n // PAGE DATA\n public pageData: JobTicketDashboardResponse = {\n count: 0,\n next: '',\n previous: '',\n results: [],\n };\n public tableData: JobTicketDashboardItem[] = [];\n\n public showAll = false;\n\n public searchBtnClicked() {\n this.loadingSearch = true;\n setTimeout(async () => {\n this.pagination.current = 1;\n await this.getTicketsWrapper();\n this.loadingSearch = false;\n }, 400);\n }\n\n @Watch('pagination.perPage')\n private perPageSelectChanged() {\n this.pagination.current = 1;\n this.updatePagination();\n }\n\n // PAGINATION\n public pagination = {\n page: 1,\n current: 1,\n total: 0,\n perPage: '10',\n visible: 7,\n perPageOptions: ['1', '5', '10', '50', '100'],\n };\n\n // Quick / Single toggle\n public showAllChanged(value: boolean) {\n this.showAll = value;\n this.pagination.current = 1;\n this.getTicketsWrapper();\n }\n\n public mailStateFilters = {\n closed: true,\n merged: true,\n 'pending reminder': true,\n 'awaiting dims': true,\n new: true,\n open: true,\n };\n public showRfcOnly = false;\n\n // State filters\n public async stateFilterClicked(state: string): Promise {\n this.mailStateFilters[state.toLowerCase()] = !this.mailStateFilters[state.toLowerCase()];\n await this.getTicketsWrapper();\n }\n\n public async rfcFilterClicked(): Promise {\n this.showRfcOnly = !this.showRfcOnly;\n await this.getTicketsWrapper();\n }\n\n // Navigation:\n //\n // Pagination\n public async updatePagination() {\n await this.getTicketsWrapper();\n // Pagination corrections:\n this.pagination.total = Math.ceil(this.pageData.count / Number(this.pagination.perPage));\n if (this.pagination.current === 0 && this.pagination.total >= 1) {\n this.pagination.current = 1;\n }\n if (this.pagination.current > this.pagination.total) {\n this.pagination.current = this.pagination.total;\n }\n }\n\n // WRAPPERS\n public async getTicketsWrapper(): Promise {\n this.loading = true;\n this.pageData = { count: 0, next: '', previous: '', results: [] };\n this.tableData = [];\n // Collect state IDs to exclude categories\n const filterIDs: string[] = [];\n Object.keys(this.mailStateFilters).map(filter => {\n if (!this.mailStateFilters[filter]) {\n const filterCode = Object.keys(this.ticketStateNames).find(x => this.ticketStateNames[x] === filter);\n if (filterCode) {\n filterIDs.push(filterCode);\n }\n }\n });\n // Create params object\n const params = {\n page: this.pagination.current,\n page_size: Number(this.pagination.perPage),\n search: this.searchValue,\n exclude_states: filterIDs.join(','),\n ...(this.showRfcOnly && { is_rfc: true }),\n };\n //\n await getUnreadTicketsDahboard(this.showAll, params)\n .then(res => {\n this.tableData = res.results;\n this.pageData = res;\n this.pagination.total = Math.ceil(res.count / Number(this.pagination.perPage));\n this.loading = false;\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error loading AirRoad data',\n text: notificationErrorText,\n type: 'warn',\n });\n this.loading = false;\n });\n }\n\n private mounted() {\n this.getTicketsWrapper();\n }\n}\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TicketsDashboard.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TicketsDashboard.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TicketsDashboard.vue?vue&type=template&id=37a9f915\"\nimport script from \"./TicketsDashboard.vue?vue&type=script&lang=ts\"\nexport * from \"./TicketsDashboard.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"address-book wrapper\"},[_c(VContainer,{staticClass:\"ma-0 pa-0 mb-8\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"header pa-3 pb-0\"},[_c('div',{staticClass:\"px-3 py-0\"},[_c('BackButton',{}),_c('div',{staticClass:\"page_title bg\"},[_c('h2',{staticClass:\"title mt-2\"},[_vm._v(\"Address Book\")])]),_c('div',{staticClass:\"page_subtitle\"},[_c('p',{staticClass:\"subtitle mt-2\"},[_vm._v(\"All the addresses you need:\")])])],1),(_vm.$can('staff', 'Job'))?_c(VRow,{staticClass:\"ml-1 mr-10\"},[_c(VCol,{staticClass:\"input-col\",attrs:{\"cols\":\"3\"}},[_c('LookupCustomerCode',{staticClass:\"lookup-customer-code\",attrs:{\"chosen\":_vm.customerCode,\"autocomplete\":_vm.autocompleteCustomer,\"outlined\":\"\",\"background-color\":\"white\"},on:{\"change\":_vm.setCustomerCode,\"clear\":_vm.clearCustomAddresses}})],1),_c(VCol,{staticClass:\"d-flex\",attrs:{\"cols\":\"6\"}},[_c(VTextField,{staticClass:\"stop-input mr-3\",attrs:{\"background-color\":\"white\",\"label\":\"Username\",\"disabled\":!_vm.$can('staff', 'Job'),\"error-messages\":_vm.usernameErrors,\"outlined\":\"\",\"required\":\"\"},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.setUsername.apply(null, arguments)}},model:{value:(_vm.username),callback:function ($$v) {_vm.username=$$v},expression:\"username\"}}),_c(VBtn,{staticClass:\"btn-search\",attrs:{\"color\":\"primary\",\"fab\":\"\"},on:{\"click\":_vm.setUsername}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)],1):_vm._e()],1)]),_c(VContainer,{staticClass:\"wrapper-portal mx-0 mt-4 mb-12 pa-0\"},[(_vm.customAddresses.length >= 1)?_c(VExpansionPanels,{staticClass:\"address-books\",attrs:{\"accordion\":\"\",\"multiple\":\"\"},model:{value:(_vm.panelCustom),callback:function ($$v) {_vm.panelCustom=$$v},expression:\"panelCustom\"}},_vm._l((_vm.customAddresses),function(book,idx){return _c(VExpansionPanel,{key:idx,staticClass:\"panel-header-wrapper ma-0 pa-0 ml-8\"},[_c(VExpansionPanelHeader,{staticClass:\"panel-header ma-0 pa-0 px-5\"},[_c('p',{staticClass:\"title\"},[_vm._v(_vm._s(book.name))])]),_c(VExpansionPanelContent,{staticClass:\"ma-0 pa-0 content\"},[_c('AddressesTable',{attrs:{\"bookCustomerCode\":book.customer_code,\"addresses\":book.addresses,\"addressBookId\":book.id,\"title\":book.name,\"loading\":_vm.customAddressesLoading,\"context\":\"custom\"},on:{\"addAddress\":_vm.addAddress,\"editAddress\":_vm.editAddress,\"removeAddress\":_vm.removeAddress,\"setDefaultAddress\":_vm.setDefaultAddress,\"reorderAddress\":_vm.reorderAddress}})],1)],1)}),1):_vm._e(),(_vm.allAddresses.length >= 1)?_c(VExpansionPanels,{staticClass:\"address-books mt-8\",attrs:{\"accordion\":\"\",\"multiple\":\"\"},model:{value:(_vm.panelAll),callback:function ($$v) {_vm.panelAll=$$v},expression:\"panelAll\"}},_vm._l((_vm.allAddresses),function(book,idx){return _c(VExpansionPanel,{key:idx,staticClass:\"ma-0 pa-0 ml-8 mt-8\"},[_c(VExpansionPanelHeader,{staticClass:\"panel-header ma-0 pa-0 px-5\"},[_c('p',{staticClass:\"title\"},[_vm._v(_vm._s(book.name))])]),_c(VExpansionPanelContent,{staticClass:\"ma-0 pa-0 content\"},[_c('AddressesTable',{attrs:{\"bookCustomerCode\":book.customer_code,\"addresses\":book.addresses,\"addressBookId\":book.id,\"title\":book.name,\"loading\":_vm.allAddressesLoading},on:{\"addAddress\":_vm.addAddress,\"editAddress\":_vm.editAddress,\"removeAddress\":_vm.removeAddress,\"setDefaultAddress\":_vm.setDefaultAddress,\"reorderAddress\":_vm.reorderAddress}})],1)],1)}),1):_vm._e()],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(VDataTable,{ref:\"sortableTable\",staticClass:\"addresses-table elevation-0\",attrs:{\"headers\":_vm.headers,\"items\":_vm.addressesFormated,\"loading\":_vm.loading,\"items-per-page\":10},on:{\"update:items-per-page\":_vm.getItemPerPage,\"update:page\":_vm.getPageNum},scopedSlots:_vm._u([{key:\"top\",fn:function(){return [_c(VToolbar,{attrs:{\"flat\":\"\"}},[_c(VDialog,{attrs:{\"max-width\":\"420px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',{staticClass:\"table-header d-flex justify-end\",on:{\"click\":function($event){return _vm.editItem(_vm.defaultItem)}}},[_c('Button',_vm._g(_vm._b({staticClass:\"btn\",attrs:{\"size\":\"small\",\"background\":\"purple\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-plus\",\"text\":\"Add address\"}},'Button',attrs,false),on))],1)]}}]),model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c(VCard,[_c(VCardTitle,{staticClass:\"ma-0 pa-0\"},[_c('div',{staticClass:\"modal-header pa-4\"},[_c('p',{staticClass:\"text-h5 ma-0 pa-0\"},[_vm._v(_vm._s(_vm.editedIndex === -1 ? 'Add address' : 'Edit address'))]),_c(VIcon,{staticClass:\"icon-close\",on:{\"click\":_vm.close}},[_vm._v(\"mdi-close\")])],1)]),_c(VCardText,{staticClass:\"ma-0 pa-4 pb-0\"},[_c(VContainer,[_c(VForm,{ref:\"form\"},[_c(VRow,[_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"12\"}},[_c(VTextField,{attrs:{\"label\":\"Address name\",\"rules\":[v => !!v || 'Address name is required field'],\"hint\":_vm.editedItem.name.length >= 30 ? 'The maximum length is limited to 30 characters' : null,\"maxlength\":\"30\",\"outlined\":\"\",\"required\":\"\"},model:{value:(_vm.editedItem.name),callback:function ($$v) {_vm.$set(_vm.editedItem, \"name\", $$v)},expression:\"editedItem.name\"}})],1),_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"12\"}},[_c(VTextField,{attrs:{\"label\":\"Street address\",\"rules\":[v => !!v || 'Street address is required field'],\"hint\":_vm.editedItem.line2 && _vm.editedItem.line2.length >= 30\n ? 'The maximum length is limited to 30 characters'\n : null,\"maxlength\":\"30\",\"outlined\":\"\",\"required\":\"\"},model:{value:(_vm.editedItem.line2),callback:function ($$v) {_vm.$set(_vm.editedItem, \"line2\", $$v)},expression:\"editedItem.line2\"}})],1),_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"12\"}},[_c(VTextField,{attrs:{\"label\":\"Room / Level / Unit\",\"hint\":_vm.editedItem.line1 && _vm.editedItem.line1.length >= 30\n ? 'The maximum length is limited to 30 characters'\n : null,\"maxlength\":\"30\",\"outlined\":\"\",\"required\":\"\"},model:{value:(_vm.editedItem.line1),callback:function ($$v) {_vm.$set(_vm.editedItem, \"line1\", $$v)},expression:\"editedItem.line1\"}})],1),_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"12\"}},[_c(VTextField,{attrs:{\"label\":\"Note Phone\",\"maxlength\":\"30\",\"outlined\":\"\",\"hint\":_vm.editedItem.note_phone,\"required\":\"\"},model:{value:(_vm.editedItem.note_phone),callback:function ($$v) {_vm.$set(_vm.editedItem, \"note_phone\", $$v)},expression:\"editedItem.note_phone\"}})],1),_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"12\"}},[_c(VTextField,{attrs:{\"label\":\"Note Name\",\"maxlength\":\"30\",\"item-value\":_vm.editedItem.note_name,\"outlined\":\"\",\"required\":\"\"},model:{value:(_vm.editedItem.note_name),callback:function ($$v) {_vm.$set(_vm.editedItem, \"note_name\", $$v)},expression:\"editedItem.note_name\"}})],1),_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"12\"}},[_c(VTextField,{attrs:{\"label\":\"Note Text\",\"maxlength\":\"150\",\"outlined\":\"\",\"required\":\"\"},model:{value:(_vm.editedItem.note_text),callback:function ($$v) {_vm.$set(_vm.editedItem, \"note_text\", $$v)},expression:\"editedItem.note_text\"}})],1),_c(VCol,{staticClass:\"pa-0\",attrs:{\"cols\":\"12\"}},[_c('LookupSuburb',{attrs:{\"chosen\":_vm.editedItem ? _vm.editedItem : '',\"autocomplete\":_vm.autocompleteSuburb,\"stop\":0,\"editedItem\":_vm.editedIndex,\"disabled\":false},on:{\"change\":_vm.changeSuburbLookup,\"clear\":_vm.clearSuburbLookup}}),(_vm.editedItem.state || _vm.editedItem.postcode)?_c('div',{staticClass:\"non-editable-data d-flex align-center justify-end ma-0 mb-4 pa-0\"},[(_vm.editedItem.state)?_c('p',{staticClass:\"text ma-0 pa-0 mr-2\"},[_vm._v(_vm._s(_vm.editedItem.state)+\",\")]):_vm._e(),(!!_vm.editedItem.postcode)?_c('p',{staticClass:\"text ma-0 pa-0\"},[_vm._v(\" \"+_vm._s(_vm.editedItem.postcode)+\" \")]):_vm._e()]):_vm._e()],1)],1)],1)],1)],1),_c(VCardActions,[_c(VSpacer),_c('div',{staticClass:\"mx-2 mb-4\",on:{\"click\":_vm.save}},[_c('Button',{staticClass:\"btn\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-check\",\"text\":_vm.editedIndex === -1 ? 'Add address' : 'Save address'}})],1)],1)],1)],1),_c(VDialog,{attrs:{\"max-width\":\"420px\"},model:{value:(_vm.dialogDelete),callback:function ($$v) {_vm.dialogDelete=$$v},expression:\"dialogDelete\"}},[_c(VCard,{staticClass:\"dialog-delete pa-4\"},[_c(VCardTitle,{staticClass:\"text-h5 ma-0 pa-0\"},[_c('div',{staticClass:\"d-flex align-start\"},[_c('p',{staticClass:\"dialog-title pr-6\"},[_vm._v(\" Are you sure you want to delete \\\"\"),_c('span',{staticClass:\"name\"},[_vm._v(_vm._s(_vm.editedItem.name))]),_vm._v(\"\\\"? \")]),_c(VIcon,{staticClass:\"icon-close mr-1\",attrs:{\"color\":\"black\"},on:{\"click\":_vm.closeDelete}},[_vm._v(\"mdi-close\")])],1)]),_c(VCardActions,{staticClass:\"actions\"},[_c('div',{staticClass:\"btn-wrapper\",on:{\"click\":function($event){return _vm.deleteItemConfirm(_vm.editedItem)}}},[_c('Button',{staticClass:\"btn\",attrs:{\"size\":\"small\",\"background\":\"orange\",\"color\":\"white\",\"circleColor\":\"white\",\"icon\":\"mdi-check\",\"text\":\"Delete\"}})],1),_c(VSpacer)],1)],1)],1)],1)]},proxy:true},{key:`item.sort`,fn:function({ item }){return [_c('div',{staticClass:\"sortHandle\",attrs:{\"attr-id\":item.id}},[_c(VIcon,{staticClass:\"icon-grab\"},[_vm._v(\"mdi-drag-horizontal\")])],1)]}},(!_vm.bookCustomerCode)?{key:`item.actions`,fn:function({ item }){return [_c(VIcon,{staticClass:\"mr-2\",attrs:{\"small\":\"\",\"title\":\"edit\"},on:{\"click\":function($event){return _vm.editItem(item)}}},[_vm._v(\" mdi-pencil \")]),_c(VIcon,{staticClass:\"mr-2\",attrs:{\"small\":\"\",\"title\":\"delete\"},on:{\"click\":function($event){return _vm.deleteItem(item)}}},[_vm._v(\" mdi-delete \")])]}}:{key:`item.actions`,fn:function({ item }){return [_c(VIcon,{staticClass:\"mr-2\",attrs:{\"small\":\"\",\"title\":\"edit\"},on:{\"click\":function($event){return _vm.editItem(item)}}},[_vm._v(\" mdi-pencil \")]),_c(VIcon,{staticClass:\"mr-2\",attrs:{\"small\":\"\",\"title\":\"delete\"},on:{\"click\":function($event){return _vm.deleteItem(item)}}},[_vm._v(\" mdi-delete \")]),(item.is_default)?_c(VIcon,{staticClass:\"-ml-1 -my-1\",attrs:{\"title\":\"this is default address\"}},[_vm._v(\" mdi-home-heart \")]):_c(VIcon,{attrs:{\"small\":\"\",\"title\":\"set default address\"},on:{\"click\":function($event){return _vm.setDefaultAddress(item)}}},[_vm._v(\" mdi-home \")])]}},{key:\"no-data\",fn:function(){return [_c('p',{staticClass:\"mt-4\"},[_vm._v(\"Here is no addresses\")])]},proxy:true}],null,true)})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getSuburb } from '@/api';\nimport Button from '@/components/UI/button/Button.vue';\nimport LookupSuburb from '@/components/UI/lookups/LookupSuburb.vue';\nimport { AddressBookData } from '@/models/addressBook';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\nimport Sortable from 'sortablejs';\n\n@Component({\n components: {\n Button,\n LookupSuburb,\n },\n})\nexport default class AddressesTable extends Vue {\n @Prop({ type: Array, required: true }) public addresses: AddressBookData[];\n @Prop({ type: String, required: true, default: 'My addresses' }) public title: string;\n @Prop({ type: Boolean, required: false, default: true }) public editable: boolean;\n @Prop({ type: Number, required: true }) public addressBookId: number;\n @Prop({ type: String, required: false, default: '' }) public context: string;\n @Prop({ type: Boolean, required: false, default: false }) public loading: boolean;\n @Prop({ type: String, required: false }) public bookCustomerCode: string;\n\n private autocompleteSuburb = getSuburb;\n\n private itemsPerPage = 10;\n private pageNumber = 1;\n\n private headers = [\n { text: 'Sort', align: 'start', sortable: false, value: 'sort' },\n {\n text: 'Stop name',\n align: 'start',\n sortable: false,\n value: 'name',\n },\n { text: 'Street address', align: 'start', sortable: false, value: 'street' },\n { text: 'Suburb', align: 'start', sortable: false, value: 'suburb' },\n { text: 'State', align: 'start', sortable: false, value: 'state' },\n { text: 'Postcode', align: 'start', sortable: false, value: 'postcode' },\n { text: 'Actions', align: 'start', sortable: false, value: 'actions' },\n ];\n\n private addressesFormated: AddressBookData[] = [];\n private dialog = false;\n private dialogDelete = false;\n private editedIndex = -1;\n\n private editedItem: AddressBookData = {\n name: '',\n street: '',\n suburb: '',\n suburbId: -1,\n state: '',\n postcode: '',\n };\n private defaultItem = {\n name: '',\n street: '',\n suburb: '',\n suburbId: -1,\n state: '',\n postcode: '',\n line1: '',\n line2: '',\n note_phone: '',\n note_text: '',\n note_name: '',\n };\n\n private editItem(item: AddressBookData): void {\n this.editedIndex = this.addressesFormated.indexOf(item);\n this.editedItem = Object.assign({}, item);\n this.changeSuburbLookup(0, item);\n this.dialog = true;\n if (this.editedIndex === -1) {\n const form = this.$refs.form as HTMLFormElement;\n if (form) {\n form.reset();\n }\n }\n }\n\n private deleteItem(item: AddressBookData): void {\n this.editedIndex = this.addresses.indexOf(item);\n this.editedItem = Object.assign({}, item);\n this.dialogDelete = true;\n }\n\n private setDefaultAddress(item: AddressBookData): void {\n this.$emit('setDefaultAddress', item.id, this.context, this.bookCustomerCode);\n }\n\n private deleteItemConfirm(item): void {\n this.$emit('removeAddress', item.id, this.context);\n this.closeDelete();\n }\n\n private close(): void {\n this.dialog = false;\n this.$nextTick(() => {\n this.editedItem = Object.assign({}, this.defaultItem);\n this.editedIndex = -1;\n });\n }\n\n private closeDelete(): void {\n this.dialogDelete = false;\n this.$nextTick(() => {\n this.editedItem = Object.assign({}, this.defaultItem);\n this.editedIndex = -1;\n });\n }\n\n private async save(): Promise {\n const form = this.$refs.form as HTMLFormElement;\n if (form.validate()) {\n if (this.editedIndex === -1) {\n await this.$emit('addAddress', this.editedItem, this.addressBookId, this.context);\n } else {\n await this.$emit('editAddress', this.editedItem, this.addressBookId, this.context);\n }\n this.editedItem = Object.assign({}, this.defaultItem);\n this.close();\n }\n }\n\n // SUBURB LOOKUP\n private changeSuburbLookup(stop, item) {\n this.editedItem = {\n ...this.editedItem,\n suburb: item.suburb || item.name || '',\n suburbId: item.suburbId || item.id || 0,\n state: item.state || '',\n postcode: item.postcode || '',\n };\n }\n\n private clearSuburbLookup() {\n this.editedItem = {\n ...this.editedItem,\n suburb: '',\n suburbId: -1,\n state: '',\n postcode: '',\n };\n }\n\n private formatAddresses(addresses): void {\n this.addressesFormated = [];\n addresses.map(address => {\n this.addressesFormated.push({\n name: address.name,\n line1: address.line1,\n line2: address.line2,\n line3: address.line3,\n street: `${address.line1 ? address.line1 : ''} ${address.line2 ? address.line2 : ''} ${\n address.line3 ? address.line3 : ''\n }`,\n suburb: address.suburb ? address.suburb.name : '',\n suburbId: address.suburb ? address.suburb.id : -1,\n state: address.suburb ? address.suburb.state : '',\n postcode: address.suburb ? address.suburb.postcode : '',\n id: address.id,\n note_name: address.note_name || '',\n note_phone: address.note_phone || '',\n note_text: address.note_text || '',\n is_default: address.is_default,\n });\n });\n }\n\n private mounted(): void {\n this.formatAddresses(this.addresses);\n // Removing Actions column if address book is not editable\n if (!this.editable) {\n this.headers = this.headers.filter(header => {\n return header.text !== 'Actions';\n });\n }\n // Adding sorting\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars\n const sortableTable = new Sortable((this.$refs.sortableTable as Vue).$el.getElementsByTagName('tbody')[0], {\n draggable: 'tr',\n handle: '.sortHandle',\n onEnd: this.dragReorder,\n });\n }\n\n private getItemPerPage(val) {\n this.itemsPerPage = val;\n }\n\n private getPageNum(val) {\n this.pageNumber = val;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars\n private dragReorder({ oldIndex, newIndex, item }) {\n const itemId = JSON.parse(item.getElementsByClassName('sortHandle')[0].getAttribute('attr-id'));\n const newGlobalIndex = (this.pageNumber - 1) * this.itemsPerPage + newIndex;\n this.$emit('reorderAddress', itemId, newGlobalIndex, this.context);\n }\n\n @Watch('addresses')\n private changeAddresses() {\n this.formatAddresses(this.addresses);\n }\n}\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddressesTable.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddressesTable.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddressesTable.vue?vue&type=template&id=f97b0d7c&scoped=true\"\nimport script from \"./AddressesTable.vue?vue&type=script&lang=ts\"\nexport * from \"./AddressesTable.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddressesTable.scss?vue&type=style&index=0&id=f97b0d7c&prod&lang=scss&scoped=true&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f97b0d7c\",\n null\n \n)\n\nexport default component.exports","\nimport {\n createAddressBookItem,\n editAddressBookItem,\n getAddressBooks,\n lookupCustomer,\n moveAddressBookItem,\n removeAddressBookItem,\n putAddressBookDefault,\n} from '@/api';\nimport LookupCustomerCode from '@/components/jobBooking/AdvancedJobBooking/LookupCustomerCode.vue';\nimport Header from '@/components/jobBooking/Header/Header.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\nimport AddressesTable from '@/components/addressBook/addressesTable/AddressesTable.vue';\n\nimport { User } from '@/models/main';\nimport { sendError } from '@/helpers/sentry';\nimport { AddressBookEndpointResponse } from '@/models/addressBook';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { mapState } from 'vuex';\n\n@Component({\n components: {\n AddressesTable,\n BackButton,\n Header,\n LookupCustomerCode,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class AddressBook extends Vue {\n private loading = false;\n private user: User;\n private autocompleteCustomer = lookupCustomer;\n private customerCode = '';\n private username = '';\n private usernameErrors: string[] = [];\n\n private userAddresses = [];\n private userWarehouses = [];\n private userAdressesData = {\n name: '',\n id: -1,\n };\n\n private allAddresses: AddressBookEndpointResponse[] = [];\n private allAddressesLoading = false;\n private customAddresses: AddressBookEndpointResponse[] = [];\n private customAddressesLoading = false;\n private panelAll: number[] = [];\n private panelCustom: number[] = [];\n\n private dialog = false;\n private dialogDelete = false;\n\n private reorderAddress(id, position, context): void {\n moveAddressBookItem(id, position + 1)\n .then(res => {\n if (res.status === 200) {\n this.getAddressBooksWrapper('', this.username, this.customerCode ? this.customerCode : '', 1, context);\n } else {\n throw new Error(`res.status: ${res.status}`);\n }\n })\n .catch(err => {\n sendError(err, 'reorderAddress');\n });\n }\n\n private setCustomerCode(customerCode): void {\n if (customerCode) {\n this.customerCode = customerCode;\n this.username = '';\n this.usernameErrors = [];\n this.panelAll = [];\n this.getAddressBooksWrapper('', '', customerCode, 1, 'custom');\n this.panelCustom = [0];\n }\n }\n\n private setUsername(): void {\n if (this.username === '') {\n this.usernameErrors = ['Enter the username'];\n this.panelAll = [0];\n } else if (this.username === this.user.username) {\n this.usernameErrors = ['This is your account'];\n this.panelAll = [0];\n } else {\n this.usernameErrors = [];\n this.clearCustomAddresses();\n this.setCustomerCode('');\n this.panelAll = [];\n this.getAddressBooksWrapper('', this.username, '', 1, 'custom');\n this.panelCustom = [0];\n }\n }\n\n private clearCustomAddresses(): void {\n this.customerCode = '';\n this.customAddresses = [];\n this.panelAll = [0];\n }\n\n private addAddress(address, id, context): void {\n const params = {\n suburb: address.suburbId,\n addressbook: id,\n name: address.name,\n line1: address.line1,\n line2: address.line2,\n line3: address.line3,\n note_phone: address.note_phone,\n note_text: address.note_text,\n note_name: address.note_name,\n city: '',\n warehouse: false,\n };\n\n createAddressBookItem(params)\n .then(res => {\n if (res.status === 201) {\n this.getAddressBooksWrapper('', this.username, this.customerCode ? this.customerCode : '', 1, context);\n } else {\n throw new Error(`res.status: ${res.status}`);\n }\n })\n .catch(err => {\n sendError(err, 'addAddress');\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n private editAddress(address, id, context): void {\n const params = {\n id: address.id,\n suburb: address.suburbId,\n addressbook: id,\n name: address.name,\n line1: address.line1,\n line2: address.line2,\n line3: address.line3,\n note_phone: address.note_phone,\n note_text: address.note_text,\n note_name: address.note_name,\n city: '',\n warehouse: false,\n };\n\n editAddressBookItem(\n params,\n context === 'custom' ? this.username : '',\n context === 'custom' ? this.customerCode : '',\n )\n .then(res => {\n if (res.status === 200) {\n this.getAddressBooksWrapper(\n '',\n this.username,\n context === 'custom' && this.customerCode ? this.customerCode : '',\n 1,\n context,\n );\n } else {\n throw new Error(`res.status: ${res.status}`);\n }\n })\n .catch(err => {\n sendError(err, 'editAddress');\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n private removeAddress(id, context): void {\n removeAddressBookItem(id, context === 'custom' ? this.username : '', context === 'custom' ? this.customerCode : '')\n .then(res => {\n if (res.status === 204) {\n this.getAddressBooksWrapper(\n '',\n context === 'custom' && this.username ? this.username : '',\n context === 'custom' && this.customerCode ? this.customerCode : '',\n 1,\n context,\n );\n } else {\n throw new Error(`res.status: ${res.status}`);\n }\n })\n .catch(err => {\n sendError(err, 'removeAddress');\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n private setDefaultAddress(id, context, bookCustomerCode): void {\n putAddressBookDefault(id, bookCustomerCode)\n .then(res => {\n if (res.status === 200) {\n this.getAddressBooksWrapper(\n '',\n this.username,\n context === 'custom' && this.customerCode ? this.customerCode : '',\n 1,\n context,\n );\n } else {\n throw new Error(`res.status: ${res.status}`);\n }\n })\n .catch(err => {\n sendError(err, 'setDefaultAddress');\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n private getAddressBooksWrapper(exclude_book, username, customer, page, context): void {\n if (context === 'custom') {\n this.customAddressesLoading = true;\n } else {\n this.allAddressesLoading = true;\n }\n\n const params = {\n exclude_book: exclude_book || '',\n username: username || '',\n customer: customer || '',\n page: page || 1,\n };\n\n getAddressBooks(params)\n .then(res => {\n if (context === 'custom') {\n this.customAddresses = res;\n this.customAddressesLoading = false;\n } else {\n this.allAddresses = res;\n this.allAddressesLoading = false;\n }\n })\n .catch(() => {\n this.usernameErrors = ['There is no such account'];\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n private mounted(): void {\n this.loading = true;\n this.customAddresses = [];\n this.getAddressBooksWrapper('', '', '', 1, '');\n this.panelAll = [0];\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddressBook.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddressBook.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddressBook.vue?vue&type=template&id=8dcafb24&scoped=true\"\nimport script from \"./AddressBook.vue?vue&type=script&lang=ts\"\nexport * from \"./AddressBook.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddressBook.scss?vue&type=style&index=0&id=8dcafb24&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8dcafb24\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCombobox } from 'vuetify/lib/components/VCombobox';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"main-wrapper\"},[_c('div',{staticClass:\"bg-purple-50 border-b border-purple-200 pa-6 pb-0 flex flex-col\"},[_c('BackButton',{}),_c('h1',{staticClass:\"font text-3xl font-semibold my-2\"},[_vm._v(\"Quant list\")]),_c('div',{staticClass:\"flex items-start\"},[_c('div',{staticClass:\"w-40\"},[(_vm.$can('staff', 'Job'))?_c('LookupCustomerCode',{staticClass:\"lookup-customer-code\",attrs:{\"chosen\":_vm.headerFilters.customerCode,\"autocomplete\":_vm.autocompleteCustomer,\"tabIndex\":1,\"required\":true,\"outlined\":\"\",\"background-color\":\"white\",\"focus\":true,\"data-cy\":\"input-ccode-staff\"},on:{\"clear\":_vm.clearCustomerCode,\"change\":_vm.setCustomerCode}}):_c(VTextField,{staticClass:\"stop-input stop-input-ccode\",attrs:{\"background-color\":\"white\",\"label\":\"Customer Code\",\"disabled\":\"\",\"outlined\":\"\",\"required\":\"\",\"data-cy\":\"input-ccode\"},model:{value:(_vm.headerFilters.customerCode),callback:function ($$v) {_vm.$set(_vm.headerFilters, \"customerCode\", $$v)},expression:\"headerFilters.customerCode\"}})],1),_c('div',{staticClass:\"w-40 ml-2\"},[_c(VCombobox,{staticClass:\"stop-input\",attrs:{\"label\":\"Warehouse\",\"outlined\":\"\",\"items\":Object.keys(_vm.whList),\"background-color\":\"white\",\"maxlength\":30,\"clearable\":\"\",\"append-icon\":\"\",\"menu-props\":{ 'allow-overflow': true }},on:{\"change\":_vm.headerFilterChanged},model:{value:(_vm.headerFilters.warehouse),callback:function ($$v) {_vm.$set(_vm.headerFilters, \"warehouse\", $$v)},expression:\"headerFilters.warehouse\"}})],1),_c('div',{staticClass:\"w-40 ml-2\"},[_c(VTextField,{attrs:{\"label\":\"Product\",\"placeholder\":\"Product\",\"type\":\"text\",\"background-color\":\"white\",\"outlined\":\"\",\"clearable\":\"\"},on:{\"change\":_vm.headerFilterChanged},model:{value:(_vm.headerFilters.product),callback:function ($$v) {_vm.$set(_vm.headerFilters, \"product\", $$v)},expression:\"headerFilters.product\"}})],1),_c('div',{staticClass:\"w-40 ml-2\"},[_c(VTextField,{attrs:{\"label\":\"Reference 1\",\"placeholder\":\"Reference 1\",\"type\":\"text\",\"background-color\":\"white\",\"outlined\":\"\",\"clearable\":\"\"},on:{\"change\":_vm.headerFilterChanged},model:{value:(_vm.headerFilters.reference1),callback:function ($$v) {_vm.$set(_vm.headerFilters, \"reference1\", $$v)},expression:\"headerFilters.reference1\"}})],1),_c('div',{staticClass:\"w-40 ml-2\"},[_c(VTextField,{attrs:{\"label\":\"Reference 2\",\"placeholder\":\"Reference 2\",\"type\":\"text\",\"background-color\":\"white\",\"outlined\":\"\",\"clearable\":\"\"},on:{\"change\":_vm.headerFilterChanged},model:{value:(_vm.headerFilters.reference2),callback:function ($$v) {_vm.$set(_vm.headerFilters, \"reference2\", $$v)},expression:\"headerFilters.reference2\"}})],1),_c('div',{staticClass:\"w-36 ml-2\"},[_c(VSelect,{attrs:{\"items\":_vm.conditionList,\"label\":\"Condition\",\"background-color\":\"white\",\"clearable\":\"\",\"outlined\":\"\"},on:{\"change\":_vm.headerFilterChanged},model:{value:(_vm.headerFilters.condition),callback:function ($$v) {_vm.$set(_vm.headerFilters, \"condition\", $$v)},expression:\"headerFilters.condition\"}})],1),_c('div',{staticClass:\"w-12 ml-2\"},[_c(VBtn,{staticClass:\"btn-search\",attrs:{\"fab\":\"\",\"disabled\":!_vm.headerFilters.customerCode || _vm.loading,\"color\":\"primary\"},on:{\"click\":_vm.getQuantWrapper}},[_c(VIcon,{staticClass:\"btn-detailed-icon\"},[_vm._v(\"mdi-magnify\")])],1)],1)])],1),_c('div',{staticClass:\"pa-6\"},[_c('div',{staticClass:\"w-300 mt-4 mb-12\"},[_vm._m(0),(_vm.loading)?_c('div',{staticClass:\"w-300 flex justify-center items-center py-12 mt-5 border-t border-b border-purple-200\"},[_c(VIcon,{staticClass:\"mdi-spin\",attrs:{\"color\":\"purple\",\"size\":\"48\"}},[_vm._v(\"mdi-loading\")])],1):(_vm.tableData.length === 0)?_c('div',{staticClass:\"w-300 flex justify-center items-center py-12 mt-5 border-t border-b border-purple-200\"},[_c('h4',[_vm._v(\"No data\")])]):_c('div',_vm._l((_vm.tableData),function(item,idx){return _c('div',{key:idx,staticClass:\"pt-2 mb-4 bg-purple-50 rounded border border-purple-200\"},[_c('div',{staticClass:\"pb-2 d-flex\"},[_c('div',{staticClass:\"pl-2 w-12\"},[_c('div',{class:_vm.chosenWh !== '' && _vm.chosenWh !== item.warehouse_code ? 'cursor-not-allowed opacity-25' : ''},[(item.warehouse_code === 'SWH2' || item.warehouse_code === 'MWH2')?_c('div',{staticClass:\"cursor-not-allowed\"},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_c(VIcon,{staticClass:\"icon-close\"},[_vm._v(\"mdi-checkbox-blank-off-outline\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Booking in this warehouse is not available\")])])],1):_c(VCheckbox,{staticClass:\"ma-0 pa-0\",attrs:{\"value\":_vm.chosenProducts.indexOf(item.id) >= 0,\"label\":\"\",\"disabled\":_vm.chosenWh !== '' && _vm.chosenWh !== item.warehouse_code},on:{\"click\":function($event){$event.stopPropagation();return _vm.jobCheckboxClicked(item)}}})],1)]),_c('div',{staticClass:\"w-20\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(item.id))])]),_c('div',{staticClass:\"w-20\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(\" \"+_vm._s(item && item.condition ? item.condition.toUpperCase() : '-')+\" \")])]),_c('div',{staticClass:\"w-64\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(item.product_id[1]))])]),_c('div',{staticClass:\"w-20\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(item.qty))])]),_c('div',{staticClass:\"w-20\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(item.warehouse_code))])]),_c('div',{staticClass:\"w-24\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(item.reference))])]),_c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(item.reference2 ? item.reference2 : '-'))])]),_c('div',{staticClass:\"w-20\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(_vm._s(item && item.owner_id ? item.owner_id[1] : '-'))])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(\" \"+_vm._s(item && item.lot_id && item.lot_id[1] ? item.lot_id[1] : '-')+\" \")])]),_c('div',{staticClass:\"w-24\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm leading-4\"},[_vm._v(\" \"+_vm._s(_vm.formatDateStringWithTZ(item.in_date, _vm.user.timezone || _vm.timeZoneDefault, 'yyyy-MM-dd'))+\" \")])])])])}),0),(_vm.tableData.length >= 1)?_c('div',{staticClass:\"flex flex-col mt-6\"},[_c('div',{staticClass:\"flex items-center justify-start w-min px-2\"},[_c('div',{staticClass:\"flex items-center\"},[_c('p',{staticClass:\"ma-0 text-sm whitespace-nowrap\"},[_vm._v(\"Show by:\")]),_c('p',{staticClass:\"ma-0 w-20 px-2\"},[_c('t-select',{attrs:{\"options\":_vm.pagination.perPageOptions,\"wrapped\":\"\"},model:{value:(_vm.pagination.perPage),callback:function ($$v) {_vm.$set(_vm.pagination, \"perPage\", $$v)},expression:\"pagination.perPage\"}})],1),_c('p',{staticClass:\"ma-0 pl-4 whitespace-nowrap text-sm\"},[_vm._v(\"jobs from \"+_vm._s(_vm.pagination.total)+\" pages\")])]),(_vm.pagination.total > 0)?_c('t-pagination',{staticClass:\"w-128 ma-0\",class:_vm.pagination.total >= 100 ? 'text-sm' : '',attrs:{\"total-items\":_vm.pagination.total * Number(_vm.pagination.perPage),\"per-page\":Number(_vm.pagination.perPage),\"limit\":_vm.pagination.visible,\"disabled\":_vm.loading},on:{\"change\":_vm.updatePagination},model:{value:(_vm.pagination.current),callback:function ($$v) {_vm.$set(_vm.pagination, \"current\", $$v)},expression:\"pagination.current\"}}):_vm._e()],1),_c('div',{staticClass:\"flex justify-end mt-6\"},[(_vm.allowWhToWhBooking)?_c('Button',{staticClass:\"items-end btn\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading || _vm.chosenProducts.length <= 0,\"icon\":\"mdi-send\",\"text\":\"Book WH to WH\"},nativeOn:{\"click\":function($event){return _vm.BookWH2WHClick.apply(null, arguments)}}}):_vm._e(),(_vm.allowWhToWhBooking)?_c('Button',{staticClass:\"items-end btn ml-2\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading || _vm.chosenProducts.length <= 0,\"icon\":\"mdi-send\",\"text\":\"Book WH to same WH\"},nativeOn:{\"click\":function($event){return _vm.BookWH2SWHClick.apply(null, arguments)}}}):_vm._e(),_c('Button',{staticClass:\"items-end btn ml-2\",attrs:{\"size\":\"small\",\"background\":\"green\",\"color\":\"white\",\"circleColor\":\"white\",\"loading\":_vm.loading,\"disabled\":_vm.loading || _vm.chosenProducts.length <= 0,\"icon\":\"mdi-send\",\"text\":\"Book a job\"},nativeOn:{\"click\":function($event){return _vm.BookClick.apply(null, arguments)}}})],1)]):_vm._e()])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex pt-3 pb-2\"},[_c('div',{staticClass:\"pl-2 w-12 h-4\"}),_c('div',{staticClass:\"w-20\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"ID\")])]),_c('div',{staticClass:\"w-20\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Condition\")])]),_c('div',{staticClass:\"w-64\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Product\")])]),_c('div',{staticClass:\"w-20\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Quantity\")])]),_c('div',{staticClass:\"w-20\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"WH Code\")])]),_c('div',{staticClass:\"w-24\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Reference\")])]),_c('div',{staticClass:\"w-40\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Reference 2\")])]),_c('div',{staticClass:\"w-20\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Owner\")])]),_c('div',{staticClass:\"w-32\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Serial\")])]),_c('div',{staticClass:\"w-24\"},[_c('p',{staticClass:\"pr-1 mb-0 text-sm font-semibold\"},[_vm._v(\"Date\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport { getAddressLookupData, getQuantListData, lookupCustomer } from '@/api';\n\nimport Header from '@/components/jobBooking/Header/Header.vue';\nimport LookupCustomerCode from '@/components/jobBooking/AdvancedJobBooking/LookupCustomerCode.vue';\nimport Button from '@/components/UI/button/Button.vue';\nimport BackButton from '@/components/UI/backButton/BackButton.vue';\n\nimport { formatDateStringWithTZ } from '@/utils/InputProcessingUtilities';\nimport { notificationErrorText, timeZoneDefault } from '@/utils/PortalConstants';\n\nimport { QuantListData, QuantList, TQuantDataParams, QPagination } from '@/models/jobQuants';\nimport { User } from '@/models/main';\nimport { JBAdvancedStopProducts } from '@/models/jbAdvanced';\nimport {\n AddressBookAirRoadStop,\n AddressBookEndpointParam,\n AddressBookLookupData,\n AddressBookResponse,\n} from '@/models/addressBook';\n\nimport { fetchGetAddressBookAddresses } from '@/helpers/fetchers';\nimport * as routeNames from '@/router/routeNames';\nimport { mapState } from 'vuex';\nimport { JobProducts } from '@/models/jobData';\n\n@Component({\n components: {\n BackButton,\n Button,\n Header,\n LookupCustomerCode,\n },\n computed: {\n ...mapState('moduleUser', { user: 'user' }),\n },\n})\nexport default class QuantPage extends Vue {\n // LOADERS\n public loading = false;\n public wareHouse = '';\n public addressesWarehouses: AddressBookAirRoadStop[] = [];\n\n // USER\n public user!: User;\n public timeZoneDefault = timeZoneDefault;\n\n // API\n public autocompleteCustomer = lookupCustomer;\n\n // HEADER DATA\n public headerFilters = {\n customerCode: '',\n warehouse: '',\n product: '',\n reference1: '',\n reference2: '',\n condition: 'new',\n changed: false,\n };\n public conditionList = ['new', 'used', 'excellent', 'good', 'poor'];\n public whList = {\n 'KK Brisbane': 'BNE1',\n 'KK Adelaide': 'ADL1',\n 'KK Perth': 'PER-R',\n 'KK Melbourne': 'MEL1',\n 'KK Darwin': 'NT1',\n 'KK Canberra': 'CBR1',\n 'KK Sydney': 'SYD1',\n 'KK SWH2': 'SWH2',\n 'KK MWH2': 'MWH2',\n };\n\n private ricohWarehouseAddress: AddressBookLookupData = {\n city: null,\n line1: '',\n line2: null,\n line3: null,\n name: '',\n suburb: {\n id: 0,\n name: '',\n postcode: '',\n state: '',\n },\n id: 0,\n note_text: '',\n note_name: '',\n note_phone: '',\n warehouse: false,\n };\n\n // HEADER FILTERS\n public clearWarehouseClicked() {\n this.headerFilters.warehouse = '';\n localStorage.setItem('quantsPageWarehouse', '');\n }\n\n public headerFilterChanged() {\n this.headerFilters.changed = true;\n const warehouse = localStorage.getItem('quantsPageWarehouse');\n const wh = this.headerFilters.warehouse === null ? '' : this.headerFilters.warehouse;\n if (wh !== warehouse) {\n localStorage.setItem('quantsPageWarehouse', wh);\n }\n }\n\n private getAddressBookWrapper(): void {\n const params: AddressBookEndpointParam = {\n username: '',\n customer: this.headerFilters.customerCode,\n page: 1,\n warehouse: true,\n };\n fetchGetAddressBookAddresses(params).then((res: AddressBookResponse) => {\n this.addressesWarehouses = res.results;\n });\n }\n\n // PAGE DATA\n private pageData: QuantListData = {\n count: 0,\n next: '',\n previous: '',\n results: [],\n };\n\n // PAGINATION\n public pagination: QPagination = {\n page: 1,\n current: 1,\n total: 0,\n perPage: '50',\n visible: 7,\n perPageOptions: ['1', '5', '10', '50', '100'],\n };\n\n public tableData: QuantList[] = [];\n public chosenProducts: number[] = [];\n public chosenWh = '';\n public allowWhToWhBooking = true;\n\n // WRAPPERS\n public async getQuantWrapper(): Promise {\n this.loading = true;\n this.pageData = { count: 0, next: '', previous: '', results: [] };\n this.tableData = [];\n this.chosenWh = '';\n\n if (this.headerFilters.changed) {\n this.pagination.current = 1;\n }\n const chosenWh = this.whList[this.headerFilters.warehouse];\n const endpointParams: TQuantDataParams = {\n customer_code: this.headerFilters.customerCode,\n page: this.pagination.current,\n page_size: Number(this.pagination.perPage),\n in_date_gte: '',\n in_date_lte: '',\n warehouse_code: chosenWh,\n product_name: this.headerFilters.product,\n reference: this.headerFilters.reference1,\n reference2: this.headerFilters.reference2,\n condition: this.headerFilters.condition,\n };\n await getQuantListData(endpointParams)\n .then((res: QuantListData) => {\n this.pageData = res;\n this.tableData = res.results;\n this.pagination.total = Math.ceil(res.count / Number(this.pagination.perPage));\n })\n .catch(() => {\n this.$notify({\n group: 'network',\n title: 'Error loading Quants data',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n this.headerFilters.changed = false;\n this.loading = false;\n });\n }\n\n // CUSTOMER CODE\n public async setCustomerCode(customerCode): Promise {\n if (customerCode) {\n this.headerFilters.customerCode = customerCode;\n this.pagination.current = 1;\n }\n }\n public clearCustomerCode(): void {\n this.headerFilters.customerCode = '';\n this.pagination.current = 1;\n }\n\n // Row checkbox\n public jobCheckboxClicked(item: QuantList) {\n const jobChosenIdx = this.chosenProducts.findIndex(x => x === item.id);\n if (jobChosenIdx === -1) {\n this.chosenProducts.push(item.id);\n const chosenProduct = this.tableData.find(x => x.id === item.id);\n if (chosenProduct && chosenProduct.warehouse_code) {\n this.chosenWh = chosenProduct.warehouse_code;\n }\n } else {\n this.chosenProducts.splice(jobChosenIdx, 1);\n if (this.chosenProducts.length === 0) {\n this.chosenWh = '';\n }\n }\n // Hide WH 2 same WH bookin btn if RICOH Warehouse chosen\n this.allowWhToWhBooking = item.warehouse_code === 'RIC' ? false : true;\n }\n\n // BOOKING\n public async BookClick() {\n const productsToBook = this.tableData.filter(x => this.chosenProducts.indexOf(x.id) >= 0);\n const curWhIdx = Object.values(this.whList).findIndex(x => x === productsToBook[0].warehouse_code);\n const chosenWhData = this.addressesWarehouses.find(x => x.name === Object.keys(this.whList)[curWhIdx]);\n // Fill only CC\n const userData = {\n customerCode: this.headerFilters.customerCode,\n caller: '',\n phone_number: '',\n reference1: '',\n reference2: '',\n reference3: '',\n ref1_prompt: '',\n ref2_prompt: '',\n ref3_prompt: '',\n ref1_required: false,\n ref2_required: false,\n ref3_required: false,\n };\n // Fill only first stop as we know the WH\n const stops = [\n {\n id: 0,\n suburb: chosenWhData?.suburb.name,\n suburbId: chosenWhData?.suburb.id,\n state: chosenWhData?.suburb.state,\n postCode: chosenWhData?.suburb.postcode,\n notesPhone: '',\n notesName: '',\n notesInstruction: '',\n warehouse: true,\n addressBookCheckbox: false,\n name: chosenWhData?.name,\n address_1: chosenWhData?.line1,\n address_2: chosenWhData?.line2,\n },\n {\n id: 1,\n suburb: '',\n suburbId: -1,\n state: '',\n postCode: '',\n notesPhone: '',\n notesName: '',\n notesInstruction: '',\n warehouse: false,\n addressBookCheckbox: false,\n },\n ];\n // Set RICOH WH address if products are chosen there\n if (productsToBook[0].warehouse_code === 'RIC') {\n stops[0] = {\n id: 0,\n suburb: this.ricohWarehouseAddress?.suburb.name,\n suburbId: this.ricohWarehouseAddress?.suburb.id,\n state: this.ricohWarehouseAddress?.suburb.state,\n postCode: this.ricohWarehouseAddress?.suburb.postcode,\n notesPhone: '',\n notesName: '',\n notesInstruction: '',\n warehouse: true,\n addressBookCheckbox: false,\n name: this.ricohWarehouseAddress?.name,\n address_1: this.ricohWarehouseAddress.line1 || '',\n address_2: this.ricohWarehouseAddress.line2 || '',\n };\n }\n // Fill goods from JobsToBook\n const goods: Partial[] = productsToBook.map((x, index) => {\n return {\n id: index,\n product_id: x.product_id[0],\n model: x.product_id[1].split('] ')[1] || '',\n description: '',\n serial_number: x.lot_id?.[1] || '',\n serialNumberFilled: !!x.lot_id?.[1],\n statusText: 'Quant ID: ' + x.id,\n quantity: x.qty,\n from_stop: 1,\n to_stop: 2,\n weight: 0,\n runup: false,\n quant_id: x.id,\n returnOption: '',\n returnOptionText: '',\n };\n });\n const localStorageJobData = {\n userData: userData,\n stops: stops,\n goods: [\n {\n tableData: goods,\n checkboxStairs: false,\n checkboxLoadingDock: false,\n checkboxPPE: false,\n checkboxRunup: false,\n radioTypeGoods: '',\n stairsNotes: '',\n runup: false,\n },\n ],\n };\n localStorage.setItem('jobData', JSON.stringify(localStorageJobData));\n this.$router.push({ name: routeNames.ADVANCED_JOB_BOOKING });\n }\n\n public async createJobFromQuantPage() {\n const productsToBook = this.tableData.filter(x => this.chosenProducts.indexOf(x.id) >= 0);\n const userData = {\n customerCode: this.headerFilters.customerCode,\n caller: '', // fill with user data?\n phone_number: '', // fill with user data?\n reference1: productsToBook[0].reference || '',\n reference2: productsToBook[0].reference2 || '',\n reference3: '',\n ref1_prompt: '',\n ref2_prompt: '',\n ref3_prompt: '',\n ref1_required: false,\n ref2_required: false,\n ref3_required: false,\n };\n\n const curWhIdx = Object.values(this.whList).findIndex(x => x === productsToBook[0].warehouse_code);\n const chosenWhData = this.addressesWarehouses.find(x => x.name === Object.keys(this.whList)[curWhIdx]);\n let stops: AddressBookLookupData[] = [];\n\n if (chosenWhData) {\n stops = [\n {\n ...chosenWhData,\n id: 0,\n name: chosenWhData.name || '',\n city: chosenWhData.city || '',\n line1: chosenWhData?.line1 || '',\n line2: chosenWhData?.line2 || '',\n line3: chosenWhData?.line2 || '',\n suburb: {\n id: chosenWhData.suburb?.id || -1,\n name: chosenWhData.suburb.name || '',\n postcode: chosenWhData.suburb.postcode || '',\n state: chosenWhData.suburb.state || '',\n },\n note_text: '',\n note_name: '',\n note_phone: '',\n },\n {\n ...chosenWhData,\n id: 1,\n name: chosenWhData.name || '',\n city: chosenWhData.city || '',\n line1: chosenWhData?.line1 || '',\n line2: chosenWhData?.line2 || '',\n line3: chosenWhData?.line3 || '',\n suburb: {\n id: chosenWhData.suburb?.id || -1,\n name: chosenWhData.suburb.name || '',\n postcode: chosenWhData.suburb.postcode || '',\n state: chosenWhData.suburb.state || '',\n },\n note_text: '',\n note_name: '',\n note_phone: '',\n },\n ];\n }\n\n // Fill products from JobsToBook\n const products: JobProducts[] = productsToBook.map(product => {\n return {\n model: product.product_id[1].split('] ')[1] || '',\n model_id: product.product_id[0],\n description: '',\n serial: String(product.lot_id?.[1] || ''),\n quantity: product.qty,\n from_stop: 1,\n to_stop: 2,\n weight: 0,\n runup: false,\n quant_id: product.id,\n installation: 'DLVONLY',\n returns: '',\n };\n });\n\n const localStorageJobData = {\n userData: userData,\n stops: stops,\n products: products,\n };\n\n return localStorageJobData;\n }\n\n public async BookWH2WHClick() {\n const localStorageJobData = await this.createJobFromQuantPage();\n localStorageJobData.stops.length = 1;\n localStorage.setItem('jobDataWHToWH', JSON.stringify(localStorageJobData));\n this.$router.push({ name: routeNames.WAREHOUSE_TO_WH_JB });\n }\n\n public async BookWH2SWHClick() {\n const localStorageJobData = await this.createJobFromQuantPage();\n localStorage.setItem('jobDataWHSameWH', JSON.stringify(localStorageJobData));\n this.$router.push({ name: routeNames.WAREHOUSE_SAME_WH_JB });\n }\n\n public formatDateStringWithTZ = formatDateStringWithTZ;\n\n // Pagination\n public async updatePagination() {\n this.headerFilters.changed = false;\n this.chosenWh = '';\n this.chosenProducts = [];\n await this.getQuantWrapper();\n // Pagination corrections:\n this.pagination.total = Math.ceil(this.pageData.count / Number(this.pagination.perPage));\n if (this.pagination.current === 0 && this.pagination.total >= 1) {\n this.pagination.current = 1;\n }\n if (this.pagination.current > this.pagination.total) {\n this.pagination.current = this.pagination.total;\n }\n }\n\n // Watchers:\n //\n // Pagination\n @Watch('pagination.perPage')\n private perPageSelectChanged() {\n this.pagination.current = 1;\n this.chosenProducts = [];\n this.updatePagination();\n }\n\n private mounted() {\n this.getAddressBookWrapper();\n // Get RICOH warehouse address from the AddressBook lookup\n // Think to do it different way (use app state?)\n if (this.user.customerCode === 'RICOH') {\n this.whList['KK Ricoh'] = 'RIC';\n getAddressLookupData('RICOH').then((res: AddressBookLookupData[]) => {\n const wh = res.find(x => x.name === 'Ricoh Australia');\n if (wh) {\n this.ricohWarehouseAddress = wh;\n }\n });\n }\n // Request data if we know CC\n if (!this.$ability.can('staff', 'Job')) {\n this.headerFilters.customerCode = this.user.customerCode;\n this.getQuantWrapper();\n }\n const warehouse = localStorage.getItem('quantsPageWarehouse');\n if (warehouse) {\n this.headerFilters.warehouse = warehouse;\n }\n }\n}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./QuantPage.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./QuantPage.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./QuantPage.vue?vue&type=template&id=4685ab25&scoped=true\"\nimport script from \"./QuantPage.vue?vue&type=script&lang=ts\"\nexport * from \"./QuantPage.vue?vue&type=script&lang=ts\"\nimport style0 from \"./QuantPage.scss?vue&type=style&index=0&id=4685ab25&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4685ab25\",\n null\n \n)\n\nexport default component.exports","import {\n TButton,\n TCheckbox,\n TDatepicker,\n TInput,\n TModal,\n TPagination,\n TRadio,\n TRichSelect,\n TSelect,\n TTextarea,\n TToggle,\n} from 'vue-tailwind/dist/components';\n\nexport const settings = {\n // Use the following syntax\n // {component-name}: {\n // component: {importedComponentObject},\n // props: {\n // {propToOverride}: {newDefaultValue}\n // {propToOverride2}: {newDefaultValue2}\n // }\n // }\n 't-input': {\n component: TInput,\n props: {\n fixedClasses: `w-full px-2\n border border-solid\n focus:outline-none focus:shadow focus:shadow-purple-4\n `,\n classes: 'border-purple-200 focus:border-purple-400',\n variants: {\n error: 'rounded border-red-700 focus:border-red-700',\n disabled: 'rounded bg-gray-50 border-gray-300 text-gray-500 cursor-not-allowed',\n },\n },\n },\n // Inline input\n 't-input-inline': {\n component: TInput,\n props: {\n fixedClasses: `w-full px-3 border border-solid\n focus:outline-none focus:shadow focus:shadow-purple-4`,\n classes: 'rounded-none border-purple-200 focus:border-r focus:border-purple-400',\n variants: {\n error: 'border-red-700 focus:border-red-700',\n disabled: 'rounded bg-gray-50 border-gray-300 text-gray-500 cursor-not-allowed',\n },\n },\n },\n // Inline input\n 't-input-table': {\n component: TInput,\n props: {\n fixedClasses: `w-full h-10 px-1 border border-solid\n focus:outline-none focus:shadow focus:shadow-purple-4`,\n classes:\n 'rounded-none border-r-0 border-b-0 border-purple-200 focus:border-r focus:border-b focus:border-purple-400',\n variants: {\n error: 'border-red-700 focus:border-red-700',\n disabled: 'bg-gray-50 border-gray-300 text-gray-500 cursor-not-allowed',\n last: 'border-purple-200 border-r-1 border-b-0 focus:border-r focus:border-b focus:border-purple-400',\n },\n },\n },\n 't-input-label': {\n component: TInput,\n props: {\n fixedClasses: `w-full px-2\n border border-solid\n focus:outline-none focus:shadow focus:shadow-purple-4\n `,\n classes: 'border-purple-200 focus:border-purple-400 cursor-text disabled:cursor-not-allowed',\n variants: {\n error: 'border-red-700 focus:border-red-700',\n disabled: 'bg-gray-50 border-gray-300 text-gray-500 cursor-not-allowed',\n table: 'border-r-0 border-b-0 border-purple-200 focus:border-r focus:border-b focus:border-purple-400',\n 'table-last': 'border-b-0 border-purple-200 focus:border-b focus:border-purple-400',\n rounded: 'rounded border-purple-200 focus:border-purple-400',\n },\n },\n },\n //\n 't-checkbox': {\n component: TCheckbox,\n props: {\n fixedClasses: `border border-solid rounded\n focus:outline-none focus:shadow focus:shadow-purple-4\n `,\n classes: 'border-purple-200 focus:border-purple-400',\n variants: {\n error: 'border-red-700 focus:border-red-700',\n disabled: 'bg-gray-50 border-gray-300 text-gray-500 cursor-not-allowed',\n },\n },\n },\n //\n 't-button': {\n component: TButton,\n props: {\n fixedClasses: `block px-4 py-8 transition duration-100 ease-in-out \n focus:border-blue-500 focus:ring-2 focus:ring-blue-500 focus:outline-none focus:ring-opacity-50 \n disabled:opacity-50 disabled:cursor-not-allowed`,\n classes: 'text-white bg-blue-500 border border-transparent shadow-sm rounded hover:bg-blue-600',\n variants: {\n secondary: 'text-gray-800 bg-white border border-gray-300 shadow-sm hover:text-gray-600',\n error: 'text-white bg-red-500 border border-transparent rounded shadow-sm hover:bg-red-600',\n success: 'text-white border border-transparent rounded shadow-sm hover:bg-green-600',\n link: 'text-blue-500 underline hover:text-blue-600',\n },\n },\n },\n 't-pagination': {\n component: TPagination,\n props: {\n classes: {\n wrapper: 'bg-gray mx-auto text-center flex space-x-2',\n element: 'w-9 h-9 border border-gray-200 rounded',\n activeElement: 'w-9 h-9 rounded',\n disabledElement: 'w-9 h-9 border border-gray-200 rounded',\n ellipsisElement: 'w-9 h-9 hidden md:inline',\n activeButton: `border border-purple-400 bg-purple-400 w-full h-full rounded text-white \n hover:bg-purple-600 transition duration-100 ease-in-out focus:ring-2 focus:ring-purple-500 \n focus:outline-none focus:ring-opacity-50`,\n disabledButton:\n 'border border-gray-200 opacity-50 w-full h-full cursor-not-allowed transition duration-100 ease-in-out',\n button: `border border-gray-200 hover:bg-purple-100 hover:border-purple-100 w-full h-full \n active:ring-2 hover:ring-2 transition duration-100 ease-in-out focus:ring-2 focus:ring-purple-500 \n focus:outline-none focus:ring-opacity-50`,\n ellipsis: '',\n },\n },\n },\n 't-select': {\n component: TSelect,\n props: {\n wrapped: true,\n classes: {\n wrapper: 'relative w-20 border border-purple-300 rounded',\n input: `block w-full py-2 pl-3 pr-10 text-black placeholder-gray-400 \n transition duration-100 ease-in-out bg-white shadow-sm bg-none rounded\n focus:ring-2 focus:ring-purple-500 focus:outline-none focus:ring-opacity-50 focus:border-purple-500\n disabled:opacity-50 disabled:cursor-not-allowed `,\n arrowWrapper: 'pointer-events-none absolute inset-y-0 right-0 flex items-center px-2',\n arrow: 'fill-current h-4 w-4',\n },\n variants: {\n // wrapped: 'w-12 h-12',\n },\n },\n },\n //\n 't-select-table': {\n component: TSelect,\n props: {\n wrapped: true,\n classes: {\n wrapper: 'relative border border-purple-200 border-r-0 border-b-0',\n input: `block w-full h-full py-2 pl-3 pr-10 text-black placeholder-gray-400 \n transition duration-100 ease-in-out bg-white shadow-sm bg-none\n focus:ring-1 focus:ring-purple-400 focus:outline-none focus:ring-opacity-50 focus:border-purple-400\n focus:border-r focus:border-b focus:border-purple-400\n disabled:opacity-50 disabled:cursor-not-allowed `,\n arrowWrapper: 'pointer-events-none absolute inset-y-0 right-0 flex items-center px-0',\n arrow: 'fill-current h-4 w-4',\n },\n variants: {\n // wrapped: 'w-12 h-12',\n },\n },\n },\n //\n 't-rich-select': {\n component: TRichSelect,\n props: {\n fixedClasses: {\n wrapper: 'relative h-full',\n searchBox: `w-full h-10 mr-3 px-3 outline-none \n border border-solid border-purple-200 rounded`,\n selectButton: `w-full h-full flex text-left justify-between items-center px-3 py-2 text-black\n transition duration-100 ease-in-out border rounded shadow-sm \n focus:border-purple-400 focus:outline-none focus:ring-opacity-50\n disabled:opacity-50 disabled:cursor-not-allowed`,\n buttonWrapper: `inline-block relative w-full h-12\n bg-white border border-solid rounded \n focus:outline-none focus:shadow-down`,\n selectButtonLabel: 'block truncate',\n selectButtonPlaceholder: 'block truncate text-gray-400',\n selectButtonIcon: 'fill-current flex-shrink-0 ml-1 h-4 w-4 text-gray-600',\n selectButtonClearButton: `rounded flex flex-shrink-0 items-center justify-center absolute\n right-0 top-0 m-2 h-6 w-6 transition duration-100 ease-in-out hover:bg-blue-100 text-gray-600`,\n selectButtonClearIcon: 'fill-current h-3 w-3 mt-1',\n dropdown:\n 'absolute w-full z-10 -mt-1 border-b border-l border-r rounded-b bg-white border-purple-200 shadow-down',\n dropdownFeedback: 'pb-2 text-gray-400 text-sm',\n loadingMoreResults: 'pb-2 px-3 text-gray-400 text-sm',\n optionsList: 'ma-0 pa-0 pl-2 overflow-auto',\n searchWrapper: 'inline-block w-full p-2 placeholder-gray-400',\n optgroup: 'ma-0 pa-0 text-gray-400 uppercase text-xs py-1',\n disabledOption: 'opacity-50 cursor-not-allowed',\n highlightedOption: 'bg-purple-100 cursor-pointer',\n selectedOption: 'bg-purple-50 cursor-pointer',\n selectedHighlightedOption: 'bg-purple-200 cursor-pointer',\n optionContent: 'ma-0 pa-0 ma-0 pa-0 flex justify-between items-center py-2 pl-2',\n optionLabel: 'truncate block ma-0 pa-0',\n selectedIcon: 'fill-current h-4 w-4',\n },\n classes: {\n buttonWrapper: 'border-purple-200 focus:border-purple-400',\n },\n variants: {\n error: {\n buttonWrapper: 'border-red-700 focus:border-red-700',\n },\n disabled: {\n selectButton: 'cursor-not-allowed',\n buttonWrapper: 'bg-gray-50 border-gray-300 text-gray-500 cursor-not-allowed',\n },\n },\n },\n },\n 't-radio': {\n component: TRadio,\n props: {\n fixedClasses:\n 'border border-solid border-purple-400 w-4 h-4 rounded-full appearance-none outline-none cursor-pointer',\n classes: 'border-purple-400',\n variants: {\n error: 'text-red-500 border-red-300',\n success: 'text-green-500 border-green-300',\n },\n },\n },\n //\n 't-textarea': {\n component: TTextarea,\n props: {\n fixedClasses: `w-full px-2 \n border border-solid rounded outline-none resize-none`,\n classes: `flex flex-column h-24 border-purple-200 leading-4\n focus:border-purple-300 \n active:border-purple-400`,\n variants: {\n error: 'border-red-700 focus:border-red-700',\n danger: 'border-red-300 bg-red-50 placeholder-red-200 text-red-900',\n success: 'border-green-300 bg-green-50 placeholder-gray-400 text-green-900',\n notrounded: 'border-purple-200 rounded-none',\n disabled: 'bg-gray-50 border-gray-300 text-gray-500 cursor-not-allowed',\n },\n },\n },\n 't-modal': {\n component: TModal,\n props: {\n fixedClasses: {\n overlay:\n 'z-40 overflow-auto scrolling-touch left-0 top-0 bottom-0 right-0 w-full h-full fixed bg-black bg-opacity-30',\n wrapper: 'min-w-80 relative z-50 flex align-center justify-center py-10 px-5',\n modal: 'overflow-visible relative rounded border border-purple-200',\n body: '',\n header: 'border-b border-purple-200 p-3 rounded-t bg-purple-50 text-xl leading-6',\n footer: 'p-3 rounded-b bg-white',\n close: `absolute top-2 right-2 flex items-center justify-center h-8 w-8 \n transition duration-100 ease-in-out \n focus:ring-2 focus:ring-blue-500 focus:outline-none focus:ring-opacity-50`,\n },\n classes: {\n overlay: '',\n wrapper: '',\n modal: 'bg-white rounded',\n body: '',\n // body: 'p-3',\n header: '',\n footer: '',\n close: '',\n closeIcon: 'fill-current h-6 w-6',\n overlayEnterClass: 'opacity-0',\n overlayEnterActiveClass: 'transition ease-out duration-100',\n overlayEnterToClass: 'opacity-100',\n overlayLeaveClass: 'opacity-100',\n overlayLeaveActiveClass: 'transition ease-in duration-75',\n overlayLeaveToClass: 'opacity-0',\n enterClass: '',\n enterActiveClass: '',\n enterToClass: '',\n leaveClass: '',\n leaveActiveClass: '',\n leaveToClass: '',\n },\n variants: {\n danger: {\n overlay: 'bg-red-100',\n header: 'border-red-50 text-red-700',\n close: 'bg-red-50 text-red-700 hover:bg-red-200 border-red-100 border',\n modal: 'bg-white border border-red-100 shadow-lg',\n footer: 'bg-red-50',\n },\n },\n },\n },\n 't-toggle': {\n component: TToggle,\n props: {\n fixedClasses: {\n wrapper: 'relative inline-flex flex-shrink-0 cursor-pointer transition-colors ease-in-out duration-200',\n wrapperChecked: `relative inline-flex p-0.5 flex-shrink-0 cursor-pointer \n transition-colors ease-in-out duration-200 \n border-2 border-transparent focus:outline-none`,\n button: 'inline-block absolute transform translate-x-0 transition ease-in-out duration-200',\n buttonChecked: 'inline-block absolute transform translate-x-full transition ease-in-out duration-200',\n checkedPlaceholder: 'inline-block',\n uncheckedPlaceholder: 'inline-block',\n },\n classes: {\n wrapper: 'w-full bg-white p-0.5 focus:outline-none rounded-sm border border-purple-400 rounded outline-none',\n wrapperChecked:\n 'w-full bg-white p-0.5 focus:outline-none rounded-sm border border-purple-400 rounded outline-none',\n wrapperDisabled: `inline-flex flex-shrink-0 p-0.5 mt-0.5 border border-solid border-purple-400 rounded \n cursor-pointer transition-colors ease-in-out duration-200 \n opacity-50 cursor-not-allowed`,\n wrapperCheckedDisabled: `inline-flex flex-shrink-0 p-0.5 mt-0.5 border border-solid border-purple-400 rounded \n cursor-pointer transition-colors ease-in-out duration-200 \n opacity-50 cursor-not-allowed`,\n button: `rounded-sm w-1/2 h-6 bg-purple-400 shadow flex items-center justify-center text-white text-sm \n focus:outline-none outline-none select-none`,\n buttonChecked: `rounded-sm w-1/2 h-6 bg-purple-400 text-white shadow flex items-center justify-center \n text-sm focus:outline-none outline-none select-none`,\n checkedPlaceholder: `rounded-sm w-1/2 h-6 flex items-center justify-center text-purple-400 text-sm \n outline-none select-none`,\n uncheckedPlaceholder:\n 'rounded-sm w-1/2 h-6 flex items-center justify-center text-purple-400 text-sm outline-none select-none',\n },\n variants: {\n danger: {\n wrapperChecked: 'bg-red-500 rounded-full',\n wrapperCheckedDisabled: 'bg-red-500 rounded-full',\n },\n success: {\n wrapperChecked: 'bg-green-500 rounded-full',\n wrapperCheckedDisabled: 'bg-green-500 rounded-full',\n },\n box: {\n wrapper: 'bg-gray-100 rounded-sm border-2 border-transparent focus:outline-none',\n wrapperChecked: 'bg-purple-400 rounded-sm',\n wrapperCheckedDisabled: 'bg-purple-400 rounded-sm',\n button: 'h-6 w-6 rounded-sm bg-white shadow flex items-center justify-center text-gray-400 text-xs',\n buttonChecked: 'h-6 w-6 rounded-sm bg-white shadow flex items-center justify-center text-purple-400 text-xs',\n checkedPlaceholder: 'rounded-sm w-6 h-6 flex items-center justify-center text-gray-400 text-xs',\n uncheckedPlaceholder: 'rounded-sm w-6 h-6 flex items-center justify-center text-gray-400 text-xs',\n },\n single: {\n wrapper: `bg-gray-100 rounded-full border-2 border-purple-400 p-0.5 border-transparent \n focus:ring-2 focus:ring-purple-400 focus:outline-none focus:ring-opacity-50`,\n wrapperChecked: 'bg-purple-400 rounded-full focus:outline-none',\n wrapperDisabled: `bg-gray-100 rounded-full border-2 border-transparent \n focus:ring-2 focus:ring-purple-400 focus:outline-none focus:ring-opacity-50`,\n wrapperCheckedDisabled: 'bg-purple-400 focus:outline-none',\n button: 'h-5 w-5 rounded-full bg-white shadow flex items-center justify-center text-gray-400 text-xs',\n buttonChecked:\n 'h-5 w-5 rounded-full bg-white shadow flex items-center justify-center text-purple-400 text-xs',\n checkedPlaceholder: 'rounded-full w-5 h-5 flex items-center justify-center text-gray-400 text-xs',\n uncheckedPlaceholder: 'rounded-full w-5 h-5 flex items-center justify-center text-gray-400 text-xs',\n },\n },\n },\n },\n //\n 't-datepicker': {\n component: TDatepicker,\n props: {\n fixedClasses: {\n navigator: 'flex',\n navigatorViewButton: 'flex items-center',\n navigatorViewButtonIcon: 'flex-shrink-0 h-5 w-5',\n navigatorViewButtonBackIcon: 'flex-shrink-0 h-5 w-5',\n navigatorLabel: 'flex items-center py-1',\n navigatorPrevButtonIcon: 'h-6 w-6 inline-flex',\n navigatorNextButtonIcon: 'h-6 w-6 inline-flex',\n inputWrapper: 'relative',\n viewGroup: 'inline-flex flex-wrap',\n view: 'w-64',\n calendarDaysWrapper: 'grid grid-cols-7',\n calendarHeaderWrapper: 'grid grid-cols-7',\n monthWrapper: 'grid grid-cols-4',\n yearWrapper: 'grid grid-cols-4',\n input: `block w-full transition duration-100 ease-in-out border border-solid \n border-purple-200 focus:border-purple-400 focus:outline-none focus:ring-opacity-50 \n disabled:opacity-50 disabled:cursor-not-allowed`,\n clearButton: 'flex flex-shrink-0 items-center justify-center absolute top-0 m-2 h-6 w-6 mr-1 -right-1',\n clearButtonIcon: 'fill-current h-3 w-3',\n },\n classes: {\n wrapper: 'flex flex-col',\n dropdownWrapper: 'relative z-10',\n dropdown: 'origin-top-left absolute border border-purple-400 rounded shadow bg-white overflow-hidden',\n enterClass: 'opacity-0 scale-95',\n enterActiveClass: 'transition transform ease-out duration-100',\n enterToClass: 'opacity-100 scale-100',\n leaveClass: 'opacity-100 scale-100',\n leaveActiveClass: 'transition transform ease-in duration-75',\n leaveToClass: 'opacity-0 scale-95',\n inlineWrapper: '',\n inlineViews: 'rounded bg-white border mt-1 inline-flex',\n inputWrapper: '',\n input: 'px-1 py-2 text-sm text-black placeholder-gray-400 border-purple-200',\n clearButton: 'hover:bg-gray-100 rounded transition duration-100 ease-in-out text-gray-600',\n clearButtonIcon: '',\n viewGroup: '',\n view: '',\n navigator: 'pt-2 px-3',\n navigatorViewButton: `transition ease-in-out duration-100 inline-flex cursor-pointer \n rounded-full px-2 py-1 -ml-1 hover:bg-gray-100`,\n navigatorViewButtonIcon: 'fill-current text-gray-400',\n navigatorViewButtonBackIcon: 'fill-current text-gray-400',\n navigatorViewButtonMonth: 'text-gray-700 font-semibold',\n navigatorViewButtonYear: 'text-gray-500 ml-1',\n navigatorViewButtonYearRange: 'text-gray-500 ml-1',\n navigatorLabel: 'py-1',\n navigatorLabelMonth: 'text-gray-700 font-semibold',\n navigatorLabelYear: 'text-gray-500 ml-1',\n navigatorPrevButton: `transition ease-in-out duration-100 inline-flex cursor-pointer hover:bg-gray-100 \n rounded-full p-1 ml-2 ml-auto disabled:opacity-50 disabled:cursor-not-allowed`,\n navigatorNextButton: `transition ease-in-out duration-100 inline-flex cursor-pointer hover:bg-gray-100 \n rounded-full p-1 -mr-1 disabled:opacity-50 disabled:cursor-not-allowed`,\n navigatorPrevButtonIcon: 'text-gray-400',\n navigatorNextButtonIcon: 'text-gray-400',\n calendarWrapper: 'px-3 pt-2',\n calendarHeaderWrapper: '',\n calendarHeaderWeekDay: 'uppercase text-xs text-gray-500 w-8 h-8 flex items-center justify-center',\n calendarDaysWrapper: '',\n calendarDaysDayWrapper: 'w-full h-8 flex flex-shrink-0 items-center',\n otherMonthDay: `text-sm rounded-full w-8 h-8 mx-auto hover:bg-purple-100 text-gray-400 \n disabled:opacity-50 disabled:cursor-not-allowed`,\n emptyDay: '',\n inRangeFirstDay: 'text-sm bg-purple-400 text-white w-full h-8 rounded-l-full',\n inRangeLastDay: 'text-sm bg-purple-400 text-white w-full h-8 rounded-r-full',\n inRangeDay: 'text-sm bg-purple-200 w-full h-8 disabled:opacity-50 disabled:cursor-not-allowed',\n selectedDay: `text-sm rounded-full w-8 h-8 mx-auto bg-purple-400 text-white \n disabled:opacity-50 disabled:cursor-not-allowed`,\n activeDay: 'text-sm rounded-full bg-purple-100 w-8 h-8 mx-auto disabled:opacity-50 disabled:cursor-not-allowed',\n highlightedDay:\n 'text-sm rounded-full bg-purple-200 w-8 h-8 mx-auto disabled:opacity-50 disabled:cursor-not-allowed',\n day: 'text-sm rounded-full w-8 h-8 mx-auto hover:bg-purple-100 disabled:opacity-50 disabled:cursor-not-allowed',\n today: `text-sm rounded-full w-8 h-8 mx-auto border border-solid border-purple-100 bg-purple-100\n hover:border-purple-200 hover:bg-purple-200 \n disabled:opacity-50 disabled:cursor-not-allowed `,\n monthWrapper: 'px-3 pt-2',\n selectedMonth: 'text-sm rounded w-full h-12 mx-auto bg-purple-400 text-white',\n activeMonth: 'text-sm rounded w-full h-12 mx-auto bg-purple-100',\n month: 'text-sm rounded w-full h-12 mx-auto hover:bg-purple-100',\n yearWrapper: 'px-3 pt-2',\n year: 'text-sm rounded w-full h-12 mx-auto hover:bg-purple-100',\n selectedYear: 'text-sm rounded w-full h-12 mx-auto bg-purple-500 text-white',\n activeYear: 'text-sm rounded w-full h-12 mx-auto bg-purple-100',\n },\n variants: {\n danger: {\n input: 'border-red-500 bg-red-50 placeholder-red-500 text-red-700',\n clearButton: 'hover:bg-red-200 text-red-500',\n },\n datePickerDefault: {\n input: 'px-2 py-2 rounded',\n },\n timepicker: {\n timepickerWrapper: 'flex items-center px-4 py-2 mt-0',\n timepickerTimeWrapper: 'flex items-center space-x-2',\n timepickerTimeFieldsWrapper: `bg-white rounded-md w-full p-0.5 text-right flex items-center \n border border-purple-200 focus:outline-none`,\n timepickerOkButton: `text-purple-400 text-sm uppercase font-semibold transition duration-100 \n ease-in-out border border-transparent focus:border-purple-400 focus:outline-none \n rounded cursor-pointer`,\n timepickerInput: `text-center w-8 border-transparent bg-transparent p-1 h-8 text-sm transition duration-100 \n ease-in-out border border-purple-200 focus:border-purple-400 focus:ring-1 \n focus:ring-purple-400 focus:outline-none focus:ring-opacity-50 rounded`,\n timepickerTimeLabel: 'flex-grow text-sm text-gray-500 hidden',\n timepickerAmPmWrapper: `relative inline-flex p-0.5 flex-shrink-0 transition duration-200 ease-in-out \n bg-white border border-purple-200 rounded cursor-pointer focus:outline-none`,\n timepickerAmPmWrapperChecked: `relative inline-flex p-0.5 flex-shrink-0 transition duration-200 \n ease-in-out bg-white border border-purple-200 rounded cursor-pointer focus:outline-none`,\n timepickerAmPmWrapperDisabled:\n 'relative inline-flex flex-shrink-0 transition duration-200 ease-in-out opacity-50 cursor-not-allowed',\n timepickerAmPmWrapperCheckedDisabled:\n 'relative inline-flex flex-shrink-0 transition duration-200 ease-in-out opacity-50 cursor-not-allowed',\n timepickerAmPmButton: `absolute flex items-center justify-center w-8 h-8 bg-purple-400 text-xs text-white \n transition duration-200 ease-in-out transform translate-x-0 rounded shadow`,\n timepickerAmPmButtonChecked: `absolute flex items-center justify-center w-8 h-8 bg-purple-400 text-xs \n text-white transition duration-200 ease-in-out transform translate-x-full \n bg-white rounded shadow`,\n timepickerAmPmCheckedPlaceholder: 'flex items-center justify-center w-8 h-8 text-xs text-gray-500 rounded-sm',\n timepickerAmPmUncheckedPlaceholder:\n 'flex items-center justify-center w-8 h-8 text-xs text-gray-500 rounded-sm',\n },\n clearButton: 'mr-0',\n },\n },\n },\n // ...Rest of the components\n};\n","import * as routeNames from '@/router/routeNames';\n\nimport { CustomSelectSuburb, JBAdvancedWHStopProductsFull, JBGoodsTableDataFullFixed } from '@/models/jbAdvanced';\n// LEGACY IMPORTS\nimport {\n JobDetailedData as JobDetailedDataLegacy,\n JobDetailedStop as JobDetailedStopLegacy,\n} from '@/models/jobDetailed';\n\nimport { AddressBookLookupData } from '@/models/addressBook';\nimport { JobProducts } from '@/models/jobData';\nimport { Product as ProductLegacy } from '@/models/jobDetailed';\nimport { ReferencesParams } from '@/models/main';\nimport { StopServices } from '@/models/jobDetailed';\nimport Vue from 'vue';\nimport VueRouter from 'vue-router';\nimport _uniqueId from 'lodash/uniqueId';\nimport { components } from '@/models/jobDetailed';\nimport { fetchReferencesParams } from '@/helpers/fetchers';\nimport { notifyNetworkError } from './notifiers';\nimport { sendError } from './sentry';\n\ntype JobDetailedData = components['schemas']['Job'];\ntype JobDetailedStop = components['schemas']['Stop'];\ntype Product = components['schemas']['Product'];\n\nexport function getReferencesParamsWrapper(customerCode: string, data): Promise {\n return fetchReferencesParams(customerCode)\n .then((referencesParams: ReferencesParams) => {\n data.ref1_prompt = referencesParams.ref1_prompt || 'Reference 1';\n data.ref2_prompt = referencesParams.ref2_prompt || 'Reference 2';\n data.ref3_prompt = referencesParams.ref3_prompt || 'Reference 3';\n data.ref1_required = referencesParams.ref1_required || false;\n data.ref2_required = referencesParams.ref2_required || false;\n data.ref3_required = referencesParams.ref3_required || false;\n })\n .catch(err => {\n sendError(err, 'FetchReferencesParams');\n });\n}\n\nexport function getSuburbItem(suburb: string, postcode: string, state: string): CustomSelectSuburb {\n let suburbId = [suburb, postcode, state].join('|');\n if (suburbId === '||') {\n suburbId = '';\n }\n return {\n id: suburbId,\n name: suburb,\n postcode: postcode,\n state: state,\n };\n}\n\nexport function cloneDetailedJob(initialDetailedJob: JobDetailedDataLegacy): JobDetailedDataLegacy {\n const detailedJob = structuredClone(initialDetailedJob);\n detailedJob.stops.forEach(stop => {\n stop.pickup_products.forEach((pickupProduct: ProductLegacy) => {\n pickupProduct._clientId = _uniqueId();\n });\n stop.services.forEach((service: StopServices) => {\n service._clientId = _uniqueId();\n });\n if (!stop.note_text) {\n stop.note_text = '';\n }\n if (!stop.note_name) {\n stop.note_name = '';\n }\n if (!stop.note_phone) {\n stop.note_phone = '';\n }\n if (!stop.note_email) {\n stop.note_email = '';\n }\n });\n return detailedJob;\n}\n\nexport function uncloneDetailedJob(clonedDetailedJob: JobDetailedDataLegacy): JobDetailedDataLegacy {\n const detailedJob = structuredClone(clonedDetailedJob);\n detailedJob.stops.forEach(stop => {\n stop.pickup_products.forEach((pickupProduct: ProductLegacy) => {\n delete pickupProduct._clientId;\n });\n stop.services.forEach((service: StopServices) => {\n delete service._clientId;\n });\n });\n return detailedJob;\n}\n\n// every `time_earliest` and every `time_latest` must exist\n// the current `time_earliest` must be less then the current `time_latest`\n// the current `time_earliest` must be less then the next `time_latest`\nexport function getIsDatesError(stops: JobDetailedStopLegacy[]): boolean {\n let isDatesError = false;\n stops.forEach((stop, index) => {\n if (isDatesError) {\n return;\n }\n const curTimeEarliest = new Date(stop.time_earliest).getTime();\n const curTimeLatest = new Date(stop.time_latest).getTime();\n if (!curTimeEarliest || !curTimeLatest || curTimeEarliest >= curTimeLatest) {\n isDatesError = true;\n }\n if (isDatesError) {\n return;\n }\n const nextStop = stops[index + 1];\n if (!nextStop) {\n return;\n }\n const nextTimeLatest = new Date(nextStop.time_latest).getTime();\n if (!nextTimeLatest || curTimeEarliest >= nextTimeLatest) {\n isDatesError = true;\n }\n });\n return isDatesError;\n}\n\nconst prefixList = ['OUT: RECYCLE: ', 'OUT: STORE: ', 'OUT: RETURN: ', 'OUT: WORKSHOP: ', 'OUT: ', 'IN: '];\nconst prefix = new RegExp('^(' + prefixList.join('|') + ')', 'g');\n\nexport function getPrefixFromString(value: string): string {\n const afterLastPrefix = value.replace(prefix, '');\n if (afterLastPrefix === '') {\n return value;\n }\n return value.split(afterLastPrefix)[0];\n}\n\nexport function getModelFromString(model: string) {\n return model.replace(prefix, '');\n}\n\n/**\n * Prepares job data for a warehouse to warehouse booking.\n *\n * @param job - The job data from JobDetailed\n * @returns An object containing:\n * - userData: Information about the user, including customer code, caller, phone number, and references.\n * - stops: An array of addresses from the AddressBook\n * - products: An array of products from the Product list\n * - no date\n */\nfunction createJobForWhToWhBooking(job: JobDetailedData | JobDetailedDataLegacy) {\n const userData = {\n customerCode: job.customer,\n caller: job.caller,\n phone_number: job.phone,\n reference1: job.reference_1,\n reference2: job.reference_2,\n reference3: job.reference_3,\n reference4: job.reference_4,\n ref1_prompt: job.customer_ref1_prompt,\n ref2_prompt: job.customer_ref2_prompt,\n ref3_prompt: job.customer_ref3_prompt,\n ref4_prompt: job.customer_ref4_prompt,\n };\n const stops: AddressBookLookupData[] = job.stops.map((stop, idx) => {\n return {\n id: idx,\n city: '',\n line1: stop.address_line_1,\n line2: stop.address_line_2 || '',\n line3: '',\n warehouse: true,\n name: stop.name,\n suburb: {\n id: -1,\n name: stop.suburb,\n state: stop.state,\n postcode: stop.post_code,\n },\n note_text: stop.note_text || '',\n note_name: stop.note_name || '',\n note_phone: stop.note_phone || '',\n };\n });\n const products: JobProducts[] = Object.values(job.stops[0].pickup_products).map((product, idx) => {\n const lastIndex = product.model?.lastIndexOf(': ');\n const productName = lastIndex && lastIndex >= 0 ? product.model?.substring(lastIndex + 2) : product.model;\n return {\n id: idx,\n model: productName || '',\n model_id: product.model_id || -1,\n description: product.description || '',\n serial: product.serial || '',\n quantity: product.pieces || 1,\n from_stop: 1,\n to_stop: 2,\n runup: product.extra_options?.runup || false,\n returns: product.extra_options?.returns || '',\n extra_options: {\n runup: product.extra_options?.runup || false,\n returns: product.extra_options?.returns || '',\n runup_tasks: product.extra_options?.runup_tasks?.map(task => task.comment).join(', ') || '',\n installation: product.extra_options?.installation || 'DLVONLY',\n },\n installation: 'DLVONLY',\n weight: product.weight || 0,\n quant_id: Number(product.quant_id) || null,\n };\n });\n return {\n userData,\n stops,\n products,\n };\n}\n\n/**\n * Clones a job and navigates to the appropriate booking route based on the job's stop details.\n * The function checks if the job is a warehouse to warehouse booking or a warehouse to same warehouse booking.\n * If so, it stores the job data in local storage and routes to the corresponding page.\n * Otherwise, it maps job details to userData, stops, and products, stores them in local storage,\n * and routes to the AdvancedJB page.\n *\n * @param job - The job data from Detailed Job page.\n * @param router - The router instance for navigation.\n */\nexport function cloneJob(job: JobDetailedData | JobDetailedDataLegacy, router: VueRouter): void {\n try {\n const isWhToWhF =\n job.stops.length === 2 &&\n job.stops[0]?.is_warehouse &&\n job.stops[1]?.is_warehouse &&\n job.stops[0].name !== job.stops[1].name;\n const isWhToSameWhF =\n job.stops.length === 2 &&\n job.stops[0]?.is_warehouse &&\n job.stops[1]?.is_warehouse &&\n job.stops[0].name === job.stops[1].name;\n\n if (isWhToWhF) {\n const newJob = createJobForWhToWhBooking(job);\n const localStorageJobData = {\n userData: newJob.userData,\n stops: newJob.stops,\n products: newJob.products,\n };\n localStorage.setItem('jobDataWHToWH', JSON.stringify(localStorageJobData));\n router.push({ name: routeNames.WAREHOUSE_TO_WH_JB });\n return;\n }\n\n if (isWhToSameWhF) {\n const newJob = createJobForWhToWhBooking(job);\n const localStorageJobData = {\n userData: newJob.userData,\n stops: newJob.stops,\n products: newJob.products,\n };\n localStorage.setItem('jobDataWHSameWH', JSON.stringify(localStorageJobData));\n router.push({ name: routeNames.WAREHOUSE_SAME_WH_JB });\n return;\n }\n\n const userData = {\n customerCode: job.customer,\n caller: job.caller,\n phone_number: job.phone,\n reference1: job.reference_1,\n reference2: job.reference_2,\n reference3: job.reference_3,\n reference4: job.reference_4,\n ref1_prompt: job.customer_ref1_prompt,\n ref2_prompt: job.customer_ref2_prompt,\n ref3_prompt: job.customer_ref3_prompt,\n ref4_prompt: job.customer_ref4_prompt,\n };\n\n const stops = job.stops.map((stop, idx) => {\n return {\n id: idx,\n suburb: stop.suburb,\n suburbId: -1,\n state: stop.state,\n postCode: Number(stop.post_code),\n notesPhone: stop.note_phone,\n notesName: stop.note_name,\n notesInstruction: stop.note_text,\n warehouse: stop.is_warehouse,\n addressBookCheckbox: false,\n name: stop.name,\n address_1: stop.address_line_1,\n address_2: stop.address_line_2,\n };\n });\n\n const returnNames = {\n RECYCLE: 'Recycle',\n STORE: 'Store',\n RETURN: 'Return',\n WORKSHOP: 'Workshop',\n };\n\n const goods1: JBAdvancedWHStopProductsFull[] = Object.values(job.stops[0].pickup_products).map((product, idx) => {\n const lastIndex = product.model?.lastIndexOf(': ');\n const productName = lastIndex && lastIndex >= 0 ? product.model?.substring(lastIndex + 2) : product.model;\n return {\n id: idx,\n product_id: product.model_id,\n model: productName,\n description: product.description,\n serial_number: product.serial,\n serialNumberFilled: !!product.serial,\n statusText: '',\n quantity: product.pieces,\n from_stop: 1,\n to_stop: 2,\n weight: product.weight,\n width: product.width,\n height: product.height,\n length: product.length,\n runup: product.extra_options ? product.extra_options.runup : false,\n returnOption: '',\n returnOptionText: '',\n quant_id: product.quant_id,\n installation:\n product.extra_options && product.extra_options.installation ? product.extra_options.installation : '',\n ...(product.extra_options &&\n product.extra_options.returns && { returnOption: returnNames[product.extra_options.returns] }),\n };\n });\n let goods2: JBAdvancedWHStopProductsFull[] | null = null;\n if (Object.keys(job.stops[1].pickup_products).length) {\n goods2 = Object.values(job.stops[1].pickup_products).map((product, idx) => {\n const lastIndex = product.model?.lastIndexOf(': ');\n const productName = lastIndex && lastIndex >= 0 ? product.model?.substring(lastIndex + 2) : product.model;\n return {\n id: idx,\n product_id: product.model_id,\n model: productName,\n description: product.description,\n serial_number: product.serial,\n serialNumberFilled: !!product.serial,\n statusText: '',\n quantity: product.pieces,\n from_stop: 2,\n to_stop: 3,\n weight: product.weight,\n width: product.width,\n height: product.height,\n length: product.length,\n runup: product.extra_options ? product.extra_options.runup : false,\n returnOption: '',\n returnOptionText: '',\n quant_id: product.quant_id,\n installation:\n product.extra_options && product.extra_options.installation ? product.extra_options.installation : '',\n ...(product.extra_options &&\n product.extra_options.returns && { returnOption: returnNames[product.extra_options.returns] }),\n };\n });\n }\n let readFromIdx = 0;\n if (job.stops[0].is_warehouse && !job?.stops[2]?.is_warehouse) {\n readFromIdx = 1;\n }\n if (!job.stops[0].is_warehouse && job?.stops[1]?.is_warehouse) {\n readFromIdx = 0;\n }\n if (job.stops[0].is_warehouse && job?.stops[2]?.is_warehouse) {\n readFromIdx = 1;\n }\n const goods: JBGoodsTableDataFullFixed[] = [\n {\n tableData: goods1,\n checkboxStairs: job.stops[readFromIdx].attributes.indexOf('SSC') >= 0,\n checkboxLoadingDock: job.stops[readFromIdx].attributes.indexOf('LOW') >= 0,\n checkboxPPE: job.stops[readFromIdx].attributes.indexOf('PPE') >= 0,\n checkboxRunup: job.stops[0].pickup_products[0]?.extra_options?.runup || false,\n radioTypeGoods: 'radio',\n stairsNotes: '',\n },\n ];\n if (goods2) {\n goods.push({\n tableData: goods2,\n checkboxStairs: false,\n checkboxLoadingDock: false,\n checkboxPPE: false,\n checkboxRunup: false,\n radioTypeGoods: '',\n stairsNotes: '',\n runup: false,\n });\n }\n\n const localStorageJobData = {\n userData: userData,\n stops: stops,\n goods: goods,\n };\n localStorage.setItem('jobData', JSON.stringify(localStorageJobData));\n router.push({ name: routeNames.ADVANCED_JOB_BOOKING });\n } catch {\n notifyNetworkError({ text: 'Error when cloning jobs' });\n }\n}\n\nexport function scrollToFirstError(\n this: Vue & { $vuetify: { goTo: (el: HTMLElement, options?: { offset?: number }) => void } },\n): void {\n this.$nextTick(() => {\n const el = this.$el.querySelector('.v-messages.error--text:first-of-type') as HTMLElement | null;\n if (el) {\n this.$vuetify.goTo(el, { offset: 100 });\n }\n });\n}\n","import { AxiosError, AxiosResponse } from 'axios';\nimport { AxiosStatusResponse, StopCompleteParams } from '@/models/main';\nimport { BookingError, JobLockByUserError, JobLockError, ValidationAPIError } from '@/helpers/throwables';\nimport { JobCancelParams, JobFutileParams } from '@/models/jobDetailed';\nimport {\n JobComplianceDataFetchResponse,\n JobComplianceDriverAllocateParams,\n JobComplianceProductsDataFetchResponse,\n JobComplianceStop,\n JobComplianceStopProductData,\n JobEditCancelParams,\n JobLockResponse,\n} from '@/models/JobComplianceTypes';\nimport {\n bookJobWhToSWh,\n bookJobWhToWh,\n changeJobDate,\n completeStopFromDashboard,\n createJobStopData,\n editJobTicket,\n getAddressBookAddresses,\n getAddressLookup,\n getDashboardCustomer,\n getDashboardJobDetailed,\n getDashboardJobDetailedJob,\n getLookupProductModel,\n getLookupSuburb,\n getZammadEmailLookup,\n removeJobStop3,\n setJobAddStairs,\n setJobAllocation,\n setJobAsCancel,\n setJobAsFutile,\n setJobCustomerDetails,\n setJobEditAllocation,\n setJobEditAsCancel,\n setJobEditAsFutile,\n setJobLock,\n setJobStopData,\n setJobStopProducts,\n setJobStopServices,\n setJobUnlock,\n setScheduleStatus,\n} from '@/api';\nimport { notifyNetworkError, notifyNetworkSuccess } from '@/helpers/notifiers';\n\nimport { AddressBookLookupData } from '@/models/addressBook';\nimport { ISelectSuburb } from '@/models/jbAdvanced';\nimport { JobChangeDateParams } from '@/models/scheduler';\nimport { JobComplianceProductLookupData } from '@/models/JobComplianceTypes';\nimport { JobSchema } from '@/models/jobData';\nimport { JobTicketResponce } from '@/models/jobTicket';\nimport { isCancel } from 'axios';\nimport { sendError } from '@/helpers/sentry';\n\nexport const validateOKStatusReqConf = { validateStatus: (status: number) => status === 200 };\nexport const validateSchedulerAllocationsSuccesReqConf = { validateStatus: (status: number) => status === 201 };\nconst validateJobBookingStatusReqConf = {\n validateStatus: (status: number) => {\n return [200, 201, 400].includes(status);\n },\n};\nconst validateJobLockStatusReqConf = {\n validateStatus: (status: number) => {\n return [200, 403, 409].includes(status);\n },\n};\n\nconst validateJobEditStatusReqConf = {\n validateStatus: (status: number) => {\n return [200, 201, 400, 403, 409].includes(status);\n },\n};\n\nfunction notifyNetworkErrorDefault(err: AxiosError, title: string) {\n if (err.response?.data?.error) {\n notifyNetworkError({\n title: title,\n text: err.response?.data?.error.join(', '),\n });\n } else {\n notifyNetworkError({\n title: 'Something went wrong',\n });\n }\n}\n\nfunction getOnDetailedJobRejected(notificationTitle: string, notificationText?: string) {\n return function onDetailedJobRejected(err: AxiosError) {\n // example `err.response?.status`: 500, 404, 403, 401, 400\n if (err.response?.status === 400) {\n notifyNetworkError({ title: notificationTitle, text: notificationText });\n return null;\n }\n if (isCancel(err)) {\n return null;\n }\n throw err;\n };\n}\n\nfunction getOnReferencesParamsRejected(notificationTitle: string, notificationText?: string) {\n return function onReferencesParamsRejected(err: AxiosError) {\n if (!isCancel(err)) {\n notifyNetworkError({ title: notificationTitle, text: notificationText, duration: 3000 });\n sendError(err);\n }\n throw err;\n };\n}\n\nexport function fetchDetailedJob(jobId: number, jobDate?: string) {\n let resPromise: Promise;\n if (!jobDate) {\n resPromise = getDashboardJobDetailedJob(jobId, validateOKStatusReqConf);\n } else {\n resPromise = getDashboardJobDetailed(jobId, jobDate, validateOKStatusReqConf);\n }\n return resPromise.then(res => res.data).catch(getOnDetailedJobRejected('Error getting the job'));\n}\n\nexport async function fetchJobLock(jobId: number, jobDate: string) {\n return setJobLock(jobId, jobDate, validateOKStatusReqConf)\n .then(res => {\n return res.data as JobLockResponse;\n })\n .catch(err => {\n if (!isCancel(err)) {\n sendError(err, 'fetchJobLock');\n }\n return false;\n });\n}\n\nexport function fetchReferencesParams(customerCode: string) {\n return getDashboardCustomer(customerCode, validateOKStatusReqConf)\n .then(res => res.data)\n .catch(\n getOnReferencesParamsRejected(\n \"Error getting Customer's profile info\",\n 'Something went wrong while make a request',\n ),\n );\n}\n\n/**\n * This function is used to book a job from the warehouse to warehouse.\n * Resolves to an array with two elements:\n * - The ID of the booked job.\n * - The date of the booked job.\n * Rejects with the custom BookingError if the request status code 400.\n * If the request fails due to an unknown error, it shows a notification and throws error.\n * The catch() should come first as we throw BookingError and what to catch it in the caller function.\n */\nexport async function fetchBookJobWhToWh(jobData: JobSchema[]): Promise<(string | number)[]> {\n return await bookJobWhToWh(jobData, validateJobBookingStatusReqConf)\n .catch(err => {\n if (!isCancel(err)) {\n // If the error is due to an unknown reason, show a notification and throw the error\n notifyNetworkError({ title: 'Unknown error during job booking' });\n }\n throw err;\n })\n .then(res => {\n // If the error is due to a failed request with 400 status, return an array with the error reason\n if (res.status === 400 && res.data.failed.length > 0) {\n throw new BookingError(res.data.failed[0].error_reason);\n }\n return [res.data.booked[0].rh_id, res.data.booked[0].rh_date];\n });\n}\n\n/**\n * This function is used to book a job from the warehouse to SAME warehouse.\n * Resolves to an array with two elements:\n * - The ID of the booked job.\n * - The date of the booked job.\n * Rejects with the custom BookingError if the request status code 400.\n * If the request fails due to an unknown error, it shows a notification and throws error.\n * The catch() should come first as we throw BookingError and what to catch it in the caller function.\n */\nexport async function fetchBookJobWhToSameWh(jobData: JobSchema[]): Promise<(string | number)[]> {\n return await bookJobWhToSWh(jobData, validateJobBookingStatusReqConf)\n .catch(err => {\n if (!isCancel(err)) {\n // If the error is due to an unknown reason, show a notification and throw the error\n notifyNetworkError({ title: 'Unknown error during job booking' });\n }\n throw err;\n })\n .then(res => {\n // If failed request with 400 status, return the error reason\n if (res.status === 400 && res.data.failed.length > 0) {\n throw new BookingError(res.data.failed[0].error_reason);\n }\n return [res.data.booked[0].rh_id, res.data.booked[0].rh_date];\n });\n}\n\nexport async function fetchGetAddressBookAddresses(params) {\n const notificationTitle = 'Error getting the Address Book';\n return getAddressBookAddresses(params, validateOKStatusReqConf)\n .then(res => res.data)\n .catch(err => {\n if (!isCancel(err)) {\n notifyNetworkError({ title: notificationTitle });\n }\n throw err;\n });\n}\n\nexport async function fetchGetLookupSuburb(params): Promise {\n const notificationTitle = 'Error getting the Suburb';\n return getLookupSuburb(params, validateOKStatusReqConf)\n .then(res => res.data)\n .catch(err => {\n if (!isCancel(err)) {\n notifyNetworkError({ title: notificationTitle });\n }\n throw err;\n });\n}\n\nexport async function fetchGetLookupProductModel(params): Promise {\n const notificationTitle = 'Error getting the Model';\n return getLookupProductModel(params, validateOKStatusReqConf)\n .then(res => {\n const items: JobComplianceProductLookupData[] = res.data;\n return items.map(item => item.name);\n })\n .catch(err => {\n if (!isCancel(err)) {\n notifyNetworkError({ title: notificationTitle });\n }\n throw err;\n });\n}\n\n// Complete stop\nexport async function fetchCompleteStop(\n action: string,\n params: StopCompleteParams,\n): Promise {\n return completeStopFromDashboard(action, params)\n .then(res => {\n if (res?.data.Result === 'Stop sent') {\n notifyNetworkSuccess({ text: 'The job was completed successfully' });\n }\n return res?.data;\n })\n .catch(err => {\n if (!isCancel(err)) {\n notifyNetworkError({ title: 'Failed to complete the job' });\n }\n throw err;\n });\n}\n\nexport async function fetchSetJobEditAllocation(\n rockhopper_id: number,\n rockhopper_date: string,\n params: JobComplianceDriverAllocateParams,\n): Promise {\n return setJobEditAllocation(rockhopper_id, rockhopper_date, params)\n .then(() => {\n switch (params.action) {\n case 'deallocate':\n case 'deallocate_driv':\n notifyNetworkSuccess({ text: 'The deallocation was successful' });\n break;\n case 'preallocate':\n notifyNetworkSuccess({ text: 'The pre-allocation was successful' });\n break;\n case 'allocate':\n notifyNetworkSuccess({ text: 'The allocation was successful' });\n break;\n default:\n notifyNetworkSuccess({ text: `The \"${params.action}\" was successful` });\n }\n return {\n status: 'ok',\n error: '',\n };\n })\n .catch(err => {\n if (!isCancel(err)) {\n switch (err.response?.status) {\n case 400:\n notifyNetworkError({ title: err.response.data || 'Something went wrong' });\n return {\n status: 'error',\n error: err.response?.data?.error,\n };\n case 403:\n return {\n status: 'editing',\n };\n case 404:\n notifyNetworkError({ title: 'Job not found' });\n return {\n status: 'error',\n error: 'Job not found',\n };\n case 409:\n return {\n status: 'unlocked',\n };\n }\n notifyNetworkError({ title: err.response?.data?.error || 'Something went wrong' });\n return {\n status: 'error',\n error: err.response?.data?.error || 'Something went wrong',\n };\n }\n throw err;\n });\n}\n\n// Split to base\nexport async function fetchSetJobStatusSplitToBase(params: JobComplianceDriverAllocateParams): Promise {\n return setJobAllocation(params)\n .then(res => {\n notifyNetworkSuccess({ text: 'The job was successfully split to base' });\n return res.data;\n })\n .catch(err => {\n if (!isCancel(err)) {\n err.response?.status === 400\n ? notifyNetworkError({ text: err.response.data })\n : notifyNetworkError({ title: 'Error when splitting to base' });\n }\n throw err;\n });\n}\n\nexport async function fetchZammadEmailLookup(value: string, signal: AbortSignal): Promise {\n return getZammadEmailLookup(value, signal).then(res => {\n return res.data;\n });\n}\n\nfunction handleJobEditResponse(res: any, success_text) {\n switch (res.status) {\n case 400:\n return {\n status: 'error',\n error: res.data.error,\n };\n case 403:\n return {\n status: 'editing',\n };\n case 404:\n return {\n status: 'error',\n error: 'Job not found',\n };\n case 409:\n return {\n status: 'unlocked',\n };\n case 200:\n notifyNetworkSuccess({ text: success_text });\n return {\n status: 'ok',\n data: res.data,\n };\n case 201:\n notifyNetworkSuccess({ text: success_text });\n return {\n status: 'ok',\n job: res.data,\n };\n default:\n return {\n status: 'ok',\n };\n }\n}\n\nexport async function fetchSetJobCustomerDetails(\n rockhopper_id: number,\n rockhopper_date: string,\n diff,\n): Promise {\n return setJobCustomerDetails(rockhopper_id, rockhopper_date, diff, validateJobEditStatusReqConf)\n .catch(err => {\n if (!isCancel(err)) {\n const error_text = err.response?.data?.error || 'Something went wrong';\n notifyNetworkError({ text: error_text });\n }\n throw err;\n })\n .then(res => {\n return handleJobEditResponse(res, 'The customer details were successfully updated');\n });\n}\n\nexport async function fetchCreateJobStopData(\n rockhopper_id: number,\n rockhopper_date: string,\n stop_number: number,\n diff,\n): Promise {\n return createJobStopData(rockhopper_id, rockhopper_date, stop_number, diff)\n .catch(err => {\n if (!isCancel(err)) {\n const error_text = err.response?.data?.error || 'Something went wrong';\n notifyNetworkError({ text: error_text });\n }\n throw err;\n })\n .then(res => {\n return handleJobEditResponse(res, 'Stop data created successfully');\n });\n}\n\nexport async function fetchSetJobStopData(\n rockhopper_id: number,\n rockhopper_date: string,\n stop_number: number,\n diff,\n): Promise {\n return setJobStopData(rockhopper_id, rockhopper_date, stop_number, diff, validateJobEditStatusReqConf)\n .catch(err => {\n if (!isCancel(err)) {\n const error_text = err.response?.data?.error || 'Something went wrong';\n notifyNetworkError({ text: error_text });\n }\n throw err;\n })\n .then(res => {\n return handleJobEditResponse(res, 'Stop data updated successfully');\n });\n}\nexport async function fetchSetJobStopProductData(\n rockhopper_id: number,\n rockhopper_date: string,\n stop_number: number,\n diff,\n): Promise {\n return setJobStopProducts(rockhopper_id, rockhopper_date, stop_number, diff, validateJobEditStatusReqConf)\n .catch(err => {\n if (!isCancel(err)) {\n const error_text = err.response?.data?.error || 'Something went wrong';\n notifyNetworkError({ text: error_text });\n }\n throw err;\n })\n .then(res => {\n return handleJobEditResponse(res, 'Product data updated successfully');\n });\n}\n\nexport async function fetchSetJobStopServiceCodesData(\n rockhopper_id: number,\n rockhopper_date: string,\n stop_number: number,\n diff,\n): Promise {\n return setJobStopServices(rockhopper_id, rockhopper_date, stop_number, diff, validateJobEditStatusReqConf)\n .catch(err => {\n if (!isCancel(err)) {\n const error_text = err.response?.data?.error || 'Something went wrong';\n notifyNetworkError({ text: error_text });\n }\n throw err;\n })\n .then(res => {\n return handleJobEditResponse(res, 'Service codes updated successfully');\n });\n}\n\n/**\n * @desc\n * Custom error interface for the 400 status code.\n * @example\n * { \"non_field_errors\": [\"Job is not allocated\"] }\n * { \"driver\": [\"Driver field is required\"] }\n */\ninterface customAPIError400 {\n [key: string]: string[];\n}\n\n/**\n * @desc\n * Handles the error response for the job edit requests.\n */\nfunction handleJobEditErrorResponse(err: AxiosError) {\n switch (err.response?.status) {\n case 400:\n // We show only the first error message as usually there is only one\n // error message in the response. See customAPIError400 type example above.\n notifyNetworkError({ text: Object.values(err.response.data)[0][0] });\n break;\n case 403:\n notifyNetworkError({ text: 'Job is editing by another user' });\n break;\n case 404:\n notifyNetworkError({ text: 'Job not found' });\n break;\n case 409:\n notifyNetworkError({ text: 'Job must be locked, before trying to edit it' });\n break;\n default:\n notifyNetworkError({ text: err.response?.data?.error.join(', ') || 'Something went wrong' });\n }\n throw err;\n}\n\nexport async function fetchAddStairsService(\n rockhopper_id: number,\n rockhopper_date: string,\n stop_number: number,\n): Promise {\n return setJobAddStairs(rockhopper_id, rockhopper_date, stop_number)\n .then(res => {\n if (res.status === 201) {\n notifyNetworkSuccess({ text: 'Stairs service has been successfully added' });\n return true;\n }\n return false;\n })\n .catch(err => {\n if (!isCancel(err)) {\n handleJobEditErrorResponse(err);\n }\n throw err;\n });\n}\n\n/**\n * Fetches the endpoint to set the job status as \"Futile\".\n *\n * @param {JobFutileParams} params - An object with the key `reason` and a value with the text of this reason\n * @returns {Promise} A promise that resolves to the response data\n */\nexport async function fetchSetJobAsFutile(params: JobFutileParams): Promise {\n return setJobAsFutile(params, validateOKStatusReqConf)\n .then(res => {\n notifyNetworkSuccess({ text: 'The job was successfully closed as futile' });\n return res.data;\n })\n .catch(err => {\n if (!isCancel(err)) {\n if (err.response?.status === 400 && err.response.data.non_field_errors[0] === 'Not allocated') {\n notifyNetworkError({ text: 'The job is not allocated' });\n } else {\n notifyNetworkError({ title: 'Error when closing a job as futile' });\n }\n }\n throw err;\n });\n}\n\n// Cancel the job\nexport async function fetchSetJobCancel(params: JobCancelParams): Promise {\n return setJobAsCancel(params, validateOKStatusReqConf)\n .catch(err => {\n if (!isCancel(err)) {\n if (err.response?.status === 400) {\n notifyNetworkError({\n text: err.response.data.non_field_errors[0]\n ? err.response.data.non_field_errors[0]\n : 'The job is not allocated',\n });\n } else {\n notifyNetworkError({ title: 'Error when canceling a job' });\n }\n }\n throw err;\n })\n .then(res => {\n notifyNetworkSuccess({ text: 'The job was successfully canceled' });\n return res.data;\n });\n}\n\nexport async function fetchSetTicketState(ticketData, state: string, state_id: number): Promise {\n const notificationTitle = 'Error closing the ticket';\n const newTicketData: JobTicketResponce = { ...ticketData, state: state, state_id: state_id };\n\n return await editJobTicket(newTicketData)\n .then(res => {\n return res;\n })\n .catch(err => {\n if (!isCancel(err)) {\n notifyNetworkError({ title: notificationTitle });\n }\n throw err;\n });\n}\n\nexport async function fetchGetAddressLookup(code: string): Promise {\n return await getAddressLookup(code)\n .then(res => {\n return res.data;\n })\n .catch(err => {\n if (!isCancel(err)) {\n notifyNetworkError({ title: 'An error occurred while receiving addresses' });\n }\n throw err;\n });\n}\n\n/**\n * Fetches the endpoint to lock the job.\n *\n * @param id - rockhopper_id\n * @param date - rockhopper_date\n */\nexport async function fetchSetJobLock(id: number, date: string): Promise {\n return await setJobLock(id, date, validateJobLockStatusReqConf)\n .catch(err => {\n if (!isCancel(err)) {\n handleJobEditErrorResponse(err);\n }\n throw err;\n })\n .then(res => {\n // If Job is locked by Rockhopper or Scheduler app it will return an error text with\n // the name of the user/application by which job was locked.\n if (res.status === 409) {\n notifyNetworkError({ text: res.data.error || 'Something went wrong' });\n throw new JobLockError(res.data.error as string);\n }\n if (res.status === 403) {\n const user = res.data.locked_by ?? 'unknown';\n notifyNetworkError({ text: 'Job is editing by another user: ' + user });\n throw new JobLockByUserError(user);\n }\n return res.data;\n });\n}\n\n/**\n * Fetches the endpoint to unlock the job.\n *\n * @param id - rockhopper_id\n * @param date - rockhopper_date\n */\nexport async function fetchJobUnlock(id: number, date: string): Promise {\n return await setJobUnlock(id, date)\n .then(res => res.data)\n .catch(err => {\n if (!isCancel(err)) {\n // If the error is due to an unknown reason, show a notification and throw the error\n sendError(err, 'fetchJobUnlock');\n }\n throw err;\n });\n}\n\n/**\n * Fetches the endpoint to set the job as \"futile\".\n *\n * @param id - rockhopper_id\n * @param date - rockhopper_date\n * @param params – An object with the key `reason`\n */\nexport async function fetchSetJobEditAsFutile(\n id: number,\n date: string,\n params: { [key: string]: string },\n): Promise {\n return await setJobEditAsFutile(id, date, params, validateOKStatusReqConf)\n .then(res => {\n notifyNetworkSuccess({ text: 'The job was successfully closed as futile' });\n return res.data;\n })\n .catch(err => {\n if (!isCancel(err)) {\n // In case of validation error (status 400) we need to throw a custom error\n // to allow component to handle it properly. Most of the time should send `unlock`.\n if (err.response?.status === 400) {\n const msg = (Object.values(err.response?.data as customAPIError400)[0] as string[])[0];\n throw new ValidationAPIError(msg);\n }\n handleJobEditErrorResponse(err);\n }\n throw err;\n });\n}\n\n/**\n * Fetches the endpoint to \"cancel\" the job.\n *\n * @param id - rockhopper_id\n * @param date - rockhopper_date\n * @param params - An object with the keys `name` and `reason`\n */\nexport async function fetchSetJobEditCancel(id: number, date: string, params: JobEditCancelParams): Promise {\n return await setJobEditAsCancel(id, date, params, validateOKStatusReqConf)\n .then(res => {\n notifyNetworkSuccess({ text: 'The job was successfully canceled' });\n return res.data;\n })\n .catch(err => {\n if (!isCancel(err)) {\n // In case of validation error (status 400) we need to throw a custom error\n // to allow component to handle it properly. Most of the time should send `unlock`.\n if (err.response?.status === 400) {\n const msg = (Object.values(err.response?.data as customAPIError400)[0] as string[])[0];\n throw new ValidationAPIError(msg);\n }\n handleJobEditErrorResponse(err);\n }\n throw err;\n });\n}\n\n/**\n * Fetches the endpoint to set the job status as \"Split to Base\". Used in the JobEdit modal window.\n *\n * @param id - rockhopper_id\n * @param date - rockhopper_date\n * @param params - An object with the keys `action`, `driver`,\n * `base` and `stop_number`\n */\nexport async function fetchSetJobEditStatusSplitToBase(\n id: number,\n date: string,\n params: JobComplianceDriverAllocateParams,\n) {\n return await setJobEditAllocation(id, date, params)\n .then(res => {\n notifyNetworkSuccess({ text: 'The job was successfully split to base' });\n return res.data;\n })\n .catch(err => {\n if (!isCancel(err)) {\n // In case of validation error (status 400) we need to throw a custom error\n // to allow component to handle it properly. Most of the time should send `unlock`.\n if (err.response?.status === 400) {\n const msg = (Object.values(err.response?.data as customAPIError400)[0] as string[])[0];\n throw new ValidationAPIError(msg);\n }\n handleJobEditErrorResponse(err);\n }\n throw err;\n });\n}\n\n/**\n * Fetches the endpoint to delete the 3rd stop. Used in the JobEdit modal window.\n *\n * @param id - rockhopper_id\n * @param date - rockhopper_date\n * @param stop_number\n * @param params - An object (could be empty)\n */\nexport async function fetchRemove3rdStop(\n id: number,\n date: string,\n stop_number: number,\n params,\n): Promise {\n return await removeJobStop3(id, date, stop_number, params)\n .then(res => {\n notifyNetworkSuccess({ text: 'The third stop was successfully deleted' });\n return res.data;\n })\n .catch(err => {\n if (!isCancel(err)) {\n // In case of validation error (status 400) we need to throw a custom error\n // to allow component to handle it properly. Most of the time should send `unlock`.\n if (err.response?.status === 400) {\n const msg = (Object.values(err.response?.data as customAPIError400)[0] as string[])[0];\n throw new ValidationAPIError(msg);\n }\n handleJobEditErrorResponse(err);\n }\n throw err;\n });\n}\n\n/**\n * Fetches the endpoint to change the \"Can Schedule\" status of the job, It is called\n * by a toggles on the JobDetail page and in the JobEdit modal window.\n *\n * @param value - \"Can Schedule\" toggle new value\n * @param id - rockhopper_id\n * @param date - rockhopper_date\n */\nexport async function fetchCanScheduleChange(\n value: boolean,\n id: number,\n date: string,\n): Promise {\n return await setScheduleStatus(value, id, date)\n .then(res => {\n notifyNetworkSuccess({ text: 'Successfully changed the \"Can schedule\" status' });\n return res.data;\n })\n .catch(err => {\n if (!isCancel(err)) {\n if (err.response?.status === 403) {\n // If the job is locked by another user, we need to show a notification\n notifyNetworkError({ text: err.response?.data?.error });\n } else {\n notifyNetworkErrorDefault(err, 'Error changing the schedule status');\n }\n }\n throw err;\n });\n}\n","import Vue from 'vue';\nimport { notificationErrorText } from '@/utils/PortalConstants';\n\ninterface NotifyOptions {\n group?: string;\n title?: string;\n text?: string;\n type?: string;\n duration?: number;\n}\n\nconst paramsDefault = {\n group: 'network',\n title: '',\n text: notificationErrorText,\n type: 'warn',\n duration: -1,\n};\n\nexport function showNotification(params: NotifyOptions) {\n const newParams = { ...paramsDefault, ...params };\n Vue.notify(newParams);\n}\n\nexport function notifyNetworkError(notifyOptions: NotifyOptions) {\n showNotification({ ...notifyOptions, ...{ type: 'warn' } });\n}\n\nexport function notifyNetworkSuccess(notifyOptions: NotifyOptions) {\n showNotification({ ...{ type: 'success', duration: 3000 }, ...notifyOptions });\n}\n","import * as Sentry from '@sentry/vue';\n\nexport function sendError(err: unknown, msg?: string, extra?: unknown): void {\n if (process.env.NODE_ENV === 'development') {\n console.debug(msg, err);\n }\n Sentry.withScope(scope => {\n scope.setLevel('error');\n if (msg) {\n // using Breadcrumb gives you a better UI\n // extra is still supported for legacy reasons, so Sentry still doesn't deprecate it in this major version.\n scope.addBreadcrumb({\n type: 'error',\n message: msg,\n category: 'error',\n });\n }\n if (extra) {\n scope.setExtra('extra', extra);\n }\n Sentry.captureException(err);\n });\n}\n\nexport function sendWarning(err: unknown, msg?: string, extra?: unknown): void {\n if (process.env.NODE_ENV === 'development') {\n console.debug(msg, err);\n }\n Sentry.withScope(scope => {\n scope.setLevel('warning');\n if (msg) {\n // using Breadcrumb gives you a better UI\n // extra is still supported for legacy reasons, so Sentry still doesn't deprecate it in this major version.\n scope.addBreadcrumb({\n type: 'warning',\n message: msg,\n category: 'warning',\n });\n }\n if (extra) {\n scope.setExtra('extra', extra);\n }\n Sentry.captureException(err);\n });\n}\n","/**\n * Custom error class for booking errors.\n */\nexport class BookingError extends Error {\n constructor(message: string) {\n super(message);\n this.name = 'BookingError';\n }\n}\n/**\n * @desc\n * Custom error class for job lock errors.\n * Mostly used for HTTP 409 errors.\n */\nexport class JobLockError extends Error {\n constructor(message: string) {\n super(message);\n this.name = 'JobLockError';\n }\n}\n/**\n * @desc\n * Custom error class for job lock by user errors.\n * Mostly used for HTTP 403 errors.\n */\nexport class JobLockByUserError extends Error {\n constructor(message: string) {\n super(message);\n this.name = 'JobLockByUserError';\n }\n}\n\n/**\n * @desc\n * Custom error class for validation errors.\n * Mostly used for HTTP 400 errors.\n */\nexport class ValidationAPIError extends Error {\n constructor(message: string) {\n super(message);\n this.name = 'ValidationAPIError';\n }\n}\n\n/**\n * @desc\n * Custom error class for **handled** Scheduler errors.\n * Mostly used for HTTP 400 errors.\n */\nexport class HandledBoardAPIError extends Error {\n constructor(message: string) {\n super(message);\n this.name = 'HandledBoardAPIError';\n }\n}\n","import { Ability } from '@casl/ability';\n/**\n * doc https://github.com/stalniy/casl/tree/master/packages/casl-vue\n */\nimport { abilitiesPlugin } from '@casl/vue';\nimport Vue from 'vue';\n\nconst ability = new Ability();\nVue.use(abilitiesPlugin, ability);\n","import posthog from 'posthog-js';\nimport axios from 'axios';\n\nexport default {\n async install(Vue, options) {\n if (process.env.VUE_APP_SENTRY_ON !== 'false') {\n const ph_project_api_key = process.env.VUE_APP_PH_PROJECT_API_KEY as string;\n const api_host = process.env.VUE_APP_PH_INSTANCE_ADDRESS as string;\n\n try {\n const response = await axios.get(api_host);\n if (response.status === 200) {\n Vue.prototype.$posthog = posthog.init(ph_project_api_key, {\n api_host: api_host,\n });\n } else {\n console.error('Posthog server is down');\n }\n } catch (error) {\n console.error('Failed to reach Posthog server:', error);\n }\n }\n },\n};\n","import Vue from 'vue';\nimport Vuetify from 'vuetify/lib';\n\nVue.use(Vuetify);\n\nexport default new Vuetify({\n theme: {\n themes: {\n light: {\n primary: '#9c8cff',\n secondary: '#c1b7fe',\n accent: '#ffb978',\n error: '#ff5f5f',\n base: '#9c8cff',\n lighten2: '#f3f1ff',\n lighten1: '#e4dfff',\n darken1: '#777777',\n darken2: '#9c8cff',\n darken3: '#808080',\n darken4: '#e5e5e5',\n darken5: '#f5f5f5',\n 'darken-2': '#9c8cff',\n purple: '#9c8cff',\n 'purple-light': '#e4dfff',\n 'purple-lighter': '#f3f1ff',\n green: '#1ca021',\n 'green-light': '#4caf50',\n gray: '#cecece',\n orange: '#fd881b',\n 'red-light': '#ff5f5f',\n },\n },\n },\n});\n","import * as routeNames from '@/router/routeNames';\n\nimport { RouterError } from '@/models/main';\nimport Vue from 'vue';\nimport VueRouter from 'vue-router';\nimport { getVersion } from '@/api';\nimport { isNumeric } from '@/utils/Common';\nimport posthog from 'posthog-js';\nimport store from '@/store';\n\nVue.use(VueRouter);\n\nconst router = new VueRouter({\n mode: 'history',\n base: '/',\n routes: [\n {\n path: '/login',\n name: routeNames.LOGIN,\n meta: {\n layout: 'initial',\n isPublic: true,\n title: 'Login form',\n },\n component: () => import('@/views/Login.vue'),\n },\n {\n name: routeNames.HOME,\n path: '/home',\n meta: { layout: 'default', title: 'Home page' },\n component: () => import('@/views/Homepage/HomePage.vue'),\n },\n {\n name: routeNames.JOBS,\n path: '/dash',\n meta: { title: 'Dashboard', layout: 'default' },\n component: () => import('@/views/Dashboard/Dashboard.vue'),\n },\n {\n name: routeNames.DEFAULT,\n path: '/',\n meta: { layout: 'default' },\n redirect: { path: '/home' },\n },\n {\n name: routeNames.JOBS_TV,\n path: '/dash-tv',\n meta: { title: 'Dashboard TV', layout: 'default' },\n component: () => import('@/views/Dashboard/Dashboard.vue'),\n },\n {\n name: routeNames.BFIX_DASH,\n path: '/dash-bfix',\n meta: { title: 'BFIX Dash', layout: 'default' },\n component: () => import('@/views/BfixDashboard/BfixDash.vue'),\n },\n {\n name: routeNames.AIR_ROAD_JOBS,\n path: '/airroad/jobs',\n meta: { title: 'Air Road jobs', layout: 'default' },\n component: () => import('@/views/AirRoad/AirRoadJobs.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.AIR_ROAD_BOOKED,\n path: '/airroad/booked',\n meta: { title: 'Air Road booked', layout: 'default' },\n component: () => import('@/views/AirRoad/AirRoadBooked.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.JOB_TICKETS,\n path: '/tickets',\n meta: { title: 'Job tickets', layout: 'default' },\n component: () => import('@/views/TicketsDashboard.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.JOB_BOOKING,\n path: '/jobbooking',\n meta: { title: 'Job booking', layout: 'default' },\n component: () => import('@/views/JobBooking/JobBooking.vue'),\n },\n {\n name: routeNames.PARCEL_JOB_BOOKING,\n path: '/jobbooking/general',\n meta: { title: 'Parcel / Job booking', layout: 'default' },\n component: () => import('@/views/JobBooking/JobBookingGeneral.vue'),\n },\n {\n path: '',\n component: () => import('@/views/JobbookingView.vue'),\n children: [\n {\n name: routeNames.NEW_JOB_BOOKING,\n path: '/jobbooking/new',\n meta: { title: 'New / Job Booking', subtitle: 'Create a job', layout: 'default' },\n component: () => import('@/views/JobBooking/NewJobbookingView.vue'),\n },\n {\n name: routeNames.CLONE_JOB_BOOKING,\n path: '/jobbooking/clone',\n meta: { title: 'Clone / Job Booking', subtitle: 'Clone a job', layout: 'default' },\n component: () => import('@/views/JobBooking/CloneJobbookingView.vue'),\n props: route => {\n return {\n jobId: Number(route.query.job_id),\n jobDate: route.query.job_date,\n };\n },\n },\n ],\n },\n {\n name: routeNames.ADVANCED_JOB_BOOKING,\n path: '/jobbooking/advanced',\n meta: { title: 'Advanced / Job booking', layout: 'default' },\n component: () => import('@/views/JobBooking/JobBookingAdvanced/JobBookingAdvanced.vue'),\n },\n {\n name: routeNames.WAREHOUSE_SAME_WH_JB,\n path: '/jobbooking/warehouse',\n meta: { title: 'Warehouse to same warehouse / Job booking', layout: 'default', isSameWH: true },\n component: () => import('@/views/JobBooking/JobBookingAdvanced/JobBookingWarehouseToWarehouse.vue'),\n },\n {\n name: routeNames.WAREHOUSE_TO_WH_JB,\n path: '/jobbooking/warehouse-to-warehouse',\n meta: { title: 'Warehouse to warehouse / Job booking', layout: 'default', isSameWH: false },\n component: () => import('@/views/JobBooking/JobBookingAdvanced/JobBookingWarehouseToWarehouse.vue'),\n },\n {\n name: routeNames.SITE_INSPECTION_JOB_BOOKING,\n path: '/jobbooking/site-inspection',\n meta: { title: 'Site Inspection / Job booking', layout: 'default' },\n component: () => import('@/views/JobBooking/JobBookingSiteInspection/JobBookingSiteInspection.vue'),\n },\n {\n name: routeNames.DRAFT_ADVANCED_JOB_BOOKING,\n path: '/jobbooking/advanced/draft/:id',\n meta: { title: 'Draft / Advanced / Job booking', layout: 'default' },\n component: () => import('@/views/JobBooking/JobBookingAdvanced/JobBookingAdvanced.vue'),\n },\n {\n name: routeNames.SPREADSHEET_JOB_BOOKING,\n path: '/jobbooking/spreadsheet',\n meta: { title: 'Spreadsheet / Job booking', layout: 'default' },\n component: () => import('@/views/JobBooking/SpreadSheet/SpreadSheet.vue'),\n },\n {\n name: routeNames.SPREADSHEET_B2B_BOOKING,\n path: '/jobbooking/b2b-spreadsheet',\n meta: { title: 'Spreadsheet / B2B booking', layout: 'default' },\n component: () => import('@/views/JobBooking/SpreadSheet/SpreadSheetB2B.vue'),\n },\n {\n name: routeNames.SEARCH,\n path: '/search',\n meta: { title: 'Search', layout: 'default' },\n component: () => import('@/views/SearchPage/SearchPage.vue'),\n },\n {\n name: routeNames.SEARCH_POSTCODE,\n path: '/search-postcode',\n meta: { title: 'Search Postcode', layout: 'default' },\n component: () => import('@/views/SearchPostcode/SearchPostcode.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.DRAFT_JOB_BOOKING,\n path: '/jobbooking/drafts',\n meta: { title: 'Draft / Job booking', layout: 'default' },\n component: () => import('@/views/JobBooking/Drafts/Drafts.vue'),\n },\n {\n name: routeNames.TECHNICIANS,\n path: '/technicians',\n meta: { title: 'Technicians', layout: 'default' },\n component: () => import('@/views/Technicians/Technicians.vue'),\n },\n {\n name: routeNames.TECHNICIANS_CATALOG,\n path: '/technicians/catalog',\n meta: { title: 'Technicians catalog', layout: 'default' },\n component: () => import('@/views/Technicians/TechniciansCatalog.vue'),\n },\n {\n name: routeNames.WAREHOUSE_QUANT_PAGE,\n path: '/jobbooking/quants',\n meta: { title: 'Warehouse / Quant page', layout: 'default' },\n component: () => import('@/views/Warehouse/QuantPage.vue'),\n },\n // Detailed job by rh_id\n {\n name: routeNames.DETAILED_PARAM_JOB,\n path: '/job/:id',\n meta: { title: 'Job Detailed', layout: 'default' },\n component: () => import('@/views/JobDetailed/JobDetailed.vue'),\n },\n {\n name: routeNames.DETAILED_QUERY_JOB,\n path: '/detailed-job',\n // TODO: Should we make a unique title?\n meta: { title: 'Job Detailed', layout: 'default' },\n component: () => import('@/views/JobDetailed/JobDetailed.vue'),\n props: route => {\n if (route.query.job_pattern && typeof route.query.job_pattern === 'string') {\n return {\n // 123456-2022-01-01\n // TODO: Maybe make a redirect to job_id+job_date path?\n jobId: route.query.job_pattern.split('-')[0],\n jobDate: route.query.job_pattern.split('-').slice(-3).join('-'),\n };\n } else {\n return {\n jobId: JSON.parse(route.query.job_id as string),\n jobDate: route.query.job_date,\n };\n }\n },\n },\n {\n name: routeNames.TICKET_FROM_THE_SERVICE_DESK,\n path: '/job/external/:id',\n meta: { title: 'Service desk ticket from', layout: 'default' },\n redirect: to => {\n const ids = to.path.split('/job/external/')[1];\n // Multiple IDs\n if (ids.indexOf(',') >= 0) {\n // Redirect to the Error page if some word isn't a number\n const hasInvalidNumber = ids.split(',').some(id => {\n if (!isNumeric(id)) {\n return true;\n }\n return false;\n });\n if (hasInvalidNumber) {\n return { path: '/error' };\n }\n // Redirect to the Search page\n return { path: '/search', query: { job_id: ids } };\n }\n // Single ID\n return { path: `/job/${ids}` };\n },\n },\n {\n name: routeNames.SERVICE_DESK_TICKET,\n path: '/job/ticket/:id',\n meta: { title: 'Service desk ticket', layout: 'default' },\n component: () => import('@/views/JobDetailed/ZammadTicketPage.vue'),\n },\n {\n name: routeNames.LIST_QUOTES,\n path: '/quotes/list',\n meta: { title: 'Quotes', layout: 'default' },\n component: () => import('@/views/Quotes/Quotes.vue'),\n },\n {\n name: routeNames.NEW_QUOTE,\n path: '/quotes/new',\n meta: { title: 'New quote', layout: 'default' },\n component: () => import('@/views/NewQuote/NewQuote.vue'),\n },\n {\n name: routeNames.DETAILED_QUOTE,\n path: '/quotes/:id',\n meta: { title: 'Detailed quote', layout: 'default' },\n component: () => import('@/views/QuotesDetailed/QuotesDetailed.vue'),\n },\n {\n name: routeNames.SCHEDULER_BOARD,\n path: '/scheduler/board/:division/:date',\n meta: { title: 'Scheduler board', layout: 'default' },\n component: () => import('@/views/Scheduler/Board/SchedulerBoard.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.SCHEDULER_BOARD_LOGS,\n path: '/scheduler/board/:division/:date/logs',\n meta: { title: 'Scheduler board logs', layout: 'default' },\n component: () => import('@/views/Scheduler/Logs/SchedulerBoardLogs.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.SCHEDULER,\n path: '/scheduler/:date?',\n meta: { title: 'Scheduler', layout: 'default' },\n component: () => import('@/views/Scheduler/Cards/SchedulerCards.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.SCHEDULER_SHIFTS,\n path: '/scheduler/shifts/:date?',\n meta: { title: 'Scheduler Shifts', layout: 'default' },\n component: () => import('@/views/Scheduler/Shifts/Shifts.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.PROFILE,\n path: '/profile',\n meta: { title: 'Profile', layout: 'default' },\n component: () => import('@/views/Profile/Profile.vue'),\n },\n {\n name: routeNames.ADDRESS_BOOK,\n path: '/user/address-book',\n meta: { title: 'Address Book', layout: 'default' },\n component: () => import('@/views/User/AddressBook.vue'),\n },\n {\n name: routeNames.REPORTS,\n path: '/reports/reports',\n meta: { title: 'Reports', layout: 'default' },\n component: () => import('@/views/Reports/BulkReports/BulkReports.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.RUN_SHEET,\n path: '/reports/runsheet',\n meta: { title: 'Run Sheet', layout: 'default' },\n component: () => import('@/views/Reports/RunSheet/RunSheet.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.KPI_REPORT,\n path: '/reports/kpi',\n meta: { title: 'KPI Report', layout: 'default' },\n component: () => import('@/views/Reports/KPI/KPI.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.DRIVER_REPORT,\n path: '/reports/driver',\n meta: { title: 'Driver Report', layout: 'default' },\n component: () => import('@/views/Reports/Driver/Driver.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.TOMORROW_REPORT,\n path: '/reports/tomorrow',\n meta: { title: 'Tomorrow Report', layout: 'default' },\n component: () => import('@/views/Reports/Tomorrow/Tomorrow.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.WEEKLY_STATS_REPORT,\n path: '/reports/weekly-stats',\n meta: { title: 'Weekly Stats Report', layout: 'default' },\n component: () => import('@/views/Reports/Stats/Stats.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.AM_PM_JOBS,\n path: '/reports/am-pm-job',\n meta: { title: 'AM/PM Jobs', layout: 'default' },\n component: () => import('@/views/Reports/DailyJobs/DailyJobs.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.ETA_REPORT,\n path: '/reports/eta',\n meta: { title: 'ETA Report', layout: 'default' },\n component: () => import('@/views/Reports/ETAReport/ETA.vue'),\n },\n {\n name: routeNames.TRANSFERS,\n path: '/reports/transfers',\n meta: { title: 'Transfers Report', layout: 'default' },\n component: () => import('@/views/Reports/Transfers/Transfers.vue'),\n },\n {\n name: routeNames.BOOKED_JOBS,\n path: '/jobbooking/booked',\n meta: { title: 'Booked Jobs', layout: 'default' },\n component: () => import('@/views/JobsBooked/JobsBooked.vue'),\n },\n {\n name: routeNames.SUBURBS,\n path: '/suburbs',\n meta: { title: 'Suburbs', layout: 'default' },\n component: () => import('@/views/Suburbs/Suburbs.vue'),\n },\n {\n name: routeNames.MAILBOX_TEST,\n path: '/test/mailbox',\n meta: { title: 'Mailbox Test', layout: 'default' },\n component: () => import('@/views/Test/Mailbox.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.LOCATIONS,\n path: '/locations',\n meta: { title: 'Locations', layout: 'default' },\n component: () => import('@/views/Location/Location.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.NEXT_DAY_STOPS,\n path: '/next-day-stops',\n meta: { title: 'Next Day Stops', layout: 'default' },\n component: () => import('@/views/Location/NextDayMap.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.JOBHISTORY,\n path: '/job-history',\n meta: { title: 'Job History', layout: 'default' },\n component: () => import('@/views/JobDetailed/JobHistory.vue'),\n beforeEnter(to, from, next) {\n checkPermissions(to, next);\n },\n },\n {\n name: routeNames.INITIAL_ERROR,\n path: '/error',\n meta: { title: 'Error', layout: 'initial' },\n component: () => import('@/views/Errors.vue'),\n },\n {\n name: routeNames.PAGE_ERROR,\n path: '*',\n redirect: { path: '/error' },\n },\n ],\n});\n\nconst notStaffRoutes = [\n routeNames.JOBS_TV,\n routeNames.BFIX_DASH,\n routeNames.AIR_ROAD_JOBS,\n routeNames.AIR_ROAD_BOOKED,\n routeNames.BOOKING_COMPLIANCE,\n routeNames.SCHEDULER_BOARD,\n routeNames.SCHEDULER_BOARD_LOGS,\n routeNames.SCHEDULER,\n routeNames.SCHEDULER_SHIFTS,\n routeNames.REPORTS,\n routeNames.RUN_SHEET,\n routeNames.KPI_REPORT,\n routeNames.DRIVER_REPORT,\n routeNames.TOMORROW_REPORT,\n routeNames.WEEKLY_STATS_REPORT,\n routeNames.AM_PM_JOBS,\n routeNames.LOCATIONS,\n routeNames.JOBHISTORY,\n];\n\nconst checkPermissions = (to, next) => {\n const permissions = store.getters['moduleAuthData/authData'].permissions;\n let stuff = false;\n if (permissions) {\n permissions.map(permission => {\n // looking for Job/staff\n if (permission.subject === 'Job' && permission.actions.indexOf('staff') >= 0) {\n stuff = true;\n }\n });\n }\n // redirecting user if the route is the list & user is not staff\n if (!stuff && to.name && notStaffRoutes.indexOf(to.name) !== -1) {\n next({\n path: '/',\n });\n }\n next();\n};\n\n/**\n * Before each page we check auth status from store and for private pages.\n */\nrouter.beforeEach((to, from, next) => {\n store.dispatch('setGlobalLoader', true);\n if (to.matched.some(record => !record.meta.isPublic)) {\n if (!store.getters['moduleAuthData/isLoggedIn'] && to.name !== routeNames.LOGIN) {\n next({\n path: '/login',\n });\n } else {\n // If we are going anywhere from Login page where we have been push from previous page\n // we redirect to that previous page\n if (store.getters.prevUrl.url !== '' && from.name === routeNames.LOGIN) {\n const prevPath = store.getters.prevUrl.url;\n store.dispatch('setRouterData', {\n name: '',\n url: '',\n });\n next({\n path: prevPath,\n });\n } else {\n next();\n }\n }\n } else {\n next();\n }\n // Write down \"TO\" route in Store to be able to redirect there after successful LogIn\n // in the case when use has been pushed to \"login\" from somewhere\n if (to.name !== routeNames.LOGIN) {\n store.dispatch('setRouterData', {\n name: to.name,\n url: to.fullPath,\n });\n }\n});\n\nrouter.beforeResolve((to, from, next) => {\n store.dispatch('setGlobalLoader', false);\n next();\n});\n\n// eslint-disable-next-line no-unused-vars,@typescript-eslint/no-unused-vars\nrouter.afterEach((to, from) => {\n Vue.nextTick(() => {\n const title = to.meta?.title || '';\n document.title = 'KK ' + title;\n });\n});\n\n/**\n * Tracking the errors of loading chunks in order to reload\n * the current portal page if the version has changed\n */\nrouter.onError(async (error: RouterError) => {\n if (error.name === 'ChunkLoadError' || error.code === 'CSS_CHUNK_LOAD_FAILED') {\n const actualVersion = await getVersion();\n if (actualVersion !== process.env.VERSION) {\n window.location.reload();\n }\n }\n});\n\nif (process.env.VUE_APP_SENTRY_ON !== 'false') {\n router.afterEach(to => {\n Vue.nextTick(() => {\n posthog.capture('$pageview', {\n $current_url: to.fullPath,\n });\n });\n });\n}\n\nexport default router;\n","export const LOGIN = 'LOGIN';\nexport const HOME = 'HOME';\nexport const JOBS = 'JOBS';\nexport const DEFAULT = 'DEFAULT';\nexport const JOBS_TV = 'JOBS_TV';\nexport const BFIX_DASH = 'BFIX_DASH';\nexport const AIR_ROAD_JOBS = 'AIR_ROAD_JOBS';\nexport const AIR_ROAD_BOOKED = 'AIR_ROAD_BOOKED';\nexport const JOB_TICKETS = 'JOB_TICKETS';\nexport const JOB_BOOKING = 'JOB_BOOKING';\nexport const BOOKING_COMPLIANCE = 'BOOKING_COMPLIANCE';\nexport const PARCEL_JOB_BOOKING = 'PARCEL_JOB_BOOKING';\nexport const NEW_JOB_BOOKING = 'NEW_JOB_BOOKING';\nexport const CLONE_JOB_BOOKING = 'CLONE_JOB_BOOKING';\nexport const ADVANCED_JOB_BOOKING = 'ADVANCED_JOB_BOOKING';\nexport const WAREHOUSE_SAME_WH_JB = 'WAREHOUSE_JOB_BOOKING';\nexport const WAREHOUSE_TO_WH_JB = 'WAREHOUSE_TO_WH_JOB_BOOKING';\nexport const SITE_INSPECTION_JOB_BOOKING = 'SITE_INSPECTION_JOB_BOOKING';\nexport const DRAFT_ADVANCED_JOB_BOOKING = 'DRAFT_ADVANCED_JOB_BOOKING';\nexport const SPREADSHEET_JOB_BOOKING = 'SPREADSHEET_JOB_BOOKING';\nexport const SPREADSHEET_B2B_BOOKING = 'SPREADSHEET_B2B_BOOKING';\nexport const SEARCH = 'SEARCH';\nexport const SEARCH_POSTCODE = 'SEARCH_POSTCODE';\nexport const DRAFT_JOB_BOOKING = 'DRAFT_JOB_BOOKING';\nexport const WAREHOUSE_QUANT_PAGE = 'WAREHOUSE_QUANT_PAGE';\nexport const DETAILED_QUERY_JOB = 'DETAILED_QUERY_JOB';\nexport const DETAILED_PARAM_JOB = 'DETAILED_PARAM_JOB';\nexport const TICKET_FROM_THE_SERVICE_DESK = 'TICKET_FROM_THE_SERVICE_DESK';\nexport const SERVICE_DESK_TICKET = 'SERVICE_DESK_TICKET';\nexport const LIST_QUOTES = 'LIST_QUOTES';\nexport const NEW_QUOTE = 'NEW_QUOTE';\nexport const DETAILED_QUOTE = 'DETAILED_QUOTE';\nexport const SCHEDULER_BOARD = 'SCHEDULER_BOARD';\nexport const SCHEDULER_BOARD_LOGS = 'SCHEDULER_BOARD_LOGS';\nexport const SCHEDULER = 'SCHEDULER';\nexport const SCHEDULER_SHIFTS = 'SCHEDULER_SHIFTS';\nexport const PROFILE = 'PROFILE';\nexport const ADDRESS_BOOK = 'ADDRESS_BOOK';\nexport const REPORTS = 'REPORTS';\nexport const RUN_SHEET = 'RUN_SHEET';\nexport const KPI_REPORT = 'KPI_REPORT';\nexport const DRIVER_REPORT = 'DRIVER_REPORT';\nexport const TOMORROW_REPORT = 'TOMORROW_REPORT';\nexport const WEEKLY_STATS_REPORT = 'WEEKLY_STATS_REPORT';\nexport const AM_PM_JOBS = 'AM_PM_JOBS';\nexport const ETA_REPORT = 'ETA_REPORT';\nexport const BOOKED_JOBS = 'BOOKED_JOBS';\nexport const SUBURBS = 'SUBURBS';\nexport const MAILBOX_TEST = 'MAILBOX_TEST';\nexport const INITIAL_ERROR = 'INITIAL_ERROR';\nexport const PAGE_ERROR = 'PAGE_ERROR';\nexport const LOCATIONS = 'LOCATIONS';\nexport const JOBHISTORY = 'JOBHISTORY';\nexport const TRANSFERS = 'TRANSFERS';\nexport const SMS_DAILY_FOLLOW_UP = 'SMS_DAILY_FOLLOW_UP';\nexport const SMS_HISTORY = 'SMS_HISTORY';\nexport const NEXT_DAY_STOPS = 'NEXT_DAY_STOPS';\nexport const TECHNICIANS = 'TECHNICIANS';\nexport const TECHNICIANS_CATALOG = 'TECHNICIANS_CATALOG';\n","import { IGetBfixJobs, IGetJobs, Job, State, UrlData } from '@/models/main';\n\nimport { ActionTree } from 'vuex';\nimport store from '@/store';\n\nexport const actions: ActionTree = {\n async addNote(vuex, params) {\n vuex.commit('ADD_NOTE', params);\n },\n async setJobData(vuex, val: IGetJobs) {\n vuex.commit('SET_JOB_DATA', val);\n store.dispatch('orderJobs');\n },\n async clearJobData(vuex) {\n vuex.commit('CLEAR_JOB_DATA');\n },\n async setJobBfixData(vuex, val: IGetBfixJobs) {\n vuex.commit('SET_JOB_BFIX_DATA', val);\n },\n async orderJobs(vuex) {\n vuex.commit('ORDER_JOBS');\n },\n async setRouterData(vuex, urlData: UrlData) {\n vuex.commit('SET_ROUTER_DATA', urlData);\n },\n async setSearch(vuex, val: string) {\n vuex.commit('SET_SEARCH', val);\n },\n async setCategory(vuex, val: string) {\n vuex.commit('SET_CATEGORY', val);\n },\n async setBfixCategory(vuex, val: string) {\n vuex.commit('SET_BFIX_CATEGORY', val);\n },\n async setSelectedStates(vuex, val: string[]) {\n vuex.commit('SET_SELECTED_STATES', val);\n },\n async setDrivers(vuex, val: number[]) {\n vuex.commit('SET_DRIVERS_SELECT', val);\n },\n async setSideMenuOpen(vuex, val: boolean) {\n vuex.commit('SET_SIDE_MENU_OPEN', val);\n },\n async setGlobalLoader(vuex, val: boolean) {\n vuex.commit('SET_GLOBAL_LOADER', val);\n },\n async ERROR(vuex, error: number | undefined) {\n vuex.commit('SET_ERROR', error);\n },\n async setNetworkError(vuex, error: number | undefined) {\n vuex.commit('SET_NETWORK_ERROR', error);\n },\n async setLoginError(vuex, error: string | null) {\n vuex.commit('SET_LOGIN_ERROR', error);\n },\n async updateJobData(vuex, val: Job) {\n if (val.status >= 5) {\n vuex.commit('SET_JOB_COMPLETE', val);\n } else {\n vuex.commit('UPDATE_JOB_IN_PROGRESS_STATUS', val);\n }\n },\n async toggleJobRequestForChange(vuex, val: Job) {\n vuex.commit('TOGGLE_JOB_REQUEST_FOR_CHANGE', val);\n },\n};\n","import { State } from '@/models/main';\nimport { GetterTree } from 'vuex';\n\nexport const getters: GetterTree = {\n prevUrl: (state: State) => state.routerData.prevUrl,\n};\n","import { AuthData } from '@/models/auth';\n/**\n * Class for easy use localStorage\n */\nexport default class HelperStorage {\n /**\n * Allow set value\n * @name: name of variable\n * @value: any value, value will be stringify\n */\n public static set(name: string, value: AuthData): void {\n localStorage.setItem(name, JSON.stringify(value));\n }\n\n /**\n * Allow get value with default value if value not exist\n * @name: name of variable\n * @defaultValue: value that we want return if value not exist\n */\n public static get(name: string, defaultValue: AuthData): AuthData {\n const data: string | null = localStorage.getItem(name);\n let response: AuthData;\n if (data) {\n response = JSON.parse(data);\n } else {\n response = defaultValue;\n }\n return response;\n }\n\n public clear(): void {\n localStorage.clear();\n }\n}\n","import * as routeNames from '@/router/routeNames';\n\nimport { ActionContext, Getter } from 'vuex';\n\nimport { AuthData } from '@/models/auth';\nimport HelperStorage from '@/helpers/HelperStorage';\nimport { State } from '@/models/main';\nimport jwtDecode from 'jwt-decode';\nimport router from '@/router';\nimport store from '@/store';\nimport { abortController, reinitController } from '@/utils/abortController';\n\nexport interface ModuleAuthDataState {\n authData: AuthData;\n}\n\nexport const moduleAuthData = {\n namespaced: true,\n state: {\n authData: HelperStorage.get('auth_data', {\n refresh: '',\n access: '',\n permissions: [],\n exp: 0,\n }),\n },\n getters: {\n isLoggedIn: (state: ModuleAuthDataState): boolean => !!state.authData.access,\n authData: (state: ModuleAuthDataState): ModuleAuthDataState['authData'] => state.authData,\n getAccessTokenExpTime: (state: ModuleAuthDataState): number => {\n const token = state.authData.access;\n if (token === '') {\n return 0;\n }\n const accessToken: AuthData = jwtDecode(token);\n return accessToken['exp'];\n },\n getRefreshTokenExpTime: (state: ModuleAuthDataState): number => {\n const token = state.authData.refresh;\n if (token === '') {\n return 0;\n }\n const refreshToken: AuthData = jwtDecode(token);\n return refreshToken['exp'];\n },\n //TODO: is there a way to rewrite these two function in arrow function style?\n // Something like that: isAccessTokenValid: (state: ModuleAuthDataState) =>\n // (now: number): boolean => { const exp: number = state.authData.exp; return exp > now; },\n isRefreshTokenValid(state: ModuleAuthDataState, getters: Getter) {\n return (now: number): boolean => {\n const exp: number = getters['getRefreshTokenExpTime'];\n return exp > now;\n };\n },\n isAccessTokenValid(state: ModuleAuthDataState, getters: Getter) {\n return (now: number): boolean => {\n const exp: number = getters['getAccessTokenExpTime'];\n return exp > now;\n };\n },\n },\n actions: {\n async addAuthData({ commit }: ActionContext, data: AuthData): Promise {\n commit('ADD_AUTH_DATA', data);\n },\n async removeAuthData({ commit }: ActionContext): Promise {\n commit('REMOVE_AUTH_DATA');\n },\n // This is the action that is called when the user clicks the logout button\n async logOutUser({ commit }: ActionContext): Promise {\n commit('REMOVE_AUTH_DATA');\n // We need to abort all requests that are currently in progress because the user is logged out\n abortController();\n // Abort controller should be reinitialized after the logout because previous instance is aborted\n reinitController();\n store.commit('moduleUser/REMOVE_USER_DATA');\n store.commit('CLEAR_JOB_DATA');\n store.commit('moduleStaticData/CLEAR_STATIC_STATE');\n },\n // This is the action that is called when the user's tokens have expired\n async forceRenewRefreshToken({ commit }: ActionContext): Promise {\n commit('REMOVE_AUTH_DATA');\n // Abort controller should be reinitialized after the logout because previous instance is aborted\n reinitController();\n if (router.currentRoute.name !== routeNames.LOGIN) {\n await router.push({\n path: '/login',\n });\n await store.dispatch('setLoginError', 'The session has expired');\n }\n },\n async updateAccessToken({ commit }: ActionContext, data: string): Promise {\n commit('UPDATE_ACCESS_TOKEN', data);\n },\n },\n mutations: {\n ADD_AUTH_DATA(state: ModuleAuthDataState, data: AuthData): void {\n state.authData = data;\n HelperStorage.set('auth_data', data);\n },\n REMOVE_AUTH_DATA(state: ModuleAuthDataState): void {\n const authData: AuthData = JSON.parse(\n JSON.stringify({\n access: '',\n refresh: '',\n permissions: [],\n exp: 0,\n }),\n );\n state.authData = authData;\n HelperStorage.set('auth_data', authData);\n },\n // updates access token from the refresh token request\n UPDATE_ACCESS_TOKEN(state: ModuleAuthDataState, data: string): void {\n state.authData.access = data;\n HelperStorage.set('auth_data', state.authData);\n },\n },\n};\n","import {\n ModuleNotificationLoaderData,\n ModuleNotifications,\n ModuleNotificationsCountersData,\n ModuleNotificationsData,\n ModuleNotificationsItemsData,\n ModuleNotificationsState,\n State,\n} from '@/models/main';\nimport {\n getNotificationsAllSorted,\n getNotificationsUnreadCount,\n getTicketsNotificationsUnreadCount,\n setNotificationAsReadRequest,\n setNotificationAsUnreadRequest,\n setNotificationsAllAsReadRequest,\n setTicketNotificationAsReadRequest,\n} from '@/api';\n\nimport { ActionContext } from 'vuex';\nimport Vue from 'vue';\nimport { notificationErrorText } from '@/utils/PortalConstants';\nimport store from '@/store';\n\nexport const moduleNotifications = {\n namespaced: true,\n state: {\n notifications: {\n counter_unread: 0,\n counter_tickets_unread: 0,\n unread_filter: true,\n category: 'all',\n loading: false,\n loadingIds: [],\n items: [],\n error: null,\n items_all: {},\n items_shown: [],\n counter_showed: 10,\n },\n },\n getters: {\n notifications: (state: ModuleNotificationsState): ModuleNotificationsData => state.notifications,\n },\n mutations: {\n SET_NOTIFICATIONS_ALL_DATA(state: ModuleNotificationsState, data: ModuleNotificationsItemsData): void {\n state.notifications.items_all = data;\n },\n SET_NOTIFICATIONS_COUNTERS(state: ModuleNotificationsState, data: ModuleNotificationsCountersData): void {\n state.notifications.counter_unread = data.counter_unread;\n state.notifications.counter_tickets_unread = data.counter_tickets_unread;\n },\n SET_NOTIFICATION_AS_READ(state: ModuleNotificationsState, id: number): void {\n // All items + category\n if (state.notifications?.items_all['all']) {\n const notification = state.notifications.items_all['all'].find(x => x.id === id);\n if (notification) {\n notification.unread = false;\n const notificationInCategory = state.notifications.items_all[notification.category].find(x => x.id === id);\n if (notificationInCategory) {\n notificationInCategory.unread = false;\n }\n }\n // Shown items\n const notificationInShown = state.notifications.items_shown.find(x => x.id === id);\n if (notificationInShown) {\n notificationInShown.unread = false;\n }\n }\n },\n SET_TICKET_NOTIFICATION_AS_READ(state: ModuleNotificationsState, id: number): void {\n // All items + category\n if (state.notifications?.items_all['all']) {\n const notification = state.notifications.items_all['all'].find(x => x.source_target_id === String(id));\n if (notification) {\n notification.unread = false;\n const notificationInCategogy = state.notifications.items_all[notification.category].find(\n x => x.source_target_id === String(id),\n );\n if (notificationInCategogy) {\n notificationInCategogy.unread = false;\n }\n }\n // Shown items\n const notificationInShown = state.notifications.items_shown.find(x => x.source_target_id === String(id));\n if (notificationInShown) {\n notificationInShown.unread = false;\n }\n }\n },\n SET_NOTIFICATION_AS_UNREAD(state: ModuleNotificationsState, id: number): void {\n // All items + category\n if (state.notifications?.items_all['all']) {\n const notification = state.notifications.items_all['all'].find(x => x.id === id);\n if (notification) {\n notification.unread = true;\n const notificationInCategogy = state.notifications.items_all[notification.category].find(x => x.id === id);\n if (notificationInCategogy) {\n notificationInCategogy.unread = true;\n }\n }\n // Shown items\n const notificationInShown = state.notifications.items_shown.find(x => x.id === id);\n if (notificationInShown) {\n notificationInShown.unread = true;\n }\n }\n },\n SET_LOADER(state: ModuleNotificationsState, value: boolean): void {\n state.notifications.loading = value;\n },\n SET_LOADER_ID(state: ModuleNotificationsState, data: ModuleNotificationLoaderData): void {\n const idx = state.notifications.loadingIds.indexOf(data.id);\n if (data.loading && idx === -1) {\n state.notifications.loadingIds.push(data.id);\n } else {\n state.notifications.loadingIds.splice(idx, 1);\n }\n },\n SET_ERROR(state: ModuleNotificationsState, error: string | null): void {\n state.notifications.error = error;\n },\n SET_EMPTY_ITEMS(state: ModuleNotificationsState): void {\n state.notifications.items_shown = [];\n state.notifications.counter_showed = 10;\n },\n SET_NOTIFICATIONS_UNREAD_FILTER(state: ModuleNotificationsState, unread_filter: boolean): void {\n state.notifications.unread_filter = unread_filter;\n state.notifications.items_shown = [];\n state.notifications.counter_showed = 10;\n },\n SET_NOTIFICATIONS_CATEGORY(state: ModuleNotificationsState, category: string): void {\n if (Object.keys(state.notifications.items_all).includes(category)) {\n state.notifications.category = category;\n }\n state.notifications.items_shown = [];\n state.notifications.counter_showed = 10;\n },\n SET_NOTIFICATIONS_NEXT_PAGE(state: ModuleNotificationsState): void {\n if (state.notifications?.items_all) {\n let categoryItems: ModuleNotifications[] = state.notifications.items_all[state.notifications.category] || [];\n\n if (state.notifications.unread_filter && !!categoryItems.length) {\n categoryItems = [...categoryItems.filter(x => x.unread)];\n }\n\n const slicedItems = categoryItems.slice(\n state.notifications.counter_showed - 10,\n state.notifications.counter_showed,\n );\n\n slicedItems.map(item => state.notifications.items_shown.push(item));\n\n if (state.notifications.counter_showed <= state.notifications.items_shown.length) {\n state.notifications.counter_showed += 10;\n } else {\n state.notifications.counter_showed += slicedItems.length;\n }\n }\n },\n },\n actions: {\n //\n // Counters\n getNotificationsUnreadCountWrapper(): Promise {\n return getNotificationsUnreadCount();\n },\n getTicketsNotificationsUnreadCountWrapper(): Promise {\n return getTicketsNotificationsUnreadCount();\n },\n /** Update notifications counters: all / unread */\n async updateNotificationsCounters({ commit }: ActionContext): Promise {\n const unreadCounter = await store.dispatch('moduleNotifications/getNotificationsUnreadCountWrapper');\n const unreadTicketsCounter = await store.dispatch(\n 'moduleNotifications/getTicketsNotificationsUnreadCountWrapper',\n );\n const data = {\n counter_unread: unreadCounter,\n counter_tickets_unread: unreadTicketsCounter,\n };\n commit('SET_NOTIFICATIONS_COUNTERS', data);\n },\n\n /** Get all notifications */\n async getNotificationsAll({ commit }: ActionContext): // page: number,\n Promise {\n // Loader & clean up\n commit('SET_LOADER', true);\n commit('SET_EMPTY_ITEMS');\n\n // Get counter values\n const unreadCounter = await getNotificationsUnreadCount().catch(() => {\n commit('SET_ERROR', \"Can't get notifications counters\");\n commit('SET_LOADER', false);\n });\n const unreadTicketsCounter = await getTicketsNotificationsUnreadCount().catch(() => {\n commit('SET_ERROR', \"Can't get tickets notifications counters\");\n });\n // Get notifications\n const notificationItems = await getNotificationsAllSorted().catch(() => {\n Vue.notify({\n group: 'network',\n title: 'Error getting notifications',\n text: notificationErrorText,\n type: 'warn',\n });\n commit('SET_ERROR', \"Can't get notifications\");\n commit('SET_LOADER', false);\n });\n // Set counters\n commit('SET_NOTIFICATIONS_COUNTERS', {\n counter_unread: unreadCounter,\n counter_tickets_unread: unreadTicketsCounter,\n });\n // Set data and open current page\n commit('SET_NOTIFICATIONS_ALL_DATA', notificationItems);\n commit('SET_NOTIFICATIONS_NEXT_PAGE');\n // Loader\n commit('SET_LOADER', false);\n },\n //\n // SINGLE AS READ\n async setNotificationAsRead({ commit }: ActionContext, id: number): Promise {\n // SET_LOADER_ID\n commit('SET_LOADER_ID', {\n id: id,\n loading: true,\n });\n setNotificationAsReadRequest(id)\n .then(() => {\n commit('SET_NOTIFICATION_AS_READ', id);\n store.dispatch('moduleNotifications/updateNotificationsCounters');\n })\n .catch(() => {\n Vue.notify({\n group: 'network',\n title: 'Error setting the notification as read',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n commit('SET_LOADER_ID', {\n id: id,\n loading: false,\n });\n });\n },\n //\n // SINGLE AS UNREAD\n async setNotificationAsUnread(\n { commit }: ActionContext,\n id: number,\n ): Promise {\n // SET_LOADER_ID\n commit('SET_LOADER_ID', {\n id: id,\n loading: true,\n });\n setNotificationAsUnreadRequest(id)\n .then(async () => {\n commit('SET_NOTIFICATION_AS_UNREAD', id);\n void store.dispatch('moduleNotifications/updateNotificationsCounters');\n })\n .catch(() => {\n Vue.notify({\n group: 'network',\n title: 'Error setting the notification as unread',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n commit('SET_LOADER_ID', {\n id: id,\n loading: false,\n });\n });\n },\n //\n // ALL AS READ\n setNotificationsAllAsRead({ commit }: ActionContext): void {\n // SET_LOADER\n commit('SET_LOADER', true);\n commit('SET_EMPTY_ITEMS');\n //\n setNotificationsAllAsReadRequest()\n .then(async () => {\n await store.dispatch('moduleNotifications/getNotificationsAll');\n await store.dispatch('moduleNotifications/updateNotificationsCounters');\n })\n .catch(() => {\n Vue.notify({\n group: 'network',\n title: 'Error setting all the notifications as read',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n commit('SET_LOADER', false);\n });\n },\n //\n // SET TICKETS NOTIFICATIONS AS READ\n async setTicketNotificationsAsRead(\n { commit }: ActionContext,\n id: number,\n ): Promise {\n // SET_LOADER_ID\n commit('SET_LOADER_ID', {\n id: id,\n loading: true,\n });\n setTicketNotificationAsReadRequest(id)\n .then(() => {\n commit('SET_TICKET_NOTIFICATION_AS_READ', id);\n store.dispatch('moduleNotifications/updateNotificationsCounters');\n })\n .catch(() => {\n Vue.notify({\n group: 'network',\n title: 'Error setting the notification as read',\n text: notificationErrorText,\n type: 'warn',\n });\n })\n .finally(() => {\n commit('SET_LOADER_ID', {\n id: id,\n loading: false,\n });\n });\n },\n //\n // SET NOTIFICATIONS UNREAD FILTER\n setNotificationsUnreadFilter(\n { commit }: ActionContext,\n unread_filter: boolean,\n ): void {\n commit('SET_NOTIFICATIONS_UNREAD_FILTER', unread_filter);\n commit('SET_NOTIFICATIONS_NEXT_PAGE');\n },\n //\n // SET NOTIFICATIONS CATEGORY TAB\n async setNotificationsCategory(\n { commit }: ActionContext,\n category: string,\n ): Promise {\n commit('SET_NOTIFICATIONS_CATEGORY', category);\n commit('SET_NOTIFICATIONS_NEXT_PAGE');\n },\n //\n async getNextPage({ commit }: ActionContext): Promise {\n commit('SET_NOTIFICATIONS_NEXT_PAGE');\n },\n },\n};\n","import { ActionContext } from 'vuex';\nimport { State } from '@/models/main';\n\nexport interface ModuleScheduler {\n travelTimes: TravelTime;\n}\n\nexport interface TravelTime {\n ['string']: string | number;\n}\n\nexport const moduleScheduler = {\n namespaced: true,\n state: {\n travelTimes: {},\n },\n getters: {\n travelTimes: (state: ModuleScheduler): TravelTime => {\n return state.travelTimes;\n },\n },\n actions: {\n async setTravelTime({ commit }: ActionContext, travel_time: TravelTime): Promise {\n commit('SET_TRAVEL_TIME', travel_time);\n },\n },\n mutations: {\n SET_TRAVEL_TIME(state: ModuleScheduler, travel_time: TravelTime): void {\n state.travelTimes = { ...state.travelTimes, ...travel_time };\n },\n },\n};\n","import * as Sentry from '@sentry/vue';\n\nimport { ModuleSocketState, State } from '@/models/main';\n\nimport { ActionContext } from 'vuex';\nimport Vue from 'vue';\nimport store from '@/store';\n\nconst reconnectLimit = 5;\nconst reconnectTimeOutMin = 3000;\nconst reconnectTimeOutMax = 15000;\n\nexport const moduleSocket = {\n namespaced: true,\n state: {\n socket: {\n isConnected: false,\n isAuthenticated: false,\n message: '',\n reconnectError: false,\n reconnectAttempts: 0,\n },\n },\n getters: {\n isConnected: (state: ModuleSocketState): boolean => state.socket.isConnected,\n },\n mutations: {\n SOCKET_ONOPEN(state: ModuleSocketState): void {\n state.socket.isConnected = true;\n state.socket.reconnectAttempts = 0;\n },\n SOCKET_ON_AUTH_MESSAGE(state: ModuleSocketState, value: boolean): void {\n state.socket.isAuthenticated = value;\n },\n SOCKET_ONMESSAGE(state: ModuleSocketState, message: string): void {\n state.socket.message = message;\n },\n SOCKET_ONCLOSE(state: ModuleSocketState): void {\n state.socket.isConnected = false;\n state.socket.isAuthenticated = false;\n },\n // SOCKET_ONERROR(state: ModuleSocketState, event) {\n // console.error(state, event);\n // },\n // mutations for reconnect methods\n SOCKET_RECONNECT(state) {\n state.socket.reconnectAttempts += 1;\n },\n SOCKET_RECONNECT_ERROR(state: ModuleSocketState): void {\n state.socket.reconnectError = true;\n },\n },\n actions: {\n // Socket events:\n\n // Set global socket instance & listeners on connect\n socketConnect(): void {\n const socketURL = process.env.VUE_APP_WEBSOCKET;\n if (socketURL) {\n if (Vue.prototype.$socket && Vue.prototype.$socket.readyState === WebSocket.OPEN) {\n return; // If socket is already open\n }\n // Set global socket instance:\n Vue.prototype.$socket = new WebSocket(socketURL);\n // Set listeners:\n // Socket opened:\n Vue.prototype.$socket.onopen = function (event) {\n store.dispatch('moduleSocket/socketOpen', event);\n };\n // Message:\n Vue.prototype.$socket.onmessage = function (event) {\n store.dispatch('moduleSocket/socketOnMessage', event);\n };\n // Socket closed:\n Vue.prototype.$socket.onclose = function (event) {\n store.dispatch('moduleSocket/socketOnClose', event);\n };\n // Socket error:\n Vue.prototype.$socket.onerror = function (event) {\n store.dispatch('moduleSocket/socketOnError', event);\n };\n }\n },\n\n // Disconnect from the socket\n async socketDisconnect(): Promise {\n if (Vue.prototype.$socket) {\n await Vue.prototype.$socket.close(1000);\n delete Vue.prototype.$socket;\n }\n },\n\n // Send auth token when socket opened\n socketOpen({ commit }: ActionContext, event: Event): void {\n // Get token from authData module\n const authData = store.getters['moduleAuthData/authData'];\n const msg = {\n type: 'auth',\n method_payload: authData.access,\n };\n // Send auth msg to the socket:\n Vue.prototype.$socket.send(JSON.stringify(msg));\n // Set isConnected = true\n commit('SOCKET_ONOPEN', event);\n },\n\n // Socket close:\n socketOnClose({ state, commit }: ActionContext): void {\n if (state.socket.isAuthenticated || state.socket.reconnectError) {\n return;\n }\n store.dispatch('moduleSocket/reconnectSocket');\n commit('SOCKET_ONCLOSE');\n },\n\n socketOnError({ state }: ActionContext, event: Event): void {\n // Checks for the absence of a reconnect error and verifies the WebSocket state.\n // If there is no error and the WebSocket is not open, it triggers a reconnection attempt\n if (\n !state.socket.reconnectError &&\n (!Vue.prototype.$socket || Vue.prototype.$socket.readyState !== WebSocket.OPEN)\n ) {\n store.dispatch('moduleSocket/reconnectSocket');\n }\n\n // Create an error object and send it to Sentry.\n const error = new Error('WebSocket error occurred');\n Sentry.withScope(scope => {\n scope.setLevel('error');\n scope.setExtra('event', event);\n scope.setContext('WebSocket', {\n eventType: event.type,\n readyState: Vue.prototype.$socket?.readyState,\n reconnectAttempts: state.socket.reconnectAttempts,\n url: Vue.prototype.$socket?.url,\n timeStamp: event.timeStamp,\n message: event instanceof MessageEvent ? event.data : 'No message data',\n });\n Sentry.captureException(error);\n });\n },\n\n // Socket got msg\n socketOnMessage({ commit }: ActionContext, message: MessageEvent): void {\n const isConnected = store.getters['moduleSocket/isConnected'];\n\n if (isConnected) {\n // Set message to the store\n commit('SOCKET_ONMESSAGE', message);\n // Parse it\n const msgData = JSON.parse(message.data);\n //\n // Message cases:\n //\n // Got Auth msg:\n if (msgData.info === 'authentication was successful') {\n // Set isAuthenticated = true\n commit('SOCKET_ON_AUTH_MESSAGE', true);\n // Run notification pipeline\n store.dispatch('moduleNotifications/getNotificationsAll');\n }\n //\n // Got new notifications\n if (msgData.action === 'update_notifications') {\n // Run notification pipeline\n store.dispatch('moduleNotifications/getNotificationsAll');\n }\n }\n },\n\n /**\n * Reconnects the socket if it's not connected and the number of reconnect attempts is less than 5.\n * If the number of reconnect attempts is 5 or more, sets the reconnectError flag to true.\n * @param { state, commit }\n */\n reconnectSocket({ state, commit }: ActionContext): void {\n if (state.socket.reconnectAttempts < reconnectLimit) {\n commit('SOCKET_RECONNECT');\n // This code calculates the progressive retry delay for socket reconnection,\n // After the delay, it dispatches an action to connect the socket\n const retryDelay = Math.min(reconnectTimeOutMin * state.socket.reconnectAttempts, reconnectTimeOutMax);\n setTimeout(() => {\n store.dispatch('moduleSocket/socketConnect');\n }, retryDelay);\n } else {\n // Set the reconnectError flag to true if the number of reconnect attempts is 5 or more\n commit('SOCKET_RECONNECT_ERROR');\n }\n },\n\n // Send message to the socket\n // socketSendMessage({ commit }: ActionContext, message: MessageEvent): void {\n // Vue.prototype.$socket.send(message);\n // },\n },\n};\n","import {\n AttributeItem,\n JobComplianceDriver,\n ModuleStaticDataState,\n ProductTypeItem,\n ServiceCodeItem,\n} from './staticDataTypes';\nimport { getAttributesList, getDriversList, getProductTypesList, getServiceCodesList } from '@/api';\n\nimport { ActionContext } from 'vuex';\nimport { State } from '@/models/main';\nimport { sendWarning } from '@/helpers/sentry';\nimport store from '@/store';\n\n// Driver attributes are those that could be set on Driver level/model in Kraken/OdooV15\n// other attributes are set on Job level/model\nconst driverAttributes = ['TECH1', 'TECH2', 'TECH3'];\n\nexport const moduleStaticData = {\n namespaced: true,\n state: {\n attributes: [],\n drivers: [],\n serviceCodes: [],\n productTypes: [],\n },\n getters: {\n getAttributes: (state: ModuleStaticDataState): AttributeItem[] => {\n return state.attributes;\n },\n getDriverAttributes: (state: ModuleStaticDataState): AttributeItem[] => {\n return state.attributes.filter(item => driverAttributes.includes(item.code));\n },\n getJobAttributes: (state: ModuleStaticDataState): AttributeItem[] => {\n return state.attributes.filter(item => !driverAttributes.includes(item.code));\n },\n getDrivers: (state: ModuleStaticDataState): JobComplianceDriver[] => {\n return state.drivers;\n },\n getServiceCodes: (state: ModuleStaticDataState): ServiceCodeItem[] => {\n return state.serviceCodes;\n },\n getProductTypes: (state: ModuleStaticDataState): ProductTypeItem[] => {\n return state.productTypes;\n },\n getAllStaticData: (state: ModuleStaticDataState): ModuleStaticDataState => {\n return state;\n },\n },\n actions: {\n async requestAttributes({ commit }: ActionContext): Promise {\n await getAttributesList()\n .then(data => {\n commit('SET_ATTRIBUTES', data);\n })\n .catch(error => {\n sendWarning(error, 'Error when getting the list of attributes');\n });\n },\n async requestDrivers({ commit }: ActionContext): Promise {\n await getDriversList()\n .then(data => {\n commit('SET_DRIVERS', data);\n })\n .catch(error => {\n sendWarning(error, 'Error when getting the list of drivers');\n });\n },\n async requestServiceCodes({ commit }: ActionContext): Promise {\n await getServiceCodesList()\n .then(data => {\n commit('SET_SERVICE_CODES', data);\n })\n .catch(error => {\n sendWarning(error, 'Error when getting the list of service codes');\n });\n },\n async requestProductTypes({ commit }: ActionContext): Promise {\n await getProductTypesList()\n .then(data => {\n commit('SET_PRODUCT_TYPES', data);\n })\n .catch(error => {\n sendWarning(error, 'Error when getting the list of product types');\n });\n },\n requestAllStaticData(): void {\n const stateData = store.getters['moduleStaticData/getAllStaticData'];\n if (Object.keys(stateData).length >= 1) {\n Object.keys(stateData).map(item => {\n if (stateData[item]?.length === 0) {\n const requestName = 'request' + item.charAt(0).toUpperCase() + item.slice(1);\n store.dispatch(`moduleStaticData/${requestName}`);\n }\n });\n }\n },\n async requestAllStaticDataWait(): Promise {\n // Collecting empty list names\n const actions: string[] = [];\n const stateData = store.getters['moduleStaticData/getAllStaticData'];\n if (Object.keys(stateData).length >= 1) {\n Object.keys(stateData).map(item => {\n if (stateData[item]?.length === 0) {\n const requestName = 'request' + item.charAt(0).toUpperCase() + item.slice(1);\n actions.push(requestName);\n }\n });\n }\n // Requesting all the missing lists at the same time\n await Promise.all(\n actions.map(item => {\n return store.dispatch(`moduleStaticData/${item}`);\n }),\n );\n },\n },\n mutations: {\n SET_ATTRIBUTES(state: ModuleStaticDataState, attributes: AttributeItem[]): void {\n state.attributes = attributes;\n },\n SET_DRIVERS(state: ModuleStaticDataState, drivers: JobComplianceDriver[]): void {\n state.drivers = drivers;\n },\n SET_SERVICE_CODES(state: ModuleStaticDataState, codes: ServiceCodeItem[]): void {\n state.serviceCodes = codes;\n },\n SET_PRODUCT_TYPES(state: ModuleStaticDataState, types: ProductTypeItem[]): void {\n state.productTypes = types;\n },\n CLEAR_STATIC_STATE(state: ModuleStaticDataState): void {\n state.attributes = [];\n state.drivers = [];\n state.serviceCodes = [];\n state.productTypes = [];\n },\n },\n};\n","import { ActionContext } from 'vuex';\nimport store from '@/store';\nimport { User, State } from '@/models/main';\nimport * as Sentry from '@sentry/vue';\nimport { timeZoneDefault } from '@/utils/PortalConstants';\nimport { format, utcToZonedTime } from 'date-fns-tz';\nimport posthog from 'posthog-js';\n\nexport interface ModuleUserState {\n user: User;\n userSelectedDates: string[];\n}\n\nexport const moduleUser = {\n namespaced: true,\n state: {\n user: {\n customerCode: '',\n staff: false,\n username: '',\n avatar: '',\n email: '',\n first_name: '',\n last_name: '',\n phone_number: '',\n state: [],\n timezone: '',\n ref1_prompt: '',\n ref2_prompt: '',\n ref3_prompt: '',\n },\n userSelectedDates: [],\n },\n getters: {\n user: (state: ModuleUserState): User => state.user,\n isStaff: (state: ModuleUserState): boolean => state.user.staff,\n },\n actions: {\n async setUser({ commit }: ActionContext, user: User): Promise {\n commit('SET_USER', user);\n },\n async setUserDates({ commit }: ActionContext, dates: string[]): Promise {\n commit('SET_USER_DATE', dates);\n },\n async fetchUser({ commit }: ActionContext, staff: boolean): Promise {\n const authData = store.getters['moduleAuthData/authData'];\n const userFromToken = {\n username: authData.name,\n customerCode: authData.customerCode,\n staff,\n };\n commit('SET_USER', userFromToken);\n },\n async removeUser({ commit }: ActionContext): Promise {\n commit('REMOVE_USER_DATA');\n },\n },\n mutations: {\n SET_USER(state: ModuleUserState, user: User): void {\n state.user = { ...state.user, ...user };\n const userData = {\n username: state.user.username,\n staff: state.user.staff,\n customerCode: state.user.customerCode,\n };\n Sentry.setUser(userData);\n if (process.env.VUE_APP_SENTRY_ON !== 'false') {\n posthog.identify(userData.username, userData);\n }\n },\n SET_USER_DATE(state: ModuleUserState, dates: string[]): void {\n if (dates) {\n state.userSelectedDates = [];\n const dateFrom = dates[0] ? new Date(dates[0]) : new Date();\n state.userSelectedDates[0] = format(\n utcToZonedTime(dateFrom, state.user.timezone || timeZoneDefault),\n 'yyyy-MM-dd',\n );\n if (dates && dates[1]) {\n state.userSelectedDates[1] = format(\n utcToZonedTime(new Date(dates[1]), state.user.timezone || timeZoneDefault),\n 'yyyy-MM-dd',\n );\n }\n }\n },\n REMOVE_USER_DATA(state: ModuleUserState): void {\n state.user = {} as User;\n Sentry.setUser(null);\n if (process.env.VUE_APP_SENTRY_ON !== 'false') {\n posthog.reset();\n }\n },\n },\n};\n","import { IGetBfixJobs, IGetJobs, Job, State, UrlData } from '@/models/main';\n\nimport { MutationTree } from 'vuex';\nimport { format } from 'date-fns-tz';\nimport store from '@/store';\n\nexport const mutations: MutationTree = {\n SET_JOB_DATA(state: State, val: IGetJobs) {\n state.jobData = {\n all: [...val.cancelled, ...val.completed, ...val.in_progress, ...val.unallocated],\n ...val,\n };\n },\n\n CLEAR_JOB_DATA(state: State) {\n state.jobData = {\n all: [],\n cancelled: [],\n completed: [],\n in_progress: [],\n unallocated: [],\n };\n },\n\n SET_ROUTER_DATA(state: State, routeObj: UrlData) {\n state.routerData.prevUrl = routeObj;\n },\n\n SET_JOB_BFIX_DATA(state: State, val: IGetBfixJobs) {\n state.jobBfixData = {\n all: [...val.cancelled, ...val.completed, ...val.in_progress, ...val.unallocated],\n ...val,\n };\n },\n\n ORDER_JOBS(state: State) {\n // Check for mark as done\n state.jobData.in_progress.forEach((job, idx) => {\n if (job.is_done) {\n state.jobData.in_progress.splice(idx, 1);\n state.jobData.completed.unshift(job);\n }\n });\n state.jobData.completed.forEach((job, idx) => {\n if (!job.is_done) {\n if (\n job.notes &&\n job.notes[job.notes.length - 1] &&\n job.notes[job.notes.length - 1].note === 'The job was returned'\n ) {\n state.jobData.completed.splice(idx, 1);\n state.jobData.in_progress.unshift(job);\n }\n }\n });\n // sorting jobs\n for (const key in state.jobData) {\n if (Object.prototype.hasOwnProperty.call(state.jobData, key)) {\n state.jobData[key].sort((a: Job, b: Job): number => {\n if (key === 'all') {\n const jobsWithRequest4Change = state.jobData[key].filter((job: Job) => job.is_rfc);\n state.storeJobsWithRequest4Change = jobsWithRequest4Change;\n }\n // TODO: fix to casl $abitily\n const isStaff = store.getters['user/isStaff'];\n return (\n +isRed(b) - +isRed(a) ||\n +isYellow(b, isStaff) - +isYellow(a, isStaff) ||\n +b.priority - +a.priority ||\n +!isMainStopArrived(b) - +!isMainStopArrived(a)\n );\n });\n }\n }\n },\n\n ADD_NOTE(state: State, params) {\n const jobInProgress: Job | undefined = state.jobData.in_progress.find(\n (item: Job) => item.id === params.job_id && item.job_date === params.job_date,\n );\n const jobInCompleted: Job | undefined = state.jobData.completed.find(\n (item: Job) => item.id === params.job_id && item.job_date === params.job_date,\n );\n const job = jobInProgress || jobInCompleted;\n\n if (job && jobInProgress) {\n job.edited = 1;\n }\n if (job && jobInCompleted) {\n job.edited = 2;\n }\n if (job) {\n job.notes.push({\n note: params.note,\n required1: params.required1,\n required2: params.required2,\n // date in Sydney tz, example: 2021-12-02T11:42:22.203+11:00\n write_date: format(new Date(), \"yyyy-MM-dd'T'HH:mm:ssxxx\", { timeZone: 'Australia/Sydney' }),\n write_user: params.created_by,\n });\n job.required1 = params.required1;\n job.required2 = params.required2;\n job.is_done = params.is_done;\n store.dispatch('orderJobs');\n }\n },\n\n SET_SEARCH(state: State, search) {\n state.storeSearch = search;\n },\n SET_CATEGORY(state: State, category) {\n state.storeShowCategory = category;\n },\n SET_BFIX_CATEGORY(state: State, category) {\n state.storeShowBfixCategory = category;\n },\n SET_SELECTED_STATES(state: State, states) {\n state.storeSelectedStates = states;\n },\n SET_DRIVERS_SELECT(state: State, drivers) {\n state.storeDrivers = drivers;\n },\n SET_SIDE_MENU_OPEN(state: State, val) {\n state.isSideMenuOpen = val;\n },\n SET_GLOBAL_LOADER(state: State, val) {\n state.isLoadingGlobal = val;\n },\n SET_ERROR(state: State, error) {\n state.error = error;\n },\n SET_NETWORK_ERROR(state: State, error) {\n state.errors.networkError = error;\n },\n SET_LOGIN_ERROR(state: State, error) {\n state.errors.loginError = error;\n },\n SET_JOB_COMPLETE(state: State, params) {\n const job: Job | undefined = state.jobData.in_progress.find((item: Job) => item.job_key === params.job_key);\n if (!job) {\n return;\n }\n const jobIndex = state.jobData.in_progress.findIndex(item => item.job_key === params.job_key);\n state.jobData.in_progress.splice(jobIndex, 1);\n state.jobData.completed.unshift(job);\n },\n UPDATE_JOB_IN_PROGRESS_STATUS(state: State, params) {\n const jobIndex = state.jobData.in_progress.findIndex(item => item.job_key === params.job_key);\n state.jobData.in_progress[jobIndex] = params;\n },\n TOGGLE_JOB_REQUEST_FOR_CHANGE(state: State, params) {\n const jobIndex = state.jobData.in_progress.findIndex(item => item.job_key === params.rockhopper_key);\n if (state.jobData.in_progress[jobIndex]) {\n state.jobData.in_progress[jobIndex].is_rfc = !params.is_rfc;\n }\n },\n};\n\nfunction isRed(job: Job): boolean {\n return (\n job.delay === 2 ||\n (job.equipment_code1 === '' &&\n !job.allocated &&\n !job.arrived1 &&\n format(new Date(), 'yyyy-MM-dd') === format(new Date(job.required2), 'yyyy-MM-dd')) ||\n job.status === 6\n );\n}\n\nfunction isYellow(job: Job, isStaff: boolean): boolean {\n return job.delay === 1 && isStaff && (job.status === 1 || job.status === 2);\n}\n\nfunction isMainStopArrived(job: Job): boolean {\n if (job.arrived2) {\n return true;\n }\n // Check for service code **PO, **IT, **ST. If there is such a code, then the main stop is Stop1.\n // For else codes the main stop is Stop2.\n for (const item of job.services) {\n if (item.search(/\\b\\w\\wPO\\b/) !== -1 || item.search(/\\b\\w\\wIT\\b/) !== -1 || item.search(/\\b\\w\\wST\\b/) !== -1) {\n return true;\n }\n }\n return false;\n}\n","import { State } from '@/models/main';\n\nexport const state: State = {\n jobData: {\n all: [],\n cancelled: [],\n completed: [],\n in_progress: [],\n unallocated: [],\n },\n jobBfixData: {\n all: [],\n cancelled: [],\n completed: [],\n in_progress: [],\n unallocated: [],\n },\n availableStates: ['WA', 'NT', 'SA', 'QLD', 'NSW', 'TAS', 'VIC', 'ACT', 'NZ'].sort(),\n alertTimeout: 50000,\n labels: ['Booked', 'Allocated', 'Stop1(departed)', 'Stop2(arrived)', 'Stop2(POD)', 'Completed', 'Cancelled'],\n storeSearch: '',\n storeShowCategory: 'progress',\n storeShowBfixCategory: 'progress',\n storeSelectedStates: ['WA', 'NT', 'SA', 'QLD', 'NSW', 'TAS', 'VIC', 'ACT', 'NZ'].sort(),\n storeDrivers: [],\n storeJobsWithRequest4Change: [],\n isSideMenuOpen: false,\n isLoadingGlobal: false,\n error: undefined,\n errors: {\n networkError: '',\n loginError: null,\n },\n routerData: {\n prevUrl: {\n name: '',\n url: '',\n },\n },\n};\n","import Vue from 'vue';\nimport Vuex from 'vuex';\nimport { actions } from './actions';\nimport { getters } from './getters';\nimport { moduleAuthData } from './modules/authData';\nimport { moduleNotifications } from './modules/notifications/notifications';\nimport { moduleScheduler } from './modules/scheduler';\nimport { moduleSocket } from './modules/socket/socket';\nimport { moduleStaticData } from './modules/staticData/staticData';\nimport { moduleUser } from './modules/user';\nimport { mutations } from './mutations';\nimport { state } from './state';\n\nVue.use(Vuex);\n\nexport default new Vuex.Store({\n modules: {\n moduleUser,\n moduleAuthData,\n moduleScheduler,\n moduleSocket,\n moduleNotifications,\n moduleStaticData,\n },\n state,\n getters,\n mutations,\n actions,\n});\n","import * as jsonpatch from 'fast-json-patch/index.mjs';\n\nimport {\n ARServiceItem,\n AirRoadBookingProduct,\n AirRoadBookingProductsToBook,\n AirRoadJobPackageData,\n} from '@/models/airRoad';\nimport {\n ARServicesDeliveryList,\n ARServicesPickupList,\n statesTimeZonesList,\n timeZoneDefault,\n zammadTicketRfcStatuses,\n} from '@/utils/PortalConstants';\nimport { AxiosResponse, isCancel } from 'axios';\nimport { JobTicketDashboardItem, JobTicketListItem, JobTicketResponce } from '@/models/jobTicket';\nimport { User, UserDataAdvancedJB } from '@/models/main';\nimport { format, utcToZonedTime } from 'date-fns-tz';\n\nimport { JobComplianceData } from '@/models/JobComplianceTypes';\nimport { SchedulerUnscheduledStop } from '@/models/scheduler';\nimport { clearPhoneNumber } from './InputProcessingUtilities';\nimport { getProfile } from '@/api';\nimport { sendError } from '@/helpers/sentry';\n\n/**\n * Show a default browser download menu with the blob from Axios response\n * First tries to get the name from Content-Disposition header,\n * else tries to get file extension from Content-Type header\n * @param response\n */\nexport function blobDownloader(response: AxiosResponse): void {\n let fileName;\n const contentType = response.headers['content-type'];\n const blob = new Blob([response.data], { type: contentType });\n const disposition = response.headers['content-disposition'];\n if (disposition && disposition.indexOf('attachment') !== -1) {\n // Regex from https://stackoverflow.com/a/40940790\n const filenameRegex = /filename[^;=\\n]*=((['\"]).*?\\2|[^;\\n]*)/;\n const matches = filenameRegex.exec(disposition);\n if (matches != null && matches[1]) {\n fileName = matches[1].replace(/['\"]/g, '');\n }\n } else {\n const contentRegex = /\\/(?\\w{3})/;\n const matches = contentRegex.exec(contentType as any);\n if (matches != null && matches[1]) {\n fileName = 'kkts_report.' + matches[1];\n }\n }\n const link = document.createElement('a');\n link.setAttribute('href', URL.createObjectURL(blob));\n link.setAttribute('download', fileName);\n link.click();\n URL.revokeObjectURL(link.href);\n link.remove();\n}\n\nexport function sortByValue(array: SchedulerUnscheduledStop[] | null, value: string): SchedulerUnscheduledStop[] {\n if (array) {\n const sortedArray = array.sort((a, b) => {\n if (a[value] < b[value]) {\n return -1;\n }\n if (a[value] > b[value]) {\n return 1;\n }\n return 0;\n });\n return sortedArray;\n } else {\n return [];\n }\n}\n\nexport function uuidv4(): string {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {\n const r = (Math.random() * 16) | 0,\n v = c === 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n}\n\nexport function checkTicketIsRfc(ticket: JobTicketListItem | JobTicketResponce | JobTicketDashboardItem): boolean {\n if (!!ticket.is_rfc && ticket.state && zammadTicketRfcStatuses.indexOf(ticket.state.toUpperCase()) >= 0) {\n return true;\n }\n return false;\n}\n\nexport function isNumeric(value): boolean {\n return /^-?\\d+$/.test(value);\n}\n\nexport function validateEmail(email: string): boolean {\n const regex = /^([\\w-\\\\.]+@([\\w-]+\\.)+[\\w-]{2,4})?$/;\n return regex.test(email);\n}\n\nexport function validateEmails(emails): boolean {\n const result = emails.replace(/[ ,]+/g, ',').replace(/\\s/g, '').split(/,|;/);\n for (let i = 0; i < result.length; i++) {\n if (!validateEmail(result[i])) {\n return false;\n }\n }\n return true;\n}\n\nexport function generateUserEmailName(user: User): string {\n let userName = '';\n if (user.first_name) {\n userName = user.first_name;\n }\n if (user.last_name) {\n userName += ' ' + user.last_name;\n }\n if (!user.first_name && !user.last_name) {\n userName = user.username;\n }\n return userName;\n}\n\nexport function extractEmails(text) {\n return text.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\\.[a-zA-Z0-9_-]+)/gi);\n}\n\nexport function cleanEmailString(emailsToFilter: string[], emailsToDelete: string[]): string[] {\n const toSet = new Set(emailsToDelete);\n const toFiltred = [...new Set(emailsToFilter)].filter(email => {\n return !toSet.has(email);\n });\n return toFiltred;\n}\n\n// Allows numbers, space, dash and brackets\nexport const phonePattern = '^(?+?[d(-s)]+$';\n\nexport function buildPackedProducts(productsPacked: AirRoadJobPackageData[]): AirRoadBookingProductsToBook[] {\n const productsToBook: AirRoadBookingProductsToBook[] = [];\n productsPacked.map(product => {\n const items: AirRoadBookingProduct[] = [];\n product.items.map(item => {\n if (item.extra) {\n items.push({\n extra: true,\n });\n } else {\n items.push({\n product_id: item._id,\n quantity: item.quantity,\n });\n }\n });\n productsToBook.push({\n weight: product.weightIsEdited ? Number(product.weightEditedValue) : Number(product.weight),\n volume: product.value,\n item_type: product.type,\n products: items,\n });\n });\n return productsToBook;\n}\n\nexport function getARServiceData(id: number): ARServiceItem | null {\n const ARServicesList = { ...ARServicesDeliveryList, ...ARServicesPickupList };\n const option = Object.values(ARServicesList).find(x => x.specialOptionId === id);\n if (option) {\n return option;\n }\n return null;\n}\n\nfunction getChangedStopNumbers(diff: Array<{ op: string; path: string; value: string }>): number[] {\n const changedStops = new Set();\n diff.forEach(item => {\n if (item.path.includes('/stops/') && (item.path.includes('/time_earliest') || item.path.includes('/time_latest'))) {\n const stopNumber = parseInt(item.path.split('/stops/')[1], 10);\n changedStops.add(stopNumber);\n }\n });\n return Array.from(changedStops);\n}\n\nfunction getTargetStopNumber(changedStops: number[], totalStops: number): number {\n if (totalStops === 3 && !changedStops.includes(0)) {\n return 1;\n }\n return 0;\n}\n\nexport function checkJobDatesChanged(formDataSaved: JobComplianceData, formData: JobComplianceData): [boolean, number] {\n const diff = jsonpatch.compare(formDataSaved, formData);\n const changedStops = getChangedStopNumbers(diff);\n const targetStop = getTargetStopNumber(changedStops, formData.stops.length);\n const hasDateChanged = diff.some(item => {\n if (item.path.includes('/time_earliest') || item.path.includes('/time_latest')) {\n const isEarliest = !!item.path.includes('/time_earliest');\n const savedDateValue = formDataSaved.stops[targetStop][`time_${isEarliest ? 'earliest' : 'latest'}`];\n const stopState = formDataSaved.stops[targetStop].state;\n const stopTimeZone = statesTimeZonesList[stopState].timezone || timeZoneDefault;\n const currentDateValueFormatted = format(utcToZonedTime(new Date(savedDateValue), stopTimeZone), 'yyyy-MM-dd');\n const savedDateValueFormatted = format(utcToZonedTime(new Date(item.value), stopTimeZone), 'yyyy-MM-dd');\n return currentDateValueFormatted !== savedDateValueFormatted;\n }\n });\n return [hasDateChanged, targetStop];\n}\n\n/**\n * Fills in missing fields in userData from the User object.\n * If the user object doesn't have customerCode, username, phone_number,\n * ref1_prompt, ref2_prompt, or ref3_prompt, it fetches the missing fields\n * from the user profile.\n * @param userData - the data to be filled in\n * @param user - the user to get the data from\n * @returns a new UserData object with the filled in fields\n */\nexport async function getUserDataForNonStaffUsers(\n userData: UserDataAdvancedJB,\n user: User,\n): Promise {\n const newUserData: UserDataAdvancedJB = { ...userData };\n if (\n !user.customerCode ||\n !user.username ||\n !user.phone_number ||\n !user.ref1_prompt ||\n !user.ref2_prompt ||\n !user.ref3_prompt\n ) {\n try {\n await getProfile().then((res: User) => {\n // If user has first name put it into caller and slice to 16 as RH limit\n // else use username\n if (res.first_name) {\n newUserData.caller = (res.first_name + ' ' + res.last_name).slice(0, 16);\n } else {\n newUserData.caller = res.username.split('@')[0].slice(0, 16);\n }\n if (res.phone_number) {\n newUserData.phone_number = clearPhoneNumber(res.phone_number);\n }\n });\n } catch (err) {\n if (!isCancel(err)) {\n sendError(err, 'getUserDataFornNonStaffUsers');\n }\n }\n } else {\n newUserData.caller = user.username.split('@')[0].slice(0, 16);\n newUserData.phone_number = clearPhoneNumber(user.phone_number);\n }\n newUserData.customerCode = user.customerCode;\n return newUserData;\n}\n","import { format, utcToZonedTime } from 'date-fns-tz';\n\nimport { JobDetailedData } from '@/models/jobDetailed';\nimport dp from 'date-fns/parse';\n\nexport const clearPhoneNumber = (phone: string): string => {\n return phone.replace(/[^0-9 ()]/g, '');\n};\n\n/* eslint-disable no-prototype-builtins */\nexport const flattenObject = (obj: JobDetailedData): Record => {\n const flattenKeys = {};\n for (const i in obj) {\n if (!obj.hasOwnProperty(i)) {\n continue;\n }\n if (typeof obj[i] == 'object') {\n const flatObject = flattenObject(obj[i]);\n for (const j in flatObject) {\n if (!flatObject.hasOwnProperty(j)) {\n continue;\n }\n flattenKeys[i + '.' + j] = flatObject[j];\n }\n } else {\n flattenKeys[i] = obj[i];\n }\n }\n return flattenKeys;\n};\n\nexport const compareVersions = (a: string, b: string): number => {\n let i, diff;\n const regExStrip0 = /(\\.0+)+$/;\n const segmentsA = a.replace(regExStrip0, '').split('.');\n const segmentsB = b.replace(regExStrip0, '').split('.');\n const l = Math.min(segmentsA.length, segmentsB.length);\n\n for (i = 0; i < l; i++) {\n diff = parseInt(segmentsA[i], 10) - parseInt(segmentsB[i], 10);\n if (diff) {\n return diff;\n }\n }\n return segmentsA.length - segmentsB.length;\n};\n\nexport const generateDayTimesAmPm = (step: number): string[] => {\n const date = new Date(1970, 0, 1);\n const times: string[] = [];\n while (date.getDate() === 1) {\n times.push(format(date, 'hh:mm aa'));\n date.setMinutes(date.getMinutes() + step);\n }\n return times;\n};\n\nexport const convertTimeStringTo24Hours = (timeString: string): string => {\n const dateFromTime = dp(timeString, 'hh:mm aa', new Date());\n return format(dateFromTime, 'HH:mm:ss');\n};\n\nexport const convertTimeString12to24 = (value: string): string => {\n const [time, modifier] = value.split(' ');\n let hours = time.split(':')[0];\n const minutes = time.split(':')[1];\n if (hours === '12') {\n hours = '00';\n }\n if (modifier === 'PM') {\n hours = String(parseInt(hours, 10) + 12);\n }\n return `${hours}:${minutes}`;\n};\n\n// format date to timezone format with the pattern\nexport const formatDateStringWithTZ = (date: string, timezone: string, pattern: string): string => {\n return format(utcToZonedTime(new Date(date), timezone), pattern);\n};\n","import { ARServiceItemList } from '@/models/airRoad';\n\n// TODO: rid of jobCodesData as we use it from catalog API\nexport const jobCodesData = {\n TECH1: {\n id: 1,\n description: 'Technicial lvl 1',\n icon: 'mdi-progress-wrench',\n },\n TECH2: {\n id: 2,\n description: 'Technicial lvl 2',\n icon: 'mdi-progress-wrench',\n },\n TECH3: {\n id: 3,\n description: 'Technicial lvl 3',\n icon: 'mdi-progress-wrench',\n },\n TECH: {\n id: 4,\n description: 'Technician required',\n icon: 'mdi-wrench',\n },\n LSC: {\n id: 5,\n description: 'Large Stair-climber',\n icon: 'mdi-stairs',\n },\n SSC: {\n id: 6,\n description: 'Small Stair-climber',\n icon: 'mdi-stairs',\n },\n PPWK: {\n id: 7,\n description: 'Paperwork required',\n icon: 'mdi-file-document',\n },\n ONE: {\n id: 8,\n description: 'One-man job',\n icon: 'mdi-account',\n },\n FLR: {\n id: 9,\n description: 'Extra Items to Load',\n icon: 'mdi-caravan',\n },\n LIFT: {\n id: 10,\n description: 'Lifting gear/rigger',\n icon: 'mdi-forklift',\n },\n EXTR: {\n id: 11,\n description: 'Extra men required',\n icon: 'mdi-account-plus',\n },\n LOW: {\n id: 12,\n description: 'Low Dock Height',\n icon: 'mdi-format-align-bottom',\n },\n LATE: {\n id: 13,\n description: 'Late Booking',\n icon: 'mdi-clock-alert',\n },\n DIFF: {\n id: 14,\n description: 'Difficult job',\n icon: 'mdi-school',\n },\n PPE: {\n id: 15,\n description: 'Safety Equipment Required',\n icon: 'mdi-face-mask',\n },\n};\n\nexport const installationOptions = [\n { text: 'Unpack, position and test', value: 'DLVPOS' },\n { text: 'Deliver only', value: 'DLVONLY' },\n { text: 'Basic TECH1', value: 'TECH1' },\n { text: 'Standard TECH2', value: 'TECH2' },\n { text: 'Full TECH3', value: 'TECH3' },\n];\n\nexport const installationOptionsText = {\n DLVPOS: 'Plugin and test if applicable',\n DLVONLY: 'Delivery only. Will be left packed',\n TECH1: `Set IP, call IT to configure and confirm the device is connected to the network.\n 20mins allocated to installation.`,\n TECH2: `Set up main functions and train end-user. Configuration details required to complete set-up.\n 40mins allocated to installation.`,\n TECH3: `Set up main functions and train end-user. High-level installation where no configuration details are\n available. 80mins allocated to installation.`,\n};\n\nexport const returnOptionsList = ['Store', 'Recycle', 'Return', 'Workshop'];\nexport const returnOptions = [\n { text: 'Stored', value: 'Store' },\n { text: 'Recycled', value: 'Recycle' },\n { text: 'Forward to', value: 'Return' },\n { text: 'Go to Workshop', value: 'Workshop' },\n];\n\nexport const returnOptionsTexts = {\n 0: 'Items will be placed in storage if scrap, return or workshop is not selected',\n 1: 'Items will be sent for recycling',\n 2:\n 'For non-urgent deliveries back to your warehouse or an alternative location. ' +\n 'Please add final address in delivery instructions',\n 3: 'Items will be moved to KK workshop for runup/refurb',\n};\n\nexport const notificationErrorText =\n 'Call the helpful team for assistance on 02 9575 0000 or email to kkts_it@kkts.com.au';\n\nexport const jobItemsTypes = [\n { text: 'Carton', value: 1 },\n { text: 'Pallet', value: 2 },\n];\n\nexport const arJobStatuses = [\n { text: 'Not booked', value: 0 },\n { text: 'Booked', value: 1 },\n { text: 'In transit', value: 2 },\n { text: 'PoD received', value: 3 },\n { text: 'Failed to book', value: 1001 },\n { text: 'Queued to book', value: 1002 },\n];\n\nexport const statesTimeZonesList = {\n WA: {\n timezone: 'Australia/Perth',\n code: 'AWST',\n },\n NT: {\n timezone: 'Australia/Darwin',\n code: 'NT',\n },\n SA: {\n timezone: 'Australia/Adelaide',\n code: 'ACDT',\n },\n QLD: {\n timezone: 'Australia/Brisbane',\n code: 'AEST',\n },\n TAS: {\n timezone: 'Australia/Tasmania',\n code: 'AET',\n },\n VIC: {\n timezone: 'Australia/Victoria',\n code: 'AEDT',\n },\n ACT: {\n timezone: 'Australia/Victoria',\n code: 'ACT',\n },\n NZ: {\n timezone: 'Pacific/Auckland',\n code: 'NZDT',\n },\n NSW: {\n timezone: 'Australia/Sydney',\n code: 'AEDT',\n },\n};\n\nexport const timeZoneDefault = 'Australia/Sydney';\n\nexport const warehouseStatusList = {\n D: 'Despatch',\n I: 'Incoming',\n S: 'Stock',\n T: 'Transit',\n X: 'Unknown',\n};\n\nexport const zammadTicketRfcStatuses = [\n 'NEW',\n 'OPEN',\n 'PENDING_REMINDER',\n 'PENDING_CLOSE',\n 'AWAITING_DIMS',\n 'AWAITING_CUSTOMER',\n];\n\n// TODO: REFACTOR TO USE FROM CATALOG API?\n// OR TO CREATE AN OBJECT\n// THIS IS TO USE AS HARDCODED DIVISIONS\nexport const kktsDivisions = ['SYDNEY', 'BRISBANE', 'ADELAIDE', 'MELBOURNE', 'PERTH', 'DARWIN', 'CANBERRA'];\n\n// THIS IS FOR SPLIT TO BASE FUNCTION\nexport const kktsSplitToBase = ['SYDNEY', 'BRISBANE', 'MELBOURNE', 'ADELAIDE', 'PERTH', 'CANBERRA', 'DARWIN'];\n\nexport const statusChartLabels: string[] = [\n 'Booked',\n 'Allocated',\n 'Stop1',\n 'Stop2',\n 'Stop2(POD)',\n 'Completed',\n 'Cancelled',\n];\n\nconst ARServiceItem_TL = {\n code: 'TL',\n name: 'TailLift Required',\n specialOptionId: 1,\n chosen: false,\n};\n\nconst ARServiceItem_2M = {\n code: '2M',\n name: '2 Man Required',\n specialOptionId: 19,\n chosen: false,\n};\nconst ARServiceItem_AMSrv = {\n code: 'AMSrv',\n name: 'AM Service',\n specialOptionId: 23,\n chosen: false,\n};\n\nconst ARServiceItem_PMSrv = {\n code: 'PMSrv',\n name: 'PM Service',\n specialOptionId: 24,\n chosen: false,\n};\n\nconst ARServiceItem_PckReq = {\n code: 'PckReq',\n name: 'Packaging Required',\n stopAvailable: 1,\n specialOptionId: 26,\n chosen: false,\n description: '',\n};\n\nconst ARServiceItem_HndLd = {\n code: 'HndLd',\n name: 'Hand Loading',\n specialOptionId: 37,\n chosen: false,\n};\nconst ARServiceItem_HndUnLd = {\n code: 'HndUnLd',\n name: 'Hand Unloading',\n specialOptionId: 38,\n chosen: false,\n};\n\nconst ARServiceItem_SatSrv = {\n code: 'SatSrv',\n name: 'Saturday Service',\n specialOptionId: 27,\n chosen: false,\n contact_name: '',\n contact_phone: '',\n};\n\nconst ARServiceItem_PckUpTime = {\n code: 'PckUpTime',\n name: 'Specific Pickup Time',\n stopAvailable: 1,\n specialOptionId: 29,\n chosen: false,\n contact_name: '',\n contact_phone: '',\n date: new Date(),\n time: '12:00 PM',\n};\n\nconst ARServiceItem_DelTime = {\n code: 'DelTime',\n name: 'Specific Delivery Time',\n stopAvailable: 2,\n specialOptionId: 30,\n chosen: false,\n contact_name: '',\n contact_phone: '',\n date: new Date(),\n time: '12:00 PM',\n};\n\nconst ARServiceItem_Unpack = {\n code: 'Unpack',\n name: 'Unpack & remove Rubbish',\n specialOptionId: 31,\n chosen: false,\n description: '',\n};\n\nconst ARServiceItem_DtRange = {\n code: 'DtRange',\n name: 'Specific Date Range',\n specialOptionId: 35,\n chosen: false,\n contact_name: '',\n contact_phone: '',\n dateFrom: new Date(),\n dateTo: new Date(),\n};\nconst ARServiceItem_DVhcl = {\n code: 'DVhcl',\n name: 'Dedicated Vehicle',\n specialOptionId: 36,\n chosen: false,\n};\n\nexport const ARServicesDeliveryList: ARServiceItemList = {\n TL: { ...ARServiceItem_TL },\n '2M': { ...ARServiceItem_2M },\n AMSrv: { ...ARServiceItem_AMSrv },\n PMSrv: { ...ARServiceItem_PMSrv },\n SatSrv: { ...ARServiceItem_SatSrv },\n DelTime: { ...ARServiceItem_DelTime },\n Unpack: { ...ARServiceItem_Unpack },\n DtRange: { ...ARServiceItem_DtRange },\n DVhcl: { ...ARServiceItem_DVhcl },\n HndUnLd: { ...ARServiceItem_HndUnLd },\n};\nexport const ARServicesPickupList: ARServiceItemList = {\n TL: { ...ARServiceItem_TL },\n '2M': { ...ARServiceItem_2M },\n AMSrv: { ...ARServiceItem_AMSrv },\n PMSrv: { ...ARServiceItem_PMSrv },\n PckReq: { ...ARServiceItem_PckReq },\n SatSrv: { ...ARServiceItem_SatSrv },\n PckUpTime: { ...ARServiceItem_PckUpTime },\n Unpack: { ...ARServiceItem_Unpack },\n DtRange: { ...ARServiceItem_DtRange },\n DVhcl: { ...ARServiceItem_DVhcl },\n HndLd: { ...ARServiceItem_HndLd },\n};\n","let controller = new AbortController();\n\nexport const getControllerSignal = () => controller.signal;\n\nexport const abortController = () => controller.abort();\n\nexport const reinitController = () => {\n controller = new AbortController();\n};\n","// If you need to reference 'L', such as in 'L.icon', then be sure to\n// explicitly import 'leaflet' into your component\nimport L, { Class, Icon, IconOptions } from 'leaflet';\n\nexport class GIcon extends Icon {\n static Glyph: { new (...args: any[]): any } & Class;\n static glyph: (options) => any;\n}\n\nGIcon.Glyph = L.Icon.extend({\n options: {\n iconSize: [25, 41],\n iconAnchor: [12, 41],\n popupAnchor: [1, -34],\n shadowSize: [41, 41],\n // \t\ticonUrl: 'glyph-marker-icon.png',\n // \t\ticonSize: [35, 45],\n // \t\ticonAnchor: [17, 42],\n // \t\tpopupAnchor: [1, -32],\n // \t\tshadowAnchor: [10, 12],\n // \t\tshadowSize: [36, 16],\n // \t\tbgPos: (Point)\n className: '',\n prefix: '',\n glyph: 'home',\n glyphColor: 'white',\n glyphSize: '11px', // in CSS units\n glyphAnchor: [0, -7], // In pixels, counting from the center of the image.\n },\n\n createIcon: function () {\n const div = document.createElement('div'),\n options = this.options;\n\n if (options.glyph) {\n div.appendChild(this._createGlyph());\n }\n\n this._setIconStyles(div, options.className);\n return div;\n },\n\n _createGlyph: function () {\n let glyphClass;\n let textContent;\n const options = this.options;\n\n if (!options.prefix) {\n glyphClass = '';\n textContent = options.glyph;\n } else if (\n options.prefix === 'fab' ||\n options.prefix === 'fal' ||\n options.prefix === 'far' ||\n options.prefix === 'fas'\n ) {\n // Hack for Font Awesome 5 - it needs two different prefixes.\n glyphClass = 'fa-' + options.glyph;\n } else if (options.glyph.slice(0, options.prefix.length + 1) === options.prefix + '-') {\n glyphClass = options.glyph;\n } else {\n glyphClass = options.prefix + '-' + options.glyph;\n }\n\n const span = L.DomUtil.create('span', options.prefix + ' ' + glyphClass);\n span.style.fontSize = options.glyphSize;\n span.style.color = options.glyphColor;\n span.style.width = options.iconSize[0] + 'px';\n span.style.lineHeight = options.iconSize[1] + 'px';\n span.style.textAlign = 'center';\n span.style.marginLeft = options.glyphAnchor[0] + 'px';\n span.style.marginTop = options.glyphAnchor[1] + 'px';\n span.style.pointerEvents = 'none';\n span.style.display = 'inline-block';\n\n if (textContent) {\n span.innerHTML = textContent;\n }\n\n return span;\n },\n\n _setIconStyles: function (div, name) {\n if (name === 'shadow') {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n return L.Icon.prototype._setIconStyles.call(this, div, name);\n }\n\n const options = this.options;\n const size = L.point(options['iconSize']);\n let anchor = L.point(options.iconAnchor);\n\n if (!anchor && size) {\n anchor = size.divideBy(2);\n }\n\n div.className = 'leaflet-marker-icon leaflet-glyph-icon ' + name;\n const src = this._getIconUrl('icon');\n if (src) {\n div.style.backgroundImage = \"url('\" + src + \"')\";\n }\n\n if (options.bgPos) {\n div.style.backgroundPosition = -options.bgPos.x + 'px ' + -options.bgPos.y + 'px';\n }\n if (options.bgSize) {\n div.style.backgroundSize = options.bgSize.x + 'px ' + options.bgSize.y + 'px';\n }\n\n if (anchor) {\n div.style.marginLeft = -anchor.x + 'px';\n div.style.marginTop = -anchor.y + 'px';\n }\n\n if (size) {\n div.style.width = size.x + 'px';\n div.style.height = size.y + 'px';\n }\n },\n});\n\nGIcon.glyph = function (options) {\n return new GIcon.Glyph(options);\n};\n\nGIcon.Glyph.prototype.options.iconUrl =\n 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAABH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OWawvoIkYaNC0u9IcAIAHgp75NLQl8ENbPZJ6jgAU48RyFqHEuZyE+Pda/vjENAQBD5s209Y+kPJlyM4+r3lUS0AWSyVEhpHnjYu1pyO+7N4ywwPvhxHDiuwo8j1b5rkQwMZIziYHBXetPzIAAgIV8exZOSMoieI6aU5vKtgR0jqw1JtiYbZfW/R/kSN+mcWbxdtwYjn1XTd9B7cQAfNdCWB/OhBR7jvWv/3tWCAAoO3ktjyZZJ0HHbsq2AooERVQXzPKly2vOgPz29jNNBr+e1IcSz5YAM4hmFzPDtyWS+lDK4N2DfU+dbgsBAFHyd+oszE3agt/GjWcrUBEjj5sQBb96pXpXhAzueDJi4u1p41TsuQpCiFln4bkKeXMoJeadg++tG+sYAgBBXOo3RRrruAnfkWDmGfIdCeQhiiQgQbxjtlqzQk59vCZlNluL5lDiORLyMjcA4DsKeXM4AfDKxa97ThAAqPaMfaR1Nq6jOiqOAhOm5TsKJg1QZGGRedY7V6tzVcjBWk1D0JZ8cigt2RJSimkXnqOgW8MxQLUTb6wN5g0BgGPV0c9BekTH41xx5YXrQ8FkTRgdpxU7ea9djbYQ1GokmJ43wUhWtgRcS04tQjAcw9CWw29tThYOAXD03XVfMps/TTTOy30blDZgiqxFK6p7OsnvCDJ1UD9LyUjORoPDkUQyPfdHbXW+qJCjfRsOwOAoNY4z6Xz01rHq3k5zO4ZMHTabYSIhJD87MLB64f8Ys8WdG/tfBljMJedfwY+s/2P4Pv8AAAAASUVORK5CYII=';\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","class","color","colorIntensity","attrs","URL","firstName","lastName","_v","_s","staticRenderFns","Avatar","img","url","replace","fullUrl","type","String","required","default","component","size","loading","disabled","text","icon","Button","Boolean","components","Icon","on","openFileSelection","onDragOver","onDrop","link","ref","multiple","onFileChanged","DropZone","allowedFormats","highlight","fileInput","$refs","click","event","preventDefault","dataTransfer","files","result","file","fileType","indexOf","length","reader","FileReader","onloadend","b64","data","readAsDataURL","filename","name","push","store","dispatch","$emit","target","Array","VProgressLinear","model","value","callback","$$v","progress","expression","_e","isLoadingGlobal","endingPoint","style","VProgressCircular","GlobalLoader","defaultDuration","defaultInterval","variation","startingPoint","timeoutId","undefined","loop","clearTimeout","p","Math","round","min","setTimeout","start","stop","onGlobalLoading","computed","validation","scopedSlots","_u","key","fn","errors","minValue","variant","inputValue","incrementValue","decrementValue","staticStyle","InputIntegers","id","digitsNumberBefore","Number","applyValueFromParent","item","$forceUpdate","watchPropValue","watchValue","newValue","newString","split","substring","immediate","InputPositiveNumbers","digitsNumberAfter","strBefore","strAfter","directives","def","rawName","error","inputFocused","handleInput","inputKeyPressed","inputBlured","addressValue","VIcon","clearInput","$event","showOptions","selectItems","_l","idx","refInFor","arrowIdx","handleItemClick","message","LookupAddresses","addressData","addressChosen","city","line1","line2","line3","suburb","postcode","state","warehouse","addressChosenDefault","watchAddressChosen","slice","evt","filterdAdresses","filter","x","toUpperCase","map","address","code","fixScrolling","chosenAddress","find","options","scrollContainer","liH","clientHeight","scrollTop","clickedOutside","deep","ValidationProvider","codeValue","LookupCustomerCode","codeChosen","watchCodeChosen","customer_code","then","catch","e","console","log","finally","hasError","chip","index","activeChipIdx","handleChipsKeyDown","chipFocused","nativeOn","deleteChip","domProps","handleInputKeyDown","composing","inputChanged","isInputActive","isChipSectionActive","chips","label","charAt","LookupMailbox","chipsProp","signalState","debouncedRequest","watchToChips","setFocusOnChip","splice","setFocusOnInput","focus","maxIndex","mailboxInput","saveChip","debounce","getMailboxes","scrollVal","option","controller","AbortController","signal","Object","values","abort","suburbChosen","LookupSuburb","chosenSuburb","stop_number","LookupWarehouses","lookupData","mounted","VSnackbar","timeout","VBtn","_b","isVisible","Notification","close","watchToModel","watchToIsVisible","ReloadButton","toggleClicked","option1","option2","ToggleButton","option_all","VSwitch","ToggleTableCell","showTooltip","hideTooltip","_t","show","className","Tooltip","direction","delay","delayHide","arrow","popper","showTimeout","update","reference","tooltip","placement","modifiers","offset","beforeDestroy","destroy","VDialog","modal","VCard","warning","onFilesAdded","VDataTable","filesHeaders","filesObjectsForTable","toFixed","deleteFiles","uploadError","uploadFiles","apply","arguments","UploadAttachments","PFiles","align","watchToPFiles","VAvatar","background","imageURL","newImage","routePath","$router","back","BackButton","circleColor","downloadFile","fileName","lastIndexOf","res","blob","Blob","downloadLink","document","createElement","href","createObjectURL","download","revokeObjectURL","$notify","group","title","VChip","Chip","formattedDate","dateToggle","userTimezone","localTimezone","VTooltip","_g","chosenTimezoneCode","chosenTimezone","localTimezoneCode","userTimezoneCode","DateTimezoneToggle","dateString","pattern","user","statesTimeZonesList","defaultTimezone","convertStringToDateTimezoneFormat","timezone","date","Date","dateTimeZoned","utcToZonedTime","format","setDefaultValues","stateCode","chosenTimezoneCodeIdx","findIndex","keys","dateWatch","onDragLeave","deleteFile","FilesTable","watchToFiles","content","description","IconWithTooltip","selectedSuburb","VAutocomplete","shift_id","itemSearch","v","tabIndex","search","change","VListItem","VList","inputText","proxy","editedItem","chosen","autocomplete","selectedSuburbDefault","zone","val","watchToChosen","suburbId","Function","VMenu","VTextField","datePickerOpen","VDatePicker","today","dateChanged","DatePicker","$route","routeNames","SCHEDULER_SHIFTS","params","isValid","userTimeZone","path","scheduleBoard","toLowerCase","OpenSchedulerBoardFromJobLink","handlePrintClick","arJob","isShow","handleDialogClose","$style","printerListDialog","dialog","PrinterListLoadBody","connote","PrinterListHeader","printers","printerListBody","printersTable","printer","selectedPrinterId","selectedTr","handleTrClick","location","footer","handleBtnClick","printBtn","isLoading","handleClick","iconWrapper","PrintBtn","injectStyles","context","locals","PreviewJobDialogBody","NaN","watchPrinters","printer_id","status","Error","err","printerId","watchIsShow","fetchData","PrinterListBody","PrinterListDialog","PrinterListWindow","PrintActionBtn","isAirRoadBooked","stopPropagation","searchValue","TInputCloseBtn","VContainer","headers","jobs","expanded","disableSort","rowClasses","expandRow","showSplitToBase","split_base","$can","edited","job_date","formatDateStringWithTZ","ref1","ref1_prompt","main_stop","suburb_name1","suburb_name2","suburb_state1","suburb_state2","stop1_name","stop2_name","currDriver","currDelay","wareHouseLinkClick","wh_status","warehouseStatusList","attr","jobCodesData","statusChartLabels","cost_service","showJobEditBtn","openInEditModalClicked","unique_id","showEdit","JobTable","headersProps","sortable","filterable","env","quant_id","window","open","hideNotForStaffColumns","h","driverVal","driver1","driver2","toString","delay_time","numHours","floor","parseInt","job","priority","is_rfc","$ability","can","KStatusChart","KJobTimeline","VRow","VCol","VTimeline","VTimelineItem","services","booked","VDivider","allocated","equipment_code1","isStop1Main","arrived1","assigned1","arrived2","assigned2","required1","departed1","pod_time1","customerStopNumber","required2","pod_time2","completed","cancelled","DETAILED_QUERY_JOB","query","job_id","loadingPDF","downloadShippingPdf","toggleJobHiding","n","i","note","write_user","write_date","pod","jobId","jobDate","podName","jobUniqueId","PODs","is_done","username","serviceCode","firstStopCustomerEndings","lastTwoLetters","includes","sv","join","updatePOD","remove","POD","width","height","step","statusList","lightGray","num","blink","red","clickable","r","toggleModal","showLabel","labelShowed","labelX","labelY","labelFontSize","labelText","jobModalData","$set","isOpen","driver","jobIdShort","actionText","stopText","position","stopFromName","stopToName","iconPosition","completeStop","gray","green","orange","blue","indexList","action","stopNumber","isMainStop","has_3rd_stop","items","job_key","require_pod","timeStamp","updateTrafficLight","driver_id","pod_name","Result","dates","changeDate","clearDateFilter","VSelect","drivers","driversSelected","el","DriverSelect","storeDrivers","storeShowBfixCategory","jobBfixData","updateDrivers","locations","all","unallocated","in_progress","forEach","locationJobs","sort","a","b","changeDrivers","changeJobs","changeCategory","storeShowCategory","jobData","SelectFields","userSelectedDates","storeSearch","setSearch","dayAfterOneWeek","addDays","DateSelect","StateSelect","DriversSelect","DriversBfixSelect","chosenDate","menu","SEARCH","todayClick","RangeMsgWarn","onMenuClosed","availableStates","maxHeight","toggleAllStates","VListItemAction","selectedStates","toggleAllStatesIcon","storeSelectedStates","setSelectedStates","showCategory","allCounter","unallocatedCounter","progressCounter","completedCounter","cancelledCounter","active","winWidth","avatarColor","count","StatusButton","innerWidth","StatusButtons","category","setCategory","customerDetailsFieldGroup","userData","customerCode","autocompleteCustomer","customerCodeIsRequired","setCustomerCode","trim","onlyNumberAndSpace","handleBlur","ref2_prompt","ref3_prompt","CustomerDetailsFieldGroup","phone_number","keyCode","which","filesAdded","ExampleDiv","VForm","handleSubmit","detailedJob","isDatesError","onlyNumberAndSpaceBlur","CustomerDetailsFieldset","userDataDefault","caller","reference1","reference2","reference3","ref1_required","ref2_required","ref3_required","watchUserData","customer","phone","reference_1","reference_2","reference_3","watchDetailedJob","chooseAddressFieldset","stops","chooseAddressStopFieldset","stopHeader","stopIndex","stopBody","addresses","isAddressesFetching","suburbItems","VCombobox","maxlength","fieldValidationRules","fieldValue","noDataSelectItem","script","commonSelectItem","requiredValidationRule","getMaxlengthValidationRule","isSuccess","CompanyNameComboboxField","NoDataSelectItem","CommonSelectItem","StreetAddressTextField","RoomLevelUnitTextField","suburbAutocompleteField","isFetching","stateAndPostcode","isStateAndPostcodeShow","SuburbAutocompleteField","debounceFetchWrapper","fetchWrapper","isComponentJustCreated","suburbItem","newSuburbId","getSearchString","watchSearch","newSearch","oldSearch","ContactDetailsNoteNameTextField","ContactDetailsNotePhoneTextField","VTextarea","ContactDetailsNoteTextTextareaField","attributesFieldset","addStairsBtn","isAddStairs","isAddStairsDisabled","handleAddStairsServiceClick","jobStop","attributesAutocompleteField","selected","select","removeItem","AttributesAutocompleteField","watchFieldValue","created","getters","queryText","toLocaleLowerCase","attributesTextBtn","AttributesTextBtn","AttributesFieldset","isAddStairsDisabledWatcher","attributes","quantity","_clientId","dateTimesFieldset","fieldGroup","errorFieldGroup","field","dateField","timeEarliestChanged","timeField","handleChange","TDatepickerDateField","timeString","zoneString","stopTimeZone","timeZone","timepicker","secondsString","dateFromTime","DateTimesFieldset","formatVal","time_earliest","earliestYear","earliestMonth","earliestDate","latestDate","time_latest","setDate","setMonth","setFullYear","isErrorWatcher","TDatepickerTimeField","ChooseAddressStopFieldset","stopValue","setSuburbItems","newStops","post_code","watchDetailedJobStops","oldStops","setDetailedJobStops","watchSuburbItems","watchDetailedJobCustomer","getAddressBookWrapper","watchAddressData","page","results","ChooseAddressFieldset","legsFieldset","legItem","_m","productsFieldset","legend","modelItem","descriptionItem","serialItem","quantityItem","goodsTypeItem","weightItem","widthItem","heightItem","lengthItem","pickupProducts","product","handleGoodsTypeChange","delBtnItem","delBtn","handleDelClick","addBtn","handleAddClick","ProductsModelComboboxField","ProductsDescriptionTextField","ProductsSerialTextField","max","isError","handleKeypress","ProductsQuantityNumberField","_clearFieldValue","rewriteValue","$nextTick","valueNum","valueInt","valueIntStr","blinkError","test","ProductsGoodsTypeAutocompleteField","productTypes","ProductsCommonNumberField","legsBlockBtn","LegsBlockBtn","legsSmallRoundBtn","ProductsFieldset","deliveryStopNumber","pickupProduct","defaultGoodsTypeItem","defaultGoodsTypeValue","model_id","serial","delivery_stop_number","getPickupProductParams","pieces","type_code","primary_service","volume","extra_options","weight","ceil","parseFloat","default_length","default_width","default_height","assign","LegsSmallRoundBtn","serviceCodesFieldset","serviceTextItem","serviceNumItem","service","ServiceCodesServiceAutocompleteField","serviceCodes","ServiceCodesQuantityNumberField","ServiceCodesFieldset","LegsFieldset","jobbookingCreateSubmitBtn","JobbookingCreateSubmitBtn","JobbookingCreateForm","isInitialLoading","initialDetailedJob","isSubmitting","watchInitialDetailedJob","form","validate","input","inputVal","blur","changeChosen","service_code","tabItemsPrevCount","dateTimes","VSpacer","timeChanged","defaultSelectorClick","timeIsSetted","timeArray","timeToArray","defaultSelectorClicked","DeliveryDetails","stops_counter","tabItemsCount","nowMil","getTime","roundedMil","todayTime","nextTimeIdx","todayDate","timeFrom","timeTo","dateFormatted","completionArrayTime","watchToDateTimes","stop1timeFromIndex","stop2timeFromIndex","nextTime","stop3timeFromIndex","timeFromIdx","attachFiles","AddImage","rh_id","rh_date","watchToPGoods","alert","saved","Autocomplete","product_id","closeOnContentClick","AutocompleteFinisher","subtitle","Header","uniqueId","editable","stopComplete","original_stop","address_line_2","address_line_1","note_text","note_name","note_phone","completeJobData","stopName","StopCompleteDialog","podNameRequired","completeJobDataChanged","podRequired","rockhopper_id","rockhopper_date","driver_is","dialogCard","VRadioGroup","selectedItem","allocation_state","lastStopModalItems","lastStopModalItemsNotAllocated","itemClicked","VRadio","selectedItemIdx","_k","submit","lastStopModalData","StopCompleteLastStopDialog","reason","resetValidation","valid","setJobAsComplete","setJobAsFutileClicked","setJobAsCancelClicked","driver_code","actor","StopDrawing","completed_at","showNotes","isAllocated","isLastStop","isCancellable","departed_at","arrived_at","Stop","ticketsData","mail","checkTicketIsRfc","articleClicked","updated_at","ZammadList","ticket","loadingNewArticle","ticketData","article","created_at","timeZoneDefault","origin_by","zammad_login","avatar","first_name","last_name","created_by","openMessages","from","to","cc","subject","fragment","attachments","attachment","downloadImage","ticket_id","fragmentsPreview","toggleMessageClicked","internal","togglePrivacy","replyClicked","msgTypeChanged","newArticleData","toInputHasError","toChips","setChips","ccChips","quote","sendArticle","company","email","UserInfoCard","handleDownloadImageClicked","ZammadTicketCreationForm","image","response","ZammadTicket","articlesData","loadingRfcRequest","validateEmails","typeIsEmail","channelsEmailList","validateEmailToInput","isEmail","userName","userSign","time","dateSign","body","querySelector","scrollTo","top","scrollHeight","behavior","documentElement","articleId","content_type","sender","editingArticleIdx","msgForm","success","async","setTicketState","reset","fileIdx","article_id","file_id","file_name","setAttribute","appendChild","state_id","closeR4CClicked","getZammadChannelsEmailWrapper","generateArticleFragments","html","regex","fragments","lastIndex","match","matchAll","imgRegex","imgMatch","exec","parts","imageId","imageName","fragmentsPreviewString","AttachmentsField","ZammadTicketImgPlaceholder","formData","submitFromClicked","newMsgForm","board","division","already_scheduled_stops_count","total_stops_to_schedule_count","locked_by_name","board_date","SchedulerCard","selectedDriver","driversFiltred","full_name","attribute","DriversLookup","driversChosen","shift","extented","selectedDriverDefault","mobile_phone","clear","filterDrivers","chosenString","driver_fullname","watchToShift","watchToDrivers","dateRangeText","menuClose","Pdates","todayButton","changeDates","watchToDateProps","datePickerKey","setDefaultDates","setExtendedDates","setThisWeekDates","setNextBusinessDay","DateRangeCustom","showDefault","showExtended","showThisWeek","showTomorrow","defaultRange","extendedRange","fromToday","useDays","tomorrow","addBusinessDays","fromDefaultRange","toDefaultRange","fromDate","toDate","addMonths","fromExtendedRange","toExtendedRange","weekStart","startOfWeek","weekStartsOn","endOfWeek","lastDayOfWeek","hint","isNaN","addValue","Input","showInputText","selectedStatesProp","setSelectedStatesProp","showTopButton","VNavigationDrawer","miniVariant","drawer","portalVersion","VListGroup","VListItemAvatar","VListItemIcon","showItemToNonStaff","miniVariantClick","subItem","notifications","counter_tickets_unread","odooPath","onOpenConfirmDialog","onLogout","LogoutBtn","portalNotificationsClicked","counter_unread","single","unreadFilterClicked","only_unread","items_all","tab","notificationsTabClicked","items_shown","setNotificationAllAsReadClicked","handleScroll","notification","level","notificationHoveredId","loadingIds","notificationClicked","unread","verb","setNotificationAsReadClicked","setNotificationAsUnreadClicked","notificationHoveredIdShowTooltip","timestamp","timesince","NotificationsPanel","panel_is_open","loaderNextPage","offsetHeight","scrollSection","routeNamesKeys","ids","closeNotificationsPanel","loadMoreNotificationsClicked","deleteNotificationClicked","SideMenu","account","menuItems","staff","list","prototype","hasOwnProperty","call","watchToMiniVariant","addEventListener","nodeName","destroyed","removeEventListener","goToTop","ButtonToTop","DefaultLayout","authData","isUserDataDispatchedToStore","beforeCreate","zammad_groups","zammad_id","portalVersionInterval","setInterval","compareAppVersionsResult","reload","clearInterval","access","permissions","rules","permission","actions","pageYOffset","InitialLayout","ldx","dateTypeChosen","dateTypeClick","jobsStatuses","clearJobsStatus","changeJobsStatus","chosenJobsStatus","clearCustomerCode","searchChange","clearSearch","quickJobs","isQuickJobsCheckedChanged","getAirRoadWrapper","tableData","isArray","allChosen","_i","jobCheckboxAllClicked","$$a","$$el","$$c","checked","$$i","concat","tableJobRowClick","labels","chosenJobs","jobCheckboxClicked","jobsStatusesCodes","downloadBulk","tableOpenedJobIdx","copyText","json_used_for_booking","error_text","jdx","jobsStatusesCodesOrder","special_options","isPickup","getARServiceData","specialOptionId","notes","loadingPdf","pagination","perPageOptions","total","perPage","visible","updatePagination","tableHeaders","VCheckbox","ar_booked_leg","ar_status","ar_total_weight","ar_total_volume","ar_items_type","ar_total_items","calcClicked","calcOpen","calcCloseClicked","calcChanged","calcData","depth","jobItemsTypes","ar_error_text","statusCode","dimension","calculatedValue","calcValueRounded","watchToStatusCode","errorColumnIndex","header","AirRoadBooked","datesDefault","jobStatusesOrder","pageData","next","previous","dateTypes","debouncedSearch","navigator","clipboard","writeText","JSON","stringify","duration","idsToDownload","jobChosenIdx","jobIds","reduce","acc","obj","perPageSelectChanged","endpointParams","ordering","rockhopper_date_gte","rockhopper_date_lte","created_at_gte","created_at_lte","required_at_gte","required_at_lte","quick_created","page_size","AirRoadJobsTable","backBtnClicked","bookingState","checkboxes","changeStates","handleOnly920DriverCheckboxChange","handleExclude920DriverCheckboxChange","handleFromWarehouseCheckboxChange","handleToWarehouseCheckboxChange","jobsToBook","jobsToBookOriginal","nextStepClick","productsToDrop","productsPacked","currentLegNumber","ARServicesDeliveryList","ARServicesPickupList","setSpecialOptions","specialOptions","withAllocationChanged","AirRoadHeader","AirRoadFilters","states","error_message","jobRadioClicked","singleJobChosen","booked_by","booked_at","kdx","required_at","products","from_stop","to_stop","goods_code","nextButtonText","isCounter","TableList","JobsTable","jobDefaultData","exclude_leg","autocompleteSuburb","closeAddressModal","leg_2_chosen","new","openAddressModal","getAddressOptions","addressBookNames","changeAddressBook","clearChosenAddress","addingAddress","changeSuburbLookup","clearSuburbLookup","addAddressBtnClick","addingAddressDefault","changedStop","addressBook","stopState","originStop","originalStop","originalStopListKey","packEachToClick","onDragStart","onDragEnd","removeExtraProductClick","productExtra","addExtraProductClick","productChosen","cartonEditing","productChosenCloseClick","addPackageDimensionsChanged","counterMax","counterChanging","addPackage","handleDrop","palletEditing","template","handlePackageDrop","weightIsEdited","openEditPackageWeightClicked","weightEditedValue","packageCloseClicked","packageWeightChanged","changePackageWeightClicked","unpackProductClick","unpackPackageClick","productRemoving","unpackProductBtnClick","productDroppedOnPackage","addProductBtnClick","totalPackagesData","carton","cubicWeight","pallet","PackageStep","selectedProduct","productDefaultData","_id","counter","splitCounter","packageDimensionsValues","custom","productToDrop","addingWeight","packageCounter","unshift","weightDialogIsOpen","itemIdx","productIdx","updatePackagesCounters","currentItemIdx","productWeight","filtered","productToDropIdx","random","extra","chosenValue","changingProductIdx","full","addPackageDrop","calcPackagesTotal","typeKey","valueKey","curWeight","onmounted","productsPackedChanged","serviceItem","isArServiceDisabled","ServicesForm","ARServicesList","Services","createARServicesObject","servicesList","is_pickup","newDateTime","newDateFrom","newDateTo","newTimeValue","dateFrom","dateTo","special_option_id","contact_name","contact_phone","first_date","second_date","checkFromServicesValidation","payloadDelivery","payloadPickup","$el","$vuetify","goTo","formServices","withAllocation","qty","buildPackedProducts","getStopTimeZone","ConfirmStep","PendingStep","AirRoadJobs","ARServicesDeliveryListDefault","parse","ARServicesPickupListDefault","only920Driver","exclude920Driver","fromWarehouse","toWarehouse","current","buildJsonToBook","jobOriginal","productsToBook","stopsToBook","stopNumberToRemove","ar_stops","bookJob","clearARServicesList","clearARServicesItem","serviceDefaultData","newStep","curLeg","prevStep","history","clearChosenData","quick_booking","wh_state","only_920_driver","exclude_920_driver","from_warehouse","to_warehouse","LegChoose","isFiltersSet","clickChip","jobsCategoryCount","dataSync","filteredItems","notificationClose","notificationColor","notificationText","notificationTimeout","clickNotification","driver2_name","driver2_tel","driver2_email","Dashboard","interval","alertTimeout","selectDates","setJobBfixData","filteredJobs","jobsCounter","timeoutAlert","newFilteredJobs","newLocationArray","filtredJobsObject","can_schedule","timeCycle","changeRoute","JobBfixTable","jobsWithRequest4Change","rfcCounterClicked","toggleFiltersbar","showFiltersBar","filters","filtersAttributes","updateFilters","updateAttributeFilters","openInEditModal","showModal","currentJobIdx","closeModal","currentJobChanged","props","notificationClick","clickChipAttr","FiltersBar","filterIdx","storeJobsWithRequest4Change","req4changeClick","RequestForChangeIndicator","jobDateMin","jobDateMax","colorIntensityHover","CounterWithIcon","setJobData","clean","is_futile","techAttrs","attrIdx","prevUrl","DETAILED_PARAM_JOB","JobCompliance","Errors","VCarousel","VCarouselItem","VImg","slot","serviceUpdatesLimit","limit","HomePage","carouselImgs","newsEntries","loadNews","newsLimited","whatsNew","serviceUpdates","serviceUpdatesNews","CloneJobbookingView","INITIAL_ERROR","drafts","modified","editItem","deleteItem","Drafts","getDraftsWrapper","showError","deletingItemIndex","ADVANCED_JOB_BOOKING","PARCEL_JOB_BOOKING","SPREADSHEET_JOB_BOOKING","SPREADSHEET_B2B_BOOKING","AIR_ROAD_JOBS","WAREHOUSE_QUANT_PAGE","WAREHOUSE_SAME_WH_JB","WAREHOUSE_TO_WH_JB","SITE_INSPECTION_JOB_BOOKING","TECHNICIANS","BOOKED_JOBS","DRAFT_JOB_BOOKING","AIR_ROAD_BOOKED","underConstruction","linkRouter","PageCard","resolve","resolved","matched","JOB_BOOKING","JobBooking","formChanged","clearForm","stop3","uiState","toggleStop3","hideStop3","changeStops","changePriority","changeInterState","changeWhCustomerCustomer","changeDatesRoot","good","stopNames","goods","changeGoods","changeFiles","errorFromAPIResponse","jobHasPriority","jobIsInterState","jobHasRecycledProduct","jobIsWhCustomerCustomer","draftShowError","draftTitle","draftIsLoading","createDraft","saveDraft","showFooter","isSideMenuOpen","showRecycleProductDialog","bookJobWithRecycledConfirmed","toggleWarehouse","clearAddressBook","addressesWarehousesNames","addressesWithoutWarehousesNames","keyPressedddressBookName","address_2","address_1","postCode","changeSuburb","clearSuburb","addressBookCheckbox","ADDRESS_BOOK","warehouseContactRules","notesName","notesPhone","PStops","switchStopClicked","addStop","defaultStopValue","notesInstruction","populateStop3WithWarehouse","tempStop1","tempStop2","watchToPStops","checkInsterState","toggleStop3value","warehouses","warehouseInChosenState","lookup","clearNoneExistentAddresses","fullName","watchToCustomerCode","_","DateTimes","goodNumber","installationOptionsText","returnOptionsTexts","returnOptions","autocompleteFinisher","goodsOnFirstLegCounter","changeModel","autocompleteModel","statusText","decrementQuantity","serialNumberFilled","_n","incrementQuantity","installation","installationOptions","returnOptionText","returnOptionChanged","returnOption","stopGoodsCounter","addMachine","addFinisher","goodsData","Goods","defaultTableValue","serial_number","checkboxStairs","checkboxLoadingDock","checkboxPPE","checkboxRunup","radioTypeGoods","stairsNotes","showStairsNotes","newGood","responce","watchToGoodsData","watchToStops","watchToGoods","optionIdx","installationIndex","returnIndex","returnOptionsList","JobBookingAdvanced","stopsAr","productsAr","jobIsDraft","jobDraftData","schema_version","REF1","REF2","REF3","draftTitleOrigin","dateTimesDefault","stopsDates","submitSectionHeight","getElementsByClassName","pageHeight","dateTimesCorrection","some","hasRecycle","fileIndex","writeJobToLocalStorage","localStorageJobData","writtenJobData","localStorage","getItem","setItem","populateDataFromLocalStorage","buildJob","warehousesStops","stopStop","earliest","latest","address_line1","address_line2","number","note_email","getCustomerStopsIndexes","stopIndexes","setStopAttributes","stopIdx","setNotes","stopGoods","returns","runup","source","bookValidatedJob","notesEmail","removeLocalStorageData","failed","error_reason","scope","setLevel","setBusinessDay","showSuccess","draftId","populateFromDraft","goodsDataFirstStop","goodsDataSecondStop","returnValue","string","productData","readFromIdx","nextBusinessDayIndex","getDay","dateAllowed","timeDiff","differenceInMilliseconds","loadingData","isSameWH","addressesWarehouses","stopsChanged","handleDateChange","changeProducts","productsHiddenData","ProductsWarehouse","getProductLocationWrapper","watchToProducts","whChanged","JobBookingWarehouseFieldSet","JobBookingWarehouseToWarehouse","localStorageName","clearError","promiseRunner","meta","pageTabs","customerDataChanged","formSubmitted","identicalAddresses","defaultAddressIconClicked","addressBookData","suburbChanged","addToAddressBook","minDate","datePickerDefault","switchAddresses","removePackage","addProductClicked","totalData","formError","onSubmitBtnClick","addPackageDialog","onPackageSubmit","addPackageData","customChosen","productsGeneralList","packageBoxSelectChanged","boxVolume","addPackageWeightChanged","addPackageQuantityChanged","addPackageWidthChanged","addPackageHeightChanged","addPackageLengthChanged","addPackageError","PageTabs","sectionNumber","elDistanceToTop","getBoundingClientRect","pageHeader","getElementById","pageHeaderHeight","sectionPositions","curTab","customerCodeChanged","BookingHeader","customerData","emitData","updateData","watchData","getReferences","JobBookingGeneral","productsGeneralCustomList","packageBox","watchProducts","currentProductIdx","newVolume","newWeight","watchPackageType","chosenIdx","chosenBox","recalcPackageVolume","stopFirst","stopSecond","lookup0","lookup1","lookupAddress0","lookupAddress1","provider","redirect","bookResult","go","packageForm","getProductsGeneralWrapper","lookupAddress","JobBookingSiteInspection","stopDefaultData","dateTimeDefaultData","dateTime","transitionName","searchedJobsClone","loaders","jobHiddenData","editingSections","jobProcessingState","editSectionClicked","callAnimatePanel","fetchJobReload","addTmp3rdStop","removeTmp3rdStop","fetchUnlockedJob","reallocateDriver","canScheduleClicked","cancelBtnClick","applyBtnClick","cannotBeEdited","isEditingByOther","hasChanged","every","slide","animatePanel","sectionLoading","saving","isAddRolledServiceCodeDialogOpen","closeAddRolledServiceDialog","addRolledServiceCode","jobEditError","customerDetails","stop0","stop1","stop2","products0","products1","services0","services1","canSchedule","schedule_board","logOutClicked","files_list","files_upload","editingBgClicked","is_warehouse","addressChanged","suburbLookupChanged","dateIsLinked","stopsDateLinkClicked","stopDateChanged","timeFromInitial","stopTimeChanged","timeToInitial","durationChanged","schedule_start","schedule_finish","stopsAttributes","removeStopAttributes","addStopAttributes","staticListsData","driverStatus","driverStatusChosen","driverChanged","driverButtonsState","deallocate","driverStatusClicked","preallocate","allocate","handleFetchJobCancel","driverCode","handleCloneJobClicked","pickup_products","removeProductClicked","productPrefixChanged","productModelChanged","table","inputIntegersProductChanged","removeServiceCodeClicked","serviceCodeChanged","serviceCodeQuantityChanged","scheduled_fee","serviceCodeScheduledFeeChanged","fee","serviceCodeFeeChanged","gst","serviceCodeGSTChanged","second_quantity","serviceCodeSecondQuantityChanged","pay","serviceCodePayChanged","addServiceCodeClicked","calcStopTotal","calcJobTotal","newMailOpenToTop","ticketFormData","ticketFormSubmitted","newMailOpen","newMailClicked","zammadTickets","zammadArticleClicked","messages","msg","respond_to","msgtext","sent","filesToRemove","warnings","productValue","LookupProductModel","selectItemsData","valueChosen","watchValueChosen","pref","chosenItem","watchPropTypeCode","oneOf","serviceValue","LookupServices","serviceData","serviceDataChosen","serviceChosen","watchPropServiceCode","watchServiceChosen","filteredAddresses","firstVal","secondVal","firstValToSortString","secondValToSortString","localeCompare","itemCode","chosenService","oneOfExtendValidationRule","requiredDriver","oneOfDiver","driverValue","LookupDriver","driversData","driverChosen","driverChosenDefault","codes","productTypeValue","LookupProductTypes","productTypeChosen","productTypeChosenDefault","filteredType","prefixValueToShow","prefixList","prefixValue","LookupProductPrefix","prefixListShortList","attributeValue","SelectAttributes","chosenAttrs","attributeList","SectionEditPlaceholder","VExpansionPanels","VExpansionPanel","VExpansionPanelHeader","VExpansionPanelContent","splitToBaseRadioClicked","split_stop_number","kktsSplitToBase","splitToBaseChanged","setJobSplitToBase","SplitToBase","base","debug","add3rdStop","Add3rdStop","remove3rdStop","Remove3rdStop","_isTmp","stairsServiceRadioClicked","stairs_stop_number","addStairsClicked","AddStairsService","cancel_name","cancel_reason","JobCancel","formCancel","futile_reason","JobCloseAsFutile","formFutile","JobAttachmentsField","fileToUploadIdx","filesToUpload","newFile","uploaded_by","file_data","JobComplianceModal","opsEmails","isCanceling","showSectionDisable","getOpenSectionName","sectionName","section","prevDateStringTime","openSectionChecker","lookupSuburb","fieldName","linkedFielddName","linkedHiddenFielddName","prevLinkedDateStringTime","oldDateValue","newDateTimeValue","attrDataIdx","calculateDriverButtonsState","applyStopsData","stopsToApply","chosenAttr","applyProductsData","currentDriver","lookupDriver","chosenDriver","applyDriverData","driverForm","product_number","prevVal","prefix","RegExp","afterLastPrefix","productsChanged","newProducts","productsRef","inputModel","inputQuantity","service_number","recalculateServiceFeeChanged","recalculateServiceGstChanged","feeAfterGST","servicesRef","applyServicesData","lookupService","inputServiceQuantity","newMailClickedOutside","routeData","bodyRfc","bodyNote","rh_job","zammad_tickets","allStaticCheckData","AddRolledServiceCodeDialog","rolledServiceCodeStopNumber","singleJob","cancel","futile","splitToBase","stairsService","editSectionForm","rockhopper_key","cancelled_at","allocated_at","price","reference_4","customer_ref1_prompt","customer_ref2_prompt","customer_ref3_prompt","customer_ref4_prompt","service_area","ar_jobs_count","pod_time","is_pod_image","equipment_code","instructions","app_images","formDataSaved","ref4_prompt","ref4_required","futile_name","jobHiddenDataSaved","watchToShowModal","structuredClone","currentJobIdxChanged","fetchDataById","dir","len","jobComplianceForm","closeEditingSections","lockRes","checkUpdateDataPossibility","setLock","locked_by","diff","handleSetJobLock","lock","prevData","prevDriver","create3rdStop","noValidationSections","isProductsSection","isServicesSection","sectionRef","handleCustomerDetailsSection","handleStopSection","handleProductSection","handleServiceSection","handleDriverSection","handleFilesListSection","handleFilesUploadSection","sendUpdateHandler","removeResult","Promise","idxToRemove","changedStopNumber","changedStopServicesCounter","changedStopServices","changedStopWithRolledSCIdx","reqChange","op","NewJobbookingView","failedJobs","dryRun","createdJobs","copyURL","filesCounter","newUpload","SpreadSheet","dry_run","resNoDry","appUrl","substr","execCommand","removeChild","FileUploader","ButtonDownload","serviceCodeItems","newTicketClicked","dialogImage","deleteAttachment","fetchDataNoLoader","loadingTickets","zammadFormData","newRequestForChangeDialogOpen","ticketDialogCloseClicked","dialogEditTicket","editingTicketArticles","editingTicketData","updated_by","jobIdClicked","zammadListChanged","arJobs","handleCanScheduleChange","cancel_person","calcDelay","openRequestForChangeDialog","doReSync","printPdf","downloadCsv","splitToBaseDialogToggle","handleCloneJobClick","splitToBaseDialogIsOpen","updateTable","whChosen","setSplitToBase","SplitToBaseDialog","requestForChangeMessage","isZammadLoading","innerHeight","scrollY","onscroll","currentScrollOffset","scrollStopPoint","screen","availHeight","print","flattenJob","csv","messagesList","is_private","sendMessage","Messages","loadingVisibility","messagesChanged","editingMessage","message_id","private","jobMsgForm","respond_email","Note","startsWith","special_instructions","instruction","warehouseLink","copyProductName","Products","numberOfProducts","getDriverData","driverList","StopServices","arJobStatuses","location_code","total_weight","total_volume","scans","downloadLabel","job_type","service_type","eta","arJobItemsTypes","item_type","AirRoadJobsDetailed","expandIfSingleJob","JobDetailed","loadingTicketArticles","editingTicketIdx","article_count","article_ids","close_at","close_diff_in_min","close_escalation_at","close_in_min","create_article_sender","create_article_sender_id","create_article_type","create_article_type_id","created_by_id","customer_id","escalation_at","first_response_at","first_response_diff_in_min","first_response_escalation_at","first_response_in_min","group_id","last_contact_agent_at","last_contact_at","last_contact_customer_at","last_owner_update_at","organization_id","owner","owner_id","pending_time","preferences","escalation_calculation","calendar_id","calendar_updated_at","escalation_disabled","last_update_at","sla_id","sla_updated_at","priority_id","ticket_time_accounting","ticket_time_accounting_ids","time_unit","update_diff_in_min","update_escalation_at","update_in_min","updated_by_id","newTicketData","ticketIdx","setModalOpenDirection","distFromElToViewportBottom","newRequestForChangeDialogClickedOutside","ticketClicked","filteredAttachments","getOpsEmails","ops_emails","getJobTickets","getAirRoadJobsData","withoutLoaders","$watch","toParams","previousParams","fullPath","jobHistory","JobHistory","getJobHistory","action_time","loadingCloseRfc","jobsArray","handleJobClick","previewJobId","affiliatedJobsPreviewJobDialog","handleLoaded","PreviewJobHeader","PreviewJobStopDrawing","PreviewJobLoadBody","PreviewJobBody","AffiliatedJobsPreviewJobDialog","TooltipWindow","AffiliatedJobsDialogLink","affiliatedJobsTooltipLink","handler","onClickOutside","include","AffiliatedJobsTooltipLink","handleEsc","AffiliatedJobHeaderItem","jobsString","isDialogs","watchJobs","ZammadTicketPage","editingTicketAttachments","loadTicketData","AffiliatedJobsHeaderItem","jobbookingView","main","JobbookingView","clearDate","setUsername","clearUsername","toggleChange","customerChoosen","tableTitle","JobsBooked","loadingExpanded","expandedIsOpen","expandedJobId","getJobsWrapper","log_id","isCustomer","source_text","addWeeks","VueJsonPretty","loadingDrivers","driversOnDate","loadingMap","driversToShow","getLocations","center","initMapOnReady","mouseover","mouseleave","attribution","mapIsHovered","ctrlBtnIsDown","hintText","changed","toggleAll","chipCloseClicked","chosenItems","DriverByDayLookup","valueChanged","Location","mapRef","mapAus","driversInQuery","driverMarkersAll","handleCtrl","handleCtrlUp","scrollWheelZoom","enable","disable","newRoute","isEqual","drawMapData","clearMapLayers","flyTo","getDriversOnDate","Default","_getIconUrl","mergeOptions","iconRetinaUrl","iconUrl","shadowUrl","myMap","mapObject","attributionControl","setPrefix","generateDriversByState","driversByState","driverData","eachLayer","layer","drawLocations","colorPallet","firstGlyphIcon","glyph","glyphSize","glyphColor","austate","driver_number","driverIdxInState","driverColor","driverMarkers","mark","latitude","longitude","marker","fillColor","fillOpacity","radius","bindPopup","addTo","driverMarkersFiltred","interactive","lastDivIcon","firstMarker","draggable","lastMarker","drawPackages","pickupGlyphIcon","deliveryGlyphIcon","markerG","maxClusterRadius","spiderfyOnMaxZoom","driverPackages","packages","pack","point","stop_type","toRender","addLayers","addLayer","allDriversGroup","fitBounds","getBounds","routeChanged","LOCATIONS","element","LMap","LTileLayer","LMarker","clickSearch","NextDayMap","NEXT_DAY_STOPS","onSubmit","formValid","VToolbar","Login","password","loginError","changeSpecificDates","changeCollectionDate","changeCollectionDeliveryDate","changeTime","changeDeliveryTime","sendNewMessage","specificDates","collectionDate","computedDateFormattedDate","collectionDateModal","save","collectionDeliveryDate","collectionDeliveryDateModal","deliveryTime","toggleSwitch","watchToSpecificDates","watchToTime","watchToDeliveryTime","watchToCollectionDate","watchToCollectionDeliveryDate","changeMinusQuantity","technician","finisherTableValue","PGoods","doing","ShowInstructions","NewQuote","messageHTML","createHTMLMessage","cCode","suburb1","suburb2","suburb3","newAvatar","onButtonClick","isSelecting","buttonText","timeZoneItems","zoneCode","selectZone","clickReset","loadingUpdate","clickUpdate","Profile","selectedFile","intervalId","once","uploader","fr","onload","FormData","append","$store","loadingVisible","closedMailsFiltered","mailsFiltered","itemsPerPage","pageCount","dateFormat","VPagination","Quotes","mails","ticketArticles","showInternal","filesLoading","formLoading","ZammadDetailed","errorMessage","sendRequest","BulkReports","messageJson","refs","getAMPMJobs","statsReport","am_count","pm_count","total_limit","percentage","VSubheader","VListItemGroup","amPmJobs","pmPmJobs","AmPmReport","customer_am","customer_pm","entries","getDriverReportList","generatePeriod","generateDriverReport","driverReport","downloadDriverReport","approved_at","DriverReport","isDownloadLoading","report_type","getGenerateParams","month","week","report_id","clearCustomCode","getETAReport","etaReport","pkg_description","pkg_id","pkg_serial","isDownloading","downloadETAReport","isSendReportLoading","sendReport","ETAReport","downloadType","blobDownloader","getKPIReportList","generateKPIReport","kpiReport","downloadKPIReport","KPIReport","customer_codes","day","checkedList","checkedDateList","checkboxDateClick","driversList","checkboxClick","RunSheet","getDriversList","sendingList","getWeeklyStatReport","StatsReport","divisions","selectedDivision","getReportData","reportShedData","headersTobeShed","reportTobeShedData","reportSplitData","downloadTomorrowScheduleReport","downloadTomorrowTobeShedReport","downloadTomorrowGeneralReport","TomorrowReport","getDivisionList","barcodes","selectedBarcode","expiredTransfers","moveOutTransfers","totalTransfers","TransfersReport","transfersReportData","barcode","advanced","addInput","datesIdSearch","changeDateIdSearch","clearDatesIdSearch","modalMupltipleSearch","driverIDs","customerCodes","autocompleteDriver","deleteItems","autocompleteService","selectedSingleInputs","serialNumbers","addInputSingle","mixed","mixedAddress","stateName","addState","availableFilters","filtersChanged","clearFilters","selectedIdx","dataIdx","deleteInput","numberOfJobs","isLimited","searchedJobs","multipleInputChanged","radio","types","modalMupltipleSearchSubmit","searchLoad","clickToItem","activeItems","difference","changeInput","InputText","InputSelected","serverItems","SearchPage","linesCounter","jobIDs","lines","chosenType","modelType","selectedFilters","selectedSingleInputsCloned","watchToSelected","selectsHaveNoData","checkSelectsHaveNoData","watchToSelectedSingleInputs","watchToSelectedSingleInputsCloned","nextValue","prevValue","countInputsLength","selectArray","prevValueLength","nextValueLength","shouldUpdateImmediate","watchToDates","rulesForFind","chipsSum","partialSum","setDefaultDatesRange","filtersCodes","mixed_content","mixed_address","addParamsToLocation","findWrapper","selectName","state_name","watchToAdvanced","autocompletePostcode","postcodeLookupDataChanged","distance","distanceClicked","keydown","LookupPostcode","numberPattern","valueValid","SearchPostcode","postcodeLookupData","distanceChosen","suburb_id","parseInput","suburbInput","postcodeInput","suburbData","SuburbSearchField","Suburbs","getSuburbs","loadingTechnicians","loadingJobs","technicians","TECHNICIANS_CATALOG","changedTechniciansList","handleChipClose","pageHaveUnsavedChanges","loadingUpdateTechnicians","updateTechnicians","Technicians","draggingTechnician","savedTechniciansList","getJobListWrapper","stop_id","techs","tech","getTechniciansWrapper","assigned_technician","handleOpenCreateTechnicianClicked","is_active","notify_by_email","notify_by_sms","handleOpenEditTechnicianClicked","isDialogOpen","isNewTechnician","currentTechnician","pendingForm","handleTechnicianCreateClicked","handleTechnicianUpdateClicked","TechniciansCatalog","technicianDefault","Mailbox","showAllChanged","showAll","showRfcOnly","rfcFilterClicked","mailStateFilters","stateFilterClicked","loadingSearch","getTicketsWrapper","searchBtnClicked","external_id","TicketSearchField","ticketStateNames","closed","merged","filterIDs","filterCode","exclude_states","clearCustomAddresses","usernameErrors","customAddresses","panelCustom","book","customAddressesLoading","addAddress","editAddress","removeAddress","setDefaultAddress","reorderAddress","allAddresses","panelAll","allAddressesLoading","addressesFormated","getItemPerPage","getPageNum","defaultItem","editedIndex","dialogDelete","closeDelete","deleteItemConfirm","bookCustomerCode","AddressesTable","addressBookId","pageNumber","street","formatAddresses","is_default","sortableTable","getElementsByTagName","handle","onEnd","dragReorder","oldIndex","newIndex","itemId","getAttribute","newGlobalIndex","changeAddresses","AddressBook","userAddresses","userWarehouses","userAdressesData","getAddressBooksWrapper","addressbook","exclude_book","headerFilters","whList","headerFilterChanged","conditionList","getQuantWrapper","chosenWh","warehouse_code","chosenProducts","condition","lot_id","in_date","BookWH2WHClick","BookWH2SWHClick","BookClick","QuantPage","wareHouse","ricohWarehouseAddress","clearWarehouseClicked","wh","allowWhToWhBooking","in_date_gte","in_date_lte","product_name","chosenProduct","curWhIdx","chosenWhData","createJobFromQuantPage","settings","TInput","fixedClasses","classes","variants","last","rounded","TCheckbox","TButton","secondary","TPagination","wrapper","activeElement","disabledElement","ellipsisElement","activeButton","disabledButton","button","ellipsis","TSelect","wrapped","arrowWrapper","TRichSelect","searchBox","selectButton","buttonWrapper","selectButtonLabel","selectButtonPlaceholder","selectButtonIcon","selectButtonClearButton","selectButtonClearIcon","dropdown","dropdownFeedback","loadingMoreResults","optionsList","searchWrapper","optgroup","disabledOption","highlightedOption","selectedOption","selectedHighlightedOption","optionContent","optionLabel","selectedIcon","TRadio","TTextarea","danger","notrounded","TModal","overlay","closeIcon","overlayEnterClass","overlayEnterActiveClass","overlayEnterToClass","overlayLeaveClass","overlayLeaveActiveClass","overlayLeaveToClass","enterClass","enterActiveClass","enterToClass","leaveClass","leaveActiveClass","leaveToClass","TToggle","wrapperChecked","buttonChecked","checkedPlaceholder","uncheckedPlaceholder","wrapperDisabled","wrapperCheckedDisabled","box","TDatepicker","navigatorViewButton","navigatorViewButtonIcon","navigatorViewButtonBackIcon","navigatorLabel","navigatorPrevButtonIcon","navigatorNextButtonIcon","inputWrapper","viewGroup","view","calendarDaysWrapper","calendarHeaderWrapper","monthWrapper","yearWrapper","clearButton","clearButtonIcon","dropdownWrapper","inlineWrapper","inlineViews","navigatorViewButtonMonth","navigatorViewButtonYear","navigatorViewButtonYearRange","navigatorLabelMonth","navigatorLabelYear","navigatorPrevButton","navigatorNextButton","calendarWrapper","calendarHeaderWeekDay","calendarDaysDayWrapper","otherMonthDay","emptyDay","inRangeFirstDay","inRangeLastDay","inRangeDay","selectedDay","activeDay","highlightedDay","selectedMonth","activeMonth","year","selectedYear","activeYear","timepickerWrapper","timepickerTimeWrapper","timepickerTimeFieldsWrapper","timepickerOkButton","timepickerInput","timepickerTimeLabel","timepickerAmPmWrapper","timepickerAmPmWrapperChecked","timepickerAmPmWrapperDisabled","timepickerAmPmWrapperCheckedDisabled","timepickerAmPmButton","timepickerAmPmButtonChecked","timepickerAmPmCheckedPlaceholder","timepickerAmPmUncheckedPlaceholder","getReferencesParamsWrapper","referencesParams","getSuburbItem","cloneDetailedJob","getIsDatesError","curTimeEarliest","curTimeLatest","nextStop","nextTimeLatest","getPrefixFromString","getModelFromString","createJobForWhToWhBooking","reference4","productName","runup_tasks","task","comment","cloneJob","router","isWhToWhF","isWhToSameWhF","newJob","returnNames","RECYCLE","STORE","RETURN","WORKSHOP","goods1","goods2","validateOKStatusReqConf","validateStatus","validateSchedulerAllocationsSuccesReqConf","validateJobBookingStatusReqConf","validateJobLockStatusReqConf","validateJobEditStatusReqConf","notifyNetworkErrorDefault","getOnDetailedJobRejected","notificationTitle","getOnReferencesParamsRejected","fetchDetailedJob","resPromise","fetchJobLock","fetchReferencesParams","fetchBookJobWhToWh","fetchBookJobWhToSameWh","fetchGetAddressBookAddresses","fetchGetLookupSuburb","fetchGetLookupProductModel","fetchCompleteStop","fetchSetJobEditAllocation","fetchSetJobStatusSplitToBase","fetchZammadEmailLookup","handleJobEditResponse","success_text","fetchSetJobCustomerDetails","fetchCreateJobStopData","fetchSetJobStopData","fetchSetJobStopProductData","fetchSetJobStopServiceCodesData","handleJobEditErrorResponse","fetchAddStairsService","fetchSetJobAsFutile","non_field_errors","fetchSetJobCancel","fetchSetTicketState","fetchGetAddressLookup","fetchSetJobLock","fetchJobUnlock","fetchSetJobEditAsFutile","fetchSetJobEditCancel","fetchSetJobEditStatusSplitToBase","fetchRemove3rdStop","fetchCanScheduleChange","paramsDefault","showNotification","newParams","notify","notifyNetworkError","notifyOptions","notifyNetworkSuccess","sendError","addBreadcrumb","setExtra","sendWarning","BookingError","constructor","super","JobLockError","JobLockByUserError","ValidationAPIError","HandledBoardAPIError","ability","use","install","Vue","VUE_APP_SENTRY_ON","ph_project_api_key","api_host","get","$posthog","init","theme","themes","light","primary","accent","lighten2","lighten1","darken1","darken2","darken3","darken4","darken5","purple","mode","routes","layout","isPublic","beforeEnter","checkPermissions","children","route","job_pattern","hasInvalidNumber","notStaffRoutes","stuff","beforeEach","record","prevPath","beforeResolve","afterEach","onError","actualVersion","capture","$current_url","LOGIN","HOME","JOBS","DEFAULT","JOBS_TV","BFIX_DASH","JOB_TICKETS","BOOKING_COMPLIANCE","NEW_JOB_BOOKING","CLONE_JOB_BOOKING","DRAFT_ADVANCED_JOB_BOOKING","SEARCH_POSTCODE","TICKET_FROM_THE_SERVICE_DESK","SERVICE_DESK_TICKET","LIST_QUOTES","NEW_QUOTE","DETAILED_QUOTE","SCHEDULER_BOARD","SCHEDULER_BOARD_LOGS","SCHEDULER","PROFILE","REPORTS","RUN_SHEET","KPI_REPORT","DRIVER_REPORT","TOMORROW_REPORT","WEEKLY_STATS_REPORT","AM_PM_JOBS","ETA_REPORT","SUBURBS","MAILBOX_TEST","PAGE_ERROR","JOBHISTORY","TRANSFERS","SMS_DAILY_FOLLOW_UP","SMS_HISTORY","addNote","vuex","commit","clearJobData","orderJobs","setRouterData","urlData","setBfixCategory","setDrivers","setSideMenuOpen","setGlobalLoader","ERROR","setNetworkError","setLoginError","updateJobData","toggleJobRequestForChange","routerData","HelperStorage","set","defaultValue","moduleAuthData","namespaced","refresh","exp","isLoggedIn","getAccessTokenExpTime","token","accessToken","getRefreshTokenExpTime","refreshToken","isRefreshTokenValid","now","isAccessTokenValid","addAuthData","removeAuthData","logOutUser","abortController","forceRenewRefreshToken","currentRoute","updateAccessToken","mutations","ADD_AUTH_DATA","REMOVE_AUTH_DATA","UPDATE_ACCESS_TOKEN","moduleNotifications","unread_filter","counter_showed","SET_NOTIFICATIONS_ALL_DATA","SET_NOTIFICATIONS_COUNTERS","SET_NOTIFICATION_AS_READ","notificationInCategory","notificationInShown","SET_TICKET_NOTIFICATION_AS_READ","source_target_id","notificationInCategogy","SET_NOTIFICATION_AS_UNREAD","SET_LOADER","SET_LOADER_ID","SET_ERROR","SET_EMPTY_ITEMS","SET_NOTIFICATIONS_UNREAD_FILTER","SET_NOTIFICATIONS_CATEGORY","SET_NOTIFICATIONS_NEXT_PAGE","categoryItems","slicedItems","getNotificationsUnreadCountWrapper","getTicketsNotificationsUnreadCountWrapper","updateNotificationsCounters","unreadCounter","unreadTicketsCounter","getNotificationsAll","notificationItems","setNotificationAsRead","setNotificationAsUnread","setNotificationsAllAsRead","setTicketNotificationsAsRead","setNotificationsUnreadFilter","setNotificationsCategory","getNextPage","moduleScheduler","travelTimes","setTravelTime","travel_time","SET_TRAVEL_TIME","reconnectLimit","reconnectTimeOutMin","reconnectTimeOutMax","moduleSocket","socket","isConnected","isAuthenticated","reconnectError","reconnectAttempts","SOCKET_ONOPEN","SOCKET_ON_AUTH_MESSAGE","SOCKET_ONMESSAGE","SOCKET_ONCLOSE","SOCKET_RECONNECT","SOCKET_RECONNECT_ERROR","socketConnect","socketURL","$socket","readyState","WebSocket","OPEN","onopen","onmessage","onclose","onerror","socketDisconnect","socketOpen","method_payload","send","socketOnClose","socketOnError","setContext","eventType","MessageEvent","socketOnMessage","msgData","info","reconnectSocket","retryDelay","driverAttributes","moduleStaticData","getAttributes","getDriverAttributes","getJobAttributes","getDrivers","getServiceCodes","getProductTypes","getAllStaticData","requestAttributes","requestDrivers","requestServiceCodes","requestProductTypes","requestAllStaticData","stateData","requestName","requestAllStaticDataWait","SET_ATTRIBUTES","SET_DRIVERS","SET_SERVICE_CODES","SET_PRODUCT_TYPES","CLEAR_STATIC_STATE","moduleUser","isStaff","setUser","setUserDates","fetchUser","userFromToken","removeUser","SET_USER","identify","SET_USER_DATE","REMOVE_USER_DATA","SET_JOB_DATA","CLEAR_JOB_DATA","SET_ROUTER_DATA","routeObj","SET_JOB_BFIX_DATA","ORDER_JOBS","isRed","isYellow","isMainStopArrived","ADD_NOTE","jobInProgress","jobInCompleted","SET_SEARCH","SET_CATEGORY","SET_BFIX_CATEGORY","SET_SELECTED_STATES","SET_DRIVERS_SELECT","SET_SIDE_MENU_OPEN","SET_GLOBAL_LOADER","SET_NETWORK_ERROR","networkError","SET_LOGIN_ERROR","SET_JOB_COMPLETE","jobIndex","UPDATE_JOB_IN_PROGRESS_STATUS","TOGGLE_JOB_REQUEST_FOR_CHANGE","modules","contentType","disposition","filenameRegex","matches","contentRegex","uuidv4","c","isNumeric","validateEmail","emails","generateUserEmailName","extractEmails","cleanEmailString","emailsToFilter","emailsToDelete","toSet","Set","toFiltred","has","getChangedStopNumbers","changedStops","add","getTargetStopNumber","totalStops","checkJobDatesChanged","targetStop","hasDateChanged","isEarliest","savedDateValue","currentDateValueFormatted","savedDateValueFormatted","getUserDataForNonStaffUsers","newUserData","clearPhoneNumber","flattenObject","flattenKeys","flatObject","j","compareVersions","regExStrip0","segmentsA","segmentsB","l","generateDayTimesAmPm","times","getDate","setMinutes","getMinutes","convertTimeStringTo24Hours","convertTimeString12to24","modifier","hours","minutes","TECH1","TECH2","TECH3","TECH","LSC","SSC","PPWK","ONE","FLR","LIFT","EXTR","LOW","LATE","DIFF","PPE","DLVPOS","DLVONLY","notificationErrorText","WA","NT","SA","QLD","TAS","VIC","ACT","NZ","NSW","D","I","S","T","X","zammadTicketRfcStatuses","kktsDivisions","ARServiceItem_TL","ARServiceItem_2M","ARServiceItem_AMSrv","ARServiceItem_PMSrv","ARServiceItem_PckReq","stopAvailable","ARServiceItem_HndLd","ARServiceItem_HndUnLd","ARServiceItem_SatSrv","ARServiceItem_PckUpTime","ARServiceItem_DelTime","ARServiceItem_Unpack","ARServiceItem_DtRange","ARServiceItem_DVhcl","TL","AMSrv","PMSrv","SatSrv","DelTime","Unpack","DtRange","DVhcl","HndUnLd","PckReq","PckUpTime","HndLd","getControllerSignal","reinitController","GIcon","static","Glyph","extend","iconSize","iconAnchor","popupAnchor","shadowSize","glyphAnchor","createIcon","div","_createGlyph","_setIconStyles","glyphClass","textContent","span","create","fontSize","lineHeight","textAlign","marginLeft","marginTop","pointerEvents","display","innerHTML","anchor","divideBy","src","backgroundImage","bgPos","backgroundPosition","y","bgSize","backgroundSize"],"sourceRoot":""}