{"version":3,"sources":["webpack:///./src/components/CopyCrews.vue?062b","webpack:///src/components/CopyCrews.vue","webpack:///./src/components/CopyCrews.vue?c0d2","webpack:///./src/components/CopyCrews.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticStyle","staticClass","model","value","callback","$$v","selectedDate","expression","crews","attrs","on","toggleSelectAll","_v","_s","allSelected","_l","crew","index","key","selectedCrews","crew_name","crew_employee","length","crew_truck","copyCrews","staticRenderFns","components","VDateField","props","currentDate","String","refreshCrew","Function","data","menu","computed","methods","fetchCrewsForDate","object_name","qry","crew_date","console","error","copiedCrews","forEach","c","_id","push","metadata","watch","newDate","component","VBtn","VCard","VCardActions","VCardText","VCheckbox","VCol","VIcon","VList","VListItem","VListItemAction","VListItemContent","VListItemTitle","VRow"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,CAAC,mBAAmB,UAAU,CAACF,EAAG,SAAS,CAACG,YAAY,QAAQ,CAACH,EAAG,eAAe,CAACI,MAAM,CAACC,MAAOT,EAAgB,aAAEU,SAAS,SAAUC,GAAMX,EAAIY,aAAaD,GAAKE,WAAW,mBAAmB,GAAGT,EAAG,SAAS,CAACA,EAAG,cAAc,CAAEJ,EAAIc,MAAY,OAAEV,EAAG,MAAM,CAACA,EAAG,QAAQ,CAACG,YAAY,OAAOQ,MAAM,CAAC,KAAO,IAAIC,GAAG,CAAC,MAAQhB,EAAIiB,kBAAkB,CAACjB,EAAIkB,GAAG,IAAIlB,EAAImB,GAAGnB,EAAIoB,YAAc,eAAiB,cAAc,OAAOhB,EAAG,SAASJ,EAAIqB,GAAIrB,EAAS,OAAE,SAASsB,EAAKC,GAAO,OAAOnB,EAAG,cAAc,CAACoB,IAAID,GAAO,CAACnB,EAAG,qBAAqB,CAACA,EAAG,aAAa,CAACW,MAAM,CAAC,MAAQO,GAA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yCAEA,SACQC,QAAQC,MAAM,wBAAyBA,GACvC/C,KAAKa,MAAQ,GACbb,KAAKwB,cAAgB,KAGzBK,UAxCJ,WAwCA,WACUmB,EAAc,GAClBhD,KAAKwB,cAAcyB,SAAQ,SAAjC,GACQC,EAAEL,UAAY,EAAtB,oCACeK,EAAEC,IACTH,EAAYI,KAAKF,MAEnB,IAAIZ,EAAO,CACTe,SAAU,CACRV,YAAa,YAGfpC,MAAOyC,GAGT,EAAN,EACA,sCACQ,iBAAR,IAEA,kBACQ,QAAR,YACQ,EAAR,mBAOEM,MAAO,CACL3C,aADJ,SACA,GACU4C,GACFvD,KAAK0C,kBAAkBa,MCjLoT,I,qKCO/UC,EAAY,eACd,EACA1D,EACAgC,GACA,EACA,KACA,KACA,MAIa,aAAA0B,EAAiB,QAiBhC,IAAkBA,EAAW,CAACC,OAAA,KAAKC,QAAA,KAAMC,aAAA,OAAaC,UAAA,OAAUC,YAAA,KAAUC,OAAA,KAAKC,QAAA,KAAMC,QAAA,KAAMC,YAAA,KAAUC,kBAAA,KAAgBC,iBAAA,OAAiBC,eAAA,OAAeC,OAAA","file":"js/chunk-2d0bd546.d14b06bf.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"background-color\":\"white\"}},[_c('v-card',{staticClass:\"ma-4\"},[_c('v-date-field',{model:{value:(_vm.selectedDate),callback:function ($$v) {_vm.selectedDate=$$v},expression:\"selectedDate\"}})],1),_c('v-card',[_c('v-card-text',[(_vm.crews.length)?_c('div',[_c('v-btn',{staticClass:\"mb-3\",attrs:{\"text\":\"\"},on:{\"click\":_vm.toggleSelectAll}},[_vm._v(\" \"+_vm._s(_vm.allSelected ? \"Unselect All\" : \"Select All\")+\" \")]),_c('v-list',_vm._l((_vm.crews),function(crew,index){return _c('v-list-item',{key:index},[_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"value\":crew},model:{value:(_vm.selectedCrews),callback:function ($$v) {_vm.selectedCrews=$$v},expression:\"selectedCrews\"}})],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(crew.crew_name))]),_c('v-row',[_c('v-col',[_c('v-icon',[_vm._v(\"mdi-account-hard-hat\")]),_vm._v(_vm._s(crew.crew_employee.length))],1)],1),_c('v-row',[_c('v-col',[_c('v-icon',[_vm._v(\"mdi-truck\")]),_vm._v(\" \"+_vm._s(crew.crew_truck.length))],1)],1)],1)],1)}),1)],1):_c('div',[_c('p',[_vm._v(\"No crews available for the selected date.\")])])]),_c('v-card-actions',[_c('v-btn',{attrs:{\"disabled\":!_vm.selectedCrews.length,\"color\":\"primary\"},on:{\"click\":_vm.copyCrews}},[_vm._v(\" Copy Selected Crews \")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CopyCrews.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CopyCrews.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CopyCrews.vue?vue&type=template&id=698723a2&\"\nimport script from \"./CopyCrews.vue?vue&type=script&lang=js&\"\nexport * from \"./CopyCrews.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { 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 { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCheckbox,VCol,VIcon,VList,VListItem,VListItemAction,VListItemContent,VListItemTitle,VRow})\n"],"sourceRoot":""}