{"version":3,"sources":["webpack:///./src/components/alert/form.vue?bb55","webpack:///./src/components/alert/form.vue","webpack:///src/components/alert/form.vue","webpack:///./src/components/alert/form.vue?53d5","webpack:///./src/components/alert/form.vue?8581","webpack:///./src/components/alert/form.vue?cb5d","webpack:///./src/services/google-map.js","webpack:///./src/components/generic/form-complete.vue","webpack:///src/components/generic/form-complete.vue","webpack:///./src/components/generic/form-complete.vue?ffc9","webpack:///./src/components/generic/form-complete.vue?aaea","webpack:///./src/assets/icons/checklist-yellow.svg","webpack:///./src/components/form/s-form-input.vue","webpack:///src/components/form/s-form-input.vue","webpack:///./src/components/form/s-form-input.vue?d9de","webpack:///./src/components/form/s-form-input.vue?0011","webpack:///./src/services/alert.graphql","webpack:///./src/components/alert/form.vue?ddcb","webpack:///./src/services/alert.js","webpack:///./src/components/form/s-form.vue","webpack:///src/components/form/s-form.vue","webpack:///./src/components/form/s-form.vue?e96e","webpack:///./src/components/form/s-form.vue?e204"],"names":["render","_vm","this","_c","_self","staticClass","on","submitForm","attrs","$t","categoryOptions","model","value","form","category","callback","$$v","$set","expression","hasTwoCols","CATEGORY_PROFESSIONAL_KITCHEN","professionalKitchenEquipmentOptions","professionalKitchenEquipment","_e","CATEGORY_DELIVERY_TRUCK","deliveryTruckTypesOptionsWithAll","deliveryTruckType","refrigerated","canSharedRoad","canHaveDriver","_v","_s","dayAvailability","eveningAvailability","radius","address","isConnected","email","disabledBtn","btnLabel","staticRenderFns","defaultFormValue","mixins","AdCategory","ProfessionalKitchenEquipment","AvailabilityWeekday","AdDeliveryTruckType","components","SForm","SFormCheckboxGroup","SFormCheckbox","SFormSelect","SFormGoogleAutocomplete","SFormInput","props","type","String","required","Boolean","default","Object","_objectSpread","methods","input","maybeEditedFields","maybeEditedField","Array","isArray","sort","join","$emit","data","text","CATEGORY_STORAGE_SPACE","CATEGORY_OTHER","computed","user","options","deliveryTruckTypesOptions","watch","apollo","query","$options","LocalUser","component","gqlDocs","handler","module","exports","getAddressFromGooglePlace","_x","_getAddressFromGooglePlace","apply","arguments","_asyncToGenerator","place","reverseGeocodeResult","reverseGeocode","latitude","longitude","raw","JSON","stringify","undefined","locality","postal_code","postalCode","route","street_number","streetNumber","neighborhood","sublocality","_x2","_x3","_reverseGeocode","geocoder","window","google","maps","Geocoder","latlng","lat","parseFloat","lng","geocoded","geocode","location","i","results","length","result","findComponent","types","find","x","address_components","j","long_name","title","image","description","htmlTitle","htmlDescription","class","domProps","linkTitle","links","ctas","_l","link","key","href","cta","getBtnVariant","$event","action","isAdmin","variant","id","label","name","inputId","labelSrOnly","rules","scopedSlots","_u","fn","_ref","sState","prepend","append","_t","placeholder","computedValue","Number","SField","get","set","val","doc","loc","source","collectFragmentReferences","node","refs","kind","add","selectionSet","selections","forEach","selection","variableDefinitions","def","definitions","definitionRefs","findOperation","element","oneQuery","operationName","newDoc","hasOwnProperty","opRefs","Set","allRefs","newRefs","refName","size","prevRefs","has","childRefs","childRef","op","push","createAlert","_createAlert","mutationInput","addMaybeValue","Apollo","instance","defaultClient","mutate","mutation","CreateAlert","variables","AuthentificationService","renewToken","updateAlert","_updateAlert","alertId","keys","UpdateAlert","deleteAlert","_x4","_x5","_deleteAlert","DeleteAlert","confirmAlert","_x6","_x7","_confirmAlert","ConfirmAlert","handleSubmit","preventDefault","onSubmit"],"mappings":"gHAAA,W,oCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,SAAS,CAACE,YAAY,aAAaC,GAAG,CAAC,OAASL,EAAIM,aAAa,CAACJ,EAAG,MAAM,CAACE,YAAY,2FAA2F,CAACF,EAAG,gBAAgB,CAACK,MAAM,CAAC,GAAK,aAAa,KAAO,aAAa,MAAQP,EAAIQ,GAAG,uBAAuB,cAAc,KAAK,QAAUR,EAAIS,gBAAgB,MAAQ,GAAG,QAAU,oBAAoB,SAAW,GAAG,MAAQ,YAAYC,MAAM,CAACC,MAAOX,EAAIY,KAAKC,SAAUC,S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EAAAC,GAAA,OAAAC,EAAA9I,MAAC,KAADC,WAchC,SAAA6I,IAAA,OAAAA,EAAA5I,gBAdM,UAA2BsI,EAAS/L,GACzC,IAAIkL,EAAgB,CAClBa,UACA/L,SAGE6F,QAAeuF,OAAOC,SAASC,cAAcC,OAAO,CACtDC,SAAUc,iBACVZ,UAAW,CACThK,MAAOwJ,KAIX,OAAOrF,KACRwG,EAAA9I,MAAA,KAAAC,WAEM,SAAe+I,EAAYC,EAAAC,GAAA,OAAAC,EAAAnJ,MAAC,KAADC,WAcjC,SAAAkJ,IAAA,OAAAA,EAAAjJ,gBAdM,UAA4BsI,EAAS/L,GAC1C,IAAIkL,EAAgB,CAClBa,UACA/L,SAGE6F,QAAeuF,OAAOC,SAASC,cAAcC,OAAO,CACtDC,SAAUmB,kBACVjB,UAAW,CACThK,MAAOwJ,KAIX,OAAOrF,KACR6G,EAAAnJ,MAAA,KAAAC,a,kCCjGD,IAAI7F,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,sBAAsB,CAACK,MAAM,CAAC,KAAO,IAAI4J,YAAYnK,EAAIoK,GAAG,CAAC,CAACf,IAAI,UAAUgB,GAAG,SAADC,GAA2B,IAAf0E,EAAY1E,EAAZ0E,aAAgB,MAAO,CAAC9O,EAAG,OAAO,CAACK,MAAM,CAAC,WAAa,IAAIF,GAAG,CAAC,OAAS,SAASoJ,GAAgC,OAAxBA,EAAOwF,iBAAwBD,EAAahP,EAAIkP,aAAa,CAAClP,EAAI0K,GAAG,YAAY,OAAO,MAAK,MAElVnI,EAAkB,GCOP,GACfsB,QAAA,CACAqL,SAAA,WAEA,OADA,KAAA7K,MAAA,WACA,KCb8V,I,YCO1Vc,EAAY,eACd,EACApF,EACAwC,GACA,EACA,KACA,KACA,MAIa,OAAA4C,E","file":"js/chunk-5ef27890.523c242c.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./form.vue?vue&type=style&index=0&id=0c63a752&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('s-form',{staticClass:\"alert-form\",on:{\"submit\":_vm.submitForm}},[_c('div',{staticClass:\"section section--md section--padding-x section--border-bottom my-4 pb-5 rm-child-margin\"},[_c('s-form-select',{attrs:{\"id\":\"adCategory\",\"name\":\"adCategory\",\"label\":_vm.$t('label-whichCategory'),\"label-class\":\"h2\",\"options\":_vm.categoryOptions,\"right\":\"\",\"variant\":\"outline-secondary\",\"required\":\"\",\"rules\":\"required\"},model:{value:(_vm.form.category),callback:function ($$v) {_vm.$set(_vm.form, \"category\", $$v)},expression:\"form.category\"}})],1),(_vm.hasTwoCols)?_c('div',{staticClass:\"section section--md section--padding-x section--border-bottom my-4 pb-5 rm-child-margin\"},[_c('div',{staticClass:\"alert-form__row\"},[_c('div',{staticClass:\"alert-form__col rm-child-margin\"},[(_vm.form.category === _vm.CATEGORY_PROFESSIONAL_KITCHEN)?_c('s-form-checkbox-group',{attrs:{\"id\":\"professionalKitchenEquipment\",\"label\":_vm.$t('label.ad-professionalKitchenEquipment'),\"label-class\":\"h2\",\"name\":\"professionalKitchenEquipment\",\"options\":_vm.professionalKitchenEquipmentOptions},model:{value:(_vm.form.professionalKitchenEquipment),callback:function ($$v) {_vm.$set(_vm.form, \"professionalKitchenEquipment\", $$v)},expression:\"form.professionalKitchenEquipment\"}}):_vm._e(),(_vm.form.category === _vm.CATEGORY_DELIVERY_TRUCK)?[_c('s-form-select',{attrs:{\"id\":\"deliveryTruckType\",\"label\":_vm.$t('label.ad-deliveryTruckType'),\"label-class\":\"h2\",\"name\":\"deliveryTruckType\",\"options\":_vm.deliveryTruckTypesOptionsWithAll},model:{value:(_vm.form.deliveryTruckType),callback:function ($$v) {_vm.$set(_vm.form, \"deliveryTruckType\", $$v)},expression:\"form.deliveryTruckType\"}}),_c('s-form-checkbox',{attrs:{\"id\":\"refrigerated\",\"label\":_vm.$t('label.ad-refrigerated'),\"name\":\"refrigerated\"},model:{value:(_vm.form.refrigerated),callback:function ($$v) {_vm.$set(_vm.form, \"refrigerated\", $$v)},expression:\"form.refrigerated\"}}),_c('s-form-checkbox',{attrs:{\"id\":\"canSharedRoad\",\"label\":_vm.$t('label.ad-canSharedRoad'),\"name\":\"canSharedRoad\"},model:{value:(_vm.form.canSharedRoad),callback:function ($$v) {_vm.$set(_vm.form, \"canSharedRoad\", $$v)},expression:\"form.canSharedRoad\"}}),_c('s-form-checkbox',{attrs:{\"id\":\"canHaveDriver\",\"label\":_vm.$t('label.ad-canHaveDriver'),\"name\":\"canHaveDriver\"},model:{value:(_vm.form.canHaveDriver),callback:function ($$v) {_vm.$set(_vm.form, \"canHaveDriver\", $$v)},expression:\"form.canHaveDriver\"}})]:_vm._e()],2)])]):_vm._e(),_c('div',{staticClass:\"section section--md section--padding-x section--border-bottom my-4 pb-5 rm-child-margin\"},[_c('div',{staticClass:\"alert-form__row\"},[_c('div',{staticClass:\"alert-form__col\"},[_c('fieldset',{attrs:{\"id\":\"availabilitiesFieldset\",\"aria-labelledby\":\"availabilitiesFieldset__legend\"}},[_c('legend',{staticClass:\"h2 my-0\",attrs:{\"id\":\"availabilitiesFieldset__legend\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"label.availability\"))+\" \")]),_c('b-row',[_c('b-col',[_c('s-form-checkbox',{attrs:{\"id\":\"dayAvailability\",\"label\":_vm.$t('label.ad-dayAvailability'),\"name\":\"dayAvailability\"},model:{value:(_vm.form.dayAvailability),callback:function ($$v) {_vm.$set(_vm.form, \"dayAvailability\", $$v)},expression:\"form.dayAvailability\"}})],1),_c('b-col',[_c('s-form-checkbox',{attrs:{\"id\":\"eveningAvailability\",\"label\":_vm.$t('label.ad-eveningAvailability'),\"name\":\"eveningAvailability\"},model:{value:(_vm.form.eveningAvailability),callback:function ($$v) {_vm.$set(_vm.form, \"eveningAvailability\", $$v)},expression:\"form.eveningAvailability\"}})],1)],1)],1)])])]),_c('div',{staticClass:\"section section--md section--padding-x section--border-bottom my-4 pb-5 rm-child-margin\"},[_c('div',{staticClass:\"alert-form__row\"},[_c('div',{staticClass:\"alert-form__col\"},[_c('fieldset',{attrs:{\"id\":\"radiusFieldset\",\"aria-labelledby\":\"radiusFieldset__legend\"}},[_c('legend',{staticClass:\"h2 my-0\",attrs:{\"id\":\"radiusFieldset__legend\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"label.radius\"))+\" \")]),_c('s-form-input',{attrs:{\"id\":\"radius\",\"type\":\"number\",\"label\":_vm.$t('label.radius-of'),\"placeholder\":_vm.$t('placeholder.radius-of'),\"name\":\"radius\",\"rules\":\"requiredNumeric\",\"required\":\"\",\"append\":\"km\"},model:{value:(_vm.form.radius),callback:function ($$v) {_vm.$set(_vm.form, \"radius\", $$v)},expression:\"form.radius\"}}),_c('s-form-google-autocomplete',{attrs:{\"id\":\"address\",\"label\":_vm.$t('label.near-of'),\"name\":\"address\",\"rules\":\"required|haveLatLong\",\"placeholder\":_vm.$t('placeholder.ad-address'),\"required\":\"\"},model:{value:(_vm.form.address),callback:function ($$v) {_vm.$set(_vm.form, \"address\", $$v)},expression:\"form.address\"}})],1)])])]),(!_vm.isConnected)?_c('div',{staticClass:\"section section--md section--padding-x section--border-bottom my-4 pb-5 rm-child-margin\"},[_c('div',{staticClass:\"alert-form__row\"},[_c('div',{staticClass:\"alert-form__col\"},[_c('fieldset',{attrs:{\"id\":\"emailFieldset\",\"aria-labelledby\":\"emailFieldset__legend\"}},[_c('legend',{staticClass:\"h2 my-0\",attrs:{\"id\":\"emailFieldset__legend\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"label.send-to\"))+\" \")]),_c('s-form-input',{attrs:{\"id\":\"email\",\"type\":\"email\",\"label\":_vm.$t('label.your-email'),\"placeholder\":_vm.$t('placeholder.email'),\"name\":\"email\",\"rules\":\"required|email\",\"required\":\"\"},model:{value:(_vm.form.email),callback:function ($$v) {_vm.$set(_vm.form, \"email\", $$v)},expression:\"form.email\"}})],1)])])]):_vm._e(),_c('div',{staticClass:\"section section--md section--padding-x my-4 pb-5 rm-child-margin\"},[_c('div',{staticClass:\"fab-container__fab\"},[_c('div',{staticClass:\"section section--md\"},[_c('b-button',{attrs:{\"disabled\":_vm.disabledBtn,\"type\":\"submit\",\"variant\":\"admin\",\"size\":\"lg\",\"block\":\"\",\"aria-label\":_vm.$t('sr.edit')}},[_c('b-icon',{staticClass:\"mr-2\",attrs:{\"icon\":\"pencil\",\"aria-hidden\":\"true\"}}),_vm._v(_vm._s(_vm.btnLabel)+\" \")],1)],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\nquery LocalUser {\r\n user @client {\r\n isConnected\r\n }\r\n}\r\n\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!./form.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!./form.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./form.vue?vue&type=template&id=0c63a752\"\nimport script from \"./form.vue?vue&type=script&lang=js\"\nexport * from \"./form.vue?vue&type=script&lang=js\"\nimport style0 from \"./form.vue?vue&type=style&index=0&id=0c63a752&prod&lang=scss\"\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\n/* custom blocks */\nimport block0 from \"./form.vue?vue&type=custom&index=0&blockType=graphql\"\nif (typeof block0 === 'function') block0(component)\n\nexport default component.exports","\n let gqlDocs = [{\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"LocalUser\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"client\"},\"arguments\":[]}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isConnected\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":64}}];\n let attrs = {\"noAnonymousOperations\":false,\"vue\":true,\"type\":\"custom\",\"index\":\"0\",\"blockType\":\"graphql\"} || {};\n let handler = require(\"D:\\\\a\\\\1\\\\s\\\\YellowDuck.FE\\\\node_modules\\\\vue-graphql-loader\\\\lib\\\\handler\");\n\n if (handler.default) {\n handler = handler.default;\n }\n module.exports = function vueGraphqlLoader(component) {\n handler(component, gqlDocs, attrs);\n }","export async function getAddressFromGooglePlace(place) {\r\n let reverseGeocodeResult = await reverseGeocode(place.latitude, place.longitude);\r\n let address = { raw: JSON.stringify(place), latitude: place.latitude, longitude: place.longitude };\r\n\r\n if (place.locality !== undefined) {\r\n address.locality = { value: place.locality };\r\n }\r\n\r\n if (place.postal_code !== undefined) {\r\n address.postalCode = { value: place.postal_code };\r\n }\r\n\r\n if (place.route !== undefined) {\r\n address.route = { value: place.route };\r\n }\r\n\r\n if (place.street_number !== undefined) {\r\n address.streetNumber = { value: place.street_number };\r\n }\r\n\r\n if (reverseGeocodeResult.neighborhood !== undefined) {\r\n address.neighborhood = { value: reverseGeocodeResult.neighborhood };\r\n }\r\n\r\n if (reverseGeocodeResult.sublocality !== undefined) {\r\n address.sublocality = { value: reverseGeocodeResult.sublocality };\r\n }\r\n\r\n return address;\r\n}\r\n\r\nasync function reverseGeocode(latitude, longitude) {\r\n const geocoder = new window.google.maps.Geocoder();\r\n const latlng = {\r\n lat: parseFloat(latitude),\r\n lng: parseFloat(longitude)\r\n };\r\n\r\n let neighborhood = \"\";\r\n let sublocality = \"\";\r\n\r\n let geocoded = await geocoder.geocode({ location: latlng });\r\n\r\n for (let i = 0; i < geocoded.results.length; i++) {\r\n let result = geocoded.results[i];\r\n\r\n if (neighborhood === \"\") {\r\n neighborhood = findComponent(result, \"neighborhood\");\r\n }\r\n if (sublocality === \"\") {\r\n sublocality = findComponent(result, \"sublocality\");\r\n }\r\n }\r\n\r\n return { neighborhood, sublocality };\r\n}\r\n\r\nfunction findComponent(result, type) {\r\n if (result.types.find((x) => x === type)) {\r\n let components = result.address_components;\r\n for (let j = 0; j < components.length; j++) {\r\n let component = components[j];\r\n if (component.types.find((x) => x === type)) {\r\n return component.long_name;\r\n }\r\n }\r\n }\r\n return \"\";\r\n}\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"w-100\"},[(_vm.title || _vm.image || _vm.description)?_c('div',{staticClass:\"section section--sm my-4\"},[(_vm.title)?_c('h1',{staticClass:\"h2 my-4\"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),(_vm.image)?_c('b-img',{staticClass:\"my-4\",attrs:{\"src\":_vm.image,\"alt\":\"\",\"height\":\"100\",\"block\":\"\"}}):_vm._e(),(_vm.description)?_c('p',{staticClass:\"my-4\"},[_vm._v(_vm._s(_vm.description))]):_vm._e()],1):_vm._e(),(_vm.htmlTitle || _vm.htmlDescription)?_c('div',{staticClass:\"section section--sm my-4\",class:{ 'section--border-top': _vm.htmlTitle && _vm.title }},[(_vm.htmlTitle)?_c('h2',{staticClass:\"h3 text-primary my-4\"},[_vm._v(_vm._s(_vm.htmlTitle))]):_vm._e(),(_vm.htmlDescription)?_c('div',{staticClass:\"my-4\",domProps:{\"innerHTML\":_vm._s(_vm.htmlDescription)}}):_vm._e()]):_vm._e(),(_vm.linkTitle || _vm.links || _vm.ctas)?_c('div',{staticClass:\"section section--sm my-4\",class:{ 'section--border-top': _vm.linkTitle && (_vm.title || _vm.htmlTitle) }},[(_vm.linkTitle)?_c('h2',{staticClass:\"h3 text-primary my-4\"},[_vm._v(_vm._s(_vm.linkTitle))]):_vm._e(),(_vm.links && _vm.links.length > 1)?_c('ul',{staticClass:\"my-4\"},_vm._l((_vm.links),function(link){return _c('li',{key:link.text},[_c('a',{attrs:{\"href\":link.href}},[_vm._v(_vm._s(link.text))])])}),0):(_vm.links && _vm.links[0])?_c('p',{staticClass:\"my-4\"},[_c('a',{key:_vm.links[0].text,attrs:{\"href\":_vm.links[0].href}},[_vm._v(_vm._s(_vm.links[0].text))])]):_vm._e(),(_vm.ctas)?_vm._l((_vm.ctas),function(cta){return _c('b-button',{key:cta.text,class:{ 'mt-3': cta !== _vm.ctas[0] },attrs:{\"variant\":_vm.getBtnVariant(cta),\"size\":\"lg\",\"block\":\"\"},on:{\"click\":function($event){return cta.action()}}},[_vm._v(_vm._s(cta.text))])}):_vm._e()],2):_vm._e()])\n}\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!./form-complete.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!./form-complete.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./form-complete.vue?vue&type=template&id=2edcb8a2\"\nimport script from \"./form-complete.vue?vue&type=script&lang=js\"\nexport * from \"./form-complete.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","module.exports = __webpack_public_path__ + \"img/checklist-yellow.a7841a88.svg\";","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('s-field',{attrs:{\"id\":_vm.id,\"label\":_vm.label,\"name\":_vm.name,\"inputId\":_vm.inputId,\"labelSrOnly\":_vm.labelSrOnly,\"rules\":_vm.rules,\"description\":_vm.description},scopedSlots:_vm._u([{key:\"default\",fn:function({ sState }){return [_c('b-input-group',{attrs:{\"prepend\":_vm.prepend,\"append\":_vm.append}},[_vm._t(\"input-group-prepend\",null,{\"sState\":sState}),_c('b-form-input',{attrs:{\"id\":_vm.inputId,\"type\":_vm.type,\"placeholder\":_vm.placeholder,\"required\":_vm.required,\"state\":sState},on:{\"change\":function($event){return _vm.$emit('change', $event)}},model:{value:(_vm.computedValue),callback:function ($$v) {_vm.computedValue=$$v},expression:\"computedValue\"}}),_vm._t(\"input-group-append\",null,{\"sState\":sState})],2)]}}],null,true)})\n}\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!./s-form-input.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!./s-form-input.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./s-form-input.vue?vue&type=template&id=aedf481e\"\nimport script from \"./s-form-input.vue?vue&type=script&lang=js\"\nexport * from \"./s-form-input.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 var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"CreateAlert\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CreateAlertInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"createAlert\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"alert\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateAlert\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateAlertInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"updateAlert\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"alert\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"DeleteAlert\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"DeleteAlertInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"deleteAlert\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"success\"},\"arguments\":[],\"directives\":[]}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"ConfirmAlert\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ConfirmAlertInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"confirmAlert\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"alert\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":476}};\n doc.loc.source = {\"body\":\"mutation CreateAlert($input: CreateAlertInput!) {\\r\\n createAlert(input: $input) {\\r\\n alert {\\r\\n id\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\nmutation UpdateAlert($input: UpdateAlertInput!) {\\r\\n updateAlert(input: $input) {\\r\\n alert {\\r\\n id\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\nmutation DeleteAlert($input: DeleteAlertInput!) {\\r\\n deleteAlert(input: $input) {\\r\\n success\\r\\n }\\r\\n}\\r\\n\\r\\nmutation ConfirmAlert($input: ConfirmAlertInput!) {\\r\\n confirmAlert(input: $input) {\\r\\n alert {\\r\\n id\\r\\n }\\r\\n }\\r\\n}\\r\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \r\n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \r\n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"CreateAlert\"] = oneQuery(doc, \"CreateAlert\");\n \n module.exports[\"UpdateAlert\"] = oneQuery(doc, \"UpdateAlert\");\n \n module.exports[\"DeleteAlert\"] = oneQuery(doc, \"DeleteAlert\");\n \n module.exports[\"ConfirmAlert\"] = oneQuery(doc, \"ConfirmAlert\");\n \r\n","import mod from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./form.vue?vue&type=custom&index=0&blockType=graphql\"; export default mod; export * from \"-!../../../node_modules/vue-graphql-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./form.vue?vue&type=custom&index=0&blockType=graphql\"","import Apollo from \"@/graphql/vue-apollo\";\r\nimport { CreateAlert, UpdateAlert, DeleteAlert, ConfirmAlert } from \"./alert.graphql\";\r\nimport { addMaybeValue } from \"@/helpers/graphql\";\r\n\r\nimport { getAddressFromGooglePlace } from \"@/services/google-map\";\r\nimport AuthentificationService from \"./authentification\";\r\n\r\nexport async function createAlert(input, isConnected) {\r\n let mutationInput = {\r\n category: input.category,\r\n address: await getAddressFromGooglePlace(input.address),\r\n radius: input.radius\r\n };\r\n\r\n addMaybeValue(input, mutationInput, \"professionalKitchenEquipment\");\r\n addMaybeValue(input, mutationInput, \"deliveryTruckType\");\r\n addMaybeValue(input, mutationInput, \"dayAvailability\");\r\n addMaybeValue(input, mutationInput, \"eveningAvailability\");\r\n addMaybeValue(input, mutationInput, \"refrigerated\");\r\n addMaybeValue(input, mutationInput, \"canSharedRoad\");\r\n addMaybeValue(input, mutationInput, \"canHaveDriver\");\r\n addMaybeValue(input, mutationInput, \"email\");\r\n\r\n let result = await Apollo.instance.defaultClient.mutate({\r\n mutation: CreateAlert,\r\n variables: {\r\n input: mutationInput\r\n }\r\n });\r\n\r\n if (isConnected) {\r\n // Renew the token since we want the new alert in our\r\n await AuthentificationService.renewToken();\r\n }\r\n\r\n return result;\r\n}\r\n\r\nexport async function updateAlert(input) {\r\n let mutationInput = {\r\n alertId: input.alertId\r\n };\r\n\r\n addMaybeValue(input, mutationInput, \"category\");\r\n await addMaybeValue(input, mutationInput, \"address\", getAddressFromGooglePlace);\r\n addMaybeValue(input, mutationInput, \"radius\");\r\n addMaybeValue(input, mutationInput, \"professionalKitchenEquipment\");\r\n addMaybeValue(input, mutationInput, \"deliveryTruckType\");\r\n addMaybeValue(input, mutationInput, \"dayAvailability\");\r\n addMaybeValue(input, mutationInput, \"eveningAvailability\");\r\n addMaybeValue(input, mutationInput, \"refrigerated\");\r\n addMaybeValue(input, mutationInput, \"canSharedRoad\");\r\n addMaybeValue(input, mutationInput, \"canHaveDriver\");\r\n addMaybeValue(input, mutationInput, \"email\");\r\n\r\n if (Object.keys(mutationInput).length > 1) {\r\n let result = await Apollo.instance.defaultClient.mutate({\r\n mutation: UpdateAlert,\r\n variables: {\r\n input: mutationInput\r\n }\r\n });\r\n\r\n return result;\r\n }\r\n}\r\n\r\nexport async function deleteAlert(alertId, email) {\r\n let mutationInput = {\r\n alertId,\r\n email\r\n };\r\n\r\n let result = await Apollo.instance.defaultClient.mutate({\r\n mutation: DeleteAlert,\r\n variables: {\r\n input: mutationInput\r\n }\r\n });\r\n\r\n return result;\r\n}\r\n\r\nexport async function confirmAlert(alertId, email) {\r\n let mutationInput = {\r\n alertId,\r\n email\r\n };\r\n\r\n let result = await Apollo.instance.defaultClient.mutate({\r\n mutation: ConfirmAlert,\r\n variables: {\r\n input: mutationInput\r\n }\r\n });\r\n\r\n return result;\r\n}\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('validation-observer',{attrs:{\"slim\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ handleSubmit }){return [_c('form',{attrs:{\"novalidate\":\"\"},on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.onSubmit)}}},[_vm._t(\"default\")],2)]}}],null,true)})\n}\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!./s-form.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!./s-form.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./s-form.vue?vue&type=template&id=28d6b4d0\"\nimport script from \"./s-form.vue?vue&type=script&lang=js\"\nexport * from \"./s-form.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":""}