{"version":3,"sources":["webpack:///./src/components/mixins/projectStatusesHelper.js","webpack:///./src/components/mixins/dateHelper.js","webpack:///./src/modules/enums/CreditStatusEnum.js","webpack:///./src/views/investor/investments/Portfolio.vue?2381","webpack:///./src/components/mixins/creditStatusesHelper.js","webpack:///./src/modules/enums/AssetStatusEnum.js","webpack:///./src/views/investor/investments/Portfolio.vue","webpack:///src/views/investor/investments/Portfolio.vue","webpack:///./src/views/investor/investments/Portfolio.vue?10c0","webpack:///./src/views/investor/investments/Portfolio.vue?57fd","webpack:///./src/modules/enums/ProjectStatusEnum.js","webpack:///./src/components/mixins/qualificationsHelper.js"],"names":["methods","projectStatusName","status","ProjectStatusEnum","DEFAULT_VALUE","LEAD","IN_REVISION","PRE_APPROVE","APPROVE","FUNDING","SIGNING_CONTRACTS","INSTALLING","DELIVERED","REJECTED","REFUND","projecStatusClass","projectStatusColor","constitutionDateFormat","value","moment","String","locale","format","constitutionPaymentDateFormat","explicitDateFormat","sessionFormat","regularDateFormat","yearDateFormat","midDateFormat","humanDateFormat","dateTimeFormat","dateTime12Format","compactDateFormat","logDateFormat","timeAgoFormat","fromNow","calculateAgeFromDate","diff","minDateForValidAge","years","subtract","calculateDaysDiff","m","n","validatedDate","isValid","getDateFromInputs","yy","mm","dd","yint","parseInt","mint","year","month","day","nextAccreditationDate","add","setDateToEndOfDay","d","endOf","end","setDateToStartOfDay","startOf","start","signatureFormatDate","signatureValidityDate","incomeSpecial","toUpperCase","timeStampFormat","formatDatepicker","isAfter","date","maxDate","limit","getPreviousMonth","step","getDay","CreditStatusEnum","Object","freeze","AL_CORRIENTE","EN_PERIODO_GRACIA","RETRASADO_11_30","RETRASADO_31_60","RETRASADO_61_90","VENCIDO","assetCreditStatusName","assetStatus","creditStatus","name","AssetStatusEnum","EN_FONDEO","VIGENTE","OTROS_BIENES_ADMINISTRACION","BIENES_MANDATO","PAGADO","QUEBRANTADO_PARCIALMENTE","IRRECUPERABLE","creditStatusName","explicitCreditStatusName","creditStatusOrder","creditStatusClass","creditStatusColor","render","_vm","this","_c","_self","attrs","_v","staticClass","model","periodType","callback","$$v","expression","onCustomPeriod","customPeriodTopYears","on","$event","changedSelectedPeriod","customPeriodTop","$set","customPeriodTopMonths","item","isLgOrSmallerScreen","_e","customPeriodBottomYears","customPeriodBottom","customPeriodBottomMonths","validPeriod","_s","currentPeriodFormat","hasResume","downloadCSV","resume","explicitMoneyFormat","initialBalance","deposits","withdraws","investments","applicant_interests","applicant_moratorium_interests","applicant_penalties","bonus","all_earnings_tax","all_fees","fee_tax","iva_withholdings","isr_withholdings","amortizations","recoveries","shares_amount_sold","shares_amount_bought","final_balance","isSmallerScreen","chartOptions","series","_l","currentFixedInvestmentProjects","index","asset_status","credit","countFormat","total","investment","finalBalance","investmentCommitment","fixedInvestment","briefcase","ignoreQualificationsDonut","qualificationsChartOptions","qualificationsSeries","qualificationsLegendData","k","v","p","ignoreSunflowersDonut","cstatusesChartOptions","creditStatusesSeries","creditStatusesLegendData","ignoreSeedsDonut","extraData","status_str","amount","staticRenderFns","mixins","components","VueApexCharts","data","isFirstTime","isMounted","defaultTopLimit","customTopLimit","bottomLimit","acc_fixed_investment","bonus_tax","cashing_fee","created_at","earnings_tax","loan_loss_provision","withdraws_fee","balance_date","availableCredit","initialFixedInvestment","currentFilter","filter","startYear","endYear","startMonth","endMonth","chart","zoom","enabled","toolbar","tools","download","zoomin","zoomout","pan","reset","autoSelected","locales","defaultLocale","colors","dataLabels","stroke","curve","title","text","align","grid","row","opacity","xaxis","yaxis","labels","formatter","noData","donutBaseChartOptions","donut","show","legend","tooltip","y","pstatusesChartOptions","projectStatutesSeries","projectsPortfolioInfo","projectStatusesLegendData","monthNames","shortMonthNames","watch","computed","projectsPortfolioDate","portfolioLastDateTitle","monthName","onDefaultPeriod","onHistoryPeriod","months","label","shortMonthName","briefInfo","seriesData","seriesLabels","categories","ppi","qseries","qlabels","qcolors","qlegends","cseries","clabels","clegends","order","percentFormat","window","component","qualificationCode","projectQ","qualificationColor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ACAC,SAEA6I,aACA9I,OACAC,SAEAoE,iBACArE,OACAC,SAEA2E,oBACA5E,OACAC,SAEAkF,QACAG,WACAE,cACAU,gBACAR,iCACAD,sBACAsD,uBACApD,sBACAC,QACAoD,YACAC,cACAnD,WACAoD,aACAC,eACAtD,mBACAE,UACAC,mBACAC,mBACAK,gBACAH,aACAiD,sBACA7D,YACA8D,gBACAC,mBAEArE,aACAI,iBACAgC,YACAkC,kBACAnC,kBACAD,uBACAD,eACAsC,yBACAC,eACAC,iBACAC,eACAC,aACAC,gBACAC,eAEArD,SACApE,wBACAoG,UAEAjC,cACAuD,OACAC,MACAC,YAEAC,SACAC,OACAC,YACAJ,QACAK,UACAC,WACAC,OACAC,UAEAC,qBAEAC,UACA,UACA,SACA,SACA,4BACA,4BACA,6BACA,iBACA,iBACA,YACA,yBAIAC,oBAEAC,mBACAC,YACAZ,YAEAa,QACAC,gBAEAC,OACAC,wBACAC,cAEAC,MACAC,KACAR,iCACAS,aAGAC,SAEAC,OACAC,QACAC,aAAA,gCAGAC,QACAT,qBAIAU,uBACAf,iDACAC,YAAAZ,YACA2B,OAAAJ,QAAAK,UACAC,QACAD,SAQAE,SAAAC,GAAAP,aAAA,gCACAD,uDAGAjE,4BACAqD,mBACAC,YAAAZ,YACA2B,OAAAJ,QAAAK,UACAC,QAAAD,SACAE,SAAAC,GAAAP,aAAA,gCACAD,WAEAS,uBACArB,mBACAC,YAAAZ,YACA2B,OAAAJ,QAAAK,UACAC,QAAAD,SACAE,SAAAC,GAAAP,aAAA,gCACAD,WAEA1D,uBACA8C,mBACAC,YAAAZ,YACA2B,OAAAJ,QAAAK,UACAC,QAAAD,SACAE,SAAAC,GAAAP,aAAA,gCACAD,WAEAhE,wBACA0E,yBACAnE,wBACAoE,2BAEA1E,4BACA2E,6BACApE,4BAEAqE,8HACAC,2FAEAhF,6BACAW,oBACAJ,2BAGA,gBACA,kBACA,2BACA,gCACA,0BACA,4BACA,kBACA,sBAEA0E,OACA3I,+BACA,aACA,sBAIA4I,UACAC,wBACA,0EACA,+DAEA,sBAEAC,yBACA,6CACA,gEAGA,YAGA1H,sBACA,sBAGA,qBACA,2BACA,gDAGA,4FAGA,oBACA,0DACA,2DACA,6EAGA,4FACe3B,KAAKsJ,UAAUtJ,KAAKuB,mBAAmB3E,UAAUoD,KAAKuB,mBAAmB5E,OAGxF,qBACA,qCADA,EApBA,IA0BA8E,cACA,wDAIA,wDAGA,0DACA,4DAKA8H,kBACA,mCAEAC,kBACA,mCAEA7I,iBACA,kCAEAC,uBACA,+BACA,wBACA,KACA,qBACA/E,UAEA,UAEAqF,wBACA,SACA,sBACAuI,QAAAjP,QAAAkP,0BAEA,UAEApI,0BACA,+BACA,wBACA,KACA,qBACAzF,UAEA,UAEA2F,2BACA,SACA,sBACA,gFAGAiI,QAAAjP,QAAAkP,0BAEA,UAEAtI,sBACA,4CAEA8B,kBACA,4CAGA5J,SACAoK,eACA,6BAEA4F,aACA,6BAEAK,kBACA,kCAEA,8BACA,wBACA,qBAGA,2BACA,IACA,kFACA,4CACA,0CACA,oCACA,oDACA,sDAEA,mDACA,qDAEA,YAGA,qBACA,qBACA,IACA,wBACA,yCAEA,uBACA,mCACA,uDACA,yDACA,wDACA,8DAEA,0BAQA,OAPA,mCACA,sDACA,wDACA,iDACA,mDAMA,gGACA,SACA,oBACA,sCACA,qCACA,yDACA,mEACA,mDACA,wCACA,uDACA,cACA,wCAEA,SACA,KACAC,qBACAC,oBACAC,sDAGA,cACA9K,wBACAoG,SAGA,mBACA6C,OACA8B,eAIA,mBACA,qCACA,qBAGA,UAEA,sBAEA,6BACA,IACA,uFACA,SACA,6BACA,2BACA,SACA,KACA,KACA,KACAC,iCACAC,qBACAC,6BACAC,sDACAC,QAAA/F,uBAAAC,yCAAAC,oCAEA,4BACA,iCAAA4D,SAAAZ,UACA,gCACA,WACA,mCAqBA,SACA,KACA,KACA,KACA,kDACA,gDACA8C,qBACA,4DACA,kDACAC,UACA/C,wDACAgD,QAAAlG,IAAAC,yCAAAC,gCAAAiG,YAGAD,sBACA,0BAGA,4BACA,4BAAApC,SAAAZ,UACA,gCACA,WACA,+BAGA,YAIAkD,iBACA,yBAEA,oBACA,IACA,MACA,EACA,EACA,EACA,EACA,qBACApE,YAEA,sBACAA,WACAC,2BACAE,4BACAD,wBACAE,0BAEA,sBACAJ,WACAC,4BACAE,6BACAD,+BACAE,iCAEA,8EACA,+GACAiE,wBAGA,qCAEA,SACA,iBC5xBiX,I,wBCQ7WC,EAAY,eACd,EACA7K,EACAkF,GACA,EACA,KACA,WACA,MAIa,aAAA2F,E,2CCnBf,MAAMlR,EAAoB4E,OAAOC,OAAO,CACpC5E,cAAe,EACfC,KAAM,EACNC,YAAa,EACbC,YAAa,EACbC,QAAS,EACTC,QAAS,EACTC,kBAAmB,EACnBC,WAAY,EACZC,UAAW,EACXC,SAAU,EACVC,OAAQ,KAEGX,U,kCCbA,QACZH,QAAS,CACNsR,kBAAkBC,GACf,OAAQA,GACL,IAAK,KACF,MAAO,SACV,IAAK,IACF,MAAO,IACV,IAAK,KACF,MAAO,UACV,IAAK,KACF,MAAO,SACV,IAAK,IACF,MAAO,IACV,IAAK,KACF,MAAO,UACV,IAAK,KACF,MAAO,SACV,IAAK,IACF,MAAO,IACV,IAAK,KACF,MAAO,UACV,IAAK,KACF,MAAO,SACV,IAAK,IACF,MAAO,IACV,IAAK,KACF,MAAO,UACV,IAAK,KACF,MAAO,SACV,IAAK,IACF,MAAO,IACV,IAAK,KACF,MAAO,UACV,IAAK,KACF,MAAO,SACV,IAAK,IACF,MAAO,IACV,IAAK,KACF,MAAO,UACV,QACG,MAAQ,WAGjBC,mBAAmBC,GAChB,OAAQA,GACL,IAAK,IACF,MAAO,UACV,IAAK,IACF,MAAO,UACV,IAAK,IACF,MAAO,UACV,IAAK,IACF,MAAO,UACV,IAAK,IACF,MAAO,UACV,IAAK,IACF,MAAO,UACV,QACG,MAAQ","file":"js/chunk-dea51a3a.b3b5e289.js","sourcesContent":["import ProjectStatusEnum from \"@/modules/enums/ProjectStatusEnum\";\n\nexport default {\n methods: {\n projectStatusName(status){\n switch (status){\n case ProjectStatusEnum.DEFAULT_VALUE:\n return 'No definido';\n case ProjectStatusEnum.LEAD:\n return 'Borrador';\n case ProjectStatusEnum.IN_REVISION:\n return 'En revisión';\n case ProjectStatusEnum.PRE_APPROVE:\n return 'Pre-aprobado';\n case ProjectStatusEnum.APPROVE:\n return 'Aprobado';\n case ProjectStatusEnum.FUNDING:\n return 'En fondeo';\n case ProjectStatusEnum.SIGNING_CONTRACTS:\n return 'En firma de contratos';\n case ProjectStatusEnum.INSTALLING:\n return 'En instalación';\n case ProjectStatusEnum.DELIVERED:\n return 'Entregado';\n case ProjectStatusEnum.REJECTED:\n return 'Rechazado';\n case ProjectStatusEnum.REFUND:\n return 'Reembolsado';\n default:\n return 'No definido';\n }\n },\n projecStatusClass(status){\n switch (status){\n case ProjectStatusEnum.FUNDING:\n case ProjectStatusEnum.SIGNING_CONTRACTS:\n return 'status-funding';\n case ProjectStatusEnum.INSTALLING:\n return 'status-running';\n default:\n return 'status-unknown';\n }\n },\n projectStatusColor(status) {\n switch (status){\n case ProjectStatusEnum.FUNDING:\n return '#28DE18';\n case ProjectStatusEnum.SIGNING_CONTRACTS:\n return '#f68141';\n case ProjectStatusEnum.INSTALLING:\n return '#774e6a';\n default:\n return '#3B3A3E'; // negro\n }\n }\n }\n}","import moment from 'moment'\nexport default {\n methods: {\n constitutionDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('LL');\n }\n },\n constitutionPaymentDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM');\n }\n },\n explicitDateFormat(value) {\n if(value){\n return moment(String(value)).format('DD/MM/YYYY [a las] hh:mm a')\n }\n },\n sessionFormat(value) {\n if(value){\n return moment(String(value)).format('DD/MM/YYYY h:mm a')\n }\n },\n regularDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY')\n }\n },\n yearDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('YYYY/MM/DD')\n }\n },\n midDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM [de] YYYY')\n }\n },\n humanDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('D MMM YYYY')\n }\n },\n dateTimeFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY HH:mm')\n }\n },\n dateTime12Format(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY h:mm a')\n }\n },\n compactDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMM [´]YY')\n }\n },\n logDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM [de] YYYY HH:mm')\n }\n },\n timeAgoFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").fromNow();\n }\n },\n calculateAgeFromDate(value){\n if(value){\n return moment().diff(value, 'years');\n }\n },\n minDateForValidAge(years){\n return moment().subtract(years, 'years').format();\n },\n calculateDaysDiff(value){\n if(value){\n let m = moment(String(value));\n let n = moment();\n return n.diff(m, 'days');\n }\n },\n validatedDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n else {\n return \"--\";\n }\n }\n },\n getDateFromInputs(yy,mm,dd){\n let yint = parseInt(yy);\n let mint = parseInt(mm);\n mint -= 1;\n if(yint <= 20){\n // suponer que el año es entre 2000 y 2010\n yint += 2000;\n }\n else {\n // suponer que el año es menor a 2000\n yint += 1900;\n }\n\n let m = moment({ year: yint, month: mint, day: dd});\n if(m.isValid()){\n return m.format('YYYY-MM-DD');\n }\n else {\n return false;\n }\n },\n nextAccreditationDate(value){\n if(value){\n let m = moment(String(value)).add(180, 'days');\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n else {\n return \"--\"\n }\n },\n setDateToEndOfDay(value){\n let m = moment(String(value)).add(1, 'days');\n let d = m.endOf('day')\n let end = d.locale(\"es\").format('YYYY-MM-DD HH:mm:ss');\n return end;\n },\n setDateToStartOfDay(value){\n let m = moment(String(value)).add(1, 'days');\n let d = m.startOf('day');\n let start = d.locale(\"es\").format('YYYY-MM-DD HH:mm:ss');\n return start;\n },\n signatureFormatDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY HH:mm:ss');\n }\n }\n return \"No establecido\";\n },\n signatureValidityDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n }\n return \"No establecido\";\n },\n incomeSpecial(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('MMMM - YYYY').toUpperCase();\n }\n }\n return \"No establecido\";\n },\n timeStampFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD-MM-YYYY-HH_mm_ss')\n }\n },\n formatDatepicker(value)\n {\n if(value){\n return moment(String(value)).locale(\"es\").format('YYYY-MM-DD')\n }\n },\n isAfter(date, maxDate, limit = 'year')\n {\n return moment(date).isAfter(maxDate, limit); \n },\n getPreviousMonth(date, format = \"MMMM\", step = 1)\n {\n return moment(date).locale(\"es\").subtract(step, 'months').format(format);\n },\n getDay(date)\n {\n return moment(date).locale(\"es\").format('DD');\n }\n }\n}","const CreditStatusEnum = Object.freeze({\n DEFAULT_VALUE: null,\n AL_CORRIENTE: '0_up_to_date',\n EN_PERIODO_GRACIA: '1_10_grace_period',\n RETRASADO_11_30: '11_30_delayed',\n RETRASADO_31_60: '31_60_delayed',\n RETRASADO_61_90: '61_90_delayed',\n VENCIDO: '91_or_more'\n});\nexport default CreditStatusEnum;","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Portfolio.vue?vue&type=style&index=0&id=7006792c&prod&lang=css&scoped=true&\"","import CreditStatusEnum from \"@/modules/enums/CreditStatusEnum\";\nimport AssetStatusEnum from \"@/modules/enums/AssetStatusEnum\";\nexport default {\n methods: {\n assetCreditStatusName(assetStatus, creditStatus){\n let name = \"\";\n switch (assetStatus){\n case AssetStatusEnum.EN_FONDEO:\n name = \"Compromiso de inversión\";\n break;\n case AssetStatusEnum.VIGENTE:\n switch (creditStatus) {\n case CreditStatusEnum.AL_CORRIENTE:\n case CreditStatusEnum.EN_PERIODO_GRACIA:\n name = \"Al corriente\";\n break;\n case CreditStatusEnum.RETRASADO_11_30:\n case CreditStatusEnum.RETRASADO_31_60:\n case CreditStatusEnum.RETRASADO_61_90:\n name = \"Retrasado\";\n break;\n case CreditStatusEnum.VENCIDO:\n name = \"Vencido\";\n break;\n default:\n break;\n }\n break;\n case AssetStatusEnum.OTROS_BIENES_ADMINISTRACION:\n case AssetStatusEnum.BIENES_MANDATO:\n name = \"Garantías recuperadas\";\n break;\n case AssetStatusEnum.PAGADO:\n name = \"Pagado\";\n break;\n case AssetStatusEnum.QUEBRANTADO_PARCIALMENTE:\n name = \"Quebrantado parcialmente\";\n break;\n case AssetStatusEnum.IRRECUPERABLE:\n name = \"Irrecuperable\";\n break;\n default:\n name = \"Desconocido\";\n break;\n }\n return name;\n },\n creditStatusName(assetStatus, creditStatus){\n let name = \"\";\n switch (assetStatus){\n case AssetStatusEnum.EN_FONDEO:\n name = \"Compromiso de inversión\";\n break;\n case AssetStatusEnum.VIGENTE:\n switch (creditStatus) {\n case CreditStatusEnum.AL_CORRIENTE:\n case CreditStatusEnum.EN_PERIODO_GRACIA:\n name = \"Al corriente\";\n break;\n case CreditStatusEnum.RETRASADO_11_30:\n case CreditStatusEnum.RETRASADO_31_60:\n case CreditStatusEnum.RETRASADO_61_90:\n name = \"Retrasado\";\n break;\n case CreditStatusEnum.VENCIDO:\n name = \"Vencido\";\n break;\n default:\n break;\n }\n break;\n case AssetStatusEnum.OTROS_BIENES_ADMINISTRACION:\n case AssetStatusEnum.BIENES_MANDATO:\n name = \"Garantías recuperadas\";\n break;\n case AssetStatusEnum.PAGADO:\n name = \"Pagado\";\n break;\n case AssetStatusEnum.QUEBRANTADO_PARCIALMENTE:\n name = \"Quebrantado parcialmente\";\n break;\n case AssetStatusEnum.IRRECUPERABLE:\n name = \"Irrecuperable\";\n break;\n default:\n name = \"Desconocido\";\n break;\n }\n return name;\n },\n explicitCreditStatusName(assetStatus, creditStatus){\n let name = \"\";\n switch (assetStatus){\n case AssetStatusEnum.EN_FONDEO:\n name = \"Compromiso de inversión\";\n break;\n case AssetStatusEnum.VIGENTE:\n switch (creditStatus) {\n case CreditStatusEnum.AL_CORRIENTE:\n name = \"Al corriente\";\n break;\n case CreditStatusEnum.EN_PERIODO_GRACIA:\n name = \"En periodo de gracia\";\n break;\n case CreditStatusEnum.RETRASADO_11_30:\n name = \"Retrasado (11 a 30 días)\";\n break;\n case CreditStatusEnum.RETRASADO_31_60:\n name = \"Retrasado (31 a 60 días)\";\n break;\n case CreditStatusEnum.RETRASADO_61_90:\n name = \"Retrasado (61 a 90 días)\";\n break;\n case CreditStatusEnum.VENCIDO:\n name = \"Vencido\";\n break;\n default:\n break;\n }\n break;\n case AssetStatusEnum.OTROS_BIENES_ADMINISTRACION:\n case AssetStatusEnum.BIENES_MANDATO:\n name = \"Garantías recuperadas\";\n break;\n case AssetStatusEnum.PAGADO:\n name = \"Pagado\";\n break;\n case AssetStatusEnum.QUEBRANTADO_PARCIALMENTE:\n name = \"Quebrantado parcialmente\";\n break;\n case AssetStatusEnum.IRRECUPERABLE:\n name = \"Irrecuperable\";\n break;\n default:\n name = \"Desconocido\";\n break;\n }\n return name;\n },\n creditStatusOrder(assetStatus, creditStatus){\n switch (assetStatus){\n case AssetStatusEnum.EN_FONDEO:\n return 10;\n case AssetStatusEnum.VIGENTE:\n switch (creditStatus) {\n case CreditStatusEnum.AL_CORRIENTE:\n return 12;\n case CreditStatusEnum.EN_PERIODO_GRACIA:\n return 13;\n case CreditStatusEnum.RETRASADO_11_30:\n return 15;\n case CreditStatusEnum.RETRASADO_31_60:\n return 16;\n case CreditStatusEnum.RETRASADO_61_90:\n return 17;\n case CreditStatusEnum.VENCIDO:\n return 21;\n default:\n return 99;\n }\n case AssetStatusEnum.OTROS_BIENES_ADMINISTRACION:\n case AssetStatusEnum.BIENES_MANDATO:\n return 19;\n case AssetStatusEnum.PAGADO:\n return 50;\n case AssetStatusEnum.QUEBRANTADO_PARCIALMENTE:\n return 18;\n case AssetStatusEnum.IRRECUPERABLE:\n return 18;\n default:\n return 99;\n }\n },\n creditStatusClass(assetStatus, creditStatus){\n switch (assetStatus){\n case AssetStatusEnum.EN_FONDEO:\n return 'status-funding';\n case AssetStatusEnum.VIGENTE:\n switch (creditStatus) {\n case CreditStatusEnum.AL_CORRIENTE:\n case CreditStatusEnum.EN_PERIODO_GRACIA:\n return 'status-ok';\n case CreditStatusEnum.RETRASADO_11_30:\n case CreditStatusEnum.RETRASADO_31_60:\n case CreditStatusEnum.RETRASADO_61_90:\n case CreditStatusEnum.VENCIDO:\n return 'status-warning';\n default:\n return 99;\n }\n case AssetStatusEnum.OTROS_BIENES_ADMINISTRACION:\n case AssetStatusEnum.BIENES_MANDATO:\n return 'status-running';\n case AssetStatusEnum.PAGADO:\n return 'status-finished';\n case AssetStatusEnum.QUEBRANTADO_PARCIALMENTE:\n case AssetStatusEnum.IRRECUPERABLE:\n return 'status-warning';\n default:\n return 'status-unknown';\n }\n },\n creditStatusColor(assetStatus, creditStatus) {\n switch (assetStatus){\n case AssetStatusEnum.EN_FONDEO:\n return '#757575';\n case AssetStatusEnum.VIGENTE:\n switch (creditStatus) {\n case CreditStatusEnum.AL_CORRIENTE:\n case CreditStatusEnum.EN_PERIODO_GRACIA:\n return '#6AB547';\n case CreditStatusEnum.RETRASADO_11_30:\n case CreditStatusEnum.RETRASADO_31_60:\n case CreditStatusEnum.RETRASADO_61_90:\n return '#EC9F05';\n case CreditStatusEnum.VENCIDO:\n return '#E84855';\n default:\n return '#3B3A3E';\n }\n case AssetStatusEnum.PAGADO:\n return '#3C896D';\n default:\n return '#3B3A3E';\n }\n }\n }\n}\n","const AssetStatusEnum = Object.freeze({\n EN_FONDEO: 'investment_commitment',\n VIGENTE: 'collecting',\n OTROS_BIENES_ADMINISTRACION: 'assets_under_management',\n BIENES_MANDATO: 'assets_in_mandate',\n PAGADO: 'settled',\n QUEBRANTADO_PARCIALMENTE: 'partial_default',\n IRRECUPERABLE: 'irrecoverable'\n});\nexport default AssetStatusEnum;","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"rg-portfolio\"}},[_c('big-title',[_vm._v(\" Mi \"),_c('span',[_vm._v(\"Portafolio\")]),_vm._v(\". \")]),_c('vx-card',{attrs:{\"title\":\"Tus inversiones de impacto en un solo lugar.\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full mb-4\"},[_c('p',[_vm._v(\"Consulta el desglose de tu portafolio en RedGirasol y descarga los datos que requieras para mantener organizadas tus inversiones. Las cifras económicas son expresadas en moneda nacional.\")])])]),_c('div',{staticClass:\"vx-row mt-4\"},[_c('div',{staticClass:\"vx-col w-full mb-3\"},[_c('ul',{staticClass:\"centerx options-display\"},[_c('li',{staticClass:\"mr-6\"},[_c('vs-radio',{attrs:{\"color\":\"success\",\"vs-value\":\"history\"},model:{value:(_vm.periodType),callback:function ($$v) {_vm.periodType=$$v},expression:\"periodType\"}},[_vm._v(\"Histórico\")])],1),_c('li',{staticClass:\"mr-6\"},[_c('vs-radio',{attrs:{\"vs-value\":\"default\"},model:{value:(_vm.periodType),callback:function ($$v) {_vm.periodType=$$v},expression:\"periodType\"}},[_vm._v(\"Año en curso\")])],1),_c('li',{staticClass:\"mr-6\"},[_c('vs-radio',{attrs:{\"color\":\"success\",\"vs-value\":\"custom\"},model:{value:(_vm.periodType),callback:function ($$v) {_vm.periodType=$$v},expression:\"periodType\"}},[_vm._v(\"Periodo personalizado\")])],1)])])]),(_vm.onCustomPeriod)?_c('div',{staticClass:\"vx-row mt-5\"},[_c('div',{staticClass:\"vx-col xxl:w-1/3 xl:w-40% lg:w-1/2 md:w-1/2 sm:w-full w-full mb-5\"},[_c('label',{staticClass:\"vs-input--label bold\"},[_vm._v(\"Periodo inicial\")]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-40%\"},[_c('v-select',{staticClass:\"vs-custom\",attrs:{\"name\":\"yearSelect\",\"options\":_vm.customPeriodTopYears,\"clearable\":false},on:{\"input\":function($event){return _vm.changedSelectedPeriod()}},model:{value:(_vm.customPeriodTop.year),callback:function ($$v) {_vm.$set(_vm.customPeriodTop, \"year\", $$v)},expression:\"customPeriodTop.year\"}})],1),_c('div',{staticClass:\"vx-col w-60%\"},[_c('v-select',{staticClass:\"vs-custom\",attrs:{\"name\":\"yearSelect\",\"options\":_vm.customPeriodTopMonths,\"clearable\":false,\"reduce\":item => item.value},on:{\"input\":function($event){return _vm.changedSelectedPeriod()}},model:{value:(_vm.customPeriodTop.month),callback:function ($$v) {_vm.$set(_vm.customPeriodTop, \"month\", $$v)},expression:\"customPeriodTop.month\"}})],1)])]),(!_vm.isLgOrSmallerScreen)?_c('div',{staticClass:\"vx-col xxl:w-1/6 xl:w-20% lg:w-0 w-0 mb-5\"}):_vm._e(),_c('div',{staticClass:\"vx-col xxl:w-1/3 xl:w-40% lg:w-1/2 md:w-1/2 sm:w-full w-full mb-5\"},[_c('label',{staticClass:\"vs-input--label bold\"},[_vm._v(\"Periodo final\")]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-40%\"},[_c('v-select',{staticClass:\"vs-custom\",attrs:{\"name\":\"yearSelect\",\"options\":_vm.customPeriodBottomYears,\"clearable\":false},on:{\"input\":function($event){return _vm.changedSelectedPeriod()}},model:{value:(_vm.customPeriodBottom.year),callback:function ($$v) {_vm.$set(_vm.customPeriodBottom, \"year\", $$v)},expression:\"customPeriodBottom.year\"}})],1),_c('div',{staticClass:\"vx-col w-60%\"},[_c('v-select',{staticClass:\"vs-custom\",attrs:{\"name\":\"yearSelect\",\"options\":_vm.customPeriodBottomMonths,\"clearable\":false,\"reduce\":item => item.value},on:{\"input\":function($event){return _vm.changedSelectedPeriod()}},model:{value:(_vm.customPeriodBottom.month),callback:function ($$v) {_vm.$set(_vm.customPeriodBottom, \"month\", $$v)},expression:\"customPeriodBottom.month\"}})],1)])])]):_vm._e(),(_vm.validPeriod)?_c('div',{staticClass:\"vx-row mt-4\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h6',[_vm._v(\"Mostrando datos para el periodo: \"+_vm._s(_vm.currentPeriodFormat))])])]):_vm._e(),(!_vm.validPeriod)?_c('div',{staticClass:\"vx-row mt-4\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h6',{staticClass:\"text-danger\"},[_vm._v(\"El periodo definido es inválido.\")])])]):_vm._e(),(_vm.hasResume && _vm.validPeriod)?_c('vs-button',{staticClass:\"px-3 mt-4\",attrs:{\"color\":\"primary\",\"icon-pack\":\"feather\",\"size\":\"small\",\"type\":\"border\",\"icon\":\"icon-download\"},on:{\"click\":_vm.downloadCSV}},[_vm._v(\"Descargar datos\")]):_vm._e()],1),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col xl:w-1/3 lg:w-1/3 md:w-full sm:w-full w-full mt-5\"},[_c('vx-card',{attrs:{\"title\":'Desglose ' + _vm.currentPeriodFormat}},[(_vm.resume)?_c('vs-list',[_c('vs-list-header',{attrs:{\"title\":\"Saldo del periodo\"}}),_c('vs-list-item',{attrs:{\"title\":\"Saldo inicial\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.initialBalance)))]),_c('vs-list-item',{attrs:{\"title\":\"+ Abonos\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.deposits)))]),_c('vs-list-item',{attrs:{\"title\":\"- Retiros\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.withdraws)))]),_c('vs-list-item',{attrs:{\"title\":\"- Inversiones\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.investments)))]),_c('vs-list-item',{attrs:{\"title\":\"+ Intereses\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.applicant_interests)))]),_c('vs-list-item',{attrs:{\"title\":\"+ Intereses moratorios\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.applicant_moratorium_interests)))]),(_vm.resume.applicant_penalties != 0)?_c('vs-list-item',{attrs:{\"title\":\"+ Penalizaciones\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.applicant_penalties)))]):_vm._e(),_c('vs-list-item',{attrs:{\"title\":\"+ Bonificaciones\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.bonus)))]),_c('vs-list-item',{attrs:{\"title\":\"+ IVA\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.all_earnings_tax)))]),_c('vs-list-item',{attrs:{\"title\":\"- Comisiones\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.all_fees)))]),_c('vs-list-item',{attrs:{\"title\":\"- IVA comisiones\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.fee_tax)))]),_c('vs-list-item',{attrs:{\"title\":\"- Retenciones IVA\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.iva_withholdings)))]),_c('vs-list-item',{attrs:{\"title\":\"- Retenciones ISR\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.isr_withholdings)))]),_c('vs-list-item',{attrs:{\"title\":\"+ Amortizaciones\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.amortizations)))]),_c('vs-list-item',{attrs:{\"title\":\"+ Recuperaciones\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.recoveries)))]),_c('vs-list-item',{attrs:{\"title\":\"+ Venta de participación\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.shares_amount_sold)))]),_c('vs-list-item',{attrs:{\"title\":\"- Compra de participación\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.shares_amount_bought)))]),_c('vs-list-item',{attrs:{\"title\":\"= Saldo final\"}},[_c('p',{staticClass:\"bold text-lg\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.resume.final_balance)))])])],1):_c('div',[_c('p',[_vm._v(\"No hay datos para el último periodo.\")])])],1)],1),_c('div',{staticClass:\"vx-col xl:w-2/3 lg:w-2/3 md:w-full sm:w-full w-full\"},[(!_vm.isSmallerScreen)?_c('vx-card',{staticClass:\"mt-5\"},[_c('div',{staticClass:\"vx-row mb-2\"},[_c('div',{staticClass:\"vx-col w-full\"},[(_vm.validPeriod)?_c('p',{staticClass:\"card-sub-title\"},[_vm._v(_vm._s(_vm.currentPeriodFormat))]):_vm._e()])]),_c('div',{staticClass:\"vx-row mb-2\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('vue-apex-charts',{attrs:{\"type\":\"line\",\"height\":\"360\",\"options\":_vm.chartOptions,\"series\":_vm.series}})],1)])]):_vm._e(),_c('div',{staticClass:\"vx-row mb-2\"},[_c('div',{staticClass:\"vx-col lg:w-1/2 md:w-full sm:w-full w-full\"},[_c('vx-card',{staticClass:\"mt-5\"},[_c('vs-list',[_c('vs-list-header',{attrs:{\"title\":\"Inversiones\"}}),_vm._l((_vm.currentFixedInvestmentProjects),function(item,index){return _c('vs-list-item',{attrs:{\"title\":_vm.assetCreditStatusName(item.asset_status, item.credit)+' '+_vm.countFormat(item.total)}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(item.investment)))])})],2)],1)],1),_c('div',{staticClass:\"vx-col lg:w-1/2 md:w-full sm:w-full w-full\"},[_c('vx-card',{staticClass:\"mt-5\"},[_c('vs-list',[_c('vs-list-header',{attrs:{\"title\":\"Portafolio\"}}),_c('vs-list-item',{attrs:{\"title\":\"Saldo disponible\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.finalBalance)))]),_c('vs-list-item',{attrs:{\"title\":\"Compromiso de inversión\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.investmentCommitment)))]),_c('vs-list-item',{attrs:{\"title\":\"Inversión efectiva\"}},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.fixedInvestment)))]),_c('vs-list-item',{attrs:{\"title\":\"Total\"}},[_c('p',{staticClass:\"bold text-lg\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.briefcase)))])])],1)],1)],1)])],1)]),_c('div',{staticClass:\"vx-row mt-6\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('vx-card',[_c('div',{staticClass:\"vx-row mb-1\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h1',{staticClass:\"extrabold text-4xl\"},[_vm._v(\"Resumen de \"),_c('span',{staticClass:\"text-primary\"},[_vm._v(\"Inversiones.\")])])])])])],1)]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col xl:w-1/3 lg:w-1/2 md:w-full w-full mt-5\"},[_c('vx-card',{attrs:{\"title\":\"Por calificación.\"}},[(!_vm.ignoreQualificationsDonut)?_c('vue-apex-charts',{attrs:{\"type\":\"donut\",\"options\":_vm.qualificationsChartOptions,\"series\":_vm.qualificationsSeries}}):_vm._e(),_c('vs-list',_vm._l((_vm.qualificationsLegendData),function(item,index){return _c('vs-list-item',{attrs:{\"title\":item.k}},[_vm._v(_vm._s(item.v)+\"    \"+_vm._s(item.p))])}),1),(_vm.ignoreQualificationsDonut)?_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h5',{staticClass:\"opacity-50\"},[_vm._v(\"Aún no has invertido en ningún proyecto dentro de la Red.\")])])]):_vm._e()],1)],1),_c('div',{staticClass:\"vx-col xl:w-1/3 lg:w-1/2 md:w-full w-full mt-5\"},[_c('vx-card',{attrs:{\"title\":\"Inversiones.\"}},[(!_vm.ignoreSunflowersDonut)?_c('vue-apex-charts',{attrs:{\"type\":\"donut\",\"options\":_vm.cstatusesChartOptions,\"series\":_vm.creditStatusesSeries}}):_vm._e(),_c('vs-list',_vm._l((_vm.creditStatusesLegendData),function(item,index){return _c('vs-list-item',{attrs:{\"title\":item.k}},[_vm._v(_vm._s(item.v)+\"    \"+_vm._s(item.p))])}),1),(_vm.ignoreSeedsDonut)?_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h5',{staticClass:\"opacity-50\"},[_vm._v(\"Por el momento no tienes proyectos semilla activos en tu portafolio.\")])])]):_vm._e()],1)],1),_c('div',{staticClass:\"vx-col xl:w-1/3 lg:w-1/2 md:w-full w-full mt-5\"},[_c('vx-card',{attrs:{\"title\":\"Información adicional.\"}},[_c('vs-list',_vm._l((_vm.extraData),function(item,index){return _c('vs-list-item',{attrs:{\"title\":item.status_str+' '+_vm.countFormat(item.total)}},[_vm._v(_vm._s(item.amount))])}),1)],1)],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Portfolio.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Portfolio.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Portfolio.vue?vue&type=template&id=7006792c&scoped=true&\"\nimport script from \"./Portfolio.vue?vue&type=script&lang=js&\"\nexport * from \"./Portfolio.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Portfolio.vue?vue&type=style&index=0&id=7006792c&prod&lang=css&scoped=true&\"\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 \"7006792c\",\n null\n \n)\n\nexport default component.exports","const ProjectStatusEnum = Object.freeze({\n DEFAULT_VALUE: 0,\n LEAD: 1,\n IN_REVISION: 2,\n PRE_APPROVE: 3,\n APPROVE: 4,\n FUNDING: 5,\n SIGNING_CONTRACTS: 6,\n INSTALLING: 7,\n DELIVERED: 8,\n REJECTED: 9,\n REFUND: 10\n});\nexport default ProjectStatusEnum;","export default {\n methods: {\n qualificationCode(projectQ) {\n switch (projectQ) {\n case 'A+':\n return 'a-plus';\n case 'A':\n return 'a';\n case 'A-':\n return 'a-minus';\n case 'B+':\n return 'b-plus';\n case 'B':\n return 'b';\n case 'B-':\n return 'b-minus';\n case 'C+':\n return 'c-plus';\n case 'C':\n return 'c';\n case 'C-':\n return 'c-minus';\n case 'D+':\n return 'd-plus';\n case 'D':\n return 'd';\n case 'D-':\n return 'd-minus';\n case 'E+':\n return 'e-plus';\n case 'E':\n return 'e';\n case 'E-':\n return 'e-minus';\n case 'F+':\n return 'f-plus';\n case 'F':\n return 'f';\n case 'F-':\n return 'f-minus';\n default:\n return 'cminus';\n }\n },\n qualificationColor(group) {\n switch (group) {\n case 'A':\n return '#67C820';\n case 'B':\n return '#3EAC5C';\n case 'C':\n return '#2D8F74';\n case 'D':\n return '#28707C';\n case 'E':\n return '#29537E';\n case 'F':\n return '#2F357A';\n default:\n return '#67C820';\n }\n }\n }\n}"],"sourceRoot":""}