{"version":3,"sources":["webpack:///./src/views/Cotizar.vue","webpack:///src/views/Cotizar.vue","webpack:///./src/views/Cotizar.vue?188e","webpack:///./src/views/Cotizar.vue?be0f","webpack:///./src/views/Cotizar.vue?2f7b","webpack:///./src/assets/comercial/c_plaza.svg","webpack:///./src/assets/comercial/c_especial_arquitectonico.svg","webpack:///./src/components/Icopagos/Titulo.vue","webpack:///src/components/Icopagos/Titulo.vue","webpack:///./src/components/Icopagos/Titulo.vue?68b1","webpack:///./src/components/Icopagos/Titulo.vue?3bf1","webpack:///./src/assets/comercial/c_estandar.svg","webpack:///../../../src/components/VChip/VChip.ts"],"names":["_c","staticClass","attrs","abreviacion","_vm","require","_v","render","name","components","Titulo","data","dialog","drawer","items","id_agencia","id_usuario","abreviacion_ciudad","token","rol","auxCodigo","estado_cotizacion_st","estado_cotizacion_sp","estado_cotizacion_cp","estado_cotizacion_fabricado","methods","Route","ruta","validarCodigo","$router","push","params","consecutivo_cotizacion","codigoCotizacion","axiosInstance","post","abreviacion_cotizacion","config","then","res","console","log","localStorage","setItem","catch","err","error","Cerrar","removeItem","urlRouter","url","validar","split","contenedor","document","querySelector","width","clientWidth","height","clientHeight","titulo","undefined","window","open","tag","getItem","computed","mapState","mounted","informacion_usuario","id_cargo","component","staticRenderFns","module","exports","this","_self","class","color","_s","props","type","String","required","default","mixins","Colorable","Sizeable","Routable","Themeable","GroupableFactory","ToggleableFactory","extend","active","Boolean","activeClass","chipGroup","close","closeIcon","closeLabel","disabled","draggable","filter","filterIcon","label","link","outlined","pill","textColor","value","proxyClass","classes","options","call","isClickable","isLink","hasClose","themeClasses","sizeableClasses","groupClasses","created","breakingProps","forEach","original","replacement","$attrs","hasOwnProperty","breaking","click","e","$emit","toggle","genFilter","children","isActive","$createElement","VIcon","left","VExpandXTransition","genClose","right","size","$vuetify","lang","t","on","stopPropagation","preventDefault","genContent","getSlot","h","generateRouteLink","tabindex","directives","setBackgroundColor","setTextColor"],"mappings":"yOAAkK,aAAC,IAAGA,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,OACNqG,MAAOlC,KAAKkB,SAEdlF,EAAOgE,KAAK+E,mBAAmB/E,KAAKG,MAAOnE,GAE3C,MAAMmE,EAAQH,KAAKiC,WAAcjC,KAAK+B,UAAY/B,KAAKG,MAEvD,OAAOwE,EAAEtF,EAAKW,KAAKgF,aAAa7E,EAAOnE,GAAO0H","file":"js/chunk-6e7d2e72.72ec4d47.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-app',{attrs:{\"id\":\"inspire\"}},[_c('v-container',[_c('Titulo',{attrs:{\"titulo\":\"Cotizador\"}}),_c('v-layout',{staticClass:\"pl-3 pr-3 mt-12\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md3\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('div',{staticClass:\"mt-6 mr-1 ml-1\"},[_c('div',[_c('v-card',{attrs:{\"loading\":_vm.estado_cotizacion_st,\"height\":\"240\"},on:{\"click\":function($event){return _vm.Route({ ruta: 'cotizacion_sts', abreviacion: 'ST' })}}},[_c('h2',{staticClass:\"subtitle-1 text-center pt-4 ma-0\"},[_vm._v(\" COTIZAR PRODUCTO \")]),_c('h2',{staticClass:\"subtitle-1 text-center ma-0\"},[_vm._v(\"ESTÁNDAR\")]),_c('v-avatar',{staticClass:\"mt-3\",attrs:{\"size\":\"125\",\"tile\":\"\"}},[_c('v-img',{attrs:{\"contain\":\"\",\"max-height\":\"300\",\"max-width\":\"221\",\"src\":require(\"../assets/comercial/c_estandar.svg\")}})],1)],1)],1)])]),_c('v-flex',{attrs:{\"text-center\":\"\",\"md3\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('div',{staticClass:\"mt-6 mr-1 ml-1\"},[_c('div',[_c('v-card',{attrs:{\"loading\":_vm.estado_cotizacion_cp,\"height\":\"240\"},on:{\"click\":function($event){return _vm.Route({ ruta: 'cotizacion_plaza', abreviacion: 'CP' })}}},[_c('h2',{staticClass:\"subtitle-1 text-center pt-4 ma-0\"},[_vm._v(\" COTIZAR PRODUCTOS \")]),_c('h2',{staticClass:\"subtitle-1 text-center ma-0\"},[_vm._v(\"DE PLAZA\")]),_c('v-avatar',{staticClass:\"mt-3\",attrs:{\"size\":\"125\",\"tile\":\"\"}},[_c('v-img',{attrs:{\"contain\":\"\",\"max-height\":\"300\",\"max-width\":\"221\",\"src\":require(\"../assets/comercial/c_plaza.svg\")}})],1)],1)],1)])]),_c('v-flex',{attrs:{\"text-center\":\"\",\"md3\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('div',{staticClass:\"mt-6 mr-1 ml-1\"},[_c('div',[_c('v-card',{attrs:{\"loading\":_vm.estado_cotizacion_fabricado,\"height\":\"240\"},on:{\"click\":function($event){return _vm.Route({\n ruta: 'producto_fabricado',\n abreviacion: 'FABRICADO',\n })}}},[_c('h2',{staticClass:\"subtitle-1 text-center pt-4\"},[_vm._v(\" COTIZAR PRODUCTO \")]),_c('div',{staticClass:\"d-flex justify-center ma-2\"},[_c('v-chip',{staticClass:\"ma-1\",attrs:{\"color\":\"#1B66C9\",\"outlined\":\"\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" mdi-robot-industrial \")]),_vm._v(\" Especial - Industrial\")],1),_c('v-chip',{staticClass:\"ma-1\",attrs:{\"color\":\"#6200EA\",\"outlined\":\"\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" mdi-pencil-plus \")]),_vm._v(\" Arquitectónica\")],1)],1),_c('v-avatar',{staticClass:\"mt-3\",attrs:{\"size\":\"125\",\"tile\":\"\"}},[_c('v-img',{attrs:{\"contain\":\"\",\"max-height\":\"300\",\"max-width\":\"221\",\"src\":require(\"../assets/comercial/c_especial_arquitectonico.svg\")}})],1)],1)],1)])])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cotizar.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cotizar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Cotizar.vue?vue&type=template&id=b1e2dc96&scoped=true\"\nimport script from \"./Cotizar.vue?vue&type=script&lang=js\"\nexport * from \"./Cotizar.vue?vue&type=script&lang=js\"\nimport style0 from \"./Cotizar.vue?vue&type=style&index=0&id=b1e2dc96&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b1e2dc96\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cotizar.vue?vue&type=style&index=0&id=b1e2dc96&prod&scoped=true&lang=css\"","module.exports = __webpack_public_path__ + \"img/c_plaza.b29a9798.svg\";","module.exports = __webpack_public_path__ + \"img/c_especial_arquitectonico.ccf8bb9d.svg\";","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h2',{class:`my-5 text-sm-title text-md-h4 font-weight-bold ${_vm.color}--text text-uppercase text-center`},[_vm._v(_vm._s(_vm.titulo))])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Titulo.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Titulo.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Titulo.vue?vue&type=template&id=c8cedb22\"\nimport script from \"./Titulo.vue?vue&type=script&lang=js\"\nexport * from \"./Titulo.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/c_estandar.bc25bd26.svg\";","// Styles\nimport './VChip.sass'\n\n// Types\nimport { VNode } from 'vue'\nimport mixins from '../../util/mixins'\n\n// Components\nimport { VExpandXTransition } from '../transitions'\nimport VIcon from '../VIcon'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport { factory as GroupableFactory } from '../../mixins/groupable'\nimport Themeable from '../../mixins/themeable'\nimport { factory as ToggleableFactory } from '../../mixins/toggleable'\nimport Routable from '../../mixins/routable'\nimport Sizeable from '../../mixins/sizeable'\n\n// Utilities\nimport { breaking } from '../../util/console'\nimport { getSlot } from '../../util/helpers'\n\n// Types\nimport { PropValidator, PropType } from 'vue/types/options'\n\n/* @vue/component */\nexport default mixins(\n Colorable,\n Sizeable,\n Routable,\n Themeable,\n GroupableFactory('chipGroup'),\n ToggleableFactory('inputValue')\n).extend({\n name: 'v-chip',\n\n props: {\n active: {\n type: Boolean,\n default: true,\n },\n activeClass: {\n type: String,\n default (): string | undefined {\n if (!this.chipGroup) return ''\n\n return this.chipGroup.activeClass\n },\n } as any as PropValidator,\n close: Boolean,\n closeIcon: {\n type: String,\n default: '$delete',\n },\n closeLabel: {\n type: String,\n default: '$vuetify.close',\n },\n disabled: Boolean,\n draggable: Boolean,\n filter: Boolean,\n filterIcon: {\n type: String,\n default: '$complete',\n },\n label: Boolean,\n link: Boolean,\n outlined: Boolean,\n pill: Boolean,\n tag: {\n type: String,\n default: 'span',\n },\n textColor: String,\n value: null as any as PropType,\n },\n\n data: () => ({\n proxyClass: 'v-chip--active',\n }),\n\n computed: {\n classes (): object {\n return {\n 'v-chip': true,\n ...Routable.options.computed.classes.call(this),\n 'v-chip--clickable': this.isClickable,\n 'v-chip--disabled': this.disabled,\n 'v-chip--draggable': this.draggable,\n 'v-chip--label': this.label,\n 'v-chip--link': this.isLink,\n 'v-chip--no-color': !this.color,\n 'v-chip--outlined': this.outlined,\n 'v-chip--pill': this.pill,\n 'v-chip--removable': this.hasClose,\n ...this.themeClasses,\n ...this.sizeableClasses,\n ...this.groupClasses,\n }\n },\n hasClose (): boolean {\n return Boolean(this.close)\n },\n isClickable (): boolean {\n return Boolean(\n Routable.options.computed.isClickable.call(this) ||\n this.chipGroup\n )\n },\n },\n\n created () {\n const breakingProps = [\n ['outline', 'outlined'],\n ['selected', 'input-value'],\n ['value', 'active'],\n ['@input', '@active.sync'],\n ]\n\n /* istanbul ignore next */\n breakingProps.forEach(([original, replacement]) => {\n if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)\n })\n },\n\n methods: {\n click (e: MouseEvent): void {\n this.$emit('click', e)\n\n this.chipGroup && this.toggle()\n },\n genFilter (): VNode {\n const children = []\n\n if (this.isActive) {\n children.push(\n this.$createElement(VIcon, {\n staticClass: 'v-chip__filter',\n props: { left: true },\n }, this.filterIcon)\n )\n }\n\n return this.$createElement(VExpandXTransition, children)\n },\n genClose (): VNode {\n return this.$createElement(VIcon, {\n staticClass: 'v-chip__close',\n props: {\n right: true,\n size: 18,\n },\n attrs: {\n 'aria-label': this.$vuetify.lang.t(this.closeLabel),\n },\n on: {\n click: (e: Event) => {\n e.stopPropagation()\n e.preventDefault()\n\n this.$emit('click:close')\n this.$emit('update:active', false)\n },\n },\n }, this.closeIcon)\n },\n genContent (): VNode {\n return this.$createElement('span', {\n staticClass: 'v-chip__content',\n }, [\n this.filter && this.genFilter(),\n getSlot(this),\n this.hasClose && this.genClose(),\n ])\n },\n },\n\n render (h): VNode {\n const children = [this.genContent()]\n let { tag, data } = this.generateRouteLink()\n\n data.attrs = {\n ...data.attrs,\n draggable: this.draggable ? 'true' : undefined,\n tabindex: this.chipGroup && !this.disabled ? 0 : data.attrs!.tabindex,\n }\n data.directives!.push({\n name: 'show',\n value: this.active,\n })\n data = this.setBackgroundColor(this.color, data)\n\n const color = this.textColor || (this.outlined && this.color)\n\n return h(tag, this.setTextColor(color, data), children)\n },\n})\n"],"sourceRoot":""}