{"version":3,"sources":["webpack:///./src/views/Payment/Controlling/Dealer/DealerPaymentOverview/DealerRoundSummary/index.vue?e8a5","webpack:///./src/views/Payment/components/EntitySelector.vue?bdb4","webpack:///./src/views/Payment/components/EntitySelector.vue","webpack:///./src/views/Payment/components/EntitySelector.vue?1a1c","webpack:///./src/views/Payment/Controlling/Dealer/DealerPaymentOverview/DealerRoundSummary/index.vue?5e9d","webpack:///./src/views/Payment/Mgmt/components/entityWrapper.vue?7b86","webpack:///./src/views/Payment/Mgmt/components/entityWrapper.vue","webpack:///./src/views/Payment/Mgmt/components/entityWrapper.vue?5f49","webpack:///./src/views/Payment/Controlling/Dealer/DealerPaymentOverview/DealerRoundSummary/index.vue?43ab","webpack:///./src/hooks/payment/controlling/Dealer/DealerPaymentOverview/DealerRoundSummary/useDealerRoundSummary.ts","webpack:///./src/views/Payment/Controlling/Dealer/DealerPaymentOverview/DealerRoundSummary/entity.vue?0313","webpack:///./src/views/Payment/Controlling/Dealer/DealerPaymentOverview/DealerRoundSummary/entity.vue","webpack:///./src/views/Payment/Controlling/Dealer/DealerPaymentOverview/DealerRoundSummary/entity.vue?5b65","webpack:///./src/views/Payment/Controlling/Dealer/DealerPaymentOverview/DealerRoundSummary/index.vue","webpack:///./src/views/Payment/Controlling/Dealer/DealerPaymentOverview/DealerRoundSummary/index.vue?6770","webpack:///./node_modules/@ant-design/icons-svg/es/asn/FileTextOutlined.js","webpack:///./node_modules/@ant-design/icons-vue/es/icons/FileTextOutlined.js","webpack:///./src/assets/images/claim/rect.png","webpack:///./src/views/Payment/Mgmt/components/entityWrapper.vue?fb2e","webpack:///./src/hooks/useModel.ts","webpack:///./src/views/Payment/Controlling/Dealer/DealerPaymentOverview/DealerRoundSummary/entity.vue?aadc","webpack:///./src/utils/payment/numberFormat.ts"],"names":["render","_ctx","_cache","$props","$setup","$data","$options","_component_a_select_option","_component_a_select","$attrs","value","_value","$event","placeholder","default","entityList","entity","key","entityName","vlaue","_","props","isDefault","type","Boolean","String","setup","state","useModel","user","length","setDefaultValue","reset","__exports__","_withScopeId","n","_hoisted_1","class","_hoisted_2","style","heightStyle","$slots","undefined","name","src","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_component_FileTextOutlined","_component_a_button","_component_a_divider","_component_a_tooltip","_component_a_space","_component_entity","_component_entity_wrapper","_component_entity_selector","_component_a_modal","payoutRound","disabled","size","onClick","handleDownloadPaymentOverview","icon","placement","title","isHasMBCL","isInRound","handleShowSelectVersionEntityDialog","args","handleShowSelectEntityDialog","data","pageData","okText","visible","selectEntityDialogVisiable","onOk","handleGeneratePayoutSummary","okButtonProps","generateSelectedEntity","isApproved","selectEntityVersionDialogVisiable","handleDownloadPayoutSummary","downloadSelectedVersion","downloadSelectedEntity","mode","maxTagCount","maxTagTextLength","versions","version","originColumns","dataIndex","width","align","slots","customRender","useDealerPayout","getData","then","res","dynamicColumns","vatheader","map","item","content","forEach","columns","concat","normalPayment","index","id","rePayment","some","entityData","find","buData","filter","color","businessUnit","Set","getVersions","versionName","immediate","generatePayoutSummary","summaryLogs","bu","push","message","success","downloadPayoutSummary","console","log","includes","JSON","parse","text","code","error","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_component_RightOutlined","_component_a_table","_component_a_collapse_panel","_component_a_collapse","activeKey","expandIconPosition","expandIcon","isActive","rotate","toString","header","toThousandsAndTwoDecimal","payoutAmountWVat","payoutAmountWoVat","dataSource","rowKey","pagination","rowClassName","getRowClass","status","record","formatThousand","bold","components","RightOutlined","Array","required","FileTextOutlined","EntityWrapper","Entity","EntitySelector","route","useDealerRoundSummary","params","_objectSpread","target","i","arguments","source","Object","ownKeys","keys","getOwnPropertySymbols","sym","getOwnPropertyDescriptor","enumerable","_defineProperty","obj","defineProperty","configurable","writable","context","p","attrs","AntdIcon","displayName","inheritAttrs","module","exports","emit","get","set","val","count","indexOf","Number","toFixed","replace","$0","$1","toThousands","substring","Math","round"],"mappings":"kHAAA,W,6ECEO,SAASA,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAA6B,8BAAkB,mBAC/CC,EAAsB,8BAAkB,YAE9C,OAAQ,yBAAc,yBAAaA,EAAqB,wBAAYP,EAAKQ,OAAQ,CAC/EC,MAAOT,EAAKU,OACZ,iBAAkBT,EAAO,KAAOA,EAAO,GAAK,SAACU,GAAgB,OAAEX,EAAW,OAAIW,IAC9EC,YAAa,kBACX,CACFC,QAAS,sBAAS,WAAM,QACrB,wBAAW,GAAO,gCAAoB,cAAW,KAAM,wBAAYb,EAAKc,YAAY,SAACC,GACpF,OAAQ,yBAAc,yBAAaT,EAA4B,CAC7DU,IAAKD,EAAOE,WACZC,MAAOH,EAAOE,YACb,CACDJ,QAAS,sBAAS,WAAM,OACtB,6BAAiB,6BAAiBE,EAAOE,YAAa,OAExDE,EAAG,GACF,KAAM,CAAC,aACR,UAENA,EAAG,GACF,GAAI,CAAC,U,4BCrBK,+BAAgB,CAC7BC,MAAO,CACLC,UAAW,CACTC,KAAMC,QACNV,SAAS,GAEXJ,MAAO,CACLa,KAAME,SAGVC,MAAK,SAACL,GACJ,IAeQM,EAAU,iBAAU,MACtBhB,EAAS,OAAAiB,EAAA,MAASP,EAAO,SACzBN,EAAaY,EAAME,KAAKd,WAAWe,OAASH,EAAME,KAAKd,WAAa,CACxE,CACEG,WAAY,QAEd,CACEA,WAAY,QAEd,CACEA,WAAY,QAEd,CACEA,WAAY,UAIVa,EAAkB,WAClBV,EAAMC,YAAcX,EAAOD,QACzBK,EAAWe,OAAS,EACtBnB,EAAOD,MAAQK,EAAW,GAAGG,WAE7BP,EAAOD,MAAQ,KAIfsB,EAAQ,WACPX,EAAMC,YACHP,EAAWe,OAAS,EACxBnB,EAAOD,MAAQK,EA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R,EAAMC,QAAQ,KAAO,GAExCD,EAGXA,EAAQE,OAAOF,GAGjB,OADAA,EAAQS,KAAKC,MAAMV,GACZA,EACJtD,WACA0D,QAAQ,uBAAuB,S","file":"js/chunk-32664b16.84eae305.js","sourcesContent":["export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/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-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=1&id=481362d2&lang=scss\"","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, mergeProps as _mergeProps } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n\n return (_openBlock(), _createBlock(_component_a_select, _mergeProps(_ctx.$attrs, {\n value: _ctx._value,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx._value) = $event)),\n placeholder: \"Please select\"\n }), {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.entityList, (entity) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n key: entity.entityName,\n vlaue: entity.entityName\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(entity.entityName), 1)\n ]),\n _: 2\n }, 1032, [\"vlaue\"]))\n }), 128))\n ]),\n _: 1\n }, 16, [\"value\"]))\n}","\nimport { defineComponent, PropType } from \"vue\";\nimport { useStore } from \"vuex\";\nimport useModel from \"@/hooks/useModel\";\nexport default defineComponent({\n props: {\n isDefault: {\n type: Boolean,\n default: false,\n },\n value: {\n type: String as PropType,\n },\n },\n setup(props) {\n const mockData = [\n // {\n // entityName: \"BBAC\",\n // },\n {\n entityName: \"FBAC\",\n },\n {\n entityName: \"MBCL\",\n },\n {\n entityName: \"DENZA\",\n },\n ];\n\n const { state } = useStore();\n const _value = useModel(props, \"value\");\n const entityList = state.user.entityList.length ? state.user.entityList : [\n {\n entityName: \"BBAC\",\n },\n {\n entityName: \"FBAC\",\n },\n {\n entityName: \"MBCL\",\n },\n {\n entityName: \"DENZA\",\n },\n ]\n // const entityList = mockData;\n const setDefaultValue = () => {\n if (props.isDefault && !_value.value) {\n if (entityList.length > 0) {\n _value.value = entityList[0].entityName;\n } else {\n _value.value = ''\n }\n }\n };\n const reset = () => {\n if (props.isDefault) {\n if (entityList.length > 0) {\n _value.value = entityList[0].entityName;\n } else {\n _value.value = ''\n }\n } \n };\n setDefaultValue();\n return {\n entityList,\n _value,\n reset\n };\n },\n});\n","import { render } from \"./EntitySelector.vue?vue&type=template&id=60a88b4d&ts=true\"\nimport script from \"./EntitySelector.vue?vue&type=script&lang=ts\"\nexport * from \"./EntitySelector.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/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-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=481362d2&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b30ed742\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"wrapper\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"wrapper-header\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"header-title\" }, \"Entity\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"header-item-wrapper\" }, [\n /*#__PURE__*/_createElementVNode(\"div\")\n ])\n], -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", {\n class: \"wrapper-content\",\n style: _normalizeStyle(_ctx.heightStyle)\n }, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ], 4)\n ]))\n}","\nimport { defineComponent, reactive } from \"vue\";\nexport default defineComponent({\n name: \"entityWrapper\",\n props: {},\n setup() {\n const heightStyle = reactive({\n // height: \"300px\"\n })\n return {\n heightStyle\n };\n },\n});\n","import { render } from \"./entityWrapper.vue?vue&type=template&id=b30ed742&scoped=true&ts=true\"\nimport script from \"./entityWrapper.vue?vue&type=script&lang=ts\"\nexport * from \"./entityWrapper.vue?vue&type=script&lang=ts\"\n\nimport \"./entityWrapper.vue?vue&type=style&index=0&id=b30ed742&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b30ed742\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/claim/rect.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-481362d2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container m-8 bg-fff\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", null, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"rect\"\n }),\n /*#__PURE__*/_createElementVNode(\"strong\", { class: \"wrap-title\" }, \"Payout Overview\")\n], -1))\nconst _hoisted_3 = { class: \"search-main p-16\" }\nconst _hoisted_4 = { class: \"search-item d-f flex-d-c\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Payout Round\", -1))\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\" A3 Tracking \")\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"Download Payout Summary\")\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"ant-tooltip-open font_family icon-xiazai\" }, null, -1))\nconst _hoisted_9 = [\n _hoisted_8\n]\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\"Generate Payout Summary\")\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"font_family icon-GeneratePayoutRound1\" }, null, -1))\nconst _hoisted_12 = [\n _hoisted_11\n]\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \"Entity\", -1))\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \"Entity\", -1))\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", null, \"Version\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_FileTextOutlined = _resolveComponent(\"FileTextOutlined\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_divider = _resolveComponent(\"a-divider\")!\n const _component_a_tooltip = _resolveComponent(\"a-tooltip\")!\n const _component_a_space = _resolveComponent(\"a-space\")!\n const _component_entity = _resolveComponent(\"entity\")!\n const _component_entity_wrapper = _resolveComponent(\"entity-wrapper\")!\n const _component_entity_selector = _resolveComponent(\"entity-selector\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_a_select, {\n value: _ctx.payoutRound,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.payoutRound) = $event)),\n placeholder: \"Please select\",\n class: \"sel-inp-size\",\n disabled: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createVNode(_component_a_space, { size: 16 }, {\n default: _withCtx(() => [\n _createVNode(_component_a_button, { onClick: _ctx.handleDownloadPaymentOverview }, {\n icon: _withCtx(() => [\n _createVNode(_component_FileTextOutlined)\n ]),\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_divider, { type: \"vertical\" }),\n _createVNode(_component_a_tooltip, { placement: \"topRight\" }, {\n title: _withCtx(() => [\n _hoisted_7\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"btn\", { disabled: !(_ctx.isHasMBCL && _ctx.isInRound) }]),\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.handleShowSelectVersionEntityDialog && _ctx.handleShowSelectVersionEntityDialog(...args)))\n }, _hoisted_9, 2)\n ]),\n _: 1\n }),\n _createVNode(_component_a_tooltip, { placement: \"topRight\" }, {\n title: _withCtx(() => [\n _hoisted_10\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"btn\", { disabled: !(_ctx.isHasMBCL && _ctx.isInRound) }]),\n onClick: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.handleShowSelectEntityDialog && _ctx.handleShowSelectEntityDialog(...args)))\n }, _hoisted_12, 2)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _createVNode(_component_entity_wrapper, { class: \"entity-panel\" }, {\n default: _withCtx(() => [\n (_ctx.payoutRound)\n ? (_openBlock(), _createBlock(_component_entity, {\n key: 0,\n data: _ctx.pageData\n }, null, 8, [\"data\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_a_modal, {\n class: \"payment-dialog\",\n title: \"Select Entity\",\n okText: \"Confirm\",\n visible: _ctx.selectEntityDialogVisiable,\n \"onUpdate:visible\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.selectEntityDialogVisiable) = $event)),\n onOk: _ctx.handleGeneratePayoutSummary,\n okButtonProps: {\n disabled: _ctx.generateSelectedEntity !== 'MBCL' || !_ctx.isApproved\n }\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"p\", null, [\n _hoisted_13,\n _createVNode(_component_entity_selector, {\n value: _ctx.generateSelectedEntity,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.generateSelectedEntity) = $event))\n }, null, 8, [\"value\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onOk\", \"okButtonProps\"]),\n _createVNode(_component_a_modal, {\n class: \"payment-dialog\",\n title: \"Select\",\n okText: \"Confirm\",\n visible: _ctx.selectEntityVersionDialogVisiable,\n \"onUpdate:visible\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.selectEntityVersionDialogVisiable) = $event)),\n onOk: _ctx.handleDownloadPayoutSummary,\n okButtonProps: {\n disabled: !_ctx.downloadSelectedVersion || _ctx.downloadSelectedVersion.length == 0\n }\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"p\", null, [\n _hoisted_14,\n _createVNode(_component_entity_selector, {\n value: _ctx.downloadSelectedEntity,\n \"onUpdate:value\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.downloadSelectedEntity) = $event))\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"p\", null, [\n _hoisted_15,\n _createVNode(_component_a_select, {\n value: _ctx.downloadSelectedVersion,\n \"onUpdate:value\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.downloadSelectedVersion) = $event)),\n placeholder: \"Please select\",\n class: \"sel-inp-size version-selector\",\n mode: \"multiple\",\n maxTagCount: 1,\n maxTagTextLength: 3\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.versions, (version) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: version }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(version), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onOk\", \"okButtonProps\"])\n ]))\n}","import { ref, watch, computed } from 'vue';\nimport type {\n EntityProps,\n DataProps\n} from '@/views/Payment/Controlling/Dealer/DealerPaymentOverview/DealerRoundSummary/type';\nimport * as API from '@/API/payment';\nimport { downloadFromStream } from '@/utils/payment/downloadFile';\nimport { message } from 'ant-design-vue';\nimport { useStore } from 'vuex';\n\nconst originColumns = [\n {\n title: '',\n dataIndex: 'color',\n width: 20,\n align: 'center',\n slots: { customRender: 'status' }\n },\n {\n title: 'Business Unit',\n dataIndex: 'businessUnit',\n slots: { customRender: 'bold' },\n width: 150\n },\n {\n title: 'Period Total w/o VAT',\n dataIndex: 'periodwoVat',\n align: 'right',\n slots: { customRender: 'formatThousand' }\n }\n];\n\ninterface Version {\n versionName: string;\n}\n\nconst useDealerPayout = () => {\n const payoutRound = ref();\n const pageData = ref([]);\n\n const generateSelectedEntity = ref('MBCL');\n const downloadSelectedEntity = ref('MBCL');\n const versions = ref([]);\n const downloadSelectedVersion = ref([]);\n\n const isInRound = ref(false);\n const isApproved = ref(false);\n const getData = (payoutRound: string) => {\n API.getDealer2RoundDetailForPayout(payoutRound).then((res: any) => {\n const dynamicColumns = res.vatheader.map((item: string) => {\n return {\n title: item,\n dataIndex: item,\n align: 'right',\n slots: { customRender: 'formatThousand' }\n };\n });\n res.content.forEach((entity: EntityProps) => {\n entity.columns = originColumns.concat(dynamicColumns);\n entity.normalPayment?.forEach((item: DataProps, index: number) => {\n item.id = index;\n });\n entity.rePayment?.forEach((item: DataProps, index: number) => {\n item.id = index;\n });\n });\n pageData.value = res.content;\n isInRound.value = pageData.value.some((item: any) => item.entity === 'MBCL');\n const entityData = pageData.value.find((item) => item.entity === generateSelectedEntity.value);\n if (entityData) {\n let buData = (entityData.normalPayment ?? [])\n .filter((item) => item.color === 'green')\n .map((item) => item.businessUnit)\n .concat(\n (entityData.rePayment ?? []).filter((item) => item.color === 'green').map((item) => item.businessUnit)\n );\n buData = [...new Set(buData)];\n isApproved.value = buData.length > 0;\n }\n });\n };\n\n const getVersions = () => {\n if (payoutRound.value && downloadSelectedEntity.value) {\n API.getSummaryLogList(payoutRound.value, downloadSelectedEntity.value).then((res: any) => {\n versions.value = res.map((item: Version) => item.versionName);\n downloadSelectedVersion.value = versions.value.length > 0 ? versions.value : undefined;\n });\n }\n };\n\n watch(\n payoutRound,\n (payoutRound) => {\n if (payoutRound) {\n getData(payoutRound);\n getVersions();\n } else {\n pageData.value = [];\n versions.value = [];\n }\n },\n {\n immediate: true\n }\n );\n\n watch(downloadSelectedEntity, (entity) => {\n if (entity) {\n getVersions();\n } else {\n versions.value = [];\n }\n });\n\n const generatePayoutSummary = () => {\n const summaryLogs = [];\n const entityData = pageData.value.find((item) => item.entity === generateSelectedEntity.value);\n if (entityData) {\n let buData = (entityData.normalPayment ?? [])\n .filter((item) => item.color === 'green')\n .map((item) => item.businessUnit)\n .concat((entityData.rePayment ?? []).filter((item) => item.color === 'green').map((item) => item.businessUnit));\n buData = [...new Set(buData)];\n if (buData.length > 0) {\n for (const bu of buData) {\n summaryLogs.push({\n payoutRound: payoutRound.value,\n entity: generateSelectedEntity.value,\n bu: bu\n });\n }\n API.addSummaryLog(summaryLogs).then(() => {\n message.success('Confirm successfully.');\n getVersions();\n });\n }\n }\n };\n\n const downloadPayoutSummary = () => {\n console.log(downloadSelectedVersion.value);\n if (payoutRound.value && downloadSelectedVersion.value) {\n API.downloadPayOutSummaryByVersion(\n payoutRound.value,\n downloadSelectedVersion.value,\n generateSelectedEntity.value\n ).then((res: any) => {\n downloadFromStream(res);\n });\n }\n };\n // 判断当前entity里有没有 MBCL\n const { state } = useStore();\n const isHasMBCL = computed(() => {\n return state.user.entityList.map((item: any) => item.entityName).includes('MBCL');\n });\n\n const handleDownloadPaymentOverview = async () => {\n if (!payoutRound.value) {\n return;\n }\n const res = await API.downloadPaymentOverview(payoutRound.value);\n if (res.data.type === 'application/json') {\n const text = JSON.parse(await res.data.text());\n if (text.code !== '0') {\n message.error(text.message);\n }\n } else {\n downloadFromStream(res);\n }\n };\n return {\n payoutRound,\n versions,\n generateSelectedEntity,\n downloadSelectedEntity,\n downloadSelectedVersion,\n pageData,\n generatePayoutSummary,\n downloadPayoutSummary,\n isHasMBCL,\n isInRound,\n isApproved,\n handleDownloadPaymentOverview\n };\n};\nexport default useDealerPayout;\n","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-99c59b10\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"collapse-wrapper\" }\nconst _hoisted_2 = {\n class: \"collapse-icon-wrapper\",\n style: {\"padding\":\"5px\",\"background\":\"white\",\"border-radius\":\"20px\"}\n}\nconst _hoisted_3 = { class: \"collapse-header-wrapper\" }\nconst _hoisted_4 = { class: \"collapse-header-title\" }\nconst _hoisted_5 = { class: \"collapse-header-data\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"collapse-header-data-item-title\"\n}\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"count-title\" }, null, -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, \"Payout Amount w/oVAT\", -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, \"Payout Amount w/VAT\", -1))\nconst _hoisted_10 = [\n _hoisted_7,\n _hoisted_8,\n _hoisted_9\n]\nconst _hoisted_11 = { class: \"collapse-header-data-item\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light-color count-title\" }, \"Total Normal\", -1))\nconst _hoisted_13 = { class: \"collapse-header-data-item\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light-color count-title\" }, \"Total Repayment\", -1))\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"light-color\" }, \"Normal Payment\", -1))\nconst _hoisted_16 = {\n key: 0,\n class: \"status-circle green\"\n}\nconst _hoisted_17 = {\n key: 1,\n class: \"status-circle yellow\"\n}\nconst _hoisted_18 = {\n key: 0,\n style: {\"font-weight\":\"bold\"}\n}\nconst _hoisted_19 = { key: 1 }\nconst _hoisted_20 = { style: {\"margin-top\":\"10px\"} }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"light-color\" }, \"Repayment\", -1))\nconst _hoisted_22 = {\n key: 0,\n class: \"status-circle green\"\n}\nconst _hoisted_23 = {\n key: 1,\n class: \"status-circle yellow\"\n}\nconst _hoisted_24 = {\n key: 0,\n style: {\"font-weight\":\"bold\"}\n}\nconst _hoisted_25 = { key: 1 }\nconst _hoisted_26 = {\n key: 1,\n style: {\"text-align\":\"center\",\"color\":\"lightgray\"}\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_RightOutlined = _resolveComponent(\"RightOutlined\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_collapse_panel = _resolveComponent(\"a-collapse-panel\")!\n const _component_a_collapse = _resolveComponent(\"a-collapse\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.data.length > 0)\n ? (_openBlock(), _createBlock(_component_a_collapse, {\n key: 0,\n activeKey: _ctx.activeKey,\n \"onUpdate:activeKey\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.activeKey) = $event)),\n expandIconPosition: \"right\"\n }, {\n expandIcon: _withCtx(({ isActive }) => [\n _createElementVNode(\"span\", _hoisted_2, [\n _createVNode(_component_RightOutlined, {\n rotate: isActive ? 90 : 0\n }, null, 8, [\"rotate\"])\n ])\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.data, (item, index) => {\n return (_openBlock(), _createBlock(_component_a_collapse_panel, {\n key: index.toString()\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString(item.entity), 1),\n _createElementVNode(\"div\", _hoisted_5, [\n (index === 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, _hoisted_10))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.toThousandsAndTwoDecimal(item[\"totalNormal\"]?.payoutAmountWVat)), 1),\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.toThousandsAndTwoDecimal(item[\"totalNormal\"]?.payoutAmountWoVat)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"div\", null, _toDisplayString(item[\"totalRepayment\"] ? _ctx.toThousandsAndTwoDecimal(item[\"totalRepayment\"].payoutAmountWVat) : ''), 1),\n _createElementVNode(\"div\", null, _toDisplayString(item[\"totalRepayment\"] ? _ctx.toThousandsAndTwoDecimal(item[\"totalRepayment\"].payoutAmountWoVat) : ''), 1)\n ])\n ])\n ])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _hoisted_15,\n _createVNode(_component_a_table, {\n dataSource: item.normalPayment,\n columns: item.columns,\n rowKey: \"id\",\n pagination: false,\n rowClassName: _ctx.getRowClass(item.normalPayment)\n }, {\n status: _withCtx(({record}) => [\n (record.color === 'green')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16))\n : _createCommentVNode(\"\", true),\n (record.color === 'yellow')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_17))\n : _createCommentVNode(\"\", true)\n ]),\n formatThousand: _withCtx(({text}) => [\n _createTextVNode(_toDisplayString(_ctx.toThousandsAndTwoDecimal(text)), 1)\n ]),\n bold: _withCtx(({text, index}) => [\n (index===item.normalPayment.length-1)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, _toDisplayString(text), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_19, _toDisplayString(text), 1))\n ]),\n _: 2\n }, 1032, [\"dataSource\", \"columns\", \"rowClassName\"])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _hoisted_21,\n _createVNode(_component_a_table, {\n dataSource: item.rePayment,\n columns: item.columns,\n rowKey: \"id\",\n pagination: false,\n rowClassName: _ctx.getRowClass(item.normalPayment)\n }, {\n status: _withCtx(({record}) => [\n (record.color === 'green')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_22))\n : _createCommentVNode(\"\", true),\n (record.color === 'yellow')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_23))\n : _createCommentVNode(\"\", true)\n ]),\n formatThousand: _withCtx(({text}) => [\n _createTextVNode(_toDisplayString(_ctx.toThousandsAndTwoDecimal(text)), 1)\n ]),\n bold: _withCtx(({text, index}) => [\n (index===item.rePayment.length-1)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_24, _toDisplayString(text), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_25, _toDisplayString(text), 1))\n ]),\n _: 2\n }, 1032, [\"dataSource\", \"columns\", \"rowClassName\"])\n ])\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"activeKey\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_26, \"No Data\"))\n ]))\n}","\nimport { defineComponent, ref } from \"vue\"\nimport type { PropType } from \"vue\"\nimport { RightOutlined } from \"@ant-design/icons-vue\"\nimport { toThousandsAndTwoDecimal } from '@/utils/payment/numberFormat'\nimport type { DataProps } from \"./type\"\nexport default defineComponent({\n name: \"entity\",\n components: {\n RightOutlined,\n },\n props: {\n data: {\n type: Array as PropType,\n required: true,\n default: () => []\n },\n },\n setup() {\n const getRowClass = (data: DataProps[]) => {\n return (record: DataProps, index: number) => {\n if (index + 1 === (data ?? []).length) {\n return \"table-total\";\n } else {\n if (index % 2 === 1) {\n return \"table-striped\";\n } else {\n return null;\n }\n }\n };\n };\n const activeKey = ref([\"0\"]);\n return {\n getRowClass,\n activeKey,\n toThousandsAndTwoDecimal\n };\n }\n});\n","import { render } from \"./entity.vue?vue&type=template&id=99c59b10&scoped=true&ts=true\"\nimport script from \"./entity.vue?vue&type=script&lang=ts\"\nexport * from \"./entity.vue?vue&type=script&lang=ts\"\n\nimport \"./entity.vue?vue&type=style&index=0&id=99c59b10&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-99c59b10\"]])\n\nexport default __exports__","\nimport { defineComponent, ref } from 'vue';\nimport { useRoute } from 'vue-router';\nimport { FileTextOutlined } from '@ant-design/icons-vue';\nimport useDealerRoundSummary from '@/hooks/payment/controlling/Dealer/DealerPaymentOverview/DealerRoundSummary/useDealerRoundSummary';\nimport EntityWrapper from '@/views/Payment/Mgmt/components/entityWrapper.vue';\nimport Entity from './entity.vue';\nimport EntitySelector from '@/views/Payment/components/EntitySelector.vue';\nexport default defineComponent({\n name: 'paymentTracking',\n components: {\n FileTextOutlined,\n EntityWrapper,\n Entity,\n EntitySelector\n },\n setup() {\n const route = useRoute();\n\n const {\n payoutRound,\n pageData,\n versions,\n generateSelectedEntity,\n downloadSelectedEntity,\n downloadSelectedVersion,\n generatePayoutSummary,\n downloadPayoutSummary,\n isHasMBCL,\n isInRound,\n isApproved,\n handleDownloadPaymentOverview\n } = useDealerRoundSummary();\n payoutRound.value = route.params.payoutRound as string;\n\n const selectEntityDialogVisiable = ref(false);\n\n const handleShowSelectEntityDialog = () => {\n if (isHasMBCL.value && isInRound.value) {\n generateSelectedEntity.value = 'MBCL';\n selectEntityDialogVisiable.value = true;\n }\n };\n\n const selectEntityVersionDialogVisiable = ref(false);\n\n const handleShowSelectVersionEntityDialog = () => {\n if (isHasMBCL.value && isInRound.value) {\n downloadSelectedEntity.value = 'MBCL';\n selectEntityVersionDialogVisiable.value = true;\n }\n };\n\n const handleGeneratePayoutSummary = () => {\n generatePayoutSummary();\n selectEntityDialogVisiable.value = false;\n };\n\n const handleDownloadPayoutSummary = () => {\n downloadPayoutSummary();\n selectEntityVersionDialogVisiable.value = false;\n };\n\n return {\n pageData,\n payoutRound,\n selectEntityDialogVisiable,\n handleShowSelectEntityDialog,\n selectEntityVersionDialogVisiable,\n handleShowSelectVersionEntityDialog,\n versions,\n generateSelectedEntity,\n downloadSelectedEntity,\n downloadSelectedVersion,\n handleGeneratePayoutSummary,\n handleDownloadPayoutSummary,\n isHasMBCL,\n isInRound,\n isApproved,\n handleDownloadPaymentOverview\n };\n }\n});\n","import { render } from \"./index.vue?vue&type=template&id=481362d2&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=481362d2&lang=scss&scoped=true\"\nimport \"./index.vue?vue&type=style&index=1&id=481362d2&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-481362d2\"]])\n\nexport default __exports__","// This icon file is generated automatically.\nvar FileTextOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z\" } }] }, \"name\": \"file-text\", \"theme\": \"outlined\" };\nexport default FileTextOutlined;\n","import * as _vue from \"vue\";\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport FileTextOutlinedSvg from \"@ant-design/icons-svg/es/asn/FileTextOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar FileTextOutlined = function FileTextOutlined(props, context) {\n var p = _objectSpread({}, props, context.attrs);\n\n return _vue.createVNode(AntdIcon, _vue.mergeProps(p, {\n \"icon\": FileTextOutlinedSvg\n }), null);\n};\n\nFileTextOutlined.displayName = 'FileTextOutlined';\nFileTextOutlined.inheritAttrs = false;\nexport default FileTextOutlined;","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAA6ADAAQAAAABAAAAEAAAAABTVpExAAAARklEQVQIHWNgWPf+GcO6Dx0MV/+zsTD8Z5BkYPhfznDzIwMTAxz8j0NwgCoQHKAK+nMYGZ4jWcq4iIUBKMLAwLiIQZ2/DgAi2RE9IOkxIAAAAABJRU5ErkJggg==\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/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-v16/dist/index.js??ref--1-1!./entityWrapper.vue?vue&type=style&index=0&id=b30ed742&lang=scss&scoped=true\"","import { computed, getCurrentInstance } from \"vue\";\n\nconst useModel = (props: any, name: string) => {\n const emit = getCurrentInstance()?.emit;\n return computed({\n get() {\n return props[name]\n },\n set(val) {\n if (emit) {\n emit(`update:${name}`, val)\n }\n },\n });\n};\nexport default useModel;\n","export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/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-v16/dist/index.js??ref--1-1!./entity.vue?vue&type=style&index=0&id=99c59b10&scoped=true&lang=scss\"","/*\n * @Author: hanxi\n * @Date: 2021-06-08 15:27:45\n * @Description: 千分位符处理,处理后的数字保留两位小数\n */\nexport const toThousandsAndTwoDecimal = (count: number | string): string => {\n if (count === undefined || count === null) {\n return \"\";\n }\n if (typeof count === \"string\") {\n if (count.indexOf(\",\") !== -1) {\n if (count.indexOf(\".\") !== -1) {\n return count;\n } else {\n return count + \".00\";\n }\n }\n count = Number(count);\n }\n count = count.toFixed(2);\n return count\n .toString()\n .replace(/(\\d)(?=(\\d{3})+\\.)/g, function($0, $1) {\n return $1 + \",\";\n })\n .replace(/\\.$/, \"\");\n};\n\nexport const toThousands = (count: number | string): string => {\n if (count === undefined) {\n return \"\";\n }\n if (typeof count === \"string\") {\n if (count.indexOf(\",\") !== -1) {\n if (count.indexOf(\".\") !== -1) {\n return count.substring(0, count.indexOf(\".\") + 1)\n } else {\n return count;\n }\n }\n count = Number(count);\n }\n count = Math.round(count)\n return count\n .toString()\n .replace(/(\\d)(?=(?:\\d{3})+$)/g,'$1,')\n};"],"sourceRoot":""}