{"version":3,"sources":["webpack:///./src/app/modules/layout-investment/components/investment/new-list-view/new-list-strategy-row.component.vue?aeb3","webpack:///./src/app/modules/layout-investment/components/investment/new-list-view/new-list-strategy-row.component.vue","webpack:///src/app/modules/layout-investment/components/investment/new-list-view/new-list-strategy-row.component.vue","webpack:///./src/app/modules/layout-investment/components/investment/new-list-view/new-list-strategy-row.component.vue?8dd3","webpack:///./src/app/modules/layout-investment/components/investment/new-list-view/new-list-strategy-row.component.vue?4b8c"],"names":["render","_vm","this","_c","_self","staticClass","class","type","includes","nameColSpan","activeHeadersLength","attrs","investment","status","portfolioPosition","position_status","toggle_disabled","directives","name","rawName","value","expression","on","$event","$emit","investmentId","investment_id","investmentStatus","toogle","selectedParams","typed_volume","curr_volume","item","arrow","theme","optionDefault","optionsSelect","optionSelected","_e","getParentName","strategy_name","partner_badge","_v","_s","getInvestments","find","parent_id","debug","strategy_symbol","length","headers","key","active","strategy_timeframe","sub_strategies","some","positionText","label","minimal","curr_positions","multiSymbolPosition","_f","Number","reduce","acc","curr","position_volume","position_price_avg","strategy_market","volume_type","param_volume","volume","open_pnl","domProps","$icons","arrow_drop","portfolioMasterClosedPnl","closed_pnl","position_profit","color","tooltip","_l","charAt","max_loss","limit_type","max_daily_loss","red_alert_sm","max_gain","max_daily_gain","staticRenderFns","components","statusIndicatorComponent","OntickToggleComponent","OntickLoadingEllipsisComponent","props","Object","Array","isPortfolioComponent","Boolean","default","String","data","icon","icons","dropdownIsActive","computed","mapGetters","filter","optional","map","max_exposure","every","portfolioMasterPnl","methods","mapActions","removeMask","statuses","mask_gain","push","mask_loss","mask_time","mask_limit","event","$router","path","params","id","$api","post","$endpoint","INVESTMENT_HIDE","then","response","$swal","title","msg","iconHtml","swal_success","timer","INVESTMENT_SHOW","closeMask","mask","fixedMask","DISMISS_MASK","notification_type","catch","err","console","error","component"],"mappings":"yIAAA,W,0CCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,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b2.c7ef0564.js","sourcesContent":["export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./new-list-strategy-row.component.vue?vue&type=style&index=0&id=2ca4e25a&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"relative grid w-full text-xs\",class:[\n { 'bg-ontick-steel-200 dark:bg-[#171E27BF]': _vm.type.includes('portfolio') },\n _vm.nameColSpan === 2\n ? `grid-cols-${_vm.activeHeadersLength + 1}`\n : `grid-cols-${_vm.activeHeadersLength}`,\n ]},[_c('div',[(_vm.type !== 'portfolio-component')?_c('div',{staticClass:\"td !gap-0\"},[_c('status-indicator-component',{staticClass:\"mr-2\",attrs:{\"status\":_vm.investment.status,\"position\":_vm.type === 'portfolio-master'\n ? _vm.portfolioPosition\n : _vm.investment.position_status,\"error\":_vm.toggle_disabled}}),_c('ontick-toggle-component',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.investment.status != 'HIDDEN'),expression:\"investment.status != 'HIDDEN'\"}],class:_vm.toggle_disabled ? 'cursor-not-allowed' : 'cursor-pointer',attrs:{\"active\":_vm.investment.status == 'RUNNING' ? true : false,\"block\":_vm.toggle_disabled,\"size\":\"sm\"},on:{\"switch\":function($event){_vm.$emit('toggleSwitch', {\n investmentId: _vm.investment.investment_id,\n investmentStatus: _vm.investment.status,\n toogle: (_vm.toggle_disabled =\n _vm.investment.status === 'RUNNING' ? false : _vm.toggle_disabled),\n }),\n _vm.selectedParams({\n value: _vm.typed_volume || _vm.investment.curr_volume,\n item: _vm.investment,\n })}}}),_c('ontick-form-dropdown',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],attrs:{\"offset\":\"\",\"content\":\"Outras opções\",\"position\":'left',\"optionCard\":true,\"disabledOptionDefault\":true,\"optionInitial\":_vm.optionDefault,\"options\":_vm.optionsSelect,\"footer\":_vm.investment.investment_id,\"bg\":\"bg-transparent\"},on:{\"optionSelected\":function($event){return _vm.optionSelected($event, _vm.investment)}}})],1):_vm._e()]),_c('div',{class:`col-span-${_vm.nameColSpan}`},[_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],staticClass:\"td\",attrs:{\"content\":_vm.type === 'portfolio-component'\n ? `Componente de ${_vm.getParentName}`\n : _vm.investment.strategy_name}},[(_vm.type !== 'portfolio-component')?[(_vm.investment.partner_badge)?_c('img',{staticClass:\"h-4 w-4\",attrs:{\"src\":_vm.investment.partner_badge}}):_vm._e(),_c('span',{staticClass:\"font-semibold\"},[_vm._v(\" \"+_vm._s(_vm.investment.strategy_name)+\" \")])]:[_c('span',{staticClass:\"text-[10px] font-semibold text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.getInvestments.find( (item) => item.investment_id === _vm.investment.parent_id ).strategy_name)+\" \")])],(_vm.debug)?_c('span',{staticClass:\"text-[10px] uppercase text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.investment.investment_id)+\" \")]):_vm._e()],2)]),_c('div',[(_vm.type === 'portfolio-master')?_c('div',{staticClass:\"td\"},[_c('span',{staticClass:\"bg-ontick-blue-900 text-ontick-blue-300 flex items-center justify-center rounded-sm px-2 py-0.5 text-xs\"},[_vm._v(\" \"+_vm._s(_vm.investment.strategy_symbol.length > 1 ? \"Vários\" : _vm.investment.strategy_symbol[0])+\" \")])]):_c('div',{staticClass:\"td\"},[_c('span',{staticClass:\"bg-ontick-blue-900 text-ontick-blue-300 flex items-center justify-center rounded-sm px-2 py-0.5 text-xs\"},[_vm._v(\" \"+_vm._s(_vm.investment.strategy_symbol === \"ANY\" ? \"Vários\" : _vm.investment.strategy_symbol)+\" \")])])]),(_vm.headers.find((item) => item.key === 'strategy_timeframe').active)?_c('div',[(!_vm.type.includes('portfolio'))?_c('div',{staticClass:\"td\"},[_c('span',{staticClass:\"bg-ontick-teal-600 text-ontick-teal-50 flex items-center justify-center rounded-sm px-2 py-0.5 text-xs\"},[_vm._v(\" \"+_vm._s(_vm.investment.strategy_timeframe === \"ANY\" ? \"Vários\" : _vm.investment.strategy_timeframe)+\" \")])]):_vm._e()]):_vm._e(),_c('div',[(_vm.type === 'portfolio-master')?_c('div',{staticClass:\"td gap-1\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm.investment.sub_strategies.some( (item) => item.position_status !== \"Zerado\" ) ? \"Posicionado\" : \"Zerado\")+\" \")])]):_c('div',{staticClass:\"td\"},[(_vm.type === 'portfolio-component')?[_c('span',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ theme: 'green', arrow: true }),expression:\"{ theme: 'green', arrow: true }\"}],class:{\n 'bg-ontick-yellow-600 text-ontick-graphite-500 flex h-4 w-4 items-center justify-center rounded text-xs font-semibold':\n _vm.investment.position_status !== 'Zerado',\n },attrs:{\"content\":_vm.positionText(_vm.investment.position_status).label}},[_vm._v(\" \"+_vm._s(_vm.positionText(_vm.investment.position_status).minimal || _vm.investment.position_status)+\" \")])]:(_vm.investment.curr_positions)?_c('span',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ theme: 'green', arrow: true }),expression:\"{ theme: 'green', arrow: true }\"}],attrs:{\"content\":_vm.multiSymbolPosition}},[_vm._v(\" \"+_vm._s(_vm.multiSymbolPosition)+\" \")]):_c('span',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ theme: 'green', arrow: true }),expression:\"{ theme: 'green', arrow: true }\"}],class:{\n 'bg-ontick-yellow-600 text-ontick-graphite-500 flex h-4 w-4 items-center justify-center rounded text-xs font-semibold':\n _vm.investment.position_status !== 'Zerado',\n },attrs:{\"content\":_vm.positionText(_vm.investment.position_status).label}},[_vm._v(\" \"+_vm._s(_vm.positionText(_vm.investment.position_status).minimal || _vm.investment.position_status)+\" \")])],2)]),_c('div',{staticClass:\"td\",class:{ 'font-bold': _vm.type === 'portfolio-master' }},[(_vm.investment.strategy_symbol === 'ANY' && _vm.investment.curr_positions)?_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")((Number( _vm.investment.curr_positions.reduce( (acc, curr) => acc + curr.position_volume * curr.position_price_avg, 0 ) ) || 0)))+\" \")]):(_vm.investment.strategy_market === 'Equities')?[(_vm.investment.volume_type === 'FIN_VOLUME')?_c('span',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],attrs:{\"content\":`Quantidade a ser definida na abertura da posição (R$${_vm.investment.curr_volume})`}},[_vm._v(\" \"+_vm._s(_vm.investment.position_volume || \"-/-\")+\" \")]):(_vm.investment.volume_type === 'QUANTITY')?_c('span',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],attrs:{\"content\":\"Quantidade de ações (posicionados/parametrizados)\"}},[_vm._v(\" \"+_vm._s(_vm.investment.position_volume || \"-\")+\"/\"+_vm._s(_vm.investment.param_volume)+\" \")]):_vm._e()]:_c('span',[_vm._v(\" \"+_vm._s(_vm.volume)+\" \")])],2),_c('div',{staticClass:\"td\",class:{ 'font-bold': _vm.type === 'portfolio-master' }},[(_vm.type === 'portfolio-master')?[(_vm.investment.open_pnl === null)?_c('ontick-loading-ellipsis-component'):(_vm.investment.open_pnl !== 0)?_c('i',{class:_vm.investment.open_pnl > 0\n ? 'text-ontick-green-700 dark:text-ontick-green-500 rotate-0'\n : 'text-ontick-red-500 rotate-180',domProps:{\"innerHTML\":_vm._s(_vm.$icons.arrow_drop)}}):_vm._e(),_c('span',{staticClass:\"whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")(_vm.investment.open_pnl))+\" \")])]:(\n _vm.investment.strategy_symbol === 'ANY' && _vm.investment.curr_positions\n )?[(_vm.investment.open_pnl === null)?_c('ontick-loading-ellipsis-component'):(_vm.investment.open_pnl !== 0)?_c('i',{class:_vm.investment.open_pnl > 0\n ? 'text-ontick-green-700 dark:text-ontick-green-500 rotate-0'\n : 'text-ontick-red-500 rotate-180',domProps:{\"innerHTML\":_vm._s(_vm.$icons.arrow_drop)}}):_vm._e(),_c('span',{staticClass:\"whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")(_vm.multiSymbolPosition === \"Zerado\" ? 0 : _vm.investment.open_pnl))+\" \")])]:[(_vm.investment.open_pnl === null)?_c('ontick-loading-ellipsis-component'):(_vm.investment.open_pnl !== 0)?_c('i',{class:_vm.investment.open_pnl > 0\n ? 'text-ontick-green-700 dark:text-ontick-green-500 rotate-0'\n : 'text-ontick-red-500 rotate-180',domProps:{\"innerHTML\":_vm._s(_vm.$icons.arrow_drop)}}):_vm._e(),_c('span',{staticClass:\"whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")(_vm.investment.position_status === \"Zerado\" ? 0 : _vm.investment.open_pnl))+\" \")])]],2),_c('div',{staticClass:\"td\",class:{ 'font-bold': _vm.type === 'portfolio-master' }},[(_vm.type === 'portfolio-master')?[(_vm.portfolioMasterClosedPnl !== 0)?_c('i',{class:_vm.portfolioMasterClosedPnl > 0\n ? 'text-ontick-green-700 dark:text-ontick-green-500 rotate-0'\n : 'text-ontick-red-500 rotate-180',domProps:{\"innerHTML\":_vm._s(_vm.$icons.arrow_drop)}}):_vm._e(),_c('span',{staticClass:\"whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")(_vm.portfolioMasterClosedPnl))+\" \")])]:[(\n (_vm.investment.closed_pnl || 0) + (_vm.investment.position_profit || 0) !==\n 0\n )?_c('i',{class:(_vm.investment.closed_pnl || 0) + (_vm.investment.position_profit || 0) > 0\n ? 'text-ontick-green-700 dark:text-ontick-green-500 rotate-0'\n : 'text-ontick-red-500 rotate-180',domProps:{\"innerHTML\":_vm._s(_vm.$icons.arrow_drop)}}):_vm._e(),_c('span',{staticClass:\"whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")(((_vm.investment.closed_pnl || 0) + (_vm.investment.position_profit || 0))))+\" \")])]],2),_c('div',[(_vm.type !== 'portfolio-component')?_c('div',{staticClass:\"td\"},[[(!_vm.status.length)?_c('span',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],staticClass:\"font-bold uppercase\",attrs:{\"content\":\"Investimento rodando\"}},[_vm._v(\" Ativo \")]):(_vm.status.length === 1)?_c('span',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],staticClass:\"font-bold uppercase\",class:_vm.status[0].color,attrs:{\"content\":_vm.status[0].tooltip}},[_vm._v(\" \"+_vm._s(_vm.status[0].name)+\" \")]):(_vm.status.length > 1)?_vm._l((_vm.status),function(item){return _c('span',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],key:item.name,staticClass:\"px-2 font-bold uppercase\",class:item.color,attrs:{\"content\":item.tooltip}},[_vm._v(\" \"+_vm._s(item.name.charAt(0))+\" \")])}):_vm._e()]],2):_vm._e()]),(_vm.headers.find((item) => item.key === 'max_daily_loss').active)?_c('div',{staticClass:\"td\"},[(_vm.investment.strategy_market === 'Equities')?_c('p',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],staticClass:\"whitespace-nowrap\",attrs:{\"content\":\"Ganho por operação\"}},[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")((_vm.investment.max_loss * -1)))),(_vm.investment.limit_type === 'PER_TRADE')?_c('span',{staticClass:\"text-xs text-gray-500\"},[_vm._v(\"/op.\")]):_vm._e()]):[(_vm.investment.max_daily_loss)?_c('p',{staticClass:\"whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")(_vm.investment.max_daily_loss ? _vm.investment.max_daily_loss : \"-\"))+\" \")]):_c('p',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({\n arrow: true,\n theme: 'red',\n }),expression:\"{\\n arrow: true,\\n theme: 'red',\\n }\"}],staticClass:\"flex items-center space-x-2\",attrs:{\"content\":\"Estratégia sem limite de perda configurado\"}},[_c('span',[_vm._v(\"N/D\")]),_c('i',{domProps:{\"innerHTML\":_vm._s(_vm.$icons.red_alert_sm)}})])]],2):_vm._e(),(_vm.headers.find((item) => item.key === 'max_daily_gain').active)?_c('div',{staticClass:\"td\"},[(_vm.investment.strategy_market === 'Equities')?_c('p',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],staticClass:\"whitespace-nowrap\",attrs:{\"content\":\"Ganho por operação\"}},[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")(_vm.investment.max_gain))),(_vm.investment.limit_type === 'PER_TRADE')?_c('span',{staticClass:\"text-xs text-gray-500\"},[_vm._v(\"/op.\")]):_vm._e()]):[(_vm.investment.max_daily_gain)?_c('p',{staticClass:\"whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")(_vm.investment.max_daily_gain ? _vm.investment.max_daily_gain : \"-\"))+\" \")]):_c('p',{staticClass:\"flex items-center\"},[_c('span',[_vm._v(\"N/D\")])])]],2):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n
\n \n \n
\n
\n
\n \n
\n
\n\n item.key === 'max_daily_loss').active\"\n class=\"td\"\n >\n \n {{ (investment.max_loss * -1) | currency\n }}/op.\n

\n \n \n item.key === 'max_daily_gain').active\"\n class=\"td\"\n >\n \n {{ investment.max_gain | currency\n }}/op.\n

\n \n \n \n\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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./new-list-strategy-row.component.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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./new-list-strategy-row.component.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./new-list-strategy-row.component.vue?vue&type=template&id=2ca4e25a&scoped=true\"\nimport script from \"./new-list-strategy-row.component.vue?vue&type=script&lang=js\"\nexport * from \"./new-list-strategy-row.component.vue?vue&type=script&lang=js\"\nimport style0 from \"./new-list-strategy-row.component.vue?vue&type=style&index=0&id=2ca4e25a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2ca4e25a\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}