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","sources":["webpack://iadviser/./src/routes/app-accounts/views/accounting-periods/accounting-periods.ts?1ee2","webpack://iadviser/./src/routes/app-accounts/app-accounts.ts?c0c6","webpack://iadviser/./src/routes/app-accounts/app-accounts-view.ts?eba6","webpack://iadviser/./src/routes/app-accounts/views/cheque-payments/cheque-settlement.ts?bb33","webpack://iadviser/./src/routes/app-accounts/views/client-payments/client-batch.ts?0fa0","webpack://iadviser/./src/routes/app-accounts/views/journals/client-to-client.ts?3ecc","webpack://iadviser/./src/routes/app-accounts/views/journals/client-to-sundry.ts?d931","webpack://iadviser/./src/routes/app-accounts/views/client-payments/dishonour-client-payment.ts?4b4e","webpack://iadviser/./src/routes/app-accounts/views/earnings-settlements/earnings-workfile.ts?21bf","webpack://iadviser/./src/routes/app-accounts/views/electronic-payments/electronic-payment.ts?b6bb","webpack://iadviser/./src/routes/app-accounts/views/electronic-payments/electronic-settlement.ts?604d","webpack://iadviser/./src/routes/app-accounts/views/client-settlements/find-client-settlement.ts?5e47","webpack://iadviser/./src/routes/app-accounts/views/journals/find-journal.ts?f8ff","webpack://iadviser/./src/routes/app-accounts/views/sundry-settlements/find-sundry-settlement.ts?db69","webpack://iadviser/./src/routes/app-accounts/views/surcharge-settlements/find-surcharge-settlement.ts?74d5","webpack://iadviser/./src/routes/app-accounts/views/insurer-payments/insurer-batch.ts?c932","webpack://iadviser/./src/routes/app-accounts/views/insurer-settlements/insurer-workfile.ts?e8d2","webpack://iadviser/./src/routes/app-accounts/views/journals/journal-authorisation.ts?3ccc","webpack://iadviser/./src/routes/app-accounts/views/cheque-payments/new-cheque-settlement.ts?461c","webpack://iadviser/./src/routes/app-accounts/views/client-settlements/new-client-settlement.ts?f2b6","webpack://iadviser/./src/routes/app-accounts/views/earnings-settlements/new-earnings-workfile.ts?905b","webpack://iadviser/./src/routes/app-accounts/views/insurer-settlements/new-insurer-workfile.ts?acbc","webpack://iadviser/./src/routes/app-accounts/views/sundry-settlements/new-sundry-settlement.ts?995e","webpack://iadviser/./src/routes/app-accounts/views/surcharge-settlements/new-surcharge-settlement.ts?a863","webpack://iadviser/./src/routes/app-accounts/views/client-settlements/client-settlement.ts?c35b","webpack://iadviser/./src/routes/app-accounts/views/sundry-payments/sundry-batch.ts?e0a8","webpack://iadviser/./src/routes/app-accounts/views/journals/sundry-to-client.ts?cbec","webpack://iadviser/./src/routes/app-accounts/views/client-payments/upload-client-payment.ts?544a","webpack://iadviser/./src/routes/app-accounts/modals/view-settlement-attachments.html","webpack://iadviser/./src/routes/app-accounts/modals/api.ts","webpack://iadviser/./src/routes/app-accounts/modals/view-settlement-attachments.css","webpack://iadviser/./src/routes/app-accounts/modals/view-settlement-attachments.ts"],"sourcesContent":["module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./accounting-periods.ts\"));\n\t}, \"accounting-periods\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./app-accounts.ts\"));\n\t}, \"app-accounts\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./app-accounts-view.ts\"));\n\t}, \"app-accounts-view\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./cheque-settlement.ts\"));\n\t}, \"cheque-settlement\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./client-batch.ts\"));\n\t}, \"client-batch\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./client-to-client.ts\"));\n\t}, \"client-to-client\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./client-to-sundry.ts\"));\n\t}, \"client-to-sundry\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./dishonour-client-payment.ts\"));\n\t}, \"dishonour-client-payment\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./earnings-workfile.ts\"));\n\t}, \"earnings-workfile\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./electronic-payment.ts\"));\n\t}, \"electronic-payment\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./electronic-settlement.ts\"));\n\t}, \"electronic-settlement\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./find-client-settlement.ts\"));\n\t}, \"find-client-settlement\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./find-journal.ts\"));\n\t}, \"find-journal\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./find-sundry-settlement.ts\"));\n\t}, \"find-sundry-settlement\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./find-surcharge-settlement.ts\"));\n\t}, \"find-surcharge-settlement\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./insurer-batch.ts\"));\n\t}, \"insurer-batch\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./insurer-workfile.ts\"));\n\t}, \"insurer-workfile\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./journal-authorisation.ts\"));\n\t}, \"journal-authorisation\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./new-cheque-settlement.ts\"));\n\t}, \"new-cheque-settlement\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./new-client-settlement.ts\"));\n\t}, \"new-client-settlement\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./new-earnings-workfile.ts\"));\n\t}, \"new-earnings-workfile\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./new-insurer-workfile.ts\"));\n\t}, \"new-insurer-workfile\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./new-sundry-settlement.ts\"));\n\t}, \"new-sundry-settlement\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./new-surcharge-settlement.ts\"));\n\t}, \"new-surcharge-settlement\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./client-settlement.ts\"));\n\t}, \"settlement-authorisation\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./sundry-batch.ts\"));\n\t}, \"sundry-batch\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./sundry-to-client.ts\"));\n\t}, \"sundry-to-client\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../../node_modules/ts-loader/index.js??ruleSet[1].rules[3].use[0]!./upload-client-payment.ts\"));\n\t}, \"upload-client-payment\");\n}","// Module\nvar code = \"\\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n\";\n// Exports\nexport default code;","import { EntityActionType, EntityType, EntityMode } from './../../app-adviser/client/quotes/interfaces';\r\nimport { autoinject } from 'aurelia-framework';\r\nimport { HttpClient, json } from 'aurelia-fetch-client';\r\nimport { environment } from 'environment';\r\n\r\n@autoinject()\r\nexport class Api {\r\n constructor(private http: HttpClient) { }\r\n\r\n async getDocumentUrl(clientId: number, folderId: number, documentId: number): Promise {\r\n const endpoint = environment.documentManagement.document.getDocumentUrl;\r\n const uri = endpoint.uri([clientId, folderId, documentId]);\r\n\r\n const result = await this.http.fetch(uri, { method: endpoint.method });\r\n if (result.ok) { return result.json(); }\r\n }\r\n}\r\n","// extracted by mini-css-extract-plugin\nexport default {\"btn\":\"btn____zI0P5\",\"btn--flat\":\"btn--flat____CZrbb btn____zI0P5\",\"btn--submit\":\"btn--submit____HJXgF btn____zI0P5\",\"btn--delete\":\"btn--delete____RwkIc btn____zI0P5\",\"btn--link\":\"btn--link____KDVjz btn____zI0P5\",\"btn--inline-text-link\":\"btn--inline-text-link____VtLYu btn--link____KDVjz btn____zI0P5\",\"btn--footer\":\"btn--footer____qDduy btn____zI0P5\",\"btn--footer-submit\":\"btn--footer-submit____jIR8e btn--submit____HJXgF btn____zI0P5 btn--footer____qDduy btn____zI0P5\",\"btn--footer-cancel\":\"btn--footer-cancel____wf54x\",\"btn--footer---cancel\":\"btn--footer---cancel____pJFvg\",\"btn--footer-delete\":\"btn--footer-delete____NsEgB btn--delete____RwkIc btn____zI0P5 btn--footer____qDduy btn____zI0P5\",\"btn--qce-dropdown\":\"btn--qce-dropdown____Co0Bp btn--footer-submit____jIR8e btn--submit____HJXgF btn____zI0P5 btn--footer____qDduy btn____zI0P5\",\"btn--footer-combo\":\"btn--footer-combo____LI7HO btn--footer____qDduy btn____zI0P5\",\"btn--lmi-bicalc\":\"btn--lmi-bicalc____tJO7p btn____zI0P5\",\"btn--lmi-risk\":\"btn--lmi-risk____gncG8 btn____zI0P5\",\"btn--lmi-policy-comparison\":\"btn--lmi-policy-comparison____UGFtW btn____zI0P5\",\"btn--lmi-policy-coach\":\"btn--lmi-policy-coach____IV4Ng btn____zI0P5\",\"btn--andrew-nock\":\"btn--andrew-nock____oinOw btn____zI0P5\",\"btn--construction-cost-consultants\":\"btn--construction-cost-consultants____NCjOe btn____zI0P5\",\"btn--5-star\":\"btn--5-star____RR3au btn____zI0P5\",\"btn--thermoscan\":\"btn--thermoscan____YsuSt btn____zI0P5\",\"btn--risk-survey-services\":\"btn--risk-survey-services____h3mFd btn____zI0P5\",\"btn--risk-management\":\"btn--risk-management____DdUjb btn____zI0P5\",\"btn--lmi-bicalc--disabled\":\"btn--lmi-bicalc--disabled____sd1Ki btn--lmi-bicalc____tJO7p btn____zI0P5\",\"btn--lmi-risk--disabled\":\"btn--lmi-risk--disabled____OpTK1 btn--lmi-risk____gncG8 btn____zI0P5\",\"btn--lmi-policy-comparison--disabled\":\"btn--lmi-policy-comparison--disabled____ru4hZ btn--lmi-policy-comparison____UGFtW btn____zI0P5\",\"btn--initial-insured-location-risk\":\"btn--initial-insured-location-risk____u59_r btn--flat____CZrbb btn____zI0P5 btn____zI0P5\",\"btn--icon\":\"btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-no-border\":\"btn--icon-no-border____WN5z9\",\"btn--icon-add\":\"btn--icon-add____Z87mn btn--icon____nQHq_ btn____zI0P5\",\"btn--add-risk\":\"btn--add-risk____zCkQf btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-close\":\"btn--icon-close____rsHnI\",\"task-access-modal__close\":\"task-access-modal__close____YDszo\",\"btn--icon-delete\":\"btn--icon-delete____Ujj_g btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-download\":\"btn--icon-download____luQJY btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-edit\":\"btn--icon-edit____R9poM btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-email\":\"btn--icon-email____njaXQ btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-download-email\":\"btn--icon-download-email____TRmXJ btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-folder\":\"btn--icon-folder____RYoe0 btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-folder-locked\":\"btn--icon-folder-locked____kxyHz btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-folder-locked-active\":\"btn--icon-folder-locked-active____XWGxp btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-history\":\"btn--icon-history____hKqpk btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-info\":\"btn--icon-info____sB0rC btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-task\":\"btn--icon-task____HAeLd btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-link\":\"btn--icon-link____JC5e1 btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-unlink\":\"btn--icon-unlink____xuF6Z btn--icon-delete____Ujj_g btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-map\":\"btn--icon-map____wK7c8 btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-more\":\"btn--icon-more____CaJpB btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-open-in-new-window\":\"btn--icon-open-in-new-window____R2v18 btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-favourite--selected\":\"btn--icon-favourite--selected____IlvXq btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-favourite--deselected\":\"btn--icon-favourite--deselected____mDt_M btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-preview\":\"btn--icon-preview____t8MKx btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-pre-printed\":\"btn--icon-pre-printed____ka5z3 btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-print\":\"btn--icon-print____OxlxK btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-save\":\"btn--icon-save____L2Hce btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-settings\":\"btn--icon-settings____HgGOF btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-show-details\":\"btn--icon-show-details____opCFk btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-show-details--alert\":\"btn--icon-show-details--alert____icSdj btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-show-summary\":\"btn--icon-show-summary____X4e1M btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-attachment\":\"btn--icon-attachment____HQmcf btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-tag\":\"btn--icon-tag____TwyW2 btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-undo\":\"btn--icon-undo____O8LHU btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-sync\":\"btn--icon-sync____T48k0 btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-arrow-forward\":\"btn--icon-arrow-forward____zs1me btn--icon____nQHq_ btn____zI0P5\",\"btn--aside-collapse\":\"btn--aside-collapse____tjPyX btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-expand-more\":\"btn--icon-expand-more____MWWpV btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-expand-less\":\"btn--icon-expand-less____ISXBy btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-general\":\"btn--icon-general____KJUpF btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-sales\":\"btn--icon-sales____QZRCN btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-branch\":\"btn--icon-branch____rLqmU btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-contact\":\"btn--icon-contact____J28AC btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-consent\":\"btn--icon-consent____Gkhm2 btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-questions\":\"btn--icon-questions____WenoL btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-associated\":\"btn--icon-associated____JpZ9I btn--icon____nQHq_ btn____zI0P5\",\"btn--icon-notes\":\"btn--icon-notes____nghGF btn--icon____nQHq_ btn____zI0P5\",\"btn--back\":\"btn--back____KuFGh\",\"btn--back-to-sign-in\":\"btn--back-to-sign-in____UtVEz btn--back____KuFGh\",\"btn--icon-advanced-search\":\"btn--icon-advanced-search____RYMu1 btn--icon____nQHq_ btn____zI0P5\",\"btn--wizard\":\"btn--wizard____aDa0t btn____zI0P5\",\"btn--wizard-back\":\"btn--wizard-back____r7_W2 btn--wizard____aDa0t btn____zI0P5\",\"btn--wizard-next\":\"btn--wizard-next____kQ1H0 btn--wizard____aDa0t btn____zI0P5\",\"task-delete-confirm-modal__delete\":\"task-delete-confirm-modal__delete____Zk1ij\",\"task-delete-confirm-modal__cancel\":\"task-delete-confirm-modal__cancel____uNeuk\",\"button-options\":\"button-options____vjV5j\",\"cancel\":\"cancel____jzLfo\",\"tasksubmit\":\"tasksubmit____kfcTw\",\"forgotPasswordBtn\":\"forgotPasswordBtn____CeXfo\",\"show-complet-tasks\":\"show-complet-tasks____bKgj0\",\"fieldset\":\"fieldset____N8gGx\",\"fieldset-instruction\":\"fieldset-instruction____B5x7Y\",\"fieldset--no-padding\":\"fieldset--no-padding____EULct fieldset____N8gGx\",\"fieldset--alt\":\"fieldset--alt____Aw7M_ fieldset____N8gGx\",\"input-search\":\"input-search____Th6t_\",\"view-password\":\"view-password____srYZi\",\"ia-currency-input\":\"ia-currency-input____nK37z\",\"ia-currency-negative\":\"ia-currency-negative____AtCqL\",\"select--mini\":\"select--mini_____2goC\",\"required-label\":\"required-label____yt6LS\",\"alert\":\"alert____dfdHi\",\"alert--important\":\"alert--important____FVBq_\",\"input-label\":\"input-label____cxNEL\",\"w-100\":\"w-100____aK1Nm\",\"search-input-wrapper\":\"search-input-wrapper____oqU7a\",\"search-input--results\":\"search-input--results____uoo1m\",\"search-input--result\":\"search-input--result____MRGZ2\",\"search-input--result--highlighted\":\"search-input--result--highlighted____bGIuU\",\"date-range-selections\":\"date-range-selections____jMTE8\",\"date-arrow-forward\":\"date-arrow-forward____KIxvx\",\"qce-dropdown\":\"qce-dropdown____cRopO\",\"qce-or\":\"qce-or____CNWGQ\",\"qce-dropdown-with-dropdown\":\"qce-dropdown-with-dropdown____ERqu4\",\"qce-vehicle-registration-search\":\"qce-vehicle-registration-search____WZoB4\",\"row-gap\":\"row-gap____gzOBb\",\"row-group\":\"row-group____SRtYI\",\"row-group--three\":\"row-group--three____voUxM row-group____SRtYI\",\"grid-14\":\"grid-14____BZqHg\",\"row-group--auto\":\"row-group--auto____p_12t row-group____SRtYI\",\"space\":\"space____Cx13D\",\"display-none--lg\":\"display-none--lg____j6NtV\",\"display-none--md\":\"display-none--md____M7u7f\",\"tab-navigation\":\"tab-navigation____pfEIB\",\"has-warnings\":\"has-warnings____Lv3II\",\"tab-selected\":\"tab-selected____RmOmP tab____Rw1a6\",\"disabled\":\"disabled____hBWSs\",\"tab\":\"tab____Rw1a6\",\"btn--tab-overflow\":\"btn--tab-overflow______Cv8\",\"btn--tab-overflow-left\":\"btn--tab-overflow-left____FgnhK btn--tab-overflow______Cv8\",\"btn--tab-overflow-left-disabled\":\"btn--tab-overflow-left-disabled____WPmHt btn--tab-overflow-left____FgnhK btn--tab-overflow______Cv8\",\"btn--tab-overflow-right\":\"btn--tab-overflow-right____saJLB btn--tab-overflow______Cv8\",\"btn--tab-overflow-right-disabled\":\"btn--tab-overflow-right-disabled____XXdS0 btn--tab-overflow-right____saJLB btn--tab-overflow______Cv8\",\"constrained-width\":\"constrained-width____TnUiJ\",\"constrained-width--tab\":\"constrained-width--tab____HYvul constrained-width____TnUiJ\",\"card\":\"card____zMZc6\",\"card-content\":\"card-content____d7Q6W\",\"card-heading\":\"card-heading____dhXSG\",\"control-group\":\"control-group____ZkLi0\",\"label-group\":\"label-group____UVeIX\",\"label-group-item\":\"label-group-item____D259A\",\"button-group\":\"button-group____vyjwg\",\"card--alert\":\"card--alert____hJMyq card____zMZc6\",\"card-heading--alert\":\"card-heading--alert____iNyF9 card-heading____dhXSG\",\"card--status-message\":\"card--status-message____SndX7\",\"card--status-message--left\":\"card--status-message--left____ijBBg card--status-message____SndX7\",\"card-heading--sticky-header\":\"card-heading--sticky-header____Ld9j_\",\"card-heading--no-icon\":\"card-heading--no-icon____hZfqQ card-heading____dhXSG\",\"card-heading--bold-title\":\"card-heading--bold-title____K8xOg\",\"bg-blue-sky\":\"bg-blue-sky____jqqYo\",\"card-heading--advanced-search-results\":\"card-heading--advanced-search-results____sZp3C\",\"table\":\"table____nDpTc\",\"table-heading-row\":\"table-heading-row____EbUzv\",\"table-row\":\"table-row____ZaQRp\",\"table-result-row\":\"table-result-row____qwjAo\",\"break-word\":\"break-word____M3gVK\",\"no-wrap\":\"no-wrap____UVvhJ\",\"table-result-row--disabled\":\"table-result-row--disabled____nTz9G\",\"table-modal\":\"table-modal____EYEaf table____nDpTc\",\"table-enhanced\":\"table-enhanced____abrkz\",\"table--no-border-bottom\":\"table--no-border-bottom____nWOso table____nDpTc\",\"height-45\":\"height-45____yGfRC\",\"edit-column\":\"edit-column____RRK3w\",\"delete-column\":\"delete-column____k9r0T\",\"date-table-heading\":\"date-table-heading____c5ID8\",\"button-edit\":\"button-edit____WCjM1\",\"button-delete\":\"button-delete____JRkyK\",\"table-row-selected\":\"table-row-selected____GNlje\",\"table-row-alert\":\"table-row-alert_____d4gk\",\"table-filter-row\":\"table-filter-row____D3j2F\",\"table-filter-row--endcap\":\"table-filter-row--endcap____Cjt5N\",\"filter-column\":\"filter-column____bYb_R\",\"table-pagination\":\"table-pagination____b6hS_\",\"table-pagination-with-filter\":\"table-pagination-with-filter____vr4h4 table-pagination____b6hS_\",\"table-button-group\":\"table-button-group____LR4J6\",\"table-child-container\":\"table-child-container____pC7Ib\",\"table-child-card\":\"table-child-card____Pk4oX\",\"child-table--selected-row\":\"child-table--selected-row____UDGmy\",\"child-table\":\"child-table____H_fRX table____nDpTc\",\"custom-pagination\":\"custom-pagination____ITeJV\",\"pagination-count\":\"pagination-count____LMFJy\",\"pagination-button\":\"pagination-button____q3GfC btn____zI0P5\",\"pagination-prev\":\"pagination-prev____G1Q70 pagination-button____q3GfC btn____zI0P5\",\"pagination-next\":\"pagination-next____GBsJI pagination-button____q3GfC btn____zI0P5\",\"pagination-disabled\":\"pagination-disabled____SlWq0 pagination-button____q3GfC btn____zI0P5\",\"pagination-prev-disabled\":\"pagination-prev-disabled____A8mZF pagination-disabled____SlWq0 pagination-button____q3GfC btn____zI0P5\",\"pagination-next-disabled\":\"pagination-next-disabled____P_zWD pagination-disabled____SlWq0 pagination-button____q3GfC btn____zI0P5\",\"pagination\":\"pagination____CLilQ\",\"pagination-top\":\"pagination-top____HEQzm pagination____CLilQ\",\"pagination-bottom\":\"pagination-bottom____g0_hu pagination____CLilQ\",\"pagination-bottom--documents\":\"pagination-bottom--documents_____dn4k pagination-bottom____g0_hu pagination____CLilQ\",\"table-cell-btn-icon\":\"table-cell-btn-icon____xpRRn\",\"folder-table\":\"folder-table____CL1a4 table--no-border-bottom____nWOso table____nDpTc\",\"doc-table-group--heading\":\"doc-table-group--heading_____5U6_\",\"doc-table-group--heading-open\":\"doc-table-group--heading-open____PMUQi doc-table-group--heading_____5U6_\",\"doc-table-group--heading-with-options\":\"doc-table-group--heading-with-options____lf_mt\",\"constrained-width--folder-name\":\"constrained-width--folder-name_____yS1h constrained-width____TnUiJ\",\"disable-entity\":\"disable-entity____U813f\",\"button-options--add\":\"button-options--add____poIUe button-options____vjV5j\",\"information-icon\":\"information-icon____msW_b\",\"deleted-icon\":\"deleted-icon____NZq_q\",\"exclamation-icon\":\"exclamation-icon____fA6sT\",\"success-icon\":\"success-icon____ptTD1\",\"text-align-center\":\"text-align-center____YJm7H\",\"word-break\":\"word-break____L_ODH\",\"btn-group\":\"btn-group____QWtsY\",\"accordion-content\":\"accordion-content____tg54I\",\"toggle-collapse\":\"toggle-collapse____au2y4\",\"toggle-collapse--disabled\":\"toggle-collapse--disabled____xRFfK toggle-collapse____au2y4\",\"toggle-expand\":\"toggle-expand____oDY0l toggle-collapse____au2y4\",\"folder\":\"folder____nEql5\",\"folder-locked\":\"folder-locked____xR4gJ folder____nEql5\",\"yesNo-filter-width\":\"yesNo-filter-width____roaJx\",\"w-5\":\"w-5____rN_8r\",\"w-10\":\"w-10____gcT33\",\"w-15\":\"w-15____U4SgK\",\"w-20\":\"w-20____rqsye\",\"w-25\":\"w-25____V0el2\",\"w-30\":\"w-30____nj8Up\",\"w-35\":\"w-35____W_zS8\",\"w-40\":\"w-40____d3F2u\",\"w-45\":\"w-45____XRmTw\",\"w-50\":\"w-50____er0v3\",\"w-60\":\"w-60____lflko\",\"table--sticky-header\":\"table--sticky-header____qgyZX\",\"table--sticky-footer\":\"table--sticky-footer____gOxbj\",\"table--sticky-column\":\"table--sticky-column____qPJKD\",\"table--sticky-column2\":\"table--sticky-column2____vGJXs table--sticky-column____qPJKD\",\"table--sticky-column-right\":\"table--sticky-column-right____zaLUt table--sticky-column____qPJKD\",\"scrollable-table-container\":\"scrollable-table-container____ZKKtg\",\"task-options-modal\":\"task-options-modal____hfdH9\",\"recent-link-name\":\"recent-link-name____dVu6b\",\"view-block\":\"view-block____r6DQ8\",\"view-block--heading\":\"view-block--heading____b1kw2\",\"view-block--white\":\"view-block--white____auQM4 view-block____r6DQ8\",\"view-block--alert\":\"view-block--alert____xK4kq view-block____r6DQ8\",\"view-block--success\":\"view-block--success____BrnUd view-block____r6DQ8\",\"view-block--info\":\"view-block--info____RRx0C view-block____r6DQ8\",\"view-block--warning\":\"view-block--warning____tw2z8 view-block____r6DQ8\",\"view-block--alt\":\"view-block--alt____ITFfL view-block____r6DQ8\",\"view-block--with-icon\":\"view-block--with-icon____xinrD view-block____r6DQ8\",\"view-block-icon\":\"view-block-icon____hIL01\",\"view-block--warning--with-icon\":\"view-block--warning--with-icon____z84E_ view-block--warning____tw2z8 view-block____r6DQ8\",\"view-block-checkbox\":\"view-block-checkbox____BgGyy view-block____r6DQ8\",\"view-block-checkbox--alert\":\"view-block-checkbox--alert____CqgX0 view-block--alert____xK4kq view-block____r6DQ8 view-block-checkbox____BgGyy view-block____r6DQ8\",\"text-view-content\":\"text-view-content____T5aUV\",\"ia-modal\":\"ia-modal____AW6ud\",\"ia-modal-inner\":\"ia-modal-inner____EbiJ0\",\"ia-modal-inner--context-menu\":\"ia-modal-inner--context-menu____Nw1Pv ia-modal-inner____EbiJ0\",\"ia-modal-inner--wide-lg\":\"ia-modal-inner--wide-lg____oJzmn ia-modal-inner____EbiJ0\",\"ia-modal-inner--wide-xxl\":\"ia-modal-inner--wide-xxl____Hyr06 ia-modal-inner____EbiJ0\",\"ia-modal-inner--take-over\":\"ia-modal-inner--take-over____jJBMg ia-modal-inner____EbiJ0\",\"fixed-height\":\"fixed-height____YF7X2\",\"takeover-header\":\"takeover-header____Kx8bN\",\"logo\":\"logo_____DCMu\",\"logo--broker\":\"logo--broker____cc3Tn logo_____DCMu logo_____DCMu\",\"close-search\":\"close-search____PQQXw\",\"ia-modal-content\":\"ia-modal-content____ja83A\",\"ia-modal-overlay--transparent\":\"ia-modal-overlay--transparent____V6OHW ia-modal____AW6ud\",\"ia-modal-overlay--light-white\":\"ia-modal-overlay--light-white____J5220 ia-modal____AW6ud\",\"ia-modal-overlay--transparent--light-white-client-nav\":\"ia-modal-overlay--transparent--light-white-client-nav____EMfmE ia-modal-overlay--light-white____J5220 ia-modal____AW6ud\",\"modal-header\":\"modal-header____XO8qk\",\"modal-footer\":\"modal-footer____z54Fb modal-header____XO8qk\",\"modal-footer--space-between\":\"modal-footer--space-between____IDzxJ modal-footer____z54Fb modal-header____XO8qk\",\"footer-btn-group\":\"footer-btn-group____kWyuO\",\"header-label\":\"header-label____BcfEJ\",\"header-label-icon\":\"header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--alert\":\"header-label--alert____cyNSx header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--info\":\"header-label--info____ixOBp header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--settings\":\"header-label--settings____PqS0V header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--accounts\":\"header-label--accounts____PWgLt header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--edit\":\"header-label--edit____oTenn header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--download\":\"header-label--download____GmZD1 header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--delete\":\"header-label--delete____Duu5G header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--history\":\"header-label--history____dAeFi header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--tag\":\"header-label--tag____5tpn1 header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--search\":\"header-label--search____XJnHl header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--kyc\":\"header-label--kyc____n5DO4 header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--advice\":\"header-label--advice____bj4hN header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--generate-advice\":\"header-label--generate-advice____vAZAS header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--form\":\"header-label--form____FW7us header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--insured\":\"header-label--insured____BVgBd header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--quote\":\"header-label--quote____SNYuU header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--policy\":\"header-label--policy____iA7_Y header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--claim\":\"header-label--claim____sbglg header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--fsg\":\"header-label--fsg____P4tv9 header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--mandatory-document\":\"header-label--mandatory-document____DlOfF header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--notification\":\"header-label--notification____M2rlN header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--task\":\"header-label--task____N14Jo header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--contact\":\"header-label--contact____M2FDB header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--note\":\"header-label--note____kidED header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--document\":\"header-label--document____gi9Df header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--email\":\"header-label--email____DqxDa header-label-icon____XLpnY header-label____BcfEJ\",\"header-label--template\":\"header-label--template____VFcxk header-label-icon____XLpnY header-label____BcfEJ\",\"header-details\":\"header-details____GH82o\",\"header-detail-item\":\"header-detail-item____orHZN\",\"header-label--context-menu\":\"header-label--context-menu____HU0MJ header-label-icon____XLpnY header-label____BcfEJ\",\"context-menu-sep\":\"context-menu-sep____fySc0\",\"context-menu--one-col\":\"context-menu--one-col____ofOUV\",\"context-menu-disabled\":\"context-menu-disabled____eJ0as\",\"context-menu--two-col\":\"context-menu--two-col____dlyaj context-menu--one-col____ofOUV\",\"context-menu--three-col\":\"context-menu--three-col____dbG3K context-menu--two-col____dlyaj context-menu--one-col____ofOUV\",\"modal-content-copy\":\"modal-content-copy____DxtbR\",\"processing-step\":\"processing-step____yuqDs\",\"processing-step--failed\":\"processing-step--failed____KqJFs processing-step____yuqDs\",\"document--processing\":\"document--processing____L9ni3\",\"eclipse-loader\":\"eclipse-loader____xZR_P\",\"confirmation-content\":\"confirmation-content____vDNqE\",\"ia-modal--search\":\"ia-modal--search____ZiX42\",\"view-block--alert--progress-modal\":\"view-block--alert--progress-modal____a0PDA view-block--alert____xK4kq view-block____r6DQ8\",\"btn--footer--cancel\":\"btn--footer--cancel____IpUGC\",\"modal--header\":\"modal--header____mB5Hr\"};","import { ModalService } from './../../../components/modal/modal-service';\r\nimport { useView, PLATFORM } from 'aurelia-framework';\r\nimport { Api } from './api';\r\nimport { BlobService } from 'resources/services/blob-service';\r\nimport styles from './view-settlement-attachments.css';\r\n\r\n@useView(PLATFORM.moduleName('routes/app-accounts/modals/view-settlement-attachments.html'))\r\nexport class ViewSettlementAttachmentsModal {\r\n private styles = styles;\r\n\r\n protected modalId;\r\n private type: 'journal' | 'settlement';\r\n private clientId;\r\n private invoiceNo;\r\n private coverVersion;\r\n private attachments;\r\n private reason = '';\r\n\r\n constructor(private modal: ModalService, private api: Api, private blobService: BlobService) {\r\n\r\n }\r\n\r\n activate({ model, modalId = 'mainModal' } = { model: undefined, modalId: undefined }) {\r\n this.type = model.type;\r\n this.clientId = model.clientId;\r\n this.invoiceNo = model.invoiceNo;\r\n this.coverVersion = model.coverVersion;\r\n this.attachments = model.attachments;\r\n this.modalId = modalId;\r\n }\r\n\r\n close() {\r\n this.modal.hide(this.modalId);\r\n }\r\n\r\n async downloadAttachment(row){\r\n try {\r\n const docUrl = await this.api.getDocumentUrl(this.clientId, row.folderId, row.documentId);\r\n await this.blobService.downloadBlobFromUrl(row.fileName, docUrl.blobUrl);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n}\r\n"],"names":["module","exports","cb","require","http","getDocumentUrl","clientId","folderId","documentId","endpoint","uri","this","fetch","method","result","ok","json","Promise","autoinject","Api","modal","api","blobService","styles","reason","activate","model","undefined","modalId","type","invoiceNo","coverVersion","attachments","close","hide","downloadAttachment","row","docUrl","downloadBlobFromUrl","fileName","blobUrl","console","log","useView","ViewSettlementAttachmentsModal"],"sourceRoot":""}