{"version":3,"sources":["webpack:///./src/components/concierge/AddSiteCosts.vue?ab01","webpack:///./src/components/concierge/AddSiteCosts.vue","webpack:///./src/components/concierge/AddSiteCosts.vue?0e8f","webpack:///./src/helpers/fileUpload.ts","webpack:///./src/components/concierge/BuilderDropdown.vue?1677","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/enums/BuilderDropdownOptionsEnum.ts","webpack:///./src/views/admin/estates/AdminEstateStages.vue?6969","webpack:///./src/views/admin/estates/AdminEstateStages.vue","webpack:///./src/views/admin/estates/AdminEstateStages.vue?9d99","webpack:///./src/components/concierge/AddSiteCosts.vue?b105","webpack:///./src/components/concierge/ProjectDropdown.vue?e054","webpack:///./src/components/concierge/ProjectDropdown.vue","webpack:///./src/components/concierge/ProjectDropdown.vue?3224","webpack:///./src/enums/BuilderBestDescribesYou.ts","webpack:///./src/components/concierge/SummaryPackage.vue?2cc3","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/components/concierge/SavedChanges.vue?8fad","webpack:///./src/helpers/lot/adminLot.ts","webpack:///./src/features/plural.ts","webpack:///./src/components/ui/modals/ConfirmDeleteModal.vue?8f89","webpack:///./src/views/admin/stages/AdminStageLots.vue?7df2","webpack:///./src/components/concierge/FacadeOptions.vue?4067","webpack:///./src/components/concierge/SummaryPackage.vue?458e","webpack:///./src/components/concierge/SummaryPackage.vue","webpack:///./src/components/concierge/SummaryPackage.vue?2685","webpack:///./src/views/admin/estates/AdminEstateStages.vue?1ec9","webpack:///./src/components/concierge/ProjectDropdown.vue?f868","webpack:///./src/enums/BuilderTimeToBuild.ts","webpack:///./src/enums/LeadSourceEnum.ts","webpack:///./src/views/admin/stages/AdminStageLots.vue?2e50","webpack:///./src/views/admin/stages/AdminStageLots.vue","webpack:///./src/views/admin/stages/AdminStageLots.vue?cab5","webpack:///./src/enums/BuilderFinanceStatus.ts","webpack:///./src/components/concierge/HouseTable.vue?840e","webpack:///./src/helpers/builder/calculateBuildPriceOrPackagePriceTotal.ts","webpack:///./src/components/concierge/BuilderDropdown.vue?ef83","webpack:///./src/components/concierge/BuilderDropdown.vue","webpack:///./src/components/concierge/BuilderDropdown.vue?898c","webpack:///./src/components/concierge/HouseTable.vue?ed15","webpack:///./src/components/concierge/HouseTable.vue","webpack:///./src/components/concierge/HouseTable.vue?3ab4","webpack:///./src/components/concierge/FacadeOptions.vue?f0e4","webpack:///./src/components/concierge/FacadeOptions.vue","webpack:///./src/components/concierge/FacadeOptions.vue?7755","webpack:///./src/components/concierge/SavedChanges.vue?6916","webpack:///./src/components/concierge/SavedChanges.vue","webpack:///./src/components/concierge/SavedChanges.vue?7cae"],"names":["_withScopeId","n","_pushScopeId","_popScopeId","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_createElementVNode","render","_ctx","_cache","$props","$setup","$data","$options","_openBlock","_createElementBlock","_withDirectives","placeholder","$event","siteCostsSelected","type","_vModelText","_defineComponent","__name","props","siteCosts","Number","required","emits","setup","__props","expose","__expose","emit","ref","watch","newValue","value","onMounted","__returned__","Object","defineProperty","enumerable","__exports__","cov_tf4ol8p5k","actualCoverage","MaxFileSize","s","toast","useToast","validDocumentsTypes","validImagesTypes","isValidDocumentType","file","showErrorToast","b","f","includes","name","toLowerCase","endsWith","error","isValidImageType","isPngType","isXlsxType","isValidFileSize","size","Math","floor","key","_normalizeClass","disabled","modelValue","checked","onChange","$emit","partial","checkedPartial","label","_toDisplayString","_createCommentVNode","Boolean","String","BuilderDropdownOptionsEnum","cov_xt2c99go0","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_component_router_link","_resolveComponent","isConciergeView","stages","length","_createVNode","searchQuery","theme","onClick","toCreateStage","_Fragment","_renderList","stage","toStage","_id","title","getStageStatusClass","status","_withModifiers","to","params","userId","estateId","stageId","setItemForDelete","isOpen","showConfirmDeleteModal","deleteItem","itemForDelete","onClose","onConfirm","deleteStage","id","landownerId","default","computed","router","currentRoute","debounceSearch","debounce","getStages","store","dispatch","then","res","data","push","success","catch","err","_err$response$data","response","message","newEstateId","immediate","ConfirmDeleteModal","InputSearch","StageInterface","control","_withCtx","displaySelectedTitle","dropdown","options","option","setSelectedEstate","selectedEstateId","_","estateSelected","Array","selectedOption","find","SELECT_PROJECT","newTitle","DropDown","BestDescribesYouEnum","cov_15mv3ru70c","_createBlock","close","confirm","description","text","isLeadsPage","_createTextVNode","customText","LotAssignmentModal","notEditableLotStatuses","cov_p5j1mur9o","LotStatus","EOI","CONTRACT_EXECUTED","UNCONDITIONAL","canEditLot","plural","number","word","withNumber","cov_1quwmciphk","toLocaleLowerCase","firstChar","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","project","lot","formatPrice","landSize","landPrice","homeArea","calculateBuildPriceOrPackagePriceTotal","homePrice","facadePrice","TimeToBuildEnum","cov_23qvxs8maa","LeadSourceEnum","cov_1nlbuf9yd6","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","src","_imports_0","_hoisted_27","_hoisted_28","lots","toCreateLot","bulkUpload","accept","templateDownloadLink","href","target","isUserActive","selectedLotsList","show","showConfirmBulkDeleteModal","lotList","isSelectAll","selectAll","index","handleRowClick","selectLot","selected","price","getLotStatusClass","PRE_CONTRACT","lotId","AVAILABLE","builders","getButtonLabel","deleteLot","bulkDeleteLots","getLots","filter","item","user","_user$value","verifiedEmail","selectedIndex","getUser","map","evnt","isSelect","forEach","e","files","selectedFile","FormData","append","getTemplateLink","toLot","lotIds","_err$response$data2","isClickable","toLotSelectedIfClickeable","toLotSelected","lotTitle","lotSize","lotPrice","CheckboxInput","LotInterface","UserInterface","FinanceStatusEnum","cov_2h5lllg8jk","cov_10umnzvi8v","homePriceNum","isNaN","facadePriceNum","siteCostsNum","additionalCostsNum","undefined","totalPrice","builderSelected","builder","onSelect","selectedBuilderId","builderPackage","selectedBuilder","SELECT_BUILDER","logo","BuilderPackage","_imports_1","colspan","tableHeaders","header","houses","house","onSelectHouse","area","basePrice","floorplans","url","bedroom","bathroom","quantity","loungeRoom","selectedHouseId","initialSelectedHouseId","floorplanUrl","floorplanName","houseName","h","watchEffect","console","log","facades","facade","selectedFacadeId","onSelectFacade","alt","initialSelectedFacade","facadeName","facadePackage","housePackage","lotPackage","isLoading","isUpdate","onUpdatePackage","onSavePackage","onCopyLinkPackage","floorplanPackage","landowerId","estateTitle","packageId","routerVue","useRouter","newSiteCosts","newVal","getLot","async","updateSiteCosts","_lot$value","updatedBuilders","builderId","toString","updatedHouses","housesIds","houseId","updatedLot","body","createBodyRequest","quoteId","userSelection","logoUrl","facadeId","floorplan","selections","additionalRequest","timeReference","THREE_MONTHS","bestDescribesYou","FIRST_TIME_BUYER","financeStatus","PRE_APPROVED","emailSentToLandowner","isAdminPackage","lead","firstName","lastName","email","phone","source","ENQUIRY","watched","link","window","location","origin","copyToClipboard","reactive","FacadePackage","FloorplanPackage","HousePackage","LotPackage","UpdateBuilderQuoteDto"],"mappings":"swCAEA,MAAMA,EAAeC,IAAMC,yBAAa,mBAAmBD,EAAEA,IAAIE,0BAAcF,GACzEG,EAAa,CAAEC,MAAO,gBACtBC,EAAa,CAAED,MAAO,QACtBE,EAAa,CAAEF,MAAO,aACtBG,EAAa,CAAEH,MAAO,kBACtBI,EAA2BT,EAAa,IAAmBU,gCAAoB,QAAS,CAAEL,MAAO,SAAW,kBAAmB,IAE/H,SAAUM,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQC,yBAAcC,gCAAoB,OAAQf,EAAY,CAC5DM,gCAAoB,MAAOJ,EAAY,CACrCI,gCAAoB,MAAOH,EAAY,CACrCG,gC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,OAAQvK,aAAewK,QACvBC,SAAS,KAKT5C,EAAoBU,UACxB,MAAMmC,EAAO,GAAGC,OAAOC,SAASC,yBAAyBxW,EAAM2F,4CAA4CiO,WAAmB5T,EAAMkT,aAAawB,6BACjJ+B,6BAAgBJ,EAAM,+CAGxBvV,uBAAU,KACLd,EAAMmT,WAAWxF,OAClBsG,MAIJ,MAAMlT,EAAe,CAAEf,QAAO4T,YAAWpS,QAAO4R,YAAWS,YAAW5I,MAAK8I,eAAcE,SAAQE,kBAAiBZ,gBAAeD,kBAAiBuB,oBAAmBrB,oBAAmBhN,uBAAU1F,yBAAW4V,uBAAUhW,aAAKC,iBAAO4R,6BAAa,kBAAoB,OAAOrH,kBAAe,sBAAwB,OAAOuL,sBAAmB,eAAiB,OAAOhV,QAAY,gBAAkB,OAAOqS,QAAa,YAAc,OAAOhN,cAAS,qBAAuB,OAAOmK,qBAAkB,oBAAsB,OAAO0F,oBAAiB,uBAAyB,OAAOC,uBAAoB,mBAAqB,OAAOC,mBAAgB,iBAAmB,OAAOC,iBAAc,4BAA8B,OAAOC,4BAAyB,qBAAuB,OAAOpL,cAAkB,sBAAwB,OAAOF,sBAAmB,2BAA6B,OAAO1C,2BAAwB,wBAA0B,OAAOgH,wBAAqB,aAAe,OAAOtJ,cAAU,mBAAqB,OAAOoJ,mBAAgB,6CAA+C,OAAOvE,8CAE9iC,OADAtK,OAAOC,eAAeF,EAAc,kBAAmB,CAAEG,YAAY,EAAOL,OAAO,IAC5EE,K,kCCnNP,MAAMI,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASpC,GAAQ,CAAC,YAAY,qBAE1E,gB","file":"js/admin8~admin9.72e7742e.js","sourcesContent":["import { createElementVNode as _createElementVNode, vModelText as _vModelText, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0e487e24\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"default-form\" }\nconst _hoisted_2 = { class: \"card\" }\nconst _hoisted_3 = { class: \"input-row\" }\nconst _hoisted_4 = { class: \"input-wr short\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Add Site Costs\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"form\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _withDirectives(_createElementVNode(\"input\", {\n class: \"input\",\n placeholder: \"Site Costs\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (($setup.siteCostsSelected) = $event)),\n type: \"number\"\n }, null, 512), [\n [_vModelText, $setup.siteCostsSelected]\n ])\n ])\n ])\n ])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { onMounted, ref, watch } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AddSiteCosts',\n props: {\n siteCosts: {\n type: Number,\n required: true,\n },\n},\n emits: ['addSiteCosts'],\n setup(__props, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\n\n\n\n\nconst siteCostsSelected = ref(props.siteCosts);\n\nwatch(siteCostsSelected, (newValue) => {\n siteCostsSelected.value = newValue;\n emit('addSiteCosts', newValue);\n});\n\nonMounted(() => {\n if(props.siteCosts){\n emit('addSiteCosts', props.siteCosts);\n }\n})\n\nconst __returned__ = { props, emit, siteCostsSelected, onMounted, ref, watch }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./AddSiteCosts.vue?vue&type=template&id=0e487e24&scoped=true&ts=true&lang=pug\"\nimport script from \"./AddSiteCosts.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./AddSiteCosts.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./AddSiteCosts.vue?vue&type=style&index=0&id=0e487e24&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-0e487e24\"]])\n\nexport default __exports__","import { useToast } from \"vue-toastification\";\n\nexport const MaxFileSize = 26214400;\nconst toast = useToast();\nexport const validDocumentsTypes = [\n \"image/png\",\n \"image/jpeg\",\n \"image/heic\",\n \"image/heif\",\n \".heic\",\n \"application/pdf\",\n];\nexport const validImagesTypes = [\n \"image/png\",\n \"image/jpeg\",\n \"image/heic\",\n \"image/heif\",\n \".heic\",\n];\n\nexport function isValidDocumentType(file: File, showErrorToast = true) {\n if (\n !validDocumentsTypes.includes(file.type) &&\n !file.name.toLowerCase().endsWith(\".heic\")\n ) {\n if (showErrorToast) {\n toast.error(\"Only png, jpg, jpeg, heic, pdf files allowed\");\n }\n return false;\n }\n return true;\n}\nexport function isValidImageType(file: File, showErrorToast = true) {\n if (\n !validImagesTypes.includes(file.type) &&\n !file.name.toLowerCase().endsWith(\".heic\")\n ) {\n if (showErrorToast) {\n toast.error(\"Only png, jpg, jpeg, heic files allowed\");\n }\n return false;\n }\n return true;\n}\nexport function isPngType(file: File, showErrorToast = true) {\n if (file.type !== \"image/png\") {\n if (showErrorToast) {\n toast.error(\"Only png files allowed\");\n }\n return false;\n }\n return true;\n}\nexport function isXlsxType(file: File, showErrorToast = true) {\n if (\n file.type !==\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\"\n ) {\n if (showErrorToast) {\n toast.error(\"Only xlsx files allowed\");\n }\n return false;\n }\n return true;\n}\nexport function isValidFileSize(file: File, showErrorToast = true) {\n if (file.size > MaxFileSize) {\n if (showErrorToast) {\n toast.error(\n `File size should not exceed ${Math.floor(\n MaxFileSize / 1024 / 1024\n )} MB`\n );\n }\n return false;\n }\n return true;\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!./BuilderDropdown.vue?vue&type=style&index=0&id=5cf39c7d&lang=scss&scoped=true\"","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 enum BuilderDropdownOptionsEnum {\n SELECT_PROJECT = \"Select Project\",\n SELECT_BUILDER = \"Select Builder\",\n}\n","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, resolveComponent as _resolveComponent, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-984913ce\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"admin-page-wr\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"dashboard-header\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"title-main\" }, \"Stages\", -1))\nconst _hoisted_4 = { class: \"subtitle-main\" }\nconst _hoisted_5 = {\n key: 1,\n class: \"filters\"\n}\nconst _hoisted_6 = { class: \"table-wrapper\" }\nconst _hoisted_7 = { class: \"table-default\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"thead\", null, [\n /*#__PURE__*/_createElementVNode(\"tr\", null, [\n /*#__PURE__*/_createElementVNode(\"th\", null, \"Name\"),\n /*#__PURE__*/_createElementVNode(\"th\", null, \"Status\"),\n /*#__PURE__*/_createElementVNode(\"th\", null, \"Action\")\n ])\n], -1))\nconst _hoisted_9 = [\"onClick\"]\nconst _hoisted_10 = { class: \"bold\" }\nconst _hoisted_11 = { class: \"actions\" }\nconst _hoisted_12 = { class: \"actions-wr\" }\nconst _hoisted_13 = [\"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\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!$props.isConciergeView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"h3\", _hoisted_4, _toDisplayString(`${$setup.stages.length} stage${$setup.stages.length > 1 ? \"s\" : \"\"}`), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (!$props.isConciergeView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode($setup[\"InputSearch\"], {\n modelValue: $setup.searchQuery,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (($setup.searchQuery) = $event)),\n placeholder: \"Search\",\n theme: \"filter\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", { class: \"buttons\" }, [\n _createElementVNode(\"button\", {\n class: \"button default primary add-btn-primary\",\n onClick: $setup.toCreateStage\n }, \"Add Stage\")\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"table\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.stages, (stage) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n onClick: ($event: any) => ($setup.toStage(stage._id))\n }, [\n _createElementVNode(\"td\", _hoisted_10, \"Stage \" + _toDisplayString(stage.title), 1),\n _createElementVNode(\"td\", null, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"badge\", $setup.getStageStatusClass(stage.status)])\n }, _toDisplayString(stage.status), 3)\n ]),\n _createElementVNode(\"td\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_router_link, {\n class: \"icon edit\",\n onClick: _cache[1] || (_cache[1] = _withModifiers(() => {}, [\"stop\"])),\n to: { name: 'AdminStageUpdate', params: { userId: $setup.userId, estateId: $setup.estateId, stageId: stage._id } }\n }, null, 8, [\"to\"]),\n _createElementVNode(\"button\", {\n class: \"icon trash\",\n onClick: _withModifiers(($event: any) => ($setup.setItemForDelete(stage)), [\"stop\"])\n }, null, 8, _hoisted_13)\n ])\n ])\n ], 8, _hoisted_9))\n }), 256))\n ])\n ])\n ]),\n _createVNode($setup[\"ConfirmDeleteModal\"], {\n isOpen: $setup.showConfirmDeleteModal,\n deleteItem: $setup.itemForDelete.title,\n onClose: _cache[2] || (_cache[2] = ($event: any) => ($setup.showConfirmDeleteModal = false)),\n onConfirm: _cache[3] || (_cache[3] = ($event: any) => ($setup.deleteStage($setup.itemForDelete.id)))\n }, null, 8, [\"isOpen\", \"deleteItem\"])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport ConfirmDeleteModal from \"@/components/ui/modals/ConfirmDeleteModal.vue\";\r\nimport InputSearch from \"@/components/ui/input/InputSearch.vue\";\r\nimport { computed, onMounted, ref, watch } from \"vue\";\r\nimport router from \"@/router\";\r\nimport store from \"@/store\";\r\nimport { getStageStatusClass } from \"@/helpers/status\";\r\nimport { debounce } from \"@/helpers/debounce\";\r\nimport { StageInterface } from \"@/types/StageInterface\";\r\nimport { useToast } from \"vue-toastification\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AdminEstateStages',\n props: {\r\n estateId: { type: String, required: false },\r\n landownerId: { type: String, required: false },\r\n isConciergeView: { type: Boolean, default: false },\r\n},\n emits: [\"toLots\"],\n setup(__props, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\r\n\r\n\r\nconst toast = useToast();\r\nconst userId = computed(() => props.landownerId || router.currentRoute.value.params.userId);\r\nconst estateId = computed(() => props.estateId || router.currentRoute.value.params.estateId);\r\nconst stages = ref([]);\r\nconst searchQuery = ref(\"\");\r\nconst debounceSearch = debounce(getStages);\r\nconst showConfirmDeleteModal = ref(false);\r\nconst itemForDelete = ref({ id: \"\", title: \"\" });\r\n\r\nwatch(estateId, (newEstateId) => {\r\n if (newEstateId) {\r\n getStages();\r\n }\r\n}, { immediate: true });\r\n\r\nwatch(\r\n () => searchQuery.value,\r\n () => {\r\n debounceSearch();\r\n }\r\n);\r\n\r\nonMounted(() => {\r\n getStages();\r\n});\r\n\r\nfunction getStages() {\r\n store\r\n .dispatch(\"stage/getStages\", { title: searchQuery.value, estateId: estateId.value })\r\n .then((res) => {\r\n stages.value = res.data;\r\n });\r\n}\r\nfunction toStage(id: string) {\r\n if(!props.isConciergeView){\r\n router.push({\r\n name: \"AdminStage\",\r\n params: { userId: userId.value, estateId: estateId.value, stageId: id },\r\n });\r\n } else {\r\n emit(\"toLots\", id)\r\n }\r\n}\r\nfunction toCreateStage() {\r\n router.push({\r\n name: \"AdminStageCreate\",\r\n params: { userId: userId.value, estateId: estateId.value },\r\n });\r\n}\r\nfunction deleteStage(id: string) {\r\n store\r\n .dispatch(\"stage/deleteStage\", id)\r\n .then(() => {\r\n getStages();\r\n toast.success(\"The stage was successfully deleted\");\r\n })\r\n .catch((err) => {\r\n if (err.response.data?.message) {\r\n toast.error(err.response.data.message);\r\n } else {\r\n toast.error(\"Something went wrong\");\r\n }\r\n });\r\n}\r\nfunction setItemForDelete(stage: StageInterface) {\r\n itemForDelete.value = { id: stage._id, title: stage.title };\r\n showConfirmDeleteModal.value = true;\r\n}\r\n\nconst __returned__ = { props, emit, toast, userId, estateId, stages, searchQuery, debounceSearch, showConfirmDeleteModal, itemForDelete, getStages, toStage, toCreateStage, deleteStage, setItemForDelete, ConfirmDeleteModal, InputSearch, computed, onMounted, ref, watch, get router() { return router }, get store() { return store }, get getStageStatusClass() { return getStageStatusClass }, get debounce() { return debounce }, get StageInterface() { return StageInterface }, get useToast() { return useToast } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./AdminEstateStages.vue?vue&type=template&id=984913ce&scoped=true&ts=true&lang=pug\"\nimport script from \"./AdminEstateStages.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./AdminEstateStages.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./AdminEstateStages.vue?vue&type=style&index=0&id=984913ce&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-984913ce\"]])\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!./AddSiteCosts.vue?vue&type=style&index=0&id=0e487e24&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e7b37aee\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"card\" }\nconst _hoisted_2 = { class: \"filters\" }\nconst _hoisted_3 = { class: \"content-input\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Select Project\", -1))\nconst _hoisted_5 = {\n class: \"dropdown-button input-dropdown input-border\",\n type: \"button\"\n}\nconst _hoisted_6 = [\"onClick\"]\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(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createVNode($setup[\"DropDown\"], { class: \"dropdown-container\" }, {\n control: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_5, _toDisplayString($setup.displaySelectedTitle), 1)\n ]),\n dropdown: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($props.options, (option) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: option.id,\n onClick: () => $setup.setSelectedEstate(option),\n class: _normalizeClass({ 'dropdown__item-active': option.id === $setup.selectedEstateId })\n }, _toDisplayString(option.title), 11, _hoisted_6))\n }), 128))\n ])\n ]),\n _: 1\n })\n ])\n ])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport DropDown from \"@/components/ui/dropdown/DropDown.vue\";\n import { BuilderDropdownOptionsEnum } from \"@/enums/BuilderDropdownOptionsEnum\";\n import { ref, computed, watch } from \"vue\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ProjectDropdown',\n props: {\n estateSelected: {\n type: String,\n required: true,\n },\n options: {\n type: Array,\n default: () => [],\n },\n },\n emits: [\"selectEstate\"],\n setup(__props, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\n \n\n \n\n const selectedEstateId = ref(null);\n\n const displaySelectedTitle = computed(() => {\n const selectedOption = props.options.find(\n (option) => option.id === selectedEstateId.value\n );\n return selectedOption\n ? selectedOption.title\n : BuilderDropdownOptionsEnum.SELECT_PROJECT;\n });\n\n const setSelectedEstate = (option: {\n id: string;\n title: string;\n landownerId: string | null;\n }) => {\n selectedEstateId.value = option.id;\n emit(\"selectEstate\", option.title, option.id, option.landownerId);\n };\n\n watch(\n () => props.estateSelected,\n (newTitle) => {\n const selectedOption = props.options.find(\n (option) => option.title === newTitle\n );\n selectedEstateId.value = selectedOption ? selectedOption.id : null;\n },\n { immediate: true }\n );\n\nconst __returned__ = { props, emit, selectedEstateId, displaySelectedTitle, setSelectedEstate, DropDown, get BuilderDropdownOptionsEnum() { return BuilderDropdownOptionsEnum }, ref, computed, watch }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./ProjectDropdown.vue?vue&type=template&id=e7b37aee&scoped=true&ts=true&lang=pug\"\nimport script from \"./ProjectDropdown.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ProjectDropdown.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ProjectDropdown.vue?vue&type=style&index=0&id=e7b37aee&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-e7b37aee\"]])\n\nexport default __exports__","export enum BestDescribesYouEnum {\n FIRST_TIME_BUYER = \"First time buyer\",\n UPSIZER_OR_DOWNSIZER = \"Upsizer / Downsizer\",\n INVESTOR = \"Investor\",\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!./SummaryPackage.vue?vue&type=style&index=0&id=7549b43d&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!./SavedChanges.vue?vue&type=style&index=0&id=ac176568&lang=scss&scoped=true\"","import { LotStatus } from \"@/enums/LotStatus\";\n\nexport const notEditableLotStatuses = [\n LotStatus.EOI,\n LotStatus.CONTRACT_EXECUTED,\n LotStatus.UNCONDITIONAL,\n];\n\nexport function canEditLot(status: LotStatus) {\n return !notEditableLotStatuses.includes(status);\n}\n","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\"","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!./AdminStageLots.vue?vue&type=style&index=0&id=281a2d34&lang=scss&scoped=true\"","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!./FacadeOptions.vue?vue&type=style&index=0&id=f4a818cc&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7549b43d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"card\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Summmary\", -1))\nconst _hoisted_3 = { class: \"row-wr\" }\nconst _hoisted_4 = { class: \"row\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-label\" }, \"Project\", -1))\nconst _hoisted_6 = { class: \"row-value\" }\nconst _hoisted_7 = { class: \"row secondary\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-label\" }, \"Lot Number\", -1))\nconst _hoisted_9 = { class: \"row-value\" }\nconst _hoisted_10 = { class: \"row\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-label\" }, \"Land Size\", -1))\nconst _hoisted_12 = { class: \"row-value\" }\nconst _hoisted_13 = { class: \"row secondary\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-label\" }, \"Land Price\", -1))\nconst _hoisted_15 = { class: \"row-value\" }\nconst _hoisted_16 = { class: \"row\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-label\" }, \"Home Area\", -1))\nconst _hoisted_18 = { class: \"row-value\" }\nconst _hoisted_19 = { class: \"row secondary\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-label\" }, \"Home Price\", -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(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString($setup.props.project), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString($setup.props.lot), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _createElementVNode(\"div\", _hoisted_12, _toDisplayString($setup.formatPrice($setup.props.landSize, false)) + \" sqm\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"div\", _hoisted_15, _toDisplayString($setup.formatPrice($setup.props.landPrice)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createElementVNode(\"div\", _hoisted_18, _toDisplayString($setup.formatPrice($setup.props.homeArea, false)) + \" sqm\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _hoisted_20,\n _createElementVNode(\"div\", _hoisted_21, _toDisplayString($setup.calculateBuildPriceOrPackagePriceTotal($setup.props.homePrice, $setup.props.facadePrice, $setup.props.siteCosts)), 1)\n ])\n ])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { formatPrice } from \"@/helpers/transformation/price\";\nimport { computed } from \"vue\";\nimport { calculateBuildPriceOrPackagePriceTotal } from \"@/helpers/builder/calculateBuildPriceOrPackagePriceTotal\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SummaryPackage',\n props: {\n project: {\n type: String,\n default: () => \"\",\n },\n lot: {\n type: String,\n default: () => \"\",\n },\n landSize: {\n type: Number,\n default: () => 0,\n },\n landPrice: {\n type: Number,\n default: () => 0,\n },\n homeArea: {\n type: Number,\n default: () => 0,\n },\n homePrice: {\n type: Number,\n default: () => 0,\n },\n facadePrice: {\n type: Number,\n default: () => 0,\n },\n siteCosts: {\n type: Number,\n default: () => 0,\n }\n},\n setup(__props, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n\n\nconst __returned__ = { props, get formatPrice() { return formatPrice }, computed, get calculateBuildPriceOrPackagePriceTotal() { return calculateBuildPriceOrPackagePriceTotal } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./SummaryPackage.vue?vue&type=template&id=7549b43d&scoped=true&ts=true&lang=pug\"\nimport script from \"./SummaryPackage.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./SummaryPackage.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./SummaryPackage.vue?vue&type=style&index=0&id=7549b43d&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-7549b43d\"]])\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!./AdminEstateStages.vue?vue&type=style&index=0&id=984913ce&lang=scss&scoped=true\"","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!./ProjectDropdown.vue?vue&type=style&index=0&id=e7b37aee&lang=scss&scoped=true\"","export enum TimeToBuildEnum {\n ASAP = \"As soon as possible\",\n THREE_MONTHS = \"Within 3 months\",\n SIX_MONTHS = \"3 - 6 months\",\n MORE_THAN_SIX_MONTHS = \"More than 6 months\",\n}\n","enum LeadSourceEnum {\n /**\n *Automatic lead addition after form submission\n */\n ENQUIRY = \"Form submission\",\n\n /**\n *Add a lead manually\n */\n MANUALLY = \"Created\",\n\n /**\n *Add leads from uploaded xlsx file\n */\n IMPORT = \"Import\",\n\n /**\n *Automatic lead addition after waitlist form submission\n */\n WAITLIST = \"Waitlist\",\n\n /**\n *Lead that comes from Realestate.com.au\n */\n REA = \"Realestate.com.au\",\n\n /**\n *Lead created when a Initial Hold Request is made.\n */\n INITIAL_HOLD = \"Initial Hold Request\",\n}\n\nexport default LeadSourceEnum;\n","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, withModifiers as _withModifiers, resolveComponent as _resolveComponent, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/checked-white.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-281a2d34\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"admin-page-wr\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"dashboard-header\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"title-main\" }, \"Lots\", -1))\nconst _hoisted_4 = { class: \"subtitle-main\" }\nconst _hoisted_5 = {\n key: 1,\n class: \"filters\"\n}\nconst _hoisted_6 = { class: \"buttons\" }\nconst _hoisted_7 = { class: \"button default primary add-btn-primary bulk-btn\" }\nconst _hoisted_8 = [\"href\"]\nconst _hoisted_9 = {\n key: 0,\n class: \"table-controls\"\n}\nconst _hoisted_10 = {\n key: 0,\n class: \"items-count\"\n}\nconst _hoisted_11 = {\n key: 1,\n class: \"items-count\"\n}\nconst _hoisted_12 = { class: \"table-default\" }\nconst _hoisted_13 = {\n key: 0,\n class: \"checkbox\"\n}\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", null, \"Lot №\", -1))\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", null, \"Size\", -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", null, \"Price\", -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", null, \"Status\", -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", null, \"Action\", -1))\nconst _hoisted_19 = [\"onClick\"]\nconst _hoisted_20 = [\"onClick\"]\nconst _hoisted_21 = { class: \"bold\" }\nconst _hoisted_22 = { class: \"tooltip-container\" }\nconst _hoisted_23 = [\"onClick\"]\nconst _hoisted_24 = [\"disabled\"]\nconst _hoisted_25 = {\n key: 3,\n class: \"content-checked\"\n}\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"icon-checked\",\n src: _imports_0\n}, null, -1))\nconst _hoisted_27 = [\n _hoisted_26\n]\nconst _hoisted_28 = {\n key: 0,\n class: \"tooltip\"\n}\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\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!$props.isConciergeView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"h3\", _hoisted_4, _toDisplayString(`${$setup.lots.length} lot${$setup.lots.length > 1 ? \"s\" : \"\"}`), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (!$props.isConciergeView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode($setup[\"InputSearch\"], {\n modelValue: $setup.searchQuery,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (($setup.searchQuery) = $event)),\n placeholder: \"Search\",\n theme: \"filter\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"button\", {\n class: \"button default primary add-btn-primary\",\n onClick: $setup.toCreateLot\n }, \"Add Lot\"),\n _createElementVNode(\"label\", _hoisted_7, [\n _createTextVNode(\"Bulk Upload Lots\"),\n _createElementVNode(\"input\", {\n class: \"bulk-input\",\n type: \"file\",\n onChange: _cache[1] || (_cache[1] = ($event: any) => ($setup.bulkUpload($event))),\n accept: \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\"\n }, null, 32)\n ]),\n ($setup.templateDownloadLink)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n class: \"button default primary\",\n href: $setup.templateDownloadLink,\n target: \"_blank\"\n }, \"Download Template\", 8, _hoisted_8))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"table-wrapper\", { 'with-checkbox': !$setup.isUserActive }])\n }, [\n (!$setup.isUserActive)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n ($setup.selectedLotsList.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, _toDisplayString($setup.plural($setup.selectedLotsList.length, \"lot\")) + \" selected\", 1))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_11, _toDisplayString($setup.plural($setup.lots.length, \"lot\")), 1)),\n _createElementVNode(\"button\", {\n class: _normalizeClass([\"table-controls-button delete\", { show: $setup.selectedLotsList.length > 0 }]),\n onClick: _cache[2] || (_cache[2] = ($event: any) => ($setup.showConfirmBulkDeleteModal = true))\n }, \"Delete lots\", 2)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"table\", _hoisted_12, [\n _createElementVNode(\"thead\", null, [\n _createElementVNode(\"tr\", null, [\n (!$setup.isUserActive)\n ? (_openBlock(), _createElementBlock(\"th\", _hoisted_13, [\n _createVNode($setup[\"CheckboxInput\"], {\n checkedPartial: $setup.selectedLotsList.length > 0 && $setup.selectedLotsList.length !== $setup.lotList.length,\n modelValue: $setup.isSelectAll,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ($setup.selectAll($event)))\n }, null, 8, [\"checkedPartial\", \"modelValue\"])\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_14,\n _hoisted_15,\n _hoisted_16,\n _hoisted_17,\n _hoisted_18\n ])\n ]),\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.lots, (lot, index) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n onClick: ($event: any) => ($setup.handleRowClick(lot, index))\n }, [\n (!$setup.isUserActive)\n ? (_openBlock(), _createElementBlock(\"td\", {\n key: 0,\n class: \"checkbox\",\n onClick: _withModifiers(($event: any) => ($setup.selectLot(!$setup.lotList[index].selected, index)), [\"stop\"])\n }, [\n _createVNode($setup[\"CheckboxInput\"], {\n onClick: _cache[4] || (_cache[4] = _withModifiers(() => {}, [\"stop\"])),\n modelValue: $setup.lotList[index].selected,\n \"onUpdate:modelValue\": ($event: any) => ($setup.selectLot($event, index))\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ], 8, _hoisted_20))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"td\", _hoisted_21, \"Lot \" + _toDisplayString(lot.title), 1),\n _createElementVNode(\"td\", null, _toDisplayString($setup.formatPrice(lot.size, false)), 1),\n _createElementVNode(\"td\", null, _toDisplayString($setup.formatPrice(lot.price)), 1),\n _createElementVNode(\"td\", null, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"badge\", $setup.getLotStatusClass(lot.status === $setup.LotStatus.EOI ? $setup.LotStatus.PRE_CONTRACT : lot.status)])\n }, _toDisplayString(lot.status === $setup.LotStatus.EOI ? $setup.LotStatus.PRE_CONTRACT : lot.status), 3)\n ]),\n _createElementVNode(\"td\", {\n class: _normalizeClass([\"actions\", { 'max-width': $props.isConciergeView }])\n }, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"actions-wr\", { checked: $setup.lotList[index].selected }])\n }, [\n (!$props.isConciergeView)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n class: _normalizeClass([\"icon edit\", { disabled: !$setup.canEditLot(lot.status) }]),\n onClick: _cache[5] || (_cache[5] = _withModifiers(() => {}, [\"stop\"])),\n to: { name: 'AdminLotUpdate', params: { userId: $setup.userId, estateId: $setup.estateId, stageId: $setup.stageId, lotId: lot._id } }\n }, null, 8, [\"to\", \"class\"]))\n : _createCommentVNode(\"\", true),\n (!$props.isConciergeView)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 1,\n class: \"icon trash\",\n onClick: _withModifiers(($event: any) => ($setup.setItemForDelete(lot)), [\"stop\"])\n }, null, 8, _hoisted_23))\n : _createCommentVNode(\"\", true),\n ($props.isConciergeView && !$setup.lotList[index].selected)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 2,\n class: _normalizeClass([\"badge select\", { 'disabled-lot': lot.status !== $setup.LotStatus.AVAILABLE || lot.builders.length <= 0 }]),\n disabled: lot.status !== $setup.LotStatus.AVAILABLE || lot.builders.length <= 0\n }, _toDisplayString($setup.getButtonLabel(lot, index)), 11, _hoisted_24))\n : _createCommentVNode(\"\", true),\n ($props.isConciergeView && $setup.lotList[index].selected)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_25, _hoisted_27))\n : _createCommentVNode(\"\", true)\n ], 2),\n ((lot.status !== $setup.LotStatus.AVAILABLE || lot.builders.length <= 0) && $setup.props.isConciergeView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_28, \"This lot is disabled because it is not available or because it has no builders associated with it.\"))\n : _createCommentVNode(\"\", true)\n ])\n ], 2)\n ], 8, _hoisted_19))\n }), 256))\n ])\n ])\n ], 2),\n _createVNode($setup[\"ConfirmDeleteModal\"], {\n isOpen: $setup.showConfirmDeleteModal,\n deleteItem: $setup.itemForDelete.title,\n onClose: _cache[6] || (_cache[6] = ($event: any) => ($setup.showConfirmDeleteModal = false)),\n onConfirm: _cache[7] || (_cache[7] = ($event: any) => ($setup.deleteLot($setup.itemForDelete.id)))\n }, null, 8, [\"isOpen\", \"deleteItem\"]),\n (!$setup.isUserActive)\n ? (_openBlock(), _createBlock($setup[\"ConfirmDeleteModal\"], {\n key: 2,\n isOpen: $setup.showConfirmBulkDeleteModal,\n deleteItem: $setup.selectedLotsList.length > 1 ? 'selected lots' : 'selected lot',\n onClose: _cache[8] || (_cache[8] = ($event: any) => ($setup.showConfirmBulkDeleteModal = false)),\n onConfirm: $setup.bulkDeleteLots\n }, null, 8, [\"isOpen\", \"deleteItem\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport ConfirmDeleteModal from \"@/components/ui/modals/ConfirmDeleteModal.vue\";\n import CheckboxInput from \"@/components/ui/input/CheckboxInput.vue\";\n import InputSearch from \"@/components/ui/input/InputSearch.vue\";\n import { computed, onMounted, ref, watch } from \"vue\";\n import { LotInterface } from \"@/types/LotInterface\";\n import store from \"@/store\";\n import router from \"@/router\";\n import { getLotStatusClass } from \"@/helpers/status\";\n import { isValidFileSize, isXlsxType } from \"@/helpers/fileUpload\";\n import { formatPrice } from \"@/helpers/transformation/price\";\n import plural from \"@/features/plural\";\n import { debounce } from \"@/helpers/debounce\";\n import { useToast } from \"vue-toastification\";\n import { UserInterface } from \"@/types/UserInterface\";\n import { canEditLot } from \"@/helpers/lot/adminLot\";\n import { LotStatus } from \"@/enums/LotStatus\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'AdminStageLots',\n props: {\n estateId: { type: String, required: false },\n landownerId: { type: String, required: false },\n stageId: { type: String, required: false },\n isConciergeView: { type: Boolean, default: false },\n },\n emits: [\"lotSelected\"],\n setup(__props, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\n \n \n const toast = useToast();\n const userId = computed(\n () => props.landownerId || router.currentRoute.value.params.userId\n );\n const estateId = computed(\n () => props.estateId || router.currentRoute.value.params.estateId\n );\n const stageId = computed(\n () => props.stageId || router.currentRoute.value.params.stageId\n );\n const lots = ref([]);\n const searchQuery = ref(\"\");\n const debounceSearch = debounce(getLots);\n const showConfirmDeleteModal = ref(false);\n const showConfirmBulkDeleteModal = ref(false);\n const itemForDelete = ref({ id: \"\", title: \"\" });\n const templateDownloadLink = ref(null);\n const lotList = ref([]);\n const isSelectAll = ref(false);\n const selectedLotsList = computed(() => {\n return lotList.value.filter((item) => item.selected);\n });\n const user = ref(null);\n const isUserActive = computed(() => {\n return user.value?.verifiedEmail;\n });\n const selectedIndex = ref(-1);\n\n watch(\n estateId,\n (newEstateId) => {\n if (newEstateId) {\n getUser();\n getLots();\n getTemplateLink();\n }\n },\n { immediate: true }\n );\n\n watch(\n () => searchQuery.value,\n () => {\n debounceSearch();\n }\n );\n\n onMounted(() => {\n getUser();\n getLots();\n getTemplateLink();\n });\n\n function getUser() {\n store.dispatch(\"user/getUser\", userId.value).then((res) => {\n user.value = res.data;\n });\n }\n function getLots() {\n store\n .dispatch(\"lot/getLots\", {\n title: searchQuery.value,\n stageId: stageId.value,\n })\n .then((res) => {\n lots.value = res.data;\n lotList.value = lots.value.map((item) => {\n return {\n id: item._id,\n selected: false,\n status: item.status,\n };\n });\n isSelectAll.value = false;\n });\n }\n function selectLot(evnt: boolean, index: number) {\n lotList.value[index].selected = !lotList.value[index].selected;\n isSelectAll.value = selectedLotsList.value.length > 0;\n }\n\n function selectAll(isSelect: boolean) {\n isSelectAll.value = isSelect;\n lotList.value.forEach((item) => {\n item.selected = isSelect;\n });\n }\n function bulkUpload(e: any) {\n if (!e.target.files.length) {\n return;\n }\n const selectedFile = e.target.files[0];\n if (!isXlsxType(selectedFile) || !isValidFileSize(selectedFile)) {\n return;\n }\n const data = new FormData();\n data.append(\"file\", selectedFile);\n store\n .dispatch(\"lot/bulkLotUpload\", { stageId: stageId.value, data })\n .then(() => getLots())\n .catch(() => toast.error(\"Invalid file data\"));\n }\n function getTemplateLink() {\n store.dispatch(\"lot/downloadXlsxTemplate\").then((res) => {\n templateDownloadLink.value = res.data.message ? null : res.data;\n });\n }\n function toLot(id: string) {\n router.push({\n name: \"AdminLot\",\n params: {\n userId: userId.value,\n estateId: estateId.value,\n stageId: stageId.value,\n lotId: id,\n },\n });\n }\n function toCreateLot() {\n router.push({\n name: \"AdminLotCreate\",\n params: {\n userId: userId.value,\n estateId: estateId.value,\n stageId: stageId.value,\n },\n });\n }\n const deleteLot = (id: string) => {\n store\n .dispatch(\"lot/deleteLots\", {\n lotIds: [id],\n })\n .then(() => {\n getLots();\n toast.success(\"The lot was successfully deleted\");\n })\n .catch((err) => {\n if (err.response.data?.message) {\n toast.error(err.response.data.message);\n } else {\n toast.error(\"Something went wrong\");\n }\n });\n };\n const bulkDeleteLots = () => {\n store\n .dispatch(\"lot/deleteLots\", {\n lotIds: selectedLotsList.value.map((item) => item.id),\n })\n .then(() => {\n getLots();\n toast.success(\"The lots was successfully deleted\");\n })\n .catch((err) => {\n if (err.response.data?.message) {\n toast.error(err.response.data.message);\n } else {\n toast.error(\"Something went wrong\");\n }\n });\n };\n function setItemForDelete(lot: LotInterface) {\n itemForDelete.value = { id: lot._id, title: lot.title };\n showConfirmDeleteModal.value = true;\n }\n const isClickable = (lot: LotInterface, index: number) => {\n return lot.status === LotStatus.AVAILABLE && lot.builders.length > 0;\n };\n\n const toLotSelectedIfClickeable = (lot: LotInterface, index: number) => {\n if (isClickable(lot, index)) {\n toLotSelected(lot._id, index, lot.title, lot.size, lot.price);\n }\n };\n\n const handleRowClick = (lot: LotInterface, index: number) => {\n if (props.isConciergeView) {\n toLotSelectedIfClickeable(lot, index);\n } else {\n toLot(lot._id);\n }\n };\n const toLotSelected = (\n id: string,\n index: number,\n lotTitle: string,\n lotSize: number,\n lotPrice: number\n ) => {\n emit(\"lotSelected\", id, lotTitle, lotSize, lotPrice);\n\n lotList.value.forEach((lot) => {\n lot.selected = false;\n });\n\n lotList.value[index].selected = true;\n\n isSelectAll.value = selectedLotsList.value.length > 0;\n\n selectedIndex.value = index;\n };\n const getButtonLabel = (lot: LotInterface, index: number) => {\n if (!isClickable(lot, index)) {\n return \"Select\";\n }\n return selectedIndex.value !== -1 && index !== selectedIndex.value\n ? \"Change\"\n : \"Select\";\n };\n\nconst __returned__ = { props, emit, toast, userId, estateId, stageId, lots, searchQuery, debounceSearch, showConfirmDeleteModal, showConfirmBulkDeleteModal, itemForDelete, templateDownloadLink, lotList, isSelectAll, selectedLotsList, user, isUserActive, selectedIndex, getUser, getLots, selectLot, selectAll, bulkUpload, getTemplateLink, toLot, toCreateLot, deleteLot, bulkDeleteLots, setItemForDelete, isClickable, toLotSelectedIfClickeable, handleRowClick, toLotSelected, getButtonLabel, ConfirmDeleteModal, CheckboxInput, InputSearch, computed, onMounted, ref, watch, get LotInterface() { return LotInterface }, get store() { return store }, get router() { return router }, get getLotStatusClass() { return getLotStatusClass }, get isValidFileSize() { return isValidFileSize }, get isXlsxType() { return isXlsxType }, get formatPrice() { return formatPrice }, get plural() { return plural }, get debounce() { return debounce }, get useToast() { return useToast }, get UserInterface() { return UserInterface }, get canEditLot() { return canEditLot }, get LotStatus() { return LotStatus } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./AdminStageLots.vue?vue&type=template&id=281a2d34&scoped=true&ts=true&lang=pug\"\nimport script from \"./AdminStageLots.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./AdminStageLots.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./AdminStageLots.vue?vue&type=style&index=0&id=281a2d34&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-281a2d34\"]])\n\nexport default __exports__","export enum FinanceStatusEnum {\n SELECT = \"Select\",\n PRE_APPROVED = \"Pre-approved\",\n APPLICATION_IN_PROGRESS = \"Application in progress\",\n EXPLORING_MY_OPTIONS = \"Exploring my options\",\n CASH_BUYER = \"Cash buyer\",\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!./HouseTable.vue?vue&type=style&index=0&id=10724f86&lang=scss&scoped=true\"","import { formatPrice } from \"@/helpers/transformation/price\";\r\n\r\nexport function calculateBuildPriceOrPackagePriceTotal(\r\n homePrice: number,\r\n facadePrice: number,\r\n siteCosts: number,\r\n landPrice?: number\r\n): string {\r\n const homePriceNum = isNaN(homePrice) ? 0 : Number(homePrice);\r\n const facadePriceNum = isNaN(facadePrice) ? 0 : Number(facadePrice);\r\n const siteCostsNum = isNaN(siteCosts) ? 0 : Number(siteCosts);\r\n const additionalCostsNum = landPrice !== undefined && !isNaN(landPrice) ? Number(landPrice) : 0;\r\n\r\n const totalPrice = homePriceNum + facadePriceNum + siteCostsNum + additionalCostsNum;\r\n\r\n return formatPrice(totalPrice);\r\n}","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5cf39c7d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"card\" }\nconst _hoisted_2 = { class: \"filters\" }\nconst _hoisted_3 = { class: \"content-input\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Select Builder\", -1))\nconst _hoisted_5 = {\n class: \"dropdown-button input-dropdown input-border\",\n type: \"button\"\n}\nconst _hoisted_6 = [\"onClick\"]\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(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createVNode($setup[\"DropDown\"], { class: \"dropdown-container\" }, {\n control: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_5, _toDisplayString($setup.builderSelected.title), 1)\n ]),\n dropdown: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($props.builders, (builder) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: builder.id,\n onClick: ($event: any) => ($setup.onSelect(builder)),\n class: _normalizeClass({ 'dropdown__item-active': builder.id === $setup.selectedBuilderId })\n }, _toDisplayString(builder.title), 11, _hoisted_6))\n }), 128))\n ])\n ]),\n _: 1\n })\n ])\n ])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport DropDown from \"@/components/ui/dropdown/DropDown.vue\";\n import { BuilderDropdownOptionsEnum } from \"@/enums/BuilderDropdownOptionsEnum\";\n import { BuilderPackage } from \"@/types/BuilderQuote\";\n import { computed, ref } from \"vue\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderDropdown',\n props: {\n builders: {\n type: Array,\n default: () => [],\n },\n builderPackage: {\n type: Object,\n default: Object as () => BuilderPackage,\n },\n },\n emits: [\"selectBuilder\"],\n setup(__props, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\n \n\n const selectedBuilderId = ref(props.builderPackage.id || null);\n\n const builderSelected = computed(() => {\n const selectedBuilder = props.builders.find(\n (builder) => builder.id === selectedBuilderId.value\n );\n return (\n selectedBuilder || { title: BuilderDropdownOptionsEnum.SELECT_BUILDER }\n );\n });\n\n \n\n const onSelect = (builder: { title: string; id: string; logo: string }) => {\n selectedBuilderId.value = builder.id;\n emit(\"selectBuilder\", builder.title, builder.id, builder.logo);\n };\n\nconst __returned__ = { props, selectedBuilderId, builderSelected, emit, onSelect, DropDown, get BuilderDropdownOptionsEnum() { return BuilderDropdownOptionsEnum }, get BuilderPackage() { return BuilderPackage }, computed, ref }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderDropdown.vue?vue&type=template&id=5cf39c7d&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderDropdown.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderDropdown.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderDropdown.vue?vue&type=style&index=0&id=5cf39c7d&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-5cf39c7d\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/icon-floorplan.webp'\nimport _imports_1 from '@/assets/icons/checked-white.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-10724f86\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"admin-page-wr\" }\nconst _hoisted_2 = { class: \"table-wrapper\" }\nconst _hoisted_3 = { class: \"table-default\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = [\"onClick\"]\nconst _hoisted_6 = { class: \"bold\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"td\", { class: \"td-floorplan\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"floorplan-svg\",\n src: _imports_0\n })\n], -1))\nconst _hoisted_8 = [\"onClick\"]\nconst _hoisted_9 = {\n key: 1,\n class: \"content-checked\"\n}\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"icon-checked\",\n src: _imports_1\n}, null, -1))\nconst _hoisted_11 = [\n _hoisted_10\n]\nconst _hoisted_12 = { key: 1 }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"tr\", null, [\n /*#__PURE__*/_createElementVNode(\"td\", {\n class: \"colspan-headers no-data\",\n colspan: \"7\"\n }, \"The selected builder has no house designs associated with this lot, please update it.\")\n], -1))\nconst _hoisted_14 = [\n _hoisted_13\n]\nconst _hoisted_15 = { key: 2 }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"tr\", null, [\n /*#__PURE__*/_createElementVNode(\"td\", {\n class: \"colspan-headers no-data\",\n colspan: \"7\"\n }, \"No houses available\")\n], -1))\nconst _hoisted_17 = [\n _hoisted_16\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(\"div\", _hoisted_2, [\n _createElementVNode(\"table\", _hoisted_3, [\n _createElementVNode(\"thead\", null, [\n _createElementVNode(\"tr\", null, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList($setup.tableHeaders, (header) => {\n return _createElementVNode(\"th\", { key: header }, _toDisplayString(header), 1)\n }), 64))\n ])\n ]),\n ($props.houses.length > 0 && !($props.houses.length === 1 && $props.houses[0] === null))\n ? (_openBlock(), _createElementBlock(\"tbody\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($props.houses, (house) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: house._id,\n onClick: ($event: any) => ($setup.onSelectHouse(house._id, house.area, house.basePrice, house.floorplans[0].url, house.floorplans[0].name, house.name))\n }, [\n _createElementVNode(\"td\", _hoisted_6, _toDisplayString(house.name), 1),\n _createElementVNode(\"td\", null, _toDisplayString(house.bedroom || \"-\"), 1),\n _createElementVNode(\"td\", null, _toDisplayString(house.bathroom.quantity || \"-\"), 1),\n _createElementVNode(\"td\", null, _toDisplayString(house.loungeRoom ? house.loungeRoom.quantity : \"-\"), 1),\n _createElementVNode(\"td\", null, _toDisplayString($setup.formatPrice(house.area || \"-\", false)) + \"sqm\", 1),\n _createElementVNode(\"td\", null, _toDisplayString($setup.formatPrice(house.basePrice || \"-\")), 1),\n _hoisted_7,\n _createElementVNode(\"td\", {\n class: _normalizeClass([\"td-action\", { checked: house._id === $setup.selectedHouseId }])\n }, [\n (house._id !== $setup.selectedHouseId)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"badge select\",\n onClick: ($event: any) => ($setup.onSelectHouse(house._id, house.area, house.basePrice, house.floorplans[0].url, house.floorplans[0].name, house.name))\n }, _toDisplayString($setup.getButtonLabel(house._id)), 9, _hoisted_8))\n : _createCommentVNode(\"\", true),\n (house._id === $setup.selectedHouseId)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, _hoisted_11))\n : _createCommentVNode(\"\", true)\n ], 2)\n ], 8, _hoisted_5))\n }), 128))\n ]))\n : ($props.houses.length === 1 && $props.houses[0] === null)\n ? (_openBlock(), _createElementBlock(\"tbody\", _hoisted_12, _hoisted_14))\n : (_openBlock(), _createElementBlock(\"tbody\", _hoisted_15, _hoisted_17))\n ])\n ])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { formatPrice } from \"@/helpers/transformation/price\";\n import { onMounted, ref, watchEffect } from \"vue\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'HouseTable',\n props: {\n houses: {\n type: Array,\n default: () => [],\n },\n initialSelectedHouseId: {\n type: String,\n default: null,\n },\n },\n emits: [\"selectHouse\"],\n setup(__props, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\n \n \n\n const tableHeaders = [\n \"House Designs\",\n \"Bedrooms\",\n \"Bathrooms\",\n \"Living\",\n \"Size\",\n \"Price\",\n \"Actions\",\n \"\",\n ];\n const selectedHouseId = ref(props.initialSelectedHouseId);\n\n const onSelectHouse = (\n id: string,\n area: number,\n basePrice: number,\n floorplanUrl: string,\n floorplanName: string,\n houseName: string\n ) => {\n selectedHouseId.value = id;\n emit(\n \"selectHouse\",\n selectedHouseId.value,\n area,\n basePrice,\n floorplanUrl,\n floorplanName,\n houseName\n );\n };\n\n const getButtonLabel = (id: string) => {\n return selectedHouseId.value !== null && id !== selectedHouseId.value\n ? \"Change\"\n : \"Select\";\n };\n\n onMounted(() => {\n if (props.initialSelectedHouseId) {\n const house = props.houses.find(\n (h) => h._id === props.initialSelectedHouseId\n );\n if (house) {\n onSelectHouse(\n house._id,\n house.area,\n house.basePrice,\n house.floorplans[0].url,\n house.floorplans[0].name,\n house.name\n );\n }\n }\n });\n\n watchEffect(() => {\n console.log(props.houses, \"houses\");\n });\n\nconst __returned__ = { props, emit, tableHeaders, selectedHouseId, onSelectHouse, getButtonLabel, get formatPrice() { return formatPrice }, onMounted, ref, watchEffect }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./HouseTable.vue?vue&type=template&id=10724f86&scoped=true&ts=true&lang=pug\"\nimport script from \"./HouseTable.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./HouseTable.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./HouseTable.vue?vue&type=style&index=0&id=10724f86&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-10724f86\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/checked-white.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f4a818cc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"card\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \"Select Facade\", -1))\nconst _hoisted_3 = { class: \"content-facades\" }\nconst _hoisted_4 = { class: \"content-name-select\" }\nconst _hoisted_5 = { class: \"name-facade bold\" }\nconst _hoisted_6 = [\"onClick\"]\nconst _hoisted_7 = {\n key: 1,\n class: \"content-checked\"\n}\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"icon-checked\",\n src: _imports_0\n}, null, -1))\nconst _hoisted_9 = [\n _hoisted_8\n]\nconst _hoisted_10 = { class: \"price-facade bold\" }\nconst _hoisted_11 = [\"src\", \"alt\"]\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\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.props.facades, (facade) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"facade-card\",\n key: facade._id\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(facade.name), 1),\n (facade._id !== $setup.selectedFacadeId)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"badge select\",\n onClick: ($event: any) => ($setup.onSelectFacade(facade._id, facade.url, facade.name, facade.price))\n }, _toDisplayString($setup.getButtonLabel(facade._id)), 9, _hoisted_6))\n : _createCommentVNode(\"\", true),\n (facade._id === $setup.selectedFacadeId)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, _hoisted_9))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_10, _toDisplayString($setup.formatPrice(facade.price)), 1),\n _createElementVNode(\"img\", {\n class: \"image-facade\",\n src: facade.url,\n alt: facade.name\n }, null, 8, _hoisted_11)\n ]))\n }), 128))\n ])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { onMounted, ref } from \"vue\";\nimport { formatPrice } from \"@/helpers/transformation/price\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FacadeOptions',\n props: {\n facades: {\n type: Array,\n default: () => [],\n },\n initialSelectedFacade: {\n type: String,\n default: null\n }\n},\n emits: ['selectFacade'],\n setup(__props, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\n\n\n\nconst selectedFacadeId = ref(props.initialSelectedFacade);\n\nconst onSelectFacade = (id: string, url: string, facadeName: string, facadePrice: string | number) => {\n selectedFacadeId.value = id;\n emit('selectFacade', selectedFacadeId.value, url, facadeName, facadePrice);\n};\n\nconst getButtonLabel = (id: string) => {\n return selectedFacadeId.value !== null && id !== selectedFacadeId.value ? \"Change\" : \"Select\";\n}\n\nonMounted(() => {\n if (props.initialSelectedFacade) {\n const facade = props.facades.find(facade => facade._id === props.initialSelectedFacade);\n if (facade) {\n onSelectFacade(facade._id, facade.url, facade.name, facade.price);\n }\n }\n});\n\nconst __returned__ = { props, emit, selectedFacadeId, onSelectFacade, getButtonLabel, onMounted, ref, get formatPrice() { return formatPrice } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./FacadeOptions.vue?vue&type=template&id=f4a818cc&scoped=true&ts=true&lang=pug\"\nimport script from \"./FacadeOptions.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./FacadeOptions.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./FacadeOptions.vue?vue&type=style&index=0&id=f4a818cc&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-f4a818cc\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ac176568\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"content-saved-packages\" }\nconst _hoisted_2 = { class: \"content-saved\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = { class: \"content-price\" }\nconst _hoisted_5 = { class: \"title\" }\nconst _hoisted_6 = [\"disabled\"]\nconst _hoisted_7 = {\n key: 1,\n class: \"spinner spinner-small\"\n}\nconst _hoisted_8 = { class: \"content-copy\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"link\" }, \"www.lottrackr.com/quote\", -1))\nconst _hoisted_10 = { class: \"content-floorplan\" }\nconst _hoisted_11 = [\"src\"]\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(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n class: \"facade-img\",\n src: $setup.props.facadePackage.url\n }, null, 8, _hoisted_3),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, \"Package Price: \" + _toDisplayString($setup.calculateBuildPriceOrPackagePriceTotal($setup.props.housePackage.price, $setup.props.facadePackage.price, $setup.props.siteCosts, $setup.props.lotPackage.price)), 1),\n (!$setup.isLoading)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button default primary saved\",\n disabled: $setup.isLoading,\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($setup.props.isUpdate ? $setup.onUpdatePackage() : $setup.onSavePackage()))\n }, \"Save Changes\", 8, _hoisted_6))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_7)),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n ($setup.props.isUpdate)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button default copy\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => ($setup.onCopyLinkPackage())),\n type: \"button\"\n }))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"img\", {\n class: \"floorplan-img\",\n src: $setup.props.floorplanPackage.url\n }, null, 8, _hoisted_11)\n ])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { computed, onMounted, reactive, ref, watch, watchEffect } from \"vue\";\nimport { formatPrice } from \"@/helpers/transformation/price\";\nimport { copyToClipboard } from \"@/helpers/copyToClipboard\";\nimport { useToast } from \"vue-toastification\";\nimport { useRouter } from \"vue-router\";\nimport store from \"@/store\";\nimport { BuilderPackage, FacadePackage, FloorplanPackage, HousePackage, LotPackage, UpdateBuilderQuoteDto } from \"@/types/BuilderQuote\";\nimport LeadSourceEnum from \"@/enums/LeadSourceEnum\";\nimport { TimeToBuildEnum } from \"@/enums/BuilderTimeToBuild\";\nimport { BestDescribesYouEnum } from \"@/enums/BuilderBestDescribesYou\";\nimport { FinanceStatusEnum } from \"@/enums/BuilderFinanceStatus\";\nimport router from \"@/router\";\nimport { LotInterface } from \"@/types/LotInterface\";\nimport { calculateBuildPriceOrPackagePriceTotal } from \"@/helpers/builder/calculateBuildPriceOrPackagePriceTotal\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SavedChanges',\n props: {\n landSize: {\n type: Number,\n default: 0,\n },\n siteCosts: {\n type: Number,\n default: () => 0,\n },\n lotPackage: {\n type: Object,\n default: Object as () => LotPackage,\n },\n builderPackage: {\n type: Object,\n default: Object as () => BuilderPackage,\n },\n housePackage: {\n type: Object,\n default: Object as () => HousePackage,\n },\n facadePackage: {\n type: Object,\n default: Object as () => FacadePackage,\n },\n floorplanPackage: {\n type: Object,\n default: Object as () => FloorplanPackage,\n },\n landowerId: {\n type: String,\n default: () => \"\",\n },\n estateId: {\n type: String,\n default: () => \"\",\n },\n estateTitle: {\n type: String,\n default: () => \"\",\n },\n isUpdate: {\n type: Boolean,\n default: false,\n }\n},\n setup(__props, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n\nconst packageId = router.currentRoute.value.params.packageId;\nconst toast = useToast();\nconst isLoading = ref(false);\nconst routerVue = useRouter();\nconst lot = ref(null);\nconst newSiteCosts = ref(props.siteCosts);\n\nwatch(() => props.siteCosts, (newVal) => {\n newSiteCosts.value = newVal;\n});\n\nconst getLot = async () => {\n try {\n const res = await store.dispatch(\"lot/getLot\", props.lotPackage.lotId);\n if (res.data) {\n lot.value = res.data;\n }\n } catch (error) {\n toast.error(\"An error occurred while getting the lot\");\n }\n};\nconst updateSiteCosts = async () => {\n try {\n const updatedBuilders = lot.value?.builders.map(builder => {\n if (builder.builderId.toString() === props.builderPackage.builderId) {\n const updatedHouses = builder.housesIds.map(house => {\n if (house.houseId.toString() === props.housePackage.houseId) {\n house.siteCosts = newSiteCosts.value;\n }\n return house;\n });\n builder.housesIds = updatedHouses;\n }\n return builder;\n });\n\n const updatedLot = {\n ...lot,\n builders: updatedBuilders\n };\n\n await store.dispatch(\"lot/updateLot\", { id: props.lotPackage.lotId, data: updatedLot });\n } catch (error) {\n toast.error(\"Error updating site costs\");\n } finally {\n isLoading.value = false;\n }\n};\nconst onSavePackage = async () => {\n try {\n isLoading.value = true;\n const body = createBodyRequest();\n await store.dispatch(\"builder/sendQuote\", body);\n await updateSiteCosts();\n toast.success(\"The package was successfully created\");\n routerVue.push({ name: \"AdminPackages\" });\n\n } catch (error) {\n toast.error(\"Error create package\");\n } finally {\n isLoading.value = false;\n }\n};\nconst onUpdatePackage = async () => {\n try {\n isLoading.value = true;\n const body = createBodyRequest();\n await store.dispatch(\"builder/updatePackage\", {\n quoteId: packageId,\n data: body,\n });\n await updateSiteCosts();\n toast.success(\"The package was successfully updated\");\n routerVue.push({ name: \"AdminPackages\" });\n } catch (error) {\n toast.error(\"Error update package\");\n } finally {\n isLoading.value = false;\n }\n};\nconst createBodyRequest = () => {\n\n const userSelection = {\n builder: {\n builderId: props.builderPackage.builderId,\n name: props.builderPackage.name as string,\n logoUrl: props.builderPackage.logoUrl as string,\n },\n house: {\n houseId: props.housePackage.houseId,\n name: props.housePackage.name as string,\n price: props.housePackage.price as number,\n },\n facade: {\n facadeId: props.facadePackage.facadeId,\n name: props.facadePackage.name,\n url: props.facadePackage.url,\n price: props.facadePackage.price,\n },\n floorplan: {\n name: props.floorplanPackage.name,\n url: props.floorplanPackage.url,\n },\n lot: {\n lotId: props.lotPackage.lotId,\n name: props.lotPackage.name as string,\n price: props.lotPackage.price as number,\n },\n };\n\n return {\n selections: props.isUpdate ? userSelection : [userSelection],\n additionalRequest: \"\",\n timeReference: TimeToBuildEnum.THREE_MONTHS,\n bestDescribesYou: BestDescribesYouEnum.FIRST_TIME_BUYER,\n financeStatus: FinanceStatusEnum.PRE_APPROVED,\n estateTitle: props.estateTitle,\n estateId: props.estateId,\n landownerId: props.landowerId,\n emailSentToLandowner: false,\n isAdminPackage: true,\n lead: {\n landownerId: props.landowerId,\n estateId: props.estateId,\n firstName: \"Lottrackr\",\n lastName: \"Concierge\",\n email: \"concierge@lottrackr.com\",\n phone: \"0000000000\",\n source: LeadSourceEnum.ENQUIRY,\n watched: false,\n },\n };\n};\n\nconst onCopyLinkPackage = async () => {\n const link = `${window.location.origin}/builder/estate/${props.estateId}/borrow-calculator/request-quote/${packageId}/house/${props.housePackage.houseId}/loan-amount/600000`;\n copyToClipboard(link, \"Saved Package link was copied to clipboard\");\n}\n\nonMounted(() => {\n if(props.lotPackage.lotId){\n getLot();\n }\n})\n\nconst __returned__ = { props, packageId, toast, isLoading, routerVue, lot, newSiteCosts, getLot, updateSiteCosts, onSavePackage, onUpdatePackage, createBodyRequest, onCopyLinkPackage, computed, onMounted, reactive, ref, watch, watchEffect, get formatPrice() { return formatPrice }, get copyToClipboard() { return copyToClipboard }, get useToast() { return useToast }, get useRouter() { return useRouter }, get store() { return store }, get BuilderPackage() { return BuilderPackage }, get FacadePackage() { return FacadePackage }, get FloorplanPackage() { return FloorplanPackage }, get HousePackage() { return HousePackage }, get LotPackage() { return LotPackage }, get UpdateBuilderQuoteDto() { return UpdateBuilderQuoteDto }, get LeadSourceEnum() { return LeadSourceEnum }, get TimeToBuildEnum() { return TimeToBuildEnum }, get BestDescribesYouEnum() { return BestDescribesYouEnum }, get FinanceStatusEnum() { return FinanceStatusEnum }, get router() { return router }, get LotInterface() { return LotInterface }, get calculateBuildPriceOrPackagePriceTotal() { return calculateBuildPriceOrPackagePriceTotal } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./SavedChanges.vue?vue&type=template&id=ac176568&scoped=true&ts=true&lang=pug\"\nimport script from \"./SavedChanges.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./SavedChanges.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./SavedChanges.vue?vue&type=style&index=0&id=ac176568&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-ac176568\"]])\n\nexport default __exports__"],"sourceRoot":""}