{"version":3,"sources":["webpack:///./src/graphql/queries.js","webpack:///./src/classes/ClientAccess.js","webpack:///./src/views/Company.vue?a306","webpack:///./src/classes/Company.js","webpack:///./src/components/CompanyLocations.vue?9f2c","webpack:///./src/classes/Location.js","webpack:///src/components/CompanyLocations.vue","webpack:///./src/components/CompanyLocations.vue?71f9","webpack:///./src/components/CompanyLocations.vue","webpack:///./src/components/CompanyEvents.vue?795f","webpack:///src/components/CompanyEvents.vue","webpack:///./src/components/CompanyEvents.vue?1b20","webpack:///./src/components/CompanyEvents.vue","webpack:///./src/components/CompanyClientAccess.vue?188b","webpack:///src/components/CompanyClientAccess.vue","webpack:///./src/components/CompanyClientAccess.vue?6ce0","webpack:///./src/components/CompanyClientAccess.vue","webpack:///src/views/Company.vue","webpack:///./src/views/Company.vue?f74d","webpack:///./src/views/Company.vue"],"names":["getEventLocationLookup","getEventCompany","listEventCompanys","getEvent","getEventLocation","getEventSlotGroup","getEventCommsTemplate","listEventCommsTemplates","getEventClientAccess","ClientAccess","_classCallCheck","_createClass","key","value","_createClientAccess","_asyncToGenerator","regeneratorRuntime","mark","_callee","_ref","_ref2","id","expiryDate","clientPassword","showPersonal","description","_yield$API$graphql","result","wrap","_context","prev","next","API","graphql","graphqlOperation","createEventClientAccess","input","eventClientAccessEventCompanyId","sent","data","abrupt","stop","createClientAccess","_x","_x2","apply","arguments","_updateClientAccess","_callee2","_ref3","_yield$API$graphql2","_context2","updateEventClientAccess","updateClientAccess","_x3","_getClientAccessByCompany","_callee3","_ref4","_yield$API$graphql3","_context3","eventClientAccess","items","t0","Error","message","getClientAccessByCompany","_x4","_deleteClientAccess","_callee4","_ref5","_yield$API$graphql4","_context4","deleteEventClientAccess","deleteClientAccess","_x5","_getClientAccessById","_callee5","_ref6","_yield$API$graphql5","_context5","getClientAccessById","_x6","_getClientAccessByClientAccessId","_callee6","eventId","nextToken","listEvents","_yield$API$graphql6","events","_context6","query","variables","filter","clientAccess","contains","authMode","getClientAccessByClientAccessId","_x7","_x8","_authenticateClient","_callee7","password","isClientPassword","_yield$API$graphql7","isAuthenticated","_context7","authenticateClient","_x9","_x10","render","_vm","this","_h","$createElement","_c","_self","attrs","loader","snackbarTimeout","model","callback","$$v","$set","expression","_v","_s","snackbarText","on","$event","snackbar","createCompanyDialog","staticClass","_e","ref","rules","required","companyForm","email","createCompanyLoader","onCreateCompany","updateCompanyDialog","companyUpdateForm","deleteCompanyAttachment","filename","updateCompanyLoader","onUpdateCompany","switchEventPanel","staticStyle","search","scopedSlots","_u","fn","_g","companys","companysHeaders","page","itemsPerPage","item","active","total","updateCompany","deleteCompany","viewClientAccess","viewLocations","viewEvents","company","childMessageReceived","staticRenderFns","Company","_listCompanys","isDeleted","eq","limit","listCompanys","_getCompany","getCompany","_createCompany","name","logo","isDuplicate","file","fileName","s3Key","upload","_result","isDuplicateCompany","trim","s3helper","generateS3Key","Storage","put","level","contentType","type","createEventCompany","createdAt","Date","toISOString","logoFileName","createCompany","_updateCompany","_result2","updateEventCompany","_deleteCompany","eventResults","event","map","updateEvent","_deleteCompanyAttachment","_yield$API$graphql8","results","_isDuplicateCode","_callee8","code","eventByCode","_context8","concat","length","isDuplicateCode","_isDuplicateCompany","_callee9","companyName","_yield$API$graphql9","_context9","queries","createLocationDialog","location","createLocation","updateLocationDialog","updateLocation","sendMessageToParent","eventSearch","locations","locationHeaders","editLocation","deleteLocation","Location","_createLocation","addressLine1","addressLine2","town","postcode","createEventLocationLookup","eventLocationLookupEventCompanyId","_updateLocation","updateEventLocationLookup","_getLocationsByCompany","eventLocationLookup","getLocationsByCompany","_deleteLocation","_getLocationById","getLocationById","props","Object","text","align","sortable","v","test","created","_created","that","forEach","push","_","orderBy","methods","$emit","$refs","formLocation","validate","_editLocation","locationResult","index","formUpdateLocation","findIndex","loc","assign","locationDeleted","component","createEventDialog","companyEventForm","eventTypes","onCreateEvent","updateEventCodeDialog","updateEventCode","onUpdateEventCode","_l","status","getEventTypeLabel","goToFeedbackSurvey","editEventCode","editEvent","deleteEvent","showEventMessage","showUpdateEventCodeMessage","Event","getEventsByCompany","requireDob","$router","params","eventType","toLowerCase","_onCreateEvent","createEventForm","createEvent","eventCompany","showSuccessMessage","_onUpdateEventCode","evt","_deleteEvent","eventResult","confirm","splice","indexOf","filteredType","evtype","window","open","createClientAccessDialog","min","createPassword","clientAccessForm","_b","clientAccessMenu","minDateAllowed","onCreateClientAccess","updateClientAccessDialog","updatePassword","updateClientAccessForm","onUpdateClientAccess","clientAccessHeaders","_f","copyUrl","copyPassword","editClientAccess","moment","viewMessage","access","showpersonal","Math","random","toString","substring","_onCreateClientAccess","createClientAccessForm","_editClientAccess","_onUpdateClientAccess","clipboardCopy","origin","dummy","document","createElement","body","appendChild","select","execCommand","removeChild","components","Header","CompanyLocations","CompanyEvents","CompanyClientAccess","switchCompanyEvent","showCompanyMessage","showCompanyUpdateMessage","width","fileUploadChip","listEventBookings","dayStart","dayEnd","bookings","_results","nextCompanys","_nextCompanys","add","startOf","endOf","startTime","between","twentyFourHourReminder","ne","_toConsumableArray","totalActive","date","format","arg1","_onCreateCompany","createCompanyForm","_onUpdateCompany","companyUpdated","updateForm"],"mappings":"kHAAA,kTAGO,IAgCMA,EAAsC,ujBAoEtCC,EAA+B,qzCAqE/BC,EAAiC,ojBA8BjCC,EAAwB,28CAqMxBC,EAAgC,y0CAyVhCC,EAAiC,myCA4UjCC,EAAqC,4hBA6BrCC,EAAuC,qmBAiGvCC,EAAoC,8iB,wKC1qCpCC,EAAY,oBAAAA,IAAAC,eAAA,KAAAD,GAyKP,OAzKOE,eAAAF,EAAA,EAAAG,IAAA,qBAAAC,MAAA,eAAAC,EAAAC,eAAAC,mBAAAC,MAAA,SAAAC,EAAAC,EAAAC,GAAA,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAA,OAAAX,mBAAAY,MAAA,SAAAC,GAAA,eAAAA,EAAAC,KAAAD,EAAAE,MAAA,OAGkC,OADrDV,EAAEF,EAAFE,GACAC,EAAUF,E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C,WAAA,OAAAkH,EATA,GAWAC,cAAA,eAAA0C,EAAA5L,eAAAC,mBAAAC,MAAA,SAAA2D,EAAAyF,GAAA,OAAArJ,mBAAAY,MAAA,SAAAmD,GAAA,eAAAA,EAAAjD,KAAAiD,EAAAhD,MAAA,WACAyR,QAAA,kDAAAzO,EAAAhD,KAAA,eAAAgD,EAAAhD,KAAA,GACA,IAAAyI,GAAAP,cAAAI,GAAA,OACA,KAAAZ,SAAAgK,OAAA,KAAAhK,SAAAiK,QAAArJ,GAAA,GACA,KAAA8I,mBAAA,2CAAApO,EAAAtC,UAAAmC,EAAA,mBAAAqF,EAAArH,GAAA,OAAA+J,EAAA9J,MAAA,KAAAC,WAAA,OAAAmH,EAJA,GAOAnB,wBAAA,eAAAkE,EAAAjM,eAAAC,mBAAAC,MAAA,SAAAkE,EAAAkF,GAAA,IAAA1I,EAAA,OAAAX,mBAAAY,MAAA,SAAA6D,GAAA,eAAAA,EAAA3D,KAAA2D,EAAA1D,MAAA,WACAyR,QAAA,kDAAA/N,EAAA1D,KAAA,eAAA0D,EAAA1D,KAAA,GACA,IAAAyI,GAAA1B,wBAAAuB,GAAA,OAAA1I,EAAA8D,EAAAnD,KACAX,IACA,KAAAoV,gBAAA,GACA,wBAAAtR,EAAAhD,UAAA0C,EAAA,mBAAA2D,EAAAxF,GAAA,OAAA0J,EAAAnK,MAAA,KAAAC,WAAA,OAAAgG,EALA,GAQAqK,mBAAA,SAAAnP,GACA,KAAAA,QAAA8D,aAAA9D,EACA,KAAAA,QAAAiE,UAAA,KCvhBiV,ICO7U,EAAY,eACd,EACApB,EACA0D,GACA,EACA,KACA,KACA,MAIa,e","file":"js/chunk-39cf85f8.144dc3a9.js","sourcesContent":["/* eslint-disable */\n// this is an auto generated file. This will be overwritten\n\nexport const isClientPassword = /* GraphQL */ `\n query IsClientPassword($id: ID!, $clientPassword: String!) {\n isClientPassword(id: $id, clientPassword: $clientPassword) {\n id\n expiryDate\n clientPassword\n showPersonal\n description\n createdAt\n updatedAt\n eventCompany {\n id\n name\n createdAt\n logo\n logoFileName\n email\n isDeleted\n eventLocationLookup {\n nextToken\n }\n updatedAt\n event {\n nextToken\n }\n eventClientAccess {\n nextToken\n }\n }\n }\n }\n`;\nexport const getEventLocationLookup = /* GraphQL */ `\n query GetEventLocationLookup($id: ID!) {\n getEventLocationLookup(id: $id) {\n id\n addressLine1\n addressLine2\n town\n postcode\n createdAt\n isDeleted\n updatedAt\n eventCompany {\n id\n name\n createdAt\n logo\n logoFileName\n email\n isDeleted\n eventLocationLookup {\n nextToken\n }\n updatedAt\n event {\n nextToken\n }\n eventClientAccess {\n nextToken\n }\n }\n }\n }\n`;\nexport const listEventLocationLookups = /* GraphQL */ `\n query ListEventLocationLookups(\n $filter: ModelEventLocationLookupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEventLocationLookups(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n addressLine1\n addressLine2\n town\n postcode\n createdAt\n isDeleted\n updatedAt\n eventCompany {\n id\n name\n createdAt\n logo\n logoFileName\n email\n isDeleted\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getEventCompany = /* GraphQL */ `\n query GetEventCompany($id: ID!) {\n getEventCompany(id: $id) {\n id\n name\n createdAt\n logo\n logoFileName\n email\n isDeleted\n eventLocationLookup {\n items {\n id\n addressLine1\n addressLine2\n town\n postcode\n createdAt\n isDeleted\n updatedAt\n }\n nextToken\n }\n updatedAt\n event {\n items {\n id\n name\n code\n type\n requireDob\n iCalendar\n attendance\n status\n message\n description\n commsTemplate\n bloodDropStart\n bloodDropEnd\n urinePotLocation\n preQuestionTemplate\n clientPassword\n commsLink\n clientAccess\n registerInterest\n notifyRegisterInterest\n customAppointmentReminder\n reminderTime\n createdAt\n isDeleted\n updatedAt\n }\n nextToken\n }\n eventClientAccess {\n items {\n id\n expiryDate\n clientPassword\n showPersonal\n description\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listEventCompanys = /* GraphQL */ `\n query ListEventCompanys(\n $filter: ModelEventCompanyFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEventCompanys(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n name\n createdAt\n logo\n logoFileName\n email\n isDeleted\n eventLocationLookup {\n nextToken\n }\n updatedAt\n event {\n nextToken\n }\n eventClientAccess {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getEvent = /* GraphQL */ `\n query GetEvent($id: ID!) {\n getEvent(id: $id) {\n id\n name\n code\n type\n requireDob\n iCalendar\n attendance\n status\n message\n description\n commsTemplate\n bloodDropStart\n bloodDropEnd\n urinePotLocation\n preQuestionTemplate\n clientPassword\n commsLink\n clientAccess\n registerInterest\n notifyRegisterInterest\n customAppointmentReminder\n reminderTime\n createdAt\n isDeleted\n updatedAt\n eventCompany {\n id\n name\n createdAt\n logo\n logoFileName\n email\n isDeleted\n eventLocationLookup {\n nextToken\n }\n updatedAt\n event {\n nextToken\n }\n eventClientAccess {\n nextToken\n }\n }\n eventLocation {\n items {\n id\n addressLine1\n addressLine2\n town\n postcode\n createdAt\n eventLocationLookupId\n isDeleted\n updatedAt\n }\n nextToken\n }\n eventCollectUserData {\n items {\n id\n label\n questionType\n validation\n fieldType\n internalUse\n createdAt\n success\n error\n hint\n isDeleted\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listEvents = /* GraphQL */ `\n query ListEvents(\n $filter: ModelEventFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEvents(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n name\n code\n type\n requireDob\n iCalendar\n attendance\n status\n message\n description\n commsTemplate\n bloodDropStart\n bloodDropEnd\n urinePotLocation\n preQuestionTemplate\n clientPassword\n commsLink\n clientAccess\n registerInterest\n notifyRegisterInterest\n customAppointmentReminder\n reminderTime\n createdAt\n isDeleted\n updatedAt\n eventCompany {\n id\n name\n createdAt\n logo\n logoFileName\n email\n isDeleted\n updatedAt\n }\n eventLocation {\n nextToken\n }\n eventCollectUserData {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const eventByCode = /* GraphQL */ `\n query EventByCode(\n $code: String\n $sortDirection: ModelSortDirection\n $filter: ModelEventFilterInput\n $limit: Int\n $nextToken: String\n ) {\n eventByCode(\n code: $code\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n name\n code\n type\n requireDob\n iCalendar\n attendance\n status\n message\n description\n commsTemplate\n bloodDropStart\n bloodDropEnd\n urinePotLocation\n preQuestionTemplate\n clientPassword\n commsLink\n clientAccess\n registerInterest\n notifyRegisterInterest\n customAppointmentReminder\n reminderTime\n createdAt\n isDeleted\n updatedAt\n eventCompany {\n id\n name\n createdAt\n logo\n logoFileName\n email\n isDeleted\n updatedAt\n }\n eventLocation {\n nextToken\n }\n eventCollectUserData {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getEventLocation = /* GraphQL */ `\n query GetEventLocation($id: ID!) {\n getEventLocation(id: $id) {\n id\n addressLine1\n addressLine2\n town\n postcode\n createdAt\n eventLocationLookupId\n isDeleted\n updatedAt\n event {\n id\n name\n code\n type\n requireDob\n iCalendar\n attendance\n status\n message\n description\n commsTemplate\n bloodDropStart\n bloodDropEnd\n urinePotLocation\n preQuestionTemplate\n clientPassword\n commsLink\n clientAccess\n registerInterest\n notifyRegisterInterest\n customAppointmentReminder\n reminderTime\n createdAt\n isDeleted\n updatedAt\n eventCompany {\n id\n name\n createdAt\n logo\n logoFileName\n email\n isDeleted\n updatedAt\n }\n eventLocation {\n nextToken\n }\n eventCollectUserData {\n nextToken\n }\n }\n eventSlotGroup {\n items {\n id\n room\n date\n capacity\n createdAt\n active\n isDeleted\n assignedTo\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listEventLocations = /* GraphQL */ `\n query ListEventLocations(\n $filter: ModelEventLocationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEventLocations(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n addressLine1\n addressLine2\n town\n postcode\n createdAt\n eventLocationLookupId\n isDeleted\n updatedAt\n event {\n id\n name\n code\n type\n requireDob\n iCalendar\n attendance\n status\n message\n description\n commsTemplate\n bloodDropStart\n bloodDropEnd\n urinePotLocation\n preQuestionTemplate\n clientPassword\n commsLink\n clientAccess\n registerInterest\n notifyRegisterInterest\n customAppointmentReminder\n reminderTime\n createdAt\n isDeleted\n updatedAt\n }\n eventSlotGroup {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getEventCollectUserData = /* GraphQL */ `\n query GetEventCollectUserData($id: ID!) {\n getEventCollectUserData(id: $id) {\n id\n label\n questionType\n validation\n fieldType\n internalUse\n createdAt\n success\n error\n hint\n isDeleted\n updatedAt\n event {\n id\n name\n code\n type\n requireDob\n iCalendar\n attendance\n status\n message\n description\n commsTemplate\n bloodDropStart\n bloodDropEnd\n urinePotLocation\n preQuestionTemplate\n clientPassword\n commsLink\n clientAccess\n registerInterest\n notifyRegisterInterest\n customAppointmentReminder\n reminderTime\n createdAt\n isDeleted\n updatedAt\n eventCompany {\n id\n name\n createdAt\n logo\n logoFileName\n email\n isDeleted\n updatedAt\n }\n eventLocation {\n nextToken\n }\n eventCollectUserData {\n nextToken\n }\n }\n eventCollectUserDataOptions {\n items {\n id\n options\n isDeleted\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listEventCollectUserDatas = /* GraphQL */ `\n query ListEventCollectUserDatas(\n $filter: ModelEventCollectUserDataFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEventCollectUserDatas(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n label\n questionType\n validation\n fieldType\n internalUse\n createdAt\n success\n error\n hint\n isDeleted\n updatedAt\n event {\n id\n name\n code\n type\n requireDob\n iCalendar\n attendance\n status\n message\n description\n commsTemplate\n bloodDropStart\n bloodDropEnd\n urinePotLocation\n preQuestionTemplate\n clientPassword\n commsLink\n clientAccess\n registerInterest\n notifyRegisterInterest\n customAppointmentReminder\n reminderTime\n createdAt\n isDeleted\n updatedAt\n }\n eventCollectUserDataOptions {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getEventCollectUserDataOptions = /* GraphQL */ `\n query GetEventCollectUserDataOptions($id: ID!) {\n getEventCollectUserDataOptions(id: $id) {\n id\n options\n isDeleted\n createdAt\n updatedAt\n eventCollectUserData {\n id\n label\n questionType\n validation\n fieldType\n internalUse\n createdAt\n success\n error\n hint\n isDeleted\n updatedAt\n event {\n id\n name\n code\n type\n requireDob\n iCalendar\n attendance\n status\n message\n description\n commsTemplate\n bloodDropStart\n bloodDropEnd\n urinePotLocation\n preQuestionTemplate\n clientPassword\n commsLink\n clientAccess\n registerInterest\n notifyRegisterInterest\n customAppointmentReminder\n reminderTime\n createdAt\n isDeleted\n updatedAt\n }\n eventCollectUserDataOptions {\n nextToken\n }\n }\n }\n }\n`;\nexport const listEventCollectUserDataOptionss = /* GraphQL */ `\n query ListEventCollectUserDataOptionss(\n $filter: ModelEventCollectUserDataOptionsFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEventCollectUserDataOptionss(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n options\n isDeleted\n createdAt\n updatedAt\n eventCollectUserData {\n id\n label\n questionType\n validation\n fieldType\n internalUse\n createdAt\n success\n error\n hint\n isDeleted\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getEventSlotGroup = /* GraphQL */ `\n query GetEventSlotGroup($id: ID!) {\n getEventSlotGroup(id: $id) {\n id\n room\n date\n capacity\n createdAt\n active\n isDeleted\n assignedTo\n updatedAt\n eventLocation {\n id\n addressLine1\n addressLine2\n town\n postcode\n createdAt\n eventLocationLookupId\n isDeleted\n updatedAt\n event {\n id\n name\n code\n type\n requireDob\n iCalendar\n attendance\n status\n message\n description\n commsTemplate\n bloodDropStart\n bloodDropEnd\n urinePotLocation\n preQuestionTemplate\n clientPassword\n commsLink\n clientAccess\n registerInterest\n notifyRegisterInterest\n customAppointmentReminder\n reminderTime\n createdAt\n isDeleted\n updatedAt\n }\n eventSlotGroup {\n nextToken\n }\n }\n eventSlot {\n items {\n id\n time\n length\n type\n booked\n isDeleted\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listEventSlotGroups = /* GraphQL */ `\n query ListEventSlotGroups(\n $filter: ModelEventSlotGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEventSlotGroups(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n room\n date\n capacity\n createdAt\n active\n isDeleted\n assignedTo\n updatedAt\n eventLocation {\n id\n addressLine1\n addressLine2\n town\n postcode\n createdAt\n eventLocationLookupId\n isDeleted\n updatedAt\n }\n eventSlot {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getEventSlot = /* GraphQL */ `\n query GetEventSlot($id: ID!) {\n getEventSlot(id: $id) {\n id\n time\n length\n type\n booked\n isDeleted\n createdAt\n updatedAt\n eventSlotGroup {\n id\n room\n date\n capacity\n createdAt\n active\n isDeleted\n assignedTo\n updatedAt\n eventLocation {\n id\n addressLine1\n addressLine2\n town\n postcode\n createdAt\n eventLocationLookupId\n isDeleted\n updatedAt\n }\n eventSlot {\n nextToken\n }\n }\n eventBooking {\n items {\n id\n firstname\n lastname\n email\n mobile\n dob\n customData\n createdAt\n startTime\n twentyFourHourReminder\n fortyEightHourReminder\n customReminder\n attendance\n searchField\n isDeleted\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listEventSlots = /* GraphQL */ `\n query ListEventSlots(\n $filter: ModelEventSlotFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEventSlots(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n time\n length\n type\n booked\n isDeleted\n createdAt\n updatedAt\n eventSlotGroup {\n id\n room\n date\n capacity\n createdAt\n active\n isDeleted\n assignedTo\n updatedAt\n }\n eventBooking {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getEventBooking = /* GraphQL */ `\n query GetEventBooking($id: ID!) {\n getEventBooking(id: $id) {\n id\n firstname\n lastname\n email\n mobile\n dob\n customData\n createdAt\n startTime\n twentyFourHourReminder\n fortyEightHourReminder\n customReminder\n attendance\n searchField\n isDeleted\n updatedAt\n eventSlot {\n id\n time\n length\n type\n booked\n isDeleted\n createdAt\n updatedAt\n eventSlotGroup {\n id\n room\n date\n capacity\n createdAt\n active\n isDeleted\n assignedTo\n updatedAt\n }\n eventBooking {\n nextToken\n }\n }\n }\n }\n`;\nexport const listEventBookings = /* GraphQL */ `\n query ListEventBookings(\n $filter: ModelEventBookingFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEventBookings(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n firstname\n lastname\n email\n mobile\n dob\n customData\n createdAt\n startTime\n twentyFourHourReminder\n fortyEightHourReminder\n customReminder\n attendance\n searchField\n isDeleted\n updatedAt\n eventSlot {\n id\n time\n length\n type\n booked\n isDeleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const bookingBySearchField = /* GraphQL */ `\n query BookingBySearchField(\n $searchField: String\n $sortDirection: ModelSortDirection\n $filter: ModelEventBookingFilterInput\n $limit: Int\n $nextToken: String\n ) {\n bookingBySearchField(\n searchField: $searchField\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n firstname\n lastname\n email\n mobile\n dob\n customData\n createdAt\n startTime\n twentyFourHourReminder\n fortyEightHourReminder\n customReminder\n attendance\n searchField\n isDeleted\n updatedAt\n eventSlot {\n id\n time\n length\n type\n booked\n isDeleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getEventCommsTemplate = /* GraphQL */ `\n query GetEventCommsTemplate($id: ID!) {\n getEventCommsTemplate(id: $id) {\n id\n name\n emailSubject\n reminderEmailSubject\n emailTemplate\n reminderEmailTemplate\n smsReminderTemplate\n smsTemplate\n isDeleted\n createdAt\n updatedAt\n eventCommsTemplateAttachments {\n items {\n id\n attachment\n key\n name\n isDeleted\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listEventCommsTemplates = /* GraphQL */ `\n query ListEventCommsTemplates(\n $filter: ModelEventCommsTemplateFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEventCommsTemplates(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n name\n emailSubject\n reminderEmailSubject\n emailTemplate\n reminderEmailTemplate\n smsReminderTemplate\n smsTemplate\n isDeleted\n createdAt\n updatedAt\n eventCommsTemplateAttachments {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getEventCommsTemplateAttachments = /* GraphQL */ `\n query GetEventCommsTemplateAttachments($id: ID!) {\n getEventCommsTemplateAttachments(id: $id) {\n id\n attachment\n key\n name\n isDeleted\n createdAt\n updatedAt\n EventCommsTemplate {\n id\n name\n emailSubject\n reminderEmailSubject\n emailTemplate\n reminderEmailTemplate\n smsReminderTemplate\n smsTemplate\n isDeleted\n createdAt\n updatedAt\n eventCommsTemplateAttachments {\n nextToken\n }\n }\n }\n }\n`;\nexport const listEventCommsTemplateAttachmentss = /* GraphQL */ `\n query ListEventCommsTemplateAttachmentss(\n $filter: ModelEventCommsTemplateAttachmentsFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEventCommsTemplateAttachmentss(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n attachment\n key\n name\n isDeleted\n createdAt\n updatedAt\n EventCommsTemplate {\n id\n name\n emailSubject\n reminderEmailSubject\n emailTemplate\n reminderEmailTemplate\n smsReminderTemplate\n smsTemplate\n isDeleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getEventClientAccess = /* GraphQL */ `\n query GetEventClientAccess($id: ID!) {\n getEventClientAccess(id: $id) {\n id\n expiryDate\n clientPassword\n showPersonal\n description\n createdAt\n updatedAt\n eventCompany {\n id\n name\n createdAt\n logo\n logoFileName\n email\n isDeleted\n eventLocationLookup {\n nextToken\n }\n updatedAt\n event {\n nextToken\n }\n eventClientAccess {\n nextToken\n }\n }\n }\n }\n`;\nexport const listEventClientAccesss = /* GraphQL */ `\n query ListEventClientAccesss(\n $filter: ModelEventClientAccessFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEventClientAccesss(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n expiryDate\n clientPassword\n showPersonal\n description\n createdAt\n updatedAt\n eventCompany {\n id\n name\n createdAt\n logo\n logoFileName\n email\n isDeleted\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getBookingError = /* GraphQL */ `\n query GetBookingError($id: ID!) {\n getBookingError(id: $id) {\n id\n error\n payload\n browser\n createdAt\n updatedAt\n }\n }\n`;\nexport const listBookingErrors = /* GraphQL */ `\n query ListBookingErrors(\n $filter: ModelBookingErrorFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listBookingErrors(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n error\n payload\n browser\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\n","import { API, graphqlOperation } from \"aws-amplify\";\nimport {\n createEventClientAccess,\n deleteEventClientAccess,\n updateEventClientAccess\n} from \"../graphql/mutations\";\nimport { getEventClientAccess } from \"./../graphql/queries\";\n\nexport class ClientAccess {\n async createClientAccess(\n { id },\n { expiryDate, clientPassword, showPersonal, description }\n ) {\n const {\n data: { createEventClientAccess: result }\n } = await API.graphql(\n graphqlOperation(createEventClientAccess, {\n input: {\n expiryDate: expiryDate,\n clientPassword: clientPassword,\n showPersonal: showPersonal,\n description: description,\n eventClientAccessEventCompanyId: id\n }\n })\n );\n return result;\n }\n\n async updateClientAccess({\n id,\n clientPassword,\n showPersonal,\n description,\n expiryDate\n }) {\n const {\n data: { updateEventClientAccess: result }\n } = await API.graphql(\n graphqlOperation(updateEventClientAccess, {\n input: {\n id: id,\n clientPassword: clientPassword,\n showPersonal: showPersonal,\n description: description,\n expiryDate: expiryDate\n }\n })\n );\n return result;\n }\n\n async getClientAccessByCompany({ id }) {\n const getEventCompany = `query GetEventCompany($id: ID!) {\n getEventCompany(id: $id) {\n eventClientAccess {\n items {\n clientPassword\n expiryDate\n showPersonal\n description\n id\n }\n }\n }\n }`;\n try {\n const {\n data: {\n getEventCompany: {\n eventClientAccess: { items: result }\n }\n }\n } = await API.graphql(\n graphqlOperation(getEventCompany, {\n id: id\n })\n );\n return result;\n } catch (err) {\n throw new Error(err.message);\n }\n }\n\n async deleteClientAccess({ id }) {\n try {\n const {\n data: { deleteEventClientAccess: result }\n } = await API.graphql(\n graphqlOperation(deleteEventClientAccess, {\n input: {\n id: id\n }\n })\n );\n return result;\n } catch (err) {\n throw new Error(err.message);\n }\n }\n\n async getClientAccessById({ id }) {\n try {\n const {\n data: { getEventClientAccess: result }\n } = await API.graphql(\n graphqlOperation(getEventClientAccess, {\n id: id\n })\n );\n return result;\n } catch (err) {\n throw new Error(err.message);\n }\n }\n\n async getClientAccessByClientAccessId(eventId, nextToken) {\n const listEvents = /* GraphQL */ `\n query ListEvents(\n $filter: ModelEventFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEvents(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n }\n nextToken\n }\n }\n `;\n\n try {\n const {\n data: { listEvents: events }\n } = await API.graphql({\n query: listEvents,\n variables: {\n filter: { clientAccess: { contains: eventId } },\n nextToken: nextToken\n },\n authMode: \"API_KEY\"\n });\n return events;\n } catch (err) {\n throw new Error(err.message);\n }\n }\n\n async authenticateClient(eventId, password) {\n if (!password) {\n return false;\n }\n const isClientPassword = /* GraphQL */ `\n query IsClientPassword($id: ID!, $clientPassword: String!) {\n isClientPassword(id: $id, clientPassword: $clientPassword) {\n id\n description\n }\n }\n `;\n\n try {\n const {\n data: { isClientPassword: isAuthenticated }\n } = await API.graphql({\n query: isClientPassword,\n variables: {\n id: eventId,\n clientPassword: password\n },\n authMode: \"API_KEY\"\n });\n if (isAuthenticated) {\n return true;\n }\n } catch (error) {\n return false;\n }\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('v-container',[_c('Header'),_c('v-overlay',{attrs:{\"value\":_vm.loader}},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":\"64\"}})],1),_c('v-snackbar',{attrs:{\"timeout\":_vm.message.snackbarTimeout,\"bottom\":\"\"},model:{value:(_vm.message.snackbar),callback:function ($$v) {_vm.$set(_vm.message, \"snackbar\", $$v)},expression:\"message.snackbar\"}},[_vm._v(\"\\n \"+_vm._s(_vm.message.snackbarText)+\"\\n \"),_c('v-btn',{attrs:{\"dark\":\"\",\"text\":\"\"},on:{\"click\":function($event){_vm.message.snackbar = false}}},[_vm._v(\"Close\")])],1),_c('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"500px\"},model:{value:(_vm.createCompanyDialog),callback:function ($$v) {_vm.createCompanyDialog=$$v},expression:\"createCompanyDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(\"Create company\")]),_c('v-divider'),_c('v-card-text',[(_vm.showCompanyMessage)?_c('v-alert',{staticClass:\"mt-5\",attrs:{\"type\":\"error\",\"dense\":\"\"}},[_vm._v(\"Company already exists\")]):_vm._e(),_c('v-form',{ref:\"createCompanyForm\"},[_c('v-text-field',{attrs:{\"rules\":[_vm.rules.required],\"label\":\"Company\",\"required\":\"\"},model:{value:(_vm.companyForm.name),callback:function ($$v) {_vm.$set(_vm.companyForm, \"name\", $$v)},expression:\"companyForm.name\"}}),_c('v-text-field',{attrs:{\"rules\":[_vm.rules.required, _vm.rules.email],\"label\":\"Email\",\"required\":\"\"},model:{value:(_vm.companyForm.email),callback:function ($$v) {_vm.$set(_vm.companyForm, \"email\", $$v)},expression:\"companyForm.email\"}}),_c('v-file-input',{attrs:{\"show-size\":\"\",\"label\":\"File\"},model:{value:(_vm.companyForm.logo),callback:function ($$v) {_vm.$set(_vm.companyForm, \"logo\", $$v)},expression:\"companyForm.logo\"}})],1)],1),_c('v-divider'),_c('v-card-actions',[_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.createCompanyDialog = false}}},[_vm._v(\"Close\")]),_c('v-spacer'),_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\",\"loading\":_vm.createCompanyLoader},on:{\"click\":function($event){return _vm.onCreateCompany()}}},[_vm._v(\"Save\")])],1)],1)],1),_c('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"500px\"},model:{value:(_vm.updateCompanyDialog),callback:function ($$v) {_vm.updateCompanyDialog=$$v},expression:\"updateCompanyDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(\"Update company\")]),_c('v-divider'),_c('v-card-text',[_c('v-form',{ref:\"updateForm\"},[_c('v-text-field',{attrs:{\"rules\":[_vm.rules.required],\"label\":\"Company\",\"required\":\"\"},model:{value:(_vm.companyUpdateForm.name),callback:function ($$v) {_vm.$set(_vm.companyUpdateForm, \"name\", $$v)},expression:\"companyUpdateForm.name\"}}),_c('v-text-field',{attrs:{\"rules\":[_vm.rules.required, _vm.rules.email],\"label\":\"Email\",\"required\":\"\"},model:{value:(_vm.companyUpdateForm.email),callback:function ($$v) {_vm.$set(_vm.companyUpdateForm, \"email\", $$v)},expression:\"companyUpdateForm.email\"}}),_c('v-file-input',{attrs:{\"show-size\":\"\",\"label\":\"File\"},model:{value:(_vm.companyUpdateForm.logo),callback:function ($$v) {_vm.$set(_vm.companyUpdateForm, \"logo\", $$v)},expression:\"companyUpdateForm.logo\"}}),(_vm.fileUploadChip)?_c('v-chip',{staticClass:\"mr-2\",attrs:{\"close\":\"\",\"color\":\"primary\",\"align\":\"right\"},on:{\"click:close\":function($event){return _vm.deleteCompanyAttachment(_vm.companyUpdateForm)}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-file-document\")]),_vm._v(\"\\n \"+_vm._s(_vm.companyUpdateForm.filename)+\"\\n \")],1):_vm._e()],1)],1),_c('v-divider'),_c('v-card-actions',[_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.updateCompanyDialog = false}}},[_vm._v(\"Close\")]),_c('v-spacer'),_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\",\"loading\":_vm.updateCompanyLoader},on:{\"click\":function($event){return _vm.onUpdateCompany()}}},[_vm._v(\"Save\")])],1)],1)],1),(_vm.switchEventPanel === 'companies')?_c('div',{staticStyle:{\"position\":\"relative\"}},[_c('v-card',[_c('v-toolbar',{attrs:{\"flat\":\"\"}},[_c('v-toolbar-title',{staticClass:\"grey--text\"},[_vm._v(\"Companies\")]),_c('div',{staticClass:\"flex-grow-1\"}),_c('v-text-field',{attrs:{\"append-icon\":\"search\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}}),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"hp--btn\",attrs:{\"color\":\"primary\",\"dark\":\"\",\"small\":\"\",\"absolute\":\"\",\"bottom\":\"\",\"left\":\"\",\"fab\":\"\"},on:{\"click\":function($event){_vm.companyForm = [];\n _vm.createCompanyDialog = !_vm.createCompanyDialog;}}},on),[_c('v-icon',[_vm._v(\"mdi-plus\")])],1)]}}],null,false,4058888118)},[_c('span',[_vm._v(\"New company\")])])],1),_c('v-divider'),_c('v-card-text',[_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"items\":_vm.companys,\"headers\":_vm.companysHeaders,\"page\":_vm.page,\"items-per-page\":_vm.itemsPerPage,\"search\":_vm.search,\"sort-by\":['name']},on:{\"update:page\":function($event){_vm.page=$event}},scopedSlots:_vm._u([{key:\"item.action\",fn:function(ref){\n var item = ref.item;\nreturn [_c('v-chip',{staticClass:\"ml-0 mr-2 black--text\",attrs:{\"color\":\"red lighten-4\",\"label\":\"\",\"small\":\"\"}},[_vm._v(_vm._s(item.active)+\"/\"+_vm._s(item.total)+\" active\")]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\nreturn [_c('v-icon',_vm._g({attrs:{\"color\":\"success\"},on:{\"click\":function($event){return _vm.updateCompany(item)}}},on),[_vm._v(\"edit\")])]}}],null,true)},[_c('span',[_vm._v(\"Update company\")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\nreturn [_c('v-icon',_vm._g({attrs:{\"color\":\"error\"},on:{\"click\":function($event){return _vm.deleteCompany(item)}}},on),[_vm._v(\"delete\")])]}}],null,true)},[_c('span',[_vm._v(\"Delete company\")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\nreturn [_c('v-icon',_vm._g({attrs:{\"color\":\"secondary\"},on:{\"click\":function($event){return _vm.viewClientAccess(item)}}},on),[_vm._v(\"group_add\")])]}}],null,true)},[_c('span',[_vm._v(\"Add client access\")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\nreturn [_c('v-icon',_vm._g({attrs:{\"color\":\"info\"},on:{\"click\":function($event){return _vm.viewLocations(item)}}},on),[_vm._v(\"mdi-home\")])]}}],null,true)},[_c('span',[_vm._v(\"View locations\")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\nreturn [_c('v-icon',_vm._g({staticClass:\"mr-1\",attrs:{\"color\":\"warning\"},on:{\"click\":function($event){return _vm.viewEvents(item)}}},on),[_vm._v(\"mdi-bus\")])]}}],null,true)},[_c('span',[_vm._v(\"View events\")])])]}}],null,false,1349427911)})],1)],1)],1):_vm._e(),(_vm.switchEventPanel === 'locations')?_c('company-locations',{attrs:{\"company\":_vm.company},on:{\"switchEventPanel\":_vm.childMessageReceived}}):_vm._e(),(_vm.switchEventPanel === 'clientaccess')?_c('company-client-access',{attrs:{\"company\":_vm.company},on:{\"switchEventPanel\":_vm.childMessageReceived}}):_vm._e(),(_vm.switchEventPanel === 'events')?_c('company-events',{attrs:{\"company\":_vm.company},on:{\"switchEventPanel\":_vm.childMessageReceived}}):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { API, graphqlOperation } from \"aws-amplify\";\nimport * as queries from \"./../graphql/queries\";\nimport { s3helper } from \"../classes/s3helper\";\nimport { Storage } from \"aws-amplify\";\nimport {\n createEventCompany,\n updateEventCompany,\n updateEvent\n} from \"./../graphql/mutations\";\nimport { getEventCompany } from \"./../graphql/queries\";\n\nexport class Company {\n constructor() {}\n\n async listCompanys(nextToken) {\n const listEventCompanys = `query ListEventCompanys(\n $filter: ModelEventCompanyFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEventCompanys(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n name\n email\n logo\n createdAt\n isDeleted\n event(\n filter: {\n isDeleted: { eq: 0 }\n }\n ) {\n items {\n id\n name\n status\n createdAt\n }\n }\n }\n nextToken\n }\n }`;\n\n const {\n data: { listEventCompanys: companys }\n } = await API.graphql(\n graphqlOperation(listEventCompanys, {\n filter: {\n isDeleted: {\n eq: 0\n }\n },\n limit: 50,\n nextToken: nextToken\n })\n );\n\n return companys;\n }\n\n async getCompany({ id }) {\n const {\n data: { getEventCompany: result }\n } = await API.graphql(\n graphqlOperation(getEventCompany, {\n id: id\n })\n );\n return result;\n }\n\n async createCompany({ name, logo, email }) {\n const isDuplicate = await this.isDuplicateCompany(name.trim());\n if (isDuplicate) {\n throw new Error(\"Company already exists.\");\n }\n\n if (logo) {\n let file = logo;\n const fileName = file.name;\n const s3Key = s3helper.generateS3Key(fileName);\n const upload = await Storage.put(\"healthyevents/logo/\" + s3Key, file, {\n level: \"public\",\n contentType: file.type\n });\n const {\n data: { createEventCompany: result }\n } = await API.graphql(\n graphqlOperation(createEventCompany, {\n input: {\n name: name.trim(),\n email: email.trim(),\n createdAt: new Date().toISOString(),\n logo: upload.key,\n logoFileName: fileName,\n isDeleted: 0\n }\n })\n );\n return result;\n } else {\n const {\n data: { createEventCompany: result }\n } = await API.graphql(\n graphqlOperation(createEventCompany, {\n input: {\n name: name.trim(),\n email: email.trim(),\n createdAt: new Date().toISOString(),\n isDeleted: 0\n }\n })\n );\n return result;\n }\n }\n\n async updateCompany({ id, name, email, logo }) {\n if (id) {\n if (logo) {\n this.updateCompanyLoader = true;\n let file = logo;\n const fileName = file.name;\n const s3Key = s3helper.generateS3Key(fileName);\n\n const upload = await Storage.put(\"healthyevents/logo/\" + s3Key, file, {\n level: \"public\",\n contentType: file.type\n });\n\n const {\n data: { updateEventCompany: result }\n } = await API.graphql(\n graphqlOperation(updateEventCompany, {\n input: {\n id: id,\n name: name.trim(),\n email: email.trim(),\n createdAt: new Date().toISOString(),\n logo: upload.key,\n logoFileName: fileName,\n isDeleted: 0\n }\n })\n );\n return result;\n } else {\n const {\n data: { updateEventCompany: result }\n } = await API.graphql(\n graphqlOperation(updateEventCompany, {\n input: {\n id: id,\n name: name.trim(),\n email: email.trim(),\n createdAt: new Date().toISOString(),\n isDeleted: 0\n }\n })\n );\n return result;\n }\n }\n }\n\n async deleteCompany({ id }) {\n await API.graphql(\n graphqlOperation(updateEventCompany, {\n input: {\n id: id,\n isDeleted: 1\n }\n })\n );\n\n const getEventCompany = /* GraphQL */ `\n query GetEventCompany($id: ID!) {\n getEventCompany(id: $id) {\n event {\n items {\n id\n }\n }\n }\n }\n `;\n\n const {\n data: {\n getEventCompany: {\n event: { items: eventResults }\n }\n }\n } = await API.graphql(\n graphqlOperation(getEventCompany, {\n id: id\n })\n );\n eventResults.map(async event => {\n await API.graphql(\n graphqlOperation(updateEvent, {\n input: {\n id: event.id,\n isDeleted: 1\n }\n })\n );\n });\n\n return eventResults;\n }\n\n async deleteCompanyAttachment({ id }) {\n const {\n data: {\n updateEventCompany: {\n event: { items: results }\n }\n }\n } = await API.graphql(\n graphqlOperation(updateEventCompany, {\n input: {\n id: id,\n logo: null,\n logoFileName: null\n }\n })\n );\n return results;\n }\n\n async isDuplicateCode(code) {\n const eventByCode = /* GraphQL */ `\n query EventByCode(\n $sortDirection: ModelSortDirection\n $filter: ModelEventFilterInput\n $limit: Int\n $nextToken: String\n ) {\n eventByCode(\n code: \"${code}\"\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n name\n code\n type\n requireDob\n iCalendar\n status\n message\n description\n commsTemplate\n bloodDropStart\n bloodDropEnd\n urinePotLocation\n preQuestionTemplate\n createdAt\n isDeleted\n updatedAt\n }\n nextToken\n }\n }\n `;\n const event = await API.graphql(\n graphqlOperation(eventByCode, {\n filter: { isDeleted: { eq: 0 } },\n limit: 100\n })\n );\n if (event.data.eventByCode.items.length > 0) {\n return true;\n }\n return false;\n }\n\n async isDuplicateCompany(companyName) {\n const {\n data: {\n listEventCompanys: { items: company }\n }\n } = await API.graphql(\n graphqlOperation(queries.listEventCompanys, {\n filter: { isDeleted: { eq: 0 }, name: { eq: companyName } },\n limit: 100\n })\n );\n if (company.length > 0) {\n return true;\n }\n return false;\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"500px\"},model:{value:(_vm.createLocationDialog),callback:function ($$v) {_vm.createLocationDialog=$$v},expression:\"createLocationDialog\"}},[_c('v-form',{ref:\"formLocation\"},[_c('v-card',[_c('v-card-title',[_vm._v(\"Add location\")]),_c('v-divider'),_c('v-card-text',[_c('v-text-field',{attrs:{\"label\":\"Address line 1\",\"required\":\"\",\"rules\":[_vm.rules.required]},model:{value:(_vm.location.addressLine1),callback:function ($$v) {_vm.$set(_vm.location, \"addressLine1\", $$v)},expression:\"location.addressLine1\"}}),_c('v-text-field',{attrs:{\"label\":\"Address line 2\",\"required\":\"\"},model:{value:(_vm.location.addressLine2),callback:function ($$v) {_vm.$set(_vm.location, \"addressLine2\", $$v)},expression:\"location.addressLine2\"}}),_c('v-text-field',{attrs:{\"label\":\"Town/City\",\"required\":\"\",\"rules\":[_vm.rules.required]},model:{value:(_vm.location.town),callback:function ($$v) {_vm.$set(_vm.location, \"town\", $$v)},expression:\"location.town\"}}),_c('v-text-field',{attrs:{\"label\":\"Postcode\",\"required\":\"\",\"rules\":[_vm.rules.required]},model:{value:(_vm.location.postcode),callback:function ($$v) {_vm.$set(_vm.location, \"postcode\", $$v)},expression:\"location.postcode\"}})],1),_c('v-divider'),_c('v-card-actions',[_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.createLocationDialog = false}}},[_vm._v(\"Close\")]),_c('v-spacer'),_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":_vm.createLocation}},[_vm._v(\"Save\")])],1)],1)],1)],1),_c('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"500px\"},model:{value:(_vm.updateLocationDialog),callback:function ($$v) {_vm.updateLocationDialog=$$v},expression:\"updateLocationDialog\"}},[_c('v-form',{ref:\"formUpdateLocation\"},[_c('v-card',[_c('v-card-title',[_vm._v(\"Edit location\")]),_c('v-divider'),_c('v-card-text',[_c('v-text-field',{attrs:{\"label\":\"Address line 1\",\"required\":\"\",\"rules\":[_vm.rules.required]},model:{value:(_vm.location.addressLine1),callback:function ($$v) {_vm.$set(_vm.location, \"addressLine1\", $$v)},expression:\"location.addressLine1\"}}),_c('v-text-field',{attrs:{\"label\":\"Address line 2\",\"required\":\"\"},model:{value:(_vm.location.addressLine2),callback:function ($$v) {_vm.$set(_vm.location, \"addressLine2\", $$v)},expression:\"location.addressLine2\"}}),_c('v-text-field',{attrs:{\"label\":\"Town/City\",\"required\":\"\",\"rules\":[_vm.rules.required]},model:{value:(_vm.location.town),callback:function ($$v) {_vm.$set(_vm.location, \"town\", $$v)},expression:\"location.town\"}}),_c('v-text-field',{attrs:{\"label\":\"Postcode\",\"required\":\"\",\"rules\":[_vm.rules.required]},model:{value:(_vm.location.postcode),callback:function ($$v) {_vm.$set(_vm.location, \"postcode\", $$v)},expression:\"location.postcode\"}})],1),_c('v-divider'),_c('v-card-actions',[_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.updateLocationDialog = false}}},[_vm._v(\"Close\")]),_c('v-spacer'),_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":_vm.updateLocation}},[_vm._v(\"Save\")])],1)],1)],1)],1),_c('v-card',{staticClass:\"mx-auto\"},[_c('v-toolbar',{attrs:{\"flat\":\"\"}},[_c('v-toolbar-title',{staticClass:\"grey--text\"},[_vm._v(\"Locations\")]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"hp--btn\",attrs:{\"color\":\"primary\",\"dark\":\"\",\"small\":\"\",\"absolute\":\"\",\"bottom\":\"\",\"left\":\"\",\"fab\":\"\"},on:{\"click\":function($event){_vm.location = [];\n _vm.createLocationDialog = !_vm.createLocationDialog;}}},on),[_c('v-icon',[_vm._v(\"mdi-plus\")])],1)]}}])},[_c('span',[_vm._v(\"New location\")])])],1),_c('v-divider'),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"mr-2 mt-8 hp--btn\",attrs:{\"color\":\"info\",\"dark\":\"\",\"small\":\"\",\"absolute\":\"\",\"top\":\"\",\"right\":\"\",\"fab\":\"\"},on:{\"click\":_vm.sendMessageToParent}},on),[_c('v-icon',[_vm._v(\"keyboard_return\")])],1)]}}])},[_c('span',[_vm._v(\"View companies\")])]),_c('v-card-title',{staticStyle:{\"padding-top\":\"0\",\"padding-bottom\":\"0\"}},[_c('v-spacer'),_c('v-text-field',{attrs:{\"append-icon\":\"search\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.eventSearch),callback:function ($$v) {_vm.eventSearch=$$v},expression:\"eventSearch\"}})],1),_c('v-card-text',[_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"items\":_vm.locations,\"headers\":_vm.locationHeaders,\"page\":_vm.page,\"items-per-page\":_vm.itemsPerPage,\"search\":_vm.eventSearch,\"sort-by\":['address1, address2']},on:{\"update:page\":function($event){_vm.page=$event}},scopedSlots:_vm._u([{key:\"item.action\",fn:function(ref){\n var item = ref.item;\nreturn [_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\nreturn [_c('v-icon',_vm._g({attrs:{\"color\":\"success\"},on:{\"click\":function($event){return _vm.editLocation(item)}}},on),[_vm._v(\"edit\")])]}}],null,true)},[_c('span',[_vm._v(\"Update location\")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\nreturn [_c('v-icon',_vm._g({attrs:{\"color\":\"error\"},on:{\"click\":function($event){return _vm.deleteLocation(item)}}},on),[_vm._v(\"delete\")])]}}],null,true)},[_c('span',[_vm._v(\"Delete location\")])])]}}])})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { API, graphqlOperation } from \"aws-amplify\";\nimport {\n createEventLocationLookup,\n updateEventLocationLookup\n} from \"../graphql/mutations\";\nimport { getEventLocationLookup } from \"./../graphql/queries\";\n\nexport class Location {\n async createLocation({ id }, { addressLine1, addressLine2, town, postcode }) {\n const {\n data: { createEventLocationLookup: result }\n } = await API.graphql(\n graphqlOperation(createEventLocationLookup, {\n input: {\n addressLine1: addressLine1,\n addressLine2: addressLine2,\n town: town,\n postcode: postcode,\n createdAt: new Date().toISOString(),\n eventLocationLookupEventCompanyId: id,\n isDeleted: 0\n }\n })\n );\n return result;\n }\n\n async updateLocation({ id, addressLine1, addressLine2, town, postcode }) {\n const {\n data: { updateEventLocationLookup: result }\n } = await API.graphql(\n graphqlOperation(updateEventLocationLookup, {\n input: {\n id: id,\n addressLine1: addressLine1,\n addressLine2: addressLine2,\n town: town,\n postcode: postcode,\n isDeleted: 0\n }\n })\n );\n return result;\n }\n\n async getLocationsByCompany({ id }) {\n const getEventCompany = `query GetEventCompany($id: ID!) {\n getEventCompany(id: $id) {\n eventLocationLookup(filter: {isDeleted: {eq: 0}}) {\n items {\n id\n postcode\n town\n addressLine1\n addressLine2\n createdAt\n isDeleted\n }\n }\n }\n }`;\n try {\n const {\n data: {\n getEventCompany: {\n eventLocationLookup: { items: result }\n }\n }\n } = await API.graphql(\n graphqlOperation(getEventCompany, {\n id: id\n })\n );\n return result;\n } catch (err) {\n throw new Error(err.message);\n }\n }\n\n async deleteLocation({ id }) {\n try {\n const {\n data: { updateEventLocationLookup: result }\n } = await API.graphql(\n graphqlOperation(updateEventLocationLookup, {\n input: {\n id: id,\n isDeleted: 1\n }\n })\n );\n return result;\n } catch (err) {\n throw new Error(err.message);\n }\n }\n\n async getLocationById({ id }) {\n try {\n const {\n data: { getEventLocationLookup: result }\n } = await API.graphql(\n graphqlOperation(getEventLocationLookup, {\n id: id\n })\n );\n return result;\n } catch (err) {\n throw new Error(err.message);\n }\n }\n}\n","\n\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!./CompanyLocations.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!./CompanyLocations.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CompanyLocations.vue?vue&type=template&id=721ee3dc&\"\nimport script from \"./CompanyLocations.vue?vue&type=script&lang=js&\"\nexport * from \"./CompanyLocations.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-snackbar',{attrs:{\"timeout\":_vm.message.snackbarTimeout,\"bottom\":\"\"},model:{value:(_vm.message.snackbar),callback:function ($$v) {_vm.$set(_vm.message, \"snackbar\", $$v)},expression:\"message.snackbar\"}},[_vm._v(\"\\n \"+_vm._s(_vm.message.snackbarText)+\"\\n \"),_c('v-btn',{attrs:{\"dark\":\"\",\"text\":\"\"},on:{\"click\":function($event){_vm.message.snackbar = false}}},[_vm._v(\"Close\")])],1),_c('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"500px\"},model:{value:(_vm.createEventDialog),callback:function ($$v) {_vm.createEventDialog=$$v},expression:\"createEventDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(\"Create event\")]),_c('v-divider'),_c('v-card-text',[(_vm.showEventMessage)?_c('v-alert',{staticClass:\"mt-5\",attrs:{\"type\":\"error\",\"dense\":\"\"}},[_vm._v(\"Duplicate event code entered\")]):_vm._e(),_c('v-form',{ref:\"createEventForm\"},[_c('v-text-field',{attrs:{\"label\":\"Event name\",\"rules\":[_vm.rules.required],\"required\":\"\"},model:{value:(_vm.companyEventForm.name),callback:function ($$v) {_vm.$set(_vm.companyEventForm, \"name\", $$v)},expression:\"companyEventForm.name\"}}),_c('v-select',{attrs:{\"items\":_vm.eventTypes,\"rules\":[_vm.rules.required],\"label\":\"Type\"},model:{value:(_vm.companyEventForm.type),callback:function ($$v) {_vm.$set(_vm.companyEventForm, \"type\", $$v)},expression:\"companyEventForm.type\"}}),_c('v-text-field',{attrs:{\"label\":\"Code\",\"rules\":[_vm.rules.required],\"required\":\"\"},model:{value:(_vm.companyEventForm.code),callback:function ($$v) {_vm.$set(_vm.companyEventForm, \"code\", $$v)},expression:\"companyEventForm.code\"}})],1)],1),_c('v-divider'),_c('v-card-actions',[_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.createEventDialog = false}}},[_vm._v(\"Close\")]),_c('v-spacer'),_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":function($event){return _vm.onCreateEvent()}}},[_vm._v(\"Save\")])],1)],1)],1),_c('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"500px\"},model:{value:(_vm.updateEventCodeDialog),callback:function ($$v) {_vm.updateEventCodeDialog=$$v},expression:\"updateEventCodeDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(\"Update event code\")]),_c('v-divider'),_c('v-card-text',[(_vm.showUpdateEventCodeMessage)?_c('v-alert',{staticClass:\"mt-5\",attrs:{\"type\":\"error\",\"dense\":\"\"}},[_vm._v(\"Duplicate event code entered\")]):_vm._e(),_c('v-form',{ref:\"updateEventCode\"},[_c('v-text-field',{attrs:{\"label\":\"Code\",\"rules\":[_vm.rules.required],\"required\":\"\"},model:{value:(_vm.updateEventCode.code),callback:function ($$v) {_vm.$set(_vm.updateEventCode, \"code\", $$v)},expression:\"updateEventCode.code\"}})],1)],1),_c('v-divider'),_c('v-card-actions',[_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.updateEventCodeDialog = false}}},[_vm._v(\"Close\")]),_c('v-spacer'),_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":function($event){return _vm.onUpdateEventCode()}}},[_vm._v(\"Save\")])],1)],1)],1),_c('v-card',{staticClass:\"mx-auto\",attrs:{\"max-width\":\"1000\"}},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"hp--btn\",attrs:{\"color\":\"info\",\"dark\":\"\",\"small\":\"\",\"absolute\":\"\",\"top\":\"\",\"right\":\"\",\"fab\":\"\"},on:{\"click\":_vm.sendMessageToParent}},on),[_c('v-icon',[_vm._v(\"keyboard_return\")])],1)]}}])},[_c('span',[_vm._v(\"View companies\")])]),_c('v-toolbar',{attrs:{\"flat\":\"\"}},[_c('v-toolbar-title',{staticClass:\"grey--text\"},[_vm._v(\"Events\")]),_c('div',{staticClass:\"flex-grow-1\"}),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"hp--btn\",attrs:{\"color\":\"primary\",\"dark\":\"\",\"small\":\"\",\"absolute\":\"\",\"bottom\":\"\",\"fab\":\"\"},on:{\"click\":function($event){_vm.createEventDialog = !_vm.createEventDialog}}},on),[_c('v-icon',[_vm._v(\"mdi-plus\")])],1)]}}])},[_c('span',[_vm._v(\"Create event\")])])],1),_c('v-divider'),_c('v-card-text',_vm._l((_vm.events),function(event){return _c('div',{key:event.id},[_c('v-layout',{staticClass:\"ma-1\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"sm4\":\"\",\"lg5\":\"\"}},[_c('div',{staticClass:\"caption grey--text\"},[_vm._v(\"Name\")]),_c('div',{staticClass:\"black--text\"},[_vm._v(_vm._s(event.name))])]),_c('v-flex',{attrs:{\"xs12\":\"\",\"md2\":\"\",\"lg2\":\"\"}},[_c('div',{staticClass:\"caption grey--text\"},[_vm._v(\"Code\")]),_c('div',{staticClass:\"black--text\"},[_vm._v(_vm._s(event.code))])]),_c('v-flex',{attrs:{\"xs12\":\"\",\"md1\":\"\",\"lg1\":\"\"}},[_c('div',{staticClass:\"caption grey--text\"},[_vm._v(\"Status\")]),(event.status)?_c('div',{staticClass:\"black--text\"},[_vm._v(\"\\n \"+_vm._s(event.status)+\"\\n \")]):_vm._e()]),_c('v-flex',{attrs:{\"xs12\":\"\",\"md2\":\"\",\"lg2\":\"\"}},[_c('div',{staticClass:\"caption grey--text\"},[_vm._v(\"Type\")]),_c('div',{staticClass:\"black--text\"},[_vm._v(\"\\n \"+_vm._s(_vm.getEventTypeLabel(event.type))+\"\\n \")])]),_c('v-flex',{attrs:{\"xs12\":\"\",\"sm3\":\"\",\"lg2\":\"\"}},[_c('div',{staticClass:\"float-right\"},[(event.type === 'workshop')?_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',{attrs:{\"fab\":\"\",\"dark\":\"\",\"x-small\":\"\",\"color\":\"purple\"},on:{\"click\":_vm.goToFeedbackSurvey}},[_c('v-icon',_vm._g({attrs:{\"dark\":\"\"}},on),[_vm._v(\"people\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Feedback Survey\")])]):_c('v-btn',{attrs:{\"fab\":\"\",\"dark\":\"\",\"x-small\":\"\",\"color\":\"grey\"}},[_c('v-icon',{attrs:{\"disabled\":\"\",\"dark\":\"\"}},[_vm._v(\"people\")])],1),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',{staticClass:\"mx-1 hp--btn\",attrs:{\"fab\":\"\",\"dark\":\"\",\"x-small\":\"\",\"color\":\"warning\"},on:{\"click\":function($event){return _vm.editEventCode(event)}}},[_c('v-icon',_vm._g({attrs:{\"dark\":\"\"}},on),[_vm._v(\"code\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Update event code\")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',{staticClass:\"mx-1 hp--btn\",attrs:{\"fab\":\"\",\"dark\":\"\",\"x-small\":\"\",\"color\":\"success\"},on:{\"click\":function($event){return _vm.editEvent(event)}}},[_c('v-icon',_vm._g({attrs:{\"dark\":\"\"}},on),[_vm._v(\"edit\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Edit event\")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',{staticClass:\"mx-1 hp--btn\",attrs:{\"fab\":\"\",\"dark\":\"\",\"x-small\":\"\",\"color\":\"error\"},on:{\"click\":function($event){return _vm.deleteEvent(event)}}},[_c('v-icon',_vm._g({attrs:{\"dark\":\"\"}},on),[_vm._v(\"delete_outline\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Delete event\")])])],1)])],1),_c('v-divider')],1)}),0)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\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!./CompanyEvents.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!./CompanyEvents.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CompanyEvents.vue?vue&type=template&id=2fdd7e85&\"\nimport script from \"./CompanyEvents.vue?vue&type=script&lang=js&\"\nexport * from \"./CompanyEvents.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"500px\"},model:{value:(_vm.createClientAccessDialog),callback:function ($$v) {_vm.createClientAccessDialog=$$v},expression:\"createClientAccessDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(\"Create client access\")]),_c('v-divider'),_c('v-card-text',[_c('v-form',{ref:\"createClientAccessForm\"},[_c('v-text-field',{attrs:{\"label\":\"Client access password\",\"hint\":\"At least 8 characters\",\"prepend-icon\":\"mdi-lock\",\"rules\":[_vm.rules.min, _vm.rules.required],\"clearable\":\"\",\"counter\":\"\"},on:{\"click:prepend\":_vm.createPassword},model:{value:(_vm.clientAccessForm.clientPassword),callback:function ($$v) {_vm.$set(_vm.clientAccessForm, \"clientPassword\", $$v)},expression:\"clientAccessForm.clientPassword\"}}),_c('v-menu',{attrs:{\"close-on-content-click\":false,\"nudge-right\":40,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"min-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-text-field',_vm._g(_vm._b({attrs:{\"rules\":[_vm.rules.required],\"label\":\"Client access expiry date\",\"prepend-icon\":\"mdi-calendar\",\"readonly\":\"\"},model:{value:(_vm.clientAccessForm.expiryDate),callback:function ($$v) {_vm.$set(_vm.clientAccessForm, \"expiryDate\", $$v)},expression:\"clientAccessForm.expiryDate\"}},'v-text-field',attrs,false),on))]}}]),model:{value:(_vm.clientAccessMenu),callback:function ($$v) {_vm.clientAccessMenu=$$v},expression:\"clientAccessMenu\"}},[_c('v-date-picker',{attrs:{\"first-day-of-week\":\"1\",\"min\":_vm.minDateAllowed},on:{\"input\":function($event){_vm.clientAccessMenu = false}},model:{value:(_vm.clientAccessForm.expiryDate),callback:function ($$v) {_vm.$set(_vm.clientAccessForm, \"expiryDate\", $$v)},expression:\"clientAccessForm.expiryDate\"}})],1),_c('v-checkbox',{attrs:{\"label\":\"Show personal details\"},model:{value:(_vm.clientAccessForm.showPersonal),callback:function ($$v) {_vm.$set(_vm.clientAccessForm, \"showPersonal\", $$v)},expression:\"clientAccessForm.showPersonal\"}}),_c('v-textarea',{attrs:{\"filled\":\"\",\"name\":\"input-7-4\",\"rules\":[_vm.rules.required],\"label\":\"Brief description of client access\"},model:{value:(_vm.clientAccessForm.description),callback:function ($$v) {_vm.$set(_vm.clientAccessForm, \"description\", $$v)},expression:\"clientAccessForm.description\"}})],1)],1),_c('v-divider'),_c('v-card-actions',[_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.createClientAccessDialog = false}}},[_vm._v(\"Close\")]),_c('v-spacer'),_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":function($event){return _vm.onCreateClientAccess()}}},[_vm._v(\"Save\")])],1)],1)],1),_c('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"500px\"},model:{value:(_vm.updateClientAccessDialog),callback:function ($$v) {_vm.updateClientAccessDialog=$$v},expression:\"updateClientAccessDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(\"Update client access\")]),_c('v-divider'),_c('v-card-text',[_c('v-form',{ref:\"updateClientAccessForm\"},[_c('v-text-field',{attrs:{\"label\":\"Client access password\",\"hint\":\"At least 8 characters\",\"prepend-icon\":\"mdi-lock\",\"rules\":[_vm.rules.min, _vm.rules.required],\"clearable\":\"\",\"counter\":\"\"},on:{\"click:prepend\":_vm.updatePassword},model:{value:(_vm.updateClientAccessForm.clientPassword),callback:function ($$v) {_vm.$set(_vm.updateClientAccessForm, \"clientPassword\", $$v)},expression:\"updateClientAccessForm.clientPassword\"}}),_c('v-menu',{attrs:{\"close-on-content-click\":false,\"nudge-right\":40,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"min-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-text-field',_vm._g(_vm._b({attrs:{\"rules\":[_vm.rules.required],\"label\":\"Client access expiry date\",\"prepend-icon\":\"mdi-calendar\",\"readonly\":\"\"},model:{value:(_vm.updateClientAccessForm.expiryDate),callback:function ($$v) {_vm.$set(_vm.updateClientAccessForm, \"expiryDate\", $$v)},expression:\"updateClientAccessForm.expiryDate\"}},'v-text-field',attrs,false),on))]}}]),model:{value:(_vm.clientAccessMenu),callback:function ($$v) {_vm.clientAccessMenu=$$v},expression:\"clientAccessMenu\"}},[_c('v-date-picker',{attrs:{\"first-day-of-week\":\"1\",\"min\":_vm.minDateAllowed},on:{\"input\":function($event){_vm.clientAccessMenu = false}},model:{value:(_vm.updateClientAccessForm.expiryDate),callback:function ($$v) {_vm.$set(_vm.updateClientAccessForm, \"expiryDate\", $$v)},expression:\"updateClientAccessForm.expiryDate\"}})],1),_c('v-checkbox',{attrs:{\"label\":\"Show personal details\"},model:{value:(_vm.updateClientAccessForm.showPersonal),callback:function ($$v) {_vm.$set(_vm.updateClientAccessForm, \"showPersonal\", $$v)},expression:\"updateClientAccessForm.showPersonal\"}}),_c('v-textarea',{attrs:{\"filled\":\"\",\"name\":\"input-7-4\",\"rules\":[_vm.rules.required],\"label\":\"Brief description of client access\"},model:{value:(_vm.updateClientAccessForm.description),callback:function ($$v) {_vm.$set(_vm.updateClientAccessForm, \"description\", $$v)},expression:\"updateClientAccessForm.description\"}})],1)],1),_c('v-divider'),_c('v-card-actions',[_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.updateClientAccessDialog = false}}},[_vm._v(\"Close\")]),_c('v-spacer'),_c('v-btn',{staticClass:\"hp--btn\",attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":function($event){return _vm.onUpdateClientAccess()}}},[_vm._v(\"Save\")])],1)],1)],1),_c('v-card',{staticClass:\"mx-auto\",attrs:{\"max-width\":\"1000\"}},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"hp--btn\",attrs:{\"color\":\"info\",\"dark\":\"\",\"small\":\"\",\"absolute\":\"\",\"top\":\"\",\"right\":\"\",\"fab\":\"\"},on:{\"click\":_vm.sendMessageToParent}},on),[_c('v-icon',[_vm._v(\"keyboard_return\")])],1)]}}])},[_c('span',[_vm._v(\"View companies\")])]),_c('v-toolbar',{attrs:{\"flat\":\"\"}},[_c('v-toolbar-title',{staticClass:\"grey--text\"},[_vm._v(\"Client Access Area\")]),_c('div',{staticClass:\"flex-grow-1\"}),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"hp--btn\",attrs:{\"color\":\"primary\",\"dark\":\"\",\"small\":\"\",\"absolute\":\"\",\"bottom\":\"\",\"fab\":\"\"},on:{\"click\":function($event){_vm.createClientAccessDialog = !_vm.createClientAccessDialog}}},on),[_c('v-icon',[_vm._v(\"mdi-plus\")])],1)]}}])},[_c('span',[_vm._v(\"Create client access\")])])],1),_c('v-divider'),_c('v-card-text',[(_vm.viewMessage)?_c('v-alert',{attrs:{\"dense\":\"\",\"text\":\"\",\"type\":\"success\"}},[_vm._v(\"\\n \"+_vm._s(_vm.message)+\"\\n \"),_c('strong',[_vm._v(\"clipboard\")])]):_vm._e(),_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"items\":_vm.clientAccess,\"headers\":_vm.clientAccessHeaders,\"page\":_vm.page,\"items-per-page\":_vm.itemsPerPage,\"search\":_vm.search,\"sort-by\":['address1, address2']},on:{\"update:page\":function($event){_vm.page=$event}},scopedSlots:_vm._u([{key:\"item.expiryDate\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._v(\"\\n \"+_vm._s(_vm._f(\"moment\")(new Date(item.expiryDate),\"Do MMMM YYYY\"))+\"\\n \")]}},{key:\"item.action\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-icon',_vm._g({attrs:{\"color\":\"secondary\"},on:{\"click\":function($event){return _vm.copyUrl(item)}}},on),[_vm._v(\"content_copy\")])]}}],null,true)},[_c('span',[_vm._v(\"Copy URL\")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-icon',_vm._g({attrs:{\"color\":\"info\"},on:{\"click\":function($event){return _vm.copyPassword(item)}}},on),[_vm._v(\"lock_open\")])]}}],null,true)},[_c('span',[_vm._v(\"Copy password\")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-icon',_vm._g({attrs:{\"color\":\"success\"},on:{\"click\":function($event){return _vm.editClientAccess(item)}}},on),[_vm._v(\"edit\")])]}}],null,true)},[_c('span',[_vm._v(\"Update client access\")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-icon',_vm._g({attrs:{\"color\":\"error\"},on:{\"click\":function($event){return _vm.deleteClientAccess(item)}}},on),[_vm._v(\"delete\")])]}}],null,true)},[_c('span',[_vm._v(\"Delete client access\")])])]}}])})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\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!./CompanyClientAccess.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!./CompanyClientAccess.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CompanyClientAccess.vue?vue&type=template&id=28a3ebf4&\"\nimport script from \"./CompanyClientAccess.vue?vue&type=script&lang=js&\"\nexport * from \"./CompanyClientAccess.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\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!./Company.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!./Company.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Company.vue?vue&type=template&id=0b3c6d52&\"\nimport script from \"./Company.vue?vue&type=script&lang=js&\"\nexport * from \"./Company.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":""}