| Server IP : 216.238.66.20 / Your IP : 216.73.216.199 Web Server : nginx/1.30.4 System : Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/7mares.gamliel.mx/htdocs/app/js/ |
Upload File : |
{"version":3,"sources":["webpack:///./src/views/dashboard/views/days/DayAddAlert.vue","webpack:///src/views/dashboard/views/days/DayAddAlert.vue","webpack:///./src/views/dashboard/views/days/DayAddAlert.vue?9cd9","webpack:///./src/views/dashboard/views/days/DayAddAlert.vue?cc77"],"names":["model","value","_vm","dialog","callback","expression","staticClass","_c","attrs","on","_v","_s","$t","staticRenderFns","name","data","week","mounted","_this","EventBus","$on","item","methods","open","_this2","_asyncToGenerator","_regeneratorRuntime","mark","_callee2","wrap","_context2","prev","next","toggleLoader","$http","post","route","concat","days","length","is_open_seas","then","_ref","_callee","response","day","_context","body","warm_ups","main_series","final_sections","push","put","id","$emit","error","processError","stop","_x","apply","arguments","component"],"mappings":"yLAA0H,EAAC,W,IAACA,EAAM,K,EAACC,EAAOC,MAAIC,G,OAAQC,SAAS,C,MAAmB,CAAW,WAAC,GAACC,YAAW,OAAU,MAAK,CAA6BC,QAAY,OAAaC,SAASL,SAAO,GAA2IM,EAAM,UAA0B,WAAO,WAAIC,CAAE,EAAC,kB,YAAS,Y,GAAiBP,KAAIC,GAAM,GAAG,gCAAK,2F,MAAA,CAAC,uBAAID,KAAO,I,GAAkF,CAAuB,kBAAI,eAAoB,CAACA,EAAIQ,GAAG,IAAIR,EAAIS,GAAGT,EAAIU,GAAG,uBAAuB,OAAQ,EAAE,QAAQ,EAAC,QACptB,OACGC,sB,gHC8BJ,G,UAAA,CACAC,KAAA,eACAC,KAAA,WACA,OACAZ,QAAA,EACAa,KAAA,KAGAC,QAAA,eAAAC,EAAA,KACAC,SA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AA7B,MApCAH,OC/CkY,I,YCO9XoC,EAAY,eACd,EACA,EACAhD,GACA,EACA,KACA,WACA,MAIa,aAAAgD,E","file":"js/chunk-2d0e5f7f.decc164a.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_c('h3',[_vm._v(\"¿Desea crear un nuevo día?\")]),_c('small',[_vm._v(\"Esto generará un nuevo día en la base de datos.\")])]),_c('v-card-actions',[_c('v-btn',{attrs:{\"color\":\"green darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.dialog = false}}},[_vm._v(\" \"+_vm._s(_vm.$t('app.buttons.cancel'))+\" \")]),_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"primary dark\"},on:{\"click\":_vm.open}},[_vm._v(\" \"+_vm._s(_vm.$t('app.buttons.confirm'))+\" \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <v-dialog\n v-model=\"dialog\"\n persistent\n max-width=\"500\"\n >\n <v-card>\n <v-card-title class=\"headline\">\n <h3>¿Desea crear un nuevo día?</h3>\n <small>Esto generará un nuevo día en la base de datos.</small>\n </v-card-title>\n <v-card-actions>\n <v-btn\n color=\"green darken-1\"\n text\n @click=\"dialog = false\"\n >\n {{ $t('app.buttons.cancel') }}\n </v-btn>\n <v-spacer />\n <v-btn\n color=\"primary dark\"\n @click=\"open\"\n >\n {{ $t('app.buttons.confirm') }}\n </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\n export default {\n name: 'DaysAddAlert',\n data() {\n return {\n dialog: false,\n week: {}\n }\n },\n mounted () {\n EventBus.$on('days-add-alert', (item) => {\n this.week = item\n this.dialog = true\n })\n },\n methods: {\n async open () {\n this.dialog = false\n this.toggleLoader()\n\n await this.$http.post(route(\"days\"), {\n data: {\n name: `Día ${this.week.days.length + 1}`,\n is_open_seas: false,\n }\n })\n .then(async response => {\n if (response.body.data) {\n let day = response.body.data\n day.warm_ups = []\n day.main_series = []\n day.final_sections = []\n this.week.days.push(day)\n\n await this.$http.put(route(`weeks/${this.week.id}`), {\n data: this.week\n }).then(response => {\n EventBus.$emit('reload-items-days-edit', this.week)\n EventBus.$emit('days-edit', {\n day,\n week: this.week\n })\n }, error => this.processError(error))\n } else {\n this.processError(response)\n }\n }, error => {\n this.processError(error)\n })\n\n this.toggleLoader()\n\n EventBus.$emit('reload-items')\n },\n },\n }\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DayAddAlert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DayAddAlert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DayAddAlert.vue?vue&type=template&id=b7bb44f6&scoped=true&\"\nimport script from \"./DayAddAlert.vue?vue&type=script&lang=js&\"\nexport * from \"./DayAddAlert.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b7bb44f6\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}