{"version":3,"sources":["webpack:///./src/components/ui/ToggleButton.vue?c635","webpack:///./src/components/ui/ToggleButton.vue","webpack:///./src/components/ui/ToggleButton.vue?09e8","webpack:///./src/components/ui/input/CheckboxInput.vue?3fc0","webpack:///./src/components/ui/input/CheckboxInput.vue","webpack:///./src/components/ui/input/CheckboxInput.vue?bcd1","webpack:///./src/components/ui/modals/SelectImportedListingModal.vue?15db","webpack:///./src/components/ui/modals/ConfirmDeleteModal.vue?34c2","webpack:///./src/components/ui/modals/ConfirmDeleteModal.vue","webpack:///./src/components/ui/modals/ConfirmDeleteModal.vue?25ca","webpack:///./src/views/admin/estates/AdminEstate.vue?0fde","webpack:///./src/features/plural.ts","webpack:///./src/components/ui/modals/ConfirmDeleteModal.vue?8f89","webpack:///./src/helpers/user.ts","webpack:///./src/components/ui/modals/AddLawyerToEstateModal.vue?8438","webpack:///./src/components/ui/modals/AddLawyerToEstateModal.vue?3fdf","webpack:///./src/components/ui/modals/AddLawyerToEstateModal.vue","webpack:///./src/components/ui/modals/AddLawyerToEstateModal.vue?dc2a","webpack:///./src/components/ui/input/InputFile.vue?5513","webpack:///./src/components/ui/modals/SelectImportedListingModal.vue?8e57","webpack:///./src/components/ui/modals/SelectImportedListingModal.vue","webpack:///./src/components/ui/modals/SelectImportedListingModal.vue?78a1","webpack:///./src/helpers/transformation/price.ts","webpack:///./src/views/admin/estates/AdminEstate.vue?c1f4","webpack:///./src/views/admin/estates/AdminEstate.vue","webpack:///./src/views/admin/estates/AdminEstate.vue?e7ee","webpack:///./src/components/ui/input/InputFile.vue?7992","webpack:///./src/components/ui/input/InputFile.vue","webpack:///./src/components/ui/input/InputFile.vue?31d0"],"names":["_hoisted_1","render","_ctx","_cache","$props","$setup","$data","$options","_openBlock","_createElementBlock","class","_normalizeClass","toggleClass","_createElementVNode","disabled","labelBold","labelClass","labelHidden","_createTextVNode","_toDisplayString","label","type","value","modelValue","checked","onClick","toggleSelection","additionalClass","_defineComponent","__name","props","Boolean","String","Array","required","emits","setup","__props","expose","__expose","emit","event","__returned__","Object","defineProperty","enumerable","__exports__","_hoisted_2","_hoisted_3","key","onChange","$event","$emit","partial","checkedPartial","_createCommentVNode","_withScopeId","n","_pushScopeId","_popScopeId","_createBlock","isOpen","onClose","close","onConfirm","confirm","title","_withCtx","description","text","deleteItem","isLeadsPage","_","Number","customText","computed","router","currentRoute","name","LotAssignmentModal","plural","number","word","withNumber","cov_1quwmciphk","b","f","s","toLocaleLowerCase","firstChar","getFirstLastName","user","cov_1fefz040v6","firstName","lastName","getFullName","middleName","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","content","estateName","_createVNode","control","_$setup$activeLawyer","_$setup$activeLawyer$","activeLawyer","detailsId","companyName","dropdown","_Fragment","_renderList","lawyers","lawyer","onLawyer","email","phone","companyAddress","onAssign","ref","_id","fetchLawyers","store","dispatch","role","UserRoles","LAWYER","then","response","data","filter","_lawyer$detailsId","isExist","Modal","Lawyer","Dropdown","classes","getListingsSelectedCount","listings","length","item","idx","getLabel","_withModifiers","isSelected","onSubmit","loading","default","toast","useToast","selectedListings","success","catch","error","finally","listing","address","street","streetNumber","lotNumber","state","parts","push","join","CheckboxInput","PropType","ImportedListingInterface","cov_243ma3iy2q","actualCoverage","formatPrice","price","showCurrency","_priceArray$0$toStrin","priceArray","split","toString","match","formatStripePrice","string","slice","lastTwo","substr","firstCharacter","formatPriceToNumber","parseFloat","replace","formatPriceTrim","trimText","formatPorcentageTrim","porcentage","max","integerValue","decimalValue","includes","porcentageParts","trimPorcentage","updatePriceInput","e","form","priceField","preventDefault","target","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","src","_imports_0","_hoisted_39","_imports_1","_hoisted_40","_hoisted_41","_$setup$estate$lawyer","_$setup$estate$lawyer2","_$setup$estate","_$setup$estate$lawyer3","_$setup$estate$lawyer4","_$setup$estate2","_$setup$estate2$lawye","_$setup$estate2$lawye2","_$setup$estate3","_component_router_link","_resolveComponent","_component_router_view","to","params","userId","estate","initDeposit","yellow","isRefundable","style","_normalizeStyle","iconColor","logoUrl","onImportListing","accept","estateId","onChangeActiveEstate","isActiveEstate","lawyerId","lawyerName","showConfirmDeleteLawyerModal","showAddLawyerModal","currentTab","list","tabs","slots","customSwitch","toTab","SUPER_ADMIN","onLawyerId","onGetLawyerId","onRemoveLawyer","isSelectImportedModalOpen","importedListingData","fileInputRef","_estate$value","onMounted","res","fetchEstate","find","fullPath","updateEstate","tab","estateApi","changeEstateActive","isActive","message","_error$response","_error$response$data","unassignLawyer","id","createFormData","files","formData","FormData","append","landownerId","err","status","SwitchComponent","UserInterface","EstateInterface","AddLawyerToEstateModal","ConfirmDeleteModal","ToggleButton","InputFile","SelectImportedListingModal","viewClass","owner"],"mappings":"2JAEA,MAAMA,EAAa,CAAC,QAAS,UAAW,YAElC,SAAUC,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQC,yBAAcC,gCAAoB,MAAO,CAC/CC,MAAOC,4BAAgB,CAAC,YAAa,CAACP,EAAOQ,gBAC5C,CACDC,gCAAoB,QAAS,CAC3BH,MAAOC,4BAAgB,CAAC,CAAEG,SAAUV,EAAOU,UAAYV,EAAOW,UAAWX,EAAOY,WAAYZ,EAAOa,eAClG,CACDC,6BAAiBC,6BAAiBf,EAAOgB,OAAQ,GACjDP,gCAAoB,QAAS,CAC3BQ,KAAM,WACNC,MAAOlB,EAAOmB,WACdC,QAASpB,EAAOmB,WAChBE,QAASpB,EAAOqB,gBAChBZ,SAAUV,EAAOU,UAChB,KAAM,EAAGd,GACZa,gCAAoB,MAA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OACNkI,QAAS,mCAEX7F,KAAM,CACJhD,KAAMW,OACNkI,QAAS,UAEXsG,OAAQ,CACNnP,KAAMW,QAER8R,MAAO,CACLzS,KAAMW,SAGRG,MAAO,CAAC,UACRC,MAAMC,GAAWC,OAAQC,EAAUC,KAAML,IACzCI,IAEF,MAAMT,EAAQO,EAIRa,EAAYT,IACZX,EAAMgS,MACR3R,EAAM,SAAUM,EAAOX,EAAMgS,OAE7B3R,EAAM,SAAUM,IAIdC,EAAe,CAAEP,QAAOL,QAAOoB,YAErC,OADAP,OAAOC,eAAeF,EAAc,kBAAmB,CAAEG,YAAY,EAAOvB,OAAO,IAC5EoB,K,iCCjCP,MAAMI,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS7C,GAAQ,CAAC,YAAY,qBAE1E","file":"js/admin11.dd1423bd.js","sourcesContent":["import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"value\", \"checked\", \"disabled\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"toggle-wr\", [$props.toggleClass]])\n }, [\n _createElementVNode(\"label\", {\n class: _normalizeClass([{ disabled: $props.disabled }, $props.labelBold, $props.labelClass, $props.labelHidden])\n }, [\n _createTextVNode(_toDisplayString($props.label), 1),\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n value: $props.modelValue,\n checked: $props.modelValue,\n onClick: $setup.toggleSelection,\n disabled: $props.disabled\n }, null, 8, _hoisted_1),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"slider\", $props.additionalClass])\n }, null, 2)\n ], 2)\n ], 2))\n}","import { defineComponent as _defineComponent } from 'vue'\n\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ToggleButton',\n props: {\n modelValue: Boolean,\n label: String,\n disabled: Boolean,\n additionalClass: [String, Array],\n labelBold: String,\n labelClass: { type: String, required: false },\n labelHidden: { type: String, required: false },\n toggleClass: { type: String, required: false },\n },\n emits: [\"update:modelValue\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n \n\n const toggleSelection = (event: Event) => {\n emits(\"update:modelValue\", !props.modelValue);\n };\n\nconst __returned__ = { props, emits, toggleSelection }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./ToggleButton.vue?vue&type=template&id=59ba2580&ts=true&lang=pug\"\nimport script from \"./ToggleButton.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ToggleButton.vue?vue&type=script&lang=ts&setup=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"checkbox-wr\" }\nconst _hoisted_2 = [\"value\", \"checked\", \"disabled\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"label\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ disabled: $props.disabled })\n }, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n value: $props.modelValue,\n checked: $props.modelValue,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('update:modelValue', !$props.modelValue))),\n disabled: $props.disabled\n }, null, 40, _hoisted_2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"box\", { partial: $props.checkedPartial }])\n }, null, 2),\n ($props.label)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, _toDisplayString($props.label), 1))\n : _createCommentVNode(\"\", true)\n ], 2)\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CheckboxInput',\n props: {\n modelValue: Boolean,\n label: String,\n disabled: Boolean,\n checkedPartial: Boolean,\n},\n emits: [\"update:modelValue\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n\n\n\nconst __returned__ = { props, emits }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./CheckboxInput.vue?vue&type=template&id=1d6c41a5&ts=true&lang=pug\"\nimport script from \"./CheckboxInput.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./CheckboxInput.vue?vue&type=script&lang=ts&setup=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/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/@vue/cli-service/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/@vue/cli-service/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!./SelectImportedListingModal.vue?vue&type=style&index=0&id=9ec28bdc&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, 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-68a6733c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-semi-bold\" }, \"Confirm action\", -1))\nconst _hoisted_2 = { class: \"text-semi-bold\" }\nconst _hoisted_3 = { key: 0 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock($setup[\"LotAssignmentModal\"], {\n \"is-open\": $props.isOpen,\n onClose: $setup.close,\n onConfirm: $setup.confirm\n }, {\n title: _withCtx(() => [\n _hoisted_1\n ]),\n description: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString($setup.text) + \" \", 1),\n _createElementVNode(\"span\", _hoisted_2, _toDisplayString($props.deleteItem), 1),\n ($setup.isLeadsPage)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, \" \" + _toDisplayString($props.deleteItem > 1 ? \"leads\" : \"lead\"), 1))\n : _createCommentVNode(\"\", true),\n _createTextVNode(\"?\")\n ]),\n _: 1\n }, 8, [\"is-open\"]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport LotAssignmentModal from \"@/components/ui/modals/LotAssignmentModal.vue\";\nimport { computed } from \"vue\";\nimport router from \"@/router\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ConfirmDeleteModal',\n props: {\n isOpen: {\n type: Boolean,\n required: true,\n },\n deleteItem: {\n type: [Number, String],\n },\n customText: {\n type: String,\n required: false,\n },\n},\n emits: [\"close\", \"confirm\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n\n\n\nconst text = computed(() => {\n if (props.customText) {\n return props.customText;\n }\n return \"Are you sure you want to delete\";\n});\n\nconst isLeadsPage = computed(() => {\n return router.currentRoute.value.name === \"Leads\";\n});\n\nconst close = () => {\n emits(\"close\");\n};\n\nconst confirm = () => {\n emits(\"confirm\");\n emits(\"close\");\n};\n\n\nconst __returned__ = { emits, props, text, isLeadsPage, close, confirm, LotAssignmentModal, computed, get router() { return router } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./ConfirmDeleteModal.vue?vue&type=template&id=68a6733c&scoped=true&ts=true&lang=pug\"\nimport script from \"./ConfirmDeleteModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ConfirmDeleteModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ConfirmDeleteModal.vue?vue&type=style&index=0&id=68a6733c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-68a6733c\"]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/@vue/cli-service/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/@vue/cli-service/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!./AdminEstate.vue?vue&type=style&index=0&id=0f22f299&lang=scss&scoped=true\"","const plural = (number: number, word: string, withNumber = true): string => {\n if (word.toLocaleLowerCase() === \"this\") {\n const firstChar = word[0];\n return number > 1 ? `${firstChar}hese` : `${firstChar}his`;\n }\n if (!number) {\n return `0 ${word}s`;\n } else return `${withNumber ? number : \"\"} ${word}${number < 2 ? \"\" : \"s\"}`;\n};\n\nexport default plural;\n","export * from \"-!../../../../node_modules/@vue/cli-service/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/@vue/cli-service/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!./ConfirmDeleteModal.vue?vue&type=style&index=0&id=68a6733c&lang=scss&scoped=true\"","import { UserInterface } from \"@/types/UserInterface\";\n\nexport function getFirstLastName(user: UserInterface) {\n return user ? `${user.firstName ? user.firstName : \"\"} ${user.lastName ? user.lastName : \"\"}` : \"\";\n}\nexport function getFullName(user: UserInterface) {\n return user ? `${user.firstName} ${user.middleName} ${user.lastName}` : \"\";\n}\n","export * from \"-!../../../../node_modules/@vue/cli-service/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/@vue/cli-service/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!./AddLawyerToEstateModal.vue?vue&type=style&index=0&id=224eec14&lang=scss&scoped=true\"","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, withCtx as _withCtx, createVNode as _createVNode, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-224eec14\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-body\" }\nconst _hoisted_2 = { class: \"modal--title\" }\nconst _hoisted_3 = { class: \"dropdown-row\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"dropdown-row-label\" }, \"Choose a Trust account:\", -1))\nconst _hoisted_5 = [\"onClick\"]\nconst _hoisted_6 = {\n key: 0,\n class: \"active-lawyer-data\"\n}\nconst _hoisted_7 = { class: \"row\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title\" }, \"Name:\", -1))\nconst _hoisted_9 = { class: \"row-value\" }\nconst _hoisted_10 = { class: \"row\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title\" }, \"Email:\", -1))\nconst _hoisted_12 = { class: \"row-value\" }\nconst _hoisted_13 = { class: \"row\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title\" }, \"Phone:\", -1))\nconst _hoisted_15 = { class: \"row-value\" }\nconst _hoisted_16 = { class: \"row\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title\" }, \"Company:\", -1))\nconst _hoisted_18 = { class: \"row-value\" }\nconst _hoisted_19 = { class: \"row\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title\" }, \"Address:\", -1))\nconst _hoisted_21 = { class: \"row-value\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock($setup[\"Modal\"], {\n \"is-open\": $setup.props.isOpen,\n onClose: $setup.onClose\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, \"Connect Trust account to \" + _toDisplayString($setup.props.estateName), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createVNode($setup[\"Dropdown\"], { class: \"dropdown\" }, {\n control: _withCtx(() => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"dropdown-button\", [{ 'active-label': $setup.activeLawyer.firstName }]])\n }, _toDisplayString($setup.activeLawyer?.detailsId?.companyName), 3)\n ]),\n dropdown: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.lawyers, (lawyer) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n onClick: ($event: any) => ($setup.onLawyer(lawyer)),\n class: _normalizeClass({ 'dropdown__item-active': $setup.activeLawyer.firstName === lawyer.firstName })\n }, _toDisplayString(lawyer.detailsId.companyName), 11, _hoisted_5))\n }), 256))\n ])\n ]),\n _: 1\n })\n ]),\n ($setup.activeLawyer.detailsId)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString($setup.activeLawyer.firstName) + \" \" + _toDisplayString($setup.activeLawyer.lastName), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _createElementVNode(\"div\", _hoisted_12, _toDisplayString($setup.activeLawyer.email), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"div\", _hoisted_15, _toDisplayString($setup.activeLawyer.phone), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createElementVNode(\"div\", _hoisted_18, _toDisplayString($setup.activeLawyer.detailsId.companyName), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _hoisted_20,\n _createElementVNode(\"div\", _hoisted_21, _toDisplayString($setup.activeLawyer.detailsId.companyAddress), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", { class: \"controls\" }, [\n _createElementVNode(\"button\", {\n class: \"button default\",\n onClick: $setup.onClose\n }, \"Cancel\"),\n _createElementVNode(\"button\", {\n class: \"button default primary save\",\n onClick: $setup.onAssign\n }, \"Assign\")\n ])\n ])\n ]),\n _: 1\n }, 8, [\"is-open\"]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport {ref} from \"vue\";\nimport Modal from \"@/components/ui/Modal.vue\";\nimport store from \"@/store\";\nimport {UserRoles} from \"@/enums/UserRoles\";\nimport {Lawyer} from \"@/types/UserInterface\";\nimport Dropdown from \"@/components/ui/dropdown/DropDown.vue\";\n\ninterface Props {\n estateName: string;\n isOpen: boolean;\n}\ninterface Emits {\n (event: \"lawyerId\", lawyerId: string): void;\n (event: \"close\"): void;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AddLawyerToEstateModal',\n props: {\n estateName: {},\n isOpen: { type: Boolean }\n },\n emits: [\"lawyerId\", \"close\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n\n\n\nconst lawyers = ref([] as Lawyer[]);\nconst activeLawyer = ref({} as Lawyer);\n\nconst onLawyer = (lawyer: Lawyer) => {\n activeLawyer.value = lawyer;\n};\nconst onAssign = () => {\n emits(\"lawyerId\", activeLawyer.value._id);\n activeLawyer.value = {} as Lawyer;\n};\nconst onClose = () => {\n emits(\"close\");\n activeLawyer.value = {} as Lawyer;\n};\n\nconst fetchLawyers = () => {\n store\n .dispatch(\"user/getUsers\", {\n role: UserRoles.LAWYER,\n })\n .then((response) => {\n lawyers.value = response.data.filter((lawyer) => lawyer?.detailsId?.isExist);\n });\n};\n\n// initialization\nfetchLawyers();\n\nconst __returned__ = { emits, props, lawyers, activeLawyer, onLawyer, onAssign, onClose, fetchLawyers, ref, Modal, get store() { return store }, get UserRoles() { return UserRoles }, get Lawyer() { return Lawyer }, Dropdown }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./AddLawyerToEstateModal.vue?vue&type=template&id=224eec14&scoped=true&ts=true&lang=pug\"\nimport script from \"./AddLawyerToEstateModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./AddLawyerToEstateModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./AddLawyerToEstateModal.vue?vue&type=style&index=0&id=224eec14&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-224eec14\"]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/@vue/cli-service/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/@vue/cli-service/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!./InputFile.vue?vue&type=style&index=0&id=6e38ce4c&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, withModifiers as _withModifiers, createVNode as _createVNode, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-9ec28bdc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-wrapper\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"header\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"modal-title\" }, \"Select listing(s)\")\n], -1))\nconst _hoisted_3 = { class: \"listings scroll-wrapper\" }\nconst _hoisted_4 = { class: \"listings-header\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"items-count\"\n}\nconst _hoisted_6 = {\n key: 1,\n class: \"items-count\"\n}\nconst _hoisted_7 = { class: \"wrapper-table\" }\nconst _hoisted_8 = { class: \"table-scroll\" }\nconst _hoisted_9 = { class: \"table-default\" }\nconst _hoisted_10 = { class: \"checkbox\" }\nconst _hoisted_11 = { class: \"controls\" }\nconst _hoisted_12 = [\"disabled\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock($setup[\"Modal\"], {\n isOpen: $props.isOpen,\n onClose: $setup.close,\n classes: \"select-imported-listing-modal height-limited\"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n ($setup.getListingsSelectedCount > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, _toDisplayString($setup.plural($setup.getListingsSelectedCount, \"Listing\")) + \" selected\", 1))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_6, _toDisplayString($setup.plural($props.listings.length, \"Listing\")), 1)),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"table\", _hoisted_9, [\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($props.listings, (item, idx) => {\n return (_openBlock(), _createElementBlock(\"tr\", { key: idx }, [\n _createElementVNode(\"td\", _hoisted_10, [\n _createVNode($setup[\"CheckboxInput\"], {\n label: $setup.getLabel(item),\n onClick: _cache[0] || (_cache[0] = _withModifiers(() => {}, [\"stop\"])),\n modelValue: item.isSelected,\n \"onUpdate:modelValue\": ($event: any) => (item.isSelected = $event)\n }, null, 8, [\"label\", \"modelValue\", \"onUpdate:modelValue\"])\n ])\n ]))\n }), 128))\n ])\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"button\", {\n class: \"button default\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => ($setup.close()))\n }, \"Cancel\"),\n _createElementVNode(\"button\", {\n class: \"button default primary send\",\n onClick: $setup.onSubmit,\n disabled: !$props.listings.length || $setup.loading || !$setup.getListingsSelectedCount\n }, _toDisplayString($setup.loading ? \"Importing...\" : \"Confirm\"), 9, _hoisted_12)\n ])\n ])\n ]),\n _: 1\n }, 8, [\"isOpen\"]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport CheckboxInput from \"@/components/ui/input/CheckboxInput.vue\";\nimport Modal from \"@/components/ui/Modal.vue\";\nimport { computed, ref, PropType } from \"vue\";\nimport plural from \"@/features/plural\";\nimport store from \"@/store\";\nimport { ImportedListingInterface } from \"@/types/ImportedListingInterface\";\nimport { useToast } from \"vue-toastification\";\ninterface Address {\n street: string;\n streetNumber?: number;\n lotNumber?: number;\n state?: string;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SelectImportedListingModal',\n props: {\n isOpen: {\n type: Boolean,\n required: true,\n },\n listings: {\n type: Array as PropType,\n default: () => {\n return [];\n },\n },\n},\n emits: [\"close\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\nconst loading = ref(false);\n\nconst toast = useToast();\n\nconst onSubmit = () => {\n const selectedListings = props.listings.filter(\n ({ isSelected }: ImportedListingInterface) => isSelected\n );\n\n if (!selectedListings.length) {\n toast.error(\"Please select at least one listing\");\n return;\n }\n\n loading.value = true;\n store\n .dispatch(\"listing/createImportedListings\", {\n listings: selectedListings,\n })\n .then(() => {\n emits(\"close\");\n toast.success(\"Listings imported successfully\");\n })\n .catch(() => {\n toast.error(\"Something went wrong\");\n })\n .finally(() => {\n loading.value = false;\n });\n};\n\nconst getListingsSelectedCount = computed(() => {\n return props.listings.filter(\n (listing: ImportedListingInterface) => listing.isSelected\n ).length;\n});\n\nfunction getLabel({ address }: { address: Address }): string {\n const { street, streetNumber, lotNumber, state } = address;\n const parts: string[] = [street];\n\n if (streetNumber) {\n parts.push(` ${streetNumber}`);\n }\n if (lotNumber) {\n parts.push(`, Lot ${lotNumber}`);\n }\n if (state) {\n parts.push(`, ${state}`);\n }\n\n return parts.join(\"\");\n}\n\nconst close = () => {\n emits(\"close\");\n};\n\nconst __returned__ = { loading, emits, toast, props, onSubmit, getListingsSelectedCount, getLabel, close, CheckboxInput, Modal, computed, ref, PropType, get plural() { return plural }, get store() { return store }, get ImportedListingInterface() { return ImportedListingInterface }, get useToast() { return useToast } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./SelectImportedListingModal.vue?vue&type=template&id=9ec28bdc&scoped=true&ts=true&lang=pug\"\nimport script from \"./SelectImportedListingModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./SelectImportedListingModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./SelectImportedListingModal.vue?vue&type=style&index=0&id=9ec28bdc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9ec28bdc\"]])\n\nexport default __exports__","export function formatPrice(\n price: number | string = 0,\n showCurrency = true\n): string {\n const priceArray = `${price}`.split(\".\");\n return (\n (showCurrency ? \"$\" : \"\") +\n priceArray[0]\n .toString()\n .match(/.{1,3}(?=(.{3})*$)/g)\n ?.join(\",\") +\n (priceArray[1] ? \".\" + priceArray[1] : \"\")\n );\n}\n\nexport const formatStripePrice = (value = 0, showCurrency = true): string => {\n let string = String(value);\n string = string.slice(0, -2) + \".\" + string.slice(-2);\n const lastTwo = string.substr(string.length - 2);\n const firstCharacter = string.substr(0, 1);\n if (firstCharacter === \".\") {\n string = \"0\" + string;\n }\n if (lastTwo === \"00\") {\n return formatPrice(string.slice(0, -3), showCurrency);\n }\n return formatPrice(string, showCurrency);\n};\n\nexport const formatPriceToNumber = (price: string): number => {\n return parseFloat(price.replace(/,/g, '').replace(/\\$/g, ''));\n}\n\n\nexport const formatPriceTrim = (price: number | string = 0,) : string => {\n const trimText = price ? price.toString()\n .replace(/[^\\d.]/g, '')\n : undefined;\n if(!trimText || trimText === '$') {\n return '$0';\n }\n return formatPrice(trimText);\n};\n\nexport const formatPorcentageTrim = (porcentage: number | string = 0, max ?: number) : string => {\n let integerValue = porcentage;\n let decimalValue = '';\n if(typeof porcentage === 'string' && porcentage.includes('.')) {\n const porcentageParts = porcentage.split('.');\n integerValue = porcentageParts[0];\n decimalValue = '.' + porcentageParts[1];\n }\n const trimPorcentage = formatPriceTrim(integerValue).replace(/\\$/g, '');\n if(!trimPorcentage) {\n return '0.0';\n }\n if(max && trimPorcentage.replace(/,/g, '') as unknown as number >= max) {\n return max.toString();\n }\n return integerValue + decimalValue;\n};\n\nexport const updatePriceInput = (e : Event, form: Record, priceField: string) => {\n e.preventDefault();\n const target = e.target as HTMLInputElement;\n const value = formatPriceTrim(target.value);\n form[priceField] = formatPriceToNumber(value);\n}\n","import { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/plus-black.svg'\nimport _imports_1 from '@/assets/icons/trash.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0f22f299\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"admin-page-wr\" }\nconst _hoisted_2 = { class: \"dashboard-header\" }\nconst _hoisted_3 = { class: \"breadcrumb-wrapper-main\" }\nconst _hoisted_4 = { class: \"breadcrumb\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"delimiter\" }, null, -1))\nconst _hoisted_6 = { class: \"current-breadcrumb\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"card\"\n}\nconst _hoisted_8 = { class: \"d-flex\" }\nconst _hoisted_9 = { class: \"info-wr\" }\nconst _hoisted_10 = { class: \"block\" }\nconst _hoisted_11 = { class: \"row\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title\" }, \"Estate:\", -1))\nconst _hoisted_13 = { class: \"row-value\" }\nconst _hoisted_14 = { class: \"row\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title\" }, \"Address:\", -1))\nconst _hoisted_16 = { class: \"row-value\" }\nconst _hoisted_17 = { class: \"row\" }\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title\" }, \"Initial Deposit:\", -1))\nconst _hoisted_19 = { class: \"row-value d-flex\" }\nconst _hoisted_20 = { class: \"row\" }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title\" }, \"Icon Color:\", -1))\nconst _hoisted_22 = { class: \"row-value\" }\nconst _hoisted_23 = { class: \"block\" }\nconst _hoisted_24 = { class: \"row\" }\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-title second\" }, \"Logo:\", -1))\nconst _hoisted_26 = [\"src\"]\nconst _hoisted_27 = { class: \"controls\" }\nconst _hoisted_28 = { class: \"controls--top\" }\nconst _hoisted_29 = { class: \"lawyer-row\" }\nconst _hoisted_30 = { class: \"lawyer-block\" }\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"lawyer-label\" }, \"Trust account:\", -1))\nconst _hoisted_32 = {\n key: 0,\n class: \"lawyer-info\"\n}\nconst _hoisted_33 = {\n key: 0,\n class: \"dot\"\n}\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"dot\" }, null, -1))\nconst _hoisted_35 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"dot\" }, null, -1))\nconst _hoisted_36 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"dot\" }, null, -1))\nconst _hoisted_37 = {\n key: 1,\n class: \"lawyer-info\"\n}\nconst _hoisted_38 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_0 }, null, -1))\nconst _hoisted_39 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_1 }, null, -1))\nconst _hoisted_40 = { class: \"wrapper-switch\" }\nconst _hoisted_41 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_router_link, {\n to: { name: 'AdminUser', params: { userId: $setup.userId } }\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString($setup.getFirstLastName($setup.user)), 1)\n ]),\n _: 1\n }, 8, [\"to\"]),\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString($setup.estate ? $setup.estate.title : \"\"), 1)\n ])\n ]),\n ($setup.estate)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"div\", _hoisted_13, _toDisplayString($setup.estate.title), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _createElementVNode(\"div\", _hoisted_16, _toDisplayString($setup.estate.address), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _hoisted_18,\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"span\", null, _toDisplayString($setup.formatPrice($setup.estate.initDeposit / 100)), 1),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"badge success\", { yellow: !$setup.estate.isRefundable }])\n }, _toDisplayString($setup.estate.isRefundable ? \"Refundable\" : \"Not refundable\"), 3)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _hoisted_21,\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", {\n class: \"color\",\n style: _normalizeStyle({ 'background-color': $setup.estate.iconColor })\n }, null, 4)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _hoisted_25,\n _createElementVNode(\"img\", {\n class: \"logo\",\n src: $setup.estate.logoUrl\n }, null, 8, _hoisted_26)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _createVNode($setup[\"InputFile\"], {\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($event.target.value = '')),\n onChange: $setup.onImportListing,\n text: \"Import Listing\",\n accept: \"text/xml\"\n }),\n _createElementVNode(\"div\", _hoisted_28, [\n _createVNode(_component_router_link, {\n class: \"button default edit\",\n to: { name: 'AdminEstateUpdate', params: { userId: $setup.userId, estateId: $setup.estateId } }\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Edit Estate\")\n ]),\n _: 1\n }, 8, [\"to\"]),\n _createVNode($setup[\"ToggleButton\"], {\n onChange: $setup.onChangeActiveEstate,\n modelValue: $setup.isActiveEstate,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (($setup.isActiveEstate) = $event)),\n label: $setup.isActiveEstate ? 'Active' : 'Draft'\n }, null, 8, [\"modelValue\", \"label\"])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_29, [\n _createElementVNode(\"div\", _hoisted_30, [\n _hoisted_31,\n ($setup.estate.lawyerId)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_32, [\n _createTextVNode(_toDisplayString($setup.estate.lawyerId?.detailsId?.companyName), 1),\n ($setup.estate?.lawyerId?.detailsId?.companyAddress)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_33))\n : _createCommentVNode(\"\", true),\n _createTextVNode(_toDisplayString($setup.estate?.lawyerId?.detailsId?.companyAddress), 1),\n _hoisted_34,\n _createTextVNode(_toDisplayString($setup.lawyerName), 1),\n _hoisted_35,\n _createTextVNode(_toDisplayString($setup.estate.lawyerId.phone), 1),\n _hoisted_36,\n _createTextVNode(_toDisplayString($setup.estate.lawyerId.email), 1)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_37, \"-\"))\n ]),\n _createElementVNode(\"div\", null, [\n (!$setup.estate.lawyerId)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button button-with-icon\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => ($setup.showAddLawyerModal = true))\n }, [\n _hoisted_38,\n _createTextVNode(\"Connect Trust account\")\n ]))\n : (_openBlock(), _createElementBlock(\"button\", {\n key: 1,\n class: \"button button-with-icon remove\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => ($setup.showConfirmDeleteLawyerModal = true))\n }, [\n _hoisted_39,\n _createTextVNode(\"Disconnect Trust account\")\n ]))\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_40, [\n _createVNode($setup[\"SwitchComponent\"], {\n modelValue: $setup.currentTab,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (($setup.currentTab) = $event)),\n list: $setup.tabs,\n slots: ['customSwitch']\n }, {\n customSwitch: _withCtx((item) => [\n _createElementVNode(\"span\", {\n class: \"switch-item--text\",\n onClick: ($event: any) => ($setup.toTab(item.label))\n }, _toDisplayString(item.label), 9, _hoisted_41)\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_router_view, {\n class: _normalizeClass({ 'doc-wr': $setup.currentTab.label === 'documents' }),\n role: $setup.UserRoles.SUPER_ADMIN\n }, null, 8, [\"class\", \"role\"]),\n _createVNode($setup[\"AddLawyerToEstateModal\"], {\n \"is-open\": $setup.showAddLawyerModal,\n \"estate-name\": $setup.estate?.title || '',\n onClose: _cache[5] || (_cache[5] = ($event: any) => ($setup.showAddLawyerModal = false)),\n onLawyerId: $setup.onGetLawyerId\n }, null, 8, [\"is-open\", \"estate-name\"]),\n _createVNode($setup[\"ConfirmDeleteModal\"], {\n isOpen: $setup.showConfirmDeleteLawyerModal,\n deleteItem: $setup.lawyerName,\n onClose: _cache[6] || (_cache[6] = ($event: any) => ($setup.showConfirmDeleteLawyerModal = false)),\n onConfirm: $setup.onRemoveLawyer\n }, null, 8, [\"isOpen\", \"deleteItem\"]),\n _createVNode($setup[\"SelectImportedListingModal\"], {\n isOpen: $setup.isSelectImportedModalOpen,\n listings: $setup.importedListingData,\n onClose: _cache[7] || (_cache[7] = ($event: any) => ($setup.isSelectImportedModalOpen = false))\n }, null, 8, [\"isOpen\", \"listings\"])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { computed, onMounted, ref } from \"vue\";\nimport SwitchComponent from \"@/components/ui/SwitchComponent.vue\";\nimport router from \"@/router\";\nimport store from \"@/store\";\nimport { UserInterface } from \"@/types/UserInterface\";\nimport { EstateInterface } from \"@/types/EstateInterface\";\nimport { UserRoles } from \"@/enums/UserRoles\";\nimport { getFirstLastName } from \"@/helpers/user\";\nimport AddLawyerToEstateModal from \"@/components/ui/modals/AddLawyerToEstateModal.vue\";\nimport ConfirmDeleteModal from \"@/components/ui/modals/ConfirmDeleteModal.vue\";\nimport { formatPrice } from \"@/helpers/transformation/price\";\nimport estateApi from \"@/services/api/estateApi\";\nimport ToggleButton from \"@/components/ui/ToggleButton.vue\";\nimport { useToast } from \"vue-toastification\";\nimport InputFile from \"@/components/ui/input/InputFile.vue\";\nimport SelectImportedListingModal from \"@/components/ui/modals/SelectImportedListingModal.vue\";\nimport { ImportedListingInterface } from \"@/types/ImportedListingInterface\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AdminEstate',\n setup(__props, { expose: __expose }) {\n __expose();\n\nconst importedListingData = ref([]);\nconst fileInputRef = ref(null);\n\n\nconst toast = useToast();\nconst { userId, estateId } = router.currentRoute.value.params;\nconst user = ref(null);\nconst estate = ref(null);\nconst showAddLawyerModal = ref(false);\nconst showConfirmDeleteLawyerModal = ref(false);\nconst lawyerName = computed(() => {\n if (estate.value?.lawyerId) {\n const { firstName, lastName } = estate.value.lawyerId;\n return `${firstName} ${lastName}`;\n }\n return \"\";\n});\nconst isActiveEstate = ref(false);\nconst isSelectImportedModalOpen = ref(false);\nonMounted(() => {\n store.dispatch(\"user/getUser\", userId).then((res) => {\n user.value = res.data;\n });\n fetchEstate();\n});\n\nconst tabs = [{ label: \"stages\" }, { label: \"documents\" }, { label: \"map\" }];\nconst currentTab = ref(\n tabs.find((label) => router.currentRoute.value.fullPath.includes(label.label))\n);\nconst onGetLawyerId = (lawyerId: string) => {\n showAddLawyerModal.value = false;\n updateEstate({ lawyerId });\n};\nconst toTab = (tab: string) => {\n if (currentTab.value.label !== tab) {\n router.push(\n router.currentRoute.value.fullPath.replace(currentTab.value.label, tab)\n );\n }\n};\nconst onChangeActiveEstate = () => {\n estateApi\n .changeEstateActive({\n estateId: String(estateId),\n isActive: isActiveEstate.value,\n })\n .then(() => {\n const message = isActiveEstate.value\n ? \"The estate is active now.\"\n : \"The estate is switched to draft.\";\n toast.success(message);\n })\n .catch((error) => {\n isActiveEstate.value = false;\n toast.error(error.response?.data?.message);\n });\n};\nconst onRemoveLawyer = () => {\n if (estate.value) {\n estateApi.unassignLawyer(estate.value._id).then(fetchEstate);\n }\n};\nconst fetchEstate = () => {\n store.dispatch(\"estate/getEstate\", estateId).then((res) => {\n estate.value = res.data;\n isActiveEstate.value = res.data.isActive;\n });\n};\nconst updateEstate = (props) => {\n store\n .dispatch(\"estate/updateEstate\", { id: estateId, data: props })\n .then((response) => {\n estate.value = response.data;\n router.push({\n name: \"AdminEstate\",\n params: { userId, estateId },\n });\n });\n};\n\nconst createFormData = (event: InputEvent) => {\n const files = (event.target as HTMLInputElement).files as FileList;\n const formData = new FormData();\n formData.append(\"file\", files[0]);\n return formData;\n};\n\nconst onImportListing = (event: InputEvent) => {\n const formData = createFormData(event);\n store\n .dispatch(\"listing/parseXmlToListings\", {\n estateId,\n landownerId: userId,\n data: formData,\n })\n .then((res) => {\n importedListingData.value = res.data;\n isSelectImportedModalOpen.value = true;\n })\n .catch((err) => {\n if (err.response.status === 400) {\n toast.error(\n \"Error while uploading file - please check the file format and the data inside the file\"\n );\n return;\n }\n toast.error(\"Something went wrong, try later\");\n });\n};\n\nconst __returned__ = { importedListingData, fileInputRef, toast, userId, estateId, user, estate, showAddLawyerModal, showConfirmDeleteLawyerModal, lawyerName, isActiveEstate, isSelectImportedModalOpen, tabs, currentTab, onGetLawyerId, toTab, onChangeActiveEstate, onRemoveLawyer, fetchEstate, updateEstate, createFormData, onImportListing, computed, onMounted, ref, SwitchComponent, get router() { return router }, get store() { return store }, get UserInterface() { return UserInterface }, get EstateInterface() { return EstateInterface }, get UserRoles() { return UserRoles }, get getFirstLastName() { return getFirstLastName }, AddLawyerToEstateModal, ConfirmDeleteModal, get formatPrice() { return formatPrice }, get estateApi() { return estateApi }, ToggleButton, get useToast() { return useToast }, InputFile, SelectImportedListingModal, get ImportedListingInterface() { return ImportedListingInterface } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./AdminEstate.vue?vue&type=template&id=0f22f299&scoped=true&ts=true&lang=pug\"\nimport script from \"./AdminEstate.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./AdminEstate.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./AdminEstate.vue?vue&type=style&index=0&id=0f22f299&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0f22f299\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6e38ce4c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"wrapper-input-file\" }\nconst _hoisted_2 = [\"accept\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n class: _normalizeClass($props.viewClass)\n }, [\n _createTextVNode(_toDisplayString($setup.props.text), 1),\n _createElementVNode(\"input\", {\n class: \"input-file-input\",\n type: \"file\",\n onChange: $setup.onChange,\n accept: $setup.props.accept\n }, null, 40, _hoisted_2)\n ], 2)\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'InputFile',\n props: {\n viewClass: {\n type: String,\n default: \"button-primary-with-icon folder\",\n },\n text: {\n type: String,\n default: \"Upload\",\n },\n accept: {\n type: String,\n },\n owner: {\n type: String,\n },\n},\n emits: [\"change\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n\n\nconst onChange = (event: Event) => {\n if (props.owner) {\n emits(\"change\", event, props.owner);\n } else {\n emits(\"change\", event);\n }\n};\n\nconst __returned__ = { emits, props, onChange }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./InputFile.vue?vue&type=template&id=6e38ce4c&scoped=true&ts=true&lang=pug\"\nimport script from \"./InputFile.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./InputFile.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./InputFile.vue?vue&type=style&index=0&id=6e38ce4c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6e38ce4c\"]])\n\nexport default __exports__"],"sourceRoot":""}