{"version":3,"sources":["webpack:///./src/views/EntityInstanceEditor.vue?a3c0","webpack:///./src/modules/entities/domain/EntityInstanceEditorScreenData.ts","webpack:///./src/modules/entities/app/EntityInstanceEditorComponent.ts","webpack:///./src/modules/entities/infra/UIComponents/InstanceEditorV1.vue?8410","webpack:///src/modules/entities/infra/UIComponents/InstanceEditorV1.vue","webpack:///./src/modules/entities/infra/UIComponents/InstanceEditorV1.vue?b1ec","webpack:///./src/modules/entities/infra/UIComponents/InstanceEditorV1.vue?b751","webpack:///src/views/EntityInstanceEditor.vue","webpack:///./src/views/EntityInstanceEditor.vue?6043","webpack:///./src/views/EntityInstanceEditor.vue","webpack:///./src/modules/entities/infra/RecursivePayloadOnSchemaEditor.vue?4c93","webpack:///./src/modules/entities/infra/UIComponents/InstanceEditorV1.vue?b0f9","webpack:///./src/components/GenericTableComponent.vue?5531","webpack:///./src/modules/entities/infra/ListOnSchemaEditor.vue?d87e","webpack:///./src/components/GenericTableComponent.vue?4991","webpack:///src/components/GenericTableComponent.vue","webpack:///./src/components/GenericTableComponent.vue?dd96","webpack:///./src/components/GenericTableComponent.vue?a44e","webpack:///./src/modules/entities/infra/RecursivePayloadOnSchemaEditor.vue?9fab","webpack:///./src/modules/entities/infra/ListOnSchemaEditor.vue?fc2c","webpack:///src/modules/entities/infra/ListOnSchemaEditor.vue","webpack:///./src/modules/entities/infra/ListOnSchemaEditor.vue?c3f4","webpack:///./src/modules/entities/infra/ListOnSchemaEditor.vue?36b9","webpack:///src/modules/entities/infra/RecursivePayloadOnSchemaEditor.vue","webpack:///./src/modules/entities/infra/RecursivePayloadOnSchemaEditor.vue?5efd","webpack:///./src/modules/entities/infra/RecursivePayloadOnSchemaEditor.vue?20ac"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","screen_data","snackbar","color","timeout","model","value","callback","$$v","$set","expression","_v","_s","text","entityType","entityInstance","on","backToList","name","scopedSlots","_u","key","fn","ref","_g","_b","loading","$event","save","special_ui_type","special_ui_payload","note","staticStyle","schema","_e","payload","staticRenderFns","EntityInstanceEditorScreenData","message","EntityInstanceEditorComponent","entity_type_repo","entity_instance_repo","company_id","entity_instance_id","entity_type_id","entity_type","entity_instance","get_instance_by_id","get_type_by_id","console","log","create_empty_entity_instance","res","inst","success_message","error_message","_l","my_ui","row","field_1","options","emit_payload","my_payload","field","type","title","format_type","field_2","component","VCheckbox","VCol","VRow","VSelect","VTextField","components","AppBtn","AppCol","AppRow","InstanceEditorV1","RecursivePayloadOnSchemaEditor","entity_instance_component","props","companydb_id","Number","String","required","default","methods","$router","go","saveEntityInstance","replace","params","uuid","computed","ui_config","entity_editor","ui_type","well_mounted","mountInstanceEditor","VBtn","VCard","VCardText","VCardTitle","VContainer","VDivider","VSnackbar","VSpacer","VTooltip","c_headers","formattedRows","VDataTable","style","fontSize","getFontSize","key_to_show","intern_key","marginLeft","depth","get_next_key_to_show","readonly","new_data","update_payload","data_payload","nextFontSize","delete_extra_key","is_tablable","items","Object","keys","properties","payloadChanged","turnIntoNumber","length","item","index","item_schema","toString","removeItem","addItem","Array","Boolean","push","splice","$emit","VIcon","GenericTableComponent","ListOnSchemaEditor","getDefaultPayload","initializePayload","baseSize","sizeIncrement","filter","includes","new_payload"],"mappings":"kJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,YAAY,yBAAyBC,MAAM,CAAC,MAAQ,KAAK,CAACH,EAAG,aAAa,CAACG,MAAM,CAAC,MAAQP,EAAIQ,YAAYC,SAASC,MAAM,QAAUV,EAAIQ,YAAYC,SAASE,SAASC,MAAM,CAACC,MAAOb,EAAIQ,YAAYC,SAAkB,UAAEK,SAAS,SAAUC,GAAMf,EAAIgB,KAAKhB,EAAIQ,YAAYC,SAAU,YAAaM,IAAME,WAAW,mCAAmC,CAACjB,EAAIkB,GAAG,aAAalB,EAAImB,GAAGnB,EAAIQ,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,KAAKE,aAAA,KAAWmC,WAAA","file":"js/chunk-d0b8709a.f7929a2e.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"container-full-bg-gray\",attrs:{\"fluid\":\"\"}},[_c('v-snackbar',{attrs:{\"color\":_vm.screen_data.snackbar.color,\"timeout\":_vm.screen_data.snackbar.timeout},model:{value:(_vm.screen_data.snackbar.isVisible),callback:function ($$v) {_vm.$set(_vm.screen_data.snackbar, \"isVisible\", $$v)},expression:\"screen_data.snackbar.isVisible\"}},[_vm._v(\"\\n \"+_vm._s(_vm.screen_data.snackbar.text)+\"\\n \")]),_c('app-row',[_c('app-col',{attrs:{\"cols\":\"12\"}},[(_vm.screen_data && _vm.screen_data.entityType && _vm.screen_data.entityInstance)?_c('v-card',{staticClass:\"rounded-lg\",attrs:{\"width\":\"100%\"}},[_c('v-card-title',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"mr-auto d-flex align-sm-center\"},[_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":_vm.backToList}},[_c('img',{attrs:{\"src\":require(\"../assets/back-arrow.svg\")}})]),_c('h4',{staticClass:\"primary_blue--text ml-2\"},[_vm._v(\"Editor de tipo \"+_vm._s(_vm.screen_data.entityType.name))])],1),_c('v-spacer'),_c('div',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"ml-1 mr-2\",attrs:{\"icon\":\"\",\"loading\":_vm.screen_data.loading},on:{\"click\":function($event){return _vm.save()}}},'v-btn',attrs,false),on),[_c('img',{attrs:{\"src\":require(\"../assets/save_invoice.svg\")}})])]}}],null,false,2990937922)},[_c('span',[_vm._v(\"Guardar \"+_vm._s(_vm.screen_data.entityType.name))])])],1)],1),_c('v-divider'),(_vm.screen_data && _vm.screen_data.entityType && _vm.screen_data.entityInstance)?_c('v-card-text',[(_vm.special_ui_type==='00004d7a-e4fe-47af-8ff6-187bca92f300')?_c('v-row',[_c('h2',[_vm._v(_vm._s(_vm.special_ui_payload.note))]),_c('v-col',{staticStyle:{\"color\":\"blue\"},attrs:{\"cols\":\"6\"}},[_c('RecursivePayloadOnSchemaEditor',{attrs:{\"schema\":_vm.screen_data.entityType.schema,\"key_to_show\":_vm.screen_data.entityType.name},model:{value:(_vm.screen_data.entityInstance.payload),callback:function ($$v) {_vm.$set(_vm.screen_data.entityInstance, \"payload\", $$v)},expression:\"screen_data.entityInstance.payload\"}})],1)],1):_vm._e(),(_vm.special_ui_type==='ui-editor-v1')?_c('v-row',[_c('h2',[_vm._v(_vm._s(_vm.special_ui_payload.note))]),_c('v-col',{attrs:{\"cols\":\"12\"}},[(_vm.special_ui_payload && _vm.screen_data.entityInstance.payload)?_c('InstanceEditorV1',{attrs:{\"my_ui\":_vm.special_ui_payload},model:{value:(_vm.screen_data.entityInstance.payload),callback:function ($$v) {_vm.$set(_vm.screen_data.entityInstance, \"payload\", $$v)},expression:\"screen_data.entityInstance.payload\"}}):_vm._e()],1)],1):_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('RecursivePayloadOnSchemaEditor',{attrs:{\"schema\":_vm.screen_data.entityType.schema,\"key_to_show\":_vm.screen_data.entityType.name},model:{value:(_vm.screen_data.entityInstance.payload),callback:function ($$v) {_vm.$set(_vm.screen_data.entityInstance, \"payload\", $$v)},expression:\"screen_data.entityInstance.payload\"}})],1)],1)],1):_vm._e()],1):_vm._e()],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { EntityType, EntityInstance } from \"./Entities\";\n\nexport class EntityInstanceEditorScreenData {\n\n entityInstance: EntityInstance;\n entityType: EntityType;\n snackbar: Object;\n loading: boolean;\n\n constructor(){\n this.entityInstance = null\n this.entityType = null\n this.snackbar = {\n ['isVisible']: false,\n text: '',\n color: '',\n timeout: 3000,\n }\n this.loading = false\n }\n\n success_message(message:string){\n this.snackbar['text'] = message\n this.snackbar['color'] = 'success'\n this.snackbar['isVisible'] = true\n }\n\n error_message(message:string){\n this.snackbar['text'] = message\n this.snackbar['color'] = 'error'\n this.snackbar['isVisible'] = true\n }\n\n\n}","import { EntityTypeRepository, EntityInstanceRepository } from \"../domain/Entities\"\nimport { EntityInstanceEditorScreenData } from \"../domain/EntityInstanceEditorScreenData\"\n\nexport class EntityInstanceEditorComponent {\n \n entity_type_repo:EntityTypeRepository\n entity_instance_repo:EntityInstanceRepository\n screen_data: EntityInstanceEditorScreenData\n company_id:number\n \n constructor(entity_type_repo:EntityTypeRepository,screen_data:EntityInstanceEditorScreenData, entity_instance_repo:EntityInstanceRepository, company_id:number){ \n this.entity_type_repo = entity_type_repo\n this.screen_data = screen_data\n this.entity_instance_repo = entity_instance_repo\n this.company_id = company_id\n }\n\n async mountInstanceEditor(entity_instance_id:string, entity_type_id:string) {\n // console.log(entity_instance_id, entity_type_id)\n let entity_type = null\n let entity_instance = null\n if (entity_instance_id) {\n entity_instance = await this.entity_instance_repo.get_instance_by_id(entity_instance_id)\n entity_type = await this.entity_type_repo.get_type_by_id(entity_instance.entity_type_id,true)\n }\n else if (entity_type_id) {\n entity_type = await this.entity_type_repo.get_type_by_id(entity_type_id, true)\n entity_instance = this.entity_instance_repo.create_empty_entity_instance(this.company_id, entity_type)\n }\n else{\n console.log(\"No entity type or instance id, have to exit\")\n return false // No entity type or instance id, have to exit\n }\n this.screen_data.entityType = entity_type\n this.screen_data.entityInstance = entity_instance\n return true\n \n\n }\n\n async saveEntityInstance() {\n this.screen_data.loading = true\n let entity_instance = this.screen_data.entityInstance\n console.log(entity_instance)\n let res = await this.entity_instance_repo.save(entity_instance)\n if (res && res['status'] == 'ok') {\n let inst = await this.entity_instance_repo.get_instance_by_id(res['instance_id'])\n this.screen_data.entityInstance = inst\n this.screen_data.success_message('Instancia guardada correctamente')\n }\n else {\n this.screen_data.error_message('Error al guardar la instancia')\n }\n this.screen_data.loading = false\n }\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.my_ui.rows),function(row){return _c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[(row.field_1 && row.field_1.options)?_c('div',[_c('v-select',{attrs:{\"items\":row.field_1.options,\"label\":\"Selecciona un ítem\"},on:{\"change\":_vm.emit_payload},model:{value:(_vm.my_payload[row.field_1.field]),callback:function ($$v) {_vm.$set(_vm.my_payload, row.field_1.field, $$v)},expression:\"my_payload[row.field_1.field]\"}})],1):(row.field_1 && row.field_1.type && row.field_1.type=='boolean')?_c('div',[_c('v-checkbox',{attrs:{\"label\":row.field_1.title},on:{\"change\":_vm.emit_payload},model:{value:(_vm.my_payload[row.field_1.field]),callback:function ($$v) {_vm.$set(_vm.my_payload, row.field_1.field, $$v)},expression:\"my_payload[row.field_1.field]\"}})],1):(row.field_1 && row.field_1.field)?_c('v-text-field',{attrs:{\"label\":row.field_1.title,\"type\":_vm.format_type(row.field_1.type)},on:{\"input\":_vm.emit_payload},model:{value:(_vm.my_payload[row.field_1.field]),callback:function ($$v) {_vm.$set(_vm.my_payload, row.field_1.field, $$v)},expression:\"my_payload[row.field_1.field]\"}}):_c('div')],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[(row.field_2 && row.field_2.options)?_c('div',[_c('v-select',{attrs:{\"items\":row.field_2.options,\"label\":\"Selecciona un ítem\"},on:{\"change\":_vm.emit_payload},model:{value:(_vm.my_payload[row.field_2.field]),callback:function ($$v) {_vm.$set(_vm.my_payload, row.field_2.field, $$v)},expression:\"my_payload[row.field_2.field]\"}})],1):(row.field_2 && row.field_2.type && row.field_2.type=='boolean')?_c('div',[_c('v-checkbox',{attrs:{\"label\":row.field_2.title},on:{\"change\":_vm.emit_payload},model:{value:(_vm.my_payload[row.field_2.field]),callback:function ($$v) {_vm.$set(_vm.my_payload, row.field_2.field, $$v)},expression:\"my_payload[row.field_2.field]\"}})],1):(row.field_2 && row.field_2.field)?_c('v-text-field',{attrs:{\"label\":row.field_2.title,\"type\":_vm.format_type(row.field_2.type)},on:{\"input\":_vm.emit_payload},model:{value:(_vm.my_payload[row.field_2.field]),callback:function ($$v) {_vm.$set(_vm.my_payload, row.field_2.field, $$v)},expression:\"my_payload[row.field_2.field]\"}}):_c('div')],1)],1)}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n ","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InstanceEditorV1.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InstanceEditorV1.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InstanceEditorV1.vue?vue&type=template&id=d217376a&scoped=true&\"\nimport script from \"./InstanceEditorV1.vue?vue&type=script&lang=js&\"\nexport * from \"./InstanceEditorV1.vue?vue&type=script&lang=js&\"\nimport style0 from \"./InstanceEditorV1.vue?vue&type=style&index=0&id=d217376a&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 \"d217376a\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VCheckbox,VCol,VRow,VSelect,VTextField})\n","\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntityInstanceEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntityInstanceEditor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EntityInstanceEditor.vue?vue&type=template&id=401375a2&scoped=true&\"\nimport script from \"./EntityInstanceEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./EntityInstanceEditor.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 \"401375a2\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCard,VCardText,VCardTitle,VCol,VContainer,VDivider,VRow,VSnackbar,VSpacer,VTooltip})\n","export * from \"-!../../../../node_modules/@vue/cli-service/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!./RecursivePayloadOnSchemaEditor.vue?vue&type=style&index=0&id=0abd7038&scoped=true&lang=css&\"","export * from \"-!../../../../../node_modules/@vue/cli-service/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!./InstanceEditorV1.vue?vue&type=style&index=0&id=d217376a&scoped=true&lang=css&\"","export * from \"-!../../node_modules/@vue/cli-service/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!./GenericTableComponent.vue?vue&type=style&index=0&id=4f722058&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/@vue/cli-service/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!./ListOnSchemaEditor.vue?vue&type=style&index=0&id=0079d63a&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',[_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"headers\":_vm.c_headers,\"items\":_vm.formattedRows,\"disable-pagination\":\"\",\"hide-default-footer\":\"\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n ","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericTableComponent.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericTableComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenericTableComponent.vue?vue&type=template&id=4f722058&scoped=true&\"\nimport script from \"./GenericTableComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericTableComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GenericTableComponent.vue?vue&type=style&index=0&id=4f722058&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 \"4f722058\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\ninstallComponents(component, {VContainer,VDataTable})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.schema.type === 'object')?_c('div',{staticClass:\"nested-section\"},[_c('h3',{style:({ fontSize: _vm.getFontSize })},[_vm._v(_vm._s(_vm.key_to_show))]),(_vm.intern_key!=_vm.key_to_show)?_c('i',[_vm._v(\" \"+_vm._s(_vm.intern_key))]):_vm._e(),_vm._l((_vm.schema.properties),function(value,key){return [_c('div',{staticClass:\"nested-section\",style:({ marginLeft: _vm.depth * 20 + 'px' })},[_c('RecursivePayloadOnSchemaEditor',{attrs:{\"schema\":value,\"key_to_show\":_vm.get_next_key_to_show(key, value),\"intern_key\":key,\"depth\":_vm.depth + 1,\"readonly\":_vm.readonly},on:{\"input\":function (new_data) { return _vm.update_payload(key, new_data); }},model:{value:(_vm.data_payload[key]),callback:function ($$v) {_vm.$set(_vm.data_payload, key, $$v)},expression:\"data_payload[key]\"}})],1)]}),_vm._l((_vm.out_of_schema_keys),function(key){return [_c('div',{staticClass:\"nested-section\",style:({ marginLeft: _vm.depth * 20 + 'px' })},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"4\"}},[_c('p',{style:({ fontSize: _vm.nextFontSize, color:'red'})},[_c('strong',[_vm._v(_vm._s(key)+\":\")])])]),_c('v-col',{attrs:{\"cols\":\"7\"}},[_c('p',{style:({ fontSize: _vm.nextFontSize , color:'red' })},[_vm._v(_vm._s(_vm.data_payload[key]))])]),(!_vm.readonly)?_c('v-col',{attrs:{\"cols\":\"1\"}},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\",\"color\":\"red\"},on:{\"click\":function($event){return _vm.delete_extra_key(key)}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-delete\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Eliminar campo (no consta en esquema de registro)\")])])],1):_vm._e()],1)],1)]})],2):(_vm.schema.type === 'array')?_c('div',{staticClass:\"nested-section\"},[_c('h3',{style:({ fontSize: _vm.getFontSize })},[_vm._v(_vm._s(_vm.key_to_show))]),(_vm.intern_key!=_vm.key_to_show)?_c('i',[_vm._v(\" \"+_vm._s(_vm.intern_key))]):_vm._e(),(!_vm.is_tablable(_vm.schema.items))?_c('div',[_c('ListOnSchemaEditor',{attrs:{\"item_schema\":_vm.schema.items,\"readonly\":_vm.readonly,\"depth\":_vm.depth + 1},on:{\"change\":_vm.payloadChanged},model:{value:(_vm.data_payload),callback:function ($$v) {_vm.data_payload=$$v},expression:\"data_payload\"}})],1):_c('div',[_c('GenericTableComponent',{attrs:{\"data\":_vm.data_payload,\"headers\":Object.keys(_vm.schema.items.properties)}})],1)]):_c('div',{staticClass:\"nested-section\"},[_c('v-row',{staticClass:\"d-flex align-baseline\"},[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('p',{style:({ fontSize: _vm.getFontSize })},[_c('strong',[_vm._v(_vm._s(_vm.key_to_show)+\":\")])])]),_c('v-col',{attrs:{\"cols\":\"8\"}},[(_vm.schema.type === 'boolean')?_c('v-checkbox',{attrs:{\"label\":_vm.intern_key,\"readonly\":_vm.readonly,\"hide-details\":\"auto\"},on:{\"change\":_vm.payloadChanged},model:{value:(_vm.data_payload),callback:function ($$v) {_vm.data_payload=$$v},expression:\"data_payload\"}}):(_vm.schema.type === 'string')?_c('v-text-field',{attrs:{\"label\":_vm.intern_key,\"readonly\":_vm.readonly,\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"auto\"},on:{\"input\":_vm.payloadChanged},model:{value:(_vm.data_payload),callback:function ($$v) {_vm.data_payload=$$v},expression:\"data_payload\"}}):(_vm.schema.type === 'number' || _vm.schema.type === 'integer')?_c('v-text-field',{attrs:{\"label\":_vm.intern_key,\"readonly\":_vm.readonly,\"outlined\":\"\",\"dense\":\"\",\"type\":\"number\",\"hide-details\":\"auto\"},on:{\"input\":_vm.turnIntoNumber},model:{value:(_vm.data_payload),callback:function ($$v) {_vm.data_payload=$$v},expression:\"data_payload\"}}):(typeof _vm.schema === 'object' && Object.keys(_vm.schema).length === 0)?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.data_payload)+\"\\n \")]):_vm._e()],1)],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._l((_vm.value),function(item,index){return _c('div',{key:index,staticClass:\"d-flex align-baseline\"},[_c('RecursivePayloadOnSchemaEditor',{attrs:{\"schema\":_vm.item_schema,\"readonly\":_vm.readonly,\"key_to_show\":(index + 1).toString(),\"depth\":_vm.depth+1},on:{\"change\":_vm.payloadChanged},model:{value:(_vm.value[index]),callback:function ($$v) {_vm.$set(_vm.value, index, $$v)},expression:\"value[index]\"}}),(!_vm.readonly)?_c('button',{attrs:{\"icon\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.removeItem(index)}}},[_c('v-icon',{staticClass:\"red--text\"},[_vm._v(\"mdi-close\")])],1):_vm._e()],1)}),(!_vm.readonly)?_c('button',{style:({ marginLeft: _vm.depth*20 + 'px' }),attrs:{\"icon\":\"\",\"small\":\"\"},on:{\"click\":_vm.addItem}},[_c('v-icon',{staticClass:\"primary_blue--text\"},[_vm._v(\"mdi-plus\")])],1):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\nstyleaddItem() {\n this.items.push({});\n },\n removeItem(index) {\n this.items.splice(index, 1);\n }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListOnSchemaEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListOnSchemaEditor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ListOnSchemaEditor.vue?vue&type=template&id=0079d63a&scoped=true&\"\nimport script from \"./ListOnSchemaEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./ListOnSchemaEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ListOnSchemaEditor.vue?vue&type=style&index=0&id=0079d63a&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 \"0079d63a\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VIcon})\n","\n \n\n \n \n ","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecursivePayloadOnSchemaEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecursivePayloadOnSchemaEditor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RecursivePayloadOnSchemaEditor.vue?vue&type=template&id=0abd7038&scoped=true&\"\nimport script from \"./RecursivePayloadOnSchemaEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./RecursivePayloadOnSchemaEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RecursivePayloadOnSchemaEditor.vue?vue&type=style&index=0&id=0abd7038&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 \"0abd7038\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCheckbox,VCol,VIcon,VRow,VTextField,VTooltip})\n"],"sourceRoot":""}