{"version":3,"sources":["webpack:///./src/app/modules/layout-investment/components/investment/new-list-view/headers.js","webpack:///./src/app/modules/layout-investment/components/investment/settings-button.component.vue","webpack:///src/app/modules/layout-investment/components/investment/settings-button.component.vue","webpack:///./src/app/modules/layout-investment/components/investment/settings-button.component.vue?cd3a","webpack:///./src/app/modules/layout-investment/components/investment/settings-button.component.vue?696f"],"names":["label","visible","key","tooltip","optional","active","render","_vm","this","_c","_self","staticClass","on","$event","modalIsActive","domProps","_s","$icons","settings","attrs","_v","_l","optionalHeaders","column","directives","name","rawName","value","activeColumns","expression","Array","isArray","_i","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","nativeOn","selectColumns","apply","arguments","staticRenderFns","components","OntickModalComponent","OntickButtonComponent","data","defaultColumns","computed","headers","filter","item","methods","localStorage","setItem","EventBus","$emit","mounted","getLocalStorage","getItem","split","component"],"mappings":"gHAAe,QACb,CACEA,MAAO,QACPC,SAAS,EACTC,IAAK,KACLC,QAAS,MAEX,CACEH,MAAO,OACPC,SAAS,EACTC,IAAK,gBACLC,QAAS,sBAEX,CACEH,MAAO,QACPC,SAAS,EACTC,IAAK,kBACLC,QAAS,iCAEX,CACEH,MAAO,KACPC,SAAS,EACTC,IAAK,qBACLC,QAAS,YACTC,UAAU,EACVC,QAAQ,GAEV,CACEL,MAAO,UACPC,SAAS,EACTC,IAAK,kBACLC,QAAS,qBAEX,CACEH,MAAO,SACPC,SAAS,EACTC,IAAK,eACLC,QAAS,sCAEX,CACEH,MAAO,YACPC,SAAS,EACTC,IAAK,WACLC,QAAS,mCAEX,CACEH,MAAO,YACPC,SAAS,EACTC,IAAK,aACLC,QAAS,8BAEX,CAAEH,MAAO,SAAUG,QAAS,uBAAwBF,SAAS,GAC7D,CACED,MAAO,aACPG,QAAS,sBACTD,IAAK,iBACLD,SAAS,EACTG,UAAU,EACVC,QAAQ,GAEV,CACEL,MAAO,aACPG,QAAS,sBACTD,IAAK,iBACLD,SAAS,EACTG,UAAU,EACVC,QAAQ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C,EAAIyB,GAAGC,EAAIK,GAAQJ,EAAKG,QAASE,EAAI,IAAIhC,EAAIqB,cAAcK,EAAIO,OAAO,CAACF,KAAYC,GAAK,IAAIhC,EAAIqB,cAAcK,EAAIQ,MAAM,EAAEF,GAAKC,OAAOP,EAAIQ,MAAMF,EAAI,UAAWhC,EAAIqB,cAAcQ,MAAS3B,EAAG,QAAQ,CAACE,YAAY,8DAA8DQ,MAAM,CAAC,IAAMI,EAAOvB,QAAQ,CAACO,EAAIa,GAAG,IAAIb,EAAIS,GAAGO,EAAOvB,OAAO,YAAW,GAAGS,EAAG,0BAA0B,CAACiC,SAAS,CAAC,MAAQ,SAAS7B,GAAQ,OAAON,EAAIoC,cAAcC,MAAM,KAAMC,cAAc,CAACtC,EAAIa,GAAG,kBAAkB,MAAM,IAAI,IAE1+D0B,EAAkB,G,gDCwDP,GACfC,WAAA,CACAC,kCACAC,8BAGAC,OACA,OACApC,eAAA,EACAc,cAAA,GACAuB,eAAA,yBAIAC,SAAA,CACA9B,kBACA,OAAA+B,OAAAC,OAAAC,KAAAnD,YAIAoD,QAAA,CACAb,gBACAc,aAAAC,QAAA,uBAAA9B,eACA+B,OAAAC,MAAA,2BAAAhC,eACA,KAAAd,eAAA,IAIA+C,UACA,MAAAC,EAAAL,aAAAM,QAAA,mBACAD,GACA,KAAAlC,cAAAkC,EAAAE,MAAA,KACAL,OAAAC,MAAA,2BAAAhC,iBAEA6B,aAAAC,QAAA,uBAAAP,gBACAQ,OAAAC,MAAA,2BAAAT,gBACA,KAAAvB,cAAA,KAAAuB,kBC9F4b,I,YCOxbc,EAAY,eACd,EACA3D,EACAwC,GACA,EACA,KACA,KACA,MAIa,aAAAmB,E","file":"js/chunk-7bf07364.fb04ae08.js","sourcesContent":["export default [\n {\n label: \"Ações\",\n visible: false,\n key: null,\n tooltip: null,\n },\n {\n label: \"Nome\",\n visible: true,\n key: \"strategy_name\",\n tooltip: \"Nome da estratégia\",\n },\n {\n label: \"Ativo\",\n visible: true,\n key: \"strategy_symbol\",\n tooltip: \"Ativo operado pela estratégia\",\n },\n {\n label: \"TF\",\n visible: true,\n key: \"strategy_timeframe\",\n tooltip: \"Timeframe\",\n optional: true,\n active: true,\n },\n {\n label: \"Posição\",\n visible: true,\n key: \"position_status\",\n tooltip: \"Status da posição\",\n },\n {\n label: \"Volume\",\n visible: true,\n key: \"param_volume\",\n tooltip: \"Volume posicionados/parametrizados\",\n },\n {\n label: \"Resultado\",\n visible: true,\n key: \"open_pnl\",\n tooltip: \"Resultado da operação em aberto\",\n },\n {\n label: \"Acumulado\",\n visible: true,\n key: \"closed_pnl\",\n tooltip: \"Resultado acumulado do dia\",\n },\n { label: \"Status\", tooltip: \"Status da estratégia\", visible: true },\n {\n label: \"Perda máx.\",\n tooltip: \"Ganho máximo diário\",\n key: \"max_daily_loss\",\n visible: true,\n optional: true,\n active: false,\n },\n {\n label: \"Ganho máx.\",\n tooltip: \"Perda máxima diária\",\n key: \"max_daily_gain\",\n visible: true,\n optional: true,\n active: false,\n },\n];\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"h-full\"},[_c('button',{staticClass:\"border-ontick-steel-200 dark:border-ontick-steel-600 dark:bg-ontick-steel-700 h-full items-center rounded-lg border bg-gray-200 px-2 text-sm font-medium text-gray-400 focus:outline-none\",on:{\"click\":function($event){_vm.modalIsActive = true}}},[_c('i',{domProps:{\"innerHTML\":_vm._s(_vm.$icons.settings)}})]),_c('portal',{attrs:{\"to\":\"modal\"}},[_c('ontick-modal-component',{staticClass:\"text-gray-300\",attrs:{\"open\":_vm.modalIsActive},on:{\"close\":function($event){_vm.modalIsActive = false}}},[_c('div',{staticClass:\"space-y-4\"},[_c('p',{staticClass:\"border-ontick-steel-500 border-b-2 pb-4 text-2xl font-bold\"},[_vm._v(\" Colunas \")]),_c('div',{staticClass:\"space-y-2\"},_vm._l((_vm.optionalHeaders),function(column){return _c('div',{key:column.key,staticClass:\"flex items-center space-x-4\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.activeColumns),expression:\"activeColumns\"}],staticClass:\"border-ontick-blue-600 text-ontick-blue-600 ring-ontick-red-600 h-4 w-4 appearance-none rounded border-2 bg-transparent dark:border-gray-300\",attrs:{\"type\":\"checkbox\",\"id\":column.key,\"name\":column.label},domProps:{\"value\":column.key,\"checked\":Array.isArray(_vm.activeColumns)?_vm._i(_vm.activeColumns,column.key)>-1:(_vm.activeColumns)},on:{\"change\":function($event){var $$a=_vm.activeColumns,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=column.key,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.activeColumns=$$a.concat([$$v]))}else{$$i>-1&&(_vm.activeColumns=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.activeColumns=$$c}}}}),_c('label',{staticClass:\"text-ontick-carbon-900 text-sm font-bold dark:text-gray-300\",attrs:{\"for\":column.label}},[_vm._v(\" \"+_vm._s(column.label)+\" \")])])}),0),_c('ontick-button-component',{nativeOn:{\"click\":function($event){return _vm.selectColumns.apply(null, arguments)}}},[_vm._v(\" Confirmar \")])],1)])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n \n Colunas\n \n \n \n \n \n {{ column.label }}\n \n \n \n \n Confirmar\n \n \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!./settings-button.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!./settings-button.component.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./settings-button.component.vue?vue&type=template&id=8cf88814\"\nimport script from \"./settings-button.component.vue?vue&type=script&lang=js\"\nexport * from \"./settings-button.component.vue?vue&type=script&lang=js\"\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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
\n Colunas\n