{"version":3,"sources":["webpack:///./src/utils/API/SystemConfigurationRepository.ts","webpack:///./src/components/vIngredientNutrientQuantityInputRow.vue?320c","webpack:///./src/models/Ingredient/IngredientMeasurementEnum.ts","webpack:///./src/components/vIngredientManagement.vue","webpack:///./src/components/vIngredientNutrientQuantityInputRow.vue","webpack:///./src/components/vIngredientNutrientQuantityInputRow.vue?369f","webpack:///./src/components/vIngredientNutrientQuantityInputRow.vue?56a8","webpack:///./src/components/vIngredientNutrientQuantityInputRow.vue?8d73","webpack:///./src/components/vIngredientManagement.vue?aad1","webpack:///./src/components/vIngredientManagement.vue?65cf","webpack:///./src/components/vIngredientManagement.vue?761a","webpack:///./src/components/vIngredientManagement.vue?8da5"],"names":["resource","fetchNutrientSourcesList","Repository","get","concat","withCredentials","updateNutrientSource","post","listNutrients","IngredientMeasurementEnum","render","_vm","this","_c","_self","_setupProxy","on","$event","preventDefault","submit","apply","arguments","staticClass","staticStyle","_v","_s","translations","directives","name","rawName","value","ingredient","expression","class","errors","has","attrs","domProps","target","composing","$set","first","quantityInUnitOfMeasurement","wrong","weightMeasurments","model","unitOfMeasurement","callback","$$v","ingredientMeasurementEnum","Milliliter","FluidOunce","invalid","densityOptions","searchCategoryDensities","categoryDensityId","_e","energy","unitOptions","nutrientUnitId","fat","saturatedFattyAcids","transFattyAcids","cholesterol","sodium","carbohydrate","fibre","protein","vitaminD","vitaminC","potassium","calcium","iron","monounsaturatedFats","polyunsaturatedFats","omega3","omega6","sugars","addedSugars","required","min_value","max_value","addMeasurement","_l","allMeasurements","measurement","key","indexOf","weightInGrams","removeMeasurement","id","subIngredients","caffeine","NutrientType","Caffeine","ash","Ash","water","Water","moisture","Moisture","totalSugarAlcohols","sugarAlcohols","erythritol","isomalt","mannitol","xylitol","lactitol","sorbitol","maltitol","unspecifiedSugarAlcohol","cancel","showWarningModal","staticRenderFns","isIndented","translationKey","nutrientModel","capitalizeFirstLetter","nutrientName","VIngredientNutrientQuantityInputRow","_Vue","_this","_classCallCheck","_len","length","args","Array","_key","_callSuper","_defineProperty","_inherits","_createClass","localizationState","string","charAt","toUpperCase","slice","$validator","$parent","Vue","__decorate","Prop","default","nutrientUnit","ingredientId","Component","computed","_objectSpread","mapState","state","LocalizationModule","component","vIngredientManagement","Gram","Ounce","searchQuery","_this2","densityId","debounce","IngredientsRepository","then","response","data","result","catch","error","$snotify","errorMessages","userVisibleMessage","energyUnits","fatUnits","satUnits","transUnits","cholUnits","sodUnits","carbUnits","fibUnits","sugUnits","protUnits","vitdUnits","potUnits","calcUnits","ironUnits","addedSugarsUnits","alcoholSugarUnits","vitcUnits","erythritolUnits","isomaltUnits","mannitolUnits","xylitolUnits","lactitolUnits","sorbitolUnits","maltitolUnits","unspecifiedUnits","monounsaturatedFatUnits","MonoUnsaturatedFats","polyunsaturatedFatUnits","PolyUnsaturatedFats","omega3Units","Omega3","omega6Units","Omega6","caffeineUnits","ashUnits","waterUnits","moistureUnits","_this3","nutrients","push","validateAll","specifiedSugarAlcohols","$emit","find","m","index","splice","nutrientType","additional","a","list","units","map","u","unit","sum","Number","toFixed","sugarAlcoholSum","_this4","SystemConfigurationRepository","preselectUnits","components","vModal"],"mappings":"kHAAA,gBAIMA,EAAW,aAEF,QACXC,yBAAwB,WACpB,OAAOC,OAAWC,IAAI,GAADC,OAAIJ,EAAQ,wBAAwB,CAACK,iBAAiB,KAE/EC,qBAAoB,SAACA,GACjB,OAAOJ,OAAWK,KAAK,GAADH,OAAIJ,EAAQ,yBAAyBM,EAAsB,CAACD,iBAAiB,KAEvGG,cAAa,WACT,OAAON,OAAWC,IAAI,GAADC,OAAIJ,EAAQ,kBAAkB,CAACK,iBAAiB,O,2DCd7E,W,yDCAO,IAAKI,EAAZ,2CAAYA,GACRA,IAAA,kBAAUA,IAAA,8BAAYA,IAAA,oBAAOA,IAAA,8BADjC,CAAYA,MAAyB,M,2CCArC,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,M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9C,EAASC,KAAKC,OAC/BiE,EAAKE,oBAIP1N,KAAKiJ,UAAYjJ,KAAKmB,WAAWwB,kBAC7B3C,KAAKmB,WAAWwB,kBAChB,GACJwG,OAAsBzG,wBAAwB,GAAI1C,KAAKiJ,WACpDG,MAAK,SAACC,GACLmE,EAAK/K,eAAiB4G,EAASC,KAAKC,UAErCC,OAAM,SAACC,GACFA,EAAMJ,SACRmE,EAAK9D,SAASD,MACZA,EAAMJ,SAASC,KAAKK,cAAc,GAAGC,oBAGpC4D,EAAK9D,SAASD,MAAM+D,EAAK1M,aAAavB,IAAI,yBAlkCb,CAASwI,QAezCC,eAAA,CAAPC,kB,kCACOD,eAAA,CAAPC,kB,gCAhBkBW,GAAqBZ,eAAA,CAXzCK,eAAU,CACTsF,WAAY,CACVC,cACAjH,uCAEF2B,SAAQC,EAAA,GACHC,eAAS,CACVhB,kBAAmB,SAACiB,GAAU,OAAKA,EAAMC,0BAI1BE,cC5B0X,MCQ3Y,I,UAAY,eACd,GACA9I,EACAuG,GACA,EACA,KACA,WACA,OAIa,gB,2CCnBf","file":"js/chunk-968455c2.e449e53d.js","sourcesContent":["import Repository from './Repository';\r\nimport { UpdateNutrientSource } from '@/models/NutrientSource/UpdateNutrientSource';\r\n\r\n\r\nconst resource = '/nutrients';\r\n\r\nexport default {\r\n fetchNutrientSourcesList() {\r\n return Repository.get(`${resource}/ListNutrientSources`, {withCredentials: true});\r\n },\r\n updateNutrientSource(updateNutrientSource: UpdateNutrientSource) {\r\n return Repository.post(`${resource}/updatenutrientsource`, updateNutrientSource, {withCredentials: true});\r\n },\r\n listNutrients() {\r\n return Repository.get(`${resource}/ListNutrients`, {withCredentials: true});\r\n }\r\n};\r\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vIngredientNutrientQuantityInputRow.vue?vue&type=style&index=0&id=b388299e&prod&scoped=true&lang=css\"","export enum IngredientMeasurementEnum {\r\n Gram = 1, Milliliter, Ounce, FluidOunce\r\n}\r\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-6\",staticStyle:{\"padding\":\"0 20px\"}},[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"ingr_modal_ingr_name\"))+\"\\n \"),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*\")])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.name),expression:\"ingredient.name\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingredientName') },attrs:{\"type\":\"text\",\"placeholder\":_vm.translations.get('ingr_modal_ingr_name_placeholder'),\"name\":\"ingredientName\",\"data-vv-as\":_vm.translations.get('ingr_modal_ingr_name')},domProps:{\"value\":(_vm.ingredient.name)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient, \"name\", $event.target.value)}}}),_c('div',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(\"ingredientName\")))])])])]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"form-group px-3\"},[_c('div',{staticClass:\"d-inline-block\"},[_c('label',{attrs:{\"for\":\"measurement-options\"}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"ingr_modal_nutrients_per\"))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.quantityInUnitOfMeasurement),expression:\"ingredient.quantityInUnitOfMeasurement\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"text-primary nutrients-per\",class:{ wrong: _vm.errors.has('nutrientsPer') },attrs:{\"value\":\"100\",\"name\":\"nutrientsPer\"},domProps:{\"value\":(_vm.ingredient.quantityInUnitOfMeasurement)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient, \"quantityInUnitOfMeasurement\", $event.target.value)}}})]),_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(\"nutrientsPer\")))])])]),_c('v-select',{staticClass:\"d-inline-block ml-3\",staticStyle:{\"width\":\"108px\"},attrs:{\"id\":\"measurement-options\",\"options\":_vm.weightMeasurments,\"clearable\":false,\"label\":\"name\",\"index\":\"id\",\"name\":\"ingr_weight\"},model:{value:(_vm.ingredient.unitOfMeasurement),callback:function ($$v) {_vm.$set(_vm.ingredient, \"unitOfMeasurement\", $$v)},expression:\"ingredient.unitOfMeasurement\"}})],1)]),(\n _vm.ingredient.unitOfMeasurement == _vm.ingredientMeasurementEnum.Milliliter ||\n _vm.ingredient.unitOfMeasurement == _vm.ingredientMeasurementEnum.FluidOunce\n )?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"form-group px-3\"},[_c('div',{staticClass:\"d-inline-block\",staticStyle:{\"vertical-align\":\"top\"}},[_c('label',{attrs:{\"for\":\"density\"}},[_vm._v(\"\\n \"+_vm._s(\"Ingredient density\")+\"\\n \")])]),_c('div',{staticClass:\"d-inline-block density-container\",attrs:{\"id\":\"density\"}},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"density-select\",class:{ invalid: _vm.errors.has('ingredient density') },attrs:{\"options\":_vm.densityOptions,\"filterable\":false,\"label\":\"category\",\"index\":\"id\",\"name\":\"ingredient density\"},on:{\"search\":_vm.searchCategoryDensities},model:{value:(_vm.ingredient.categoryDensityId),callback:function ($$v) {_vm.$set(_vm.ingredient, \"categoryDensityId\", $$v)},expression:\"ingredient.categoryDensityId\"}}),_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(\"ingredient density\")))])])],1)])]):_vm._e(),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-6\",staticStyle:{\"padding\":\"0 20px\"}},[_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_ene\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.energy.value),expression:\"ingredient.energy.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrEne') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrEne\",\"data-vv-as\":_vm.translations.get('ingr_ene')},domProps:{\"value\":(_vm.ingredient.energy.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.energy, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrEne_m') },attrs:{\"options\":_vm.unitOptions(0),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrEne_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.energy.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.energy, \"nutrientUnitId\", $$v)},expression:\"ingredient.energy.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrEne`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrEne_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_fat\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.fat.value),expression:\"ingredient.fat.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrFat') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrFat\",\"data-vv-as\":_vm.translations.get('ingr_fat')},domProps:{\"value\":(_vm.ingredient.fat.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.fat, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrFat_m') },attrs:{\"options\":_vm.unitOptions(1),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrFat_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.fat.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.fat, \"nutrientUnitId\", $$v)},expression:\"ingredient.fat.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrFat`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrFat_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_sat\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.saturatedFattyAcids.value),expression:\"ingredient.saturatedFattyAcids.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrSat') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrSat\",\"data-vv-as\":_vm.translations.get('ingr_sat')},domProps:{\"value\":(_vm.ingredient.saturatedFattyAcids.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.saturatedFattyAcids, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrSat_m') },attrs:{\"options\":_vm.unitOptions(2),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrSat_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.saturatedFattyAcids.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.saturatedFattyAcids, \"nutrientUnitId\", $$v)},expression:\"ingredient.saturatedFattyAcids.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrSat`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrSat_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_trans\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.transFattyAcids.value),expression:\"ingredient.transFattyAcids.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrTrans') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrTrans\",\"data-vv-as\":_vm.translations.get('ingr_trans')},domProps:{\"value\":(_vm.ingredient.transFattyAcids.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.transFattyAcids, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrTrans_m') },attrs:{\"options\":_vm.unitOptions(3),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrTrans_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.transFattyAcids.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.transFattyAcids, \"nutrientUnitId\", $$v)},expression:\"ingredient.transFattyAcids.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrTrans`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrTrans_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_chol\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.cholesterol.value),expression:\"ingredient.cholesterol.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrChol') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrChol\",\"data-vv-as\":_vm.translations.get('ingr_chol')},domProps:{\"value\":(_vm.ingredient.cholesterol.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.cholesterol, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrChol_m') },attrs:{\"options\":_vm.unitOptions(4),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrChol_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.cholesterol.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.cholesterol, \"nutrientUnitId\", $$v)},expression:\"ingredient.cholesterol.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrChol`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrChol_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_sod\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.sodium.value),expression:\"ingredient.sodium.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrSod') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrSod\",\"data-vv-as\":_vm.translations.get('ingr_sod')},domProps:{\"value\":(_vm.ingredient.sodium.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.sodium, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrSod_m') },attrs:{\"options\":_vm.unitOptions(5),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrSod_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.sodium.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.sodium, \"nutrientUnitId\", $$v)},expression:\"ingredient.sodium.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrSod`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrSod_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_carb\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.carbohydrate.value),expression:\"ingredient.carbohydrate.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrCarb') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrCarb\",\"data-vv-as\":_vm.translations.get('ingr_carb')},domProps:{\"value\":(_vm.ingredient.carbohydrate.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.carbohydrate, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrCarb_m') },attrs:{\"options\":_vm.unitOptions(6),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrCarb_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.carbohydrate.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.carbohydrate, \"nutrientUnitId\", $$v)},expression:\"ingredient.carbohydrate.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrCarb`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrCarb_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_fib\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.fibre.value),expression:\"ingredient.fibre.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrFib') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrFib\",\"data-vv-as\":_vm.translations.get('ingr_fib')},domProps:{\"value\":(_vm.ingredient.fibre.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.fibre, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrFib_m') },attrs:{\"options\":_vm.unitOptions(7),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrFib_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.fibre.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.fibre, \"nutrientUnitId\", $$v)},expression:\"ingredient.fibre.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrFib`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrFib_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_prot\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.protein.value),expression:\"ingredient.protein.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrProt') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrProt\",\"data-vv-as\":_vm.translations.get('ingr_prot')},domProps:{\"value\":(_vm.ingredient.protein.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.protein, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrProt_m') },attrs:{\"options\":_vm.unitOptions(9),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrProt_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.protein.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.protein, \"nutrientUnitId\", $$v)},expression:\"ingredient.protein.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrProt`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrProt_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_vitd\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.vitaminD.value),expression:\"ingredient.vitaminD.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrVitd') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrVitd\",\"data-vv-as\":_vm.translations.get('ingr_vitd')},domProps:{\"value\":(_vm.ingredient.vitaminD.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.vitaminD, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrVitd_m') },attrs:{\"options\":_vm.unitOptions(10),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrVitd_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.vitaminD.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.vitaminD, \"nutrientUnitId\", $$v)},expression:\"ingredient.vitaminD.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrVitd`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrVitd_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_vitc\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.vitaminC.value),expression:\"ingredient.vitaminC.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrVitc') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrVitc\",\"data-vv-as\":_vm.translations.get('ingr_vitc')},domProps:{\"value\":(_vm.ingredient.vitaminC.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.vitaminC, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrVitc_m') },attrs:{\"options\":_vm.unitOptions(16),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrVitc_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.vitaminC.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.vitaminC, \"nutrientUnitId\", $$v)},expression:\"ingredient.vitaminC.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrVitc`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrVitc_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_pot\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.potassium.value),expression:\"ingredient.potassium.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrPot') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrPot\",\"data-vv-as\":_vm.translations.get('ingr_pot')},domProps:{\"value\":(_vm.ingredient.potassium.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.potassium, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrPot_m') },attrs:{\"options\":_vm.unitOptions(11),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrPot_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.potassium.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.potassium, \"nutrientUnitId\", $$v)},expression:\"ingredient.potassium.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrPot`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrPot_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_calc\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.calcium.value),expression:\"ingredient.calcium.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrCalc') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrCalc\",\"data-vv-as\":_vm.translations.get('ingr_calc')},domProps:{\"value\":(_vm.ingredient.calcium.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.calcium, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrCalc_m') },attrs:{\"options\":_vm.unitOptions(12),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrCalc_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.calcium.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.calcium, \"nutrientUnitId\", $$v)},expression:\"ingredient.calcium.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrCalc`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrCalc_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_iron\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.iron.value),expression:\"ingredient.iron.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrIron') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrIron\",\"data-vv-as\":_vm.translations.get('ingr_iron')},domProps:{\"value\":(_vm.ingredient.iron.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.iron, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrIron_m') },attrs:{\"options\":_vm.unitOptions(13),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrIron_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.iron.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.iron, \"nutrientUnitId\", $$v)},expression:\"ingredient.iron.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrIron`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrIron_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_monounsaturated\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.monounsaturatedFats.value),expression:\"ingredient.monounsaturatedFats.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrMonounsaturated') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrMonounsaturated\",\"data-vv-as\":_vm.translations.get('ingr_monounsaturated')},domProps:{\"value\":(_vm.ingredient.monounsaturatedFats.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.monounsaturatedFats, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrMonounsaturated_m') },attrs:{\"options\":_vm.unitOptions(38),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrMonounsaturated_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.monounsaturatedFats.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.monounsaturatedFats, \"nutrientUnitId\", $$v)},expression:\"ingredient.monounsaturatedFats.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrMonounsaturated`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrMonounsaturated_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_polyunsaturated\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.polyunsaturatedFats.value),expression:\"ingredient.polyunsaturatedFats.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrPolyunsaturated') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrPolyunsaturated\",\"data-vv-as\":_vm.translations.get('ingr_polyunsaturated')},domProps:{\"value\":(_vm.ingredient.polyunsaturatedFats.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.polyunsaturatedFats, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrPolyunsaturated_m') },attrs:{\"options\":_vm.unitOptions(39),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrPolyunsaturated_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.polyunsaturatedFats.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.polyunsaturatedFats, \"nutrientUnitId\", $$v)},expression:\"ingredient.polyunsaturatedFats.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrPolyunsaturated`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrPolyunsaturated_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_omega3\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.omega3.value),expression:\"ingredient.omega3.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrOmega3') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrOmega3\",\"data-vv-as\":_vm.translations.get('ingr_omega3')},domProps:{\"value\":(_vm.ingredient.omega3.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.omega3, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrOmega3_m') },attrs:{\"options\":_vm.unitOptions(40),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrOmega3_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.omega3.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.omega3, \"nutrientUnitId\", $$v)},expression:\"ingredient.omega3.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrOmega3`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrOmega3_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_omega6\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.omega6.value),expression:\"ingredient.omega6.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrOmega6') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrOmega6\",\"data-vv-as\":_vm.translations.get('ingr_omega6')},domProps:{\"value\":(_vm.ingredient.omega6.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.omega6, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrOmega6_m') },attrs:{\"options\":_vm.unitOptions(41),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrOmega6_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.omega6.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.omega6, \"nutrientUnitId\", $$v)},expression:\"ingredient.omega6.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrOmega6`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrOmega6_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(\"TOTAL \"+_vm._s(_vm.translations.get(\"ingr_sug\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.sugars.value),expression:\"ingredient.sugars.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrSug') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrSug\",\"data-vv-as\":_vm.translations.get('ingr_sug')},domProps:{\"value\":(_vm.ingredient.sugars.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.sugars, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrSug_m') },attrs:{\"options\":_vm.unitOptions(8),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrSug_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.sugars.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.sugars, \"nutrientUnitId\", $$v)},expression:\"ingredient.sugars.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrSug`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrSug_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',{staticStyle:{\"margin-left\":\"50px\"}},[_vm._v(\"OF WHICH \"+_vm._s(_vm.translations.get(\"ingr_addsug\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\",staticStyle:{\"padding-left\":\"50px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.addedSugars.value),expression:\"ingredient.addedSugars.value\"},{name:\"validate\",rawName:\"v-validate\",value:({\n required: true,\n min_value: 0,\n max_value: _vm.ingredient.sugars.value,\n }),expression:\"{\\n required: true,\\n min_value: 0,\\n max_value: ingredient.sugars.value,\\n }\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrAddsug') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrAddsug\",\"data-vv-as\":_vm.translations.get('ingr_addsug')},domProps:{\"value\":(_vm.ingredient.addedSugars.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.addedSugars, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrAddsug_m') },attrs:{\"options\":_vm.unitOptions(14),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrAddsug_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.addedSugars.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.addedSugars, \"nutrientUnitId\", $$v)},expression:\"ingredient.addedSugars.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\",staticStyle:{\"padding-left\":\"50px\"}},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrAddsug`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrАddsug_m`)))])])])])])])]),_c('div',{staticClass:\"col-md-6\",staticStyle:{\"padding\":\"0 20px\"}},[_c('div',{staticClass:\"form-row\",staticStyle:{\"align-items\":\"center\"}},[_c('div',{staticClass:\"col-md-12\"},[_c('h3',[_vm._v(_vm._s(_vm.translations.get(\"ingr_modal_measurements\")))])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('button',{staticClass:\"btn btn-primary btn-small\",on:{\"click\":function($event){$event.preventDefault();return _vm.addMeasurement.apply(null, arguments)}}},[_c('i',{staticClass:\"fa fa-plus\"}),_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"ingr_modal_add_measurement\"))+\"\\n \")])])]),_c('hr'),_c('div',{staticClass:\"measurements-container\"},_vm._l((_vm.ingredient.allMeasurements),function(measurement){return _c('div',{key:'measurement' + _vm.ingredient.allMeasurements.indexOf(measurement),staticClass:\"form-row measurement\"},[_c('div',{staticClass:\"col-md-6 col-sm-12 col-xs-12\"},[_c('div',{staticClass:\"form-group form-group-default\",class:{\n 'has-error': _vm.errors.has(\n `measurement${_vm.ingredient.allMeasurements.indexOf(\n measurement\n )}`\n ),\n }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_modal_measurement_name\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(measurement.name),expression:\"measurement.name\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"form-control\",staticStyle:{\"margin\":\"4px 0\"},attrs:{\"type\":\"text\",\"name\":`measurement${_vm.ingredient.allMeasurements.indexOf(\n measurement\n )}`,\"data-vv-as\":_vm.translations.get('ingr_modal_measurement_name')},domProps:{\"value\":(measurement.name)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(measurement, \"name\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-md-4 col-sm-10 col-xs-10\"},[_c('div',{staticClass:\"form-group form-group-default\",class:{\n 'has-error': _vm.errors.has(\n `measurementWeight${_vm.ingredient.allMeasurements.indexOf(\n measurement\n )}`\n ),\n }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_modal_measurement_weight\"))+\"\\n (g)\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(measurement.weightInGrams),expression:\"measurement.weightInGrams\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",staticStyle:{\"margin\":\"4px 0\"},attrs:{\"type\":\"text\",\"name\":`measurementWeight${_vm.ingredient.allMeasurements.indexOf(\n measurement\n )}`,\"data-vv-as\":_vm.translations.get('ingr_modal_measurement_weight')},domProps:{\"value\":(measurement.weightInGrams)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(measurement, \"weightInGrams\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-md-2 col-sm-2 col-xs-2\"},[_c('button',{staticClass:\"btn btn-link btn-block\",staticStyle:{\"padding\":\"15px 0\"},on:{\"click\":function($event){$event.preventDefault();return _vm.removeMeasurement(measurement.id)}}},[_c('i',{staticClass:\"fa fa-trash\"})])]),(\n _vm.errors.has(\n `measurement${_vm.ingredient.allMeasurements.indexOf(\n measurement\n )}`\n )\n )?_c('div',{staticClass:\"error col-12\"},[_vm._v(\"\\n \"+_vm._s(_vm.errors.first(\n `measurement${_vm.ingredient.allMeasurements.indexOf(\n measurement\n )}`\n ))+\"\\n \")]):_vm._e(),(\n _vm.errors.has(\n `measurementWeight${_vm.ingredient.allMeasurements.indexOf(\n measurement\n )}`\n )\n )?_c('div',{staticClass:\"error col-12\"},[_vm._v(\"\\n \"+_vm._s(_vm.errors.first(\n `measurementWeight${_vm.ingredient.allMeasurements.indexOf(\n measurement\n )}`\n ))+\"\\n \")]):_vm._e()])}),0),_c('div',{staticClass:\"additional-ingredients-container\"},[_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('h3',[_vm._v(_vm._s(_vm.translations.get(\"ingr_table_title\")))]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.subIngredients),expression:\"ingredient.subIngredients\"}],staticClass:\"form-control\",attrs:{\"rows\":\"5\",\"type\":\"text\"},domProps:{\"value\":(_vm.ingredient.subIngredients)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient, \"subIngredients\", $event.target.value)}}})])])]),_c('v-ingredient-nutrient-quantity-input-row',{attrs:{\"nutrient-model\":_vm.ingredient.caffeine,\"nutrient-name\":\"caffeine\",\"translation-key\":\"ingr_caffeine\",\"unit-options\":_vm.unitOptions(_vm.NutrientType.Caffeine)}}),_c('v-ingredient-nutrient-quantity-input-row',{attrs:{\"nutrient-model\":_vm.ingredient.ash,\"nutrient-name\":\"ash\",\"translation-key\":\"ingr_ash\",\"unit-options\":_vm.unitOptions(_vm.NutrientType.Ash)}}),_c('v-ingredient-nutrient-quantity-input-row',{attrs:{\"nutrient-model\":_vm.ingredient.water,\"nutrient-name\":\"water\",\"translation-key\":\"ingr_water\",\"unit-options\":_vm.unitOptions(_vm.NutrientType.Water)}}),_c('v-ingredient-nutrient-quantity-input-row',{attrs:{\"nutrient-model\":_vm.ingredient.moisture,\"nutrient-name\":\"moisture\",\"translation-key\":\"ingr_moisture\",\"unit-options\":_vm.unitOptions(_vm.NutrientType.Moisture)}})],1)]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-6\",staticStyle:{\"padding\":\"0 20px\"}},[_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"ingr_alcsug\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\"},[_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrAlcsug') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"disabled\":true,\"name\":\"ingrAlcsug\",\"data-vv-as\":_vm.translations.get('ingr_alcsug')},domProps:{\"value\":_vm.totalSugarAlcohols}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrAlcsug_m') },attrs:{\"options\":_vm.unitOptions(15),\"label\":\"name\",\"disabled\":true,\"index\":\"id\",\"name\":\"ingrAlcsug_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.sugarAlcohols.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.sugarAlcohols, \"nutrientUnitId\", $$v)},expression:\"ingredient.sugarAlcohols.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrАlcsug`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrАlcsug_m`)))])])])])])])]),_c('div',{staticClass:\"col-md-6\",staticStyle:{\"padding\":\"0 20px\"}})]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-6\",staticStyle:{\"padding\":\"0 20px\"}},[_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',{staticStyle:{\"margin-left\":\"50px\"}},[_vm._v(\"ERYTHRITOL\")]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\",staticStyle:{\"padding-left\":\"50px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.erythritol.value),expression:\"ingredient.erythritol.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrEryth') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrEryth\",\"data-vv-as\":\"Erythritol\"},domProps:{\"value\":(_vm.ingredient.erythritol.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.erythritol, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrEryth_m') },attrs:{\"options\":_vm.unitOptions(30),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrEryth_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.erythritol.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.erythritol, \"nutrientUnitId\", $$v)},expression:\"ingredient.erythritol.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\",staticStyle:{\"padding-left\":\"50px\"}},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrEryth`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrEryth_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',{staticStyle:{\"margin-left\":\"50px\"}},[_vm._v(\"ISOMALT\")]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\",staticStyle:{\"padding-left\":\"50px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.isomalt.value),expression:\"ingredient.isomalt.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrIso') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrIso\",\"data-vv-as\":\"Isomalt\"},domProps:{\"value\":(_vm.ingredient.isomalt.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.isomalt, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrIso_m') },attrs:{\"options\":_vm.unitOptions(31),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrIso_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.isomalt.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.isomalt, \"nutrientUnitId\", $$v)},expression:\"ingredient.isomalt.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\",staticStyle:{\"padding-left\":\"50px\"}},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrIso`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrIso_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',{staticStyle:{\"margin-left\":\"50px\"}},[_vm._v(\"MANNITOL\")]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\",staticStyle:{\"padding-left\":\"50px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.mannitol.value),expression:\"ingredient.mannitol.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrMann') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrMann\",\"data-vv-as\":\"Mannitol\"},domProps:{\"value\":(_vm.ingredient.mannitol.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.mannitol, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrMann_m') },attrs:{\"options\":_vm.unitOptions(33),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrMann_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.mannitol.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.mannitol, \"nutrientUnitId\", $$v)},expression:\"ingredient.mannitol.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\",staticStyle:{\"padding-left\":\"50px\"}},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrMann`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrMann_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',{staticStyle:{\"margin-left\":\"50px\"}},[_vm._v(\"XYLITOL\")]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\",staticStyle:{\"padding-left\":\"50px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.xylitol.value),expression:\"ingredient.xylitol.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrXyl') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrXyl\",\"data-vv-as\":\"Xylitol\"},domProps:{\"value\":(_vm.ingredient.xylitol.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.xylitol, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrXyl_m') },attrs:{\"options\":_vm.unitOptions(35),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrXyl_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.xylitol.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.xylitol, \"nutrientUnitId\", $$v)},expression:\"ingredient.xylitol.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\",staticStyle:{\"padding-left\":\"50px\"}},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrXyl`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrXyl_m`)))])])])])])])]),_c('div',{staticClass:\"col-md-6\",staticStyle:{\"padding\":\"0 20px\"}},[_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',{staticStyle:{\"margin-left\":\"50px\"}},[_vm._v(\"LACTITOL\")]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\",staticStyle:{\"padding-left\":\"50px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.lactitol.value),expression:\"ingredient.lactitol.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrLac') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrLac\",\"data-vv-as\":\"Lactitol\"},domProps:{\"value\":(_vm.ingredient.lactitol.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.lactitol, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrLac_m') },attrs:{\"options\":_vm.unitOptions(32),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrLac_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.lactitol.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.lactitol, \"nutrientUnitId\", $$v)},expression:\"ingredient.lactitol.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\",staticStyle:{\"padding-left\":\"50px\"}},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrLac`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrLac_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',{staticStyle:{\"margin-left\":\"50px\"}},[_vm._v(\"SORBITOL\")]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\",staticStyle:{\"padding-left\":\"50px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.sorbitol.value),expression:\"ingredient.sorbitol.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrSor') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrSor\",\"data-vv-as\":\"Sorbitol\"},domProps:{\"value\":(_vm.ingredient.sorbitol.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.sorbitol, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrSor_m') },attrs:{\"options\":_vm.unitOptions(34),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrSor\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.sorbitol.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.sorbitol, \"nutrientUnitId\", $$v)},expression:\"ingredient.sorbitol.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\",staticStyle:{\"padding-left\":\"50px\"}},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrSor`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrSor_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',{staticStyle:{\"margin-left\":\"50px\"}},[_vm._v(\"MALTITOL\")]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\",staticStyle:{\"padding-left\":\"50px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.maltitol.value),expression:\"ingredient.maltitol.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrMal') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrMal\",\"data-vv-as\":\"Maltitol\"},domProps:{\"value\":(_vm.ingredient.maltitol.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.maltitol, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrMal_m') },attrs:{\"options\":_vm.unitOptions(36),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrMal_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.ingredient.maltitol.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.ingredient.maltitol, \"nutrientUnitId\", $$v)},expression:\"ingredient.maltitol.nutrientUnitId\"}})],1),_c('div',{staticClass:\"col-12\",staticStyle:{\"padding-left\":\"50px\"}},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrMal`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrMal_m`)))])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',{staticStyle:{\"margin-left\":\"50px\"}},[_vm._v(_vm._s(_vm.translations.get(\"unspecified-sug-alch\")))]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-7\",staticStyle:{\"padding-left\":\"50px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ingredient.unspecifiedSugarAlcohol.value),expression:\"ingredient.unspecifiedSugarAlcohol.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has('ingrUnspecified') },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":\"ingrUnspecified\",\"data-vv-as\":_vm.translations.get('unspecified-sug-alch')},domProps:{\"value\":(_vm.ingredient.unspecifiedSugarAlcohol.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.ingredient.unspecifiedSugarAlcohol, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has('ingrUnspecified_m') },attrs:{\"options\":_vm.unitOptions(37),\"label\":\"name\",\"index\":\"id\",\"name\":\"ingrUnspecified_m\",\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(\n _vm.ingredient.unspecifiedSugarAlcohol.nutrientUnitId\n ),callback:function ($$v) {_vm.$set(_vm.ingredient.unspecifiedSugarAlcohol, \"nutrientUnitId\", $$v)},expression:\"\\n ingredient.unspecifiedSugarAlcohol.nutrientUnitId\\n \"}})],1),_c('div',{staticClass:\"col-12\",staticStyle:{\"padding-left\":\"50px\"}},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrUnspecified`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingrUnspecified_m`)))])])])])])])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-6\"},[_c('button',{staticClass:\"btn btn-primary btn-cons m-t-10 btn-block\",attrs:{\"type\":\"submit\"}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"save\"))+\"\\n \")])]),_c('div',{staticClass:\"col-md-6\"},[_c('button',{staticClass:\"btn btn-cons m-t-10 btn-block\",attrs:{\"type\":\"reset\"},on:{\"click\":_vm.cancel}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"cancel\"))+\"\\n \")])])]),_c('vModal',{attrs:{\"size\":'s',\"modal-title\":_vm.translations.get('alc-calc-warning'),\"show\":_vm.showWarningModal},on:{\"cancelModal\":function($event){_vm.showWarningModal = false}}},[_c('form',[_c('h5',{staticClass:\"p-2 pb-0 m-0\"},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"confirm-calculation-alc\"))+\".\\n \")]),_c('h5',{staticClass:\"pl-2 mb-4 mt-0\"},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"alc-calculate-proceed\"))+\"?\\n \")]),_c('button',{staticClass:\"btn btn-default\",on:{\"click\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"common-proceed\"))+\"\\n \")]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){$event.preventDefault();_vm.showWarningModal = false}}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"cancel\"))+\"\\n \")])])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group\",staticStyle:{\"width\":\"100%\"}},[_c('label',{class:_vm.isIndented ? 'indented-label' : false},[_vm._v(_vm._s(_vm.translations.get(_vm.translationKey)))]),_c('div',{staticClass:\"form-row\"},[_c('div',{class:`col-7 ${_vm.isIndented ? 'indented-div' : ''}`},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.nutrientModel.value),expression:\"nutrientModel.value\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",class:{ 'is-invalid': _vm.errors.has(`ingr${_vm.capitalizeFirstLetter(_vm.nutrientName)}`) },staticStyle:{\"height\":\"100%\"},attrs:{\"type\":\"text\",\"name\":`ingr${_vm.capitalizeFirstLetter(_vm.nutrientName)}`,\"data-vv-as\":_vm.translations.get(_vm.translationKey)},domProps:{\"value\":(_vm.nutrientModel.value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.nutrientModel, \"value\", $event.target.value)}}})]),_c('div',{staticClass:\"col-5\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],class:{ invalid: _vm.errors.has(`ingr${_vm.capitalizeFirstLetter(_vm.nutrientName)}_m`) },attrs:{\"options\":_vm.unitOptions,\"label\":\"name\",\"index\":\"id\",\"name\":`ingr${_vm.capitalizeFirstLetter(_vm.nutrientName)}_m`,\"data-vv-as\":_vm.translations.get('ingr_measurement')},model:{value:(_vm.nutrientModel.nutrientUnitId),callback:function ($$v) {_vm.$set(_vm.nutrientModel, \"nutrientUnitId\", $$v)},expression:\"nutrientModel.nutrientUnitId\"}})],1),_c('div',{class:`col-12 ${_vm.isIndented ? 'indented-div' : ''}`},[_c('span',[_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingr${_vm.capitalizeFirstLetter(_vm.nutrientName)}`)))]),_c('small',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errors.first(`ingr${_vm.capitalizeFirstLetter(_vm.nutrientName)}_m`)))])])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\r\nimport { mapState } from \"vuex\";\r\nimport { LocalizationState } from \"@/store/modules/LocalizationModule\";\r\nimport { UnitOption } from \"@/models/Ingredient/UnitOption\";\r\nimport { Nutrient } from \"@/models/Ingredient/Nutrient\";\r\n\r\n@Component({\r\n computed: {\r\n ...mapState({\r\n localizationState: (state: any) => state.LocalizationModule,\r\n }),\r\n },\r\n})\r\nexport default class VIngredientNutrientQuantityInputRow extends Vue {\r\n @Prop({\r\n default: {\r\n id: 0,\r\n nutrientUnit: null,\r\n value: 0,\r\n nutrientUnitId: 0,\r\n ingredientId: 0\r\n }\r\n }) nutrientModel: Nutrient;\r\n @Prop() nutrientName: string;\r\n @Prop() translationKey: string;\r\n @Prop() unitOptions: UnitOption[];\r\n @Prop({ default: false }) isIndented: boolean;\r\n\r\n localizationState: LocalizationState;\r\n\r\n get translations() {\r\n return this.localizationState.translations;\r\n }\r\n\r\n capitalizeFirstLetter(string: string) {\r\n return string.charAt(0).toUpperCase() + string.slice(1);\r\n }\r\n\r\n created() {\r\n this.$validator = this.$parent.$validator;\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vIngredientNutrientQuantityInputRow.vue?vue&type=script&lang=ts\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vIngredientNutrientQuantityInputRow.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./vIngredientNutrientQuantityInputRow.vue?vue&type=template&id=b388299e&scoped=true\"\nimport script from \"./vIngredientNutrientQuantityInputRow.vue?vue&type=script&lang=ts\"\nexport * from \"./vIngredientNutrientQuantityInputRow.vue?vue&type=script&lang=ts\"\nimport style0 from \"./vIngredientNutrientQuantityInputRow.vue?vue&type=style&index=0&id=b388299e&prod&scoped=true&lang=css\"\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 \"b388299e\",\n null\n \n)\n\nexport default component.exports","\r\nimport { Vue, Component, Prop } from \"vue-property-decorator\";\r\nimport { Ingredient } from \"../models/Ingredient/Ingredient\";\r\nimport { mapState } from \"vuex\";\r\nimport { NutrientType } from \"../models/Ingredient/NutrientType\";\r\nimport { UnitOption } from \"@/models/Ingredient/UnitOption\";\r\nimport { NutrientUnitList } from \"../models/Ingredient/NutrientUnitList\";\r\nimport { IngredientMeasurementEnum } from \"@/models/Ingredient/IngredientMeasurementEnum\";\r\nimport SystemConfigurationRepository from \"../utils/API/SystemConfigurationRepository\";\r\nimport IngredientsRepository from \"@/utils/API/IngredientsRepository\";\r\nimport { debounce } from \"@/utils/Helpers\";\r\nimport vModal from \"@/components/vModal.vue\";\r\nimport VIngredientNutrientQuantityInputRow from \"@/components/vIngredientNutrientQuantityInputRow.vue\";\r\n\r\ntype SelectObj = { id: number; name: string };\r\ntype DensityObj = { id: number; category: string };\r\n\r\n@Component({\r\n components: {\r\n vModal,\r\n VIngredientNutrientQuantityInputRow\r\n },\r\n computed: {\r\n ...mapState({\r\n localizationState: (state: any) => state.LocalizationModule,\r\n }),\r\n },\r\n})\r\nexport default class vIngredientManagement extends Vue {\r\n weightMeasurments: SelectObj[] = [\r\n { id: IngredientMeasurementEnum.Gram, name: \"g\" },\r\n { id: IngredientMeasurementEnum.Milliliter, name: \"ml\" },\r\n { id: IngredientMeasurementEnum.Ounce, name: \"oz\" },\r\n { id: IngredientMeasurementEnum.FluidOunce, name: \"fl. oz\" },\r\n ];\r\n densityOptions: DensityObj[] = [];\r\n densitySearchTerm: string = \"\";\r\n densityId: number | string = \"\";\r\n showWarningModal = false;\r\n // specifiedSugarAlcohols: number;\r\n\r\n localizationState: any;\r\n\r\n @Prop() ingredient!: Ingredient;\r\n @Prop() editMode!: Boolean;\r\n\r\n nutrients: NutrientUnitList[] = [];\r\n NutrientType = NutrientType;\r\n\r\n /**\r\n * Make ingredient enum available in template, the scope of the template is limited to the component instance members.\r\n */\r\n public get ingredientMeasurementEnum(): typeof IngredientMeasurementEnum {\r\n return IngredientMeasurementEnum;\r\n }\r\n\r\n /**\r\n * Method for fetching ingredient density options based on measurement\r\n */\r\n searchCategoryDensities(searchQuery: string) {\r\n // Check if the density category has changed and update the value so that it is available as a dropdown option\r\n this.densityId = this.ingredient.categoryDensityId\r\n ? this.ingredient.categoryDensityId\r\n : \"\";\r\n debounce(() => {\r\n IngredientsRepository.searchCategoryDensities(searchQuery, this.densityId)\r\n .then((response: any) => {\r\n this.densityOptions = response.data.result;\r\n })\r\n .catch((error) => {\r\n if (error.response) {\r\n this.$snotify.error(\r\n error.response.data.errorMessages[0].userVisibleMessage\r\n );\r\n }\r\n else this.$snotify.error(this.translations.get(\"network-error\"));\r\n });\r\n }, 600);\r\n }\r\n /**\r\n * Method for preselecting units in the modal if it's edit mode or the first unit if not or not present\r\n */\r\n preselectUnits() {\r\n let energyUnits = this.unitOptions(0);\r\n if (this.ingredient.energy && energyUnits) {\r\n if (this.ingredient.energy.nutrientUnitId === 0) {\r\n this.ingredient.energy.nutrientUnitId = energyUnits[0].id;\r\n }\r\n }\r\n\r\n let fatUnits = this.unitOptions(1);\r\n if (this.ingredient.fat && fatUnits) {\r\n if (this.ingredient.fat.nutrientUnitId === 0) {\r\n this.ingredient.fat.nutrientUnitId = fatUnits[0].id;\r\n }\r\n }\r\n\r\n let satUnits = this.unitOptions(2);\r\n if (this.ingredient.saturatedFattyAcids && satUnits) {\r\n if (this.ingredient.saturatedFattyAcids.nutrientUnitId === 0) {\r\n this.ingredient.saturatedFattyAcids.nutrientUnitId = satUnits[0].id;\r\n }\r\n }\r\n\r\n let transUnits = this.unitOptions(3);\r\n if (this.ingredient.transFattyAcids && transUnits) {\r\n if (this.ingredient.transFattyAcids.nutrientUnitId === 0) {\r\n this.ingredient.transFattyAcids.nutrientUnitId = transUnits[0].id;\r\n }\r\n }\r\n\r\n let cholUnits = this.unitOptions(4);\r\n if (this.ingredient.cholesterol && cholUnits) {\r\n if (this.ingredient.cholesterol.nutrientUnitId === 0) {\r\n this.ingredient.cholesterol.nutrientUnitId = cholUnits[0].id;\r\n }\r\n }\r\n\r\n let sodUnits = this.unitOptions(5);\r\n if (this.ingredient.sodium && sodUnits) {\r\n if (this.ingredient.sodium.nutrientUnitId === 0) {\r\n this.ingredient.sodium.nutrientUnitId = sodUnits[0].id;\r\n }\r\n }\r\n\r\n let carbUnits = this.unitOptions(6);\r\n if (this.ingredient.carbohydrate && carbUnits) {\r\n if (this.ingredient.carbohydrate.nutrientUnitId === 0) {\r\n this.ingredient.carbohydrate.nutrientUnitId = carbUnits[0].id;\r\n }\r\n }\r\n\r\n let fibUnits = this.unitOptions(7);\r\n if (this.ingredient.fibre && fibUnits) {\r\n if (this.ingredient.fibre.nutrientUnitId === 0) {\r\n this.ingredient.fibre.nutrientUnitId = fibUnits[0].id;\r\n }\r\n }\r\n\r\n let sugUnits = this.unitOptions(8);\r\n if (this.ingredient.sugars && sugUnits) {\r\n if (this.ingredient.sugars.nutrientUnitId === 0) {\r\n this.ingredient.sugars.nutrientUnitId = sugUnits[0].id;\r\n }\r\n }\r\n\r\n let protUnits = this.unitOptions(9);\r\n if (this.ingredient.protein && protUnits) {\r\n if (this.ingredient.protein.nutrientUnitId === 0) {\r\n this.ingredient.protein.nutrientUnitId = protUnits[0].id;\r\n }\r\n }\r\n\r\n let vitdUnits = this.unitOptions(10);\r\n if (this.ingredient.vitaminD && vitdUnits) {\r\n if (this.ingredient.vitaminD.nutrientUnitId === 0) {\r\n this.ingredient.vitaminD.nutrientUnitId = vitdUnits[0].id;\r\n }\r\n }\r\n\r\n let potUnits = this.unitOptions(11);\r\n if (this.ingredient.potassium && potUnits) {\r\n if (this.ingredient.potassium.nutrientUnitId === 0) {\r\n this.ingredient.potassium.nutrientUnitId = potUnits[0].id;\r\n }\r\n }\r\n\r\n let calcUnits = this.unitOptions(12);\r\n if (this.ingredient.calcium && calcUnits) {\r\n if (this.ingredient.calcium.nutrientUnitId === 0) {\r\n this.ingredient.calcium.nutrientUnitId = calcUnits[0].id;\r\n }\r\n }\r\n\r\n let ironUnits = this.unitOptions(13);\r\n if (this.ingredient.iron && ironUnits) {\r\n if (this.ingredient.iron.nutrientUnitId === 0) {\r\n this.ingredient.iron.nutrientUnitId = ironUnits[0].id;\r\n }\r\n }\r\n\r\n let addedSugarsUnits = this.unitOptions(14);\r\n if (this.ingredient.addedSugars && addedSugarsUnits) {\r\n if (this.ingredient.addedSugars.nutrientUnitId === 0) {\r\n this.ingredient.addedSugars.nutrientUnitId = addedSugarsUnits[0].id;\r\n }\r\n }\r\n\r\n let alcoholSugarUnits = this.unitOptions(15);\r\n if (this.ingredient.sugarAlcohols && alcoholSugarUnits.length) {\r\n if (this.ingredient.sugarAlcohols.nutrientUnitId === 0) {\r\n this.ingredient.sugarAlcohols.nutrientUnitId = alcoholSugarUnits[0].id;\r\n }\r\n }\r\n\r\n let vitcUnits = this.unitOptions(16);\r\n if (this.ingredient.vitaminC && vitcUnits) {\r\n if (this.ingredient.vitaminC.nutrientUnitId === 0) {\r\n this.ingredient.vitaminC.nutrientUnitId = vitcUnits[0].id;\r\n }\r\n }\r\n\r\n let erythritolUnits = this.unitOptions(30);\r\n if (this.ingredient.erythritol && erythritolUnits) {\r\n if (this.ingredient.erythritol.nutrientUnitId === 0) {\r\n this.ingredient.erythritol.nutrientUnitId = erythritolUnits[0].id;\r\n }\r\n }\r\n\r\n let isomaltUnits = this.unitOptions(31);\r\n if (this.ingredient.isomalt && isomaltUnits) {\r\n if (this.ingredient.isomalt.nutrientUnitId === 0) {\r\n this.ingredient.isomalt.nutrientUnitId = isomaltUnits[0].id;\r\n }\r\n }\r\n\r\n let mannitolUnits = this.unitOptions(33);\r\n if (this.ingredient.mannitol && mannitolUnits) {\r\n if (this.ingredient.mannitol.nutrientUnitId === 0) {\r\n this.ingredient.mannitol.nutrientUnitId = mannitolUnits[0].id;\r\n }\r\n }\r\n\r\n let xylitolUnits = this.unitOptions(35);\r\n if (this.ingredient.xylitol && xylitolUnits) {\r\n if (this.ingredient.xylitol.nutrientUnitId === 0) {\r\n this.ingredient.xylitol.nutrientUnitId = xylitolUnits[0].id;\r\n }\r\n }\r\n\r\n let lactitolUnits = this.unitOptions(32);\r\n if (this.ingredient.lactitol && lactitolUnits) {\r\n if (this.ingredient.lactitol.nutrientUnitId === 0) {\r\n this.ingredient.lactitol.nutrientUnitId = lactitolUnits[0].id;\r\n }\r\n }\r\n\r\n let sorbitolUnits = this.unitOptions(34);\r\n if (this.ingredient.sorbitol && sorbitolUnits) {\r\n if (this.ingredient.sorbitol.nutrientUnitId === 0) {\r\n this.ingredient.sorbitol.nutrientUnitId = sorbitolUnits[0].id;\r\n }\r\n }\r\n\r\n let maltitolUnits = this.unitOptions(36);\r\n if (this.ingredient.maltitol && maltitolUnits) {\r\n if (this.ingredient.maltitol.nutrientUnitId === 0) {\r\n this.ingredient.maltitol.nutrientUnitId = maltitolUnits[0].id;\r\n }\r\n }\r\n\r\n let unspecifiedUnits = this.unitOptions(37);\r\n if (this.ingredient.unspecifiedSugarAlcohol && unspecifiedUnits) {\r\n if (this.ingredient.unspecifiedSugarAlcohol.nutrientUnitId === 0) {\r\n this.ingredient.unspecifiedSugarAlcohol.nutrientUnitId =\r\n unspecifiedUnits[0].id;\r\n }\r\n }\r\n\r\n let monounsaturatedFatUnits = this.unitOptions(NutrientType.MonoUnsaturatedFats);\r\n if (this.ingredient.monounsaturatedFats && monounsaturatedFatUnits) {\r\n if (this.ingredient.monounsaturatedFats.nutrientUnitId === 0) {\r\n this.ingredient.monounsaturatedFats.nutrientUnitId = monounsaturatedFatUnits[0].id;\r\n }\r\n }\r\n\r\n let polyunsaturatedFatUnits = this.unitOptions(NutrientType.PolyUnsaturatedFats);\r\n if (this.ingredient.polyunsaturatedFats && polyunsaturatedFatUnits) {\r\n if (this.ingredient.polyunsaturatedFats.nutrientUnitId === 0) {\r\n this.ingredient.polyunsaturatedFats.nutrientUnitId = polyunsaturatedFatUnits[0].id;\r\n }\r\n }\r\n\r\n let omega3Units = this.unitOptions(NutrientType.Omega3);\r\n if (this.ingredient.omega3 && omega3Units) {\r\n if (this.ingredient.omega3.nutrientUnitId === 0) {\r\n this.ingredient.omega3.nutrientUnitId = omega3Units[0].id;\r\n }\r\n }\r\n\r\n let omega6Units = this.unitOptions(NutrientType.Omega6);\r\n if (this.ingredient.omega6 && omega6Units) {\r\n if (this.ingredient.omega6.nutrientUnitId === 0) {\r\n this.ingredient.omega6.nutrientUnitId = omega6Units[0].id;\r\n }\r\n }\r\n\r\n // TODO: Uncomment once mono/poly/omega3/omega6 and labels are added to the system. This is low prio.\r\n // let biotinUnits = this.unitOptions(NutrientType.Biotin);\r\n // if (this.ingredient.biotin && biotinUnits) {\r\n // if (this.ingredient.biotin.nutrientUnitId === 0) {\r\n // this.ingredient.biotin.nutrientUnitId = biotinUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let cholineUnits = this.unitOptions(NutrientType.Choline);\r\n // if (this.ingredient.choline && cholineUnits) {\r\n // if (this.ingredient.choline.nutrientUnitId === 0) {\r\n // this.ingredient.choline.nutrientUnitId = cholineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let folateUnits = this.unitOptions(NutrientType.Folate);\r\n // if (this.ingredient.folate && folateUnits) {\r\n // if (this.ingredient.folate.nutrientUnitId === 0) {\r\n // this.ingredient.folate.nutrientUnitId = folateUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let folateDfeUnits = this.unitOptions(NutrientType.FolateDfe);\r\n // if (this.ingredient.folateDfe && folateDfeUnits) {\r\n // if (this.ingredient.folateDfe.nutrientUnitId === 0) {\r\n // this.ingredient.folateDfe.nutrientUnitId = folateDfeUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let niacinUnits = this.unitOptions(NutrientType.Niacin);\r\n // if (this.ingredient.niacin && niacinUnits) {\r\n // if (this.ingredient.niacin.nutrientUnitId === 0) {\r\n // this.ingredient.niacin.nutrientUnitId = niacinUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let niacinEqUnits = this.unitOptions(NutrientType.NiacinEq);\r\n // if (this.ingredient.niacinEq && niacinEqUnits) {\r\n // if (this.ingredient.niacinEq.nutrientUnitId === 0) {\r\n // this.ingredient.niacinEq.nutrientUnitId = niacinEqUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let niacinVitb3EqUnits = this.unitOptions(NutrientType.NiacinVitb3Eq);\r\n // if (this.ingredient.niacinVitb3Eq && niacinVitb3EqUnits) {\r\n // if (this.ingredient.niacinVitb3Eq.nutrientUnitId === 0) {\r\n // this.ingredient.niacinVitb3Eq.nutrientUnitId = niacinVitb3EqUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let pantothenicAcitUnits = this.unitOptions(NutrientType.PantothenicAcid);\r\n // if (this.ingredient.pantothenicAcid && pantothenicAcitUnits) {\r\n // if (this.ingredient.pantothenicAcid.nutrientUnitId === 0) {\r\n // this.ingredient.pantothenicAcid.nutrientUnitId = pantothenicAcitUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let riboflavinUnits = this.unitOptions(NutrientType.Riboflavin);\r\n // if (this.ingredient.riboflavin && riboflavinUnits) {\r\n // if (this.ingredient.riboflavin.nutrientUnitId === 0) {\r\n // this.ingredient.riboflavin.nutrientUnitId = riboflavinUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let thiamineUnits = this.unitOptions(NutrientType.Thiamine);\r\n // if (this.ingredient.thiamine && thiamineUnits) {\r\n // if (this.ingredient.thiamine.nutrientUnitId === 0) {\r\n // this.ingredient.thiamine.nutrientUnitId = thiamineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let betaCaroteneUnits = this.unitOptions(NutrientType.BetaCarotene);\r\n // if (this.ingredient.betaCarotene && betaCaroteneUnits) {\r\n // if (this.ingredient.betaCarotene.nutrientUnitId === 0) {\r\n // this.ingredient.betaCarotene.nutrientUnitId = betaCaroteneUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let retinolUnits = this.unitOptions(NutrientType.Retinol);\r\n // if (this.ingredient.retinol && retinolUnits) {\r\n // if (this.ingredient.retinol.nutrientUnitId === 0) {\r\n // this.ingredient.retinol.nutrientUnitId = retinolUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let vitaminB12Units = this.unitOptions(NutrientType.VitaminB12);\r\n // if (this.ingredient.vitaminB12 && vitaminB12Units) {\r\n // if (this.ingredient.vitaminB12.nutrientUnitId === 0) {\r\n // this.ingredient.vitaminB12.nutrientUnitId = vitaminB12Units[0].id;\r\n // }\r\n // }\r\n\r\n // let vitaminEUnits = this.unitOptions(NutrientType.VitaminE);\r\n // if (this.ingredient.vitaminE && vitaminEUnits) {\r\n // if (this.ingredient.vitaminE.nutrientUnitId === 0) {\r\n // this.ingredient.vitaminE.nutrientUnitId = vitaminEUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let vitaminETocoUnits = this.unitOptions(NutrientType.VitaminEToco);\r\n // if (this.ingredient.vitaminEToco && vitaminETocoUnits) {\r\n // if (this.ingredient.vitaminEToco.nutrientUnitId === 0) {\r\n // this.ingredient.vitaminEToco.nutrientUnitId = vitaminETocoUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let vitaminETocoEqUnits = this.unitOptions(NutrientType.VitaminETocoEq);\r\n // if (this.ingredient.vitaminETocoEq && vitaminETocoEqUnits) {\r\n // if (this.ingredient.vitaminETocoEq.nutrientUnitId === 0) {\r\n // this.ingredient.vitaminETocoEq.nutrientUnitId = vitaminETocoEqUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let vitaminKUnits = this.unitOptions(NutrientType.VitaminK);\r\n // if (this.ingredient.vitaminK && vitaminKUnits) {\r\n // if (this.ingredient.vitaminK.nutrientUnitId === 0) {\r\n // this.ingredient.vitaminK.nutrientUnitId = vitaminKUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let chromiumUnits = this.unitOptions(NutrientType.Chromium);\r\n // if (this.ingredient.chromium && chromiumUnits) {\r\n // if (this.ingredient.chromium.nutrientUnitId === 0) {\r\n // this.ingredient.chromium.nutrientUnitId = chromiumUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let chlorideUnits = this.unitOptions(NutrientType.Chloride);\r\n // if (this.ingredient.chloride && chlorideUnits) {\r\n // if (this.ingredient.chloride.nutrientUnitId === 0) {\r\n // this.ingredient.chloride.nutrientUnitId = chlorideUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let copperUnits = this.unitOptions(NutrientType.Copper);\r\n // if (this.ingredient.copper && copperUnits) {\r\n // if (this.ingredient.copper.nutrientUnitId === 0) {\r\n // this.ingredient.copper.nutrientUnitId = copperUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let iodineUnits = this.unitOptions(NutrientType.Iodine);\r\n // if (this.ingredient.iodine && iodineUnits) {\r\n // if (this.ingredient.iodine.nutrientUnitId === 0) {\r\n // this.ingredient.iodine.nutrientUnitId = iodineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let magnesiumUnits = this.unitOptions(NutrientType.Magnesium);\r\n // if (this.ingredient.magnesium && magnesiumUnits) {\r\n // if (this.ingredient.magnesium.nutrientUnitId === 0) {\r\n // this.ingredient.magnesium.nutrientUnitId = magnesiumUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let manganeseUnits = this.unitOptions(NutrientType.Manganese);\r\n // if (this.ingredient.manganese && manganeseUnits) {\r\n // if (this.ingredient.manganese.nutrientUnitId === 0) {\r\n // this.ingredient.manganese.nutrientUnitId = manganeseUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let molybdenumUnits = this.unitOptions(NutrientType.Molybdenum);\r\n // if (this.ingredient.molybdenum && molybdenumUnits) {\r\n // if (this.ingredient.molybdenum.nutrientUnitId === 0) {\r\n // this.ingredient.molybdenum.nutrientUnitId = molybdenumUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let phosphorusUnits = this.unitOptions(NutrientType.Phosphorus);\r\n // if (this.ingredient.phosphorus && phosphorusUnits) {\r\n // if (this.ingredient.phosphorus.nutrientUnitId === 0) {\r\n // this.ingredient.phosphorus.nutrientUnitId = phosphorusUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let seleniumUnits = this.unitOptions(NutrientType.Selenium);\r\n // if (this.ingredient.selenium && seleniumUnits) {\r\n // if (this.ingredient.selenium.nutrientUnitId === 0) {\r\n // this.ingredient.selenium.nutrientUnitId = seleniumUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let zincUnits = this.unitOptions(NutrientType.Zinc);\r\n // if (this.ingredient.zinc && zincUnits) {\r\n // if (this.ingredient.zinc.nutrientUnitId === 0) {\r\n // this.ingredient.zinc.nutrientUnitId = zincUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let alanineUnits = this.unitOptions(NutrientType.LAlanine);\r\n // if (this.ingredient.alanine && alanineUnits) {\r\n // if (this.ingredient.alanine.nutrientUnitId === 0) {\r\n // this.ingredient.alanine.nutrientUnitId = alanineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let arginineUnits = this.unitOptions(NutrientType.LArginine);\r\n // if (this.ingredient.arginine && arginineUnits) {\r\n // if (this.ingredient.arginine.nutrientUnitId === 0) {\r\n // this.ingredient.arginine.nutrientUnitId = arginineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let asparticAcidUnits = this.unitOptions(NutrientType.LAsparticAcid);\r\n // if (this.ingredient.asparticAcid && asparticAcidUnits) {\r\n // if (this.ingredient.asparticAcid.nutrientUnitId === 0) {\r\n // this.ingredient.asparticAcid.nutrientUnitId = asparticAcidUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let cysteineUnits = this.unitOptions(NutrientType.LCysteine);\r\n // if (this.ingredient.cysteine && cysteineUnits) {\r\n // if (this.ingredient.cysteine.nutrientUnitId === 0) {\r\n // this.ingredient.cysteine.nutrientUnitId = cysteineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let glutamicAcidUnits = this.unitOptions(NutrientType.LGlutamicAcid);\r\n // if (this.ingredient.glutamicAcid && glutamicAcidUnits) {\r\n // if (this.ingredient.glutamicAcid.nutrientUnitId === 0) {\r\n // this.ingredient.glutamicAcid.nutrientUnitId = glutamicAcidUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let glycineUnits = this.unitOptions(NutrientType.Glycine);\r\n // if (this.ingredient.glycine && glycineUnits) {\r\n // if (this.ingredient.glycine.nutrientUnitId === 0) {\r\n // this.ingredient.glycine.nutrientUnitId = glycineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let histidineUnits = this.unitOptions(NutrientType.LHistidine);\r\n // if (this.ingredient.histidine && histidineUnits) {\r\n // if (this.ingredient.histidine.nutrientUnitId === 0) {\r\n // this.ingredient.histidine.nutrientUnitId = histidineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let isoleucineUnits = this.unitOptions(NutrientType.LIsoleucine);\r\n // if (this.ingredient.isoleucine && isoleucineUnits) {\r\n // if (this.ingredient.isoleucine.nutrientUnitId === 0) {\r\n // this.ingredient.isoleucine.nutrientUnitId = isoleucineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let leucineUnits = this.unitOptions(NutrientType.LLeucine);\r\n // if (this.ingredient.leucine && leucineUnits) {\r\n // if (this.ingredient.leucine.nutrientUnitId === 0) {\r\n // this.ingredient.leucine.nutrientUnitId = leucineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let lysineUnits = this.unitOptions(NutrientType.LLysine);\r\n // if (this.ingredient.lysine && lysineUnits) {\r\n // if (this.ingredient.lysine.nutrientUnitId === 0) {\r\n // this.ingredient.lysine.nutrientUnitId = lysineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let methionineUnits = this.unitOptions(NutrientType.LMethionine);\r\n // if (this.ingredient.methionine && methionineUnits) {\r\n // if (this.ingredient.methionine.nutrientUnitId === 0) {\r\n // this.ingredient.methionine.nutrientUnitId = methionineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let phenylalanineUnits = this.unitOptions(NutrientType.LPhenylalanine);\r\n // if (this.ingredient.phenylalanine && phenylalanineUnits) {\r\n // if (this.ingredient.phenylalanine.nutrientUnitId === 0) {\r\n // this.ingredient.phenylalanine.nutrientUnitId = phenylalanineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let prolineUnits = this.unitOptions(NutrientType.LProline);\r\n // if (this.ingredient.proline && prolineUnits) {\r\n // if (this.ingredient.proline.nutrientUnitId === 0) {\r\n // this.ingredient.proline.nutrientUnitId = prolineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let serineUnits = this.unitOptions(NutrientType.LSerine);\r\n // if (this.ingredient.serine && serineUnits) {\r\n // if (this.ingredient.serine.nutrientUnitId === 0) {\r\n // this.ingredient.serine.nutrientUnitId = serineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let threonineUnits = this.unitOptions(NutrientType.LThreonine);\r\n // if (this.ingredient.threonine && threonineUnits) {\r\n // if (this.ingredient.threonine.nutrientUnitId === 0) {\r\n // this.ingredient.threonine.nutrientUnitId = threonineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let tyrosineUnits = this.unitOptions(NutrientType.LTyrosine);\r\n // if (this.ingredient.tyrosine && tyrosineUnits) {\r\n // if (this.ingredient.tyrosine.nutrientUnitId === 0) {\r\n // this.ingredient.tyrosine.nutrientUnitId = tyrosineUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let valineUnits = this.unitOptions(NutrientType.LValine);\r\n // if (this.ingredient.valine && valineUnits) {\r\n // if (this.ingredient.valine.nutrientUnitId === 0) {\r\n // this.ingredient.valine.nutrientUnitId = valineUnits[0].id;\r\n // }\r\n // }\r\n\r\n let caffeineUnits = this.unitOptions(NutrientType.Caffeine);\r\n if (this.ingredient.caffeine && caffeineUnits) {\r\n if (this.ingredient.caffeine.nutrientUnitId === 0) {\r\n this.ingredient.caffeine.nutrientUnitId = caffeineUnits[0].id;\r\n }\r\n }\r\n\r\n // let greenTeaExtractUnits = this.unitOptions(NutrientType.GreenTeaExtract);\r\n // if (this.ingredient.greenTeaExtract && greenTeaExtractUnits) {\r\n // if (this.ingredient.greenTeaExtract.nutrientUnitId === 0) {\r\n // this.ingredient.greenTeaExtract.nutrientUnitId = greenTeaExtractUnits[0].id;\r\n // }\r\n // }\r\n\r\n // let taurineUnits = this.unitOptions(NutrientType.Taurine);\r\n // if (this.ingredient.taurine && taurineUnits) {\r\n // if (this.ingredient.taurine.nutrientUnitId === 0) {\r\n // this.ingredient.taurine.nutrientUnitId = taurineUnits[0].id;\r\n // }\r\n // }\r\n\r\n let ashUnits = this.unitOptions(NutrientType.Ash);\r\n if (this.ingredient.ash && ashUnits) {\r\n if (this.ingredient.ash.nutrientUnitId === 0) {\r\n this.ingredient.ash.nutrientUnitId = ashUnits[0].id;\r\n }\r\n }\r\n\r\n let waterUnits = this.unitOptions(NutrientType.Water);\r\n if (this.ingredient.water && waterUnits) {\r\n if (this.ingredient.water.nutrientUnitId === 0) {\r\n this.ingredient.water.nutrientUnitId = waterUnits[0].id;\r\n }\r\n }\r\n\r\n let moistureUnits = this.unitOptions(NutrientType.Moisture);\r\n if (this.ingredient.moisture && moistureUnits) {\r\n if (this.ingredient.moisture.nutrientUnitId === 0) {\r\n this.ingredient.moisture.nutrientUnitId = moistureUnits[0].id;\r\n }\r\n }\r\n }\r\n\r\n submit() {\r\n // model\r\n let nutrients: {\r\n value: number;\r\n nutrientUnitId: number;\r\n }[] = [];\r\n\r\n // Map the nutrients to model\r\n nutrients.push(\r\n this.ingredient.energy\r\n ? {\r\n value: this.ingredient.energy.value,\r\n nutrientUnitId: this.ingredient.energy.nutrientUnitId\r\n ? this.ingredient.energy.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.fat\r\n ? {\r\n value: this.ingredient.fat.value,\r\n nutrientUnitId: this.ingredient.fat.nutrientUnitId\r\n ? this.ingredient.fat.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.saturatedFattyAcids\r\n ? {\r\n value: this.ingredient.saturatedFattyAcids.value,\r\n nutrientUnitId: this.ingredient.saturatedFattyAcids.nutrientUnitId\r\n ? this.ingredient.saturatedFattyAcids.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.transFattyAcids\r\n ? {\r\n value: this.ingredient.transFattyAcids.value,\r\n nutrientUnitId: this.ingredient.transFattyAcids.nutrientUnitId\r\n ? this.ingredient.transFattyAcids.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.cholesterol\r\n ? {\r\n value: this.ingredient.cholesterol.value,\r\n nutrientUnitId: this.ingredient.cholesterol.nutrientUnitId\r\n ? this.ingredient.cholesterol.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.sodium\r\n ? {\r\n value: this.ingredient.sodium.value,\r\n nutrientUnitId: this.ingredient.sodium.nutrientUnitId\r\n ? this.ingredient.sodium.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.carbohydrate\r\n ? {\r\n value: this.ingredient.carbohydrate.value,\r\n nutrientUnitId: this.ingredient.carbohydrate.nutrientUnitId\r\n ? this.ingredient.carbohydrate.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.fibre\r\n ? {\r\n value: this.ingredient.fibre.value,\r\n nutrientUnitId: this.ingredient.fibre.nutrientUnitId\r\n ? this.ingredient.fibre.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.sugars\r\n ? {\r\n value: this.ingredient.sugars.value,\r\n nutrientUnitId: this.ingredient.sugars.nutrientUnitId\r\n ? this.ingredient.sugars.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.protein\r\n ? {\r\n value: this.ingredient.protein.value,\r\n nutrientUnitId: this.ingredient.protein.nutrientUnitId\r\n ? this.ingredient.protein.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.vitaminD\r\n ? {\r\n value: this.ingredient.vitaminD.value,\r\n nutrientUnitId: this.ingredient.vitaminD.nutrientUnitId\r\n ? this.ingredient.vitaminD.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.vitaminC\r\n ? {\r\n value: this.ingredient.vitaminC.value,\r\n nutrientUnitId: this.ingredient.vitaminC.nutrientUnitId\r\n ? this.ingredient.vitaminC.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.potassium\r\n ? {\r\n value: this.ingredient.potassium.value,\r\n nutrientUnitId: this.ingredient.potassium.nutrientUnitId\r\n ? this.ingredient.potassium.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.calcium\r\n ? {\r\n value: this.ingredient.calcium.value,\r\n nutrientUnitId: this.ingredient.calcium.nutrientUnitId\r\n ? this.ingredient.calcium.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.iron\r\n ? {\r\n value: this.ingredient.iron.value,\r\n nutrientUnitId: this.ingredient.iron.nutrientUnitId\r\n ? this.ingredient.iron.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.addedSugars\r\n ? {\r\n value: this.ingredient.addedSugars.value,\r\n nutrientUnitId: this.ingredient.addedSugars.nutrientUnitId\r\n ? this.ingredient.addedSugars.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.sugarAlcohols\r\n ? {\r\n value: this.ingredient.sugarAlcohols.value,\r\n nutrientUnitId: this.ingredient.sugarAlcohols.nutrientUnitId\r\n ? this.ingredient.sugarAlcohols.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.erythritol\r\n ? {\r\n value: this.ingredient.erythritol.value,\r\n nutrientUnitId: this.ingredient.erythritol.nutrientUnitId\r\n ? this.ingredient.erythritol.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.isomalt\r\n ? {\r\n value: this.ingredient.isomalt.value,\r\n nutrientUnitId: this.ingredient.isomalt.nutrientUnitId\r\n ? this.ingredient.isomalt.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.mannitol\r\n ? {\r\n value: this.ingredient.mannitol.value,\r\n nutrientUnitId: this.ingredient.mannitol.nutrientUnitId\r\n ? this.ingredient.mannitol.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.xylitol\r\n ? {\r\n value: this.ingredient.xylitol.value,\r\n nutrientUnitId: this.ingredient.xylitol.nutrientUnitId\r\n ? this.ingredient.xylitol.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.lactitol\r\n ? {\r\n value: this.ingredient.lactitol.value,\r\n nutrientUnitId: this.ingredient.lactitol.nutrientUnitId\r\n ? this.ingredient.lactitol.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.sorbitol\r\n ? {\r\n value: this.ingredient.sorbitol.value,\r\n nutrientUnitId: this.ingredient.sorbitol.nutrientUnitId\r\n ? this.ingredient.sorbitol.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.maltitol\r\n ? {\r\n value: this.ingredient.maltitol.value,\r\n nutrientUnitId: this.ingredient.maltitol.nutrientUnitId\r\n ? this.ingredient.maltitol.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.unspecifiedSugarAlcohol\r\n ? {\r\n value: this.ingredient.unspecifiedSugarAlcohol.value,\r\n nutrientUnitId: this.ingredient.unspecifiedSugarAlcohol\r\n .nutrientUnitId\r\n ? this.ingredient.unspecifiedSugarAlcohol.nutrientUnitId\r\n : 0,\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.monounsaturatedFats\r\n ? {\r\n value: this.ingredient.monounsaturatedFats.value,\r\n nutrientUnitId: this.ingredient.monounsaturatedFats.nutrientUnitId\r\n ? this.ingredient.monounsaturatedFats.nutrientUnitId\r\n : 0\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.polyunsaturatedFats\r\n ? {\r\n value: this.ingredient.polyunsaturatedFats.value,\r\n nutrientUnitId: this.ingredient.polyunsaturatedFats.nutrientUnitId\r\n ? this.ingredient.polyunsaturatedFats.nutrientUnitId\r\n : 0\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.omega3\r\n ? {\r\n value: this.ingredient.omega3.value,\r\n nutrientUnitId: this.ingredient.omega3.nutrientUnitId\r\n ? this.ingredient.omega3.nutrientUnitId\r\n : 0\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.omega6\r\n ? {\r\n value: this.ingredient.omega6.value,\r\n nutrientUnitId: this.ingredient.omega6.nutrientUnitId\r\n ? this.ingredient.omega6.nutrientUnitId\r\n : 0\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.caffeine\r\n ? {\r\n value: this.ingredient.caffeine.value,\r\n nutrientUnitId: this.ingredient.caffeine.nutrientUnitId\r\n ? this.ingredient.caffeine.nutrientUnitId\r\n : 0\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.ash\r\n ? {\r\n value: this.ingredient.ash.value,\r\n nutrientUnitId: this.ingredient.ash.nutrientUnitId\r\n ? this.ingredient.ash.nutrientUnitId\r\n : 0\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.water\r\n ? {\r\n value: this.ingredient.water.value,\r\n nutrientUnitId: this.ingredient.water.nutrientUnitId\r\n ? this.ingredient.water.nutrientUnitId\r\n : 0\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n nutrients.push(\r\n this.ingredient.moisture\r\n ? {\r\n value: this.ingredient.moisture.value,\r\n nutrientUnitId: this.ingredient.moisture.nutrientUnitId\r\n ? this.ingredient.moisture.nutrientUnitId\r\n : 0\r\n }\r\n : { value: 0, nutrientUnitId: 0 }\r\n );\r\n\r\n this.$validator.validateAll().then((result) => {\r\n if (result) {\r\n if (\r\n // @ts-ignore\r\n this.specifiedSugarAlcohols != 0 ||\r\n this.ingredient.energy.value != 0 ||\r\n this.showWarningModal\r\n ) {\r\n this.showWarningModal = false;\r\n this.$emit(\"submit\", this.ingredient, nutrients);\r\n\r\n return;\r\n }\r\n else {\r\n this.showWarningModal = true;\r\n return;\r\n }\r\n }\r\n this.$snotify.error(this.translations.get(\"validation-error-message\"));\r\n });\r\n }\r\n\r\n cancel() {\r\n this.$emit(\"cancel\");\r\n }\r\n\r\n /**\r\n * Method used in create / edit ingredient which pushes empty measurement in\r\n * the ingredient for the user to populate\r\n */\r\n addMeasurement() {\r\n // we use length as id as it will always be unique locally\r\n let length = this.ingredient.allMeasurements.length;\r\n this.ingredient.allMeasurements.push({\r\n id: length,\r\n name: \"\",\r\n weightInGrams: 0,\r\n });\r\n }\r\n\r\n /**\r\n * Method used in create / edit ingredient which removes specific measurement in the ingredient\r\n *\r\n * @param {number} id\r\n */\r\n removeMeasurement(id: number) {\r\n // find the measurement with id from params\r\n let measurement = this.ingredient.allMeasurements.find((m) => m.id === id);\r\n if (measurement) {\r\n // find it's index in the array of measurements\r\n let index = this.ingredient.allMeasurements.indexOf(measurement);\r\n // delete it by deleting 1 item on position 'index'\r\n this.ingredient.allMeasurements.splice(index, 1);\r\n }\r\n }\r\n\r\n /**\r\n * Method that returns all nutrient unit options based on nutrient type.\r\n * Used when populating nutrient unit dropdowns on ingredient creation or edit\r\n *\r\n * @param {NutrientType} nutrientType\r\n *\r\n * @return {{number, string}[]} {id, name}\r\n */\r\n unitOptions(nutrientType: NutrientType): UnitOption[] {\r\n let additional = this.nutrients.find(\r\n (a) => a.nutrientType === nutrientType\r\n );\r\n\r\n if (additional) {\r\n let list = additional.units\r\n ? additional.units.map((u) => ({\r\n id: u.nutrientUnitId ? u.nutrientUnitId : 0,\r\n name: u.unit ? u.unit.name : \"\",\r\n }))\r\n : [];\r\n if (list) return list;\r\n }\r\n return [];\r\n }\r\n\r\n get specifiedSugarAlcohols() {\r\n\r\n let sum =\r\n (Number(this.ingredient.erythritol.value) +\r\n Number(this.ingredient.isomalt.value) +\r\n Number(this.ingredient.mannitol.value) +\r\n Number(this.ingredient.xylitol.value) +\r\n Number(this.ingredient.lactitol.value) +\r\n Number(this.ingredient.sorbitol.value) +\r\n Number(this.ingredient.maltitol.value)).toFixed(12);\r\n return Number(sum);\r\n }\r\n\r\n\r\n get totalSugarAlcohols() {\r\n if (this.ingredient.sugarAlcohols != null) {\r\n // @ts-ignore\r\n this.ingredient.sugarAlcohols = {\r\n value: this.ingredient.sugarAlcohols.value,\r\n nutrientUnitId: this.ingredient.sugarAlcohols.nutrientUnitId,\r\n };\r\n }\r\n else {\r\n // @ts-ignore\r\n this.ingredient.sugarAlcohols = { value: 0, nutrientUnitId: this.unitOptions(15)[0].id };\r\n }\r\n let sugarAlcoholSum =\r\n (this.specifiedSugarAlcohols +\r\n Number(this.ingredient.unspecifiedSugarAlcohol.value)).toFixed(12);\r\n this.ingredient.sugarAlcohols.value = Number(sugarAlcoholSum);\r\n\r\n return Number(sugarAlcoholSum);\r\n }\r\n\r\n get translations() {\r\n return this.localizationState.translations;\r\n }\r\n\r\n created() {\r\n SystemConfigurationRepository.listNutrients().then((response) => {\r\n this.nutrients = response.data.result;\r\n this.preselectUnits();\r\n });\r\n\r\n // If in edit mode we need to get the density category as an option for the dropdown (if the ingr has it)\r\n this.densityId = this.ingredient.categoryDensityId\r\n ? this.ingredient.categoryDensityId\r\n : \"\";\r\n IngredientsRepository.searchCategoryDensities(\"\", this.densityId)\r\n .then((response: any) => {\r\n this.densityOptions = response.data.result;\r\n })\r\n .catch((error) => {\r\n if (error.response) {\r\n this.$snotify.error(\r\n error.response.data.errorMessages[0].userVisibleMessage\r\n );\r\n }\r\n else this.$snotify.error(this.translations.get(\"network-error\"));\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vIngredientManagement.vue?vue&type=script&lang=ts\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vIngredientManagement.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./vIngredientManagement.vue?vue&type=template&id=3fc2cae1&scoped=true\"\nimport script from \"./vIngredientManagement.vue?vue&type=script&lang=ts\"\nexport * from \"./vIngredientManagement.vue?vue&type=script&lang=ts\"\nimport style0 from \"./vIngredientManagement.vue?vue&type=style&index=0&id=3fc2cae1&prod&scoped=true&lang=css\"\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 \"3fc2cae1\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vIngredientManagement.vue?vue&type=style&index=0&id=3fc2cae1&prod&scoped=true&lang=css\""],"sourceRoot":""}