{"version":3,"sources":["webpack:///./src/views/user_account/navigation.js","webpack:///./src/views/user_account/drivers/index.vue?d148","webpack:///src/views/user_account/drivers/index.vue","webpack:///./src/views/user_account/drivers/index.vue?618f","webpack:///./src/views/user_account/drivers/index.vue"],"names":["auth","getInstance","navLinks","title","disabled","route","userInOrganization","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","links","staticStyle","_v","model","value","callback","$$v","panel","expression","serialNumber","on","queryDrivers","_e","headers","drivers","search","$apollo","loading","scopedSlots","_u","key","fn","ref","item","$event","downloadDriver","_b","snackbar","_s","snackbarMessage","staticRenderFns","metaInfo","subTitle","name","props","data","noResults","text","methods","driversBySn","getDrivers","then","console","catch","query","variables","url","method","window","component"],"mappings":"4LAEMA,EAAOC,iBAEAC,EAAW,CACpB,CACIC,MAAO,YACPC,UAAU,EACVC,MAAO,eAEX,CACIF,MAAO,cACPC,UAAU,EACVC,MAAO,gBAEX,CACIF,MAAO,qBACPC,UAAU,EACVC,MAAO,yBAdM,sBAgBbL,EAAKM,qBACH,CACI,CACIH,MAAO,WACPC,UAAU,EACVC,MAAO,aAGf,IAxBW,CAyBjB,CACIF,MAAO,wBACPC,UAAU,EACVC,MAAO,wBAEX,CACIF,MAAO,oBACPC,UAAU,EACVC,MAAO,oBAEX,CACIF,MAAO,YACPC,UAAU,EACVC,MAAO,aAEX,CACIF,MAAO,UACPC,UAAU,EACVC,MAAO,c,2CC/Cf,I,EAAIE,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACA,EAAG,mBAAmB,CAACE,YAAY,QAAQ,CAACF,EAAG,oBAAoB,CAACG,MAAM,CAAC,MAAQP,EAAIQ,UAAU,GAAGJ,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,eAAe,CAACK,YAAY,CAAC,QAAU,YAAY,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iC,YACAjC,kBAEA,CACAiC,QACAjC,mBAKAkC,SACAC,YADA,WACA,oKACAC,gBACA/B,8BAEAgC,MAAA,yBACAC,kBAEAC,OAAA,gBAPA,8CASAhC,aAVA,WAUA,WACA,gBACA,aACAiC,MAAA,CACAA,+OAKAC,WACAC,iHACAC,gBAGAN,MAAA,YACA,kCACA,kEACA,aACA,qBACA,eACA,cACA,gCAEA,mBAIAhB,eArCA,SAqCAF,GACA,MACAyB,8BAEAA,2FACAzB,SADA,mBACAA,yBC3J6W,I,YCOzW0B,EAAY,eACd,EACA1D,EACAuC,GACA,EACA,KACA,KACA,MAIa,aAAAmB,E","file":"js/chunk-d760f4f0.bfffe548.js","sourcesContent":["import { getInstance } from '@/auth'\r\n\r\nconst auth = getInstance()\r\n\r\nexport const navLinks = [\r\n {\r\n title: `your rmas`,\r\n disabled: false,\r\n route: `rma-history`\r\n },\r\n {\r\n title: 'your quotes',\r\n disabled: false,\r\n route: `saved-quotes`\r\n },\r\n {\r\n title: `your parts orders `,\r\n disabled: false,\r\n route: `parts-orders-history`\r\n },\r\n ...(auth.userInOrganization()\r\n ? [\r\n {\r\n title: `branches`,\r\n disabled: false,\r\n route: `branches`\r\n }\r\n ]\r\n : []),\r\n {\r\n title: `product registration `,\r\n disabled: false,\r\n route: `product-registration`\r\n },\r\n {\r\n title: `account settings `,\r\n disabled: false,\r\n route: `account-settings`\r\n },\r\n {\r\n title: `dashboard`,\r\n disabled: false,\r\n route: `dashboard`\r\n },\r\n {\r\n title: `drivers`,\r\n disabled: false,\r\n route: `drivers`\r\n }\r\n]\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',[_c('base-hero-simple',{staticClass:\"mb-2\"},[_c('base-router-links',{attrs:{\"items\":_vm.links}})],1),_c('div',{staticClass:\"container-bg\"},[_c('div',{staticClass:\"container-fg\"},[_c('v-card-title',{staticStyle:{\"padding\":\"5px 5px\"}},[_c('div',{staticStyle:{\"display\":\"flex\",\"flex-direction\":\"row\"}},[_c('img',{staticStyle:{\"width\":\"130px\",\"margin-bottom\":\"1%\"},attrs:{\"src\":require(\"../../../assets/logos/getac-logo.svg\")}}),_c('div',{staticClass:\"text-h7 nav-font pl-3\",staticStyle:{\"margin-top\":\"8px\",\"font-weight\":\"400\"}},[_vm._v(\"DRIVERS\")])]),_c('v-spacer')],1),_c('v-divider',{staticStyle:{\"margin-bottom\":\"1%\",\"border-color\":\"gray\"}}),_c('v-expansion-panels',{staticClass:\"expanded-panels\",attrs:{\"dark\":\"\",\"mandatory\":\"\",\"accordion\":\"\"},model:{value:(_vm.panel),callback:function ($$v) {_vm.panel=$$v},expression:\"panel\"}},[_c('v-expansion-panel',[_c('v-expansion-panel-header',{staticClass:\"expansion-header-first\",attrs:{\"expand-icon\":\"\"}},[_c('h1',{staticStyle:{\"font-size\":\"36px\",\"letter-spacing\":\"-0.08rem\"}},[_vm._v(\" View Drivers \")]),_c('v-text-field',{staticStyle:{\"margin-top\":\"25px\",\"width\":\"10px\",\"margin-right\":\"50px\"},attrs:{\"outlined\":\"\",\"dense\":\"\",\"label\":\"Enter serial number\"},model:{value:(_vm.serialNumber),callback:function ($$v) {_vm.serialNumber=$$v},expression:\"serialNumber\"}}),_c('v-btn',{attrs:{\"max-width\":\"200px\",\"color\":\"primary\",\"elevation\":\"0\",\"disabled\":!_vm.serialNumber},on:{\"click\":_vm.queryDrivers}},[_vm._v(\"Submit\")])],1),(_vm.noResults)?_c('v-alert',{attrs:{\"border\":\"bottom\",\"colored-border\":\"\",\"type\":\"warning\",\"elevation\":\"2\"}},[_vm._v(\" Serial may have customized BIOS. Please reach out to support. \")]):_vm._e(),_c('v-expansion-panel-content',{staticClass:\"container-fg\",staticStyle:{\"padding\":\"25px\",\"border-radius\":\"0px\"}},[_c('v-data-table',{attrs:{\"id\":\"request-data-table\",\"dark\":\"\",\"items-per-page\":10,\"headers\":_vm.headers,\"items\":_vm.drivers,\"search\":_vm.search,\"loading\":_vm.$apollo.loading || _vm.loading,\"no-data-text\":\"No results available\",\"no-results-text\":\"No results available\"},scopedSlots:_vm._u([{key:\"item.action\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-btn',{attrs:{\"outlined\":\"\"},on:{\"click\":function($event){return _vm.downloadDriver(item)}}},[_vm._v(\"Download\")])]}}])})],1)],1)],1)],1)]),_c('v-snackbar',{scopedSlots:_vm._u([{key:\"action\",fn:function(ref){\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._b({attrs:{\"text\":\"\",\"color\":\"white\"},on:{\"click\":function($event){_vm.snackbar = false}}},'v-btn',attrs,false),[_vm._v(\" Close \")])]}}]),model:{value:(_vm.snackbar),callback:function ($$v) {_vm.snackbar=$$v},expression:\"snackbar\"}},[_vm._v(\" \"+_vm._s(_vm.snackbarMessage)+\" \")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=1a35c3a9&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/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"],"sourceRoot":""}