{"version":3,"sources":["webpack:///./src/modules/document/infra/detail_components/CreateInstanceFromContextDetailComponent.vue?d9ea","webpack:///./src/modules/document/infra/detail_components/CreateInstanceDetailComponent.vue?b2f6","webpack:///./src/modules/document/infra/detail_components/SendDataToEndpointDetailComponent.vue?6b22","webpack:///./src/modules/document/infra/detail_components/LookupAndMatchInstanceDetailComponent.vue?8a43","webpack:///./src/components/WorkflowTemplateStageCard.vue?9242","webpack:///./src/modules/entities/domain/GetTreeFromSchema.ts","webpack:///./src/modules/document/infra/detail_components/RunCommandDetailComponent.vue?a0c9","webpack:///./src/modules/document/infra/detail_components/RunScriptDetailComponent.vue?f5ec","webpack:///./src/modules/document/infra/detail_components/ModifyContextDetailComponent.vue?11c1","webpack:///./src/modules/document/infra/RecursivePayloadOfAdressesOnSchemaEditor.vue?6efa","webpack:///./src/modules/document/infra/ListOnSchemaAddressesEditor.vue?fd37","webpack:///src/modules/document/infra/ListOnSchemaAddressesEditor.vue","webpack:///./src/modules/document/infra/ListOnSchemaAddressesEditor.vue?76dd","webpack:///./src/modules/document/infra/ListOnSchemaAddressesEditor.vue?d1ea","webpack:///src/modules/document/infra/RecursivePayloadOfAdressesOnSchemaEditor.vue","webpack:///./src/modules/document/infra/RecursivePayloadOfAdressesOnSchemaEditor.vue?892b","webpack:///./src/modules/document/infra/RecursivePayloadOfAdressesOnSchemaEditor.vue?0f65","webpack:///./src/modules/document/infra/detail_components/WaitForApprovalDetailComponent.vue?edad","webpack:///./src/modules/document/infra/RouteInBagSelectorComponent.vue?c568","webpack:///src/modules/document/infra/RouteInBagSelectorComponent.vue","webpack:///./src/modules/document/infra/RouteInBagSelectorComponent.vue?3e38","webpack:///./src/modules/document/infra/RouteInBagSelectorComponent.vue","webpack:///./src/views/WorkflowEditor.vue?c687","webpack:///./src/modules/document/domain/WorkflowTemplateEditorScreenData.ts","webpack:///./src/modules/document/application/WorkflowTemplateEditorComponent.ts","webpack:///./src/components/WorkflowTemplateStageCard.vue?95d2","webpack:///src/components/WorkflowTemplateStageCard.vue","webpack:///./src/components/WorkflowTemplateStageCard.vue?8884","webpack:///./src/components/WorkflowTemplateStageCard.vue?8751","webpack:///./src/components/WorkflowTemplateStageDetail.vue?6399","webpack:///./src/modules/document/infra/detail_components/AskAIDetailComponent.vue?117e","webpack:///src/modules/document/infra/detail_components/AskAIDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/AskAIDetailComponent.vue?9c2e","webpack:///./src/modules/document/infra/detail_components/AskAIDetailComponent.vue?7a05","webpack:///./src/modules/document/infra/detail_components/AddDocumentRepresentationToConversationDetailComponent.vue?088b","webpack:///src/modules/document/infra/detail_components/AddDocumentRepresentationToConversationDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/AddDocumentRepresentationToConversationDetailComponent.vue?303b","webpack:///./src/modules/document/infra/detail_components/AddDocumentRepresentationToConversationDetailComponent.vue?68cc","webpack:///./src/modules/document/infra/detail_components/SendDataToEndpointDetailComponent.vue?38d1","webpack:///src/modules/document/infra/detail_components/SendDataToEndpointDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/SendDataToEndpointDetailComponent.vue?c0fe","webpack:///./src/modules/document/infra/detail_components/SendDataToEndpointDetailComponent.vue?af94","webpack:///./src/modules/document/infra/detail_components/RunScriptDetailComponent.vue?7822","webpack:///src/modules/document/infra/detail_components/RunScriptDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/RunScriptDetailComponent.vue?a272","webpack:///./src/modules/document/infra/detail_components/RunScriptDetailComponent.vue?1d7d","webpack:///./src/modules/document/infra/detail_components/WaitForApprovalDetailComponent.vue?3814","webpack:///src/modules/document/infra/detail_components/WaitForApprovalDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/WaitForApprovalDetailComponent.vue?03cb","webpack:///./src/modules/document/infra/detail_components/WaitForApprovalDetailComponent.vue?ddbd","webpack:///./src/modules/document/infra/detail_components/LookupAndMatchInstanceDetailComponent.vue?1bf8","webpack:///src/modules/document/infra/detail_components/LookupAndMatchInstanceDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/LookupAndMatchInstanceDetailComponent.vue?cd5f","webpack:///./src/modules/document/infra/detail_components/LookupAndMatchInstanceDetailComponent.vue?a631","webpack:///./src/modules/document/infra/detail_components/LookupAndMatchMultipleInstancesDetailComponent.vue?9707","webpack:///src/modules/document/infra/detail_components/LookupAndMatchMultipleInstancesDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/LookupAndMatchMultipleInstancesDetailComponent.vue?925d","webpack:///./src/modules/document/infra/detail_components/LookupAndMatchMultipleInstancesDetailComponent.vue?32bf","webpack:///./src/modules/document/infra/detail_components/ExtractInstanceFromRawDataDetailComponent.vue?29bb","webpack:///src/modules/document/infra/detail_components/ExtractInstanceFromRawDataDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/ExtractInstanceFromRawDataDetailComponent.vue?3d2f","webpack:///./src/modules/document/infra/detail_components/ExtractInstanceFromRawDataDetailComponent.vue?08fd","webpack:///./src/modules/document/infra/detail_components/CreateInstanceFromContextDetailComponent.vue?ffe4","webpack:///src/modules/document/infra/detail_components/CreateInstanceFromContextDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/CreateInstanceFromContextDetailComponent.vue?0652","webpack:///./src/modules/document/infra/detail_components/CreateInstanceFromContextDetailComponent.vue?7f6f","webpack:///./src/modules/document/infra/detail_components/CompleteConversationDetailComponent.vue?6107","webpack:///src/modules/document/infra/detail_components/CompleteConversationDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/CompleteConversationDetailComponent.vue?79fa","webpack:///./src/modules/document/infra/detail_components/CompleteConversationDetailComponent.vue?1ef3","webpack:///./src/modules/document/infra/detail_components/SendEmailWithTemplateDetailComponent.vue?821c","webpack:///src/modules/document/infra/detail_components/SendEmailWithTemplateDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/SendEmailWithTemplateDetailComponent.vue?5da0","webpack:///./src/modules/document/infra/detail_components/SendEmailWithTemplateDetailComponent.vue?9eb4","webpack:///./src/modules/document/infra/detail_components/RunCommandDetailComponent.vue?c4e7","webpack:///src/modules/document/infra/detail_components/RunCommandDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/RunCommandDetailComponent.vue?6b61","webpack:///./src/modules/document/infra/detail_components/RunCommandDetailComponent.vue?a0dc","webpack:///./src/modules/document/infra/detail_components/RunQueryDetailComponent.vue?4c9c","webpack:///src/modules/document/infra/detail_components/RunQueryDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/RunQueryDetailComponent.vue?6c0d","webpack:///./src/modules/document/infra/detail_components/RunQueryDetailComponent.vue?9d8e","webpack:///./src/modules/document/infra/detail_components/CreateInstanceDetailComponent.vue?a8a0","webpack:///src/modules/document/infra/detail_components/CreateInstanceDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/CreateInstanceDetailComponent.vue?ae0d","webpack:///./src/modules/document/infra/detail_components/CreateInstanceDetailComponent.vue?f353","webpack:///./src/modules/document/infra/detail_components/AddInstanceToListDetailComponent.vue?b03f","webpack:///src/modules/document/infra/detail_components/AddInstanceToListDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/AddInstanceToListDetailComponent.vue?3c2b","webpack:///./src/modules/document/infra/detail_components/AddInstanceToListDetailComponent.vue?800e","webpack:///./src/modules/document/infra/detail_components/CreateInstancesFromListDetailComponent.vue?5e65","webpack:///src/modules/document/infra/detail_components/CreateInstancesFromListDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/CreateInstancesFromListDetailComponent.vue?f88d","webpack:///./src/modules/document/infra/detail_components/CreateInstancesFromListDetailComponent.vue?8805","webpack:///./src/modules/document/infra/detail_components/ModifyContextDetailComponent.vue?c473","webpack:///src/modules/document/infra/detail_components/ModifyContextDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/ModifyContextDetailComponent.vue?b07c","webpack:///./src/modules/document/infra/detail_components/ModifyContextDetailComponent.vue?a1fe","webpack:///./src/modules/document/infra/detail_components/SendThroughEmailDetailComponent.vue?ae65","webpack:///src/modules/document/infra/detail_components/SendThroughEmailDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/SendThroughEmailDetailComponent.vue?bae5","webpack:///./src/modules/document/infra/detail_components/SendThroughEmailDetailComponent.vue?72c1","webpack:///./src/modules/document/infra/detail_components/PayrollAccountingDetailComponent.vue?4871","webpack:///src/modules/document/infra/detail_components/PayrollAccountingDetailComponent.vue","webpack:///./src/modules/document/infra/detail_components/PayrollAccountingDetailComponent.vue?36a9","webpack:///./src/modules/document/infra/detail_components/PayrollAccountingDetailComponent.vue?9036","webpack:///src/components/WorkflowTemplateStageDetail.vue","webpack:///./src/components/WorkflowTemplateStageDetail.vue?40d3","webpack:///./src/components/WorkflowTemplateStageDetail.vue?c1bc","webpack:///src/views/WorkflowEditor.vue","webpack:///./src/views/WorkflowEditor.vue?d19e","webpack:///./src/views/WorkflowEditor.vue?6327","webpack:///./src/modules/document/infra/detail_components/AddInstanceToListDetailComponent.vue?b440","webpack:///./src/modules/document/infra/WackScriptEditor.vue?3e33","webpack:///src/modules/document/infra/WackScriptEditor.vue","webpack:///./src/modules/document/infra/WackScriptEditor.vue?a8d4","webpack:///./src/modules/document/infra/WackScriptEditor.vue?2b27","webpack:///./src/modules/document/infra/RecursivePayloadOfAdressesOnSchemaEditor.vue?4bcb","webpack:///./src/modules/document/infra/ListOnSchemaAddressesEditor.vue?a373","webpack:///./src/modules/document/infra/detail_components/AddDocumentRepresentationToConversationDetailComponent.vue?fe12","webpack:///./src/modules/document/infra/WackScriptEditor.vue?a561","webpack:///./src/modules/entities/infra/RecursivePayloadOnSchemaEditorTuned.vue?8d1e","webpack:///./src/modules/document/domain/Document.ts","webpack:///./src/modules/document/infra/detail_components/SendEmailWithTemplateDetailComponent.vue?1e05","webpack:///./src/modules/document/infra/detail_components/CompleteConversationDetailComponent.vue?d6ae","webpack:///./src/modules/document/infra/detail_components/LookupAndMatchMultipleInstancesDetailComponent.vue?bf97","webpack:///./src/modules/document/infra/detail_components/CreateInstancesFromListDetailComponent.vue?22d5","webpack:///./src/components/GenericTableComponent.vue?5531","webpack:///./src/modules/document/infra/detail_components/ExtractInstanceFromRawDataDetailComponent.vue?8343","webpack:///./src/modules/entities/infra/ListOnSchemaEditorTuned.vue?1e1d","webpack:///./src/components/WorkflowTemplateStageDetail.vue?b4bd","webpack:///./src/modules/document/infra/detail_components/PayrollAccountingDetailComponent.vue?fc2d","webpack:///./src/modules/document/infra/detail_components/AskAIDetailComponent.vue?6bee","webpack:///./src/modules/document/infra/detail_components/RunQueryDetailComponent.vue?1c29","webpack:///./src/modules/document/infra/detail_components/SendThroughEmailDetailComponent.vue?ed39","webpack:///./src/modules/entities/infra/RecursivePayloadOnSchemaEditorTuned.vue?4caf","webpack:///./src/modules/entities/infra/ListOnSchemaEditorTuned.vue?23f2","webpack:///src/modules/entities/infra/ListOnSchemaEditorTuned.vue","webpack:///./src/modules/entities/infra/ListOnSchemaEditorTuned.vue?d8c4","webpack:///./src/modules/entities/infra/ListOnSchemaEditorTuned.vue?0492","webpack:///src/modules/entities/infra/RecursivePayloadOnSchemaEditorTuned.vue","webpack:///./src/modules/entities/infra/RecursivePayloadOnSchemaEditorTuned.vue?eb43","webpack:///./src/modules/entities/infra/RecursivePayloadOnSchemaEditorTuned.vue?66f5","webpack:///./src/views/WorkflowEditor.vue?a538","webpack:///./src/components/GenericTableComponent.vue?4991","webpack:///src/components/GenericTableComponent.vue","webpack:///./src/components/GenericTableComponent.vue?dd96","webpack:///./src/components/GenericTableComponent.vue?a44e"],"names":["get_tree_from_schema","schema","type","res","key","properties","items","render","_vm","this","_h","$createElement","_c","_self","staticClass","style","fontSize","getFontSize","_v","_s","key_to_show","intern_key","_e","cut_tree_here","attrs","on","uncut_tree","cut_tree","my_bag","payloadChanged","model","value","callback","$$v","data_payload","expression","_l","marginLeft","depth","get_next_key_to_show","readonly","new_data","update_payload","$set","nextFontSize","color","scopedSlots","_u","fn","ref","_g","_b","$event","delete_extra_key","staticRenderFns","item","index","item_schema","toString","removeItem","addItem","name","components","RecursivePayloadOfAdressesOnSchemaEditor","props","Object","required","Array","default","Number","Boolean","computed","methods","push","splice","console","log","$emit","component","VIcon","VBtn","VCol","VRow","VTooltip","error","staticStyle","choice","selectedPathWithoutEmpty","length","clear_all","hardcode_mode","manual_mode","update_value","hardcoded_value","currentDepth","myChoices","selected_route","selectedPath","clear_last","String","outlined","allow_hardcoding","filter","val","isArray","keys","includes","cleared_path","join","slice","go_deeper","split","VSelect","VTextField","screen_data","snackbar","timeout","text","label_dialog","selectedStage","condition_script_dialog","workflow","backToList","loadingSave","save","trigger_entity_type_uuid","workflow_input","availableTypes","availableEntityTypes","et","kind","stages","onDragEnd","stage","id","showErrors","removeStage","addStageDialog","showDetail","labelDialog","label","scriptDialog","has_some_script","proxy","selectedStageIndex","availableUsers","myCurrentBagOfInstances","hideDetail","computeActualStage","availableStages","canAdd","actuallyAddStage","showErrorsDialog","newStageName","showStageDetails","indicateTableKey","newTableKey","newReason","newClassicRender","newCheap","WorkflowTemplate","message","workflow_repo","other_doc_repo","entity_type_repo","workflow_id","fetchWorkflow","get_available_users","get_my_types","universal_aux_types","get_aux_workflow_editor_types","getAvailableTypes","wf","find_by_id","newStage","stage_class","createEmpty","calculatePrice","need_detail","get_current_bag","s","validate","forEach","save_workflow_template","success_message","error_message","uuid","e_type","find","e","tree","my_bag_story","i","save_as_key","entity_type_id","get_entity_type_tree","save_list_key","curr_i","story","compute_bag_of_instances_story","default_bag","inst","nickname","formatField","persist","visible","username_location","replace","username","cmd_name","query_name","list_location","type_id_to_name","email_location","description","endpoint","price","_t","last","addStage","available_types","field","dic","VCard","VCardSubtitle","VCardText","VCardTitle","computeStage","available_users","input_mode","directives","rawName","RouteInBagSelectorComponent","show_custom_prompt","VCheckbox","VRadio","VRadioGroup","VTextarea","conversation","request_method_options","handleMethodChange","method_selected","t","indexOf","_k","keyCode","preventDefault","insertTab","apply","arguments","event","textarea","target","start","selectionStart","end","selectionEnd","script","substring","$nextTick","modes","changedMode","modo","a","get_context_from_output_type","cssLink","selected_schema","get_from_key","reset_payload","current_type","payload_of_addresses","agent","turnIntoNumber","max_iterations","template_code","RecursivePayloadOnSchemaEditorTuned","payload","my_element_schema","bag_with_element","current_bag","instances_only_bag","new_bag","subject","accounting_date","worker_id","salary","salary_account","total_social_security_account","social_security_expense_account","irpf","irpf_account","cotizacion_paro","cotizacion_formacion","cotizacion_contingencias","recuperacion_liquido","pp_extra","total_to_pay","AskAIDetailComponent","AddDocumentRepresentationToConversationDetailComponent","LookupAndMatchInstanceDetailComponent","LookupAndMatchMultipleInstancesDetailComponent","ExtractInstanceFromRawDataDetailComponent","CreateInstanceFromContextDetailComponent","AddInstanceToListDetailComponent","CompleteConversationDetailComponent","SendEmailWithTemplateDetailComponent","RunCommandDetailComponent","RunQueryDetailComponent","CreateInstanceDetailComponent","CreateInstancesFromListDetailComponent","ModifyContextDetailComponent","SendThroughEmailDetailComponent","PayrollAccountingDetailComponent","SendDataToEndpointDetailComponent","WaitForApprovalDetailComponent","RunScriptDetailComponent","AppBtn","AppCol","AppRow","WorkflowTemplateStageCard","WorkflowTemplateStageDetail","Draggable","WackScriptEditor","workflow_template_component","companydb_id","ApiWorkflowTemplateRepository","ApiOtherDocumentRepository","mount","saveWorkflow","$router","params","VCardActions","VContainer","VDialog","VDivider","VProgressCircular","VSnackbar","VSpacer","input","DOCS_FIELD_MAP_SHOW","updateFrontendData","frontend","data","count","other_documents","selectedItems","totalItems","showSelect","selectAllItems","calculateTableHeight","drawer","obtainFilters","filters","company_id","filter_doc_name","original_file_name","filter_doc_type","filter_date_from","date_from","filter_date_to","date_to","sortBy","order_by","filter_need_approval","need_approval","available_e_types","is_tablable","c_headers","formattedRows","VDataTable"],"mappings":"2IAAA,W,oCCAA,W,oCCAA,W,+GCAA,W,oCCAA,W,6DCEO,SAASA,EAAqBC,GACjC,GAAIA,GAAyB,UAAfA,EAAOC,KAAiB,CAClC,IAAIC,EAAM,GACV,IAAK,IAAIC,KAAOH,EAAOI,WACnBF,EAAIC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,SAAF,CACI,YACE,GAAN,sBACQ,OAAR,wCAEM,MAAN,UAIM,OAHA,KAAN,iBACQ,OAAR,+BAEA,mCAEI,gBACE,OAAN,kBACQ,MAAR,KAIQ,OAHA,KAAR,sBACU,EAAV,0BAEA,MAIE,QAAF,CACI,cACE,MAAN,MACA,sCACA,4BACQ,KAAR,+EAEM,QAAN,OACM,MAAN,sDACA,eACA,8BACM,EAAN,uBACM,EAAN,oCACM,SAAN,oBACM,EAAN,QACM,SAAN,uBCpE8M,I,qECQ1MwB,EAAY,eACd,EACAvE,EACA+C,GACA,EACA,KACA,WACA,MAIa,OAAAwB,EAAiB,QAMhC,IAAkBA,EAAW,CAAC8P,aAAA,KAAWqC,aAAA,Q","file":"js/chunk-532c3f8a.5c52a5e5.js","sourcesContent":["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!./CreateInstanceFromContextDetailComponent.vue?vue&type=style&index=0&id=7a0589a7&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!./CreateInstanceDetailComponent.vue?vue&type=style&index=0&id=5ef1db4f&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!./SendDataToEndpointDetailComponent.vue?vue&type=style&index=0&id=a3c50ca8&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!./LookupAndMatchInstanceDetailComponent.vue?vue&type=style&index=0&id=5a27e999&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!./WorkflowTemplateStageCard.vue?vue&type=style&index=0&id=24bc947e&scoped=true&lang=css&\"","\n\nexport function get_tree_from_schema(schema){\n    if (schema && schema.type == 'object'){\n        let res = {}\n        for (let key in schema.properties){\n            res[key] = get_tree_from_schema(schema.properties[key])\n        }\n        return res\n    }\n    else if (schema && schema.type == 'array'){\n        return [get_tree_from_schema(schema.items)]\n    }\n    else {\n        return null\n    }\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!./RunCommandDetailComponent.vue?vue&type=style&index=0&id=ffc490de&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!./RunScriptDetailComponent.vue?vue&type=style&index=0&id=d3dc3f98&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!./ModifyContextDetailComponent.vue?vue&type=style&index=0&id=219ea722&scoped=true&lang=css&\"","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.cut_tree_here)?_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"primary\"},on:{\"click\":_vm.cut_tree}},[_c('v-icon',[_vm._v(\"mdi-chevron-right\")])],1):_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"primary\"},on:{\"click\":_vm.uncut_tree}},[_c('v-icon',[_vm._v(\"mdi-chevron-down\")])],1),(!_vm.cut_tree_here)?[_vm._l((_vm.schema.properties),function(value,key){return [_c('div',{staticClass:\"nested-section\",style:({ marginLeft: _vm.depth * 20 + 'px' })},[_c('RecursivePayloadOfAdressesOnSchemaEditor',{attrs:{\"schema\":value,\"key_to_show\":_vm.get_next_key_to_show(key, value),\"intern_key\":key,\"depth\":_vm.depth + 1,\"readonly\":_vm.readonly,\"my_bag\":_vm.my_bag},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)]})]:[_c('RouteInBagSelectorComponent',{key:_vm.key_to_show + '_selector',attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\"},on:{\"input\":_vm.payloadChanged},model:{value:(_vm.data_payload),callback:function ($$v) {_vm.data_payload=$$v},expression:\"data_payload\"}})]],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(),(true || !_vm.is_tablable(_vm.schema.items))?_c('div',[_c('ListOnSchemaAddressesEditor',{attrs:{\"item_schema\":_vm.schema.items,\"readonly\":_vm.readonly,\"depth\":_vm.depth + 1,\"my_bag\":_vm.my_bag},on:{\"change\":_vm.payloadChanged},model:{value:(_vm.data_payload),callback:function ($$v) {_vm.data_payload=$$v},expression:\"data_payload\"}})],1):_vm._e()]):_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\"}},[_c('RouteInBagSelectorComponent',{key:_vm.key_to_show + '_selector',attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\"},on:{\"input\":_vm.payloadChanged},model:{value:(_vm.data_payload),callback:function ($$v) {_vm.data_payload=$$v},expression:\"data_payload\"}})],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('RecursivePayloadOfAdressesOnSchemaEditor',{attrs:{\"schema\":_vm.item_schema,\"readonly\":_vm.readonly,\"key_to_show\":(index + 1).toString(),\"depth\":_vm.depth+1,\"my_bag\":_vm.my_bag},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 }","<template>\n    <div>\n        <div v-for=\"(item, index) in value\" :key=\"index\" class=\"d-flex align-baseline\">\n            <RecursivePayloadOfAdressesOnSchemaEditor\n              :schema=\"item_schema\"\n              :readonly=\"readonly\"\n              :key_to_show=\"(index + 1).toString()\"\n              v-model=\"value[index]\"\n              :depth=\"depth+1\"\n              :my_bag=\"my_bag\"\n              @change=\"payloadChanged\"\n            />\n            <button icon small v-if=\"!readonly\" @click=\"removeItem(index)\">\n                <v-icon class=\"red--text\">mdi-close</v-icon>\n            </button>\n        </div>\n        <button icon small  v-if=\"!readonly\" @click=\"addItem\"  :style=\"{ marginLeft: depth*20 + 'px' }\" >\n            <v-icon class=\"primary_blue--text\">mdi-plus</v-icon>\n        </button>\n      </div>\n</template>\n\n<script>\nexport default {\n  name: \"ListOnSchemaAddressesEditor\",\n  components: {\n    RecursivePayloadOfAdressesOnSchemaEditor: () => import(\"./RecursivePayloadOfAdressesOnSchemaEditor.vue\"),\n  },\n  props: {\n    item_schema: {\n      type: Object,\n      required: true,\n    },\n    value: {\n      type: Array,\n      required: false,\n      default: () => ([]),\n    },\n    depth: {\n      type: Number,\n      default: 0,\n    },\n    readonly: {\n      type: Boolean,\n      default: false,\n    },\n    my_bag: {\n      type: Object,\n      required: false,\n      default: () => {},\n    },\n  },\n  computed: {\n  },\n  mounted() {\n  },\n  methods: {\n    addItem() {\n      let type = this.item_schema.type;\n      let item = null;\n      if (type === \"object\") {\n        item = {};\n      } else if (type === \"array\") {\n        item = [];\n      } else if (type === \"string\") {\n        item = \"\";\n      }\n      this.value.push(item);\n      this.payloadChanged();\n    },\n    removeItem(index) {\n      this.value.splice(index, 1);\n      this.payloadChanged();\n    },\n    payloadChanged() {\n      console.log('payloadChanged IN LIST')\n      //this.$emit(\"input\", this.value);\n      this.$emit(\"change\", this.value);\n    },\n  }\n};\n</script>\n\n<style scoped>\n.nested-section {\n  padding-left: 10px;\n  border-left: 1px solid #ccc;\n  margin-top: 10px;\n}\n</style>styleaddItem() {\n      this.value.push({});\n    },\n    removeItem(index) {\n      this.value.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!./ListOnSchemaAddressesEditor.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!./ListOnSchemaAddressesEditor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ListOnSchemaAddressesEditor.vue?vue&type=template&id=61ccec7f&scoped=true&\"\nimport script from \"./ListOnSchemaAddressesEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./ListOnSchemaAddressesEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ListOnSchemaAddressesEditor.vue?vue&type=style&index=0&id=61ccec7f&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  \"61ccec7f\",\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","<template>\n    <div>\n      <div v-if=\"schema.type === 'object'\" class=\"nested-section\">\n        <h3 :style=\"{ fontSize: getFontSize }\">{{ key_to_show }}</h3> <i v-if=\"intern_key!=key_to_show\"> {{intern_key}}</i>\n        <v-btn v-if=\"!cut_tree_here\"\n          @click=\"cut_tree\" icon\n          color=\"primary\"> <v-icon>mdi-chevron-right</v-icon></v-btn>\n        <v-btn v-else\n          @click=\"uncut_tree\" icon\n          color=\"primary\"> <v-icon>mdi-chevron-down</v-icon></v-btn>\n        <template v-if=\"!cut_tree_here\">\n          <template v-for=\"(value, key) in schema.properties\">\n            <div class=\"nested-section\" :style=\"{ marginLeft: depth * 20 + 'px' }\">\n              <RecursivePayloadOfAdressesOnSchemaEditor\n                :schema=\"value\"\n                v-model=\"data_payload[key]\"\n                :key_to_show=\"get_next_key_to_show(key, value)\"\n                :intern_key=\"key\"\n                :depth=\"depth + 1\"\n                :readonly=\"readonly\"\n                :my_bag=\"my_bag\"\n                @input=\"(new_data) => update_payload(key, new_data)\"\n              />\n            </div>\n          </template>\n          <template v-for=\"key in out_of_schema_keys\"> \n            <div class=\"nested-section\" :style=\"{ marginLeft: depth * 20 + 'px' }\">\n              <v-row>\n                <v-col cols=\"4\">\n                  <p :style=\"{ fontSize: nextFontSize, color:'red'}\"><strong>{{ key }}:</strong></p>\n                </v-col>\n                <v-col cols=\"7\">\n                  <!-- Idealmente mostrar con componente recursivo de json -->\n                  <p :style=\"{ fontSize: nextFontSize , color:'red' } \">{{data_payload[key]}}</p>\n                </v-col>\n                <v-col cols=\"1\" v-if=\"!readonly\">\n                  \n                  <v-tooltip top>\n                    <template v-slot:activator=\"{ on, attrs }\">\n                      <v-btn\n                        @click=\"delete_extra_key(key)\"\n                        icon\n                        color=\"red\"\n                        v-bind=\"attrs\"\n                        v-on=\"on\"        \n                        >\n                        <v-icon>mdi-delete</v-icon>\n                      </v-btn>\n                    </template>\n                    <span>Eliminar campo (no consta en esquema de registro)</span>\n                  </v-tooltip>\n                </v-col>\n              </v-row>  \n    \n              \n            </div>  \n          </template>\n        </template>\n        <template v-else>\n          <RouteInBagSelectorComponent\n            :key=\"key_to_show + '_selector'\"\n            v-model=\"data_payload\"\n            :my_bag=\"my_bag\"\n            @input=\"payloadChanged\"\n            outlined></RouteInBagSelectorComponent>\n        </template>\n  \n  \n  \n      </div>\n      <div v-else-if=\"schema.type === 'array'\" class=\"nested-section\">\n        <h3 :style=\"{ fontSize: getFontSize }\">{{ key_to_show }}</h3><i v-if=\"intern_key!=key_to_show\"> {{intern_key}}</i>\n        <div v-if=\"true || !is_tablable(schema.items)\">\n          <ListOnSchemaAddressesEditor\n          :item_schema=\"schema.items\"\n          v-model=\"data_payload\"\n          :readonly=\"readonly\"\n          :depth=\"depth + 1\"\n          @change=\"payloadChanged\"\n          :my_bag=\"my_bag\"/>\n        </div>\n        <!-- <div v-else>\n          <GenericTableComponent\n            :data=\"data_payload\" :headers=\"Object.keys(schema.items.properties)\"></GenericTableComponent>\n        </div> -->\n        <!-- <v-row class=\"d-flex align-baseline\">\n          <v-col cols=\"3\">\n            <p :style=\"{ fontSize: getFontSize }\"><strong>{{ key_to_show }}:</strong></p>\n          </v-col>\n          <v-col cols=\"8\">\n            Lista no soportada\n          </v-col>\n        </v-row> -->\n      </div>\n      <div v-else class=\"nested-section\">\n        <v-row class=\"d-flex align-baseline\">\n          <v-col cols=\"3\">\n            <p :style=\"{ fontSize: getFontSize }\"><strong>{{ key_to_show }}:</strong></p>\n          </v-col>\n          <v-col cols=\"8\">\n          <RouteInBagSelectorComponent\n              :key=\"key_to_show + '_selector'\"\n              v-model=\"data_payload\"\n              :my_bag=\"my_bag\"\n              @input=\"payloadChanged\"\n              outlined></RouteInBagSelectorComponent>\n          </v-col>\n        </v-row>\n      </div>\n    </div>\n  </template>\n    \n  <script>\n  import GenericTableComponent from '@/components/GenericTableComponent.vue'\n  import ListOnSchemaAddressesEditor from '@/modules/document/infra/ListOnSchemaAddressesEditor.vue'\n  import RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n  export default {\n      name: \"RecursivePayloadOfAdressesOnSchemaEditor\",\n      components: {\n        GenericTableComponent,\n        ListOnSchemaAddressesEditor,\n        RouteInBagSelectorComponent\n      },\n      data() {\n        return {\n          data_payload: this.value !== null ? this.value : this.getDefaultPayload(),\n          cut_tree_here: false,\n        }\n      },\n      props: {\n        schema: {\n          type: Object,\n          required: true,\n        },\n        key_to_show: {\n          type: String,\n          required: false,\n          default: null,\n        },\n        intern_key: {\n          type: String,\n          required: false,\n          default: null,\n        },\n        my_bag: {\n          type: Object,\n          required: false,\n          default: () => {},\n        },\n        value: {\n          type: [Object, Array, String, Number, Boolean],\n          required: false,\n          default:null,\n        },\n        depth: {\n          type: Number,\n          default: 0,\n        },\n        readonly: {\n          type: Boolean,\n          default: false,\n        },\n      },\n      mounted() {\n        // let init_payload = null\n        // if(this.value){\n        //   init_payload = this.value;\n        // }else{\n        //   if(this.schema.type === 'object'){\n        //     init_payload = {}\n        //   }else if(this.schema.type === 'array'){\n        //     init_payload = []\n        //   }\n        //   else if(this.schema.type === 'string'){\n        //     init_payload = ''\n        //   }else{\n        //     init_payload = null\n        //   }\n        // }\n        // this.data_payload = init_payload;\n        this.initializePayload();\n        \n      },\n      computed: {\n          \n          getFontSize() {\n              const baseSize = 20; // Base font size in pixels\n              const sizeIncrement = 2; // Increment in pixels for each depth level\n              return `${baseSize - this.depth * sizeIncrement}px`; // Decrease font size as depth increases\n          },\n          nextFontSize() {\n              const baseSize = 20; // Base font size in pixels\n              const sizeIncrement = 2; // Increment in pixels for each depth level\n              return `${baseSize - (this.depth + 1) * sizeIncrement}px`; // Decrease font size as depth increases\n          },\n          out_of_schema_keys(){\n            if (this.schema.type !== 'object') {\n              return [];\n            }\n            return Object.keys(this.data_payload).filter(key => !Object.keys(this.schema.properties).includes(key));\n          }\n      },\n      methods: {\n        cut_tree(){\n          this.cut_tree_here = true;\n          this.data_payload = ''\n        },\n        uncut_tree(){\n          this.cut_tree_here = false;\n          this.data_payload = {}\n        },\n        is_tablable(schema){\n            if(schema.type === 'object' && this.readonly ){\n              for(const key in schema.properties){\n                if(schema.properties[key].type === 'object' || schema.properties[key].type === 'array'){\n                  return false\n                }\n              }\n              return true\n            }\n            else{\n              return false\n            }\n        },\n  \n        get_next_key_to_show(key, value) {\n          if(value.title){\n            return value.title;\n          }\n          return key;\n        },\n        getDefaultPayload() {\n        if (this.schema.type === 'object' && !this.cut_tree_here) {\n          return {};\n        } else if (this.schema.type === 'array') {\n          return [];\n        } else {\n          return '';\n        }\n      },\n      delete_extra_key(key){\n        console.log('delete_extra_key', key);\n        const new_payload = {...this.data_payload};\n        delete new_payload[key];\n        this.data_payload = new_payload;\n        this.payloadChanged();\n      },\n      initializePayload() {\n        if (this.value === null) {\n          this.data_payload = this.getDefaultPayload();\n        } else {\n          this.data_payload = this.value;\n          if (this.schema.type === 'object' && typeof this.value === 'string') {\n            this.cut_tree_here = true;\n          }\n        }\n      },\n        payloadChanged(){\n          console.log('payload changed', this.key_to_show, this.data_payload);\n          this.$emit('input', this.data_payload);\n        },\n        update_payload(key, value){\n          console.log('update_payload', key, value);\n          this.data_payload = {\n            ...this.data_payload,\n            [key]: value\n          }\n          this.payloadChanged();\n        }\n  \n      },\n      \n    };\n    </script>\n    \n    <style scoped>\n    .nested-section {\n      padding-left: 10px;\n      /*border-left: 1px solid #ccc; */\n      margin-top: 10px;\n    }\n    </style>\n    ","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecursivePayloadOfAdressesOnSchemaEditor.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!./RecursivePayloadOfAdressesOnSchemaEditor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RecursivePayloadOfAdressesOnSchemaEditor.vue?vue&type=template&id=ae3a6e10&scoped=true&\"\nimport script from \"./RecursivePayloadOfAdressesOnSchemaEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./RecursivePayloadOfAdressesOnSchemaEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RecursivePayloadOfAdressesOnSchemaEditor.vue?vue&type=style&index=0&id=ae3a6e10&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  \"ae3a6e10\",\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 { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCol,VIcon,VRow,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!./WaitForApprovalDetailComponent.vue?vue&type=style&index=0&id=32780797&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.error?'border: 2px solid rgba(220, 11, 11, 0.898);border-radius: 5px; padding: 5px;' : 'border: 1px solid gray; border-radius: 5px; padding: 5px;')},[(!_vm.error)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[(!_vm.hardcode_mode && !_vm.manual_mode)?_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"3px\"}},[_vm._l((_vm.selectedPath),function(choice,index){return _c('div',{key:index,staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[(choice != '' && index !== _vm.currentDepth)?_c('div',[_vm._v(\"\\n                    \"+_vm._s(choice)+\" \"),(index < _vm.selectedPathWithoutEmpty.length - 1)?[_vm._v(\".\")]:_vm._e()],2):(_vm.myChoices.length > 0)?_c('div',[_c('v-select',{staticStyle:{\"min-width\":\"120px\",\"max-width\":\"120px\",\"height\":\"32px\",\"margin\":\"0px\"},attrs:{\"outlined\":\"\",\"items\":_vm.myChoices,\"dense\":\"\"},on:{\"change\":_vm.selected_route},model:{value:(_vm.selectedPath[_vm.currentDepth]),callback:function ($$v) {_vm.$set(_vm.selectedPath, _vm.currentDepth, $$v)},expression:\"selectedPath[currentDepth]\"}})],1):_vm._e()])}),(_vm.currentDepth>0)?_c('v-btn',{attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":_vm.clear_last}},[_c('v-icon',[_vm._v(\"mdi-arrow-left\")])],1):_vm._e()],2):_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"3px\"}},[_c('v-text-field',{staticStyle:{\"min-width\":\"120px\",\"max-width\":\"200px\",\"height\":\"32px\",\"margin\":\"0px\"},attrs:{\"outlined\":\"\",\"dense\":\"\"},on:{\"input\":_vm.update_value},model:{value:(_vm.hardcoded_value),callback:function ($$v) {_vm.hardcoded_value=$$v},expression:\"hardcoded_value\"}}),_c('v-btn',{attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":_vm.clear_all}},[_c('v-icon',[_vm._v(\" mdi-delete\")])],1)],1)])],1):_c('v-row',[_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"2px\"}},_vm._l((_vm.selectedPathWithoutEmpty),function(choice,index){return _c('div',{key:index,staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[(_vm.error !== choice)?_c('p',[_vm._v(\"\\n                    \"+_vm._s(choice)+\"\\n                    \")]):_c('p',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"\\n                        \"+_vm._s(choice)+\"\\n                    \")]),(index < _vm.selectedPathWithoutEmpty.length - 1)?_c('p',[_vm._v(\"\\n                    .\\n                    \")]):_vm._e()])}),0)]),_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-btn',{attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":_vm.clear_all}},[_c('v-icon',[_vm._v(\" mdi-delete\")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div :style=\"error?'border: 2px solid rgba(220, 11, 11, 0.898);border-radius: 5px; padding: 5px;' : 'border: 1px solid gray; border-radius: 5px; padding: 5px;' \">\n      <!-- Choices{{myChoices}}\n      SelectedPath {{selectedPath}} -->\n        <v-row v-if=\"!error\">\n            <v-col cols=\"12\">\n                <div style=\"display: flex; align-items: center; gap: 3px;\" v-if=\"!hardcode_mode && !manual_mode\">\n                    <div v-for=\"(choice, index) in selectedPath\" :key=\"index\" style=\"display: flex; align-items: center;\">\n                        <!-- Show the selected path segment -->\n                        <div v-if=\"choice != '' && index !== currentDepth\">\n                        {{choice}} <template v-if=\"index < selectedPathWithoutEmpty.length - 1\">.</template>\n                        </div>\n                \n                        <!-- Show the dropdown for the current depth -->\n                        <div v-else-if=\"myChoices.length > 0\">\n                        <v-select\n                            v-model=\"selectedPath[currentDepth]\"\n                            outlined\n                            @change=\"selected_route\"\n                            :items=\"myChoices\"\n                            dense\n                            style=\"min-width: 120px; max-width: 120px;height: 32px;margin:0px\"\n                        ></v-select>\n                        </div>\n                    </div>\n                    <v-btn v-if=\"currentDepth>0\" @click=\"clear_last\" color=\"primary\" icon>\n                        <v-icon>mdi-arrow-left</v-icon>\n                    </v-btn>\n                </div>\n                <div v-else style=\"display: flex; align-items: center; gap: 3px;\">\n                    <v-text-field\n                        v-model=\"hardcoded_value\"\n                        outlined\n                        dense\n                        @input=\"update_value\"\n                        style=\"min-width: 120px; max-width: 200px;height: 32px;margin:0px\"\n                    ></v-text-field>\n                    <v-btn @click=\"clear_all\" color=\"primary\" icon>\n                        <v-icon> mdi-delete</v-icon>\n                    </v-btn>\n                </div>\n            </v-col>\n        </v-row>\n        <v-row v-else>\n            <v-col cols=\"9\">\n                <div style=\"display: flex; align-items: center; gap: 2px;\">\n                    <div v-for=\"(choice, index) in selectedPathWithoutEmpty\" :key=\"index\" style=\"display: flex; align-items: center;\">\n                        <!-- Show the selected path segment -->\n                        <p v-if=\"error !== choice\">\n                        {{choice}}\n                        </p>\n                        <p v-else style=\"color:red\">\n                            {{choice}}\n                        </p>\n                        <p v-if=\"index < selectedPathWithoutEmpty.length - 1\">\n                        .\n                        </p>\n                    </div>\n                </div>\n            </v-col>\n            <v-col cols=\"3\">\n                <v-btn @click=\"clear_all\" color=\"primary\" icon>\n                    <v-icon> mdi-delete</v-icon>\n                </v-btn>\n            </v-col>\n        </v-row>\n    </div>\n  </template>\n  <script>\nexport default {\n  name: \"RouteInBagSelectorComponent\",\n  props: {\n    my_bag: {\n      type: Object,\n      required: true,\n    },\n    value: {\n      type: String,\n      required: true,\n    },\n    outlined: {\n      type: Boolean,\n      default: true,\n    },\n    allow_hardcoding: {\n      type: Boolean,\n      default: true,\n    },\n  },\n  data() {\n    return {\n      selectedPath: [], \n      hardcoded_value: \"\", \n    };\n  },\n  computed: {\n    selectedPathWithoutEmpty(){\n        return this.selectedPath.filter( (val) => val != \"\");\n    },\n    myChoices() {\n        if (!this.error){\n            let res = []\n            let value = this.my_bag;\n            for(let key of this.selectedPath){\n                if (key == \"\"){\n                    break;\n                }\n                value = value[key];\n            }\n            if (Array.isArray(value)){\n                res = [];\n            }\n            else if (value && typeof value == \"object\"){\n                res = Object.keys(value);\n            }\n            if (this.currentDepth == 0 && this.allow_hardcoding){\n                res.push(\"VALOR FIJO\");\n            }\n            if (this.currentDepth == 0 && this.allow_hardcoding){\n                res.push(\"RUTA MANUAL\");\n            }\n            return res;\n        }\n    },\n    hardcode_mode(){\n        return this.selectedPath.includes(\"VALOR FIJO\") || this.selectedPath.includes(\"hardcoded\");\n    },\n    manual_mode(){\n        return this.selectedPath.includes(\"RUTA MANUAL\");\n    },\n    currentDepth(){\n        return this.selectedPath.length-1;\n    },\n    error(){\n        if (this.hardcode_mode || this.manual_mode){\n            return false\n        }\n        let value = this.my_bag;\n        for(let key of this.selectedPath){\n            if (key == \"\"){\n                break;\n            }\n            if (value != null && !Object.keys(value).includes(key)){\n                return key;\n            }\n            value = value[key];\n        }\n        return null;\n    },\n  },\n  methods: {\n    update_value(){\n        let val = ''\n        if (this.hardcode_mode){\n            val = 'hardcoded.'+this.hardcoded_value\n        }\n        else if (this.manual_mode){\n            val = this.hardcoded_value\n        }\n        else{\n            let cleared_path = this.selectedPath.filter( (val) => val != \"\");\n            val =  cleared_path.join(\".\")\n        }\n        \n        this.$emit(\"input\",val);\n    },\n\n    clear_last(){\n        this.selectedPath = this.selectedPath.filter( (val) => val != \"\");\n        this.selectedPath = this.selectedPath.slice(0, this.selectedPath.length - 1);\n        this.update_value();\n        this.go_deeper();\n    },\n    clear_all(){\n        this.hardcoded_value = \"\";\n        this.selectedPath = [];\n        this.update_value();\n        this.go_deeper();\n    },\n    selected_route(){\n        this.update_value();\n        this.go_deeper();\n    },\n    go_deeper(){\n        this.selectedPath = [...this.selectedPath, \"\"];\n    }\n  },\n  mounted(){\n    this.selectedPath = this.value.split(\".\")\n    if (this.selectedPath[0] == \"hardcoded\"){\n        this.hardcoded_value = this.value.split(\".\").slice(1).join(\".\")\n        this.selectedPath = ['VALOR FIJO'];\n    }\n    else{\n        this.selectedPath = this.selectedPath.filter( (val) => val != \"\");\n        this.go_deeper();\n    }\n  }\n};\n</script>\n\n  \n  <style scoped>\n  </style>\n  ","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RouteInBagSelectorComponent.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!./RouteInBagSelectorComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RouteInBagSelectorComponent.vue?vue&type=template&id=cc5ada64&scoped=true&\"\nimport script from \"./RouteInBagSelectorComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./RouteInBagSelectorComponent.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  \"cc5ada64\",\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 { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VIcon,VRow,VSelect,VTextField})\n","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\":\"\"}},[(_vm.screen_data)?_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    \")]):_vm._e(),(_vm.label_dialog && _vm.screen_data.selectedStage)?_c('v-dialog',{attrs:{\"max-width\":\"400px\"},model:{value:(_vm.label_dialog),callback:function ($$v) {_vm.label_dialog=$$v},expression:\"label_dialog\"}},[_c('v-card',[_c('app-row',[_c('app-col',{attrs:{\"cols\":\"12\"}},[_c('v-card-title',{staticClass:\"card__headline\"},[_c('span',[_vm._v(\"Etiqueta identificativa\")])]),_c('v-divider'),_c('v-card-text',[_c('v-text-field',{attrs:{\"label\":\"Etiqueta\",\"outlined\":\"\",\"hide-details\":\"\"},model:{value:(_vm.screen_data.selectedStage.label),callback:function ($$v) {_vm.$set(_vm.screen_data.selectedStage, \"label\", $$v)},expression:\"screen_data.selectedStage.label\"}})],1),_c('v-card-text',[_c('v-text-field',{attrs:{\"label\":\"Nombre de la etapa\",\"outlined\":\"\",\"hide-details\":\"\"},model:{value:(_vm.screen_data.selectedStage.nickname),callback:function ($$v) {_vm.$set(_vm.screen_data.selectedStage, \"nickname\", $$v)},expression:\"screen_data.selectedStage.nickname\"}})],1),_c('v-card-actions',{staticClass:\"acction_btns\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"white--text action__btn\",attrs:{\"color\":\"#060647\"},on:{\"click\":function($event){_vm.label_dialog = false}}},[_vm._v(\"\\n                        Salir\\n                        \")])],1)],1)],1)],1)],1):_vm._e(),(_vm.condition_script_dialog && _vm.screen_data.selectedStage)?_c('v-dialog',{attrs:{\"max-width\":\"900px\"},model:{value:(_vm.condition_script_dialog),callback:function ($$v) {_vm.condition_script_dialog=$$v},expression:\"condition_script_dialog\"}},[_c('v-card',[_c('app-row',[_c('app-col',{attrs:{\"cols\":\"6\"}},[_c('v-card-title',{staticClass:\"card__headline\"},[_c('span',[_vm._v(\"Script de condición\")])]),_c('v-divider'),_c('v-card-text',[_c('WackScriptEditor',{model:{value:(_vm.screen_data.selectedStage.condition_script),callback:function ($$v) {_vm.$set(_vm.screen_data.selectedStage, \"condition_script\", $$v)},expression:\"screen_data.selectedStage.condition_script\"}})],1),_c('v-card-text',[_c('i',[_vm._v(\" \\n                            Devuelve True para ejecutar, False para saltar.\\n                        \")])])],1),_c('app-col',{attrs:{\"cols\":\"6\"}},[_c('v-card-title',{staticClass:\"card__headline\"},[_c('span',[_vm._v(\"Script de salto\")])]),_c('v-divider'),_c('v-card-text',[_c('WackScriptEditor',{model:{value:(_vm.screen_data.selectedStage.jump_script),callback:function ($$v) {_vm.$set(_vm.screen_data.selectedStage, \"jump_script\", $$v)},expression:\"screen_data.selectedStage.jump_script\"}})],1),_c('v-card-text',[_c('i',[_vm._v(\" \\n                            Devuelve la etiqueta de la etapa a la que saltar al finalizar la etapa (Si no existe tal etiqueta se ejecuta la siguiente etapa).\\n                        \")])]),_c('v-card-actions',{staticClass:\"acction_btns\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"white--text action__btn\",attrs:{\"color\":\"#060647\"},on:{\"click\":function($event){_vm.condition_script_dialog = false}}},[_vm._v(\"\\n                        Salir\\n                        \")])],1)],1)],1)],1)],1):_vm._e(),(_vm.screen_data && _vm.screen_data.workflow)?_c('v-card',{staticClass:\"ma-4\"},[_c('v-row',{staticClass:\"pa-0 mx-2\"},[_c('v-col',{attrs:{\"cols\":\"9\"}},[_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('h3',{staticClass:\"primary_blue--text ml-2\"},[_vm._v(\"Editor de workflows\")])],1)]),(_vm.screen_data && _vm.screen_data.workflow)?[_c('v-col',{staticClass:\"text-right\",attrs:{\"cols\":\"3\"}},[_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\",attrs:{\"icon\":\"\",\"loading\":_vm.screen_data.loadingSave},on:{\"click\":function($event){return _vm.save()}}},'v-btn',attrs,false),on),[_c('img',{attrs:{\"src\":require(\"../assets/save_invoice.svg\")}})])]}}],null,false,2242343363)},[_c('span',[_vm._v(\"Guardar\")])])],1)]:[_c('v-progress-circular',{staticClass:\"mr-2\",attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})]],2),_c('v-divider'),_c('v-card',{staticClass:\"py-2 pa-4\"},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"4\"}},[_c('v-text-field',{attrs:{\"label\":\"Nombre del workflow\",\"outlined\":\"\",\"hide-details\":\"\"},model:{value:(_vm.screen_data.workflow.name),callback:function ($$v) {_vm.$set(_vm.screen_data.workflow, \"name\", $$v)},expression:\"screen_data.workflow.name\"}})],1),_c('v-col',{attrs:{\"cols\":\"4\"}},[_c('v-select',{attrs:{\"items\":[{'name':'Documento','value':'document'}, {'name':'Parámetros', 'value':'params'}],\"item-text\":\"name\",\"item-value\":\"value\",\"outlined\":\"\",\"hide-details\":\"\",\"label\":\"Tipo de entrada\"},on:{\"change\":function($event){_vm.screen_data.workflow.trigger_entity_type_uuid = null}},model:{value:(_vm.screen_data.workflow_input),callback:function ($$v) {_vm.$set(_vm.screen_data, \"workflow_input\", $$v)},expression:\"screen_data.workflow_input\"}})],1),(_vm.screen_data.workflow_input == 'document')?_c('v-col',{attrs:{\"cols\":\"4\"}},[_c('v-select',{attrs:{\"items\":_vm.screen_data.availableTypes,\"outlined\":\"\",\"multiple\":\"\",\"hide-details\":\"\",\"label\":\"Aplicar este workflow por defecto a los siguientes tipos de documento\"},model:{value:(_vm.screen_data.workflow.default_doc_types),callback:function ($$v) {_vm.$set(_vm.screen_data.workflow, \"default_doc_types\", $$v)},expression:\"screen_data.workflow.default_doc_types\"}})],1):(_vm.screen_data.workflow_input == 'params')?_c('v-col',{attrs:{\"cols\":\"4\"}},[_c('v-select',{attrs:{\"items\":_vm.screen_data.availableEntityTypes.filter(function (et) { return et.kind=='params'; }),\"outlined\":\"\",\"item-text\":\"name\",\"item-value\":\"uuid\",\"hide-details\":\"\",\"label\":\"Esquema de parámetros\"},model:{value:(_vm.screen_data.workflow.trigger_entity_type_uuid),callback:function ($$v) {_vm.$set(_vm.screen_data.workflow, \"trigger_entity_type_uuid\", $$v)},expression:\"screen_data.workflow.trigger_entity_type_uuid\"}})],1):_vm._e()],1),_c('div',[_c('v-row',[_c('v-col',[(_vm.screen_data.workflow.stages.length)?_c('div',{staticClass:\"workflow__cards\"},[_c('draggable',{staticClass:\"horizontal-drag-container\",attrs:{\"item-key\":\"id\",\"handle\":\".drag-handle\"},on:{\"end\":_vm.onDragEnd},model:{value:(_vm.screen_data.workflow.stages),callback:function ($$v) {_vm.$set(_vm.screen_data.workflow, \"stages\", $$v)},expression:\"screen_data.workflow.stages\"}},_vm._l((_vm.screen_data.workflow.stages),function(stage,index){return _c('WorkflowTemplateStageCard',{key:stage.id,attrs:{\"last\":index == _vm.screen_data.workflow.stages.length-1,\"stage\":stage,\"available_types\":_vm.screen_data.availableEntityTypes,\"showErrors\":_vm.screen_data.showErrors},on:{\"remove-stage\":function($event){return _vm.removeStage(stage)},\"add-stage\":function($event){_vm.screen_data.addStageDialog = true},\"show-detail\":function($event){return _vm.showDetail(stage, index)}},scopedSlots:_vm._u([{key:\"custom-content\",fn:function(){return [_c('span',{staticClass:\"pt-2 pr-1\"},[_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.labelDialog(stage,index)}}},[_c('v-icon',{attrs:{\"color\":stage.label?'primary':''}},[_vm._v(\"mdi-tag\")])],1)],1),_c('span',{staticClass:\"pt-2 pr-1\"},[_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.scriptDialog(stage,index)}}},[(!stage.has_some_script())?_c('h1',[_vm._v(\"{}\")]):_c('h1',{staticStyle:{\"color\":\"#663399\"}},[_vm._v(\"{*}\")])])],1),_c('span',{staticClass:\"drag-handle\"},[_c('h1',[_vm._v(\"☰\")])])]},proxy:true}],null,true)})}),1)],1):_vm._e(),(_vm.screen_data.workflow.stages.length == 0)?_c('v-btn',{staticClass:\"ml-1\",attrs:{\"icon\":\"\",\"color\":\"primary_blue\"},on:{\"click\":function($event){_vm.screen_data.addStageDialog = true}}},[_c('v-icon',{staticClass:\"material-symbols-outlined\"},[_vm._v(\"add\")])],1):_vm._e()],1)],1),_c('v-row',[(_vm.screen_data.showStageDetails)?_c('v-col',[_c('WorkflowTemplateStageDetail',{key:_vm.screen_data.selectedStageIndex.toString()+_vm.screen_data.selectedStage.name,attrs:{\"stage\":_vm.screen_data.selectedStage,\"available_types\":_vm.screen_data.availableEntityTypes,\"available_users\":_vm.screen_data.availableUsers,\"showErrors\":_vm.screen_data.showErrors,\"my_bag\":_vm.screen_data.myCurrentBagOfInstances},on:{\"close-detail\":function($event){return _vm.hideDetail()},\"compute-stage\":function($event){return _vm.computeActualStage(_vm.screen_data.selectedStage)}}})],1):_vm._e()],1)],1)],1)],1):_vm._e(),(_vm.screen_data)?_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500px\"},model:{value:(_vm.screen_data.addStageDialog),callback:function ($$v) {_vm.$set(_vm.screen_data, \"addStageDialog\", $$v)},expression:\"screen_data.addStageDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"card__headline\"},[_c('span',[_vm._v(\"Añadir nueva etapa\")])]),_c('v-divider'),_c('v-card-text',[_c('v-select',{staticClass:\"my-4\",attrs:{\"items\":_vm.screen_data.availableStages,\"label\":\"Tipo de etapa\",\"item-text\":\"name\",\"item-value\":\"value\",\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\"},model:{value:(_vm.screen_data.newStageName),callback:function ($$v) {_vm.$set(_vm.screen_data, \"newStageName\", $$v)},expression:\"screen_data.newStageName\"}})],1),_c('v-card-actions',{staticClass:\"acction_btns\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"action__btn\",attrs:{\"outlined\":\"\"},on:{\"click\":function($event){_vm.screen_data.addStageDialog = false}}},[_vm._v(\"Cancelar\")]),_c('v-btn',{staticClass:\"white--text action__btn\",attrs:{\"color\":\"#060647\",\"disabled\":!_vm.canAdd()},on:{\"click\":function($event){return _vm.actuallyAddStage()}}},[_vm._v(\"\\n                Crear\\n                \")])],1)],1)],1):_vm._e(),_c('v-dialog',{staticClass:\"pa-0 ma-0 rounded\",attrs:{\"width\":\"350px\"},model:{value:(_vm.screen_data.showErrorsDialog),callback:function ($$v) {_vm.$set(_vm.screen_data, \"showErrorsDialog\", $$v)},expression:\"screen_data.showErrorsDialog\"}},[_c('v-card',{staticClass:\"error__dialog text-center overflow-hidden\"},[_c('v-card-title',{staticClass:\"d-flex justify-space-between\"},[_c('span',{staticClass:\"px-4\"},[_vm._v(\"Atención\")]),_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.screen_data.showErrorsDialog=false}}},[_c('v-icon',{staticClass:\"material-symbols-outlined\",attrs:{\"color\":\"white\"}},[_vm._v(\"close\")])],1)],1),_c('v-divider'),_c('v-card-text',{staticClass:\"py-6 px-12\"},[_c('v-row',[_c('v-col',{staticClass:\"d-flex flex-column\",attrs:{\"cols\":\"12\"}},[_c('v-icon',{staticClass:\"material-symbols-outlined\",attrs:{\"size\":\"48\",\"color\":\"#DC0B0BE5\"}},[_vm._v(\"warning\")]),_c('span',{staticClass:\"text-subtitle-1 font-weight-bold\"},[_vm._v(\"Información incompleta\")])],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[(_vm.screen_data.workflow.stages.length == 0)?_c('span',[_vm._v(\" \\n                            Por favor, \"),_c('strong',[_vm._v(\"agregue al menos una etapa\")]),_vm._v(\" al workflow.\\n                        \")]):_c('span',[_vm._v(\"Por favor, \"),_c('strong',[_vm._v(\"revise los campos pendientes\")]),_vm._v(\" y complete la información necesaria para poder guardar el workflow.\")])])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Stage, WorkflowTemplate } from \"./WorkflowTemplate\";\n\n\nexport class WorkflowTemplateEditorScreenData {\n    \n    workflow: WorkflowTemplate;\n    availableUsers: any[];\n    availableStages: any[];\n    addStageDialog: boolean = false;\n    newStageName: string = '';\n    // newStageUser: string = '';\n    showStageDetails: boolean = false;\n    selectedStage: Stage = null;\n    selectedStageIndex: number = -1;\n    myCurrentBagOfInstances: any = {};\n    indicateTableKey: boolean = false;\n    newTableKey: string = '';\n    newReason: boolean = false;\n    newClassicRender: boolean = false;\n    newCheap: boolean = false;\n    snackbar: Object;\n    showErrors: boolean = false;\n    showErrorsDialog: boolean = false;\n    loadingSave: boolean = false;\n    availableTypes: string[] = []\n    availableEntityTypes: any[];\n    workflow_input: string = 'document';\n    \n\n    constructor(){\n        this.workflow = new WorkflowTemplate(null, [], '');\n        this.availableUsers = []\n        this.availableStages = [];\n        this.snackbar = {\n            ['isVisible']: false,\n            text: '',\n            color: '',\n            timeout: 3000,\n        }\n        this.availableEntityTypes = [];\n    }\n\n    success_message(message){\n        this.snackbar['text'] = message\n        this.snackbar['color'] = 'success'\n        this.snackbar['isVisible'] = true\n      }\n    \n      error_message(message){\n          this.snackbar['text'] = message\n          this.snackbar['color'] = 'error'\n          this.snackbar['isVisible'] = true\n      }\n    \n}","import { UploadAsInvoice, nameToClass } from \"../domain/WorkflowTemplate\"\nimport { WorkflowTemplateRepository } from \"../domain/WorkflowTemplateRepository\"\nimport { WorkflowTemplateEditorScreenData } from \"../domain/WorkflowTemplateEditorScreenData\"\nimport { OtherDocumentRepository } from \"../domain/OtherDocumentRepository\"\nimport { EntityTypeRepository } from \"../../entities/domain/Entities\"\nimport { DOCS_FIELD_MAP_SHOW } from \"../../document/domain/Document\"\nimport { re } from \"mathjs\"\nimport { get_tree_from_schema } from \"../../entities/domain/GetTreeFromSchema\"\nexport class WorkflowTemplateEditorComponent{\n    \n    workflow_repo:WorkflowTemplateRepository\n    screen_data: WorkflowTemplateEditorScreenData\n    other_doc_repo: OtherDocumentRepository\n    entity_type_repo:EntityTypeRepository\n  \n    constructor(workflow_repo:WorkflowTemplateRepository, screen_data:WorkflowTemplateEditorScreenData, other_doc_repo: OtherDocumentRepository, entity_type_repo:EntityTypeRepository){ \n        this.workflow_repo = workflow_repo\n        this.screen_data = screen_data\n        this.other_doc_repo = other_doc_repo\n        this.entity_type_repo = entity_type_repo\n    }\n\n    async mount(workflow_id) {\n        if (workflow_id) {\n            await this.fetchWorkflow(workflow_id)\n        }\n        this.screen_data.availableUsers = await this.workflow_repo.get_available_users()\n        this.screen_data.availableEntityTypes = await this.entity_type_repo.get_my_types()\n        let universal_aux_types = await this.entity_type_repo.get_aux_workflow_editor_types()\n        for (let type of universal_aux_types){\n            this.screen_data.availableEntityTypes.push(type)\n        }\n        this.screen_data.availableStages = []\n        for(let key of Object.keys(nameToClass)){\n            this.screen_data.availableStages.push({\n                'value': key,\n                'name': DOCS_FIELD_MAP_SHOW[key]\n            })\n        }\n        if (this.screen_data.workflow.trigger_entity_type_uuid){\n            this.screen_data.workflow_input = 'params'\n        }\n        this.screen_data.availableTypes = await this.other_doc_repo.getAvailableTypes()\n    }\n\n    async fetchWorkflow(workflow_id){\n        let wf = await this.workflow_repo.find_by_id(workflow_id)\n        this.screen_data.workflow = wf\n    }\n\n    addStage(){\n        let newStage = null\n        if(this.screen_data.newStageName){\n            let stage_class = nameToClass[this.screen_data.newStageName]\n            newStage = stage_class.createEmpty() // cada classe defineix com es crea la instancia buida\n            newStage.calculatePrice()\n            this.screen_data.workflow.stages.push(newStage)\n            if( stage_class.need_detail ){\n                this.screen_data.selectedStage = newStage\n                this.screen_data.selectedStageIndex = this.screen_data.workflow.stages.length - 1\n                this.screen_data.myCurrentBagOfInstances = this.get_current_bag(this.screen_data.selectedStageIndex)\n                this.screen_data.showStageDetails = true\n            }\n            // if(this.screen_data.newStageUser && this.screen_data.newStageName == 'WaitForApproval'){\n            //     newStage.username = this.screen_data.newStageUser\n            // }\n        }\n        \n        this.screen_data.addStageDialog = false\n        this.screen_data.newStageName = ''\n        // this.screen_data.newStageUser = ''\n        this.screen_data.showErrors = false\n    }\n\n    removeStage(stage){\n        this.screen_data.workflow.stages = this.screen_data.workflow.stages.filter(s => s !== stage)\n    }\n\n    async saveWorkflow(){\n        this.screen_data.loadingSave = true\n        if(this.screen_data.workflow.validate()){\n            if (this.screen_data.workflow.stages.length > 0) {\n                this.screen_data.workflow.stages.forEach(stage => stage.calculatePrice())\n            }\n            let res = await this.workflow_repo.save_workflow_template(this.screen_data.workflow)\n            if (res && res['status'] == 'ok') {\n                await this.fetchWorkflow(res['wf_id'])\n                this.screen_data.success_message('Workflow guardado correctamente')\n            } else {\n                this.screen_data.error_message('Error al guardar el workflow')\n            }\n        } else {\n            this.screen_data.showErrors = true\n            this.screen_data.showErrorsDialog = true\n        }\n        this.screen_data.loadingSave = false\n    }\n\n\n    \n\n    get_entity_type_tree(uuid){\n        let e_type = this.screen_data.availableEntityTypes.find(e => e.uuid == uuid)\n        if (!e_type){\n            return null\n        }\n        else{\n            let schema = e_type.schema\n            let tree = get_tree_from_schema(schema)\n            return tree\n        }\n\n    }\n\n    compute_bag_of_instances_story(){\n        let my_bag_story = [];\n        for (let i in this.screen_data.workflow.stages){\n            my_bag_story.push({})\n        }\n        for (let i in this.screen_data.workflow.stages){\n            let stage = this.screen_data.workflow.stages[i];\n            if ((stage as any).save_as_key && (stage as any).entity_type_id){\n                my_bag_story[i][(stage as any).save_as_key] = this.get_entity_type_tree((stage as any).entity_type_id);\n            }\n            else if((stage as any).save_list_key && (stage as any).entity_type_id){\n                my_bag_story[i][(stage as any).save_list_key] = [this.get_entity_type_tree((stage as any).entity_type_id)]\n            }\n        }\n        return my_bag_story\n    }\n\n    default_bag(){\n        if(this.screen_data.workflow_input == 'document'){\n            return {'empresa':{'id':null}, 'documento':{'id':null, 'uuid':null, 'num_pages':null}}\n        }\n        else if(this.screen_data.workflow_input == 'params'){\n            return {'empresa':{'id':null}, 'params':this.get_entity_type_tree(this.screen_data.workflow.trigger_entity_type_uuid)}\n        }\n        else{\n            return {'empresa':{'id':null}}\n        }\n    }\n\n    get_current_bag(curr_i){\n        let story = this.compute_bag_of_instances_story()\n        let my_bag = this.default_bag()\n        for (let i in story){\n            if (i < curr_i){\n                let inst = story[i]\n                if (Object.keys(inst).length > 0){\n                    let key = Object.keys(inst)[0]\n                    my_bag[key] = inst[key]\n                }\n            }\n        }\n        return my_bag\n    }\n\n    showDetail(stage, index) {\n        let stage_class = nameToClass[stage.name]\n        if (!stage || (stage && !stage_class.need_detail)) {\n            this.screen_data.showStageDetails = false;\n        }\n        else{\n            this.screen_data.showStageDetails = true;\n        }\n        this.screen_data.selectedStage = stage;\n        this.screen_data.selectedStageIndex = index;\n        this.screen_data.myCurrentBagOfInstances = this.get_current_bag(index)\n    }\n\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex align-center\"},[_c('v-card',{staticClass:\"preaty__card\",style:(_vm.showErrors && !_vm.stage.validate()? 'border: 2px solid rgba(220, 11, 11, 0.898);': 'border: 1px solid #060647;'),on:{\"click\":function($event){return _vm.$emit('show-detail')}}},[_c('v-card-title',{staticClass:\"pt-1\"},[_c('v-row',{staticClass:\"d-flex ml-0\"},[_c('v-col',{staticClass:\"pa-0 ma-0\",attrs:{\"cols\":\"8\"}},[(_vm.stage && _vm.stage.nickname === '')?_c('div',[_c('h5',{staticClass:\"text__balance\"},[_vm._v(_vm._s(_vm.formatField(_vm.stage.name)))])]):(_vm.stage && _vm.stage.nickname !== '')?_c('div',[_c('h5',{staticClass:\"text__balance\"},[_vm._v(_vm._s(_vm.stage.nickname))])]):_vm._e()]),_c('v-col',{staticClass:\"d-flex justify-left pa-0 ma-0\",attrs:{\"cols\":\"2\"}},[_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({staticClass:\"custom-toggle-btn\",staticStyle:{\"margin-right\":\"5px\"},attrs:{\"elevation\":\"2\",\"variant\":\"text\",\"icon\":\"\"},on:{\"click\":function($event){_vm.stage.persist = !_vm.stage.persist}}},'v-btn',attrs,false),on),[(_vm.stage.persist)?_c('v-icon',{attrs:{\"color\":\"#663399\"}},[_vm._v(\"mdi-timer-sand\")]):_c('v-icon',{attrs:{\"color\":\"#0000008a\"}},[_vm._v(\"mdi-timer-sand\")])],1)]}}])},[_vm._v(\"\\n                        Activa o desactiva la persistencia de mis registros\\n                    \")])],1),_c('v-col',{staticClass:\"d-flex justify-end pa-0 ma-0\",attrs:{\"cols\":\"1\"}},[_c('v-btn',{staticClass:\"custom-toggle-btn\",staticStyle:{\"margin-right\":\"5px\"},attrs:{\"color\":!_vm.stage.visible ? 'gray' : 'primary',\"elevation\":\"2\",\"variant\":\"text\",\"icon\":\"\"},on:{\"click\":function($event){_vm.stage.visible = !_vm.stage.visible}}},[_c('v-icon',[_vm._v(_vm._s(!_vm.stage.visible ? 'mdi-eye-off' : 'mdi-eye'))])],1)],1),_c('v-col',{staticClass:\"d-flex justify-end pa-0 ma-0\",attrs:{\"cols\":\"1\"}},[_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":_vm.removeStage}},[_c('v-icon',{staticClass:\"material-symbols-outlined\",attrs:{\"small\":\"\"}},[_vm._v(\"close\")])],1)],1)],1)],1),(_vm.stage.label)?_c('v-card-subtitle',{staticClass:\"d-flex ml-0\"},[_c('h5',{staticClass:\"text__balance\"},[_c('i',[_vm._v(_vm._s(_vm.stage.label))])])]):_vm._e(),_c('v-card-text',[(_vm.stage.name == 'WaitForApproval')?_c('v-row',{staticClass:\"ml-0\"},[(_vm.stage.username_location)?_c('v-col',{staticClass:\"pa-0 ma-0\"},[_c('span',[_vm._v(\" Ruta al usuario: \"),_c('strong',[_vm._v(_vm._s(_vm.stage.username_location.replace('hardcoded.','')))])])]):_c('v-col',{staticClass:\"pa-0 ma-0\"},[_c('span',[_vm._v(\" Usuario: \"),_c('strong',[_vm._v(_vm._s(_vm.stage.username))])])])],1):_vm._e(),(['RunCommand'].includes(_vm.stage.name) )?_c('v-row',{staticClass:\"ml-0\"},[_c('v-col',{staticClass:\"pa-0 ma-0\"},[_c('span',[_vm._v(\" Comando: \"),_c('strong',[_vm._v(_vm._s(_vm.stage.cmd_name))])])])],1):_vm._e(),(['RunQuery'].includes(_vm.stage.name) )?_c('v-row',{staticClass:\"ml-0\"},[_c('v-col',{staticClass:\"pa-0 ma-0\"},[_c('span',[_vm._v(\" Query: \"),_c('strong',[_vm._v(_vm._s(_vm.stage.query_name))])])])],1):_vm._e(),(['RunCommand','RunQuery','LookupAndMatchInstance','AskAI','ExtractInstanceFromRawData','CreateInstanceFromContext','CreateInstance','RunScript', 'CompleteConversation'].includes(_vm.stage.name) )?_c('v-row',{staticClass:\"ml-0\"},[_c('v-col',{staticClass:\"pa-0 ma-0\"},[_c('span',[_vm._v(\" Clave de guardado: \"),_c('strong',[_vm._v(_vm._s(_vm.stage.save_as_key))])])])],1):_vm._e(),(['LookupAndMatchMultipleInstances','CreateInstancesFromList'].includes(_vm.stage.name) )?_c('v-row',{staticClass:\"ml-0\"},[_c('v-col',{staticClass:\"pa-0 ma-0\"},[_c('span',[_vm._v(\" Clave de guardado: \"),_c('strong',[_vm._v(_vm._s(_vm.stage.save_list_key))])])])],1):_vm._e(),(['AddInstanceToList'].includes(_vm.stage.name) )?_c('v-row',{staticClass:\"ml-0\"},[_c('v-col',{staticClass:\"pa-0 ma-0\"},[_c('span',[_vm._v(\" Lista modificada: \"),_c('strong',[_vm._v(_vm._s(_vm.stage.list_location))])])])],1):_vm._e(),(['RunCommand','RunQuery', 'LookupAndMatchInstance','AskAI','ExtractInstanceFromRawData','CreateInstanceFromContext',\n        'CreateInstance','RunScript','CreateInstancesFromList', 'LookupAndMatchMultipleInstances','AddInstanceToList'].includes(_vm.stage.name) )?_c('v-row',{staticClass:\"ml-0\"},[_c('v-col',{staticClass:\"pa-0 ma-0\"},[_c('span',[_vm._v(\" Tipo registro salida: \"),_c('strong',[_vm._v(_vm._s(_vm.type_id_to_name[_vm.stage.entity_type_id]))])])])],1):_vm._e(),(['SendThroughEmail','SendEmailWithTemplate'].includes(_vm.stage.name))?_c('v-row',{staticClass:\"ml-0\"},[_c('v-col',{staticClass:\"pa-0 ma-0\"},[_c('span',[_vm._v(\" Ruta al email: \"),_c('strong',[_vm._v(_vm._s(_vm.stage.email_location.replace('hardcoded.','')))])])])],1):_vm._e(),(_vm.stage.name == 'PayrollAccounting')?_c('v-row',{staticClass:\"ml-0\"},[_c('v-col',{staticClass:\"pa-0 ma-0\"},[_c('span',[_vm._v(\" Descripción: \"),_c('strong',[_vm._v(_vm._s(_vm.stage.description))])])])],1):_vm._e(),(_vm.stage.name == 'SendDataToEndpoint')?_c('v-row',{staticClass:\"ml-0\"},[_c('v-col',{staticClass:\"pa-0 ma-0\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n        var on = ref.on;\nreturn [_c('span',_vm._g({},on),[_vm._v(\" \\n                            Endpoint: \\n                            \"),_c('strong',[_vm._v(\"\\n                                \"+_vm._s(_vm.stage.endpoint.slice(0,34))),(_vm.stage.endpoint.length>34)?[_vm._v(\"...\")]:_vm._e()],2)])]}}],null,false,1535828029)},[_c('span',[_vm._v(_vm._s(_vm.stage.endpoint))])])],1)],1):_vm._e(),_c('v-row',{staticClass:\"ml-0\"},[_c('v-col',{staticClass:\"pa-0 ma-0\"},[_c('span',[_vm._v(\" Precio: \"),_c('strong',[_vm._v(_vm._s(_vm.stage.price)+\" créditos\")])])])],1)],1),_c('div',{staticClass:\"d-flex justify-end pa-0 ma-0\",staticStyle:{\"position\":\"absolute\",\"bottom\":\"0px\",\"right\":\"0px\"},attrs:{\"cols\":\"1\"}},[_vm._t(\"custom-content\")],2)],1),(!_vm.last)?_c('v-icon',{staticClass:\"ml-1 material-symbols-outlined\",attrs:{\"color\":\"#060647\"}},[_vm._v(\"trending_flat\")]):_vm._e(),(_vm.last)?_c('v-btn',{staticClass:\"ml-1\",attrs:{\"color\":\"primary_blue\",\"icon\":\"\"},on:{\"click\":_vm.addStage}},[_c('v-icon',{staticClass:\"material-symbols-outlined\"},[_vm._v(\"add\")])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div class=\"d-flex align-center\">\n        <v-card class=\"preaty__card\" @click=\"$emit('show-detail')\" :style=\"showErrors && !stage.validate()? 'border: 2px solid rgba(220, 11, 11, 0.898);': 'border: 1px solid #060647;'\">\n            <v-card-title class=\"pt-1\">\n                <v-row class=\"d-flex ml-0\">\n                    <v-col class=\"pa-0 ma-0\" cols=\"8\">\n                        <div v-if=\"stage && stage.nickname === ''\">\n                            <h5 class=\"text__balance\">{{formatField(stage.name)}}</h5>\n                        </div>\n                        <div v-else-if=\"stage && stage.nickname !== ''\">\n                            <h5 class=\"text__balance\">{{stage.nickname}}</h5>\n                        </div>\n                    </v-col>\n                    <v-col cols=\"2\" class=\"d-flex justify-left pa-0 ma-0\">\n                        <v-tooltip top>\n                            <template v-slot:activator=\"{ on, attrs }\">\n                                <v-btn\n                                    v-bind=\"attrs\"\n                                    v-on=\"on\"\n                                    style=\"margin-right: 5px;\"\n                                    class=\"custom-toggle-btn\"\n                                    elevation=\"2\"\n                                    variant=\"text\"\n                                    icon\n                                    @click=\"stage.persist = !stage.persist\">\n                                    <v-icon v-if=\"stage.persist\" color=\"#663399\">mdi-timer-sand</v-icon>\n                                    <v-icon v-else color=\"#0000008a\">mdi-timer-sand</v-icon>\n                                </v-btn>\n                            </template>\n                            Activa o desactiva la persistencia de mis registros\n                        </v-tooltip>\n                    </v-col>\n                    <v-col cols=\"1\" class=\"d-flex justify-end pa-0 ma-0\">\n                        <v-btn\n                            style=\"margin-right: 5px;\"\n                            class=\"custom-toggle-btn\"\n                            :color=\"!stage.visible ? 'gray' : 'primary'\"\n                            elevation=\"2\"\n                            variant=\"text\"\n                            icon\n                            @click=\"stage.visible = !stage.visible\">\n                            <v-icon>{{ !stage.visible ? 'mdi-eye-off' : 'mdi-eye' }}</v-icon>\n                            <!-- {{ show_custom_prompt ? ' Hide Prompt' : ' Customizar Prompt' }} -->\n                        </v-btn>\n                    </v-col>\n                    <v-col cols=\"1\" class=\"d-flex justify-end pa-0 ma-0\">\n                        <v-btn icon @click=\"removeStage\">\n                            <v-icon small class=\"material-symbols-outlined\">close</v-icon>\n                        </v-btn>\n                    </v-col>\n                </v-row>\n            </v-card-title>\n            <v-card-subtitle class=\"d-flex ml-0\" v-if=\"stage.label\">\n                <h5 class=\"text__balance\"><i>{{stage.label}}</i></h5>\n            </v-card-subtitle>\n            <v-card-text>\n            <v-row v-if=\"stage.name == 'WaitForApproval'\" class=\"ml-0\">\n                <v-col class=\"pa-0 ma-0\" v-if=\"stage.username_location\">\n                    <span> Ruta al usuario: <strong>{{stage.username_location.replace('hardcoded.','')}}</strong></span>\n                </v-col>\n                <v-col class=\"pa-0 ma-0\" v-else>\n                    <span> Usuario: <strong>{{stage.username}}</strong></span>\n                </v-col>\n            </v-row>\n            <v-row v-if=\"['RunCommand'].includes(stage.name) \" class=\"ml-0\">\n                <v-col class=\"pa-0 ma-0\">\n                    <span> Comando: <strong>{{stage.cmd_name}}</strong></span>\n                </v-col>\n            </v-row>\n            <v-row v-if=\"['RunQuery'].includes(stage.name) \" class=\"ml-0\">\n                <v-col class=\"pa-0 ma-0\">\n                    <span> Query: <strong>{{stage.query_name}}</strong></span>\n                </v-col>\n            </v-row>\n            <v-row v-if=\"['RunCommand','RunQuery','LookupAndMatchInstance','AskAI','ExtractInstanceFromRawData','CreateInstanceFromContext','CreateInstance','RunScript', 'CompleteConversation'].includes(stage.name) \" class=\"ml-0\">\n                <v-col class=\"pa-0 ma-0\">\n                    <span> Clave de guardado: <strong>{{stage.save_as_key}}</strong></span>\n                </v-col>\n            </v-row>\n            <v-row v-if=\"['LookupAndMatchMultipleInstances','CreateInstancesFromList'].includes(stage.name) \" class=\"ml-0\">\n                <v-col class=\"pa-0 ma-0\">\n                    <span> Clave de guardado: <strong>{{stage.save_list_key}}</strong></span>\n                </v-col>\n            </v-row>\n            <v-row v-if=\"['AddInstanceToList'].includes(stage.name) \" class=\"ml-0\">\n                <v-col class=\"pa-0 ma-0\">\n                    <span> Lista modificada: <strong>{{stage.list_location}}</strong></span>\n                </v-col>\n            </v-row>\n            <v-row v-if=\"['RunCommand','RunQuery', 'LookupAndMatchInstance','AskAI','ExtractInstanceFromRawData','CreateInstanceFromContext',\n            'CreateInstance','RunScript','CreateInstancesFromList', 'LookupAndMatchMultipleInstances','AddInstanceToList'].includes(stage.name) \" class=\"ml-0\">\n                <v-col class=\"pa-0 ma-0\">\n                    <span> Tipo registro salida: <strong>{{ type_id_to_name[stage.entity_type_id]}}</strong></span>\n                </v-col>\n            </v-row>\n            <v-row v-if=\"['SendThroughEmail','SendEmailWithTemplate'].includes(stage.name)\" class=\"ml-0\">\n                <v-col class=\"pa-0 ma-0\">\n                    <span> Ruta al email: <strong>{{stage.email_location.replace('hardcoded.','')}}</strong></span>\n                </v-col>\n            </v-row>\n            <v-row v-if=\"stage.name == 'PayrollAccounting'\" class=\"ml-0\">\n                <v-col class=\"pa-0 ma-0\">\n                    <span> Descripción: <strong>{{stage.description}}</strong></span>\n                </v-col>\n            </v-row>\n            <v-row v-if=\"stage.name == 'SendDataToEndpoint'\" class=\"ml-0\">\n                <v-col class=\"pa-0 ma-0\">\n                    <v-tooltip top>\n                        <template v-slot:activator=\"{ on }\">\n                            <span v-on=\"on\"> \n                                Endpoint: \n                                <strong>\n                                    {{stage.endpoint.slice(0,34)}}<template v-if=\"stage.endpoint.length>34\">...</template>\n                                </strong>\n                            </span>\n                        </template>\n                        <span>{{stage.endpoint}}</span>\n                    </v-tooltip>\n                </v-col>\n            </v-row>\n            <v-row class=\"ml-0\">\n                <v-col class=\"pa-0 ma-0\">\n                    <span> Precio: <strong>{{stage.price}} créditos</strong></span>\n                </v-col>\n            </v-row>\n           \n            </v-card-text>\n            <div cols=\"1\" style=\"position:absolute;bottom:0px;right:0px\" class=\"d-flex justify-end pa-0 ma-0\">\n                <slot name=\"custom-content\"></slot>\n            </div>\n        </v-card>\n        <v-icon v-if=\"!last\" class=\"ml-1 material-symbols-outlined\" color=\"#060647\">trending_flat</v-icon>\n        <v-btn class=\"ml-1\" color=\"primary_blue\" @click=\"addStage\" icon v-if=\"last\">\n            <v-icon class=\"material-symbols-outlined\">add</v-icon>\n        </v-btn>\n    </div>\n</template>\n\n<script>\nimport { Stage } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nexport default {\n    name:'WorkflowTemplateStageCard',\n    props:{\n        stage: {\n            type: Stage,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        last: {\n            type: Boolean,\n            default: false\n        },\n    },\n    data(){\n        return {\n            \n        }\n    },\n    mounted(){\n        console.log(this.last)\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        addStage(){\n            this.$emit('add-stage');\n        },\n        removeStage(){\n            this.$emit('remove-stage');\n        }\n    },\n    computed:{\n        type_id_to_name(){\n            let dic = {};\n            this.available_types.forEach(type => {\n                dic[type.uuid] = type.name;\n            });\n            return dic;\n        }\n    }\n}\n</script>\n\n<style scoped>\n.text__balance {\n    text-wrap: balance;\n}\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    width: 350px;\n    height: 180px;\n    border-radius: 5px;\n    margin-bottom: 10px;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkflowTemplateStageCard.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!./WorkflowTemplateStageCard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WorkflowTemplateStageCard.vue?vue&type=template&id=24bc947e&scoped=true&\"\nimport script from \"./WorkflowTemplateStageCard.vue?vue&type=script&lang=js&\"\nexport * from \"./WorkflowTemplateStageCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./WorkflowTemplateStageCard.vue?vue&type=style&index=0&id=24bc947e&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  \"24bc947e\",\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 { VCardSubtitle } 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 { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCard,VCardSubtitle,VCardText,VCardTitle,VCol,VIcon,VRow,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{staticClass:\"preaty__card pb-6\",style:(_vm.showErrors && !_vm.stage.validate()? 'border: 2px solid rgba(220, 11, 11, 0.898)': 'border: 1px solid #060647;')},[(_vm.stage)?_c('v-row',{staticClass:\"pa-0 ma-0\"},[_c('v-col',{staticClass:\"px-4\",attrs:{\"cols\":\"9\"}},[_c('h3',{staticClass:\"text-h6\"},[_vm._v(_vm._s(_vm.formatField(_vm.stage.name)))])]),_c('v-col',{staticClass:\"px-4 text-right\",attrs:{\"cols\":\"2\"}},[_vm._v(\"\\n            Coste: \"),_c('strong',[_vm._v(_vm._s(_vm.stage.price)+\" créditos\")])]),_c('v-col',{staticClass:\"text-right py-1 pr-1\",attrs:{\"cols\":\"1\"}},[_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.$emit('close-detail')}}},[_c('v-icon',[_vm._v(\"mdi-close\")])],1)],1)],1):_vm._e(),(_vm.stage && _vm.stage.name == 'AskAI')?_c('div',{staticClass:\"px-4\"},[_c('AskAIDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"available_types\":_vm.available_types,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'AddDocumentRepresentationToConversation')?_c('div',{staticClass:\"px-4\"},[_c('AddDocumentRepresentationToConversationDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'LookupAndMatchInstance')?_c('div',{staticClass:\"px-4\"},[_c('LookupAndMatchInstanceDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"available_types\":_vm.available_types,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'LookupAndMatchMultipleInstances')?_c('div',{staticClass:\"px-4\"},[_c('LookupAndMatchMultipleInstancesDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"available_types\":_vm.available_types,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'ExtractInstanceFromRawData')?_c('div',{staticClass:\"px-4\"},[_c('ExtractInstanceFromRawDataDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"available_types\":_vm.available_types},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'CreateInstanceFromContext')?_c('div',{staticClass:\"px-4\"},[_c('CreateInstanceFromContextDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"available_types\":_vm.available_types,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'CompleteConversation')?_c('div',{staticClass:\"px-4\"},[_c('CompleteConversationDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'SendEmailWithTemplate')?_c('div',{staticClass:\"px-4\"},[_c('SendEmailWithTemplateDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"available_types\":_vm.available_types,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'RunCommand')?_c('div',{staticClass:\"px-4\"},[_c('RunCommandDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"available_types\":_vm.available_types,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'RunQuery')?_c('div',{staticClass:\"px-4\"},[_c('RunQueryDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"available_types\":_vm.available_types,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'AddInstanceToList')?_c('div',{staticClass:\"px-4\"},[_c('AddInstanceToListDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"available_types\":_vm.available_types,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'CreateInstance')?_c('div',{staticClass:\"px-4\"},[_c('CreateInstanceDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"available_types\":_vm.available_types,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'CreateInstancesFromList')?_c('div',{staticClass:\"px-4\"},[_c('CreateInstancesFromListDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"available_types\":_vm.available_types,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'ModifyContext')?_c('div',{staticClass:\"px-4\"},[_c('ModifyContextDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'SendThroughEmail')?_c('div',{staticClass:\"px-4\"},[_c('SendThroughEmailDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'PayrollAccounting')?_c('div',{staticClass:\"px-4\"},[_c('PayrollAccountingDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"my_bag\":_vm.my_bag},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'SendDataToEndpoint')?_c('div',{staticClass:\"px-4\"},[_c('SendDataToEndpointDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"my_bag\":_vm.my_bag,\"available_types\":_vm.available_types},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'WaitForApproval')?_c('div',{staticClass:\"px-4\"},[_c('WaitForApprovalDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"my_bag\":_vm.my_bag,\"available_users\":_vm.available_users},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e(),(_vm.stage && _vm.stage.name == 'RunScript')?_c('div',{staticClass:\"px-4\"},[_c('RunScriptDetailComponent',{attrs:{\"stage\":_vm.stage,\"showErrors\":_vm.showErrors,\"my_bag\":_vm.my_bag,\"available_types\":_vm.available_types},on:{\"compute-stage\":_vm.computeStage}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-select',{attrs:{\"items\":_vm.available_types,\"label\":\"Tipo de salida\",\"item-text\":\"name\",\"item-value\":\"uuid\",\"outlined\":\"\",\"hide-details\":\"auto\"},model:{value:(_vm.stage.entity_type_id),callback:function ($$v) {_vm.$set(_vm.stage, \"entity_type_id\", $$v)},expression:\"stage.entity_type_id\"}})],1),_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-checkbox',{attrs:{\"label\":\"Multitool\",\"hide-details\":\"\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.multitool),callback:function ($$v) {_vm.$set(_vm.stage, \"multitool\", $$v)},expression:\"stage.multitool\"}})],1),(_vm.stage.multitool)?_c('v-col',{attrs:{\"cols\":\"4\"}},[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Force tool: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\"},model:{value:(_vm.stage.forced_tool),callback:function ($$v) {_vm.$set(_vm.stage, \"forced_tool\", $$v)},expression:\"stage.forced_tool\"}})],1):_vm._e()],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Clave de guardado\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.save_as_key,\"background-color\":_vm.showErrors && !_vm.stage.save_as_key ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.save_as_key),callback:function ($$v) {_vm.$set(_vm.stage, \"save_as_key\", $$v)},expression:\"stage.save_as_key\"}})],1)],1),_c('v-row',[_c('h3',[_vm._v(\"Representación documento:\")])]),_c('v-row',[_c('col',{attrs:{\"cols\":\"12\"}}),_c('v-radio-group',{attrs:{\"row\":\"\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.input_mode),callback:function ($$v) {_vm.$set(_vm.stage, \"input_mode\", $$v)},expression:\"stage.input_mode\"}},[_c('v-radio',{attrs:{\"label\":\"Modo PDF\",\"value\":\"pdf\"}}),_c('v-radio',{attrs:{\"label\":\"Modo imagen\",\"value\":\"image\"}}),_c('v-radio',{attrs:{\"label\":\"Texto\",\"value\":\"text\"}}),_c('v-radio',{attrs:{\"label\":\"Ninguna\",\"value\":\"none\"}})],1)],1),(_vm.stage.input_mode === 'image' || _vm.stage.input_mode === 'pdf')?_c('v-row',[(_vm.stage.input_mode === 'image')?_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-text-field',{attrs:{\"label\":\"Primeras n páginas\",\"type\":\"number\"},model:{value:(_vm.stage.headPages),callback:function ($$v) {_vm.$set(_vm.stage, \"headPages\", $$v)},expression:\"stage.headPages\"}})],1):_vm._e(),(_vm.stage.input_mode === 'image')?_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-text-field',{attrs:{\"label\":\"Últimas n páginas \",\"type\":\"number\"},model:{value:(_vm.stage.tailPages),callback:function ($$v) {_vm.$set(_vm.stage, \"tailPages\", $$v)},expression:\"stage.tailPages\"}})],1):_vm._e(),_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-checkbox',{attrs:{\"label\":\"Crop\",\"hide-details\":\"\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.crop),callback:function ($$v) {_vm.$set(_vm.stage, \"crop\", $$v)},expression:\"stage.crop\"}})],1)],1):_vm._e(),(_vm.stage.input_mode === 'text')?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-select',{attrs:{\"items\":[{'text': 'Texto plano', 'value': 'plain_text'}, {'text': 'LMDX', 'value': 'lmdx'}, {'text': 'Renderizado', 'value': 'rendered'}],\"value\":\"value\",\"label\":\"Formato de texto\"},model:{value:(_vm.stage.textFormat),callback:function ($$v) {_vm.$set(_vm.stage, \"textFormat\", $$v)},expression:\"stage.textFormat\"}})],1)],1):_vm._e(),_c('v-row',[_c('h3',[_vm._v(\"Configuracion de AI\")])]),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-checkbox',{attrs:{\"label\":\"Razonamiento\",\"hide-details\":\"\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.reason),callback:function ($$v) {_vm.$set(_vm.stage, \"reason\", $$v)},expression:\"stage.reason\"}})],1),_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-checkbox',{attrs:{\"label\":\"Económico\",\"hide-details\":\"\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.cheap),callback:function ($$v) {_vm.$set(_vm.stage, \"cheap\", $$v)},expression:\"stage.cheap\"}})],1),_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-checkbox',{attrs:{\"label\":\"Cache\",\"hide-details\":\"\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.cache),callback:function ($$v) {_vm.$set(_vm.stage, \"cache\", $$v)},expression:\"stage.cache\"}})],1)],1),_c('v-row',[_c('h3',[_vm._v(\" Personalizar prompt\")]),_c('p',[_c('i',[_vm._v(\" Para inyectar contexto escribir ruta entre \\\"<>\\\"\")])])]),_c('v-row',[_c('v-col',[_c('v-textarea',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.show_custom_prompt),expression:\"show_custom_prompt\"}],staticClass:\"small_scrollbar mt-4\",attrs:{\"label\":\"Prompt\",\"outlined\":\"\",\"rows\":\"5\",\"hide-details\":\"auto\",\"error\":false},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.prompt),callback:function ($$v) {_vm.$set(_vm.stage, \"prompt\", $$v)},expression:\"stage.prompt\"}})],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col cols=\"6\">\n                <v-select\n                v-model=\"stage.entity_type_id\"\n                :items=\"available_types\"\n                label=\"Tipo de salida\"\n                item-text=\"name\" \n                item-value=\"uuid\"\n                outlined\n                hide-details=\"auto\">\n                </v-select>\n            </v-col>\n            <v-col cols=\"2\">\n                <v-checkbox\n                    v-model=\"stage.multitool\"\n                    label=\"Multitool\"\n                    hide-details\n                    @change=\"computeStage\"\n                ></v-checkbox>\n            </v-col>\n            <v-col cols=\"4\" v-if=\"stage.multitool\">\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Force tool: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.forced_tool\"\n                    :my_bag=\"my_bag\"\n                    outlined></RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.save_as_key\"\n                    label=\"Clave de guardado\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.save_as_key\"\n                    :background-color=\"showErrors && !stage.save_as_key ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <h3>Representación documento:</h3>\n        </v-row>\n        <v-row>\n            <col cols=\"12\">\n                <v-radio-group v-model=\"stage.input_mode\" @change=\"computeStage\" row>\n                    <v-radio label=\"Modo PDF\" value=\"pdf\"></v-radio>\n                    <v-radio label=\"Modo imagen\" value=\"image\"></v-radio>\n                    <v-radio label=\"Texto\" value=\"text\"></v-radio>\n                    <v-radio label=\"Ninguna\" value=\"none\"></v-radio>\n                </v-radio-group>\n            </col>\n        </v-row>\n        <v-row v-if=\"stage.input_mode === 'image' || stage.input_mode === 'pdf'\">\n            \n            <v-col cols=\"2\" v-if=\"stage.input_mode === 'image'\">\n                <v-text-field v-model=\"stage.headPages\" label=\"Primeras n páginas\" type=\"number\"></v-text-field>\n            </v-col>\n            <v-col cols=\"2\" v-if=\"stage.input_mode === 'image'\">\n                <v-text-field v-model=\"stage.tailPages\" label=\"Últimas n páginas \" type=\"number\"></v-text-field>\n            </v-col>\n            <v-col cols=\"2\">\n                <v-checkbox\n                    v-model=\"stage.crop\"\n                    label=\"Crop\"\n                    hide-details\n                    @change=\"computeStage\"\n                ></v-checkbox>\n            </v-col>\n        </v-row>\n        <v-row v-if=\"stage.input_mode === 'text'\">\n            <v-col cols=\"2\">\n                <v-select \n                    v-model=\"stage.textFormat\"\n                    :items=\"[{'text': 'Texto plano', 'value': 'plain_text'}, {'text': 'LMDX', 'value': 'lmdx'}, {'text': 'Renderizado', 'value': 'rendered'}]\"\n                    value=\"value\"\n                    label=\"Formato de texto\"\n                ></v-select>\n            </v-col>\n        </v-row>\n        <v-row>\n            <h3>Configuracion de AI</h3>\n        </v-row>\n        <v-row>\n            <v-col cols=\"2\">\n                <v-checkbox\n                    v-model=\"stage.reason\"\n                    label=\"Razonamiento\"\n                    hide-details\n                    @change=\"computeStage\"\n                ></v-checkbox>\n            </v-col>\n            <v-col cols=\"2\">\n                <v-checkbox\n                    v-model=\"stage.cheap\"\n                    label=\"Económico\"\n                    hide-details\n                    @change=\"computeStage\"\n                ></v-checkbox>\n            </v-col>\n            <v-col cols=\"2\">\n                <v-checkbox\n                    v-model=\"stage.cache\"\n                    label=\"Cache\"\n                    hide-details\n                    @change=\"computeStage\"\n                ></v-checkbox>\n            </v-col>\n        </v-row>\n        <v-row>\n            <h3> Personalizar prompt</h3> <p><i> Para inyectar contexto escribir ruta entre \"&lt&gt\"</i></p>\n        </v-row>\n        <v-row>\n            <v-col>\n                <!-- <v-btn\n                    class=\"custom-toggle-btn\"\n                    :color=\"show_custom_prompt ? 'gray' : 'primary'\"\n                    elevation=\"2\"\n                    @click=\"show_custom_prompt = !show_custom_prompt\">\n                    <v-icon>{{ show_custom_prompt ? 'mdi-eye-off' : 'mdi-eye' }}</v-icon>\n                </v-btn> -->\n                <v-textarea\n                    v-model=\"stage.prompt\"\n                    v-show=\"show_custom_prompt\"\n                    label=\"Prompt\"\n                    outlined\n                    rows=\"5\"\n                    hide-details=\"auto\"\n                    class=\"small_scrollbar mt-4\"\n                    :error=\"false\"\n                    @change=\"computeStage\">\n                </v-textarea>\n            </v-col>\n        </v-row>\n    </div>\n</template>\n\n<script>\nimport { AskAI } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RouteInBagSelectorComponent from \"@/modules/document/infra/RouteInBagSelectorComponent\";\n\nexport default {\n    name:'AskAIDetailComponent',\n    components: {\n        RouteInBagSelectorComponent\n    },\n    props:{\n        stage: {\n            type: AskAI,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag: {\n            type: Object,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n            show_custom_prompt: true\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n        // this.cssLink = document.createElement('link');\n        // this.cssLink.rel = 'stylesheet';\n        // this.cssLink.href = 'https://unpkg.com/json-schema-editor-vue/lib/json-schema-editor-vue.css';\n        // document.head.appendChild(this.cssLink);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        computeStage(){\n            this.$emit('compute-stage');\n        }\n    },\n    computed:{\n        \n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AskAIDetailComponent.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!./AskAIDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AskAIDetailComponent.vue?vue&type=template&id=4aebfed6&scoped=true&\"\nimport script from \"./AskAIDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./AskAIDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AskAIDetailComponent.vue?vue&type=style&index=0&id=4aebfed6&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  \"4aebfed6\",\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 { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRadio } from 'vuetify/lib/components/VRadioGroup';\nimport { VRadioGroup } from 'vuetify/lib/components/VRadioGroup';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VCardText,VCheckbox,VCol,VRadio,VRadioGroup,VRow,VSelect,VTextField,VTextarea})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Conversación\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.conversation,\"background-color\":_vm.showErrors && !_vm.stage.conversation ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.conversation),callback:function ($$v) {_vm.$set(_vm.stage, \"conversation\", $$v)},expression:\"stage.conversation\"}})],1)],1),_c('v-row',[_c('h3',[_vm._v(\"Representación documento:\")])]),_c('v-row',[_c('col',{attrs:{\"cols\":\"12\"}}),_c('v-radio-group',{attrs:{\"row\":\"\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.input_mode),callback:function ($$v) {_vm.$set(_vm.stage, \"input_mode\", $$v)},expression:\"stage.input_mode\"}},[_c('v-radio',{attrs:{\"label\":\"Modo PDF\",\"value\":\"pdf\"}}),_c('v-radio',{attrs:{\"label\":\"Modo imagen\",\"value\":\"image\"}}),_c('v-radio',{attrs:{\"label\":\"Texto\",\"value\":\"text\"}}),_c('v-radio',{attrs:{\"label\":\"Ninguna\",\"value\":\"none\"}})],1)],1),(_vm.stage.input_mode === 'image' || _vm.stage.input_mode === 'pdf')?_c('v-row',[(_vm.stage.input_mode === 'image')?_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-text-field',{attrs:{\"label\":\"Primeras n páginas\",\"type\":\"number\"},model:{value:(_vm.stage.headPages),callback:function ($$v) {_vm.$set(_vm.stage, \"headPages\", $$v)},expression:\"stage.headPages\"}})],1):_vm._e(),(_vm.stage.input_mode === 'image')?_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-text-field',{attrs:{\"label\":\"Últimas n páginas \",\"type\":\"number\"},model:{value:(_vm.stage.tailPages),callback:function ($$v) {_vm.$set(_vm.stage, \"tailPages\", $$v)},expression:\"stage.tailPages\"}})],1):_vm._e(),_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-checkbox',{attrs:{\"label\":\"Crop\",\"hide-details\":\"\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.crop),callback:function ($$v) {_vm.$set(_vm.stage, \"crop\", $$v)},expression:\"stage.crop\"}})],1)],1):_vm._e(),(_vm.stage.input_mode === 'text')?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('v-select',{attrs:{\"items\":[{'text': 'Texto plano', 'value': 'plain_text'}, {'text': 'LMDX', 'value': 'lmdx'}, {'text': 'Renderizado', 'value': 'rendered'}],\"value\":\"value\",\"label\":\"Formato de texto\"},model:{value:(_vm.stage.textFormat),callback:function ($$v) {_vm.$set(_vm.stage, \"textFormat\", $$v)},expression:\"stage.textFormat\"}})],1)],1):_vm._e()],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.conversation\"\n                    label=\"Conversación\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.conversation\"\n                    :background-color=\"showErrors && !stage.conversation ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <h3>Representación documento:</h3>\n        </v-row>\n        <v-row>\n            <col cols=\"12\">\n                <v-radio-group v-model=\"stage.input_mode\" @change=\"computeStage\" row>\n                    <v-radio label=\"Modo PDF\" value=\"pdf\"></v-radio>\n                    <v-radio label=\"Modo imagen\" value=\"image\"></v-radio>\n                    <v-radio label=\"Texto\" value=\"text\"></v-radio>\n                    <v-radio label=\"Ninguna\" value=\"none\"></v-radio>\n                </v-radio-group>\n            </col>\n        </v-row>\n        <v-row v-if=\"stage.input_mode === 'image' || stage.input_mode === 'pdf'\">\n            \n            <v-col cols=\"2\" v-if=\"stage.input_mode === 'image'\">\n                <v-text-field v-model=\"stage.headPages\" label=\"Primeras n páginas\" type=\"number\"></v-text-field>\n            </v-col>\n            <v-col cols=\"2\" v-if=\"stage.input_mode === 'image'\">\n                <v-text-field v-model=\"stage.tailPages\" label=\"Últimas n páginas \" type=\"number\"></v-text-field>\n            </v-col>\n            <v-col cols=\"2\">\n                <v-checkbox\n                    v-model=\"stage.crop\"\n                    label=\"Crop\"\n                    hide-details\n                    @change=\"computeStage\"\n                ></v-checkbox>\n            </v-col>\n        </v-row>\n        <v-row v-if=\"stage.input_mode === 'text'\">\n            <v-col cols=\"2\">\n                <v-select \n                    v-model=\"stage.textFormat\"\n                    :items=\"[{'text': 'Texto plano', 'value': 'plain_text'}, {'text': 'LMDX', 'value': 'lmdx'}, {'text': 'Renderizado', 'value': 'rendered'}]\"\n                    value=\"value\"\n                    label=\"Formato de texto\"\n                ></v-select>\n            </v-col>\n        </v-row>\n    </div>\n</template>\n\n<script>\nimport { AddDocumentRepresentationToConversation } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RouteInBagSelectorComponent from \"@/modules/document/infra/RouteInBagSelectorComponent\";\n\nexport default {\n    name:'AddDocumentRepresentationToConversationDetailComponent',\n    components: {\n        RouteInBagSelectorComponent\n    },\n    props:{\n        stage: {\n            type: AddDocumentRepresentationToConversation,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag: {\n            type: Object,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n            show_custom_prompt: true\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n        // this.cssLink = document.createElement('link');\n        // this.cssLink.rel = 'stylesheet';\n        // this.cssLink.href = 'https://unpkg.com/json-schema-editor-vue/lib/json-schema-editor-vue.css';\n        // document.head.appendChild(this.cssLink);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        computeStage(){\n            this.$emit('compute-stage');\n        }\n    },\n    computed:{\n        \n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddDocumentRepresentationToConversationDetailComponent.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!./AddDocumentRepresentationToConversationDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddDocumentRepresentationToConversationDetailComponent.vue?vue&type=template&id=0c549bfc&scoped=true&\"\nimport script from \"./AddDocumentRepresentationToConversationDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./AddDocumentRepresentationToConversationDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AddDocumentRepresentationToConversationDetailComponent.vue?vue&type=style&index=0&id=0c549bfc&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  \"0c549bfc\",\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 { VRadio } from 'vuetify/lib/components/VRadioGroup';\nimport { VRadioGroup } from 'vuetify/lib/components/VRadioGroup';\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,VRadio,VRadioGroup,VRow,VSelect,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Endpoint URL: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.endpoint},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.endpoint),callback:function ($$v) {_vm.$set(_vm.stage, \"endpoint\", $$v)},expression:\"stage.endpoint\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Método de solicitud: \")])]),_c('v-select',{attrs:{\"items\":_vm.request_method_options,\"item-text\":\"name\",\"item-value\":\"name\"},on:{\"change\":_vm.handleMethodChange},model:{value:(_vm.stage.request_method),callback:function ($$v) {_vm.$set(_vm.stage, \"request_method\", $$v)},expression:\"stage.request_method\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Payload: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.payload_location),callback:function ($$v) {_vm.$set(_vm.stage, \"payload_location\", $$v)},expression:\"stage.payload_location\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Headers: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.headers_location),callback:function ($$v) {_vm.$set(_vm.stage, \"headers_location\", $$v)},expression:\"stage.headers_location\"}})],1)],1),_c('v-row',[_c('h3',[_vm._v(\" Guardado respuesta \")])]),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-col',[_c('v-select',{attrs:{\"items\":_vm.available_types,\"label\":\"Tipo de salida\",\"item-text\":\"name\",\"item-value\":\"uuid\",\"outlined\":\"\",\"hide-details\":\"auto\"},model:{value:(_vm.stage.entity_type_id),callback:function ($$v) {_vm.$set(_vm.stage, \"entity_type_id\", $$v)},expression:\"stage.entity_type_id\"}})],1)],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{attrs:{\"label\":\"Clave de guardado\",\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.save_as_key),callback:function ($$v) {_vm.$set(_vm.stage, \"save_as_key\", $$v)},expression:\"stage.save_as_key\"}})],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col cols=\"6\">\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Endpoint URL: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.endpoint\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.endpoint\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n            <v-col cols=\"6\">\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Método de solicitud: </label>\n                </v-card-text>\n                <v-select\n                    v-model=\"stage.request_method\"\n                    :items=\"request_method_options\"\n                    item-text=\"name\"\n                    item-value=\"name\"\n                    @change=\"handleMethodChange\"\n                >\n                </v-select>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col cols=\"6\">\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Payload: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.payload_location\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n            <v-col cols=\"6\">\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Headers: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.headers_location\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <h3> Guardado respuesta </h3>\n        </v-row>\n        <v-row>\n            <v-col cols=\"6\">\n                <v-col>\n                    <v-select\n                    v-model=\"stage.entity_type_id\"\n                    :items=\"available_types\"\n                    label=\"Tipo de salida\"\n                    item-text=\"name\" \n                    item-value=\"uuid\"\n                    outlined\n                    hide-details=\"auto\">\n                    </v-select>\n                </v-col>\n            </v-col>\n            <v-col cols=\"6\">\n                <v-text-field\n                    v-model=\"stage.save_as_key\"\n                    label=\"Clave de guardado\"\n                    outlined\n                    hide-details=\"auto\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n    </div>\n</template>\n\n<script>\nimport { SendDataToEndpoint } from '@/modules/document/domain/WorkflowTemplate';\nimport RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\nexport default {\n    name:'SendDataToEndpointDetailComponent',\n    components: {\n        RouteInBagSelectorComponent\n    },\n    props:{\n        stage: {\n            type: SendDataToEndpoint,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag: {\n            type: Object,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n            show_custom_prompt: false,\n            request_method_options: [ \n                        {name: \"GET\"}, \n                        {name: \"POST\"}\n                    ],\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n    },\n    methods:{\n        computeStage(){\n            this.$emit('compute-stage');\n        },\n        handleMethodChange(){\n            console.log(\"metodo seleccionado: \", this.method_selected)\n        }\n    },\n    computed:{\n        \n    },\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SendDataToEndpointDetailComponent.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!./SendDataToEndpointDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SendDataToEndpointDetailComponent.vue?vue&type=template&id=a3c50ca8&scoped=true&\"\nimport script from \"./SendDataToEndpointDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./SendDataToEndpointDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SendDataToEndpointDetailComponent.vue?vue&type=style&index=0&id=a3c50ca8&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  \"a3c50ca8\",\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 { VCardText } from 'vuetify/lib/components/VCard';\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, {VCardText,VCol,VRow,VSelect,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('h3',[_vm._v(\" Input \")])]),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Payload: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.input_location),callback:function ($$v) {_vm.$set(_vm.stage, \"input_location\", $$v)},expression:\"stage.input_location\"}})],1)],1),_c('v-row',[_c('h3',[_vm._v(\" Output \")])]),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({staticStyle:{\"display\":\"inline-block\",\"width\":\"100%\"}},'div',attrs,false),on),[_c('v-select',{attrs:{\"items\":_vm.available_types,\"label\":\"Tipo de salida\",\"item-text\":\"name\",\"item-value\":\"uuid\",\"outlined\":\"\",\"hide-details\":\"auto\"},model:{value:(_vm.stage.entity_type_id),callback:function ($$v) {_vm.$set(_vm.stage, \"entity_type_id\", $$v)},expression:\"stage.entity_type_id\"}})],1)]}}],null,false,848631932)},[(_vm.stage.entity_type_id)?_c('span',{staticStyle:{\"max-width\":\"350px\",\"white-space\":\"normal\",\"display\":\"block\"}},[_vm._v(\"\\n                    \"+_vm._s(_vm.available_types.find(function (t) { return t.uuid === _vm.stage.entity_type_id; }).schema)+\"\\n                  \")]):_vm._e()])],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{attrs:{\"label\":\"Clave de guardado\",\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.save_as_key),callback:function ($$v) {_vm.$set(_vm.stage, \"save_as_key\", $$v)},expression:\"stage.save_as_key\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('p',[_c('span',{staticStyle:{\"color\":\"purple\"}},[_vm._v(\"def \")]),_c('span',{staticStyle:{\"color\":\"blue\"}},[_vm._v(\"run\")]),_vm._v(\"(payload):\")])])],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"1\"}}),_c('v-col',{attrs:{\"cols\":\"11\"}},[_c('v-textarea',{attrs:{\"label\":\"Script\",\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"tab\",9,$event.key,\"Tab\")){ return null; }$event.preventDefault();return _vm.insertTab.apply(null, arguments)},\"change\":_vm.computeStage},model:{value:(_vm.stage.script),callback:function ($$v) {_vm.$set(_vm.stage, \"script\", $$v)},expression:\"stage.script\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"1\"}}),_c('v-col',{attrs:{\"cols\":\"11\"}},[_c('p',[_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"return\")]),_vm._v(\" output\")])])],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <h3> Input </h3>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Payload: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.input_location\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <h3> Output </h3>\n        </v-row>\n        <v-row>\n            <v-col cols=\"6\">\n                <v-tooltip top>\n                    <template v-slot:activator=\"{ on, attrs }\">\n                      <div v-bind=\"attrs\" v-on=\"on\" style=\"display: inline-block; width: 100%\">\n                        <v-select\n                          v-model=\"stage.entity_type_id\"\n                          :items=\"available_types\"\n                          label=\"Tipo de salida\"\n                          item-text=\"name\"\n                          item-value=\"uuid\"\n                          outlined\n                          hide-details=\"auto\"\n                        />\n                      </div>\n                    </template>\n                    <span style=\"max-width: 350px; white-space: normal; display: block;\" v-if=\"stage.entity_type_id\">\n                        {{available_types.find(t => t.uuid === stage.entity_type_id).schema}}\n                      </span>\n                </v-tooltip>\n\n                    \n            </v-col>\n            <v-col cols=\"6\">\n                <v-text-field\n                    v-model=\"stage.save_as_key\"\n                    label=\"Clave de guardado\"\n                    outlined\n                    hide-details=\"auto\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col cols=\"12\">\n                <p> <span style=\"color: purple;\">def </span> <span style=\"color: blue;\">run</span>(payload):</p>\n            </v-col>\n        </v-row>\n            \n        <v-row>\n            <v-col cols=\"1\">\n            </v-col>\n            <v-col cols=\"11\">\n                <v-textarea\n                    v-model=\"stage.script\"\n                    label=\"Script\"\n                    outlined\n                    hide-details=\"auto\"\n                    @keydown.tab.prevent=\"insertTab\"\n                    @change=\"computeStage\">\n                </v-textarea>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col cols=\"1\">\n            </v-col>\n            <v-col cols=\"11\">\n                <p><span style=\"color: red;\">return</span> output</p>\n            </v-col>\n        </v-row>\n        \n        \n    </div>\n</template>\n\n<script>\nimport { RunScript } from '@/modules/document/domain/WorkflowTemplate';\nimport RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n\nexport default {\n    name:'RunScriptDetailComponent',\n    components: {\n        RouteInBagSelectorComponent\n    },\n    props:{\n        stage: {\n            type: RunScript,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag: {\n            type: Object,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n            show_custom_prompt: false\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n    },\n    methods:{\n        computeStage(){\n            this.$emit('compute-stage');\n        },\n        insertTab(event) {\n            const textarea = event.target;\n            const start = textarea.selectionStart;\n            const end = textarea.selectionEnd;\n            \n            // Insert four spaces at the cursor position\n            this.stage.script =\n                this.stage.script.substring(0, start) + \"    \" + this.stage.script.substring(end);\n            \n            // Move the cursor after the inserted spaces\n            this.$nextTick(() => {\n                textarea.selectionStart = textarea.selectionEnd = start + 4;\n            });\n        },\n    },\n    computed:{\n        \n    },\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RunScriptDetailComponent.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!./RunScriptDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RunScriptDetailComponent.vue?vue&type=template&id=d3dc3f98&scoped=true&\"\nimport script from \"./RunScriptDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./RunScriptDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RunScriptDetailComponent.vue?vue&type=style&index=0&id=d3dc3f98&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  \"d3dc3f98\",\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 { VCardText } from 'vuetify/lib/components/VCard';\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';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VCardText,VCol,VRow,VSelect,VTextField,VTextarea,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-select',{attrs:{\"items\":_vm.modes,\"label\":\"Modo de configuración\",\"item-text\":\"text\",\"item-value\":\"value\",\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\"},on:{\"change\":_vm.changedMode},model:{value:(_vm.modo),callback:function ($$v) {_vm.modo=$$v},expression:\"modo\"}})],1)],1),_c('v-row',[(_vm.modo == 'username')?_c('v-col',[_c('v-select',{attrs:{\"items\":_vm.available_users,\"label\":\"Usuario\",\"item-text\":\"username\",\"item-value\":\"username\",\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\"},model:{value:(_vm.stage.username),callback:function ($$v) {_vm.$set(_vm.stage, \"username\", $$v)},expression:\"stage.username\"}})],1):_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Ruta al usuario: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.username_location},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.username_location),callback:function ($$v) {_vm.$set(_vm.stage, \"username_location\", $$v)},expression:\"stage.username_location\"}})],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-select\n                    v-model=\"modo\"\n                    :items=\"modes\"\n                    label=\"Modo de configuración\"\n                    item-text=\"text\"\n                    item-value=\"value\"\n                    outlined\n                    dense\n                    hide-details\n                    @change=\"changedMode\">\n                </v-select>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col v-if=\"modo == 'username'\">\n                <v-select\n                    v-model=\"stage.username\"\n                    :items=\"available_users\"\n                    label=\"Usuario\"\n                    item-text=\"username\"\n                    item-value=\"username\"\n                    outlined\n                    dense\n                    hide-details\n                ></v-select>\n            </v-col>\n            <v-col v-else>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Ruta al usuario: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.username_location\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.username_location\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        \n    </div>\n</template>\n\n<script>\nimport { WaitForApproval } from '@/modules/document/domain/WorkflowTemplate';\nimport RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\nexport default {\n    name:'WaitForApprovalDetailComponent',\n    components: {\n        RouteInBagSelectorComponent\n    },\n    props:{\n        stage: {\n            type: WaitForApproval,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag: {\n            type: Object,\n            default: () => {}\n        },\n        available_users: {\n            type: Array,\n            default: () => []\n        }\n    },\n    data(){\n        return {\n            modo: 'username',\n            modes : [\n                {value: 'username', text: 'Usuario fijo'},\n                {value: 'username_location', text: 'Obtener del contexto'},\n            ]\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n        if (this.stage.username_location) {\n            this.modo = 'username_location';\n        }\n    },\n    methods:{\n        computeStage(){\n            this.$emit('compute-stage');\n        },\n        changedMode(a){\n            console.log(a);\n            this.stage.username = ''\n            this.stage.username_location = ''\n            this.computeStage();\n        }\n    },\n    computed:{\n        \n    },\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WaitForApprovalDetailComponent.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!./WaitForApprovalDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WaitForApprovalDetailComponent.vue?vue&type=template&id=32780797&scoped=true&\"\nimport script from \"./WaitForApprovalDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./WaitForApprovalDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./WaitForApprovalDetailComponent.vue?vue&type=style&index=0&id=32780797&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  \"32780797\",\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 { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\ninstallComponents(component, {VCardText,VCol,VRow,VSelect})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-select',{attrs:{\"items\":_vm.available_types,\"label\":\"Tipo de registro a buscar\",\"item-text\":\"name\",\"item-value\":\"uuid\",\"outlined\":\"\",\"hide-details\":\"auto\"},model:{value:(_vm.stage.entity_type_id),callback:function ($$v) {_vm.$set(_vm.stage, \"entity_type_id\", $$v)},expression:\"stage.entity_type_id\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Identificador en destino: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.get_context_from_output_type,\"outlined\":\"\"},model:{value:(_vm.stage.destination_match_key),callback:function ($$v) {_vm.$set(_vm.stage, \"destination_match_key\", $$v)},expression:\"stage.destination_match_key\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Identificador en origen: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\"},model:{value:(_vm.stage.origin_match_key),callback:function ($$v) {_vm.$set(_vm.stage, \"origin_match_key\", $$v)},expression:\"stage.origin_match_key\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Clave de guardado\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.save_as_key,\"background-color\":_vm.showErrors && !_vm.stage.save_as_key ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.save_as_key),callback:function ($$v) {_vm.$set(_vm.stage, \"save_as_key\", $$v)},expression:\"stage.save_as_key\"}})],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-select\n                v-model=\"stage.entity_type_id\"\n                :items=\"available_types\"\n                label=\"Tipo de registro a buscar\"\n                item-text=\"name\" \n                item-value=\"uuid\"\n                outlined\n                hide-details=\"auto\">\n                </v-select>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Identificador en destino: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.destination_match_key\"\n                    :my_bag=\"get_context_from_output_type\"\n                    outlined></RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n                <!-- <v-text-field\n                    v-model=\"stage.origin_match_key\"\n                    label=\"Clave de origen\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.origin_match_key\"\n                    :background-color=\"showErrors && !stage.origin_match_key ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field> -->\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Identificador en origen: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.origin_match_key\"\n                    :my_bag=\"my_bag\"\n                    outlined></RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.save_as_key\"\n                    label=\"Clave de guardado\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.save_as_key\"\n                    :background-color=\"showErrors && !stage.save_as_key ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        \n    </div>\n</template>\n\n<script>\nimport { LookupAndMatchInstance } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\nimport { get_tree_from_schema } from '@/modules/entities/domain/GetTreeFromSchema';\nexport default {\n    name:'LookupAndMatchInstanceDetailComponent',\n    components: {\n        RouteInBagSelectorComponent\n    },\n    props:{\n        stage: {\n            type: LookupAndMatchInstance,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag:{\n            type: Object,\n            required: false,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n            cssLink: null,\n            selected_schema: null\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n        // this.cssLink = document.createElement('link');\n        // this.cssLink.rel = 'stylesheet';\n        // this.cssLink.href = 'https://unpkg.com/json-schema-editor-vue/lib/json-schema-editor-vue.css';\n        // document.head.appendChild(this.cssLink);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        computeStage(){\n            this.$emit('compute-stage');\n        }\n        \n    },\n    computed:{\n        get_context_from_output_type(){\n            if (this.stage.entity_type_id){\n                let e_type = this.available_types.find(e => e.uuid === this.stage.entity_type_id);\n                return get_tree_from_schema(e_type.schema);\n            }\n            else{\n                return {};\n            }\n        }\n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LookupAndMatchInstanceDetailComponent.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!./LookupAndMatchInstanceDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LookupAndMatchInstanceDetailComponent.vue?vue&type=template&id=5a27e999&scoped=true&\"\nimport script from \"./LookupAndMatchInstanceDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./LookupAndMatchInstanceDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LookupAndMatchInstanceDetailComponent.vue?vue&type=style&index=0&id=5a27e999&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  \"5a27e999\",\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 { VCardText } from 'vuetify/lib/components/VCard';\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, {VCardText,VCol,VRow,VSelect,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-select',{attrs:{\"items\":_vm.available_types,\"label\":\"Tipo de registro a buscar\",\"item-text\":\"name\",\"item-value\":\"uuid\",\"outlined\":\"\",\"hide-details\":\"auto\"},model:{value:(_vm.stage.entity_type_id),callback:function ($$v) {_vm.$set(_vm.stage, \"entity_type_id\", $$v)},expression:\"stage.entity_type_id\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Identificador en destino: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.get_context_from_output_type,\"outlined\":\"\"},model:{value:(_vm.stage.destination_match_key),callback:function ($$v) {_vm.$set(_vm.stage, \"destination_match_key\", $$v)},expression:\"stage.destination_match_key\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Identificador en origen: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\"},model:{value:(_vm.stage.origin_match_key),callback:function ($$v) {_vm.$set(_vm.stage, \"origin_match_key\", $$v)},expression:\"stage.origin_match_key\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Clave de guardado\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.save_list_key,\"background-color\":_vm.showErrors && !_vm.stage.save_list_key ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.save_list_key),callback:function ($$v) {_vm.$set(_vm.stage, \"save_list_key\", $$v)},expression:\"stage.save_list_key\"}})],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-select\n                v-model=\"stage.entity_type_id\"\n                :items=\"available_types\"\n                label=\"Tipo de registro a buscar\"\n                item-text=\"name\" \n                item-value=\"uuid\"\n                outlined\n                hide-details=\"auto\">\n                </v-select>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Identificador en destino: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.destination_match_key\"\n                    :my_bag=\"get_context_from_output_type\"\n                    outlined></RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n                <!-- <v-text-field\n                    v-model=\"stage.origin_match_key\"\n                    label=\"Clave de origen\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.origin_match_key\"\n                    :background-color=\"showErrors && !stage.origin_match_key ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field> -->\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Identificador en origen: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.origin_match_key\"\n                    :my_bag=\"my_bag\"\n                    outlined></RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.save_list_key\"\n                    label=\"Clave de guardado\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.save_list_key\"\n                    :background-color=\"showErrors && !stage.save_list_key ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        \n    </div>\n</template>\n\n<script>\nimport { LookupAndMatchMultipleInstances } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\nimport { get_tree_from_schema } from '@/modules/entities/domain/GetTreeFromSchema';\nexport default {\n    name:'LookupAndMatchMultipleInstancesDetailComponent',\n    components: {\n        RouteInBagSelectorComponent\n    },\n    props:{\n        stage: {\n            type: LookupAndMatchMultipleInstances,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag:{\n            type: Object,\n            required: false,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n            cssLink: null,\n            selected_schema: null\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n        // this.cssLink = document.createElement('link');\n        // this.cssLink.rel = 'stylesheet';\n        // this.cssLink.href = 'https://unpkg.com/json-schema-editor-vue/lib/json-schema-editor-vue.css';\n        // document.head.appendChild(this.cssLink);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        computeStage(){\n            this.$emit('compute-stage');\n        }\n        \n    },\n    computed:{\n        get_context_from_output_type(){\n            if (this.stage.entity_type_id){\n                let e_type = this.available_types.find(e => e.uuid === this.stage.entity_type_id);\n                return get_tree_from_schema(e_type.schema);\n            }\n            else{\n                return {};\n            }\n        }\n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LookupAndMatchMultipleInstancesDetailComponent.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!./LookupAndMatchMultipleInstancesDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LookupAndMatchMultipleInstancesDetailComponent.vue?vue&type=template&id=18074b72&scoped=true&\"\nimport script from \"./LookupAndMatchMultipleInstancesDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./LookupAndMatchMultipleInstancesDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LookupAndMatchMultipleInstancesDetailComponent.vue?vue&type=style&index=0&id=18074b72&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  \"18074b72\",\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 { VCardText } from 'vuetify/lib/components/VCard';\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, {VCardText,VCol,VRow,VSelect,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-select',{attrs:{\"items\":_vm.available_types,\"label\":\"Tipo de registro a extraer\",\"item-text\":\"name\",\"item-value\":\"uuid\",\"outlined\":\"\",\"hide-details\":\"auto\"},model:{value:(_vm.stage.entity_type_id),callback:function ($$v) {_vm.$set(_vm.stage, \"entity_type_id\", $$v)},expression:\"stage.entity_type_id\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Clave a extraer:\",\"hint\":\"'invoice' si viene de facturas\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.get_from_key,\"background-color\":_vm.showErrors && !_vm.stage.get_from_key ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.get_from_key),callback:function ($$v) {_vm.$set(_vm.stage, \"get_from_key\", $$v)},expression:\"stage.get_from_key\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Clave de guardado\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.save_as_key,\"background-color\":_vm.showErrors && !_vm.stage.save_as_key ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.save_as_key),callback:function ($$v) {_vm.$set(_vm.stage, \"save_as_key\", $$v)},expression:\"stage.save_as_key\"}})],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-select\n                v-model=\"stage.entity_type_id\"\n                :items=\"available_types\"\n                label=\"Tipo de registro a extraer\"\n                item-text=\"name\" \n                item-value=\"uuid\"\n                outlined\n                hide-details=\"auto\">\n                </v-select>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.get_from_key\"\n                    label=\"Clave a extraer:\"\n                    hint=\"'invoice' si viene de facturas\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.get_from_key\"\n                    :background-color=\"showErrors && !stage.get_from_key ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.save_as_key\"\n                    label=\"Clave de guardado\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.save_as_key\"\n                    :background-color=\"showErrors && !stage.save_as_key ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        \n    </div>\n</template>\n\n<script>\nimport { ExtractInstanceFromRawData } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\n// import RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n// import { get_tree_from_schema } from '@/modules/entities/domain/GetTreeFromSchema';\nexport default {\n    name:'ExtractInstanceFromRawDataDetailComponent',\n    components: {\n        // RouteInBagSelectorComponent\n    },\n    props:{\n        stage: {\n            type: ExtractInstanceFromRawData,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag:{\n            type: Object,\n            required: false,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n            cssLink: null,\n            selected_schema: null\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n        // this.cssLink = document.createElement('link');\n        // this.cssLink.rel = 'stylesheet';\n        // this.cssLink.href = 'https://unpkg.com/json-schema-editor-vue/lib/json-schema-editor-vue.css';\n        // document.head.appendChild(this.cssLink);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        computeStage(){\n            this.$emit('compute-stage');\n        }\n        \n    },\n    computed:{\n        // get_context_from_output_type(){\n        //     if (this.stage.entity_type_id){\n        //         let e_type = this.available_types.find(e => e.uuid === this.stage.entity_type_id);\n        //         return get_tree_from_schema(e_type.schema);\n        //     }\n        //     else{\n        //         return {};\n        //     }\n        // }\n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExtractInstanceFromRawDataDetailComponent.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!./ExtractInstanceFromRawDataDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ExtractInstanceFromRawDataDetailComponent.vue?vue&type=template&id=e3e294e4&scoped=true&\"\nimport script from \"./ExtractInstanceFromRawDataDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./ExtractInstanceFromRawDataDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ExtractInstanceFromRawDataDetailComponent.vue?vue&type=style&index=0&id=e3e294e4&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  \"e3e294e4\",\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 { 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, {VCol,VRow,VSelect,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-select',{attrs:{\"items\":_vm.available_types,\"label\":\"Tipo de registro a crear\",\"item-text\":\"name\",\"item-value\":\"uuid\",\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.reset_payload},model:{value:(_vm.stage.entity_type_id),callback:function ($$v) {_vm.$set(_vm.stage, \"entity_type_id\", $$v)},expression:\"stage.entity_type_id\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Clave de guardado\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.save_as_key,\"background-color\":_vm.showErrors && !_vm.stage.save_as_key ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.save_as_key),callback:function ($$v) {_vm.$set(_vm.stage, \"save_as_key\", $$v)},expression:\"stage.save_as_key\"}})],1)],1),_c('v-row',[(_vm.stage.entity_type_id)?_c('v-col',[_c('RecursivePayloadOfAdressesOnSchemaEditor',{key:_vm.stage.entity_type_id+'_noseque',attrs:{\"schema\":_vm.current_type.schema,\"key_to_show\":_vm.current_type.name,\"my_bag\":_vm.my_bag},model:{value:(_vm.stage.payload_of_addresses),callback:function ($$v) {_vm.$set(_vm.stage, \"payload_of_addresses\", $$v)},expression:\"stage.payload_of_addresses\"}})],1):_vm._e()],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-select\n                v-model=\"stage.entity_type_id\"\n                :items=\"available_types\"\n                label=\"Tipo de registro a crear\"\n                item-text=\"name\" \n                item-value=\"uuid\"\n                outlined\n                hide-details=\"auto\"\n                @change=\"reset_payload\"\n                >\n                </v-select>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.save_as_key\"\n                    label=\"Clave de guardado\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.save_as_key\"\n                    :background-color=\"showErrors && !stage.save_as_key ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col v-if=\"stage.entity_type_id\" >\n                <RecursivePayloadOfAdressesOnSchemaEditor \n                    :key=\"stage.entity_type_id+'_noseque'\"\n                    :schema=\"current_type.schema\" \n                    :key_to_show=\"current_type.name\"\n                    :my_bag=\"my_bag\"\n                    v-model=\"stage.payload_of_addresses\" />\n            </v-col>\n        </v-row>\n        \n    </div>\n</template>\n\n<script>\nimport { CreateInstanceFromContext } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RecursivePayloadOfAdressesOnSchemaEditor from '@/modules/document/infra/RecursivePayloadOfAdressesOnSchemaEditor.vue';\n// import RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n// import { get_tree_from_schema } from '@/modules/entities/domain/GetTreeFromSchema';\nexport default {\n    name:'CreateInstanceFromContextDetailComponent',\n    components: {\n        // RouteInBagSelectorComponent\n        RecursivePayloadOfAdressesOnSchemaEditor\n    },\n    props:{\n        stage: {\n            type: CreateInstanceFromContext,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag:{\n            type: Object,\n            required: false,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n            cssLink: null,\n            selected_schema: null\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n        // this.cssLink = document.createElement('link');\n        // this.cssLink.rel = 'stylesheet';\n        // this.cssLink.href = 'https://unpkg.com/json-schema-editor-vue/lib/json-schema-editor-vue.css';\n        // document.head.appendChild(this.cssLink);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        \n        computeStage(){\n            this.$emit('compute-stage');\n        },\n        reset_payload(){\n            console.log('reset');\n            this.stage.payload_of_addresses = {};\n        }\n        \n    },\n    computed:{\n        current_type(){\n            if (!this.stage.entity_type_id){\n                return {'name':'', 'schema':{}};\n            }\n            let current_type = this.available_types.find(e => e.uuid === this.stage.entity_type_id);\n            return current_type;\n        },\n        // get_context_from_output_type(){\n        //     if (this.stage.entity_type_id){\n        //         let e_type = this.available_types.find(e => e.uuid === this.stage.entity_type_id);\n        //         return get_tree_from_schema(e_type.schema);\n        //     }\n        //     else{\n        //         return {};\n        //     }\n        // }\n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateInstanceFromContextDetailComponent.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!./CreateInstanceFromContextDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CreateInstanceFromContextDetailComponent.vue?vue&type=template&id=7a0589a7&scoped=true&\"\nimport script from \"./CreateInstanceFromContextDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./CreateInstanceFromContextDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CreateInstanceFromContextDetailComponent.vue?vue&type=style&index=0&id=7a0589a7&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  \"7a0589a7\",\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 { 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, {VCol,VRow,VSelect,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Agente\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.agent,\"background-color\":_vm.showErrors && !_vm.stage.agent ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.agent),callback:function ($$v) {_vm.$set(_vm.stage, \"agent\", $$v)},expression:\"stage.agent\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Conversación\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.conversation,\"background-color\":_vm.showErrors && !_vm.stage.conversation ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.conversation),callback:function ($$v) {_vm.$set(_vm.stage, \"conversation\", $$v)},expression:\"stage.conversation\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Clave de guardado\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.save_as_key,\"background-color\":_vm.showErrors && !_vm.stage.save_as_key ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.save_as_key),callback:function ($$v) {_vm.$set(_vm.stage, \"save_as_key\", $$v)},expression:\"stage.save_as_key\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Forzar tool\",\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.force_tool),callback:function ($$v) {_vm.$set(_vm.stage, \"force_tool\", $$v)},expression:\"stage.force_tool\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Iteraciones máximas\",\"outlined\":\"\",\"type\":\"number\",\"hide-details\":\"auto\"},on:{\"input\":_vm.turnIntoNumber,\"change\":_vm.computeStage},model:{value:(_vm.stage.max_iterations),callback:function ($$v) {_vm.$set(_vm.stage, \"max_iterations\", $$v)},expression:\"stage.max_iterations\"}})],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.agent\"\n                    label=\"Agente\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.agent\"\n                    :background-color=\"showErrors && !stage.agent ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.conversation\"\n                    label=\"Conversación\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.conversation\"\n                    :background-color=\"showErrors && !stage.conversation ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.save_as_key\"\n                    label=\"Clave de guardado\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.save_as_key\"\n                    :background-color=\"showErrors && !stage.save_as_key ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.force_tool\"\n                    label=\"Forzar tool\"\n                    outlined\n                    hide-details=\"auto\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.max_iterations\"\n                    label=\"Iteraciones máximas\"\n                    outlined\n                    @input=\"turnIntoNumber\"\n                    type=\"number\"\n                    hide-details=\"auto\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n    </div>\n</template>\n\n<script>\nimport { CompleteConversation } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RecursivePayloadOfAdressesOnSchemaEditor from '@/modules/document/infra/RecursivePayloadOfAdressesOnSchemaEditor.vue';\n// import RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n// import { get_tree_from_schema } from '@/modules/entities/domain/GetTreeFromSchema';\nexport default {\n    name:'CompleteConversationDetailComponent',\n    components: {\n        // RouteInBagSelectorComponent\n        RecursivePayloadOfAdressesOnSchemaEditor\n    },\n    props:{\n        stage: {\n            type: CompleteConversation,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag:{\n            type: Object,\n            required: false,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n            cssLink: null,\n            selected_schema: null\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n        // this.cssLink = document.createElement('link');\n        // this.cssLink.rel = 'stylesheet';\n        // this.cssLink.href = 'https://unpkg.com/json-schema-editor-vue/lib/json-schema-editor-vue.css';\n        // document.head.appendChild(this.cssLink);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        \n        computeStage(){\n            this.$emit('compute-stage');\n        },\n        reset_payload(){\n            console.log('reset');\n        },\n        turnIntoNumber(value) {\n        this.stage.max_iterations = value !== '' ? Number(value) : null;\n      },\n        \n    },\n    computed:{\n        current_type(){\n            if (!this.stage.entity_type_id){\n                return {'name':'', 'schema':{}};\n            }\n            let current_type = this.available_types.find(e => e.uuid === this.stage.entity_type_id);\n            return current_type;\n        },\n        // get_context_from_output_type(){\n        //     if (this.stage.entity_type_id){\n        //         let e_type = this.available_types.find(e => e.uuid === this.stage.entity_type_id);\n        //         return get_tree_from_schema(e_type.schema);\n        //     }\n        //     else{\n        //         return {};\n        //     }\n        // }\n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CompleteConversationDetailComponent.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!./CompleteConversationDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CompleteConversationDetailComponent.vue?vue&type=template&id=251de080&scoped=true&\"\nimport script from \"./CompleteConversationDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./CompleteConversationDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CompleteConversationDetailComponent.vue?vue&type=style&index=0&id=251de080&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  \"251de080\",\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 { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VCol,VRow,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Ruta al email: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.email_location},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.email_location),callback:function ($$v) {_vm.$set(_vm.stage, \"email_location\", $$v)},expression:\"stage.email_location\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Código de plantilla\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.template_code},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.template_code),callback:function ($$v) {_vm.$set(_vm.stage, \"template_code\", $$v)},expression:\"stage.template_code\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Contexto: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.context_location),callback:function ($$v) {_vm.$set(_vm.stage, \"context_location\", $$v)},expression:\"stage.context_location\"}})],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Ruta al email: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.email_location\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.email_location\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.template_code\"\n                    label=\"Código de plantilla\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.template_code\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Contexto: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.context_location\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        \n    </div>\n</template>\n\n<script>\nimport { SendEmailWithTemplate } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n\nexport default {\n    name:'SendEmailWithTemplateDetailComponent',\n    components: {\n        RouteInBagSelectorComponent\n    },\n    props:{\n        stage: {\n            type: SendEmailWithTemplate,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        my_bag: {\n            type: Object,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        computeStage(){\n            this.$emit('compute-stage');\n        }\n    },\n    computed:{\n        \n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SendEmailWithTemplateDetailComponent.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!./SendEmailWithTemplateDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SendEmailWithTemplateDetailComponent.vue?vue&type=template&id=78ad8278&scoped=true&\"\nimport script from \"./SendEmailWithTemplateDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./SendEmailWithTemplateDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SendEmailWithTemplateDetailComponent.vue?vue&type=style&index=0&id=78ad8278&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  \"78ad8278\",\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 { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VCardText,VCol,VRow,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Nombre del comando\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.cmd_name},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.cmd_name),callback:function ($$v) {_vm.$set(_vm.stage, \"cmd_name\", $$v)},expression:\"stage.cmd_name\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Ruta al payload: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.payload_location),callback:function ($$v) {_vm.$set(_vm.stage, \"payload_location\", $$v)},expression:\"stage.payload_location\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({staticStyle:{\"display\":\"inline-block\",\"width\":\"100%\"}},'div',attrs,false),on),[_c('v-select',{attrs:{\"items\":_vm.available_types,\"label\":\"Tipo de salida\",\"item-text\":\"name\",\"item-value\":\"uuid\",\"outlined\":\"\",\"hide-details\":\"auto\"},model:{value:(_vm.stage.entity_type_id),callback:function ($$v) {_vm.$set(_vm.stage, \"entity_type_id\", $$v)},expression:\"stage.entity_type_id\"}})],1)]}}],null,false,848631932)},[(_vm.stage.entity_type_id)?_c('span',{staticStyle:{\"max-width\":\"350px\",\"white-space\":\"normal\",\"display\":\"block\"}},[_vm._v(\"\\n                    \"+_vm._s(_vm.available_types.find(function (t) { return t.uuid === _vm.stage.entity_type_id; }).schema)+\"\\n                  \")]):_vm._e()])],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Clave de guardado\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.save_as_key},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.save_as_key),callback:function ($$v) {_vm.$set(_vm.stage, \"save_as_key\", $$v)},expression:\"stage.save_as_key\"}})],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.cmd_name\"\n                    label=\"Nombre del comando\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.cmd_name\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Ruta al payload: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.payload_location\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-tooltip top>\n                    <template v-slot:activator=\"{ on, attrs }\">\n                      <div v-bind=\"attrs\" v-on=\"on\" style=\"display: inline-block; width: 100%\">\n                        <v-select\n                          v-model=\"stage.entity_type_id\"\n                          :items=\"available_types\"\n                          label=\"Tipo de salida\"\n                          item-text=\"name\"\n                          item-value=\"uuid\"\n                          outlined\n                          hide-details=\"auto\"\n                        />\n                      </div>\n                    </template>\n                    <span style=\"max-width: 350px; white-space: normal; display: block;\" v-if=\"stage.entity_type_id\">\n                        {{available_types.find(t => t.uuid === stage.entity_type_id).schema}}\n                      </span>\n                </v-tooltip>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.save_as_key\"\n                    label=\"Clave de guardado\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.save_as_key\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        \n    </div>\n</template>\n\n<script>\nimport { RunCommand } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n\nexport default {\n    name:'RunCommandDetailComponent',\n    components: {\n        RouteInBagSelectorComponent\n    },\n    props:{\n        stage: {\n            type: RunCommand,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        my_bag: {\n            type: Object,\n            default: () => {}\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        }\n    },\n    data(){\n        return {\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        computeStage(){\n            this.$emit('compute-stage');\n        }\n    },\n    computed:{\n        \n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RunCommandDetailComponent.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!./RunCommandDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RunCommandDetailComponent.vue?vue&type=template&id=ffc490de&scoped=true&\"\nimport script from \"./RunCommandDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./RunCommandDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RunCommandDetailComponent.vue?vue&type=style&index=0&id=ffc490de&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  \"ffc490de\",\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 { VCardText } from 'vuetify/lib/components/VCard';\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';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VCardText,VCol,VRow,VSelect,VTextField,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Nombre de la consulta\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.query_name},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.query_name),callback:function ($$v) {_vm.$set(_vm.stage, \"query_name\", $$v)},expression:\"stage.query_name\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Ruta al payload: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.payload_location),callback:function ($$v) {_vm.$set(_vm.stage, \"payload_location\", $$v)},expression:\"stage.payload_location\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({staticStyle:{\"display\":\"inline-block\",\"width\":\"100%\"}},'div',attrs,false),on),[_c('v-select',{attrs:{\"items\":_vm.available_types,\"label\":\"Tipo de salida\",\"item-text\":\"name\",\"item-value\":\"uuid\",\"outlined\":\"\",\"hide-details\":\"auto\"},model:{value:(_vm.stage.entity_type_id),callback:function ($$v) {_vm.$set(_vm.stage, \"entity_type_id\", $$v)},expression:\"stage.entity_type_id\"}})],1)]}}],null,false,848631932)},[(_vm.stage.entity_type_id)?_c('span',{staticStyle:{\"max-width\":\"350px\",\"white-space\":\"normal\",\"display\":\"block\"}},[_vm._v(\"\\n                    \"+_vm._s(_vm.available_types.find(function (t) { return t.uuid === _vm.stage.entity_type_id; }).schema)+\"\\n                \")]):_vm._e()])],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Clave de guardado\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.save_as_key},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.save_as_key),callback:function ($$v) {_vm.$set(_vm.stage, \"save_as_key\", $$v)},expression:\"stage.save_as_key\"}})],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.query_name\"\n                    label=\"Nombre de la consulta\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.query_name\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Ruta al payload: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.payload_location\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-tooltip top>\n                    <template v-slot:activator=\"{ on, attrs }\">\n                      <div v-bind=\"attrs\" v-on=\"on\" style=\"display: inline-block; width: 100%\">\n                        <v-select\n                          v-model=\"stage.entity_type_id\"\n                          :items=\"available_types\"\n                          label=\"Tipo de salida\"\n                          item-text=\"name\"\n                          item-value=\"uuid\"\n                          outlined\n                          hide-details=\"auto\"\n                        />\n                      </div>\n                    </template>\n                    <span style=\"max-width: 350px; white-space: normal; display: block;\" v-if=\"stage.entity_type_id\">\n                        {{available_types.find(t => t.uuid === stage.entity_type_id).schema}}\n                    </span>\n                </v-tooltip>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.save_as_key\"\n                    label=\"Clave de guardado\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.save_as_key\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        \n    </div>\n</template>\n\n<script>\nimport { RunQuery } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n\nexport default {\n    name:'RunQueryDetailComponent',\n    components: {\n        RouteInBagSelectorComponent\n    },\n    props:{\n        stage: {\n            type: RunQuery,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        my_bag: {\n            type: Object,\n            default: () => {}\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        }\n    },\n    data(){\n        return {\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        computeStage(){\n            this.$emit('compute-stage');\n            console.log(\"aaaaaaaaa\")\n        }\n    },\n    computed:{\n        \n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RunQueryDetailComponent.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!./RunQueryDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RunQueryDetailComponent.vue?vue&type=template&id=fb2c6f7a&scoped=true&\"\nimport script from \"./RunQueryDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./RunQueryDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RunQueryDetailComponent.vue?vue&type=style&index=0&id=fb2c6f7a&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  \"fb2c6f7a\",\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 { VCardText } from 'vuetify/lib/components/VCard';\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';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VCardText,VCol,VRow,VSelect,VTextField,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-select',{attrs:{\"items\":_vm.available_types,\"label\":\"Tipo de registro a crear\",\"item-text\":\"name\",\"item-value\":\"uuid\",\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.reset_payload},model:{value:(_vm.stage.entity_type_id),callback:function ($$v) {_vm.$set(_vm.stage, \"entity_type_id\", $$v)},expression:\"stage.entity_type_id\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Clave de guardado\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.save_as_key,\"background-color\":_vm.showErrors && !_vm.stage.save_as_key ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.save_as_key),callback:function ($$v) {_vm.$set(_vm.stage, \"save_as_key\", $$v)},expression:\"stage.save_as_key\"}})],1)],1),_c('v-row',[(_vm.stage.entity_type_id)?_c('v-col',[_c('RecursivePayloadOnSchemaEditorTuned',{key:_vm.stage.entity_type_id+'_noseque',attrs:{\"schema\":_vm.current_type.schema,\"key_to_show\":_vm.current_type.name,\"my_bag\":_vm.my_bag,\"available_e_types\":_vm.available_types},model:{value:(_vm.stage.payload),callback:function ($$v) {_vm.$set(_vm.stage, \"payload\", $$v)},expression:\"stage.payload\"}})],1):_vm._e()],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-select\n                v-model=\"stage.entity_type_id\"\n                :items=\"available_types\"\n                label=\"Tipo de registro a crear\"\n                item-text=\"name\" \n                item-value=\"uuid\"\n                outlined\n                hide-details=\"auto\"\n                @change=\"reset_payload\"\n                >\n                </v-select>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.save_as_key\"\n                    label=\"Clave de guardado\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.save_as_key\"\n                    :background-color=\"showErrors && !stage.save_as_key ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col v-if=\"stage.entity_type_id\" >\n                <RecursivePayloadOnSchemaEditorTuned \n                    :key=\"stage.entity_type_id+'_noseque'\"\n                    :schema=\"current_type.schema\" \n                    :key_to_show=\"current_type.name\"\n                    :my_bag=\"my_bag\"\n                    :available_e_types=\"available_types\"\n                    v-model=\"stage.payload\" />\n            </v-col>\n        </v-row>\n        \n    </div>\n</template>\n\n<script>\nimport { CreateInstance } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RecursivePayloadOnSchemaEditorTuned from '@/modules/entities/infra/RecursivePayloadOnSchemaEditorTuned.vue'\n// import RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n// import { get_tree_from_schema } from '@/modules/entities/domain/GetTreeFromSchema';\nexport default {\n    name:'CreateInstanceDetailComponent',\n    components: {\n        // RouteInBagSelectorComponent\n        RecursivePayloadOnSchemaEditorTuned\n    },\n    props:{\n        stage: {\n            type: CreateInstance,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag:{\n            type: Object,\n            required: false,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n            cssLink: null,\n            selected_schema: null\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n        // this.cssLink = document.createElement('link');\n        // this.cssLink.rel = 'stylesheet';\n        // this.cssLink.href = 'https://unpkg.com/json-schema-editor-vue/lib/json-schema-editor-vue.css';\n        // document.head.appendChild(this.cssLink);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        \n        computeStage(){\n            this.$emit('compute-stage');\n        },\n        reset_payload(){\n            console.log('reset');\n            this.stage.payload = {};\n        }\n        \n    },\n    computed:{\n        current_type(){\n            if (!this.stage.entity_type_id){\n                return {'name':'', 'schema':{}};\n            }\n            let current_type = this.available_types.find(e => e.uuid === this.stage.entity_type_id);\n            return current_type;\n        },\n        // get_context_from_output_type(){\n        //     if (this.stage.entity_type_id){\n        //         let e_type = this.available_types.find(e => e.uuid === this.stage.entity_type_id);\n        //         return get_tree_from_schema(e_type.schema);\n        //     }\n        //     else{\n        //         return {};\n        //     }\n        // }\n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateInstanceDetailComponent.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!./CreateInstanceDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CreateInstanceDetailComponent.vue?vue&type=template&id=5ef1db4f&scoped=true&\"\nimport script from \"./CreateInstanceDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./CreateInstanceDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CreateInstanceDetailComponent.vue?vue&type=style&index=0&id=5ef1db4f&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  \"5ef1db4f\",\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 { 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, {VCol,VRow,VSelect,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-select',{attrs:{\"items\":_vm.available_types,\"label\":\"Tipo de registro a añadir\",\"item-text\":\"name\",\"item-value\":\"uuid\",\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.reset_payload},model:{value:(_vm.stage.entity_type_id),callback:function ($$v) {_vm.$set(_vm.stage, \"entity_type_id\", $$v)},expression:\"stage.entity_type_id\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Clave lista\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.list_location,\"background-color\":_vm.showErrors && !_vm.stage.list_location ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.list_location),callback:function ($$v) {_vm.$set(_vm.stage, \"list_location\", $$v)},expression:\"stage.list_location\"}})],1)],1),_c('v-row',[(_vm.stage.entity_type_id && _vm.my_bag)?_c('v-col',[_c('RecursivePayloadOfAdressesOnSchemaEditor',{key:_vm.stage.entity_type_id+'_noseque',attrs:{\"schema\":_vm.current_type.schema,\"key_to_show\":_vm.current_type.name,\"my_bag\":_vm.my_bag},model:{value:(_vm.stage.payload_of_addresses),callback:function ($$v) {_vm.$set(_vm.stage, \"payload_of_addresses\", $$v)},expression:\"stage.payload_of_addresses\"}})],1):_vm._e()],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-select\n                v-model=\"stage.entity_type_id\"\n                :items=\"available_types\"\n                label=\"Tipo de registro a añadir\"\n                item-text=\"name\" \n                item-value=\"uuid\"\n                outlined\n                hide-details=\"auto\"\n                @change=\"reset_payload\"\n                >\n                </v-select>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.list_location\"\n                    label=\"Clave lista\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.list_location\"\n                    :background-color=\"showErrors && !stage.list_location ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col v-if=\"stage.entity_type_id && my_bag\" >\n                <RecursivePayloadOfAdressesOnSchemaEditor \n                    :key=\"stage.entity_type_id+'_noseque'\"\n                    :schema=\"current_type.schema\" \n                    :key_to_show=\"current_type.name\"\n                    :my_bag=\"my_bag\"\n                    v-model=\"stage.payload_of_addresses\" />\n            </v-col>\n        </v-row>\n        \n    </div>\n</template>\n\n<script>\nimport { AddInstanceToList } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RecursivePayloadOfAdressesOnSchemaEditor from '@/modules/document/infra/RecursivePayloadOfAdressesOnSchemaEditor.vue';\nimport RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n// import { get_tree_from_schema } from '@/modules/entities/domain/GetTreeFromSchema';\nexport default {\n    name:'AddInstanceToListDetailComponent',\n    components: {\n        RouteInBagSelectorComponent,\n        RecursivePayloadOfAdressesOnSchemaEditor\n    },\n    props:{\n        stage: {\n            type: AddInstanceToList,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag:{\n            type: Object,\n            required: false,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n            cssLink: null,\n            selected_schema: null\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n        // this.cssLink = document.createElement('link');\n        // this.cssLink.rel = 'stylesheet';\n        // this.cssLink.href = 'https://unpkg.com/json-schema-editor-vue/lib/json-schema-editor-vue.css';\n        // document.head.appendChild(this.cssLink);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        \n        computeStage(){\n            this.$emit('compute-stage');\n        },\n        reset_payload(){\n            console.log('reset');\n            this.stage.payload_of_addresses = {};\n        }\n        \n    },\n    computed:{\n        current_type(){\n            if (!this.stage.entity_type_id){\n                return {'name':'', 'schema':{}};\n            }\n            let current_type = this.available_types.find(e => e.uuid === this.stage.entity_type_id);\n            return current_type;\n        },\n        // get_context_from_output_type(){\n        //     if (this.stage.entity_type_id){\n        //         let e_type = this.available_types.find(e => e.uuid === this.stage.entity_type_id);\n        //         return get_tree_from_schema(e_type.schema);\n        //     }\n        //     else{\n        //         return {};\n        //     }\n        // }\n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddInstanceToListDetailComponent.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!./AddInstanceToListDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddInstanceToListDetailComponent.vue?vue&type=template&id=1459ef60&scoped=true&\"\nimport script from \"./AddInstanceToListDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./AddInstanceToListDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AddInstanceToListDetailComponent.vue?vue&type=style&index=0&id=1459ef60&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  \"1459ef60\",\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 { 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, {VCol,VRow,VSelect,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Ubicación de la lista de partida: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\"},model:{value:(_vm.stage.list_location),callback:function ($$v) {_vm.$set(_vm.stage, \"list_location\", $$v)},expression:\"stage.list_location\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-select',{attrs:{\"items\":_vm.available_types,\"label\":\"Tipo de registro a crear\",\"item-text\":\"name\",\"item-value\":\"uuid\",\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.reset_payload},model:{value:(_vm.stage.entity_type_id),callback:function ($$v) {_vm.$set(_vm.stage, \"entity_type_id\", $$v)},expression:\"stage.entity_type_id\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{attrs:{\"label\":\"Clave de guardado\",\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.save_list_key),callback:function ($$v) {_vm.$set(_vm.stage, \"save_list_key\", $$v)},expression:\"stage.save_list_key\"}})],1)],1),_c('v-row',[(_vm.stage.entity_type_id && _vm.my_element_schema)?_c('v-col',[_c('RecursivePayloadOfAdressesOnSchemaEditor',{key:_vm.stage.entity_type_id+'_noseque',attrs:{\"schema\":_vm.current_type.schema,\"key_to_show\":_vm.current_type.name,\"my_bag\":_vm.bag_with_element},model:{value:(_vm.stage.payload_of_addresses),callback:function ($$v) {_vm.$set(_vm.stage, \"payload_of_addresses\", $$v)},expression:\"stage.payload_of_addresses\"}})],1):_vm._e()],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Ubicación de la lista de partida: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.list_location\"\n                    :my_bag=\"my_bag\"\n                    outlined></RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col cols=\"6\">\n                <v-select\n                v-model=\"stage.entity_type_id\"\n                :items=\"available_types\"\n                label=\"Tipo de registro a crear\"\n                item-text=\"name\" \n                item-value=\"uuid\"\n                outlined\n                hide-details=\"auto\"\n                @change=\"reset_payload\"\n                >\n                </v-select>\n            </v-col>\n            <v-col cols=\"6\">\n                <v-text-field\n                    v-model=\"stage.save_list_key\"\n                    label=\"Clave de guardado\"\n                    outlined\n                    hide-details=\"auto\"\n                    @change=\"computeStage\"\n                ></v-text-field>\n            </v-col>\n        </v-row>\n        \n        <v-row>\n            <v-col v-if=\"stage.entity_type_id && my_element_schema\" >\n                <RecursivePayloadOfAdressesOnSchemaEditor \n                    :key=\"stage.entity_type_id+'_noseque'\"\n                    :schema=\"current_type.schema\" \n                    :key_to_show=\"current_type.name\"\n                    :my_bag=\"bag_with_element\"\n                    v-model=\"stage.payload_of_addresses\" />\n            </v-col>\n        </v-row>\n        \n    </div>\n</template>\n\n<script>\nimport { CreateInstancesFromList } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RecursivePayloadOfAdressesOnSchemaEditor from '@/modules/document/infra/RecursivePayloadOfAdressesOnSchemaEditor.vue';\nimport RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n// import { get_tree_from_schema } from '@/modules/entities/domain/GetTreeFromSchema';\nexport default {\n    name:'CreateInstancesFromListDetailComponent',\n    components: {\n        RouteInBagSelectorComponent,\n        RecursivePayloadOfAdressesOnSchemaEditor\n    },\n    props:{\n        stage: {\n            type: CreateInstancesFromList,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag:{\n            type: Object,\n            required: false,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n            cssLink: null,\n            selected_schema: null\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n        // this.cssLink = document.createElement('link');\n        // this.cssLink.rel = 'stylesheet';\n        // this.cssLink.href = 'https://unpkg.com/json-schema-editor-vue/lib/json-schema-editor-vue.css';\n        // document.head.appendChild(this.cssLink);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        \n        computeStage(){\n            this.$emit('compute-stage');\n        },\n        reset_payload(){\n            console.log('reset');\n            this.stage.payload_of_addresses = {};\n        }\n        \n    },\n    computed:{\n        current_type(){\n            if (!this.stage.entity_type_id){\n                return {'name':'', 'schema':{}};\n            }\n            let current_type = this.available_types.find(e => e.uuid === this.stage.entity_type_id);\n            return current_type;\n        },\n        my_element_schema(){\n            if (this.stage.list_location){\n                let keys = this.stage.list_location.split('.');\n                let value = this.my_bag;\n                for (let key of keys){\n                    value = value[key];\n                }\n                if (value && Array.isArray(value) && value.length > 0){\n                    return value[0];\n                }\n            }\n            return null;\n        },\n        bag_with_element(){\n            let current_bag = this.my_bag;\n            this.my_bag['element'] = this.my_element_schema;\n            return current_bag;\n        }\n        // get_context_from_output_type(){\n        //     if (this.stage.entity_type_id){\n        //         let e_type = this.available_types.find(e => e.uuid === this.stage.entity_type_id);\n        //         return get_tree_from_schema(e_type.schema);\n        //     }\n        //     else{\n        //         return {};\n        //     }\n        // }\n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateInstancesFromListDetailComponent.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!./CreateInstancesFromListDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CreateInstancesFromListDetailComponent.vue?vue&type=template&id=db12fc4c&scoped=true&\"\nimport script from \"./CreateInstancesFromListDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./CreateInstancesFromListDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CreateInstancesFromListDetailComponent.vue?vue&type=style&index=0&id=db12fc4c&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  \"db12fc4c\",\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 { VCardText } from 'vuetify/lib/components/VCard';\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, {VCardText,VCol,VRow,VSelect,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Ubicación a modificar: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.instances_only_bag,\"allow_hardcoding\":false,\"outlined\":\"\"},model:{value:(_vm.stage.location_to_modify),callback:function ($$v) {_vm.$set(_vm.stage, \"location_to_modify\", $$v)},expression:\"stage.location_to_modify\"}})],1),_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Nuevo valor: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\"},model:{value:(_vm.stage.new_value_location),callback:function ($$v) {_vm.$set(_vm.stage, \"new_value_location\", $$v)},expression:\"stage.new_value_location\"}})],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Ubicación a modificar: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.location_to_modify\"\n                    :my_bag=\"instances_only_bag\"\n                    :allow_hardcoding=\"false\"\n                    outlined></RouteInBagSelectorComponent>\n            </v-col>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Nuevo valor: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.new_value_location\"\n                    :my_bag=\"my_bag\"\n                    outlined></RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n    </div>\n</template>\n\n<script>\n\nimport { ModifyContext } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n// import { get_tree_from_schema } from '@/modules/entities/domain/GetTreeFromSchema';\nexport default {\n    name:'ModifyContextDetailComponent',\n    components: {\n        RouteInBagSelectorComponent,\n    },\n    props:{\n        stage: {\n            type: ModifyContext,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag:{\n            type: Object,\n            required: false,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n            cssLink: null,\n            selected_schema: null\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n        // this.cssLink = document.createElement('link');\n        // this.cssLink.rel = 'stylesheet';\n        // this.cssLink.href = 'https://unpkg.com/json-schema-editor-vue/lib/json-schema-editor-vue.css';\n        // document.head.appendChild(this.cssLink);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        \n        computeStage(){\n            this.$emit('compute-stage');\n        },\n        reset_payload(){\n            console.log('reset');\n            this.stage.payload_of_addresses = {};\n        }\n        \n    },\n    computed:{\n        instances_only_bag(){\n            let new_bag = {};\n            for (let key in this.my_bag){\n                if (!['documento', 'empresa'].includes(key)){\n                    new_bag[key] = this.my_bag[key];\n                }\n            }\n            return new_bag;\n        },\n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ModifyContextDetailComponent.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!./ModifyContextDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ModifyContextDetailComponent.vue?vue&type=template&id=219ea722&scoped=true&\"\nimport script from \"./ModifyContextDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./ModifyContextDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ModifyContextDetailComponent.vue?vue&type=style&index=0&id=219ea722&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  \"219ea722\",\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 { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCardText,VCol,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Ruta al email: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.email_location},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.email_location),callback:function ($$v) {_vm.$set(_vm.stage, \"email_location\", $$v)},expression:\"stage.email_location\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Asunto\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.subject,\"background-color\":_vm.showErrors && !_vm.stage.subject ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.subject),callback:function ($$v) {_vm.$set(_vm.stage, \"subject\", $$v)},expression:\"stage.subject\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-textarea',{staticClass:\"small_scrollbar\",attrs:{\"label\":\"Cuerpo\",\"outlined\":\"\",\"rows\":\"5\",\"hide-details\":\"auto\",\"error\":false,\"background-color\":_vm.showErrors && false ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.body),callback:function ($$v) {_vm.$set(_vm.stage, \"body\", $$v)},expression:\"stage.body\"}})],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Ruta al email: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.email_location\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.email_location\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.subject\"\n                    label=\"Asunto\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.subject\"\n                    :background-color=\"showErrors && !stage.subject ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <!-- can be empty -->\n                <v-textarea\n                    v-model=\"stage.body\"\n                    label=\"Cuerpo\"\n                    outlined\n                    rows=\"5\"\n                    hide-details=\"auto\"\n                    class=\"small_scrollbar\"\n                    :error=\"false\"\n                    :background-color=\"showErrors && false ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-textarea>\n            </v-col>\n        </v-row>\n        \n    </div>\n</template>\n\n<script>\nimport { SendThroughEmail } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n\nexport default {\n    name:'SendThroughEmailDetailComponent',\n    components: {\n        RouteInBagSelectorComponent\n    },\n    props:{\n        stage: {\n            type: SendThroughEmail,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        my_bag: {\n            type: Object,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        computeStage(){\n            this.$emit('compute-stage');\n        }\n    },\n    computed:{\n        \n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SendThroughEmailDetailComponent.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!./SendThroughEmailDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SendThroughEmailDetailComponent.vue?vue&type=template&id=1639149a&scoped=true&\"\nimport script from \"./SendThroughEmailDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./SendThroughEmailDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SendThroughEmailDetailComponent.vue?vue&type=style&index=0&id=1639149a&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  \"1639149a\",\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 { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VCardText,VCol,VRow,VTextField,VTextarea})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.stage)?_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Fecha: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.accounting_date},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.accounting_date),callback:function ($$v) {_vm.$set(_vm.stage, \"accounting_date\", $$v)},expression:\"stage.accounting_date\"}})],1),_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Identificador externo empleado: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.worker_id},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.worker_id),callback:function ($$v) {_vm.$set(_vm.stage, \"worker_id\", $$v)},expression:\"stage.worker_id\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Descripción\",\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.description,\"background-color\":_vm.showErrors && !_vm.stage.description ? '#DC0B0B1A' : 'white'},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.description),callback:function ($$v) {_vm.$set(_vm.stage, \"description\", $$v)},expression:\"stage.description\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Salario bruto: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.salary},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.salary),callback:function ($$v) {_vm.$set(_vm.stage, \"salary\", $$v)},expression:\"stage.salary\"}})],1),_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Cuenta salario bruto: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.salary_account},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.salary_account),callback:function ($$v) {_vm.$set(_vm.stage, \"salary_account\", $$v)},expression:\"stage.salary_account\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Cuenta deudas seguridad social: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.total_social_security_account},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.total_social_security_account),callback:function ($$v) {_vm.$set(_vm.stage, \"total_social_security_account\", $$v)},expression:\"stage.total_social_security_account\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Cuenta gastos seguridad social: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.social_security_expense_account},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.social_security_expense_account),callback:function ($$v) {_vm.$set(_vm.stage, \"social_security_expense_account\", $$v)},expression:\"stage.social_security_expense_account\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" IRPF: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.irpf},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.irpf),callback:function ($$v) {_vm.$set(_vm.stage, \"irpf\", $$v)},expression:\"stage.irpf\"}})],1),_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Cuenta IRPF: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.irpf_account},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.irpf_account),callback:function ($$v) {_vm.$set(_vm.stage, \"irpf_account\", $$v)},expression:\"stage.irpf_account\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Cotizacion SS trabajador por paro: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.cotizacion_paro},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.cotizacion_paro),callback:function ($$v) {_vm.$set(_vm.stage, \"cotizacion_paro\", $$v)},expression:\"stage.cotizacion_paro\"}})],1),_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Cotizacion SS trabajador por formacion: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.cotizacion_formacion},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.cotizacion_formacion),callback:function ($$v) {_vm.$set(_vm.stage, \"cotizacion_formacion\", $$v)},expression:\"stage.cotizacion_formacion\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Cotizacion SS trabajador por contingencias comunes: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.cotizacion_contingencias},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.cotizacion_contingencias),callback:function ($$v) {_vm.$set(_vm.stage, \"cotizacion_contingencias\", $$v)},expression:\"stage.cotizacion_contingencias\"}})],1),_c('v-col',[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Recuperación líquido: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.recuperacion_liquido},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.recuperacion_liquido),callback:function ($$v) {_vm.$set(_vm.stage, \"recuperacion_liquido\", $$v)},expression:\"stage.recuperacion_liquido\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" P.P. Extra: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.pp_extra},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.pp_extra),callback:function ($$v) {_vm.$set(_vm.stage, \"pp_extra\", $$v)},expression:\"stage.pp_extra\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-card-text',{staticClass:\"ml-0 pa-0 ma-0\"},[_c('label',[_vm._v(\" Total a pagar: \")])]),_c('RouteInBagSelectorComponent',{attrs:{\"my_bag\":_vm.my_bag,\"outlined\":\"\",\"hide-details\":\"auto\",\"error\":_vm.showErrors && !_vm.stage.total_to_pay},on:{\"change\":_vm.computeStage},model:{value:(_vm.stage.total_to_pay),callback:function ($$v) {_vm.$set(_vm.stage, \"total_to_pay\", $$v)},expression:\"stage.total_to_pay\"}})],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div v-if=\"stage\" class=\"px-4\">\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Fecha: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.accounting_date\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.accounting_date\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Identificador externo empleado: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.worker_id\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.worker_id\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-text-field\n                    v-model=\"stage.description\"\n                    label=\"Descripción\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.description\"\n                    :background-color=\"showErrors && !stage.description ? '#DC0B0B1A' : 'white'\"\n                    @change=\"computeStage\">\n                </v-text-field>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Salario bruto: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.salary\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.salary\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Cuenta salario bruto: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.salary_account\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.salary_account\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <!-- <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Total seguridad social: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.total_social_security\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.total_social_security\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col> -->\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Cuenta deudas seguridad social: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.total_social_security_account\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.total_social_security_account\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <!-- <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Total gastos SS empresa: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.social_security_expense\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.social_security_expense\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col> -->\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Cuenta gastos seguridad social: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.social_security_expense_account\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.social_security_expense_account\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> IRPF: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.irpf\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.irpf\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Cuenta IRPF: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.irpf_account\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.irpf_account\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Cotizacion SS trabajador por paro: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.cotizacion_paro\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.cotizacion_paro\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n            <v-col>\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Cotizacion SS trabajador por formacion: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.cotizacion_formacion\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.cotizacion_formacion\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n            \n        </v-row>\n        <v-row>\n            <v-col >\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Cotizacion SS trabajador por contingencias comunes: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.cotizacion_contingencias\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.cotizacion_contingencias\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n            <v-col >\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Recuperación líquido: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.recuperacion_liquido\"    \n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.recuperacion_liquido\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col cols=\"6\">\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> P.P. Extra: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.pp_extra\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.pp_extra\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col cols=\"6\">\n                <v-card-text class=\"ml-0 pa-0 ma-0\">\n                    <label> Total a pagar: </label>\n                </v-card-text>\n                <RouteInBagSelectorComponent\n                    v-model=\"stage.total_to_pay\"\n                    :my_bag=\"my_bag\"\n                    outlined\n                    hide-details=\"auto\"\n                    :error=\"showErrors && !stage.total_to_pay\"\n                    @change=\"computeStage\">\n                </RouteInBagSelectorComponent>\n            </v-col>\n        </v-row>\n        \n    </div>\n</template>\n\n<script>\nimport { PayrollAccounting } from '@/modules/document/domain/WorkflowTemplate';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\nimport RouteInBagSelectorComponent from '@/modules/document/infra/RouteInBagSelectorComponent';\n\nexport default {\n    name:'PayrollAccountingDetailComponent',\n    components: {\n        RouteInBagSelectorComponent\n    },\n    props:{\n        stage: {\n            type: PayrollAccounting,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        my_bag: {\n            type: Object,\n            default: () => {}\n        }\n    },\n    data(){\n        return {\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        computeStage(){\n            this.$emit('compute-stage');\n        }\n    },\n    computed:{\n        \n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PayrollAccountingDetailComponent.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!./PayrollAccountingDetailComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PayrollAccountingDetailComponent.vue?vue&type=template&id=01bcd2de&scoped=true&\"\nimport script from \"./PayrollAccountingDetailComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./PayrollAccountingDetailComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PayrollAccountingDetailComponent.vue?vue&type=style&index=0&id=01bcd2de&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  \"01bcd2de\",\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 { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VCardText,VCol,VRow,VTextField})\n","<template>\n    <v-card class=\"preaty__card pb-6\" :style=\"showErrors && !stage.validate()? 'border: 2px solid rgba(220, 11, 11, 0.898)': 'border: 1px solid #060647;'\">\n        <v-row class=\"pa-0 ma-0\" v-if=\"stage\">\n\n            <v-col cols=\"9\" class=\"px-4\">\n                <h3 class=\"text-h6\">{{formatField(stage.name)}}</h3>\n            </v-col>\n            <v-col cols=\"2\" class=\"px-4 text-right\">\n                Coste: <strong>{{stage.price}} créditos</strong>\n            </v-col>\n            <v-col cols=\"1\" class=\"text-right py-1 pr-1\">\n                \n                <v-btn icon @click=\"$emit('close-detail')\">\n                    <v-icon>mdi-close</v-icon>\n                    </v-btn>\n            </v-col>\n        </v-row>\n        <div v-if=\"stage && stage.name == 'AskAI'\" class=\"px-4\">\n            <AskAIDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" :available_types=\"available_types\" @compute-stage=\"computeStage\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'AddDocumentRepresentationToConversation'\" class=\"px-4\">\n            <AddDocumentRepresentationToConversationDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'LookupAndMatchInstance'\" class=\"px-4\">\n            <LookupAndMatchInstanceDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" :available_types=\"available_types\" @compute-stage=\"computeStage\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'LookupAndMatchMultipleInstances'\" class=\"px-4\">\n            <LookupAndMatchMultipleInstancesDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" :available_types=\"available_types\" @compute-stage=\"computeStage\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'ExtractInstanceFromRawData'\" class=\"px-4\">\n            <ExtractInstanceFromRawDataDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :available_types=\"available_types\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'CreateInstanceFromContext'\" class=\"px-4\">\n            <CreateInstanceFromContextDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :available_types=\"available_types\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'CompleteConversation'\" class=\"px-4\">\n            <CompleteConversationDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'SendEmailWithTemplate'\" class=\"px-4\">\n            <SendEmailWithTemplateDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :available_types=\"available_types\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'RunCommand'\" class=\"px-4\">\n            <RunCommandDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :available_types=\"available_types\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'RunQuery'\" class=\"px-4\">\n            <RunQueryDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :available_types=\"available_types\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'AddInstanceToList'\" class=\"px-4\">\n            <AddInstanceToListDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :available_types=\"available_types\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'CreateInstance'\" class=\"px-4\">\n            <CreateInstanceDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :available_types=\"available_types\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'CreateInstancesFromList'\" class=\"px-4\">\n            <CreateInstancesFromListDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :available_types=\"available_types\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'ModifyContext'\" class=\"px-4\">\n            <ModifyContextDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'SendThroughEmail'\" class=\"px-4\">\n            <SendThroughEmailDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'PayrollAccounting'\" class=\"px-4\">\n            <PayrollAccountingDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :my_bag=\"my_bag\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'SendDataToEndpoint'\" class=\"px-4\">\n            <SendDataToEndpointDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :my_bag=\"my_bag\" :available_types=\"available_types\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'WaitForApproval'\" class=\"px-4\">\n            <WaitForApprovalDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :my_bag=\"my_bag\" :available_users=\"available_users\"/>\n        </div>\n        <div v-if=\"stage && stage.name == 'RunScript'\" class=\"px-4\">\n            <RunScriptDetailComponent :stage=\"stage\" :showErrors=\"showErrors\" @compute-stage=\"computeStage\" :my_bag=\"my_bag\" :available_types=\"available_types\"/>\n        </div>\n    </v-card>\n</template>\n\n<script>\nimport { Stage } from '@/modules/document/domain/WorkflowTemplate';\nimport AskAIDetailComponent from '@/modules/document/infra/detail_components/AskAIDetailComponent';\nimport AddDocumentRepresentationToConversationDetailComponent from '@/modules/document/infra/detail_components/AddDocumentRepresentationToConversationDetailComponent';\nimport SendDataToEndpointDetailComponent from '@/modules/document/infra/detail_components/SendDataToEndpointDetailComponent';\nimport RunScriptDetailComponent from '@/modules/document/infra/detail_components/RunScriptDetailComponent';\nimport WaitForApprovalDetailComponent from '@/modules/document/infra/detail_components/WaitForApprovalDetailComponent';\nimport LookupAndMatchInstanceDetailComponent from '@/modules/document/infra/detail_components/LookupAndMatchInstanceDetailComponent';\nimport LookupAndMatchMultipleInstancesDetailComponent from '@/modules/document/infra/detail_components/LookupAndMatchMultipleInstancesDetailComponent';\nimport ExtractInstanceFromRawDataDetailComponent from '@/modules/document/infra/detail_components/ExtractInstanceFromRawDataDetailComponent';\nimport CreateInstanceFromContextDetailComponent from '@/modules/document/infra/detail_components/CreateInstanceFromContextDetailComponent';\nimport CompleteConversationDetailComponent from '@/modules/document/infra/detail_components/CompleteConversationDetailComponent';\nimport SendEmailWithTemplateDetailComponent from '@/modules/document/infra/detail_components/SendEmailWithTemplateDetailComponent';\nimport RunCommandDetailComponent from '@/modules/document/infra/detail_components/RunCommandDetailComponent';\nimport RunQueryDetailComponent from '@/modules/document/infra/detail_components/RunQueryDetailComponent';\nimport CreateInstanceDetailComponent from '@/modules/document/infra/detail_components/CreateInstanceDetailComponent';\nimport AddInstanceToListDetailComponent from '@/modules/document/infra/detail_components/AddInstanceToListDetailComponent';\nimport CreateInstancesFromListDetailComponent from '@/modules/document/infra/detail_components/CreateInstancesFromListDetailComponent';\nimport ModifyContextDetailComponent from '@/modules/document/infra/detail_components/ModifyContextDetailComponent';\nimport SendThroughEmailDetailComponent from '@/modules/document/infra/detail_components/SendThroughEmailDetailComponent';\nimport PayrollAccountingDetailComponent from '@/modules/document/infra/detail_components/PayrollAccountingDetailComponent';\nimport { DOCS_FIELD_MAP_SHOW } from \"@/modules/document/domain/Document\";\n\nexport default {\n    \n    name:'WorkflowTemplateStageDetail',\n    components: {\n        AskAIDetailComponent,\n        AddDocumentRepresentationToConversationDetailComponent,\n        LookupAndMatchInstanceDetailComponent,\n        LookupAndMatchMultipleInstancesDetailComponent,\n        ExtractInstanceFromRawDataDetailComponent,\n        CreateInstanceFromContextDetailComponent,\n        AddInstanceToListDetailComponent,\n        CompleteConversationDetailComponent,\n        SendEmailWithTemplateDetailComponent,\n        RunCommandDetailComponent,\n        RunQueryDetailComponent,\n        CreateInstanceDetailComponent,\n        CreateInstancesFromListDetailComponent,\n        ModifyContextDetailComponent,\n        SendThroughEmailDetailComponent,\n        PayrollAccountingDetailComponent,\n        SendDataToEndpointDetailComponent,\n        WaitForApprovalDetailComponent,\n        RunScriptDetailComponent\n    },\n    props:{\n        stage: {\n            type: Stage,\n            default: false,\n        },\n        showErrors: {\n            type: Boolean,\n            default: false\n        },\n        available_types: {\n            type: Array,\n            default: () => []\n        },\n        my_bag: {\n            type: Object,\n            default: () => {}\n        },\n        available_users: {\n            type: Array,\n            default: () => []\n        }\n    },\n    data(){\n        return {\n            cssLink: null,\n            selected_schema: null\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n        // this.cssLink = document.createElement('link');\n        // this.cssLink.rel = 'stylesheet';\n        // this.cssLink.href = 'https://unpkg.com/json-schema-editor-vue/lib/json-schema-editor-vue.css';\n        // document.head.appendChild(this.cssLink);\n    },\n    methods:{\n        formatField(field) {\n            return DOCS_FIELD_MAP_SHOW[field] || field;\n        },\n        computeStage(){\n            this.$emit('compute-stage');\n        }\n    },\n    computed:{\n        \n    },\n    beforeDestroy() {\n        // Remove the stylesheet when the component is destroyed\n        // if (this.cssLink && document.head.contains(this.cssLink)) {\n        // document.head.removeChild(this.cssLink);\n        // }\n    }\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkflowTemplateStageDetail.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!./WorkflowTemplateStageDetail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WorkflowTemplateStageDetail.vue?vue&type=template&id=55748b30&scoped=true&\"\nimport script from \"./WorkflowTemplateStageDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./WorkflowTemplateStageDetail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./WorkflowTemplateStageDetail.vue?vue&type=style&index=0&id=55748b30&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  \"55748b30\",\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 { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCard,VCol,VIcon,VRow})\n","<template>\n    <v-container fluid class=\"container-full-bg-gray\">\n        <v-snackbar\n            v-if=\"screen_data\"\n            v-model=\"screen_data.snackbar.isVisible\"\n            :color=\"screen_data.snackbar.color\"\n            :timeout=\"screen_data.snackbar.timeout\"\n        >\n            {{ screen_data.snackbar.text }}\n        </v-snackbar>\n        <v-dialog v-if=\"label_dialog && screen_data.selectedStage\" v-model=\"label_dialog\" max-width=\"400px\">\n            <v-card>\n                <app-row>\n                    <app-col cols=\"12\">\n                        <v-card-title class=\"card__headline\">\n                            <span>Etiqueta identificativa</span>\n                        </v-card-title>\n                        <v-divider></v-divider>\n                        <v-card-text>\n                            <v-text-field\n                                v-model=\"screen_data.selectedStage.label\"\n                                label=\"Etiqueta\"\n                                outlined\n                                hide-details\n                            ></v-text-field>\n                        </v-card-text>\n                        <v-card-text>\n                            <v-text-field\n                                v-model=\"screen_data.selectedStage.nickname\"\n                                label=\"Nombre de la etapa\"\n                                outlined\n                                hide-details\n                            ></v-text-field>\n                        </v-card-text>\n                        <v-card-actions class=\"acction_btns\">\n                            <v-spacer></v-spacer>\n                            <v-btn \n                                color=\"#060647\"\n                                class=\"white--text action__btn\"\n                                @click=\"label_dialog = false\"\n                            >\n                            Salir\n                            </v-btn>\n                        </v-card-actions>\n                    </app-col>\n                </app-row>\n            </v-card>\n        </v-dialog>\n        <v-dialog v-if=\"condition_script_dialog && screen_data.selectedStage\" v-model=\"condition_script_dialog\" max-width=\"900px\">\n            <v-card>\n                <app-row>\n                    <app-col cols=\"6\">\n                        <v-card-title class=\"card__headline\">\n                            <span>Script de condición</span>\n                        </v-card-title>\n                        <v-divider></v-divider>\n                        <v-card-text>\n                            <WackScriptEditor\n                                v-model=\"screen_data.selectedStage.condition_script\"\n                            ></WackScriptEditor>\n                        </v-card-text>\n                        <v-card-text>\n                            <i> \n                                Devuelve True para ejecutar, False para saltar.\n                            </i>\n                        </v-card-text>\n                    </app-col>\n                    <app-col cols=\"6\">\n                        <v-card-title class=\"card__headline\">\n                            <span>Script de salto</span>\n                        </v-card-title>\n                        <v-divider></v-divider>\n                        <v-card-text>\n                            <WackScriptEditor\n                                v-model=\"screen_data.selectedStage.jump_script\"\n                            ></WackScriptEditor>\n                        </v-card-text>\n                        <v-card-text>\n                            <i> \n                                Devuelve la etiqueta de la etapa a la que saltar al finalizar la etapa (Si no existe tal etiqueta se ejecuta la siguiente etapa).\n                            </i>\n                        </v-card-text>\n                        <v-card-actions class=\"acction_btns\">\n                            <v-spacer></v-spacer>\n                            <v-btn \n                                color=\"#060647\"\n                                class=\"white--text action__btn\"\n                                @click=\"condition_script_dialog = false\"\n                            >\n                            Salir\n                            </v-btn>\n                        </v-card-actions>\n                    </app-col>\n                </app-row>\n                \n            </v-card>\n        </v-dialog>\n        <v-card class=\"ma-4\" v-if=\"screen_data && screen_data.workflow\">\n            <!-- Cabecera -->\n            <v-row class=\"pa-0 mx-2\">\n                <v-col cols=\"9\">\n                    <div class=\"mr-auto d-flex align-sm-center\">\n                        <v-btn icon @click=\"backToList\">\n                            <img src=\"../assets/back-arrow.svg\"/>\n                        </v-btn>\n                        <h3 class=\"primary_blue--text ml-2\">Editor de workflows</h3>\n                    </div>\n                </v-col>\n                <template v-if=\"screen_data && screen_data.workflow\">\n                    <v-col cols=\"3\" class=\"text-right\">\n                        <v-tooltip bottom>\n                            <template v-slot:activator=\"{ on, attrs }\">\n                                <v-btn \n                                    class=\"ml-1\"\n                                    icon\n                                    v-bind=\"attrs\"\n                                    v-on=\"on\"\n                                    :loading=\"screen_data.loadingSave\"\n                                    @click=\"save()\"\n                                >\n                                    <img src=\"../assets/save_invoice.svg\"/>\n                                </v-btn>\n                            </template>\n                            <span>Guardar</span>\n                        </v-tooltip>\n                    </v-col>\n                </template>\n                <template v-else>\n                    <v-progress-circular\n                        indeterminate\n                        class=\"mr-2\"\n                        color=\"primary\"\n                    ></v-progress-circular>\n                </template>\n            </v-row>\n            <v-divider />\n            <v-card class=\"py-2 pa-4\">\n                <v-row>\n                    <v-col cols=\"4\">\n                        <v-text-field\n                            v-model=\"screen_data.workflow.name\"\n                            label=\"Nombre del workflow\"\n                            outlined\n                            hide-details\n                        ></v-text-field>\n                    </v-col>\n                    <v-col cols=\"4\">\n                        <v-select\n                            v-model=\"screen_data.workflow_input\"\n                            :items=\"[{'name':'Documento','value':'document'}, {'name':'Parámetros', 'value':'params'}]\"\n                            item-text=\"name\"\n                            item-value=\"value\"\n                            @change=\"screen_data.workflow.trigger_entity_type_uuid = null\"\n                            outlined\n                            hide-details\n                            label=\"Tipo de entrada\"\n                        ></v-select>\n                    </v-col>\n                    <v-col cols=\"4\" v-if=\"screen_data.workflow_input == 'document'\">\n                        <v-select\n                            v-model=\"screen_data.workflow.default_doc_types\"\n                            :items=\"screen_data.availableTypes\"\n                            outlined\n                            multiple\n                            hide-details\n                            label=\"Aplicar este workflow por defecto a los siguientes tipos de documento\"\n                        ></v-select>\n                    </v-col>\n                    <v-col cols=\"4\" v-else-if=\"screen_data.workflow_input == 'params'\">\n                        <v-select\n                            v-model=\"screen_data.workflow.trigger_entity_type_uuid\"\n                            :items=\"screen_data.availableEntityTypes.filter(et => et.kind=='params')\"\n                            outlined\n                            item-text=\"name\"\n                            item-value=\"uuid\"\n                            hide-details\n                            label=\"Esquema de parámetros\"\n                        ></v-select>\n                    </v-col>\n                </v-row>\n                <div>\n                    <v-row>\n                        <v-col>\n                            <div class=\"workflow__cards\" v-if=\"screen_data.workflow.stages.length\"> \n                                <draggable \n                                    v-model=\"screen_data.workflow.stages\"\n                                    item-key=\"id\"\n                                    handle=\".drag-handle\"\n                                    @end=\"onDragEnd\"\n                                    class=\"horizontal-drag-container\"\n                                >\n                                    \n                                    <WorkflowTemplateStageCard \n                                    v-for=\"(stage, index) in screen_data.workflow.stages\"\n                                    :key=\"stage.id\"\n                                    :last=\"index == screen_data.workflow.stages.length-1\"\n                                    :stage=\"stage\"\n                                    :available_types=\"screen_data.availableEntityTypes\"\n                                    @remove-stage=\"removeStage(stage)\"\n                                    @add-stage=\"screen_data.addStageDialog = true\"\n                                    @show-detail=\"showDetail(stage, index)\"\n                                    :showErrors=\"screen_data.showErrors\"\n                                    >\n                                    <template #custom-content style=\"z-index:99\">\n                                        <span class=\"pt-2 pr-1\" >\n                                            <v-btn icon @click=\"labelDialog(stage,index)\">\n                                                <v-icon\n                                                :color=\"stage.label?'primary':''\"\n                                                >mdi-tag</v-icon>\n                                            </v-btn>\n                                        </span>\n                                        <span class=\"pt-2 pr-1\" >\n                                            <v-btn icon @click=\"scriptDialog(stage,index)\">\n                                                <h1 v-if=\"!stage.has_some_script()\">{}</h1>\n                                                <h1 v-else style=\"color:#663399\">{*}</h1>\n                                            </v-btn>\n                                        </span>\n                                        <span class=\"drag-handle\"><h1>☰</h1></span>\n                                    </template>\n                                    \n                                    \n                                    </WorkflowTemplateStageCard>\n                              </draggable>\n                            </div>\n                            <!-- <WorkflowTemplateStageCard \n                                    v-for=\"(stage, index) in screen_data.workflow.stages\"\n                                    v-bind:key=\"index\"\n                                    :index=\"index == screen_data.workflow.stages.length-1\"\n                                    :stage=\"stage\"\n                                    :available_types=\"screen_data.availableEntityTypes\"\n                                    @remove-stage=\"workflow_template_component.removeStage(stage)\"\n                                    @add-stage=\"screen_data.addStageDialog = true\"\n                                    @show-detail=\"showDetail(stage, index)\"\n                                    :showErrors=\"screen_data.showErrors\"\n                                    >\n                                </WorkflowTemplateStageCard> -->\n                            <v-btn \n                                v-if=\"screen_data.workflow.stages.length == 0\"\n                                icon \n                                class=\"ml-1\" \n                                color=\"primary_blue\" \n                                @click=\"screen_data.addStageDialog = true\">\n                                <v-icon class=\"material-symbols-outlined\">add</v-icon>\n                            </v-btn>\n                        </v-col>\n                    </v-row>\n                    <v-row>  \n                        <v-col v-if=\"screen_data.showStageDetails\">\n                            <WorkflowTemplateStageDetail \n                            :stage=\"screen_data.selectedStage\"\n                            :available_types=\"screen_data.availableEntityTypes\"\n                            :available_users=\"screen_data.availableUsers\"\n                            @close-detail=\"hideDetail()\"\n                            :showErrors=\"screen_data.showErrors\"\n                            @compute-stage=\"computeActualStage(screen_data.selectedStage)\"\n                            :my_bag=\"screen_data.myCurrentBagOfInstances\"\n                            :key=\"screen_data.selectedStageIndex.toString()+screen_data.selectedStage.name\">\n                            </WorkflowTemplateStageDetail>\n                        </v-col>\n                    </v-row>\n                </div>\n            </v-card>\n            \n\n        </v-card>\n\n        <v-dialog persistent v-if=\"screen_data\" v-model=\"screen_data.addStageDialog\" max-width=\"500px\">\n            <v-card>\n                <v-card-title class=\"card__headline\">\n                    <span>Añadir nueva etapa</span>\n                </v-card-title>\n                <v-divider></v-divider>\n                <v-card-text>\n                    <v-select\n                        v-model=\"screen_data.newStageName\"\n                        :items=\"screen_data.availableStages\"\n                        label=\"Tipo de etapa\"\n                        item-text=\"name\"\n                        item-value=\"value\"\n                        outlined\n                        dense\n                        hide-details\n                        class=\"my-4\"\n                    ></v-select>\n                    <!-- <v-select\n                        v-if=\"screen_data.newStageName == 'WaitForApproval'\"\n                        v-model=\"screen_data.newStageUser\"\n                        :items=\"screen_data.availableUsers\"\n                        label=\"Usuario\"\n                        item-text=\"username\"\n                        item-value=\"username\"\n                        outlined\n                        dense\n                        hide-details\n                    ></v-select> -->\n                    <!-- <div v-if=\"screen_data.newStageName == 'AskAI'\">\n                        <v-text-field\n                            v-model=\"screen_data.newStageKey\"\n                            label=\"Nombre del esquema\"\n                            outlined\n                            dense\n                            hide-details\n                        ></v-text-field>\n                        <v-radio-group v-model=\"screen_data.indicateTableKey\">\n                            <v-radio label=\"Indicar clave de tabla\" value=\"true\"></v-radio>\n                            <v-radio label=\"No indicar clave de tabla\" value=\"false\"></v-radio>\n                        </v-radio-group>\n                        <v-text-field\n                            v-if=\"screen_data.indicateTableKey == 'true'\"\n                            v-model=\"screen_data.newStageTableKey\"\n                            label=\"Clave de tabla\"\n                            outlined\n                            dense\n                            hide-details\n                        ></v-text-field>\n                        <div class=\"d-flex justify-space-between\">\n                            <v-checkbox\n                                v-model=\"screen_data.newReason\"\n                                label=\"Reason\"\n                            ></v-checkbox>\n                            <v-checkbox\n                                v-model=\"screen_data.newClassicRender\"\n                                label=\"Clasic Render\"    \n                            ></v-checkbox>\n                            <v-checkbox\n                                v-model=\"screen_data.newCheap\"\n                                label=\"Cheap\"\n                            ></v-checkbox>\n                        </div>\n                    </div> -->\n                </v-card-text>\n                <v-card-actions class=\"acction_btns\">\n                    <v-spacer></v-spacer>\n                    <v-btn outlined @click=\"screen_data.addStageDialog = false\" class=\"action__btn\">Cancelar</v-btn>\n                    <v-btn \n                        color=\"#060647\"\n                        class=\"white--text action__btn\"\n                        :disabled=\"!canAdd()\"\n                        @click=\"actuallyAddStage()\"\n                    >\n                    Crear\n                    </v-btn>\n                </v-card-actions>\n            </v-card>\n        </v-dialog>\n\n        <v-dialog v-model=\"screen_data.showErrorsDialog\" class=\"pa-0 ma-0 rounded\" width=\"350px\">\n            <v-card class=\"error__dialog text-center overflow-hidden\">\n                <v-card-title class=\"d-flex justify-space-between\">\n                    <span class=\"px-4\">Atención</span>\n                    <v-btn\n                        icon\n                        @click=\"screen_data.showErrorsDialog=false\"\n                    >\n                        <v-icon color=\"white\" class=\"material-symbols-outlined\">close</v-icon>\n                    </v-btn>\n                </v-card-title>\n                <v-divider></v-divider>\n                <v-card-text class=\"py-6 px-12\">\n                    <v-row>\n                        <v-col cols=\"12\" class=\"d-flex flex-column\">\n                            <v-icon size=\"48\" color=\"#DC0B0BE5\" class=\"material-symbols-outlined\">warning</v-icon>\n                            <span class=\"text-subtitle-1 font-weight-bold\">Información incompleta</span>\n                        </v-col>\n                    </v-row>\n                    <v-row>\n                        <v-col cols=\"12\">\n                            <span v-if=\"screen_data.workflow.stages.length == 0\"> \n                                Por favor, <strong>agregue al menos una etapa</strong> al workflow.\n                            </span>\n                            <span v-else>Por favor, <strong>revise los campos pendientes</strong> y complete la información necesaria para poder guardar el workflow.</span>\n                        </v-col>\n                    </v-row>\n                </v-card-text>\n            </v-card>\n        </v-dialog>\n\n    </v-container>\n    \n</template>\n  \n<script>\nimport AppBtn from \"@/components/layout/AppBtn.vue\";\nimport AppRow from \"@/components/layout/AppRow.vue\";\nimport AppCol from \"@/components/layout/AppCol.vue\";\nimport { WorkflowTemplateEditorScreenData } from \"@/modules/document/domain/WorkflowTemplateEditorScreenData\";\nimport { WorkflowTemplateEditorComponent } from \"@/modules/document/application/WorkflowTemplateEditorComponent\";\nimport WorkflowTemplateStageCard from \"@/components/WorkflowTemplateStageCard.vue\";\nimport { ApiWorkflowTemplateRepository } from \"@/modules/document/infra/ApiWorkflowTemplateRepository\";\nimport WorkflowTemplateStageDetail from \"@/components/WorkflowTemplateStageDetail.vue\";\nimport { ApiOtherDocumentRepository } from \"@/modules/document/infra/ApiOtherDocumentRepository\";\nimport { EntityTypeApiRepository} from \"@/modules/entities/infra/EntitiesApiRepositories\";\nimport { nameToClass } from \"@/modules/document/domain/WorkflowTemplate\";\nimport Draggable from \"vuedraggable\";\nimport WackScriptEditor from \"@/modules/document/infra/WackScriptEditor\";\n  \nexport default {\n    name: \"WorkflowEditor\",\n    components: {\n        AppBtn,\n        AppCol,\n        AppRow,\n        WorkflowTemplateStageCard,\n        WorkflowTemplateStageDetail,\n        Draggable,\n        WackScriptEditor\n    },\n    data() {\n        const screen_data = new WorkflowTemplateEditorScreenData()\n        return {\n            workflow_template_component: null,\n            screen_data: screen_data,\n            condition_script_dialog: false,\n            label_dialog: false,\n            \n        };\n    },\n    props: {\n        companydb_id: {\n            type: [Number, String],\n            required: true,\n            default: null\n        },\n        workflow_id:{\n            type: [Number,String],\n            required: false,\n            default: null\n        },\n    },\n    async mounted() {\n        this.workflow_template_component = new WorkflowTemplateEditorComponent(new ApiWorkflowTemplateRepository(), this.screen_data, new ApiOtherDocumentRepository(), new EntityTypeApiRepository());\n        await this.workflow_template_component.mount(this.workflow_id);\n    },\n    computed:{\n    },\n    methods: {\n        onDragEnd(event) {\n            console.log(\"New Order:\", this.screen_data.workflow.stages);\n        },\n        actuallyAddStage() {\n            this.workflow_template_component.addStage()\n        },\n        removeStage(stage) {\n            if (this.screen_data.selectedStage && this.screen_data.selectedStage.id == stage.id) {\n                this.hideDetail();\n            }\n            this.workflow_template_component.removeStage(stage);\n        },\n        current_bag(curr_i){\n            return this.workflow_template_component.get_current_bag(curr_i)\n        },\n        async save(){\n            await this.workflow_template_component.saveWorkflow();\n            this.$router.replace({ name: 'workflow-editor', params: { 'companydb_id': this.companydb_id, 'workflow_id': this.screen_data.workflow.id } });\n        },\n        backToList() {\n            this.$router.push({name: 'workflow-list', params: {'companydb_id': this.companydb_id}});\n        },\n        canAdd() {\n            // if (!this.screen_data.newStageName || \n            // (\n            //     this.screen_data.newStageName == 'WaitForApproval' && !this.screen_data.newStageUser\n            // ) \n            \n            // ) {\n            //     return false;\n            // }\n            return true;\n        },\n        scriptDialog(stage, index) {\n            this.screen_data.selectedStage = stage;\n            this.screen_data.selectedStageIndex = index;\n            this.condition_script_dialog = true;\n        },\n        labelDialog(stage, index) {\n            this.screen_data.selectedStage = stage;\n            this.screen_data.selectedStageIndex = index;\n            this.label_dialog = true;\n        },\n        showDetail(stage, index) {\n            this.workflow_template_component.showDetail(stage, index);\n        },\n        hideDetail() {\n            this.screen_data.showStageDetails = false;\n            this.screen_data.selectedStage = null;\n        },\n        computeActualStage(stage) {\n            stage.calculatePrice();\n        }\n    },\n  \n};\n</script>\n\n<style>\n.container-full-bg-white {\n    height: 100%;\n    background-color: white;\n    border-top-left-radius: 15px;\n    position:absolute;\n    overflow-y:auto;\n    padding: 10px;\n}\n.workflow__cards {\n    display: flex;\n    flex-wrap: wrap;\n    /*justify-content: space-around;*/\n    gap: 10px;\n    margin-top: 10px;\n    overflow-x: auto;\n    overflow-y: hidden;\n}\n.acction_btns {\n    display: flex !important;\n    justify-content: space-between !important;\n    padding: 0 24px 20px;\n}\n.action__btn {\n    font-weight: 500;\n    font-size: 14px;\n    line-height: 16px;\n    border-radius: 20px;\n    padding: 18px !important;\n    gap: 8px;\n    text-transform: capitalize;\n}\n\n.error__dialog .v-card__title {\n    padding-top: 25px !important;\n    padding-bottom: 25px !important;\n    background-color: #DC0B0BE5 !important;\n    color: white !important;\n    font-family: 'Roboto', sans-serif !important;\n    font-weight: 600 !important;\n    font-size: 20px !important;\n    line-height: 24px !important;\n}\n\n.card__headline {\n    background-color: #DEDCFF;\n    height: 70px;\n}\n\n.card__headline span {\n    font-size: 20px;\n    font-weight: 600;\n    font-family: \"Roboto\";\n    line-height: 24px;\n    text-transform: capitalize;\n    color: #060647;\n}\n.drag-handle {\n    cursor: grab;\n    padding: 5px;\n}\n.drag-handle:active {\n    cursor: grabbing;\n}\n.horizontal-drag-container {\n    display: flex;\n    flex-direction: row;  /* Arrange items in a horizontal row */\n        /* Enable horizontal scrolling if needed */\n  }\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkflowEditor.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!./WorkflowEditor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WorkflowEditor.vue?vue&type=template&id=4048b18b&\"\nimport script from \"./WorkflowEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./WorkflowEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./WorkflowEditor.vue?vue&type=style&index=0&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  null,\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 { VCardActions } 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 { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VContainer,VDialog,VDivider,VIcon,VProgressCircular,VRow,VSelect,VSnackbar,VSpacer,VTextField,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!./AddInstanceToListDetailComponent.vue?vue&type=style&index=0&id=1459ef60&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('p',[_c('span',{staticStyle:{\"color\":\"purple\"}},[_vm._v(\"def \")]),_c('span',{staticStyle:{\"color\":\"blue\"}},[_vm._v(\"run\")]),_vm._v(\"(payload):\")])])],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"1\"}}),_c('v-col',{attrs:{\"cols\":\"11\"}},[_c('v-textarea',{attrs:{\"label\":\"Script\",\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"tab\",9,$event.key,\"Tab\")){ return null; }$event.preventDefault();return _vm.insertTab.apply(null, arguments)},\"change\":_vm.input},model:{value:(_vm.script),callback:function ($$v) {_vm.script=$$v},expression:\"script\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"1\"}}),_c('v-col',{attrs:{\"cols\":\"11\"}},[_c('p',[_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"return\")]),_vm._v(\" output\")])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div>\n        <v-row>\n            <v-col cols=\"12\">\n                <p> <span style=\"color: purple;\">def </span> <span style=\"color: blue;\">run</span>(payload):</p>\n            </v-col>\n        </v-row>\n            \n        <v-row>\n            <v-col cols=\"1\">\n            </v-col>\n            <v-col cols=\"11\">\n                <v-textarea\n                    v-model=\"script\"\n                    label=\"Script\"\n                    outlined\n                    hide-details=\"auto\"\n                    @keydown.tab.prevent=\"insertTab\"\n                    @change=\"input\">\n                </v-textarea>\n            </v-col>\n        </v-row>\n        <v-row>\n            <v-col cols=\"1\">\n            </v-col>\n            <v-col cols=\"11\">\n                <p><span style=\"color: red;\">return</span> output</p>\n            </v-col>\n        </v-row>\n        \n        \n    </div>\n</template>\n\n<script>\n\nexport default {\n    name:'WackScriptEditor',\n    props:{\n        value: {\n            type: String,\n        },\n    },\n    data(){\n        return {\n            script: this.value,\n        }\n    },\n    mounted(){\n        console.log(this.stage);\n    },\n    methods:{\n        input(){\n            this.$emit('input', this.script);\n        },\n        insertTab(event) {\n            const textarea = event.target;\n            const start = textarea.selectionStart;\n            const end = textarea.selectionEnd;\n            \n            // Insert four spaces at the cursor position\n            this.stage.script =\n                this.stage.script.substring(0, start) + \"    \" + this.stage.script.substring(end);\n            \n            // Move the cursor after the inserted spaces\n            this.$nextTick(() => {\n                textarea.selectionStart = textarea.selectionEnd = start + 4;\n            });\n        },\n    },\n}\n</script>\n\n<style scoped >\n/*@import url('https://unpkg.com/json-schema-editor-vue@2.3.0/lib/json-schema-editor-vue.css');*/\n.preaty__card {\n    /*border: 1px solid #060647;*/\n    border-radius: 5px;\n}\n.small_scrollbar >>> textarea {\n    scrollbar-width: thin;\n}\n.error--text {\n    color: rgba(220, 11, 11, 0.898) !important;\n}\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WackScriptEditor.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!./WackScriptEditor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WackScriptEditor.vue?vue&type=template&id=1f45b5bf&scoped=true&\"\nimport script from \"./WackScriptEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./WackScriptEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./WackScriptEditor.vue?vue&type=style&index=0&id=1f45b5bf&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  \"1f45b5bf\",\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 { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VCol,VRow,VTextarea})\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!./RecursivePayloadOfAdressesOnSchemaEditor.vue?vue&type=style&index=0&id=ae3a6e10&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!./ListOnSchemaAddressesEditor.vue?vue&type=style&index=0&id=61ccec7f&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!./AddDocumentRepresentationToConversationDetailComponent.vue?vue&type=style&index=0&id=0c549bfc&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!./WackScriptEditor.vue?vue&type=style&index=0&id=1f45b5bf&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!./RecursivePayloadOnSchemaEditorTuned.vue?vue&type=style&index=0&id=316b096c&scoped=true&lang=css&\"","\nexport const DOCS_FIELD_MAP_SHOW = {\n    'payroll': 'Nómina',\n    'contract': 'Contrato',\n    'model_tax':'Modelos/Impuestos',\n    'certificate':'Certificado',\n    'bill':'Factura',\n    'other': 'Otros',\n    'pending': 'Pendiente',\n    'waiting_approval': 'Pendiente de aprobación',\n    'approved': 'Aprobado',\n    'rejected': 'Rechazado',\n    'insufficient_credits': 'Saldo insuficiente',\n    'lost_workflow': 'Error workflow desaparecido', \n    'error': 'Error',\n    'done': 'Completado',\n    'WaitForApproval': 'Esperar aprobación',\n    'AskAI': 'Extracción de informacion con IA',\n    'AddDocumentRepresentationToConversation': 'Añadir representación de documento a conversación',\n    'CompleteConversation': 'Completar conversación con IA',\n    'UploadAsInvoice': 'Subir como factura',\n    'SendThroughEmail': 'Enviar por correo electrónico',\n    'SendEmailWithTemplate': 'Enviar correo electrónico con plantilla',\n    'LookupAndMatchInstance': 'Buscar y adjuntar registro',\n    'LookupAndMatchMultipleInstances': 'Buscar y adjuntar varios registros',\n    'ExtractInstanceFromRawData': 'Extraer registro previamente inyectado',\n    'CreateInstanceFromContext': 'Crear registro a partir de contexto',\n    'CreateInstance': 'Crear registro',\n    'CreateInstancesFromList': 'Crear registros a partir de lista',\n    'AddInstanceToList': 'Añadir registro a lista',\n    'ModifyContext': 'Modificar registro',\n    'PayrollAccounting': 'Contabilizar nómina',\n    'SendDataToEndpoint': 'Enviar datos a un endpoint',\n    'NotifyCounterpart': 'Notificar a la contraparte',\n    'RunCommand': 'Ejecutar comando',\n    \"RunQuery\": \"Ejecutar consulta\",\n    'RunScript': 'Ejecutar script de python',\n};\n\nexport function updateFrontendData(frontend, data, count) {\n    frontend.other_documents = data\n    // frontend.other_documents = frontend.other_documents.slice(frontend.offset, frontend.offset + frontend.limit)\n    frontend.selectedItems = []\n    frontend.totalItems = count\n    if(frontend.totalItems > 0){\n        frontend.showSelect = true\n    }\n    frontend.selectAllItems = false;\n    frontend.calculateTableHeight();\n    frontend.drawer = false;\n}\n\nexport function obtainFilters(frontend) {\n    frontend.filters=[]\n    frontend.filters.push({company_id: frontend.companydb_id});\n    if(frontend.filter_doc_name)\n        frontend.filters.push({original_file_name: frontend.filter_doc_name});\n    if(frontend.filter_doc_type)\n        frontend.filters.push({type: frontend.filter_doc_type});\n    if(frontend.filter_date_from)\n        frontend.filters.push({date_from: frontend.filter_date_from});\n    if(frontend.filter_date_to)\n        frontend.filters.push({date_to: frontend.filter_date_to});\n    if(frontend.sortBy && frontend.sortBy != '')\n        frontend.filters.push({order_by: frontend.sortBy})\n    if(frontend.filter_need_approval)\n        frontend.filters.push({need_approval: frontend.filter_need_approval})\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!./SendEmailWithTemplateDetailComponent.vue?vue&type=style&index=0&id=78ad8278&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!./CompleteConversationDetailComponent.vue?vue&type=style&index=0&id=251de080&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!./LookupAndMatchMultipleInstancesDetailComponent.vue?vue&type=style&index=0&id=18074b72&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!./CreateInstancesFromListDetailComponent.vue?vue&type=style&index=0&id=db12fc4c&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!./ExtractInstanceFromRawDataDetailComponent.vue?vue&type=style&index=0&id=e3e294e4&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!./ListOnSchemaEditorTuned.vue?vue&type=style&index=0&id=596c0fb4&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!./WorkflowTemplateStageDetail.vue?vue&type=style&index=0&id=55748b30&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!./PayrollAccountingDetailComponent.vue?vue&type=style&index=0&id=01bcd2de&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!./AskAIDetailComponent.vue?vue&type=style&index=0&id=4aebfed6&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!./RunQueryDetailComponent.vue?vue&type=style&index=0&id=fb2c6f7a&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!./SendThroughEmailDetailComponent.vue?vue&type=style&index=0&id=1639149a&scoped=true&lang=css&\"","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('RecursivePayloadOnSchemaEditorTuned',{attrs:{\"schema\":value,\"key_to_show\":_vm.get_next_key_to_show(key, value),\"intern_key\":key,\"depth\":_vm.depth + 1,\"readonly\":_vm.readonly,\"available_e_types\":_vm.available_e_types},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('ListOnSchemaEditorTuned',{attrs:{\"item_schema\":_vm.schema.items,\"available_e_types\":_vm.available_e_types,\"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')?[(_vm.intern_key.includes('entity_type'))?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({staticStyle:{\"display\":\"inline-block\",\"width\":\"100%\"}},'div',attrs,false),on),[_c('v-select',{attrs:{\"items\":_vm.available_e_types,\"label\":_vm.intern_key,\"item-text\":\"name\",\"item-value\":\"uuid\",\"outlined\":\"\",\"hide-details\":\"auto\"},on:{\"input\":_vm.payloadChanged},model:{value:(_vm.data_payload),callback:function ($$v) {_vm.data_payload=$$v},expression:\"data_payload\"}})],1)]}}],null,false,4128823509)},[(_vm.data_payload)?_c('span',{staticStyle:{\"max-width\":\"350px\",\"white-space\":\"normal\",\"display\":\"block\"}},[_vm._v(\"\\n                    \"+_vm._s(_vm.available_e_types.find(function (t) { return t.uuid === _vm.data_payload; }).schema)+\"\\n                  \")]):_vm._e()]):(_vm.intern_key.includes('_script'))?_c('WackScriptEditor',{on:{\"input\":_vm.payloadChanged},model:{value:(_vm.data_payload),callback:function ($$v) {_vm.data_payload=$$v},expression:\"data_payload\"}}):_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()],2)],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('RecursivePayloadOnSchemaEditorTuned',{attrs:{\"schema\":_vm.item_schema,\"readonly\":_vm.readonly,\"key_to_show\":(index + 1).toString(),\"depth\":_vm.depth+1,\"available_e_types\":_vm.available_e_types},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 }","<template>\n    <div>\n        <div v-for=\"(item, index) in value\" :key=\"index\" class=\"d-flex align-baseline\">\n            <RecursivePayloadOnSchemaEditorTuned\n              :schema=\"item_schema\"\n              :readonly=\"readonly\"\n              :key_to_show=\"(index + 1).toString()\"\n              v-model=\"value[index]\"\n              :depth=\"depth+1\"\n              :available_e_types=\"available_e_types\"\n              @change=\"payloadChanged\"\n              \n            />\n            <button icon small v-if=\"!readonly\" @click=\"removeItem(index)\">\n                <v-icon class=\"red--text\">mdi-close</v-icon>\n            </button>\n        </div>\n        <button icon small  v-if=\"!readonly\" @click=\"addItem\"  :style=\"{ marginLeft: depth*20 + 'px' }\" >\n            <v-icon class=\"primary_blue--text\">mdi-plus</v-icon>\n        </button>\n      </div>\n</template>\n\n<script>\nexport default {\n  name: \"ListOnSchemaEditorTuned\",\n  components: {\n    RecursivePayloadOnSchemaEditorTuned: () => import(\"./RecursivePayloadOnSchemaEditorTuned.vue\"),\n  },\n  props: {\n    item_schema: {\n      type: Object,\n      required: true,\n    },\n    value: {\n      type: Array,\n      required: false,\n      default: () => ([]),\n    },\n    depth: {\n      type: Number,\n      default: 0,\n    },\n    readonly: {\n      type: Boolean,\n      default: false,\n    },\n    available_e_types: {\n      type: Array,\n      default: () => [],\n    },\n  },\n  computed: {\n  },\n  mounted() {\n  },\n  methods: {\n    addItem() {\n      let type = this.item_schema.type;\n      let item = null;\n      if (type === \"object\") {\n        item = {};\n      } else if (type === \"array\") {\n        item = [];\n      } else if (type === \"string\") {\n        item = \"\";\n      }\n      this.value.push(item);\n      this.payloadChanged();\n    },\n    removeItem(index) {\n      this.value.splice(index, 1);\n      this.payloadChanged();\n    },\n    payloadChanged() {\n      console.log('payloadChanged IN LIST')\n      //this.$emit(\"input\", this.value);\n      this.$emit(\"change\", this.value);\n    },\n\n  }\n};\n</script>\n\n<style scoped>\n.nested-section {\n  padding-left: 10px;\n  border-left: 1px solid #ccc;\n  margin-top: 10px;\n}\n</style>styleaddItem() {\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!./ListOnSchemaEditorTuned.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!./ListOnSchemaEditorTuned.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ListOnSchemaEditorTuned.vue?vue&type=template&id=596c0fb4&scoped=true&\"\nimport script from \"./ListOnSchemaEditorTuned.vue?vue&type=script&lang=js&\"\nexport * from \"./ListOnSchemaEditorTuned.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ListOnSchemaEditorTuned.vue?vue&type=style&index=0&id=596c0fb4&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  \"596c0fb4\",\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","<template>\n    <div>\n      <div v-if=\"schema.type === 'object'\" class=\"nested-section\">\n        <h3 :style=\"{ fontSize: getFontSize }\">{{ key_to_show }}</h3> <i v-if=\"intern_key!=key_to_show\"> {{intern_key}}</i>\n        <template v-for=\"(value, key) in schema.properties\">\n          <div class=\"nested-section\" :style=\"{ marginLeft: depth * 20 + 'px' }\">\n            <RecursivePayloadOnSchemaEditorTuned\n              :schema=\"value\"\n              v-model=\"data_payload[key]\"\n              :key_to_show=\"get_next_key_to_show(key, value)\"\n              :intern_key=\"key\"\n              :depth=\"depth + 1\"\n              :readonly=\"readonly\"\n              :available_e_types=\"available_e_types\"\n              @input=\"(new_data) => update_payload(key, new_data)\"\n            />\n          </div>\n        </template>\n        <template v-for=\"key in out_of_schema_keys\"> \n          <div class=\"nested-section\" :style=\"{ marginLeft: depth * 20 + 'px' }\">\n            <v-row>\n              <v-col cols=\"4\">\n                <p :style=\"{ fontSize: nextFontSize, color:'red'}\"><strong>{{ key }}:</strong></p>\n              </v-col>\n              <v-col cols=\"7\">\n                <!-- Idealmente mostrar con componente recursivo de json -->\n                <p :style=\"{ fontSize: nextFontSize , color:'red' } \">{{data_payload[key]}}</p>\n              </v-col>\n              <v-col cols=\"1\" v-if=\"!readonly\">\n                \n                <v-tooltip top>\n                  <template v-slot:activator=\"{ on, attrs }\">\n                    <v-btn\n                      @click=\"delete_extra_key(key)\"\n                      icon\n                      color=\"red\"\n                      v-bind=\"attrs\"\n                      v-on=\"on\"        \n                      >\n                      <v-icon>mdi-delete</v-icon>\n                    </v-btn>\n                   </template>\n                   <span>Eliminar campo (no consta en esquema de registro)</span>\n                </v-tooltip>\n              </v-col>\n            </v-row>  \n  \n            \n          </div>  \n        </template>\n  \n  \n  \n      </div>\n      <div v-else-if=\"schema.type === 'array'\" class=\"nested-section\">\n        <h3 :style=\"{ fontSize: getFontSize }\">{{ key_to_show }}</h3><i v-if=\"intern_key!=key_to_show\"> {{intern_key}}</i>\n        <div v-if=\"!is_tablable(schema.items)\">\n          <ListOnSchemaEditorTuned\n          :item_schema=\"schema.items\"\n          :available_e_types=\"available_e_types\"\n          v-model=\"data_payload\"\n          :readonly=\"readonly\"\n          :depth=\"depth + 1\"\n          @change=\"payloadChanged\"/>\n        </div>\n        <div v-else>\n          <GenericTableComponent\n            :data=\"data_payload\" :headers=\"Object.keys(schema.items.properties)\"></GenericTableComponent>\n        </div>\n      </div>\n      <div v-else class=\"nested-section\">\n        <v-row class=\"d-flex align-baseline\">\n          <v-col cols=\"3\">\n            <p :style=\"{ fontSize: getFontSize }\"><strong>{{ key_to_show }}:</strong></p>\n          </v-col>\n          <v-col cols=\"8\">\n            <template v-if=\"schema.type === 'boolean'\">\n                <v-checkbox\n                    v-model=\"data_payload\"\n                    @change=\"payloadChanged\"\n                    :label=\"intern_key\"\n                    :readonly=\"readonly\"\n                    hide-details=\"auto\"\n                />\n            </template>\n            <template v-else-if=\"schema.type === 'string'\">\n                <v-tooltip top v-if=\"intern_key.includes('entity_type')\">\n                    <template v-slot:activator=\"{ on, attrs }\">\n                      <div v-bind=\"attrs\" v-on=\"on\" style=\"display: inline-block; width: 100%\">\n                        <v-select\n                          v-model=\"data_payload\"\n                          :items=\"available_e_types\"\n                          :label=\"intern_key\"\n                          @input=\"payloadChanged\"\n                          item-text=\"name\"\n                          item-value=\"uuid\"\n                          outlined\n                          hide-details=\"auto\"\n                        />\n                      </div>\n                    </template>\n                    <span style=\"max-width: 350px; white-space: normal; display: block;\" v-if=\"data_payload\">\n                        {{available_e_types.find(t => t.uuid === data_payload).schema}}\n                      </span>\n                </v-tooltip>\n                <WackScriptEditor\n                    v-else-if=\"intern_key.includes('_script')\"\n                    v-model=\"data_payload\"\n                    @input=\"payloadChanged\"\n                ></WackScriptEditor>\n                <v-text-field\n                    v-else\n                    v-model=\"data_payload\"\n                    @input=\"payloadChanged\"\n                    :label=\"intern_key\"\n                    :readonly=\"readonly\"\n                    outlined\n                    dense\n                    hide-details=\"auto\"\n                    />\n               \n            </template>\n            <template v-else-if=\"schema.type === 'number' || schema.type === 'integer'\">\n                <v-text-field\n                v-model=\"data_payload\"\n                :label=\"intern_key\"\n                @input=\"turnIntoNumber\"\n                :readonly=\"readonly\"\n                outlined\n                dense\n                type=\"number\"\n                hide-details=\"auto\"\n                />\n            </template>\n            <template v-else-if=\"typeof schema === 'object' && Object.keys(schema).length === 0\">\n                <div>\n                    {{ data_payload}}   \n                </div>\n           \n            </template>\n          </v-col>\n        </v-row>\n      </div>\n    </div>\n  </template>\n    \n  <script>\n  import GenericTableComponent from '@/components/GenericTableComponent.vue'\n  import ListOnSchemaEditorTuned from '@/modules/entities/infra/ListOnSchemaEditorTuned.vue'\n  import WackScriptEditor from \"@/modules/document/infra/WackScriptEditor\";\n  \n  export default {\n      name: \"RecursivePayloadOnSchemaEditorTuned\",\n      components: {\n        GenericTableComponent,\n        ListOnSchemaEditorTuned,\n        WackScriptEditor\n      },\n      data() {\n        return {\n          data_payload: this.value !== null ? this.value : this.getDefaultPayload(),\n        }\n      },\n      props: {\n        schema: {\n          type: Object,\n          required: true,\n        },\n        key_to_show: {\n          type: String,\n          required: false,\n          default: null,\n        },\n        intern_key: {\n          type: String,\n          required: false,\n          default: null,\n        },\n        value: {\n          type: [Object, Array, String, Number, Boolean],\n          required: false,\n          default:null,\n        },\n        depth: {\n          type: Number,\n          default: 0,\n        },\n        readonly: {\n          type: Boolean,\n          default: false,\n        },\n        available_e_types: {\n          type: Array,\n          default: () => []\n        }\n      },\n      mounted() {\n        // let init_payload = null\n        // if(this.value){\n        //   init_payload = this.value;\n        // }else{\n        //   if(this.schema.type === 'object'){\n        //     init_payload = {}\n        //   }else if(this.schema.type === 'array'){\n        //     init_payload = []\n        //   }\n        //   else if(this.schema.type === 'string'){\n        //     init_payload = ''\n        //   }else{\n        //     init_payload = null\n        //   }\n        // }\n        // this.data_payload = init_payload;\n        this.initializePayload();\n        \n      },\n      computed: {\n          \n          getFontSize() {\n              const baseSize = 20; // Base font size in pixels\n              const sizeIncrement = 2; // Increment in pixels for each depth level\n              return `${baseSize - this.depth * sizeIncrement}px`; // Decrease font size as depth increases\n          },\n          nextFontSize() {\n              const baseSize = 20; // Base font size in pixels\n              const sizeIncrement = 2; // Increment in pixels for each depth level\n              return `${baseSize - (this.depth + 1) * sizeIncrement}px`; // Decrease font size as depth increases\n          },\n          out_of_schema_keys(){\n            if (this.schema.type !== 'object') {\n              return [];\n            }\n            return Object.keys(this.data_payload).filter(key => !Object.keys(this.schema.properties).includes(key));\n          }\n      },\n      methods: {\n        turnIntoNumber(value) {\n          this.data_payload = value !== '' ? Number(value) : null;\n          this.payloadChanged(); // Ensure this is still called\n        },\n        is_tablable(schema){\n            if(schema.type === 'object' && this.readonly ){\n              // for(const key in schema.properties){\n              //   if(schema.properties[key].type === 'object' || schema.properties[key].type === 'array'){\n              //     return false\n              //   }\n              // }\n              return true\n            }\n            else{\n              return false\n            }\n        },\n  \n        get_next_key_to_show(key, value) {\n          if(value.title){\n            return value.title;\n          }\n          return key;\n        },\n        getDefaultPayload() {\n        if (this.schema.type === 'object') {\n          return {};\n        } else if (this.schema.type === 'array') {\n          return [];\n        } else if (this.schema.type === 'string') {\n          return '';\n        } else {\n          return null;\n        }\n      },\n      delete_extra_key(key){\n        console.log('delete_extra_key', key);\n        const new_payload = {...this.data_payload};\n        delete new_payload[key];\n        this.data_payload = new_payload;\n        this.payloadChanged();\n      },\n      initializePayload() {\n        if (this.value === null) {\n          this.data_payload = this.getDefaultPayload();\n        } else {\n          this.data_payload = this.value;\n        }\n      },\n        payloadChanged(){\n          console.log('payload changed', this.key_to_show, this.data_payload);\n          this.$emit('input', this.data_payload);\n        },\n        update_payload(key, value){\n          console.log('update_payload', key, value);\n          this.data_payload = {\n            ...this.data_payload,\n            [key]: value\n          }\n          this.payloadChanged();\n        }\n  \n      },\n      \n    };\n    </script>\n    \n    <style scoped>\n    .nested-section {\n      padding-left: 10px;\n      /*border-left: 1px solid #ccc; */\n      margin-top: 10px;\n    }\n    </style>\n    ","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecursivePayloadOnSchemaEditorTuned.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!./RecursivePayloadOnSchemaEditorTuned.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RecursivePayloadOnSchemaEditorTuned.vue?vue&type=template&id=316b096c&scoped=true&\"\nimport script from \"./RecursivePayloadOnSchemaEditorTuned.vue?vue&type=script&lang=js&\"\nexport * from \"./RecursivePayloadOnSchemaEditorTuned.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RecursivePayloadOnSchemaEditorTuned.vue?vue&type=style&index=0&id=316b096c&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  \"316b096c\",\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 { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCheckbox,VCol,VIcon,VRow,VSelect,VTextField,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!./WorkflowEditor.vue?vue&type=style&index=0&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 }","<template>\n    <v-container>\n        <!-- <v-row>\n            <v-col cols=\"8\"></v-col>\n            <v-col cols=\"4\">\n              <v-btn @click=\"downloadCSV\" color=\"primary\">Descargar CSV</v-btn>\n            </v-col>\n          </v-row> -->\n      <v-data-table\n        :headers=\"c_headers\"\n        :items=\"formattedRows\"\n        class=\"elevation-1\"\n        disable-pagination\n        hide-default-footer\n      >\n      </v-data-table>\n    </v-container>\n  </template>\n  \n  <script>\n  export default {\n    name: \"GenericTableComponent\",\n    props: {\n      data: {\n        type: Array,\n        required: true,\n      },\n      headers: {\n        type: Array,\n        default: () => [],\n      },\n    },\n    computed: {\n      c_headers() {\n        if (this.headers.length > 0) {\n          return this.headers.map(key => ({ text: key, value: key }));\n        }\n        const allKeys = new Set();\n        this.data.forEach(row => {\n          Object.keys(row).forEach(key => allKeys.add(key));\n        });\n        return [...allKeys].map(key => ({ text: key, value: key }));\n      },\n      formattedRows() {\n        return this.data.map(row => {\n          const formattedRow = {};\n          this.c_headers.forEach(header => {\n            formattedRow[header.value] = row[header.value] || \"\";\n          });\n          return formattedRow;\n        });\n      },\n    },\n    methods: {\n      downloadCSV() {\n        const separator = ';';\n        const headers = this.headers.map(header => header.text).join(separator);\n        const rows = this.formattedRows.map(row =>\n          this.headers.map(header => `\"${(row[header.value] || '').toString().replace(/\"/g, '\"\"')}\"`).join(separator)\n        );\n        console.log(rows);\n        const csvContent = `data:text/csv;charset=utf-8,${headers}\\n${rows.join('\\n')}`;\n        const encodedUri = encodeURI(csvContent);\n        const link = document.createElement(\"a\");\n        link.setAttribute(\"href\", encodedUri);\n        link.setAttribute(\"download\", \"data.csv\");\n        document.body.appendChild(link);\n        link.click();\n        document.body.removeChild(link);\n      },\n    },\n  };\n  </script>\n  \n  <style scoped>\n  /* Add custom styles here if needed */\n  </style>\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"],"sourceRoot":""}