{"version":3,"sources":["webpack:///./src/app/modules/layout-investment/components/investment/card-investment/card-strategy/card-strategy-running.component.vue?fb44","webpack:///./src/app/modules/layout-investment/components/investment/card-investment/card-strategy/card-strategy-running.component.vue","webpack:///src/app/modules/layout-investment/components/investment/card-investment/card-strategy/card-strategy-running.component.vue","webpack:///./src/app/modules/layout-investment/components/investment/card-investment/card-strategy/card-strategy-running.component.vue?a5f4","webpack:///./src/app/modules/layout-investment/components/investment/card-investment/card-strategy/card-strategy-running.component.vue?a032"],"names":["render","_vm","this","_c","_self","staticClass","item","strategy_market","directives","name","rawName","value","arrow","theme","max_daily_loss","expression","attrs","limit_type","_v","_e","_s","_f","max_loss","interactive","domProps","$icons","info","red_alert_sm","tooltip","strategy_symbol","volume_type","class","curr_positions","length","multiSymbolVolume","param_volume","position_status","position_volume","max_gain","max_daily_gain","staticRenderFns","props","type","Object","computed","maxLoss","maxGain","types","FIN_VOLUME","curr_volume","QUANTITY","reduce","acc","curr","watch","component"],"mappings":"2IAAA,W,2CCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,MAAM,CAA+B,aAA7BF,EAAIK,KAAKC,gBAAgCJ,EAAG,MAAM,CAACK,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAO,CACvNC,OAAO,EACPC,MAAmC,IAA5BZ,EAAIK,KAAKQ,eAAuB,MAAQ,SAC9CC,WAAW,kGAAkGC,MAAM,CAAC,QAAkC,cAAxBf,EAAIK,KAAKW,WACpI,qBACA,wBAAwB,CAA0B,cAAxBhB,EAAIK,KAAKW,WAA4Bd,EAAG,IAAI,CAACE,YAAY,cAAc,CAACJ,EAAIiB,GAAG,iBAA0C,UAAxBjB,EAAIK,KAAKW,WAAwBd,EAAG,IAAI,CAACE,YAAY,cAAc,CAACJ,EAAIiB,GAAG,kBAAkBjB,EAAIkB,KAA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K,QAAQC,QAAQ,UAAUC,MAAO,CAAEC,OAAO,EAAMC,MAAO,SAAWE,WAAW,oCAAoCC,MAAM,CAAC,QAAU,wBAAwB,CAACb,EAAG,IAAI,CAACE,YAAY,yBAAyB,CAACJ,EAAIiB,GAAG,gBAAgBf,EAAG,IAAI,CAACE,YAAY,8FAA8F,CAA6B,GAA3BJ,EAAIK,KAAKiC,eAAqBpC,EAAG,OAAO,CAACF,EAAIiB,GAAG,IAAIjB,EAAImB,GAAGnB,EAAIoB,GAAG,WAAPpB,CAAmBA,EAAIK,KAAKiC,iBAAiB,OAAOpC,EAAG,OAAO,CAACE,YAAY,2CAA2C,CAACF,EAAG,OAAO,CAACF,EAAIiB,GAAG,sBAEj/BsB,EAAkB,GC+KP,GACfC,MAAA,CACAnC,KAAA,CACAoC,KAAAC,SAIAC,SAAA,CACAC,UACA,wBAAAvC,KAAAC,iBACA,OAAAD,KAAAgB,SACA,KAAAhB,KAAAQ,gBAEAgC,UACA,wBAAAxC,KAAAC,gBACA,KAAAD,KAAAgC,SACA,KAAAhC,KAAAiC,gBAEAX,UACA,qBAAAtB,KAAAC,gBAAA,CACA,MAAAwC,EAAA,CACAC,WAAA,4DAAA1C,KAAA2C,eACAC,SAAA,qDAEA,OAAAH,EAAA,KAAAzC,KAAAwB,aAEA,8CAGAI,oBACA,YAAA5B,KAAA0B,eACA,KAAA1B,KAAA0B,eAAAmB,OAAA,CAAAC,EAAAC,IACAD,GAAAC,EAAAhB,iBAAA,GACA,GAEA,IAIAiB,MAAA,ICvPge,I,wBCQ5dC,EAAY,eACd,EACAvD,EACAwC,GACA,EACA,KACA,WACA,MAIa,aAAAe,E","file":"js/chunk-3e0d0bf2.e0b742ae.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!./card-strategy-running.component.vue?vue&type=style&index=0&id=47d8d47d&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"grid grid-cols-3\"},[_c('div',[(_vm.item.strategy_market === 'Equities')?_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({\n arrow: true,\n theme: _vm.item.max_daily_loss === 0 ? 'red' : 'green',\n }),expression:\"{\\n arrow: true,\\n theme: item.max_daily_loss === 0 ? 'red' : 'green',\\n }\"}],attrs:{\"content\":_vm.item.limit_type === 'PER_TRADE'\n ? 'Perda por operação'\n : 'Perda máxima diária'}},[(_vm.item.limit_type === 'PER_TRADE')?_c('p',{staticClass:\"label_card\"},[_vm._v(\" Perda/op. \")]):(_vm.item.limit_type === 'DAILY')?_c('p',{staticClass:\"label_card\"},[_vm._v(\" Perda máx. \")]):_vm._e(),_c('p',{staticClass:\"text-ontick-red-600 dark:text-ontick-red-500 text-left text-xs font-medium sm:text-sm\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")((_vm.item.max_loss * -1)))+\" \")])])]):_c('div',[_c('p',{staticClass:\"label_card\"},[_vm._v(\"Perda máx.\")]),_c('div',{staticClass:\"text-ontick-red-600 dark:text-ontick-red-500 text-left text-xs font-medium sm:text-sm\"},[(_vm.item.max_daily_loss != 0)?_c('div',{staticClass:\"flex items-center justify-start space-x-1\"},[_c('span',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({\n arrow: true,\n theme: _vm.item.max_daily_loss === 0 ? 'red' : 'green',\n }),expression:\"{\\n arrow: true,\\n theme: item.max_daily_loss === 0 ? 'red' : 'green',\\n }\"}],staticClass:\"whitespace-nowrap\",attrs:{\"content\":_vm.item.max_daily_loss === 0\n ? 'Estratégia sem limite de perda configurado'\n : 'Perda máxima diária'}},[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")(_vm.item.max_daily_loss))+\" \")]),_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({\n arrow: true,\n theme: 'green',\n interactive: true,\n }),expression:\"{\\n arrow: true,\\n theme: 'green',\\n interactive: true,\\n }\"}],staticClass:\"scale-90 transform\",attrs:{\"content\":\"

É possível que a perda máxima diária seja maior que a informada. Saiba mais

\"}},[_c('i',{staticClass:\"text-gray-400\",domProps:{\"innerHTML\":_vm._s(_vm.$icons.info)}})])]):_c('span',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({\n arrow: true,\n theme: _vm.item.max_daily_loss === 0 ? 'red' : 'green',\n }),expression:\"{\\n arrow: true,\\n theme: item.max_daily_loss === 0 ? 'red' : 'green',\\n }\"}],staticClass:\"flex items-center space-x-2\",attrs:{\"content\":_vm.item.max_daily_loss === 0\n ? 'Estratégia sem limite de perda configurado'\n : 'Perda máxima diária'}},[_c('span',[_vm._v(\" N/D \")]),_c('i',{domProps:{\"innerHTML\":_vm._s(_vm.$icons.red_alert_sm)}})])])])]),_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],attrs:{\"content\":_vm.tooltip}},[_c('p',{staticClass:\"label_card text-center\"},[_vm._v(\"Volume\")]),_c('p',{staticClass:\"text-ontick-steel-500 whitespace-nowrap text-center text-xs font-semibold dark:text-gray-400 sm:text-sm\"},[(_vm.item.strategy_symbol === 'ANY')?[(_vm.item.volume_type === 'FIN_VOLUME')?_c('span',{class:_vm.item.curr_positions.length\n ? 'font-bold text-gray-200'\n : 'text-gray-400'},[_vm._v(\" \"+_vm._s(!_vm.item.curr_positions.length ? \"-/-\" : _vm.multiSymbolVolume)+\" \")]):(_vm.item.volume_type === 'QUANTITY')?_c('span',{class:_vm.item.curr_positions.length != 'Zerado'\n ? 'font-bold dark:text-gray-200'\n : 'text-gray-400'},[_vm._v(\" \"+_vm._s(!_vm.item.curr_positions.length ? \"-\" : _vm.multiSymbolVolume)+\"/\"+_vm._s(_vm.item.param_volume)+\" \")]):_vm._e()]:(_vm.item.strategy_market === 'Equities')?[(_vm.item.volume_type === 'FIN_VOLUME')?_c('span',{class:_vm.item.position_status != 'Zerado'\n ? 'font-bold text-gray-200'\n : 'text-gray-400'},[_vm._v(\" \"+_vm._s(_vm.item.position_status === \"Zerado\" ? \"-/-\" : _vm.item.position_volume)+\" \")]):(_vm.item.volume_type === 'QUANTITY')?_c('span',{class:_vm.item.position_status != 'Zerado'\n ? 'font-bold dark:text-gray-200'\n : 'text-gray-400'},[_vm._v(\" \"+_vm._s(_vm.item.position_status == \"Zerado\" ? \"-\" : _vm.item.position_volume)+\"/\"+_vm._s(_vm.item.param_volume)+\" \")]):_vm._e()]:[_c('span',{class:_vm.item.position_status != 'Zerado'\n ? 'text-ontick-steel-400 font-bold dark:text-gray-200'\n : 'text-ontick-steel-500 dark:text-gray-400'},[_vm._v(_vm._s(_vm.item.position_volume == 0 && _vm.item.position_status == \"Zerado\" ? \"-\" : _vm.item.position_volume)+\" \")]),_vm._v(\" / \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.item.param_volume)+\" \")])]],2)]),_c('div',[(_vm.item.strategy_market === 'Equities')?_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],attrs:{\"content\":_vm.item.limit_type === 'PER_TRADE'\n ? 'Ganho por operação'\n : 'Ganho máximo diário'}},[(_vm.item.limit_type === 'PER_TRADE')?_c('p',{staticClass:\"label_card text-right\"},[_vm._v(\" Ganho/op. \")]):(_vm.item.limit_type === 'DAILY')?_c('p',{staticClass:\"label_card text-right\"},[_vm._v(\" Ganho máx. \")]):_vm._e(),_c('p',{staticClass:\"text-ontick-green-700 dark:text-ontick-green-500 text-right text-xs font-medium sm:text-sm\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")(_vm.item.max_gain)))])])]):_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],attrs:{\"content\":\"Ganho máximo diário\"}},[_c('p',{staticClass:\"label_card text-right\"},[_vm._v(\"Ganho máx.\")]),_c('p',{staticClass:\"text-ontick-green-700 dark:text-ontick-green-500 text-right text-xs font-medium sm:text-sm\"},[(_vm.item.max_daily_gain != 0)?_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")(_vm.item.max_daily_gain))+\" \")]):_c('span',{staticClass:\"flex items-center justify-end space-x-2\"},[_c('span',[_vm._v(\" N/D \")])])])])])])\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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./card-strategy-running.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!./card-strategy-running.component.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./card-strategy-running.component.vue?vue&type=template&id=47d8d47d&scoped=true\"\nimport script from \"./card-strategy-running.component.vue?vue&type=script&lang=js\"\nexport * from \"./card-strategy-running.component.vue?vue&type=script&lang=js\"\nimport style0 from \"./card-strategy-running.component.vue?vue&type=style&index=0&id=47d8d47d&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 \"47d8d47d\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}