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

/***/ "./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/fuenteAlimentos/fuenteAlimentos.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/fuenteAlimentos/fuenteAlimentos.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_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ \"./node_modules/core-js/modules/es.array.map.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.filter.js */ \"./node_modules/core-js/modules/es.array.filter.js\");\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! bootstrap-vue */ \"./node_modules/bootstrap-vue/esm/index.js\");\n/* harmony import */ var _core_components_app_collapse_AppCollapse_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/components/app-collapse/AppCollapse.vue */ \"./src/@core/components/app-collapse/AppCollapse.vue\");\n/* harmony import */ var _core_components_app_collapse_AppCollapseItem_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/components/app-collapse/AppCollapseItem.vue */ \"./src/@core/components/app-collapse/AppCollapseItem.vue\");\n/* harmony import */ var vue_ripple_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue-ripple-directive */ \"./node_modules/vue-ripple-directive/src/ripple.js\");\n/* harmony import */ var _composables_useRoles__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/composables/useRoles */ \"./src/composables/useRoles.js\");\n/* harmony import */ var _components_PlanCard_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../components/PlanCard.vue */ \"./src/views/components/PlanCard.vue\");\n/* harmony import */ var _store_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/store/index */ \"./src/store/index.js\");\n/* harmony import */ var _services_FuenteAlimentos__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/services/FuenteAlimentos */ \"./src/services/FuenteAlimentos.js\");\n/* harmony import */ var _services_CatCategoriaFuente__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/services/CatCategoriaFuente */ \"./src/services/CatCategoriaFuente.js\");\n/* harmony import */ var vee_validate_dist_vee_validate_full__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! vee-validate/dist/vee-validate.full */ \"./node_modules/vee-validate/dist/vee-validate.full.js\");\n/* harmony import */ var vee_validate_dist_vee_validate_full__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(vee_validate_dist_vee_validate_full__WEBPACK_IMPORTED_MODULE_12__);\n\n\nvar _components, _components$directive;\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//\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//\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//\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\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_components$directive = {\n  components: (_components = {\n    BFormFile: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BFormFile\"],\n    BFormInvalidFeedback: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BFormInvalidFeedback\"],\n    BForm: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BForm\"],\n    ValidationObserver: vee_validate_dist_vee_validate_full__WEBPACK_IMPORTED_MODULE_12__[\"ValidationObserver\"],\n    ValidationProvider: vee_validate_dist_vee_validate_full__WEBPACK_IMPORTED_MODULE_12__[\"ValidationProvider\"],\n    BMedia: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BMedia\"],\n    BOverlay: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BOverlay\"],\n    BPagination: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BPagination\"],\n    BAlert: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BAlert\"],\n    BModal: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BModal\"],\n    BFormCheckbox: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BFormCheckbox\"],\n    BButton: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BButton\"],\n    BCardText: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BCardText\"],\n    BListGroup: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BListGroup\"],\n    BListGroupItem: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BListGroupItem\"],\n    BRow: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BRow\"],\n    BCol: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BCol\"],\n    BCard: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BCard\"],\n    BBadge: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BBadge\"],\n    BImg: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BImg\"],\n    AppCollapseItem: _core_components_app_collapse_AppCollapseItem_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n    AppCollapse: _core_components_app_collapse_AppCollapse_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n    BTable: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BTable\"],\n    PlanCard: _components_PlanCard_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n    BFormGroup: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BFormGroup\"],\n    BFormSelect: bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BFormSelect\"]\n  }, Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_components, \"BPagination\", bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BPagination\"]), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_components, \"BInputGroup\", bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BInputGroup\"]), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_components, \"BFormInput\", bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BFormInput\"]), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_components, \"BInputGroupAppend\", bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BInputGroupAppend\"]), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_components, \"BAvatar\", bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"BAvatar\"]), _components),\n  directives: {\n    \"b-modal\": bootstrap_vue__WEBPACK_IMPORTED_MODULE_3__[\"VBModal\"],\n    Ripple: vue_ripple_directive__WEBPACK_IMPORTED_MODULE_6__[\"default\"]\n  },\n  data: function data() {\n    var _ref;\n\n    return _ref = {\n      elem: null,\n      idPalabra: null,\n      mostrarE: false,\n      mostrar: false,\n      show: false,\n      palabra: null,\n      form: {\n        buscar: \" \",\n        catalogo: \" \"\n      },\n      cantidad: 10,\n      pagina: 1,\n      elementos: [],\n      currentPage: 1,\n      perPage: 1,\n      rows: 400,\n      paginador: 1\n    }, Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"perPage\", 5), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"pageOptions\", [3, 5, 10]), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"totalRows\", 1), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"sortBy\", \"\"), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"sortDesc\", false), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"sortDirection\", \"asc\"), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"filter\", null), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"filterOn\", []), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"infoModal\", {\n      id: \"info-modal\",\n      title: \"\",\n      content: \"\"\n    }), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"fields\", [{\n      key: \"full_name\",\n      label: \"Nombre\",\n      sortable: true\n    }]), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"items\", []), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"nombre\", null), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"descripcion\", null), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"foto\", null), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"fotoC\", null), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"idPal\", null), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"catalogo\", null), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"items\", []), _ref;\n  },\n  computed: {\n    sortOptions: function sortOptions() {\n      // Create an options list from our fields\n      return this.fields.filter(function (f) {\n        return f.sortable;\n      }).map(function (f) {\n        return {\n          text: f.label,\n          value: f.key\n        };\n      });\n    }\n  },\n  mounted: function mounted() {\n    // Set the initial number of items\n    this.getCatalogo();\n    this.totalRows = this.items.length;\n    this.diccionario();\n  },\n  methods: {\n    onSubmit: function onSubmit() {\n      var _this = this;\n\n      this.show = true;\n      var form = new FormData();\n      form.append('foto', this.foto);\n      form.append('nombre', this.nombre);\n      form.append('descripcion', this.descripcion);\n      form.append('cat_categoria_fuentes_a_id', this.catalogo);\n      _services_FuenteAlimentos__WEBPACK_IMPORTED_MODULE_10__[\"default\"].updateDiccionario(this.idPal, form).then(function (response) {\n        _this.diccionario();\n\n        _this.show = false;\n\n        _this.success();\n      }).catch(function (error) {});\n    },\n    getValidationState: function getValidationState(_ref2) {\n      var dirty = _ref2.dirty,\n          validated = _ref2.validated,\n          _ref2$valid = _ref2.valid,\n          valid = _ref2$valid === void 0 ? null : _ref2$valid;\n      return dirty || validated ? valid : null;\n    },\n    editar: function editar(id) {\n      this.mostrarE = true;\n      this.idPal = this.elementos[id].id;\n      this.nombre = this.elementos[id].nombre;\n      this.descripcion = this.elementos[id].descripcion;\n      this.foto = this.elementos[id].foto;\n      this.elem = this.elementos[id];\n    },\n    eliminar: function eliminar(id) {\n      this.mostrar = true;\n      this.idPalabra = id;\n    },\n    visible: function visible(x) {\n      var _this2 = this;\n\n      var v = 0;\n\n      if (x.visible == 1) {\n        v = 0;\n      } else {\n        v = 1;\n      }\n\n      _services_FuenteAlimentos__WEBPACK_IMPORTED_MODULE_10__[\"default\"].visible(x.id, v).then(function (response) {\n        _this2.diccionario();\n      }).catch(function (error) {});\n    },\n    confirmarE: function confirmarE() {\n      var _this3 = this;\n\n      this.show = true;\n      _services_FuenteAlimentos__WEBPACK_IMPORTED_MODULE_10__[\"default\"].deleteDiccionario(this.idPalabra).then(function (response) {\n        _this3.diccionario();\n\n        _this3.show = false;\n      }).catch(function (error) {});\n    },\n    selectF: function selectF() {\n      if (this.form.catalogo === 0) {\n        this.form.catalogo = \" \";\n      }\n\n      this.diccionario();\n    },\n    getCatalogo: function getCatalogo() {\n      var _this4 = this;\n\n      _services_CatCategoriaFuente__WEBPACK_IMPORTED_MODULE_11__[\"default\"].fetchList().then(function (response) {\n        _this4.items = response.data.cuerpo;\n\n        _this4.items.push({\n          id: 0,\n          nombre: \"Seleccione\"\n        });\n      }).catch(function (error) {});\n    },\n    buscarP: function buscarP() {\n      this.form.buscar = this.palabra;\n      this.diccionario();\n    },\n    cambiarPagina: function cambiarPagina() {},\n    modal: function modal(i) {\n      var valor = i;\n      this.$bvModal.show(\"modal-\" + valor);\n    },\n    diccionario: function diccionario() {\n      var _this5 = this;\n\n      this.show = true;\n      _services_FuenteAlimentos__WEBPACK_IMPORTED_MODULE_10__[\"default\"].diccionarioGet(this.cantidad, this.pagina, this.form).then(function (response) {\n        _this5.elementos = response.data.cuerpo[0].data;\n        _this5.paginador = response.data.cuerpo[0].total;\n        _this5.show = false;\n      }).catch(function (error) {});\n    },\n    info: function info(item, index, button) {\n      this.infoModal.title = \"Row index: \".concat(index);\n      this.infoModal.content = JSON.stringify(item, null, 2);\n      this.$root.$emit(\"bv::show::modal\", this.infoModal.id, button);\n    },\n    resetInfoModal: function resetInfoModal() {\n      this.infoModal.title = \"\";\n      this.infoModal.content = \"\";\n    },\n    onFiltered: function onFiltered(filteredItems) {\n      // Trigger pagination to update the number of buttons/pages due to filtering\n      this.totalRows = filteredItems.length;\n      this.currentPage = 1;\n    }\n  }\n}, Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_components$directive, \"computed\", {\n  getTotalPages: function getTotalPages() {\n    var res = Math.ceil(this.paginador / this.cantidad) * 20;\n    return res;\n  },\n  page: function page() {\n    return this.listQuery.page;\n  }\n}), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_components$directive, \"watch\", {\n  currentPage: function currentPage() {\n    this.pagina = this.currentPage;\n    this.diccionario();\n  }\n}), Object(_Users_ruben_Development_nutrifull_front_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_components$directive, \"setup\", function setup() {\n  var _useRoles = Object(_composables_useRoles__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(),\n      nutriologos = _useRoles.nutriologos,\n      pacientes = _useRoles.pacientes,\n      admin = _useRoles.admin;\n\n  var guard = _store_index__WEBPACK_IMPORTED_MODULE_9__[\"default\"].state.app.guard;\n  return {\n    guard: guard,\n    admin: admin,\n    nutriologos: nutriologos,\n    pacientes: pacientes\n  };\n}), _components$directive);\n/* eslint-disable global-require */\n\n//# sourceURL=webpack:///./src/views/fuenteAlimentos/fuenteAlimentos.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/fuenteAlimentos/fuenteAlimentos.vue?vue&type=template&id=ea945e96&":
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./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/fuenteAlimentos/fuenteAlimentos.vue?vue&type=template&id=ea945e96& ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! 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-overlay\",\n    { attrs: { show: _vm.show, rounded: \"sm\" } },\n    [\n      _c(\n        \"b-card\",\n        { staticClass: \"popular fixed-alt card-body d-flex flex-column\" },\n        [\n          _c(\n            \"b-row\",\n            { attrs: { \"align-h\": \"end\" } },\n            [\n              _c(\n                \"b-col\",\n                [\n                  _c(\n                    \"b-form-group\",\n                    {\n                      attrs: { label: \"Categoria\", \"label-for\": \"basicInput\" }\n                    },\n                    [\n                      _c(\"b-form-select\", {\n                        attrs: {\n                          id: \"example-input-2\",\n                          name: \"example-input-2\",\n                          options: _vm.items,\n                          \"value-field\": \"id\",\n                          \"text-field\": \"nombre\",\n                          \"aria-describedby\": \"input-2-live-feedback\"\n                        },\n                        on: { change: _vm.selectF },\n                        model: {\n                          value: _vm.form.catalogo,\n                          callback: function($$v) {\n                            _vm.$set(_vm.form, \"catalogo\", $$v)\n                          },\n                          expression: \"form.catalogo\"\n                        }\n                      })\n                    ],\n                    1\n                  )\n                ],\n                1\n              )\n            ],\n            1\n          ),\n          _c(\n            \"b-row\",\n            [\n              _c(\n                \"b-col\",\n                _vm._l(_vm.elementos, function(column, i) {\n                  return column.visible == 1 || _vm.guard == _vm.admin\n                    ? _c(\"div\", { key: i, staticClass: \"palabras\" }, [\n                        column.visible == 1 || _vm.guard == _vm.admin\n                          ? _c(\n                              \"b\",\n                              [\n                                _c(\n                                  \"b-badge\",\n                                  { attrs: { variant: \"light-primary\" } },\n                                  [\n                                    _c(\n                                      \"div\",\n                                      {\n                                        staticStyle: { cursor: \"pointer\" },\n                                        on: {\n                                          click: function($event) {\n                                            return _vm.modal(column.id)\n                                          }\n                                        }\n                                      },\n                                      [_vm._v(_vm._s(column.nombre))]\n                                    )\n                                  ]\n                                ),\n                                column.eliminar == 1\n                                  ? _c(\n                                      \"div\",\n                                      { staticClass: \"icono ml-1\" },\n                                      [\n                                        _vm.guard == _vm.nutriologos ||\n                                        _vm.guard == _vm.admin\n                                          ? _c(\"feather-icon\", {\n                                              staticClass:\n                                                \"cursor-pointer text-danger\",\n                                              attrs: {\n                                                size: \"20\",\n                                                icon: \"TrashIcon\"\n                                              },\n                                              on: {\n                                                click: function($event) {\n                                                  return _vm.eliminar(column.id)\n                                                }\n                                              }\n                                            })\n                                          : _vm._e()\n                                      ],\n                                      1\n                                    )\n                                  : _vm._e(),\n                                column.editar == 1\n                                  ? _c(\n                                      \"div\",\n                                      { staticClass: \"icono ml-1\" },\n                                      [\n                                        _vm.guard == _vm.nutriologos ||\n                                        _vm.guard == _vm.admin ||\n                                        column.editar == 1\n                                          ? _c(\"feather-icon\", {\n                                              staticClass:\n                                                \"cursor-pointer mr-0 mr-sm-50 editar\",\n                                              attrs: {\n                                                icon: \"EditIcon\",\n                                                size: \"16\"\n                                              },\n                                              on: {\n                                                click: function($event) {\n                                                  return _vm.editar(i)\n                                                }\n                                              }\n                                            })\n                                          : _vm._e()\n                                      ],\n                                      1\n                                    )\n                                  : _vm._e()\n                              ],\n                              1\n                            )\n                          : _vm._e(),\n                        _vm.guard == _vm.admin\n                          ? _c(\"b\", [\n                              _vm._v(\n                                \" ........creado por : \" +\n                                  _vm._s(column.creador) +\n                                  \" \"\n                              )\n                            ])\n                          : _vm._e(),\n                        _vm.guard == _vm.admin\n                          ? _c(\"b\", [\n                              column.visible == 1\n                                ? _c(\"input\", {\n                                    attrs: {\n                                      type: \"checkbox\",\n                                      id: \"checkbox\" + column.id,\n                                      value: \"first_checkbox\",\n                                      checked: \"\"\n                                    },\n                                    on: {\n                                      click: function($event) {\n                                        return _vm.visible(column)\n                                      }\n                                    }\n                                  })\n                                : _c(\"input\", {\n                                    attrs: {\n                                      type: \"checkbox\",\n                                      id: \"checkbox\" + column.id,\n                                      value: \"first_checkbox\"\n                                    },\n                                    on: {\n                                      click: function($event) {\n                                        return _vm.visible(column)\n                                      }\n                                    }\n                                  })\n                            ])\n                          : _vm._e()\n                      ])\n                    : _vm._e()\n                }),\n                0\n              )\n            ],\n            1\n          ),\n          _c(\n            \"b-row\",\n            { attrs: { \"align-h\": \"end\" } },\n            [\n              _c(\n                \"b-col\",\n                { attrs: { cols: \"4\" } },\n                [\n                  _c(\"b-pagination\", {\n                    attrs: { \"total-rows\": _vm.getTotalPages },\n                    model: {\n                      value: _vm.currentPage,\n                      callback: function($$v) {\n                        _vm.currentPage = $$v\n                      },\n                      expression: \"currentPage\"\n                    }\n                  })\n                ],\n                1\n              )\n            ],\n            1\n          ),\n          _vm._l(_vm.elementos, function(column, i) {\n            return _c(\n              \"b-modal\",\n              {\n                key: i + \"b    \",\n                staticClass: \"modal text-danger\",\n                attrs: {\n                  id: \"modal-\" + column.id,\n                  title: column.nombre,\n                  \"ok-only\": \"\",\n                  \"ok-title\": \"Cerrar\"\n                }\n              },\n              [\n                _c(\n                  \"b-card-text\",\n                  [\n                    _c(\n                      \"b-row\",\n                      [\n                        _c(\"b-col\", [\n                          _vm._v(\" \" + _vm._s(column.descripcion) + \" \")\n                        ]),\n                        _c(\n                          \"b-col\",\n                          [\n                            _c(\"b-media\", {\n                              staticClass: \"mb-2\",\n                              scopedSlots: _vm._u(\n                                [\n                                  {\n                                    key: \"aside\",\n                                    fn: function() {\n                                      return [\n                                        _c(\"b-avatar\", {\n                                          ref: \"previewEl\",\n                                          refInFor: true,\n                                          attrs: {\n                                            src: column.foto,\n                                            size: \"200px\",\n                                            rounded: \"\"\n                                          }\n                                        })\n                                      ]\n                                    },\n                                    proxy: true\n                                  }\n                                ],\n                                null,\n                                true\n                              )\n                            })\n                          ],\n                          1\n                        )\n                      ],\n                      1\n                    )\n                  ],\n                  1\n                )\n              ],\n              1\n            )\n          }),\n          _c(\n            \"b-modal\",\n            {\n              ref: \"confirmar-modal\",\n              attrs: {\n                id: \"modal-confirmar\",\n                \"cancel-variant\": \"outline-secondary\",\n                \"ok-title\": \"Aceptar\",\n                \"cancel-title\": \"Cancelar\",\n                centered: \"\",\n                title: \"Eliminar receta\",\n                \"no-close-on-backdrop\": \"\"\n              },\n              on: { ok: _vm.confirmarE },\n              model: {\n                value: _vm.mostrar,\n                callback: function($$v) {\n                  _vm.mostrar = $$v\n                },\n                expression: \"mostrar\"\n              }\n            },\n            [_vm._v(\" ¿Seguro que deseas eliminar? \")]\n          ),\n          _c(\n            \"b-modal\",\n            {\n              ref: \"editar-modal\",\n              attrs: {\n                id: \"modal-editar\",\n                \"hide-footer\": \"\",\n                title: \"Editar receta\"\n              },\n              model: {\n                value: _vm.mostrarE,\n                callback: function($$v) {\n                  _vm.mostrarE = $$v\n                },\n                expression: \"mostrarE\"\n              }\n            },\n            [\n              _c(\n                \"div\",\n                [\n                  _c(\"validation-observer\", {\n                    ref: \"observer\",\n                    scopedSlots: _vm._u([\n                      {\n                        key: \"default\",\n                        fn: function(ref) {\n                          var handleSubmit = ref.handleSubmit\n                          return [\n                            _c(\n                              \"b-form\",\n                              {\n                                on: {\n                                  submit: function($event) {\n                                    $event.stopPropagation()\n                                    $event.preventDefault()\n                                    return handleSubmit(_vm.onSubmit)\n                                  }\n                                }\n                              },\n                              [\n                                _c(\"validation-provider\", {\n                                  attrs: {\n                                    name: \"Nombre\",\n                                    rules: { required: true }\n                                  },\n                                  scopedSlots: _vm._u(\n                                    [\n                                      {\n                                        key: \"default\",\n                                        fn: function(validationContext) {\n                                          return [\n                                            _c(\n                                              \"b-form-group\",\n                                              {\n                                                attrs: {\n                                                  id: \"nombre\",\n                                                  label: \"Nombre\",\n                                                  \"label-for\": \"Nombre\"\n                                                }\n                                              },\n                                              [\n                                                _c(\"b-form-input\", {\n                                                  attrs: {\n                                                    id: \"Nombre\",\n                                                    name: \"Nombre\",\n                                                    state: _vm.getValidationState(\n                                                      validationContext\n                                                    ),\n                                                    \"aria-describedby\":\n                                                      \"input-1-live-feedback\"\n                                                  },\n                                                  model: {\n                                                    value: _vm.nombre,\n                                                    callback: function($$v) {\n                                                      _vm.nombre = $$v\n                                                    },\n                                                    expression: \"nombre\"\n                                                  }\n                                                }),\n                                                _c(\n                                                  \"b-form-invalid-feedback\",\n                                                  {\n                                                    attrs: {\n                                                      id:\n                                                        \"input-1-live-feedback\"\n                                                    }\n                                                  },\n                                                  [\n                                                    _vm._v(\n                                                      _vm._s(\n                                                        validationContext\n                                                          .errors[0]\n                                                      )\n                                                    )\n                                                  ]\n                                                )\n                                              ],\n                                              1\n                                            )\n                                          ]\n                                        }\n                                      }\n                                    ],\n                                    null,\n                                    true\n                                  )\n                                }),\n                                _c(\"validation-provider\", {\n                                  attrs: {\n                                    name: \"Descripcion\",\n                                    rules: { required: true }\n                                  },\n                                  scopedSlots: _vm._u(\n                                    [\n                                      {\n                                        key: \"default\",\n                                        fn: function(validationContext) {\n                                          return [\n                                            _c(\n                                              \"b-form-group\",\n                                              {\n                                                attrs: {\n                                                  id: \"Descripcion\",\n                                                  label: \"Descripcion\",\n                                                  \"label-for\": \"Descripcion\"\n                                                }\n                                              },\n                                              [\n                                                _c(\"b-form-input\", {\n                                                  attrs: {\n                                                    id: \"Descripcion\",\n                                                    name: \"Descripcion\",\n                                                    state: _vm.getValidationState(\n                                                      validationContext\n                                                    ),\n                                                    \"aria-describedby\":\n                                                      \"input-1-live-feedback\"\n                                                  },\n                                                  model: {\n                                                    value: _vm.descripcion,\n                                                    callback: function($$v) {\n                                                      _vm.descripcion = $$v\n                                                    },\n                                                    expression: \"descripcion\"\n                                                  }\n                                                }),\n                                                _c(\n                                                  \"b-form-invalid-feedback\",\n                                                  {\n                                                    attrs: {\n                                                      id:\n                                                        \"input-1-live-feedback\"\n                                                    }\n                                                  },\n                                                  [\n                                                    _vm._v(\n                                                      _vm._s(\n                                                        validationContext\n                                                          .errors[0]\n                                                      )\n                                                    )\n                                                  ]\n                                                )\n                                              ],\n                                              1\n                                            )\n                                          ]\n                                        }\n                                      }\n                                    ],\n                                    null,\n                                    true\n                                  )\n                                }),\n                                _c(\"b-media\", {\n                                  staticClass: \"mb-2\",\n                                  scopedSlots: _vm._u(\n                                    [\n                                      {\n                                        key: \"aside\",\n                                        fn: function() {\n                                          return [\n                                            _c(\"b-avatar\", {\n                                              ref: \"previewEl\",\n                                              attrs: {\n                                                src: _vm.foto,\n                                                size: \"200px\",\n                                                rounded: \"\"\n                                              }\n                                            })\n                                          ]\n                                        },\n                                        proxy: true\n                                      }\n                                    ],\n                                    null,\n                                    true\n                                  )\n                                }),\n                                _c(\n                                  \"b-form-group\",\n                                  {\n                                    attrs: {\n                                      id: \"Foto\",\n                                      label: \"Foto\",\n                                      \"label-for\": \"Foto\"\n                                    }\n                                  },\n                                  [\n                                    _c(\"b-form-file\", {\n                                      attrs: {\n                                        placeholder: \"Selecciona una foto\",\n                                        \"browse-text\": \"Buscar\",\n                                        \"drop-placeholder\": \"Drop file here...\"\n                                      },\n                                      model: {\n                                        value: _vm.foto,\n                                        callback: function($$v) {\n                                          _vm.foto = $$v\n                                        },\n                                        expression: \"foto\"\n                                      }\n                                    })\n                                  ],\n                                  1\n                                ),\n                                _c(\"validation-provider\", {\n                                  attrs: {\n                                    name: \"Categoria\",\n                                    rules: { required: true }\n                                  },\n                                  scopedSlots: _vm._u(\n                                    [\n                                      {\n                                        key: \"default\",\n                                        fn: function(validationContext) {\n                                          return [\n                                            _c(\n                                              \"b-form-group\",\n                                              {\n                                                attrs: {\n                                                  label: \"Categoría\",\n                                                  \"label-for\": \"basicInput\"\n                                                }\n                                              },\n                                              [\n                                                _c(\"b-form-select\", {\n                                                  attrs: {\n                                                    multiple: \"\",\n                                                    \"select-size\": 5,\n                                                    id: \"example-input-2\",\n                                                    name: \"example-input-2\",\n                                                    options: _vm.items,\n                                                    \"value-field\": \"id\",\n                                                    \"text-field\": \"nombre\",\n                                                    \"aria-describedby\":\n                                                      \"input-2-live-feedback\"\n                                                  },\n                                                  model: {\n                                                    value: _vm.catalogo,\n                                                    callback: function($$v) {\n                                                      _vm.catalogo = $$v\n                                                    },\n                                                    expression: \"catalogo\"\n                                                  }\n                                                }),\n                                                _c(\n                                                  \"b-form-invalid-feedback\",\n                                                  {\n                                                    attrs: {\n                                                      id:\n                                                        \"input-1-live-feedback\"\n                                                    }\n                                                  },\n                                                  [\n                                                    _vm._v(\n                                                      _vm._s(\n                                                        validationContext\n                                                          .errors[0]\n                                                      )\n                                                    )\n                                                  ]\n                                                )\n                                              ],\n                                              1\n                                            )\n                                          ]\n                                        }\n                                      }\n                                    ],\n                                    null,\n                                    true\n                                  )\n                                }),\n                                _c(\n                                  \"b-button\",\n                                  {\n                                    attrs: {\n                                      type: \"submit\",\n                                      variant: \"primary\"\n                                    }\n                                  },\n                                  [_vm._v(\"Enviar\")]\n                                )\n                              ],\n                              1\n                            )\n                          ]\n                        }\n                      }\n                    ])\n                  })\n                ],\n                1\n              )\n            ]\n          )\n        ],\n        2\n      )\n    ],\n    1\n  )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/fuenteAlimentos/fuenteAlimentos.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.concat.js":
/*!*********************************************************!*\
  !*** ./node_modules/core-js/modules/es.array.concat.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 fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\nvar isArray = __webpack_require__(/*! ../internals/is-array */ \"./node_modules/core-js/internals/is-array.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar toObject = __webpack_require__(/*! ../internals/to-object */ \"./node_modules/core-js/internals/to-object.js\");\nvar toLength = __webpack_require__(/*! ../internals/to-length */ \"./node_modules/core-js/internals/to-length.js\");\nvar createProperty = __webpack_require__(/*! ../internals/create-property */ \"./node_modules/core-js/internals/create-property.js\");\nvar arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ \"./node_modules/core-js/internals/array-species-create.js\");\nvar arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ \"./node_modules/core-js/internals/array-method-has-species-support.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\nvar V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ \"./node_modules/core-js/internals/engine-v8-version.js\");\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n  var array = [];\n  array[IS_CONCAT_SPREADABLE] = false;\n  return array.concat()[0] !== array;\n});\n\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\nvar isConcatSpreadable = function (O) {\n  if (!isObject(O)) return false;\n  var spreadable = O[IS_CONCAT_SPREADABLE];\n  return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, forced: FORCED }, {\n  concat: function concat(arg) { // eslint-disable-line no-unused-vars\n    var O = toObject(this);\n    var A = arraySpeciesCreate(O, 0);\n    var n = 0;\n    var i, k, length, len, E;\n    for (i = -1, length = arguments.length; i < length; i++) {\n      E = i === -1 ? O : arguments[i];\n      if (isConcatSpreadable(E)) {\n        len = toLength(E.length);\n        if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n        for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n      } else {\n        if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n        createProperty(A, n++, E);\n      }\n    }\n    A.length = n;\n    return A;\n  }\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es.array.concat.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/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=style&index=0&lang=css&":
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--7-oneOf-1-2!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=style&index=0&lang=css& ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \"\\n[dir=ltr] .editar {\\r\\n  margin-left: 2%;\\n}\\n[dir=rtl] .editar {\\r\\n  margin-right: 2%;\\n}\\n.palabras {\\r\\n  font-size: 20px;\\n}\\n[dir] .palabras {\\r\\n  padding: 5px;\\n}\\n.cursor {\\r\\n  width: 400px;\\n}\\n[dir] .cursor {\\r\\n  cursor: pointer;\\n}\\n.icono {\\r\\n  display: -webkit-inline-box;\\n}\\r\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./src/views/fuenteAlimentos/fuenteAlimentos.vue?./node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--7-oneOf-1-2!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=style&index=0&lang=css&":
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/vue-style-loader??ref--7-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--7-oneOf-1-2!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=style&index=0&lang=css& ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(/*! !../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib??vue-loader-options!./fuenteAlimentos.vue?vue&type=style&index=0&lang=css& */ \"./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=style&index=0&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.i, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = __webpack_require__(/*! ../../../node_modules/vue-style-loader/lib/addStylesClient.js */ \"./node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"9ff7bb1a\", content, false, {\"sourceMap\":false,\"shadowMode\":false});\n// Hot Module Replacement\nif(false) {}\n\n//# sourceURL=webpack:///./src/views/fuenteAlimentos/fuenteAlimentos.vue?./node_modules/vue-style-loader??ref--7-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--7-oneOf-1-2!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\nvar useRoles = function useRoles() {\n  var admin = 'admins';\n  var nutriologos = 'nutriologos';\n  var pacientes = 'pacientes';\n  var sinsubs = 'Sin suscripción';\n  return {\n    admin: admin,\n    nutriologos: nutriologos,\n    pacientes: pacientes,\n    sinsubs: sinsubs\n  };\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (useRoles);\n\n//# sourceURL=webpack:///./src/composables/useRoles.js?");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _services_Api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/services/Api */ \"./src/services/Api.js\");\n\nvar resource = 'catalogos/cat-categoria-fuentesA';\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  fetchList: function fetchList() {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_0__[\"default\"])().get(resource);\n  }\n});\n\n//# sourceURL=webpack:///./src/services/CatCategoriaFuente.js?");

/***/ }),

/***/ "./src/services/FuenteAlimentos.js":
/*!*****************************************!*\
  !*** ./src/services/FuenteAlimentos.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 = 'fuenteA';\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  diccionarioGet: function diccionarioGet(cantidad, pagina, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/\").concat(cantidad, \"/\").concat(pagina), form);\n  },\n  diccionarioPost: function diccionarioPost(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, \"/agregar-fuenteA\"), form, config);\n  },\n  deleteDiccionario: function deleteDiccionario(id) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().delete(\"\".concat(resource, \"/eliminar/fuenteA/\").concat(id));\n  },\n  updateDiccionario: function updateDiccionario(id, form) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/actualizar/fuenteA/\").concat(id), form);\n  },\n  visible: function visible(id, x) {\n    return Object(_services_Api__WEBPACK_IMPORTED_MODULE_1__[\"default\"])().post(\"\".concat(resource, \"/actualizar/estatus/\").concat(id, \"/\").concat(x));\n  }\n});\n\n//# sourceURL=webpack:///./src/services/FuenteAlimentos.js?");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _fuenteAlimentos_vue_vue_type_template_id_ea945e96___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fuenteAlimentos.vue?vue&type=template&id=ea945e96& */ \"./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=template&id=ea945e96&\");\n/* harmony import */ var _fuenteAlimentos_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fuenteAlimentos.vue?vue&type=script&lang=js& */ \"./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport *//* harmony import */ var _fuenteAlimentos_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fuenteAlimentos.vue?vue&type=style&index=0&lang=css& */ \"./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=style&index=0&lang=css&\");\n/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(\n  _fuenteAlimentos_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _fuenteAlimentos_vue_vue_type_template_id_ea945e96___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _fuenteAlimentos_vue_vue_type_template_id_ea945e96___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/fuenteAlimentos/fuenteAlimentos.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./src/views/fuenteAlimentos/fuenteAlimentos.vue?");

/***/ }),

/***/ "./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=script&lang=js&":
/*!********************************************************************************!*\
  !*** ./src/views/fuenteAlimentos/fuenteAlimentos.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_fuenteAlimentos_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!./fuenteAlimentos.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/fuenteAlimentos/fuenteAlimentos.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_fuenteAlimentos_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./src/views/fuenteAlimentos/fuenteAlimentos.vue?");

/***/ }),

/***/ "./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=style&index=0&lang=css&":
/*!****************************************************************************************!*\
  !*** ./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=style&index=0&lang=css& ***!
  \****************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_fuenteAlimentos_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-style-loader??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib??vue-loader-options!./fuenteAlimentos.vue?vue&type=style&index=0&lang=css& */ \"./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=style&index=0&lang=css&\");\n/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_fuenteAlimentos_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_fuenteAlimentos_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_fuenteAlimentos_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_fuenteAlimentos_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n\n\n//# sourceURL=webpack:///./src/views/fuenteAlimentos/fuenteAlimentos.vue?");

/***/ }),

/***/ "./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=template&id=ea945e96&":
/*!**************************************************************************************!*\
  !*** ./src/views/fuenteAlimentos/fuenteAlimentos.vue?vue&type=template&id=ea945e96& ***!
  \**************************************************************************************/
/*! 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_fuenteAlimentos_vue_vue_type_template_id_ea945e96___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!./fuenteAlimentos.vue?vue&type=template&id=ea945e96& */ \"./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/fuenteAlimentos/fuenteAlimentos.vue?vue&type=template&id=ea945e96&\");\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_fuenteAlimentos_vue_vue_type_template_id_ea945e96___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_fuenteAlimentos_vue_vue_type_template_id_ea945e96___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./src/views/fuenteAlimentos/fuenteAlimentos.vue?");

/***/ })

}]);