(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[32],{

/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Diets/ModalColumn.vue?vue&type=script&lang=js&":
/*!*********************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Diets/ModalColumn.vue?vue&type=script&lang=js& ***!
  \*********************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties */ \"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\");\n/* harmony import */ var bootstrap_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! bootstrap-vue */ \"./node_modules/bootstrap-vue/esm/index.js\");\n/* harmony import */ var vue_select__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue-select */ \"./node_modules/vue-select/dist/vue-select.js\");\n/* harmony import */ var vue_select__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(vue_select__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var vue_ripple_directive__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue-ripple-directive */ \"./node_modules/vue-ripple-directive/src/ripple.js\");\n/* harmony import */ var _vue_composition_api__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @vue/composition-api */ \"./node_modules/@vue/composition-api/dist/vue-composition-api.mjs\");\n\nvar _excluded = [\"posicion\", \"last\"];\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  components: {\n    BButton: bootstrap_vue__WEBPACK_IMPORTED_MODULE_1__[\"BButton\"],\n    BModal: bootstrap_vue__WEBPACK_IMPORTED_MODULE_1__[\"BModal\"],\n    BForm: bootstrap_vue__WEBPACK_IMPORTED_MODULE_1__[\"BForm\"],\n    BFormInput: bootstrap_vue__WEBPACK_IMPORTED_MODULE_1__[\"BFormInput\"],\n    BFormGroup: bootstrap_vue__WEBPACK_IMPORTED_MODULE_1__[\"BFormGroup\"],\n    vSelect: vue_select__WEBPACK_IMPORTED_MODULE_2___default.a,\n    BSpinner: bootstrap_vue__WEBPACK_IMPORTED_MODULE_1__[\"BSpinner\"]\n  },\n  directives: {\n    \"b-modal\": bootstrap_vue__WEBPACK_IMPORTED_MODULE_1__[\"VBModal\"],\n    Ripple: vue_ripple_directive__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n  },\n  props: {\n    showModal: {\n      type: Object,\n      required: true\n    },\n    column: {\n      type: Object,\n      required: true\n    },\n    states: {\n      type: Object,\n      required: true\n    },\n    reset: {\n      type: Function,\n      required: true\n    }\n  },\n  setup: function setup(props, ctx) {\n    var form = Object(_vue_composition_api__WEBPACK_IMPORTED_MODULE_4__[\"ref\"])();\n\n    var handleSubmit = function handleSubmit() {};\n\n    var _props$column = props.column,\n        posicion = _props$column.posicion,\n        last = _props$column.last,\n        campos = Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_props$column, _excluded);\n\n    var handleOk = function handleOk(bvModalEvt) {\n      // Prevent modal from closing\n      bvModalEvt.preventDefault();\n      var valid = ctx.refs.form.checkValidity(); //esta dentro de HTMLFormElement las props\n\n      for (var key in campos) {\n        // dentro de ctx.refs.form.elements[key].HTMLInputElement\n        props.states[key].status = ctx.refs.form.elements[key].validity.valid;\n        props.states[key].mensaje = \"Este campo es obligatorio\";\n      }\n\n      if (valid) {\n        ctx.emit(\"add-column\");\n      }\n    };\n\n    return {\n      form: form,\n      handleSubmit: handleSubmit,\n      handleOk: handleOk\n    };\n  }\n});\n\n//# sourceURL=webpack:///./src/views/Diets/ModalColumn.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"5c469c4f-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Diets/ModalColumn.vue?vue&type=template&id=6360a62e&":
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c469c4f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Diets/ModalColumn.vue?vue&type=template&id=6360a62e& ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  return _c(\n    \"b-modal\",\n    {\n      ref: \"columna-modal\",\n      attrs: {\n        id: \"modal-columna\",\n        \"cancel-variant\": \"outline-secondary\",\n        \"ok-title\": \"Agregar\",\n        \"cancel-title\": \"Cancelar\",\n        centered: \"\",\n        title: \"Agregar columna\",\n        \"no-close-on-backdrop\": \"\",\n        size: \"sm\"\n      },\n      on: { cancel: _vm.reset, ok: _vm.handleOk },\n      model: {\n        value: _vm.showModal.mostrar,\n        callback: function($$v) {\n          _vm.$set(_vm.showModal, \"mostrar\", $$v)\n        },\n        expression: \"showModal.mostrar\"\n      }\n    },\n    [\n      _c(\n        \"form\",\n        {\n          ref: \"form\",\n          on: {\n            submit: function($event) {\n              $event.stopPropagation()\n              $event.preventDefault()\n              return _vm.handleSubmit($event)\n            }\n          }\n        },\n        [\n          _c(\n            \"b-form-group\",\n            {\n              attrs: {\n                state: _vm.states.etiqueta.status,\n                label: \"Nombre\",\n                \"label-for\": \"etiqueta\",\n                \"invalid-feedback\": _vm.states.etiqueta.mensaje\n              }\n            },\n            [\n              _c(\"b-form-input\", {\n                attrs: {\n                  id: \"etiqueta\",\n                  placeholder: \"Nombre\",\n                  state: _vm.states.etiqueta.status,\n                  required: \"\"\n                },\n                model: {\n                  value: _vm.column.etiqueta,\n                  callback: function($$v) {\n                    _vm.$set(_vm.column, \"etiqueta\", $$v)\n                  },\n                  expression: \"column.etiqueta\"\n                }\n              })\n            ],\n            1\n          ),\n          _c(\n            \"b-form-group\",\n            {\n              attrs: {\n                state: _vm.states.valor.status,\n                label: \"Valor\",\n                \"label-for\": \"valor\",\n                \"invalid-feedback\": _vm.states.valor.mensaje\n              }\n            },\n            [\n              _c(\"b-form-input\", {\n                attrs: {\n                  id: \"valor\",\n                  type: \"number\",\n                  placeholder: \"valor\",\n                  state: _vm.states.valor.status,\n                  required: \"\"\n                },\n                model: {\n                  value: _vm.column.valor,\n                  callback: function($$v) {\n                    _vm.$set(_vm.column, \"valor\", $$v)\n                  },\n                  expression: \"column.valor\"\n                }\n              })\n            ],\n            1\n          )\n        ],\n        1\n      )\n    ]\n  )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/Diets/ModalColumn.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225c469c4f-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/core-js/modules/es.array.find.js":
/*!*******************************************************!*\
  !*** ./node_modules/core-js/modules/es.array.find.js ***!
  \*******************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar $find = __webpack_require__(/*! ../internals/array-iteration */ \"./node_modules/core-js/internals/array-iteration.js\").find;\nvar addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ \"./node_modules/core-js/internals/add-to-unscopables.js\");\nvar arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ \"./node_modules/core-js/internals/array-method-uses-to-length.js\");\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND);\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n  find: function find(callbackfn /* , that = undefined */) {\n    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es.array.find.js?");

/***/ }),

/***/ "./node_modules/core-js/modules/es.array.map.js":
/*!******************************************************!*\
  !*** ./node_modules/core-js/modules/es.array.map.js ***!
  \******************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar $map = __webpack_require__(/*! ../internals/array-iteration */ \"./node_modules/core-js/internals/array-iteration.js\").map;\nvar arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ \"./node_modules/core-js/internals/array-method-has-species-support.js\");\nvar arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ \"./node_modules/core-js/internals/array-method-uses-to-length.js\");\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n// FF49- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('map');\n\n// `Array.prototype.map` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n  map: function map(callbackfn /* , thisArg */) {\n    return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es.array.map.js?");

/***/ }),

/***/ "./node_modules/vue-ripple-directive/src/ripple.js":
/*!*********************************************************!*\
  !*** ./node_modules/vue-ripple-directive/src/ripple.js ***!
  \*********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\nvar Ripple = {\n    bind: function(el, binding){\n\n        // Default values.\n        var props = {\n            event: 'mousedown',\n            transition: 600\n        };\n\n        setProps(Object.keys(binding.modifiers),props);\n\n        el.addEventListener(props.event, function(event) {\n            rippler(event, el, binding.value);\n        });\n\n        var bg = binding.value || Ripple.color || 'rgba(0, 0, 0, 0.35)';\n        var zIndex = Ripple.zIndex || '9999';\n\n        function rippler(event, el) {\n            var target = el;\n            // Get border to avoid offsetting on ripple container position\n            var targetBorder = parseInt((getComputedStyle(target).borderWidth).replace('px', ''));\n\n            // Get necessary variables\n            var rect        = target.getBoundingClientRect(),\n                left        = rect.left,\n                top         = rect.top,\n                width       = target.offsetWidth,\n                height      = target.offsetHeight,\n                dx          = event.clientX - left,\n                dy          = event.clientY - top,\n                maxX        = Math.max(dx, width - dx),\n                maxY        = Math.max(dy, height - dy),\n                style       = window.getComputedStyle(target),\n                radius      = Math.sqrt((maxX * maxX) + (maxY * maxY)),\n                border      = (targetBorder > 0 ) ? targetBorder : 0;\n\n            // Create the ripple and its container\n            var ripple = document.createElement(\"div\"),\n                rippleContainer = document.createElement(\"div\");\n                rippleContainer.className = 'ripple-container';\n                ripple.className = 'ripple';\n\n            //Styles for ripple\n            ripple.style.marginTop= '0px';\n            ripple.style.marginLeft= '0px';\n            ripple.style.width= '1px';\n            ripple.style.height= '1px';\n            ripple.style.transition= 'all ' + props.transition + 'ms cubic-bezier(0.4, 0, 0.2, 1)';\n            ripple.style.borderRadius= '50%';\n            ripple.style.pointerEvents= 'none';\n            ripple.style.position= 'relative';\n            ripple.style.zIndex= zIndex;\n            ripple.style.backgroundColor  = bg;\n\n            //Styles for rippleContainer\n            rippleContainer.style.position= 'absolute';\n            rippleContainer.style.left = 0 - border + 'px';\n            rippleContainer.style.top = 0 - border + 'px';\n            rippleContainer.style.height = '0';\n            rippleContainer.style.width = '0';\n            rippleContainer.style.pointerEvents = 'none';\n            rippleContainer.style.overflow = 'hidden';\n\n            // Store target position to change it after\n            var storedTargetPosition =  ((target.style.position).length > 0) ? target.style.position : getComputedStyle(target).position;\n            // Change target position to relative to guarantee ripples correct positioning\n            if (storedTargetPosition !== 'relative') {\n                target.style.position = 'relative';\n            }\n\n            rippleContainer.appendChild(ripple);\n            target.appendChild(rippleContainer);\n\n            ripple.style.marginLeft   = dx + \"px\";\n            ripple.style.marginTop    = dy + \"px\";\n\n            // No need to set positioning because ripple should be child of target and to it's relative position.\n            // rippleContainer.style.left    = left + (((window.pageXOffset || document.scrollLeft) - (document.clientLeft || 0)) || 0) + \"px\";\n            // rippleContainer.style.top     = top + (((window.pageYOffset || document.scrollTop) - (document.clientTop || 0)) || 0) + \"px\";\n            rippleContainer.style.width   = width + \"px\";\n            rippleContainer.style.height  = height + \"px\";\n            rippleContainer.style.borderTopLeftRadius  = style.borderTopLeftRadius;\n            rippleContainer.style.borderTopRightRadius  = style.borderTopRightRadius;\n            rippleContainer.style.borderBottomLeftRadius  = style.borderBottomLeftRadius;\n            rippleContainer.style.borderBottomRightRadius  = style.borderBottomRightRadius;\n\n            rippleContainer.style.direction = 'ltr';\n\n            setTimeout(function() {\n                ripple.style.width  = radius * 2 + \"px\";\n                ripple.style.height = radius * 2 + \"px\";\n                ripple.style.marginLeft   = dx - radius + \"px\";\n                ripple.style.marginTop    = dy - radius + \"px\";\n            }, 0);\n\n            function clearRipple() {\n                setTimeout(function() {\n                    ripple.style.backgroundColor = \"rgba(0, 0, 0, 0)\";\n                }, 250);\n\n                // Timeout set to get a smooth removal of the ripple\n                setTimeout(function() {\n                    rippleContainer.parentNode.removeChild(rippleContainer);\n                }, 850);\n\n                el.removeEventListener('mouseup', clearRipple, false);\n\n                // After removing event set position to target to it's original one\n                // Timeout it's needed to avoid jerky effect of ripple jumping out parent target\n                setTimeout(function () {\n\n                    var clearPosition = true;\n                    for(var i = 0; i < target.childNodes.length; i++) {\n                        if(target.childNodes[i].className === 'ripple-container') {\n                            clearPosition = false;\n                        }\n                    }\n\n                    if(clearPosition) {\n                        if(storedTargetPosition !== 'static') {\n                            target.style.position = storedTargetPosition;\n                        } else {\n                            target.style.position = '';\n                        }\n                    }\n\n                }, props.transition + 250)\n            }\n\n            if(event.type === 'mousedown') {\n                el.addEventListener('mouseup', clearRipple, false);\n            } else {\n                clearRipple();\n            }\n        }\n    }\n};\n\nfunction setProps(modifiers,props) {\n    modifiers.forEach(function(item) {\n        if(isNaN(Number(item)))\n            props.event = item;\n        else\n            props.transition = item;\n    });\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Ripple);\n\n//# sourceURL=webpack:///./node_modules/vue-ripple-directive/src/ripple.js?");

/***/ }),

/***/ "./src/services/DietService.js":
/*!*************************************!*\
  !*** ./src/services/DietService.js ***!
  \*************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ \"./node_modules/core-js/modules/es.array.concat.js\");\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _services_Api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services/Api */ \"./src/services/Api.js\");\n\n\nvar resource = 'informacion/nutricional/dietas';\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  fetchList: function fetchList(listQuery) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(resource, {\n      params: listQuery\n    });\n  },\n  fetchListAlimentos: function fetchListAlimentos() {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(resource);\n  },\n  // create (idPaciente, form) {\n  //   const config = { headers: {'Content-Type': 'multipart/form-data'}};\n  //   return Api().post(`${resource}/nutriologo/${idPaciente}`, form, config);\n  // },\n  //DIETAS POR ALIMENTOS\n  getDietaPaciente: function getDietaPaciente(idPaciente) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/nutriologo/get/\").concat(idPaciente));\n  },\n  fetchDietaPorAlimentosDia: function fetchDietaPorAlimentosDia(idDietaPaciente, dia) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/obtener/dieta/alimentos/\").concat(idDietaPaciente, \"/\").concat(dia));\n  },\n  saveAlimento: function saveAlimento(idColumna, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/alimentos/agregar/\").concat(idColumna), form);\n  },\n  updateAlimento: function updateAlimento(idAlimento, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/alimento/actualizar/\").concat(idAlimento), form);\n  },\n  deleteAlimento: function deleteAlimento(idAlimento) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().delete(\"\".concat(resource, \"/por-dia/elimina/alimento/\").concat(idAlimento));\n  },\n  deleteA: function deleteA(idAlimento) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().delete(\"\".concat(resource, \"/eliminar/alimento/menus/\").concat(idAlimento));\n  },\n  /////////////END DIETAS POR ALIMENTOS////////////////////////////////////\n  //DIETAS POR DÍA\n  fetchDietaPorDia: function fetchDietaPorDia(idDietaPaciente) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/por-dia/\").concat(idDietaPaciente)); //return Api().get(`${resource}/alimentos/${idDietaPaciente}`);\n  },\n  updateDietaPorDia: function updateDietaPorDia(idDietaPaciente, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/por-dia/\").concat(idDietaPaciente), form);\n  },\n  /////////////END DIETAS POR DíA////////////////////////////////////\n  //DIETAS POR COMIDA\n  fetchDietaPorComida: function fetchDietaPorComida(idDietaPaciente) {\n    //ocutar select\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/obtener/dieta/comida/\").concat(idDietaPaciente));\n  },\n  fetchDietaPorComida2: function fetchDietaPorComida2(idDietaPaciente, dia) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/obtener/equivalente/menu/\").concat(idDietaPaciente, \"/\").concat(dia));\n  },\n  updateDietaPorComida: function updateDietaPorComida(idDietaPaciente, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/actualizar/dieta/\").concat(idDietaPaciente), form);\n  },\n  updateDietaPorComida2: function updateDietaPorComida2(idDietaPaciente, dia, form, x) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/actualizar/equivalente/menu/\").concat(idDietaPaciente, \"/\").concat(dia, \"/\").concat(x), form);\n  },\n  /////////////END DIETAS POR COMIDA////////////////////////////////////\n  ///////////DIETAS POR MENUS///////////////\n  fetchDietaPorMenusDia: function fetchDietaPorMenusDia(idDietaPaciente, dia) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/obtener/dieta/menus/\").concat(idDietaPaciente, \"/\").concat(dia));\n  },\n  fetchDietaPorMenusDia2: function fetchDietaPorMenusDia2(idDietaPaciente, dia) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/obtener/equivalente/menu/\").concat(idDietaPaciente, \"/\").concat(dia));\n  },\n  //////////////DIETAS POR MENUS////////////////////\n  updateDietaPaciente: function updateDietaPaciente(idDieta, form) {\n    var config = {\n      headers: {\n        'Content-Type': 'multipart/form-data'\n      }\n    };\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/nutriologo/\").concat(idDieta), form, config);\n  },\n  saveDietaPorMenu: function saveDietaPorMenu(idColumna, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/menus/agregar/receta/\").concat(idColumna), form);\n  },\n  updateDietaPorMenu: function updateDietaPorMenu(idColumna, id_receta, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/menu/actualizar/cantidades/\").concat(id_receta, \"/\").concat(idColumna), form);\n  },\n  deleteDietaPorMenu: function deleteDietaPorMenu(idColumna, data) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().delete(\"\".concat(resource, \"/menus/eliminar/receta/\").concat(idColumna), {\n      data: data\n    });\n  },\n  //////////////END DIETAS POR MENUS////////////////\n  getById: function getById(id) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/\").concat(id));\n  },\n  update: function update(id, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/\").concat(id), form);\n  },\n  fetchAllTipos: function fetchAllTipos() {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/tipo\"));\n  },\n  getTipoById: function getTipoById(idTipo, idDieta) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/getTipo/\").concat(idDieta, \"/\").concat(idTipo));\n  },\n  getTipoDietaEquivalente: function getTipoDietaEquivalente(id) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"\".concat(resource, \"/tipo/equivalente/\").concat(id));\n  },\n  getTipoDietas: function getTipoDietas() {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"catalogos/tipos/dietas\");\n  },\n  agregarDia: function agregarDia(id, dia, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/alimentos/agregar/dia/\").concat(id, \"/\").concat(dia), form);\n  },\n  agregarDiaMenu: function agregarDiaMenu(id, dia, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/menu/agregar/dia/\").concat(id, \"/\").concat(dia), form);\n  },\n  agregarDiaM: function agregarDiaM(id, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/dieta/comida/agregar/dia/\").concat(id), form);\n  },\n  agregarDiaM2: function agregarDiaM2(id, dia, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/equivalente/menu/agregar/comida/\").concat(id, \"/\").concat(dia), form);\n  },\n  getCategorias: function getCategorias() {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/trae/cat/recetas\");\n  },\n  getReceta: function getReceta(id) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/trae/recetas/por-tipo/\".concat(id));\n  },\n  getIngestas: function getIngestas() {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/trae/cat/recetas/comidas\");\n  },\n  ////guarda seleccion\n  guardaSeleccion: function guardaSeleccion(idMonitoreo, opcion) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/seleccionada/get/\").concat(idMonitoreo, \"/\").concat(opcion));\n  },\n  eliminarC: function eliminarC(id, posicion) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().delete(\"\".concat(resource, \"/dieta/comida/eliminar/dia/\").concat(id, \"/\").concat(posicion));\n  },\n  eliminarC2: function eliminarC2(id, posicion, dia) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().delete(\"\".concat(resource, \"/equivalente/menu/eliminar/comida/\").concat(id, \"/\").concat(dia, \"/\").concat(posicion));\n  },\n  editarC: function editarC(id, posicion, nombre) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/dieta/comida/editar/nombre/dia/\").concat(id, \"/\").concat(posicion, \"/\").concat(nombre));\n  },\n  editarC2: function editarC2(id, dia, nombre, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().put(\"\".concat(resource, \"/equivalente/menu/editar/etiqueta/comida/\").concat(id, \"/\").concat(dia, \"/\").concat(nombre, \"/\").concat(form));\n  },\n  saveAlimentoSmae: function saveAlimentoSmae(form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/catalogo/crear/smae\", form);\n  },\n  descargarPDF: function descargarPDF(id_monitoreo, form) {\n    var config = {\n      headers: {\n        'Content-Type': 'application/pdf'\n      },\n      'responseType': 'blob'\n    };\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/descarga/pdf\"), form, config);\n  },\n  descargarPDFEquivalentes: function descargarPDFEquivalentes(id_monitoreo, form) {\n    var config = {\n      headers: {\n        'Content-Type': 'application/pdf'\n      },\n      'responseType': 'blob'\n    };\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/descarga/pdf/equivalentes\"), form, config);\n  },\n  descargarPDFMenu: function descargarPDFMenu(id_monitoreo, form) {\n    var config = {\n      headers: {\n        'Content-Type': 'application/pdf'\n      },\n      'responseType': 'blob'\n    };\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/descarga/pdf/menu\"), form, config);\n  },\n  descargarPDFLista: function descargarPDFLista(id_monitoreo) {\n    var day = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n    var config = {\n      headers: {\n        'Content-Type': 'application/pdf'\n      },\n      'responseType': 'blob'\n    };\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/descarga/pdf/lista/\").concat(day), config);\n  },\n  enviarCorreo: function enviarCorreo(id_monitoreo) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/enviar/pdf\"));\n  },\n  enviarCorreoEquivalentes: function enviarCorreoEquivalentes(id_monitoreo) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/enviar/pdf/equivalentes\"));\n  },\n  enviarCorreoMenu: function enviarCorreoMenu(id_monitoreo) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dietas/por-dia/\".concat(id_monitoreo, \"/enviar/pdf/menu\"));\n  },\n  getDeficiencias: function getDeficiencias(id_monitoreo) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().get(\"/informacion/nutricional/dieteticos/deficiencias/\".concat(id_monitoreo));\n  }\n});\n\n//# sourceURL=webpack:///./src/services/DietService.js?");

/***/ }),

/***/ "./src/views/Diets/ModalColumn.vue":
/*!*****************************************!*\
  !*** ./src/views/Diets/ModalColumn.vue ***!
  \*****************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ModalColumn_vue_vue_type_template_id_6360a62e___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ModalColumn.vue?vue&type=template&id=6360a62e& */ \"./src/views/Diets/ModalColumn.vue?vue&type=template&id=6360a62e&\");\n/* harmony import */ var _ModalColumn_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ModalColumn.vue?vue&type=script&lang=js& */ \"./src/views/Diets/ModalColumn.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n  _ModalColumn_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _ModalColumn_vue_vue_type_template_id_6360a62e___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _ModalColumn_vue_vue_type_template_id_6360a62e___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"src/views/Diets/ModalColumn.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./src/views/Diets/ModalColumn.vue?");

/***/ }),

/***/ "./src/views/Diets/ModalColumn.vue?vue&type=script&lang=js&":
/*!******************************************************************!*\
  !*** ./src/views/Diets/ModalColumn.vue?vue&type=script&lang=js& ***!
  \******************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_ref_13_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModalColumn_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/babel-loader/lib!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib??vue-loader-options!./ModalColumn.vue?vue&type=script&lang=js& */ \"./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Diets/ModalColumn.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_cache_loader_dist_cjs_js_ref_13_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModalColumn_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./src/views/Diets/ModalColumn.vue?");

/***/ }),

/***/ "./src/views/Diets/ModalColumn.vue?vue&type=template&id=6360a62e&":
/*!************************************************************************!*\
  !*** ./src/views/Diets/ModalColumn.vue?vue&type=template&id=6360a62e& ***!
  \************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_5c469c4f_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModalColumn_vue_vue_type_template_id_6360a62e___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"5c469c4f-vue-loader-template\"}!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib??vue-loader-options!./ModalColumn.vue?vue&type=template&id=6360a62e& */ \"./node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"5c469c4f-vue-loader-template\\\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Diets/ModalColumn.vue?vue&type=template&id=6360a62e&\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_5c469c4f_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModalColumn_vue_vue_type_template_id_6360a62e___WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_5c469c4f_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModalColumn_vue_vue_type_template_id_6360a62e___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./src/views/Diets/ModalColumn.vue?");

/***/ })

}]);