PageSourceSearch

https://service.eudoxus.gr/search/search2UIFactory/dist/js/app.f0f7ede9.js

js eudoxus.gr collected 2026-09-24 09:18:59 UTC 72,844 bytes, 2 lines download raw bytes

1(function(){"use strict";var t={7174:function(t,e,s){var a=s(144),i=function(){var t=this,e=t._self._c;return e("v-app",[e("LoadingComponent",{attrs:{isLoading:t.$store.getters.loadingModal}}),e("v-app-bar",{staticStyle:{background:"linear-gradient(90deg,rgba(17, 37, 77, 1) 0%, rgba(17, 113, 112, 1) 50%, rgba(21, 168, 147, 1) 100%)"},attrs:{app:"",elevation:"11"}},[e("v-img",{staticStyle:{"max-height":"170px","max-width":"200px"},attrs:{src:s(1973),contain:"",alt:"alt"}}),e("v-spacer"),e("div",{staticClass:"banner-wrapper"},[e("a",{attrs:{href:"https://www.espa.gr/en/Pages/default.aspx/",target:"_blank"}},[e("v-img",{staticClass:"banner-img",attrs:{"min-width":"600px",src:s(4639),"aspect-ratio":"15",contain:"",alt:"Visit the ESPA website"}})],1),e("p",{staticClass:"ma-0 pa-0 banner-text"},[e("strong",{staticStyle:{color:"#DBDBDB"}},[t._v("©2022 — Εύδοξος")])])]),e("v-spacer"),e("v-btn",{attrs:{text:""},on:{click:t.toggleSearch}},[t._v(" "+t._s(t.simpleSearch?"Σύνθετη αναζήτηση":"Απλή αναζήτηση"))]),e("v-btn",{attrs:{text:""},on:{click:function(e){return t.$store.commit("setInstructionsDialog",!0)}}},[t._v(" Οδηγίες")]),e("v-menu",{attrs:{"offset-y":"",attach:"body",bottom:"",left:""},scopedSlots:t._u([{key:"activator",fn:function({attrs:s,on:a}){return[e("v-btn",t._g(t._b({attrs:{text:""}},"v-btn",s,!1),a),[t._v(" Περί Χρήσης")])]}}])},[e("div",{staticClass:"compatibility-menu-content"},[e("p",[t._v(" Η εφαρμογή προορίζεται κυρίως για τους διδάσκοντες και για τα διοικητικά στελέχη των Πανεπιστημίων και ΤΕΙ, προκειμένου να εντοπίζουν εύκολα και γρήγορα τα βιβλία και τους αντίστοιχους κωδικούς που μπορούν να επιλεγούν/δηλωθούν ως συγγράμματα για προπτυχιακά μαθήματα του κάθε Τμήματος. Η χρήση της αναζήτησης είναι ανοιχτή για κάθε ενδιαφερόμενο ")])]),e("div",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],attrs:{role:"menuitem",tabindex:"-1"}},[t._v("Placeholder")])])],1),e("v-main",{staticClass:"mt-1",staticStyle:{background:"linear-gradient(90deg,rgba(17, 37, 77, 1) 0%, rgba(17, 113, 112, 1) 50%, rgba(21, 168, 147, 1) 100%)"}},[e("router-view")],1),e("ErrorPopup"),e("InstructionsDialog")],1)},o=[],r=(s(7658),s(629));a["default"].use(r.ZP);var l=new r.ZP.Store({state:{loadingModal:!1,errorPopup:!1,errorPopupProps:{title:"Σφάλμα!",text:"error",color:"indianRed",class:"white--text indianRed text-center justify-center",icon:"error",successStyle:!1},simpleSearch:!0,filesBaseUrl:!0,filesThumbnailBaseUrl:!0,loadingPublishers:!0,publishersForSelector:[],instructionsDialog:!1,bookInfoDialog:!1,confirmModal:!1,bookFileModal:!1,confirmationDialog:!1,confirmationDialogEventName:"",confirmationDialogText:"",reusableCalendarDialog:!1,bookImagesDialog:!1},getters:{loadingModal:t=>t.loadingModal,errorPopup:t=>t.errorPopup,errorPopupProps:t=>t.errorPopupProps,simpleSearch:t=>t.simpleSearch,filesBaseUrl:t=>t.filesBaseUrl,filesThumbnailBaseUrl:t=>t.filesThumbnailBaseUrl,loadingPublishers:t=>t.loadingPublishers,instructionsDialog:t=>t.instructionsDialog,bookInfoDialog:t=>t.bookInfoDialog,confirmModal:t=>t.confirmModal,confirmationDialog:t=>t.confirmationDialog,confirmationDialogEventName:t=>t.confirmationDialogEventName,confirmationDialogText:t=>t.confirmationDialogText,publishersForSelector:t=>t.publishersForSelector},mutations:{setLoadingModal:function(t,e){t.loadingModal=e},setErrorPopup:function(t,e){t.errorPopup=e},setErrorPopupProps:function(t,e){t.errorPopupProps=e},setSimpleSearch:function(t,e){t.simpleSearch=e},setFilesBaseUrl:function(t,e){t.filesBaseUrl=e},setFilesThumbnailBaseUrl:function(t,e){t.filesThumbnailBaseUrl=e},setLoadingPublishers:function(t,e){t.loadingPublishers=e},setBookInfoDialog:function(t,e){t.bookInfoDialog=e},setInstructionsDialog:function(t,e){t.instructionsDialog=e},setBookFileModal:function(t,e){t.bookFileModal=e},setBookImagesModal:function(t,e){t.bookImagesModal=e},setConfirmModal:function(t,e){t.confirmModal=e},setConfirmationDialog:function(t,e){t.confirmationDialog=e},setConfirmationDialogEventName:function(t,e){t.confirmationDialogEventName=e},setConfirmationDialogText:function(t,e){t.confirmationDialogText=e},setPublishersForSelector:function(t,e){t.publishersForSelector=e},setBooksForBooksTab:function(t,e){t.booksForBooksTab=e}}}),c=s(196),n=s(8345),d=function(){var t=this,e=t._self._c;return e("v-container",{attrs:{fluid:""}},[e("v-row",{staticClass:"justify-center"},[e("v-col",{staticClass:"my-0 py-0",attrs:{cols:"12"}},[t.$store.getters.simpleSearch?e("v-row",{staticClass:"justify-center pt-2"},[e("v-col",{staticClass:"my-0 py-0 pt-8",attrs:{cols:"6"}},[e("v-card",{staticClass:"elevation-6",staticStyle:{background:"linear-gradient(90deg,rgba(17, 37, 77, 1) 0%, rgba(17, 113, 
1112, 1) 50%, rgba(21, 168, 147, 1) 100%)"}},[e("v-row",{staticClass:"px-0 py-0 mx-1",attrs:{justify:"start"}},[e("v-col",{staticClass:"col-class",staticStyle:{"max-height":"75px"},attrs:{cols:"3"}},[e("v-icon",{attrs:{color:"#DBDBDB",large:""}},[t._v("mdi-database-search-outline")]),e("p",{staticStyle:{color:"#DBDBDB"}},[t._v("Αναζήτηση")])],1),e("v-col",{staticClass:"col-class pt-4 pl-2",staticStyle:{"max-height":"75px"},attrs:{cols:"8"}},[e("v-text-field",{staticClass:"text-white light-grey-outline",attrs:{loading:t.$store.getters.loadingPublishers,disabled:t.$store.getters.loadingPublishers,"loader-height":"3",dense:"",color:"#DBDBDB","aria-label":"search",outlined:""},on:{"":function(t){},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.simpleSearchButtonTop.apply(null,arguments)}},model:{value:t.singleSearch,callback:function(e){t.singleSearch=e},expression:"singleSearch"}})],1)],1)],1)],1)],1):e("v-row",{staticClass:"justify-center pt-2"},[e("v-col",{staticClass:"my-0 py-0 pt-4",attrs:{cols:"10"}},[e("v-card",[e("v-form",{ref:"form",staticClass:"mr-1 ml-1"},[e("v-row",{staticClass:"pt-2"},[e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Τίτλος",dense:"",outlined:""},model:{value:t.criteria.title,callback:function(e){t.$set(t.criteria,"title",e)},expression:"criteria.title"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Υπότιτλος",dense:"",outlined:""},model:{value:t.criteria.subtitle,callback:function(e){t.$set(t.criteria,"subtitle",e)},expression:"criteria.subtitle"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Κωδικός Βιβλίου",dense:"",outlined:""},model:{value:t.criteria.id,callback:function(e){t.$set(t.criteria,"id",e)},expression:"criteria.id"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Συγγραφείς",dense:"",outlined:""},model:{value:t.criteria.authors,callback:function(e){t.$set(t.criteria,"authors",e)},expression:"criteria.authors"}})],1)],1),e("v-row",[e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Αριθμός Έκδοσης",dense:"",outlined:""},model:{value:t.criteria.editionNumber,callback:function(e){t.$set(t.criteria,"editionNumber",e)},expression:"criteria.editionNumber"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Έτος Τρέχ. Έκδοσης",dense:"",outlined:""},model:{value:t.criteria.publicationYear,callback:function(e){t.$set(t.criteria,"publicationYear",e)},expression:"criteria.publicationYear"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Τίτλος τόμου",dense:"",outlined:""},model:{value:t.criteria.volumeTitle,callback:function(e){t.$set(t.criteria,"volumeTitle",e)},expression:"criteria.volumeTitle"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Αριθμός τόμου",dense:"",outlined:""},model:{value:t.criteria.volumeNumber,callback:function(e){t.$set(t.criteria,"volumeNumber",e)},expression:"criteria.volumeNumber"}})],1)],1),e("v-row",[e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Λέξεις κλειδιά",dense:"",outlined:""},model:{value:t.criteria.keywords,callback:function(e){t.$set(t.criteria,"keywords",e)},expression:"criteria.keywords"}}
1)],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"ISBN",dense:"",outlined:""},model:{value:t.criteria.isbn,callback:function(e){t.$set(t.criteria,"isbn",e)},expression:"criteria.isbn"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-autocomplete",{staticClass:"primary-outline compact-field",attrs:{label:"Διαθέτης (Εκδότης)",items:t.$store.getters.publishersForSelector.publisherList,dense:"",outlined:"",loading:t.$store.getters.loadingPublishers,disabled:t.$store.getters.loadingPublishers,"item-value":"id","item-text":"name"},model:{value:t.criteria.publisherId,callback:function(e){t.$set(t.criteria,"publisherId",e)},expression:"criteria.publisherId"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Εκδόσεις",dense:"",outlined:""},model:{value:t.criteria.editorialHouse,callback:function(e){t.$set(t.criteria,"editorialHouse",e)},expression:"criteria.editorialHouse"}})],1)],1),e("v-row",[e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-select",{staticClass:"primary-outline compact-field",attrs:{items:t.typeSelector,dense:"",clearable:"",label:"Τύπος","item-text":"label","item-value":"value",outlined:""},on:{"click:clear":function(e){t.criteria.type=null}},model:{value:t.criteria.type,callback:function(e){t.$set(t.criteria,"type",e)},expression:"criteria.type"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-select",{staticClass:"primary-outline compact-field",attrs:{items:t.finalizedByPublisherSelector,clearable:"",dense:"","item-text":"label","item-value":"value",label:"Ολοκληρωμένη Εγγραφή",outlined:""},on:{"click:clear":function(e){t.criteria.finalizedByPublisher=null}},model:{value:t.criteria.finalizedByPublisher,callback:function(e){t.$set(t.criteria,"finalizedByPublisher",e)},expression:"criteria.finalizedByPublisher"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-row",{attrs:{justify:"space-between"}},[e("v-col",{staticClass:"my-1 py-0 pb-2",attrs:{cols:"5"}},[e("v-btn",{staticClass:"mt-2",attrs:{block:"",small:"",outlined:"",color:"primary"},on:{click:t.resetForm}},[t._v("Επαναφορά "),e("v-icon",[t._v("mdi-refresh")])],1)],1),e("v-col",{staticClass:"my-1 py-0 pb-2",attrs:{cols:"5"}},[e("v-btn",{staticClass:"mt-2",attrs:{block:"",small:"",outlined:"",color:"secondary"},on:{click:t.advancedSearchButton}},[t._v("Αναζήτηση "),e("v-icon",[t._v("mdi-database-search-outline")])],1)],1)],1)],1)],1)],1)],1)],1)],1),0===t.searchResults.length&&!1===t.afterFirstSearch?e("v-row",{staticClass:"justify-center pt-8"},[e("div",{staticClass:"mt-2"},[e("v-img",{staticStyle:{"max-height":"650px","max-width":"650px","min-height":"650px","min-width":"650px"},attrs:{src:s(5502),contain:"",alt:""}})],1)]):t._e(),0===t.searchResults.length&&!0===t.afterFirstSearch?e("v-row",{staticClass:"justify-center pt-8"},[e("div",{staticClass:"mt-2"},[e("h2",{staticStyle:{color:"#DBDBDB"}},[t._v("Δεν βρέθηκαν αποτελέσματα")])])]):t._e(),t.searchResults.length>0&&!0===t.afterFirstSearch?e("v-row",{staticClass:"justify-center pt-8"},[t.searchResults.length>0||t.afterFirstSearch?e("v-col",{attrs:{xl:"2",lg:"2",md:"3",sm:"4"}},[e("v-card",{staticStyle:{opacity:"0.8"}},[e("v-card-title",{staticClass:"py-0 my-0 mb-4"},[e("v-row",{attrs:{justify:"center"}},[e("v-col",{staticClass:"mt-2",attrs:{lg:"6",md:"12",sm:"12"}},[e("v-btn",{attrs:{outlined:"",color:"primary",small:"",rounded:""},on:{click:t.resetSideSearch}},[t._v(" καθαρισμός "),e("v-icon",{attrs:{color:"primary"}},[t._v(" mdi-broom")])],1)],1),e("v-col",{staticClass:"mt-2",attrs:{lg:"6",md:"12",sm:"12"}},[e("v-btn",{attrs:{color:"primary",rounded:"",small:""},on:{click:t.simpleSearchButtonSideMenu}},[t._v(" εφαρμογή "),e("v-icon",{attrs:{color:"white"}},[t._v(" mdi-check")])],1)],1)],1)],1),e("v-divider"),e("v-card-text",{staticStyle:{"background-color":"white","min-height":"900px"}},[e("v-form",{ref:"sideSearch"},[e("v-row",{staticClass:"py-0 my-0 mb-4"},[e("v-icon",{attrs:{color:"primary"}},[t._v("mdi-counter")]),e("strong",{staticClass:"ml-1",staticStyle:{color:"#11254d"}},[t._v("Αριθμός Σελίδων")]),e("v-row",{staticClass:"mt-2",attrs:{align:"center"}},[e("v-col",{staticClass:"py-0",staticStyle:{"max-height":"30px"},attrs:{cols:"4"}},[e("v-text-field",{staticClass:"primary-outline compact-field",staticStyle:{"border-radius":"12px"},attrs:{outlined:"",dense:"","hide-details":"","hide-spin-buttons":"","single-line":"",type:"number"},model:{value:t.pages[0],callback:function(e){t.$set(t.pages,0,e)},expression:"pages[0]"}})],1),e("v-col",{staticClass:"py-0",staticStyle:{"max-height":"30px"},attrs:{cols:"4"}},[e("v-text-field",{staticClass:"primary-outline compact-field",staticStyle:{"border-radius":"12px"},attrs:{outlined:"",dense:"","hide-details":"","hide-spin-buttons":"","single-line":"",type:"number"},model:{value:t.pages[1],callback:function(e){t.$set(t.pages,1,e)},expression:"pages[1]"}})],1),e("v-col",{staticClass:"py-0 mb-1 px-0 mx-0",staticStyle:{"max-height":"30px"},attrs:{cols:"2"}},[t.pagesSelected?e("v-btn",{attrs:{fab:"",color:"primary","x-small":""},on:{click:function(e){t.pagesSelected=!t.pagesSelected}}},[e("v-icon",{attrs:{color:"white"}},[t._v("mdi-check-all")])],1):e("v-btn",{attrs:{fab:"",outlined:"","x-small":""},on:{click:function(e){t.pagesSelected=!0}}},[e("v-icon",[t._v("mdi-check")])],1)],1)],1),e("v-range-slider",{staticClass:"mt-4",attrs:{min:1,max:3500,step:"1","hide-details":""},model:{value:t.pages,callback:function(e){t.pages=e},expression:"pages"}})],1),e("v-row",[e("v-icon",{attrs:{color:"primary"}},[t._v("verified")]),e("strong",{staticClass:"ml-1",staticStyle:{color:"#11254d"}},[t._v("Ολοκλ. Εγγραφή")])],1),e("v-row",[e("v-chip-group",{staticStyle:{"background-color":"transparent !important"},attrs:{color:"primary","active-class":"secondary"},on:{change:function(e){return t.document.activeElement.blur()}},model:{value:t.finalisedByPublisherFacetSelect,callback:function(e){t.finalisedByPublisherFacetSelect=e},expression:"finalisedByPublisherFacetSelect"}},[e("v-chip",{staticStyle:{"border-width":"2px !important","background-color":"transparent !important"},attrs:{outlined:"",value:"true",small:"",color:"primary"}},[t._v(" Ναι ( "+t._s(t.finalisedFacetResultTrue)+" ) ")]),e("v-chip",{staticStyle:{"border-width":"2px !important","background-color":"transparent !important"},attrs:{outlined:"",value:"false",small:"",color:"primary"}},[t._v(" Όχι ( "+t._s(t.finalisedFacetResultFalse)+" ) ")])],1)],1),e("v-row",[e("v-icon",{attrs:{color:"primary"}},[t._v("mdi-power")]),e("strong",{staticClass:"ml-1",staticStyle:{color:"#11254d"}},[t._v("Ενεργό")])],1),e("v-row",[e("v-chip-group",{staticStyle:{"background-color":"transparent !important"},attrs:{color:"primary","active-class":"secondary"},on:{change:function(e){return t.document.activeElement.blur()}},model:{value:t.activeFacetSelect,callback:function(e){t.activeFacetSelect=e},expression:"activeFacetSelect"}},[e("v-chip",{staticStyle:{"border-width":"2px !important","background-color":"transparent !important"},attrs:{outlined:"",value:"true",small:"",color:"primary"}},[t._v(" Ναι ( "+t._s(t.activeFacetResultTrue)+" ) ")]),e("v-chip",{staticStyle:{"border-width":"2px !important","background-color":"transparent !important"},attrs:{outlined:"",value:"false",small:"",color:"primary"}},[t._v(" Όχι ( "+t._s(t.activeFacetResultFalse)+" ) ")])],1)],1),e("v-row",[e("v-icon",{attrs:{color:"primary"}},[t._v("mdi-book-open-variant-outline")]),e("strong",{staticClass:"ml-1 mt-1",staticStyle:{color:"#11254d"}},[t._v("Τύπος βιβλίου")])],1),e("v-row",[e("v-list",{staticClass:"checkbox-list",attrs:{dense:""}},t._l(t.bookTypeFacets,(function(s,a){return e("v-list-item",{key:s.key},[e("v-checkbox",{attrs:{label:t.bookTypeValues[s.key]+" ("+s.value+")",value:s.key,"hide-details":""},model:{value:t.selectedBookTypeFromFacets,callback:function(e){t.selectedBookTypeFromFacets=e},expression:"selectedBookTypeFromFacets"}})],1)})),1)],1),e("v-row",{staticClass:"pt-2"},[e("v-icon",{attrs:{color:"primary"}},[t._v("mdi-calendar-badge-outline")]),e("strong",{staticClass:"ml-1",staticStyle:{color:"#11254d"}}
1,[t._v("Έτος τρέχουσας έκδοσης")])],1),e("v-row",[e("v-list",{staticClass:"checkbox-list",attrs:{dense:""}},t._l(t.publicationYearFacets,(function(s,a){return e("v-list-item",{key:s.key},[e("v-checkbox",{attrs:{label:s.key+" ("+s.value+")",value:s.key,"hide-details":""},model:{value:t.selectedPublicationYearFromFacets,callback:function(e){t.selectedPublicationYearFromFacets=e},expression:"selectedPublicationYearFromFacets"}})],1)})),1)],1),e("v-row",{staticClass:"pt-2"},[e("v-icon",{attrs:{color:"primary"}},[t._v("mdi-account-edit")]),e("strong",{staticClass:"ml-1",staticStyle:{color:"#11254d"}},[t._v("Εκδόσεις")])],1),e("v-row",[e("v-col",{staticStyle:{"max-height":"35px"},attrs:{cols:"12"}},[e("v-autocomplete",{attrs:{items:t.publisherIdFacetForSelect,"item-text":"label","item-value":"key",multiple:"",chips:"",clearable:"","hide-details":"",dense:"",outlined:""},scopedSlots:t._u([{key:"item",fn:function({item:s}){return[e("v-chip",{staticClass:"text-truncate",staticStyle:{"max-width":"75ch","text-align":"left","text-wrap":"normal"},attrs:{small:"",outlined:"",color:"primary"},on:{click:function(t){}}},[t._v(" "+t._s(s.label)+" ")])]}},{key:"selection",fn:function({item:s,index:a}){return[0===a?e("span"):t._e(),1===a?e("span",{staticClass:"black--text text-caption"},[t._v(t._s(t.selectedPublisherIdFromFacets.length)+" επιλογές")]):t._e()]}}],null,!1,2777582925),model:{value:t.selectedPublisherIdFromFacets,callback:function(e){t.selectedPublisherIdFromFacets=e},expression:"selectedPublisherIdFromFacets"}})],1)],1)],1)],1)],1)],1):t._e(),e("v-col",{attrs:{xl:"10",lg:"10",md:"8",sm:"8"}},[e("SearchResults",{attrs:{"search-results":t.searchResults,"image-cache":t.imageCache}}),t.searchResults.length>0?e("v-row",{staticClass:"mb-2",attrs:{justify:"center"}},[e("div",{staticClass:"text-center"},[e("v-pagination",{attrs:{length:t.totalPages,"total-visible":"10"},model:{value:t.page,callback:function(e){t.page=e},expression:"page"}})],1)]):t._e()],1)],1):t._e()],1)],1)],1)},u=[],p=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{"max-width":"1400px",persistent:""},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.closeDialog.apply(null,arguments)}},model:{value:t.$store.getters.bookInfoDialog,callback:function(e){t.$set(t.$store.getters,"bookInfoDialog",e)},expression:"$store.getters.bookInfoDialog"}},[e("v-card",{staticClass:"gradient-border-card d-flex flex-column",staticStyle:{height:"90vh","overflow-y":"auto"}},[e("v-card-title",{staticClass:"headline white--text",staticStyle:{background:"linear-gradient(90deg,rgba(17, 37, 77, 1) 0%, rgba(17, 113, 112, 1) 50%, rgba(21, 168, 147, 1) 100%)"}},[e("span",{staticClass:"text-truncate",staticStyle:{"max-width":"110ch"}},[t._v(t._s(t.book.title))]),e("v-spacer"),e("v-btn",{attrs:{color:"white",icon:""},on:{click:t.closeDialog}},[e("v-icon",{attrs:{large:""}},[t._v("close")])],1)],1),e("v-card-text",[e("v-row",{attrs:{justify:"center"}},[e("v-col",{staticClass:"ma-0 pa-0 mt-3",attrs:{cols:"5"}},[e("v-tabs",{attrs:{centered:"",height:"45px","icons-and-text":"",light:""},model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[e("v-tabs-slider",{attrs:{color:"secondary"}}),e("v-tab",[t._v("Εξώφυλλο")]),e("v-tab",[t._v("Οπισθόφυλλο")])],1),e("v-tabs-items",{model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[e("v-tab-item",[e("v-row",{attrs:{justify:"center"}},[e("v-col",{attrs:{cols:"11"}},[e("v-img",{staticClass:"white--text",attrs:{src:t.cover,"max-width":"450px",contain:""}})],1)],1)],1),e("v-tab-item",[e("v-row",{attrs:{justify:"center"}},[e("v-col",{attrs:{cols:"11"}},[e("v-img",{staticClass:"white--text",attrs:{src:t.backCover,"max-width":"450px",contain:""}})],1)],1)],1)],1)],1),e("v-col",{staticClass:"ma-0 pa-0 mt-3 d-flex flex-column",attrs:{cols:"7"}},[e("h2",{staticClass:"mt-4",staticStyle:{color:"#11455B"}},[t._v(" Στοιχεία Συγγράμματος")]),e("v-divider",{staticClass:"mt-2"}),e("v-card",{staticClass:"mt-4"},[e("v-row",{attrs:{justify:"center"}},[e("v-col",{staticClass:"px-1 mx-0",attrs:{cols:"8"}},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" Υπότιτλος ")]),e("v-list-item-subtitle",[e("span",{staticClass:"text-truncate"},[t._v(" "+t._s(t.book.subtitle)+" ")]),e("v-tooltip",{attrs:{color:"primary",bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:s,attrs:a}){return[e("v-icon",t._g(t._b({staticClass:"ml-2",attrs:{color:"primaryLighter"}},"v-icon",a,!1),s),[t._v(" mdi-magnify-expand ")])]}}])},[e("div",{staticClass:"authors-tip pa-2"},[t._v(" "+t._s(t.book.subtitle)+" ")])])],1)],1)],1),e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" Κωδικός Βιβλίου στον Εύδοξο ")]),e("v-list-item-subtitle",[t._v(t._s(t.book.id
1))])],1)],1),e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v("Συγγραφείς")]),e("v-list-item-subtitle",[e("span",{staticClass:"text-truncate"},[t._v(" "+t._s(t.book.authors)+" ")]),e("v-tooltip",{attrs:{color:"primary",bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:s,attrs:a}){return[e("v-icon",t._g(t._b({staticClass:"ml-2",attrs:{color:"primaryLighter"}},"v-icon",a,!1),s),[t._v(" mdi-magnify-expand ")])]}}])},[e("div",{staticClass:"authors-tip pa-2"},[t._v(" "+t._s(t.book.authors)+" ")])])],1)],1)],1),e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" Διαθέτης (Εκδότης)")]),e("v-list-item-subtitle",[t._v(t._s(t.book.publisherName)+" ")])],1)],1),e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" Εκδόσεις")]),e("v-list-item-subtitle",[t._v(t._s(t.book.editorialHouse)+" ")])],1)],1),e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" Λέξεις Κλειδιά "),e("v-icon",{attrs:{color:"primaryLighter"},on:{click:t.openKeywordsDialog}},[t._v(" mdi-magnify-expand ")])],1),e("v-list-item-subtitle",[t._v(t._s(t.keywords)+" ")])],1)],1),"ProfessorNotes"===t.book.type?e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" Άδεια ")]),e("v-list-item-subtitle",[e("a",{attrs:{href:"https://creativecommons.org/licenses/by-nc-nd/3.0/deed.el",target:"_blank",rel:"noopener noreferrer"}},[t._v(" "+t._s(t.book.licenseId)+" ")])])],1)],1):t._e(),e("v-list-item",[e("v-list-item-content",[e("v-list-item-subtitle",[t.book.pathToTOC?e("v-chip",{staticStyle:{"max-width":"200px"},attrs:{outlined:"",color:"primaryLighter"}},[e("h5",[t._v("Πίνακας Περιεχομένων ")]),e("v-icon",{attrs:{color:"primaryLighter"},on:{click:function(e){return t.openBookFilePdf(t.book.pathToTOC)}}},[t._v(" visibility ")])],1):t._e(),t.book.pathToChapter?e("v-chip",{staticStyle:{"max-width":"200px"},attrs:{outlined:"",color:"primaryLighter"}},[e("h5",[t._v("Ενδεικτικό Απόσπασμα ")]),e("v-icon",{attrs:{color:"primaryLighter"},on:{click:function(e){return t.openBookFilePdf(t.book.pathToChapter)}}},[t._v(" visibility ")])],1):t._e(),t.book.pathToFile&&"ProfessorNotes"===t.book.type?e("v-chip",{staticStyle:{"max-width":"200px"},attrs:{outlined:"",color:"primaryLighter"}},[e("h5",[t._v(" Αρχείο ")]),e("v-icon",{attrs:{color:"primaryLighter"},on:{click:function(e){return t.openBookFilePdfFromBackEnd(t.book.id)}}},[t._v(" mdi-cloud-download ")])],1):t._e()],1)],1)],1)],1),e("v-col",{staticClass:"px-1 mx-0",attrs:{cols:"4"}},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" ISBN")]),e("v-list-item-subtitle",[t._v(t._s(t.book.isbn))])],1)],1),e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" Τύπος")]),e("v-list-item-subtitle",[t._v(t._s(t.utils.returnBookType(t.book.type))+" ")])],1)],1),e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" Αριθμός Έκδοσης")]),e("v-list-item-subtitle",[t._v(t._s(t.book.editionNumber)+" ")])],1)],1),e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" Έτος Τρέχουσας Έκδοσης ")]),e("v-list-item-subtitle",[t._v(t._s(t.book.publicationYear)+" ")])],1)],1),e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" Δέσιμο")]),e("v-list-item-subtitle",[t._v(t._s((t.book.type,"Χωρίς"))+" ")])],1)],1),e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" Διαστάσεις")]),e("v-list-item-subtitle",[t._v(t._s(t.book.dimensions)+" ")])],1)],1),e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" Αριθμός Σελίδων")]),e("v-list-item-subtitle",[t._v(t._s(t.book.pages))])],1)],1),e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(" Ιστοσελίδα Βιβλίου")]),e("v-list-item-subtitle",[null==t.book.linkToPublisher?e("span",[t._v(" Χωρίς ")]):e("span",{staticStyle:{color:"darkslategrey"},on:{click:function(e){return t.confirmWindowOpen(t.book.linkToPublisher)}}},[t._v("Εδώ")])])],1)],1)],1)],1)],1)],1)],1)],1)],1),e("v-dialog",{attrs:{"max-width":"700px"}
1,model:{value:t.keywordsDialog,callback:function(e){t.keywordsDialog=e},expression:"keywordsDialog"}},[e("v-card",{staticClass:"gradient-border-card d-flex flex-column"},[e("v-data-table",{attrs:{headers:[{text:"",value:"keyword",align:"center"}],items:(t.book.keywords||[]).map((t=>({keyword:t}))),"hide-default-header":"",search:t.search,dense:""},scopedSlots:t._u([{key:"top",fn:function(){return[e("v-text-field",{staticClass:"mx-2",attrs:{label:"Search"},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}})]},proxy:!0},{key:"item.keyword",fn:function({item:e}){return[t._v(" "+t._s(e.keyword)+" ")]}}])})],1)],1),e("CustomWindowConfirm",{ref:"confirmDialog"})],1)},m=[],h=function(){var t=this,e=t._self._c;return e("v-dialog",{staticStyle:{"min-height":"350px"},attrs:{persistent:"","retain-focus":!1,width:"550"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t._cancel.apply(null,arguments)}},model:{value:t.openDialog,callback:function(e){t.openDialog=e},expression:"openDialog"}},[e("v-card",{staticClass:"gradient-border-card d-flex flex-column"},[e("v-card-title",{staticClass:"headline white--text",staticStyle:{background:"linear-gradient(90deg,rgba(17, 37, 77, 1) 0%, rgba(17, 113, 112, 1) 50%, rgba(21, 168, 147, 1) 100%)"}},[e("h3",{staticClass:"white--text"},[t._v("Επιβεβαίωση Ενέργειας")]),e("v-spacer"),e("v-icon",{attrs:{color:"white"},on:{click:t._cancel}},[t._v("close")])],1),e("v-card-text",{staticClass:"justify-center pt-12",staticStyle:{"background-color":"#cecece"}},[e("v-row",[e("v-col",[e("h3",{staticClass:"black--text"}
1,[t._v(t._s(t.message))])])],1)],1),e("v-card-actions",{staticClass:"justify-center pb-12 pt-6",staticStyle:{"background-color":"#cecece"}},[e("v-btn",{staticStyle:{"text-transform":"none !important"},attrs:{rounded:"",outlined:"",color:"primary"},on:{click:t._cancel}},[t._v(" Άκυρο "),e("v-icon",{attrs:{size:"25",color:"primary",right:"",dark:""}},[t._v(" mdi-close-circle ")])],1),e("v-btn",{staticStyle:{"text-transform":"none !important"},attrs:{rounded:"",outlined:"",color:"#07575b"},on:{click:t._confirm}},[t._v(" Επιβεβαίωση "),e("v-icon",{attrs:{size:"25",color:"#07575b",right:"",dark:""}},[t._v(" mdi-checkbox-marked-circle ")])],1)],1)],1)],1)},v=[],g={name:"CustomWindowConfirm",data:()=>({openDialog:!1,title:void 0,message:void 0,resolvePromise:void 0,rejectPromise:void 0}),methods:{show(t={}){return this.message=t.message,this.openDialog=!0,new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))},_confirm(){this.openDialog=!1,this.resolvePromise(!0)},_cancel(){this.openDialog=!1,this.resolvePromise(!1)}}},b=g,f=s(3736),y=(0,f.Z)(b,h,v,!1,null,"459ebd94",null),k=y.exports,x={name:"BookInfoDialog",components:{CustomWindowConfirm:k},props:{book:Object},data:()=>({typeSelector:[{label:"Σύγγραμμα",value:"Published"},{label:"Ηλεκτρονικό Βιβλίο",value:"eBook"},{label:"Δωρεάν Ηλεκτρονικό Βοήθημα / Σημειώσεις",value:"ProfessorNotes"}],tab:0,searchResults:[],defaultCover:s(9719),cover:null,backCover:null,search:"",subjects:"",keywords:"",keywordsDialog:!1}),methods:{openBookFilePdfFromBackEnd(t){document.activeElement.blur(),this.$store.commit("setLoadingModal",!0),G.postForFiles("rest/app/get-book-pdf",{id:t},this.getResultPdfFileCallBack)},getResultPdfFileCallBack(t){this.$store.commit("setLoadingModal",!1),V.downLoadPDFNewTab(t)},async confirmWindowOpen(t){const e=await this.$refs.confirmDialog.show({message:"Θα ανακατευθυνθείτε προς τον ορισμένο από τον εκδότη ιστότοπο, "+t+" .Για να συνεχίσετε πατήστε επιβεβαίωση"});e&&window.open(t,"_blank","noopener,noreferrer")},closeDialog(){this.$store.commit("setBookInfoDialog",!1)},openKeywordsDialog(){this.keywordsDialog=!0,document.activeElement.blur()},openBookFilePdf(t){document.activeElement.blur(),window.open(V.reformatBookPath(t),"_blank")},async getCover(t){if(!t)return this.defaultCover;const e=V.reformatBookPath(t);return new Promise((t=>{const s=new Image;s.onload=()=>t(e),s.onerror=()=>t(this.defaultCover),s.src=e}))},async loadCovers(){this.cover=await this.getCover(this.book.pathToCover),this.backCover=await this.getCover(this.book.pathToBackcover)}},computed:{utils(){return V}},created(){this.loadCovers(),this.book.subjects&&this.book.subjects.length>0&&(this.subjects=this.book.subjects.join(", ")),this.book.keywords&&this.book.keywords.length>0&&(this.keywords=this.book.keywords.join(", "))}},S=x,_=(0,f.Z)(S,p,m,!1,null,"475f659a",null),C=_.exports,w=function(){var t=this,e=t._self._c;return e("v-container",{attrs:{fluid:""}},[e("v-row",t._l(t.searchResults,(function(s){return e("v-col",{key:s.code,attrs:{cols:"10",md:"6",lg:"4"}},[e("v-card",{staticClass:"mb-3",attrs:{elevation:"3"}},[e("v-card-title",{staticClass:"headline primaryLighter white--text"},[e("div",{staticClass:"book-titlebar"},[e("v-chip",{staticClass:"custom-chip title-chip",attrs:{color:"secondary",outlined:""},on:{click:function(e){return t.openBookInfo(s)}}},[e("span",{staticClass:"title-text"},[t._v(t._s(s.title))])]),e("v-tooltip",{attrs:{right:""},scopedSlots:t._u([{key:"activator",fn:function({on:a}){return[e("v-icon",t._g({staticClass:"title-icon",attrs:{color:t.checkBookSelectable(s)?"lightSeaGreen":"indianRed"}},a),[t._v(" "+t._s(t.checkBookSelectable(s)?"mdi-playlist-check":"mdi-alert-outline")+" ")])]}}],null,!0)},[e("span",[t._v(" "+t._s(t.checkBookSelectable(s)?"Το Σύγγραμμα είναι διαθέσιμο προς επιλογή":"Το Σύγγραμμα δεν είναι διαθέσιμο προς επιλογή")+" ")])])],1)]),e("v-row",{attrs:{"no-gutters":""}},[e("v-col",{staticClass:"pa-0 ma-0",attrs:{cols:"4"}},[e("v-img",{attrs:{src:t.imageCache[s.id],alt:"blank.png",contain:"","max-width":"170px","max-height":"140px"},on:{error:t.fallbackImage}})],1),e("v-col",{staticClass:"py-2 pr-2",attrs:{cols:"8"}},[e("v-card-text",{staticClass:"pt-1 pb-2 px-2 text-body-2"},[e("v-row",{attrs:{justify:"start"}},[e("span",{staticClass:"text-truncate",staticStyle:{"max-width":"60ch"}},[e("strong",[t._v("Κωδικός Βιβλίου στον Εύδοξο:")]),t._v(" "+t._s(s.id))])]),e("v-row",{attrs:{justify:"start"}},[e("span",{staticClass:"text-truncate",staticStyle:{"max-width":"60ch"}},[e("strong",[t._v("Έκδοση:")]),t._v(" "+t._s(s.editionNumber))])]),e("v-row",{attrs:{justify:"start"}},[e("span",{staticClass:"text-truncate",staticStyle:{"max-width":"60ch"}},[e("strong",[t._v("Συγγραφείς:")]),t._v(" "+t._s(s.authors))])]),e("v-row",{attrs:{justify:"start"}},[e("span",{staticClass:"text-truncate",staticStyle:{"max-width":"60ch"}},[e("strong",[t._v("ISBN:")]),t._v(" "+t._s(s.isbn))])]),e("v-row",{attrs:{justify:"start"}},[e("span",{staticClass:"text-truncate",staticStyle:{"max-width":"60ch"}},[e("strong",[t._v("Τύπος:")]),t._v(" "+t._s(t.utils.returnBookType(s.type)))])]),e("v-row",{attrs:{justify:"start"}},[e("span",{staticClass:"text-truncate",staticStyle:{"max-width":"60ch"}},[e("strong",[t._v("Διαθέτης (Εκδότης):")]),t._v(" "+t._s(s.publisherName))])])],1
1)],1)],1)],1)],1)})),1),e("BookInfoDialog",{key:t.keyForReRenderBookInfoDialog,attrs:{book:t.selectedBook}})],1)},P=[],F={name:"SearchResults",components:{BookInfoDialog:C},props:{searchResults:Array,imageCache:Object},data:()=>({afterFirstSearch:!1,keyForReRenderBookInfoDialog:0,selectedBook:{},defaultCover:s(9719)}),computed:{utils(){return V}},methods:{openBookInfo(t){this.selectedBook=t,this.keyForReRenderBookInfoDialog++,this.$store.commit("setBookInfoDialog",!0)},fallbackImage(t){t.target.src=this.defaultCover},checkBookSelectable(t){return!!t.finalizedByPublisher&&!!t.selectable}}},B=F,$=(0,f.Z)(B,w,P,!1,null,"5c16b27c",null),L=$.exports,D={name:"SimpleSearch",components:{SearchResults:L,BookInfoDialog:C},data:()=>({updateFacets:!0,afterFirstSearch:!1,noResults:!1,singleSearch:"",page:1,totalPages:0,pages:[1,3500],pagesSelected:!1,bookTypeFacets:[],selectedBookTypeFromFacets:[],publicationYearFacets:[],publisherIdFacet:[],selectedPublisherIdFromFacets:[],selectedPublicationYearFromFacets:[],finalisedFacetResultTrue:"-",finalisedFacetResultFalse:"-",finalisedByPublisherFacetSelect:null,activeFacetResultTrue:"-",activeFacetResultFalse:"-",activeFacetSelect:null,finalizedByPublisherSelector:[{label:"Ολοκληρωμένη",value:!0},{label:"Εκκρεμής",value:!1}],typeSelector:[{label:"Σύγγραμμα",value:"Published"},{label:"Ηλεκτρονικό Βιβλίο",value:"eBook"},{label:"Δωρεάν Ηλεκτρονικό Βοήθημα / Σημειώσεις",value:"ProfessorNotes"}],bookTypeValues:{published:"Σύγγραμμα",ebook:"Ηλεκτρονικό Βιβλίο",professornote:"Δωρεάν Ηλεκτρονικό Βοήθημα / Σημειώσεις"},searchResults:[],defaultCover:s(9719),imageCache:{}}),computed:{publisherIdFacetForSelect(){const t=this.$store.getters.publishersForSelector.publisherMap;return this.publisherIdFacet.map((e=>({key:Number(e.key),label:"("+e.value+") "+t[e.key]})))}},methods:{test(){console.log(this.pages),console.log(this.pagesSelected)},simpleSearchButtonTop(t){this.page=1,this.updateFacets=!0,this.resetSideSearch(),this.simpleSearch(t)},simpleSearchButtonSideMenu(t){this.page=1,this.updateFacets=!0,this.simpleSearch(t)},checkBookSelectable(t){return!!t.finalizedByPublisher&&!!t.selectable},async processSearchResults(t){for(const e of t){const t=await this.getCover(e.pathToCover);this.$set(this.imageCache,e.id,t)}this.searchResults=t},async getCover(t){const e=V.reformatBookPath(t);return console.log(e),new Promise((t=>{const s=new Image;s.onload=()=>t(e),s.onerror=()=>t(this.defaultCover),s.src=e}))},simpleSearch(){document.activeElement.blur(),this.$store.commit("setLoadingModal",!0);let t={first:9*(this.page-1),pageSize:9,description:this.singleSearch,publisherIdList:this.selectedPublisherIdFromFacets,bookTypesList:this.selectedBookTypeFromFacets,publicationYearList:this.selectedPublicationYearFromFacets,finalizedByPublisher:this.finalisedByPublisherFacetSelect,active:this.activeFacetSelect,pagesFilterMin:null,pagesFilterMax:null};!0===this.pagesSelected&&(t.pagesFilterMin=this.pages[0],t.pagesFilterMax=this.pages[1]),G.put("rest/app/search",t,this.searchCallBack)},searchCallBack(t){if(t&&t.facets&&this.updateFacets&&(t.facets["bookType"]&&(this.bookTypeFacets=Object.entries(t.facets["bookType"]).filter((([t,e])=>"epublished"!==t&&e>0)).map((([t,e])=>({key:t,value:e})))),t.facets["bookPublicationYear"]&&(this.publicationYearFacets=Object.entries(t.facets["bookPublicationYear"]).filter((([t,e])=>e>0)).map((([t,e])=>({key:t,value:e})))),t.facets["bookFinalizedByPublisher"]&&(this.finalisedFacetResultTrue=t.facets.bookFinalizedByPublisher["true"],this.finalisedFacetResultFalse=t.facets.bookFinalizedByPublisher["false"]),t.facets["active"]&&(this.activeFacetResultTrue=t.facets.active["true"],this.activeFacetResultFalse=t.facets.active["false"]),t.facets["bookPublisherId"])){const e=this.$store.getters.publishersForSelector.publisherMap;this.publisherIdFacet=Object.entries(t.facets["bookPublisherId"]).filter((([t,e])=>e>0)).filter((([t])=>e.hasOwnProperty(t))).map((([t,e])=>({key:t,value:e})))}this.$store.commit("setLoadingModal",!1),this.processSearchResults(JSON.parse(JSON.stringify(t.results))),0===t.results.length&&(this.noResults=!0),this.afterFirstSearch=!0,this.totalPages=Math.floor(t.total/9),t.total%9>0&&this.totalPages++},resetSideSearch(){this.$refs.sideSearch&&this.$refs.sideSearch.reset(),this.finalisedByPublisherFacetSelect=null,this.activeFacetSelect=null,this.pagesSelected=!1,this.selectedPublisherIdFromFacets=[],this.selectedPublicationYearFromFacets=[],this.selectedBookTypeFromFacets=[],this.$nextTick((()=>{this.pages=[1,3500]}))}},watch:{page:function(t){this.updateFacets=!1,this.simpleSearch()},pagesSelected:function(t){document.activeElement.blur()},simpleSearchStore:function(t){this.resetSideSearch(),this.searchResults=[],this.afterFirstSearch=!1}}},T=D,R=(0,f.Z)(T,d,u,!1,null,"08706304",null),M=R.exports,I=function(){var t=this,e=t._self._c;return e("v-container",{attrs:{fluid:""}},[e("v-row",{staticClass:"justify-center"},[e("v-col",{staticClass:"my-0 py-0",attrs:{cols:"12"}},[e("v-row",{staticClass:"justify-center pt-2"},[e("v-col",{staticClass:"my-0 py-0 pt-4",attrs:{cols:"10"}},[e("v-card",[e("v-form",{ref:"form",staticClass:"mr-1 ml-1"},[e("v-row",{staticClass:"pt-2"},[e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Τίτλος",dense:"",outlined:""},model:{value:t.criteria.title,callback:function(e){t.$set(t.criteria,"title",e)},expression:"criteria.title"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Υπότιτλος",dense:"",outlined:""},model:{value:t.criteria.subtitle,callback:function(e){t.$set(t.criteria,"subt
1itle",e)},expression:"criteria.subtitle"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Κωδικός Βιβλίου",dense:"",outlined:""},model:{value:t.criteria.id,callback:function(e){t.$set(t.criteria,"id",e)},expression:"criteria.id"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Συγγραφείς",dense:"",outlined:""},model:{value:t.criteria.authors,callback:function(e){t.$set(t.criteria,"authors",e)},expression:"criteria.authors"}})],1)],1),e("v-row",[e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Αριθμός Έκδοσης",dense:"",outlined:""},model:{value:t.criteria.editionNumber,callback:function(e){t.$set(t.criteria,"editionNumber",e)},expression:"criteria.editionNumber"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Έτος Τρέχ. Έκδοσης",dense:"",outlined:""},model:{value:t.criteria.publicationYear,callback:function(e){t.$set(t.criteria,"publicationYear",e)},expression:"criteria.publicationYear"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Τίτλος τόμου",dense:"",outlined:""},model:{value:t.criteria.volumeTitle,callback:function(e){t.$set(t.criteria,"volumeTitle",e)},expression:"criteria.volumeTitle"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Αριθμός τόμου",dense:"",outlined:""},model:{value:t.criteria.volumeNumber,callback:function(e){t.$set(t.criteria,"volumeNumber",e)},expression:"criteria.volumeNumber"}})],1)],1),e("v-row",[e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Λέξεις κλειδιά",dense:"",outlined:""},model:{value:t.criteria.keywords,callback:function(e){t.$set(t.criteria,"keywords",e)},expression:"criteria.keywords"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"ISBN",dense:"",outlined:""},model:{value:t.criteria.isbn,callback:function(e){t.$set(t.criteria,"isbn",e)},expression:"criteria.isbn"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-autocomplete",{staticClass:"primary-outline compact-field",attrs:{label:"Διαθέτης (Εκδότης)",items:t.$store.getters.publishersForSelector.publisherList,dense:"",outlined:"",loading:t.$store.getters.loadingPublishers,disabled:t.$store.getters.loadingPublishers,"item-value":"id","item-text":"name"},model:{value:t.criteria.publisherId,callback:function(e){t.$set(t.criteria,"publisherId",e)},expression:"criteria.publisherId"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-text-field",{staticClass:"primary-outline compact-field",attrs:{label:"Εκδόσεις",dense:"",outlined:""},model:{value:t.criteria.editorialHouse,callback:function(e){t.$set(t.criteria,"editorialHouse",e)},expression:"criteria.editorialHouse"}})],1)],1),e("v-row",[e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-select",{staticClass:"primary-outline compact-field",attrs:{items:t.typeSelector,dense:"",clearable:"",label:"Τύπος","item-text":"label","item-value":"value",outlined:""},on:{"click:clear":function(e){t.criteria.type=null}},model:{value:t.criteria.type,callback:function(e){t.$set(t.criteria,"type",e)},expression:"criteria.type"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-select",{staticClass:"primary-outline compact-field",attrs:{items:t.finalizedByPublisherSelector,clearable:"",dense:"","item-text":"label","item-value":"value",label:"Ολοκληρωμένη Εγγραφή",outlined:""},on:{"click:clear":function(e){t.criteria.finalizedByPublisher=null}},model:{value:t.criteria.finalizedByPublisher,callback:function(e){t.$set(t.criteria,"finalizedByPublisher",e)},expression:"criteria.finalizedByPublisher"}})],1),e("v-col",{staticClass:"my-1 py-0",staticStyle:{"max-height":"30px"},attrs:{lg:"3",md:"6"}},[e("v-row",{attrs:{justify:"space-between"}},[e("v-col",{staticClass:"my-1 py-0 pb-2",attrs:{cols:"5"}},[e("v-btn",{staticClass:"mt-2",attrs:{block:"",small:"",outlined:"",color:"primary"},on:{click:t.resetForm}},[t._v("Επαναφορά "),e("v-icon",[t._v("mdi-refresh")])],1)],1),e("v-col",{staticClass:"my-1 py-0 pb-2",attrs:{cols:"5"}},[e("v-btn",{staticClass:"mt-2",attrs:{block:"",small:"",outlined:"",color:"secondary"},on:{click:t.advancedSearchButton}},[t._v("Αναζήτηση "),e("v-icon",[t._v("mdi-database-search-outline")])],1)],1)],1)],1)],1)],1)],1)],1)],1),0===t.searchResults.length&&!1===t.afterFirstSearch?e("v-row",{staticClass:"justify-center pt-8"},[e("div",{staticClass:"mt-2"},[e("v-img",{staticStyle:{"max-height":"650px","max-width":"650px","min-height":"650px","min-width":"650px"},attrs:{src:s(5502),contain:"",alt:""}})],1)]):t._e(),0===t.searchResults.length&&!0===t.afterFirstSearch?e("v-row",{staticClass:"justify-center pt-8"},[e("div",{staticClass:"mt-2"},[e("h2",{staticStyle:{color:"#DBDBDB"}},[t._v("Δεν βρέθηκαν αποτελέσματα")])])]):t._e(),t.searchResults.length>0&&!0===t.afterFirstSearch?e("v-row",{staticClass:"justify-center pt-8"},[e("v-col",{attrs:{xl:"10",lg:"10",md:"8",sm:"8"}},[e("SearchResults",{attrs:{"search-results":t.searchResults,"image-cache":t.imageCache}}),t.searchResults.length>0?e("v-row",{staticClass:"mb-2",attrs:{justify:"center"}},[e("div",{staticClass:"text-center"},[e("v-pagination",{attrs:{length:t.totalPages,"total-visible":"10"},model:{value:t.page,callback:function(e){t.page=e},expression:"page"}})],1)]):t._e()],1)],1):t._e()],1)],1)],1)},j=[],E={name:"AdvancedSearch",components:{SearchResults:L},data:()=>({page:1,totalPages:0,afterFirstSearch:!1,noResults:!1,criteria:{id:null,type:null,title:null,subtitle:null,authors:null,isbn:null,volumeTitle:null,volumeNumber:null,editionNumber:null,publicationYear:null,editorialHouse:null,publisherId:null,finalizedByPublisher:null,keywords:null},finalizedByPublisherSelector:[{label:"Ολοκληρωμένη",value:!0},{label:"Εκκρεμής",value:!1}],typeSelector:[{label:"Σύγγραμμα",value:"Published"},{label:"Ηλεκτρονικό Βιβλίο",value:"eBook"},{label:"Δωρεάν Ηλεκτρονικό Βοήθημα / Σημειώσεις",value:"ProfessorNotes"}],bookTypeValues:{published:"Σύγγραμμα",ebook:"Ηλεκτρονικό Βιβλίο",professornote:"Δωρεάν Ηλεκτρονικό Βοήθημα / Σημειώσεις"},searchResults:[],defaultCover:s(9719),imageCache:{}}),methods:{resetForm(){this.$refs.form.reset()},advancedSearchButton(){this.page=1,this.advancedSearch()},test(){console.log(this.searchResults.length),console.log(this.afterFirstSearch)},advancedSearch(){document.activeElement.blur(),this.$store.commit("setLoadingModal",!0),null!=this.criteria.keywords&&""===this.criteria.keywords.trim()&&(this.criteria.keywords=null);let t=JSON.parse(JSON.stringify(this.criteria));if(null!=this.criteria.keywords&&""!==this.criteria.keywords){let e=this.criteria.keywords.replace(/,/g," ").split(" ").map((t=>t.trim())).filter((t=>t.length>0));t.keywords=e}t.first=9*(this.page-1),t.pageSize=9,G.put("rest/app/advanced-search",t,this.searchCallBack)},searchCallBack(t){this.$store.commit("setLoadingModal",!1),this.processSearchResults(JSON.parse(JSON.stringify(t.results))),this.afterFirstSearch=!0,0===t.results.length&&(this.noResults=!0),this.totalPages=Math.floor(t.total/9),t.total%9>0&&this.totalPages++},async processSearchResults(t){for(const e of t){const t=await this.getCover(e.pathToCover);this.$set(this.imageCache,e.id,t)}this.searchResults=t},async getCover(t){const e=V.reformatBookPath(t);return console.log(e),new Promise((t=>{const s=new Image;s.onload=()=>t(e),s.onerror=()=>t(this.defaultCover),s.src=e}))}},watch:{page:function(t){!0===this.$store.getters.simpleSearch?this.simpleSearch():this.advancedSearch()}}},N=E,O=(0,f.Z)(N,I,j,!1,null,"2f93061a",null),z=O.exports;a["default"].use(n.ZP);var U=new n.ZP({routes:[{path:"/",component:M,beforeEnter:Z},{path:"/advanced",component:z,beforeEnter:Z}]});function Z(t,e,s){s()}var Y={getErrorMessage(t){if(t.startsWith("{internal}")){var e={title:"Σφάλμα!",text:"Παρουσιάστηκε σφάλμα στην εφαρμογή. Παρακαλώ κάντε επανεκκίνηση (refresh) και αν το πρόβλημα επιμείνει επικοινωνήστε με το Γραφείο Αρωγής Χρηστών.",color:"indianRed",class:"white--text indianRed text-center justify-center",icon:"error",successStyle:!1};l.commit("setErrorPopup",!0),l.commit("setErrorPopupProps",e)}else{var s=t.split(/{(.*)}/),a={title:"Σφάλμα!",text:"",color:"indianRed",class:"white--text indianRed text-center justify-center",icon:"error",successStyle:!1};
1"not.authorized"===s[1]?(l.commit("setLoginModal",!0),"/"!==U.currentRoute.path&&U.push({path:"/"})):"error"===s[1]||"pricing.error"===s[1]?(a.text=s[2],l.commit("setErrorPopup",!0),l.commit("setErrorPopupProps",a)):(a.text='Παρουσιάστηκε κάποιο σφάλμα στην επικοινωνία με το σύστημα. Πατήστε "Ανανέωση" στον browser και αν το πρόβλημα επιμείνει παρακαλώ επικοινωνήστε με το Γραφείο Αρωγής Χρηστών',l.commit("setErrorPopup",!0),l.commit("setErrorPopupProps",a))}},clearHomeInfo(){}},A=Y;const W="./";let H={get(t,e){c.Z.get(W+t,{headers:{"Content-Type":"application/json",Authentication:V.getLocalStorage("cmt_token")}}).then((t=>{e(t.data)})).catch((t=>{A.getErrorMessage(t.response.data),l.commit("setLoadingModal",!1)}))},post(t,e,s){c.Z.post(W+t,e,{headers:{"Content-Type":"application/json",Authentication:V.getLocalStorage("cmt_token")}}).then((t=>{s(t.data)})).catch((t=>{A.getErrorMessage(t.response.data),l.commit("setLoadingModal",!1)}))},postForFiles(t,e,s){c.Z.post(W+t,e,{responseType:"blob",headers:{"Content-Type":"application/json",Authentication:V.getLocalStorage("cmt_token")}}).then((t=>{s(t)})).catch((t=>{var e={title:"Σφάλμα!",text:"Κάτι πήγε στραβά κατά τη δημιουργία αναφοράς.",color:"indianRed",class:"white--text indianRed text-center justify-center"};405==t.response.status&&(e.text="Μη επιτρεπτή ενέργεια."),404==t.response.status&&(e.text="Το αρχείο δεν βρέθηκε"),l.commit("setErrorPopup",!0),l.commit("setErrorPopupProps",e),l.commit("setLoadingModal",!1)}))},put(t,e,s){c.Z.put(W+t,e,{headers:{"Content-Type":"application/json",Authentication:V.getLocalStorage("cmt_token")}}).then((t=>{s(t.data)})).catch((t=>{A.getErrorMessage(t.response.data),l.commit("setLoadingModal",!1)}))},delete(t,e,s){c.Z["delete"](W+t,{data:e,headers:{"Content-Type":"application/json",Authentication:V.getLocalStorage("cmt_token")}}).then((t=>{s(t.data)})).catch((t=>{l.commit("setLoadingModal",!1),A.getErrorMessage(t.response.data)}))},requestReport(t,e){c.Z.put(W+"rest/reports/request",t,{headers:{"Content-Type":"application/json",Authentication:V.getLocalStorage("cmt_token")}}).then((t=>{e(t)})).catch((t=>{A.getErrorMessage(t.response.data),l.commit("setLoadingModal",!1)}))},downloadReport(t,e){c.Z.put(W+"rest/reports/download",t,{responseType:"blob",headers:{"Content-Type":"application/json",Authentication:V.getLocalStorage("cmt_token")}}).then((t=>{e(t)})).catch((t=>{A.getErrorMessage(t.response.data),l.commit("setLoadingModal",!1)}))},downloadObjectionFile(t){c.Z.post(W+"rest/pricing/get-objection-pdf/"+t,{},{responseType:"blob",headers:{"Content-Type":"application/json",Authentication:V.getLocalStorage("cmt_token")}}).then((t=>{V.downloadFile(t.headers["content-type"],t.headers["filename"],t.data),l.commit("setLoadingModal",!1)})).catch((t=>{A.getErrorMessage(t.response.data),l.commit("setLoadingModal",!1)}))}};var G=H,J={setLocalStorage(t,e){localStorage.setItem(t,e)},setRedirectToLocalStorage(t){localStorage.setItem("redirectToken",JSON.stringify(t))},returnBookType(t){return"Published"===t?"Σύγγραμμα":"eBook"===t?"Ηλεκτρονικό Βιβλίο":"ProfessorNotes"===t?"Δωρεάν Ηλεκτρονικό Βοήθημα / Σημειώσεις":"UniversityPress"===t?"Πανεπιστημιακή Έκδοση":"Free"===t?"Δωρεάν Βιβλίο":"--"},getBindingTypeGreekString(t){let e;switch(t){case"Hard":e="Σκληρό εξώφυλλο";break;case"Soft":e="Μαλακό εξώφυλλο";break;case"Leather":e="Δερματόδετο";break;case"None":e="Χωρίς";break;default:e="ΑΛΛΟ";break}return e},reformatBookPath(t){return"string"===typeof t&&t.length>0&&!t.startsWith("http")?"https://static.eudoxus.gr/books/"+t:t},compareDates(t,e){const s=t.split("-"),a=e.split("-"),i=Number(s[0]),o=Number(s[1]),r=Number(s[2]),l=Number(a[0]),c=Number(a[1]),n=Number(a[2]);return i>l?1:i<l?-1:o>c?1:o<c?-1:r>
1n?1:r<n?-1:0},getLocalStorage(t){return localStorage.getItem(t)},deleteLocalStorage(t){localStorage.removeItem(t)},downLoadPDFNewTab(t){let e=new Blob([t.data],{type:"application/pdf"}),s=window.URL.createObjectURL(e);window.open(s,"_blank")},checkIfNotEmptyUndefinedOrNull(t){return""!==t&&null!=t&&void 0!=t},removeTokenFromBrowser(){this.deleteLocalStorage("cmt_token");let t={eudoxusYears:[],pricingCommittee:{authorizationId:"",contactEmail:"",contactName:"",contactPhone:"",id:"",type:""},token:""};l.commit("setHomePageInformation",t),l.commit("setLoginModal",!0)},openErrorDialog(t){var e={title:"Σφάλμα!",text:t,color:"error",class:"white--text indianRed text-center justify-center"};l.commit("setErrorPopup",!0),l.commit("setErrorPopupProps",e)},createNavigationItem(){var t=[{id:0,icon:"home",label:"Αρχική Σελίδα",link:"/",disabled:!1},{id:1,icon:"mdi-book-open-variant",label:"Συγγράμματα",link:"/books",disabled:!1},{id:2,icon:"mdi-eyedropper",label:"Επιλογή Δείγματος",link:"/sampleSelection",disabled:!1},{id:3,icon:"local_shipping",label:"Παραλαβή Συγγραμμάτων",link:"/bookPickup",disabled:!1},{id:4,icon:"euro_symbol",label:"Διαχείριση Τιμών Κοστολόγησης",link:"/pricingManagement",disabled:!1},{id:5,icon:"mdi-code-tags",label:"Διαχείριση Μηνυμάτων",link:"/mailTemplates",disabled:!1}];l.commit("setNavigationItems",t)},downLoadXLSX(t){let e=new Blob([t.data],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),s=window.URL.createObjectURL(e),a=document.createElement("a");a.href=s,a.download=t.headers.filename,a.click(),window.URL.revokeObjectURL(s)},downloadFile(t,e,s){let a=new Blob([s],{type:t}),i=window.URL.createObjectURL(a),o=document.createElement("a");o.href=i,o.download=e,o.click(),window.URL.revokeObjectURL(i)},downloadReport(t){let e=this.getLocalStorage("cmt_token");null!=e?"pdf"==t.format||G.downloadReport(t,this.downLoadXLSX):l.commit("setLoginModal",!0)},setSuccessPopup(t,e){var s={title:t,text:e,color:"teal",class:"white--text teal text-center justify-center",icon:"success",successStyle:!0};l.commit("setErrorPopup",!0),l.commit("setErrorPopupProps",s)},setErrorPopup(t,e){var s={title:t,text:e,color:"indianRed",class:"white--text indianRed text-center justify-center",icon:"error",successStyle:!1};l.commit("setErrorPopup",!0),l.commit("setErrorPopupProps",s)}},V=J,X=function(){var t=this,e=t._self._c;return e("div",{staticClass:"vld-parent"},[e("loading",{attrs:{active:t.isLoading,"is-full-page":t.fullPage},on:{"update:active":function(e){t.isLoading=e}}},[e("div",{staticClass:"orbit-spinner"},[e("div",{staticClass:"orbit"}),e("div",{staticClass:"orbit"}),e("div",{staticClass:"orbit"})])])],1)},q=[],K=s(7398),Q=s.n(K),tt={name:"LoadingComponent",data(){return{fullPage:!0}},components:{Loading:Q()},props:{isLoading:Boolean}},et=tt,st=(0,f.Z)(et,X,q,!1,null,"bd6172d0",null),at=st.exports,it=function(){var t=this,e=t._self._c;return e("div",[e("v-dialog",{attrs:{"max-width":"500",persistent:""},model:{value:t.$store.getters.loginModal,callback:function(e){t.$set(t.$store.getters,"loginModal",e)},expression:"$store.getters.loginModal"}},[e("v-card",[e("v-card-title",{staticClass:"white--text primary"},[e("h4",[t._v("Είσοδος")])]),e("br"),t.showOtp?t._e():e("v-form",{staticClass:"mx-2"},[e("v-row",{staticClass:"mx-auto pb-2",attrs:{justify:"center"}},[t.errorMessageFlag?e("v-chip",{attrs:{color:"error"}},[t._v(t._s(t.errorMessage))]):t._e()],1),e("v-text-field",{staticClass:"pt-4",attrs:{error:t.errorMessageFlag,label:"Όνομα Χρήστη",name:"Username","prepend-icon":"person"},model:{value:t.username,callback:function(e){t.username=e},expression:"username"}}),e("v-text-field",{attrs:{error:t.errorMessageFlag,label:"Κωδικός Πρόβασης",name:"Password","prepend-icon":"lock",type:t.showPassWord?"text":"password","append-icon":t.showPassWord?"visibility_off":"visibility"},on:{"click:append":function(e){t.showPassWord=!t.showPassWord}},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}}),e("v-card-actions",[e("v-btn",{staticClass:"white--text",attrs:{block:"",color:"primary",large:"",primary:""},on:{click:function(e){return t.login()}}},[t._v("ΣΥΝΔΕΣΗ")])],1),e("v-card-subtitle",[e("p",{attrs:{"subtitle-2":""}},[t._v("Σε περίπτωση που ξεχάσατε το password πατήστε "),e("a",{attrs:{href:"https://submit.eudoxus.gr"}},[t._v("εδώ")]),t._v(".")])])],1),t.showOtp?e("v-container",[e("v-row",{attrs:{justify:"center",align:"center"}},[e("v-col",{staticClass:"text-center",attrs:{cols:"12"}},[e("v-sheet",{staticClass:"progress-bar-wrapper",attrs:{elevation:"2"}},[e("v-progress-linear",{attrs:{value:t.percentage,color:t.progressBarColor,striped:"",height:"10"}}),e("v-row",{staticClass:"mt-4 otp-container",attrs:{justify:"center"}},[e("v-otp-input",{attrs:{dense:"",length:"6",type:"number"},on:{finish:t.otpLogin},model:{value:t.otp,callback:function(e){t.otp=e},expression:"otp"}}),e("v-alert",{staticClass:"mt-4",attrs:{icon:"info",dense:"",outlined:"",shaped:"",text:"",color:"lightSeaGreen"}},[t._v("Ένας κωδικός θα αποσταλεί σύντομα στο e-mail του λογαριασμού σας")])],1)],1)],1)],1)],1):t._e()],1)],1)],1)},ot=[],rt={name:"LoginModal",data(){return{dialog:!0,username:"",password:"",errorMessageFlag:!1,errorMessage:"",homeInformation:{},showPassWord:!1,showOtp:!1,totalTime:110,timeLeft:110,timer:null,isRunning:!1,otpToken:"",otp:""}},computed:{percentage(){return this.timeLeft/this.totalTime*100},progressBarColor(){return this.timeLeft>55?"lightSeaGreen":this.timeLeft>25?"goldColor":"indianRed"}},methods:{startTimer(){this.isRunning||(this.isRunning=!0,this.timeLeft=this.totalTime,this.timer=setInterval((()=>{this.timeLeft>0?this.timeLeft--:(this.reset(),this.showOtp=!1,this.totalTime=110,this.timeLeft=110,this.timer=null,this.isRunning=!1)}),1e3))},reset(){clearInterval(this.timer),this.isRunning=!1,this.totalTime=110,this.timeLeft=110,this.timer=null,this.isRunning=!1,this.showOtp=!1,this.otpToken="",this.otp="",this.username="",this.password=""},login(){this.validateTextField()&&(this.$store.commit("setLoadingModal",!0),G.login(this.username,this.password,this.loginBeforeOtpCallBack,this.failedLoginCallBack))},loginBeforeOtpCallBack(t){V.setLocalStorage("cmt_token",t),this.startTimer(),this.showOtp=!0,this.$store.commit("setLoadingModal",!1)},otpLogin(){this.$store.commit("setLoadingModal",!0);let t={otp:this.otp};G.post("rest/user/login-otp",t,this.loginCallBack)},loginCallBack(t){this.reset(),this.errorMessageFlag=!1,this.showPassWord=!1,this.errorMessage="";var e=t;V.setLocalStorage("cmt_token",t),""==t?(this.errorMessage="Username or Password is incorrect",this.errorMessageFlag=!0,this.$store.commit("setLoadingModal",!1)):(G.homePageInformation(e,this.homePageInformationCallBack),G.put("rest/books/publishers",null,this.getPublishersCallBack))},getPublishersCallBack(t){this.$store.commit("setPublishersForSelector",t)},failedLoginCallBack(t){this.errorMessage="Username or Password is incorrect",this.errorMessageFlag=!0,this.$store.commit("setLoadingModal",!1)},homePageInformationCallBack(t){this.homeInformation=t,this.$store.commit("setHomePageInformation",t),this.$store.commit("setLoadingModal",!1),this.$store.commit("setLoginModal",!1)},validateTextField(){return this.errorMessageFlag=!1,this.errorMessage="",""==this.username.trim()&&(this.errorMessage="Username",this.errorMessageFlag=!0),""==this.password.trim()&&(""!=this.errorMessage?this.errorMessage+=" and Password":this.errorMessage="Password",this.errorMessageFlag=!0),!this.errorMessageFlag||(this.errorMessage+=" is Required",!1)}}},lt=rt,ct=(0,f.Z)(lt,it,ot,!1,null,"b5a0a82e",null),nt=ct.exports,dt=function(){var t=this,e=t._self._c;return e("v-footer",{staticStyle:{"background-color":"inherit"},attrs:{app:"",inset:"",padless:"",tile:""}},[e("v-card",{staticClass:"mx-auto my-0 py-0",attrs:{outlined:"",color:"grey lighten-5"}},[e("v-row",{attrs:{dense:""}},[e("v-col",[e("a",{attrs:{href:"https://www.espa.gr/en/Pages/default.aspx/",target:"_blank"}},[e("v-img",{attrs:{"min-width":"600px",src:s(8018),"aspect-ratio":"13",contain:"",alt:"
1Visit the ESPA website"}})],1)])],1),e("p",{staticClass:"ma-0 pa-0",staticStyle:{"text-align":"center"}},[e("strong",[t._v("©2022 — Εύδοξος")])])],1)],1)},ut=[],pt={name:"Footer"},mt=pt,ht=(0,f.Z)(mt,dt,ut,!1,null,"61a30221",null),vt=ht.exports,gt=function(){var t=this,e=t._self._c;return e("div",[e("v-dialog",{attrs:{"max-width":"500",persistent:""},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.closeErrorPopup.apply(null,arguments)}},model:{value:t.$store.getters.errorPopup,callback:function(e){t.$set(t.$store.getters,"errorPopup",e)},expression:"$store.getters.errorPopup"}},[e("v-card",{style:t.colorBackground(t.$store.getters.errorPopupProps.successStyle)},[e("v-card-title",{class:t.$store.getters.errorPopupProps.class},[e("h4",[t._v(t._s(t.$store.getters.errorPopupProps.title))]),e("v-spacer"),e("v-icon",{attrs:{color:"white"},on:{click:t.closeErrorPopup}},[t._v("close")])],1),e("br"),e("v-form",{staticClass:"mx-2"},[e("v-card-text",[e("v-container",{attrs:{"fill-height":""}},[e("v-row",{attrs:{justify:"center",align:"center"}},[e("v-col",{staticClass:"pa-0 pb-2 pr-0 pl-0",attrs:{cols:"1"}},["error"===t.$store.getters.errorPopupProps.icon?e("v-icon",{attrs:{color:"indianRed","x-large":""}},[t._v("report_problem")]):t._e(),"success"===t.$store.getters.errorPopupProps.icon?e("v-icon",{attrs:{color:"teal","x-large":""}},[t._v("verified")]):t._e()],1),e("v-col",{staticClass:"pa-0",attrs:{cols:"11"}},[e("v-spacer"),e("p",{style:t.fontStyle(t.$store.getters.errorPopupProps.successStyle)},[t._v(t._s(t.$store.getters.errorPopupProps.text))])],1)],1)],1)],1),e("v-card-actions",[e("v-btn",{staticClass:"white--text",staticStyle:{"text-transform":"none !important"},attrs:{block:"",color:t.$store.getters.errorPopupProps.color,large:"",primary:""},on:{click:t.closeErrorPopup}},[t._v("Κλείσιμο")])],1)],1)],1)],1)],1)},bt=[],ft={name:"ErrorPopup",methods:{closeErrorPopup(){this.$store.commit("setErrorPopup",!1)},colorBackground(t){return t?"background-color: #B2DFDB;":"background-color: #FFFFFF;"},fontStyle(t){return t?"font-style: italic;color: #546E7A;font-weight: bold;font-size:20px;":"font-style: italic;font-size:16px;"}}},yt=ft,kt=(0,f.Z)(yt,gt,bt,!1,null,"f92b13d8",null),xt=kt.exports,St=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{"max-width":"1000px",persistent:""},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.closeDialog.apply(null,arguments)}},model:{value:t.$store.getters.instructionsDialog,callback:function(e){t.$set(t.$store.getters,"instructionsDialog",e)},expression:"$store.getters.instructionsDialog"}},[e("v-card",{staticClass:"gradient-border-card d-flex flex-column",attrs:{"min-height":"650px"}},[e("v-card-title",{staticClass:"headline white--text",staticStyle:{background:"linear-gradient(90deg,rgba(17, 37, 77, 1) 0%, rgba(17, 113, 112, 1) 50%, rgba(21, 168, 147, 1) 100%)"}},[t._v(" Οδηγίες χρήσης "),e("v-spacer"),e("v-btn",{attrs:{color:"white",icon:""},on:{click:t.closeDialog}},[e("v-icon",{attrs:{large:""}},[t._v("close")])],1)],1),e("v-card-text",[e("h3",[t._v("Απλή Αναζήτηση")]),e("br"),e("p",[t._v("Χρησιμοποιώντας την απλή αναζήτηση, μπορείτε να αναζητήσετε ακριβείς όρους (ανεξαρτήτως τονισμού ή κεφαλαίων χαρακτήρων) σε οποιοδήποτε πεδίο του βιβλίου, ή να κάνετε μερική ταύτιση, χρησιμοποιώντας το χαρακτήρα *. "),e("br"),e("br"),t._v(" Τοποθετώντας το χαρακτήρα *, στην αρχή, το τέλος ή στο ενδιάμεσο μιας ακολουθίας χαρακτήρων μπορείτε να αναζητήσετε όλα τα αποτελέσματα που αρχίζουν, τελειώνουν, εμπεριέχουν ή εμπεριέχονται από αυτή την ακολουθία, πχ. η αναζήτηση: μαθη*, επιστρέφει ως αποτέλεσμα όλες τις εγγραφές που περιέχουν κάποια λέξη που αρχίζει από μαθη, όπως μάθημα, μαθήματα, μαθηματικά, μαθητική, μάθηΜΑΤΙΚΑ κλπ. Αντίστοιχα χρησιμοποιώντας το χαρακτήρα και στην αρχή και στο τέλος μιας ακολουθίας χαρακτήρων μπορείτε να αναζητήσετε όλα τα αποτελέσματα που περιέχουν τις συγκεκριμένες ακολουθίες, πχ η αναζήτηση *εργ*, επιτρέφει ως αποτέλεσμα: κατεργασία, ενέργεια, εργαζόμενοι, συνεργατισμός, εργαστήριο κλπ. ")]),e("br"),e("br"),e("h3",[t._v("Σύνθετη Αναζήτηση")]),e("br"),e("p",[t._v(" Στη σύνθετη αναζήτηση μπορείτε να αναζητήσετε ακριβείς όρους σε ένα συγκεκριμένο πεδίο του βιβλίου ή να κάνετε μερική ταύτιση, χρησιμοποιώντας το χαρακτήρα *. Ο χαρακτήρας * δεν μπορεί να χρησιμοποιηθεί για αναζήτηση στα πεδία 'Κωδικός Βιβλίου', 'ISBN' και 'Έτος Τρέχουσας Έκδοσης'. "),e("br"),e("br"),t._v(" Τέλος, μπορείτε να επιλέξετε συγκεκριμένο εκδότη (διαθέτη) με ή χωρίς πρόσθετα κριτήρια αναζήτησης. ")]),e("br"),e("p",[e("strong",[t._v("Σημείωση:")]),t._v(" Στη σύνθετη αναζήτηση, η αναζήτηση στο πεδίο "),e("strong",[t._v("ISBN")]),t._v(" μπορεί να γίνει "),e("strong",[t._v("είτε με τον ISBN-10")]),e("br"),e("strong",[t._v("είτε με τον ISBN-13.")]),t._v(" Αντίθετα στην απλή αναζήτηση, η αναζήτηση γίνεται ακριβώς με τον ISBN που δόθηκε στο πεδίο αναζήτησης. ")])])],1)],1)},_t=[],Ct={name:"InstructionsDialog",methods:{closeDialog(){this.$store.commit("setInstru
1ctionsDialog",!1)}}},wt=Ct,Pt=(0,f.Z)(wt,St,_t,!1,null,"47eec1a6",null),Ft=Pt.exports,Bt={name:"App",components:{InstructionsDialog:Ft,ErrorPopup:xt,LoginModal:nt,LoadingComponent:at,Footer:vt},data:()=>({drawer:!0,navigationPath:"/"}),computed:{simpleSearch:{get(){return this.$store.getters.simpleSearch},set(t){this.$store.commit("setSimpleSearch",t)}}},methods:{toggleSearch(){this.$store.commit("setSimpleSearch",!this.simpleSearch),this.simpleSearch?this.$router.push({path:"/"}):this.$router.push({path:"/advanced"})}},created(){1===performance.navigation.type&&"/"!==this.$route.fullPath&&this.$router.push({path:"/"}),G.get("rest/app/publishers",(t=>{this.$store.commit("setPublishersForSelector",t),this.$store.commit("setLoadingPublishers",!1)}))},watch:{$route(t,e){t.path!==this.navigationPath&&(this.navigationPath=t.path)}}},$t=Bt,Lt=(0,f.Z)($t,i,o,!1,null,"78fb1d8e",null),Dt=Lt.exports,Tt=s(6017),Rt=s.n(Tt);s(8556);a["default"].use(Rt());const Mt={theme:{themes:{light:{primary:"#11254D",primaryLighter:"#11455B",secondary:"#17c1aa",accent:"#ff9800",info:"#66a5ad",error:"#F4511E",goldColor:"#cda252",greyColor:"#BDBDBD",lightSeaGreen:"#20b2aa",indianRed:"#cd5c5c",booksBackground:"#e3dec9"},dark:{primary:"#003b46",secondary:"#07575b",accent:"#ff9800",info:"#66a5ad",error:"#F4511E"}}}};var It=new(Rt())(Mt),jt=s(2346);a["default"].config.productionTip=!1,a["default"].use(jt.Z,c.Z);new a["default"];new a["default"]({router:U,store:l,vuetify:It,render:t=>t(Dt)}).$mount("#app")},8018:function(t,e,s){t.exports=s.p+"img/BANNER_MDT_ETPA2.6541bb9c.jpg"},4639:function(t,e,s){t.exports=s.p+"img/BANNER_MDT_ETPA4.9e0a650d.png"},1973:function(t,e,s){t.exports=s.p+"img/Eudoxus_Logo_RGB_Gr.c48f7527.png"},5502:function(t,e,s){t.exports=s.p+"img/Eudoxus_Logo_RGB_Gr_Resize.7ba2293e.png"},9719:function(t,e,s){t.exports=s.p+"img/blank.d03729f1.png"}},e={};function s(a){var i=e[a];if(void 0!==i)return i.exports;var o=e[a]={id:a,loaded:!1,exports:{}};return t[a].call(o.exports,o,o.exports,s),o.loaded=!0,o.exports}s.m=t,function(){s.amdO={}}(),function(){var t=[];s.O=function(e,a,i,o){if(!a){var r=1/0;for(d=0;d<t.length;d++){a=t[d][0],i=t[d][1],o=t[d][2];for(var l=!0,c=0;c<a.length;c++)(!1&o||r>=o)&&Object.keys(s.O).every((function(t){return s.O[t](a[c])}))?a.splice(c--,1):(l=!1,o<r&&(r=o));if(l){t.splice(d--,1);var n=i();void 0!==n&&(e=n)}}return e}o=o||0;for(var d=t.length;d>0&&t[d-1][2]>o;d--)t[d]=t[d-1];t[d]=[a,i,o]}}(),function(){s.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return s.d(e,{a:e}),e}}(),function(){s.d=function(t,e){for(var a in e)s.o(e,a)&&!s.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})}}(),function(){s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){s.hmd=function(t){return t=Object.create(t),t.children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t}}(),function(){s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){s.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){s.p="search2UIFactory/dist/"}(),function(){var t={143:0};s.O.j=function(e){return 0===t[e]};var e=function(e,a){var i,o,r=a[0],l=a[1],c=a[2],n=0;if(r.some((function(e){return 0!==t[e]}))){for(i in l)s.o(l,i)&&(s.m[i]=l[i]);if(c)var d=c(s)}for(e&&e(a);n<r.length;n++)o=r[n],s.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return s.O(d)},a=self["webpackChunkcommittee"]=self["webpackChunkcommittee"]||[];a.forEach(e.bind(null,0)),a.push=e.bind(null,a.push.bind(a))}();var a=s.O(void 0,[998],(function(){return s(7174)}));a=s.O(a)})();
2//# sourceMappingURL=app.f0f7ede9.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.